body{background:#0d0f14;color:#fff;font-family:sans-serif;margin:0}

/* HEADER */
header{background:#111;color:#fff;position:fixed;top:0;left:0;right:0;z-index:1000;display:flex;align-items:center;justify-content:space-between;padding:10px 20px;box-shadow:0 2px 10px rgba(0,0,0,0.7)}
header .logo{height:50px;margin-bottom: -5px;}
header nav{display:flex;gap:20px;margin-left:auto}
header nav a{color:#fff;text-decoration:none;position:relative;padding:5px 0;transition:color .3s}
header nav a::after{content:"";position:absolute;bottom:0;left:0;width:0;height:2px;background:#a80c0c;transition:width .3s}
header nav a:hover{color:#a80c0c}
header nav a:hover::after{width:100%}

#hamburger{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;margin-left:auto}
#hamburger span{display:block;width:25px;height:2px;background:#fff}

/* Allgemeine Sektionen */
section {
  padding: 80px 20px; /* Abstand oben und unten */
  background-color: #0d0f14; /* Standardfarbe */
  position: relative;
  box-shadow: inset 0 20px 40px -20px rgba(0,0,0,0.6); /* sanfter Shadow oben */
  border-radius: 8px; /* leicht abgerundet */
}

/* Alternierende Bereiche etwas heller/dunkler */
section:nth-of-type(even) {
  background-color: #13151a; /* leicht abweichend */
}

/* Optional: Animation beim Scrollen (Fade-in) */
section {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

section h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
  color: #fff;
}

section h2::after {
  content: "";
  display: block;
  width: 60%;
  height: 3px;
  background: #a80c0c;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* HERO */
.hero{position:relative;height:60vh;background:url('img/hero.jpg') center/cover no-repeat;display:flex;justify-content:center;align-items:center;text-align:center;margin-top:60px}
.hero .overlay{position:absolute;inset:0;}

/* SERVICES (Unsere Leistungen) */
.services{padding:40px 60px;text-align: center;}
.services h2{text-align:center;margin-bottom:30px}
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}
.service-card{position:relative;overflow:hidden;border-radius:6px;background:#1b1d23;text-align:center;transition:transform .3s}
.service-card img{width:100%;height:300px;object-fit:cover;display:block;box-shadow: #000000ba 0px 0px 4px 3px;}
.service-card h3{margin:10px 0}

/* Overlay beim Hover */
.service-overlay{position:absolute;inset:0;background:rgba(0,0,0,0.8);color:#fff;display:flex;flex-direction:column;justify-content:center;align-items:center;opacity:0;transition:opacity .3s;padding:15px;text-align:center}
.service-card:hover .service-overlay{opacity:1}

/* ---------------- Galerie ---------------- */
.gallery {
  padding: 40px 60px;
  text-align: center;
}

#gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

#gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  cursor: pointer;
  transition: transform .3s ease;
}

#gallery-grid img:hover {
  transform: scale(1.05);
}

/* Immer horizontaler Ausschnitt (zentriert) für Thumbnails */
#gallery-grid .gallery-thumb-wrap{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 6px;
}

/* WICHTIG: height:100% überschreibt height:auto aus #gallery-grid img */
#gallery-grid .gallery-thumb-wrap img{
  width: 100%;
  height: 100%;            /* <- statt height:auto */
  object-fit: cover;       /* schneidet passend zu */
  object-position: center; /* mittiger Ausschnitt, nicht oben */
  display: block;
  cursor: pointer;
  transition: transform .3s ease;
}

/* Hover auf den Frame anwenden */
#gallery-grid .gallery-thumb-wrap:hover img{
  transform: scale(1.05);
}


/* Galerie Overlay */
#gallery-overlay {
  display: none;
  position: fixed;   /* immer relativ zum Viewport */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.9);
  z-index: 2000;
  cursor: pointer;
  opacity: 0;
  transition: opacity .3s ease-in-out;
}
#gallery-overlay.active {
  opacity: 1;
}

#gallery-overlay-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-overlay.active img {
  transform: scale(1);
  opacity: 1;
}

/* Responsive */
@media(max-width: 1200px){
  #gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media(max-width: 800px){
  #gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media(max-width: 500px){
  #gallery-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* ---------------- Neuigkeiten als Karten-Grid ---------------- */
.news { padding: 40px 60px; }

#news-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* max 4 auf groß, weniger auf klein */
  gap: 20px;
}

.news-card {
  background: #1b1d23;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
  overflow: hidden;
  cursor: pointer;
  transition: transform .2s ease, background .25s ease, border-color .25s ease;
}
.news-card:hover { transform: translateY(-3px); background: #22242b; border-color: rgba(255,255,255,0.14); }

.news-card__header { padding: 12px 16px 6px 16px; }
.news-card__date {
  color: #a80c0c; font-weight: 700; letter-spacing: .3px; font-size: .95rem;
  display: block; margin-bottom: 6px;
}
.news-card__title { color: #fff; font-weight: 600; font-size: 1.05rem; margin: 0; }

.news-card__body {
  padding: 6px 16px 12px 16px;
  color: #e6e6e6; font-size: .95rem; line-height: 1.45; min-height: 3.2em;
}

/* Footer / Preis NUR wenn vorhanden (wird per JS erzeugt) */
.news-card__footer {
  /* KEIN border-top mehr hier */
  padding: 10px 12px 12px 16px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.news-card__footer.has-price {
  border-top: 1px solid rgba(255,255,255,0.08); /* Linie nur, wenn Preis */
}

.news-card__price {
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
    background-color: #ffffff36;
    padding: 10px;
    border-radius: 10px;
    text-shadow: 1px 1px #00000052;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 0px 10px rgba(0, 0, 0, 0.35);
}

/* Overlay für News */
.news-overlay {
  display: none;
  justify-content: center; align-items: center;
  position: fixed; top:0; left:0; right:0; bottom:0;
  background: rgba(0,0,0,0.9);
  z-index: 2100; cursor: pointer; opacity: 0;
  transition: opacity .3s ease-in-out;
}
.news-overlay.active { opacity: 1; }

.news-overlay-content {
  position: relative; max-width: 90%; max-height: 85%;
  width: auto; height: auto; background: #000; border-radius: 10px;
  overflow: hidden; display: flex; flex-direction: column; align-items: center;
}

.news-overlay-content img {
  max-width: 100%; max-height: 80vh; object-fit: contain; display: block;
}

.news-overlay-title {
  position: absolute; top: 0; left: 0; width: 100%;
  padding: 15px 20px; background: rgba(0,0,0,0.6); color: #fff;
  font-size: 1.5rem; font-weight: bold;
  box-shadow: #000000 0px 1px 8px 1px;
}

.news-overlay-footer {
  position: absolute; bottom: 0; left: 0; width: 100%;
  display: flex; justify-content: space-between; align-items: flex-end;
  padding: 10px 15px; background: rgba(0,0,0,0.6); color: #fff; box-sizing: border-box;
  box-shadow: #000000 0px -1px 8px 1px;
}
.news-overlay-description { flex: 1; font-size: 1rem; margin-right: 50px; }
.news-overlay-price { 
    flex-shrink: 0;
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    background-color: #ffffff36;
    padding: 10px;
    border-radius: 10px;
    text-shadow: 1px 1px #00000052
}

/* News Responsive Overlay */
@media(max-width: 800px){
  .news-overlay-footer { flex-direction: column; align-items: flex-start; }
  .news-overlay-price { text-align: left; margin-top: 10px; }
}

/* Mobile Navigation */
@media(max-width:768px){
  header nav{display:none;flex-direction:column;gap:15px;position:absolute;top:60px;right:20px;background:#111;padding:15px;border-radius:8px}
  header nav.active{display:flex}
  #hamburger{display:flex}
  .services-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:480px){
  .services-grid{grid-template-columns:1fr}
}

/* Öffnungszeiten */
.hours {
  padding: 40px 60px;
  text-align: center;
}
.hours h2 {
  margin-bottom: 30px;
}
.hours-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 20px;
}
.hours-day {
  background: #1b1d23;
  padding: 20px;
  border-radius: 8px;
  transition: transform .3s, background .3s;
}
.hours-day:hover {
  transform: translateY(-5px);
  background: #22242b;
}
.hours-day.today {
  background: #1c1c1b;          /* sehr helles Orange, fast Weiß */
  border-bottom: 4px solid #ff8800; /* Akzent links */
  border-radius: 6px;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: background 0.3s ease;
}

.hours-day.today:hover {
  background: #484846;          /* etwas kräftiger beim Hover */
}
.hours-day h3 {
  margin-bottom: 10px;
  margin-top: 0px;
  color: #a80c0c;
  font-size: 18px;
}
.hours-day p {
  margin: 0;
  font-size: 16px;
}
.hours-note {
  background: #1b1d23;
  padding: 20px;
  border-radius: 8px;
  transition: transform .3s, background .3s;
}
.hours-note:hover {
  transform: translateY(-5px);
  background: #22242b;
}

/* Badge "Geöffnet/Geschlossen" */
.open-status{
  position: relative; /* falls du es rechts oben im Abschnitt willst: auf .hours position:relative; setzen und hier absolute */
  display: block;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: .3px;
  background: #371a1a;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 4px 12px rgba(0,0,0,.35);
  margin: 0 0 16px 0;
}

.open-status__dot{
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.open-status.is-open{
  background: #1b371a;
  color: #d4fbd4;
  border-color: rgba(0,255,0,.25);
}
.open-status.is-open .open-status__dot{
  background: #15c915;
}

.open-status.is-closed{
  color: #ffd7d7;
  border-color: rgba(255,0,0,.25);
}
.open-status.is-closed .open-status__dot{
  background: #d91e1e;
}

/* Responsive */
@media(max-width: 992px){
  .hours-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media(max-width: 600px){
  .hours-grid {
    grid-template-columns: repeat(1, 1fr);
  }  
}

/* Kontakt */
.contact {
  padding: 40px 60px;
  text-align: center;
}
.contact h2 {
  margin-bottom: 30px;
}

/* Grid */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.contact-grid a { 
  text-decoration: none;
  color: inherit;
}

.contact-entry {
  position: relative;
  display: block;
  padding: 16px;
  border-radius: 12px;
  background: #1b1d23;
  border: 1px solid rgba(255,255,255,.1);
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
  cursor: pointer;
  color: #fff;
  text-decoration: none;
}

/* Hover-Effekt der Box */
.contact-entry:hover {
  transform: translateY(-5px);
  background: #22242b;
  color: #a80c0c; /* gesamter Text */
}

.contact-entry:hover p {
  color: #a80c0c;
}

/* ↗ immer sichtbar – oben rechts fix */
.contact-entry::after {
  content: "🔗";
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 14px;
  color: #ffffff;
  opacity: 0.9;
  pointer-events: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

/* Beim Hover nur das Icon „leuchtet“ rot */
.contact-entry:hover::after {
  color: #a80c0c;
  opacity: 1;
}

/* Titel & Text */
.contact-entry h3 {
  margin: 0 0 10px 0;
  color: #a80c0c;
  font-size: 18px;
}
.contact-entry p {
  margin: 0;
  font-size: 16px;
}

/* Optional: heutige Markierung, falls genutzt */
.contact-entry.today {
  background: #1c1c1b;
  border-bottom: 4px solid #ff8800;
  border-radius: 6px;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: background 0.3s ease;
}
.contact-entry.today:hover {
  background: #484846;
}

/* Responsive */
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer */
footer {
  background: #111;
  color: #fff;
  padding: 40px 20px;
  font-family: 'Arial', sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto; /* Abstand links und rechts */
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer-column {
  flex: 1 1 200px;
  min-width: 200px;
}

.footer-logo {
  width: 80px;
  margin-bottom: 10px;
}

.footer-company-name {
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.footer-tagline {
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.footer-copy {
  font-size: 0.8rem;
  color: #aaa;
}

.footer-title {
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 10px;
}

.footer-link {
  display: block;
  color: #fff;
  text-decoration: none;
  margin-bottom: 5px;
  transition: color 0.3s;
}

.footer-link:hover {
  color: #a80c0c;
}

.datenschutz {
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  display: grid;
  place-items: center;
}
.datenschutzbox {
  background-color: #1b1d23;
  border-radius: 10px;
  padding: 10px;
  width: 50%;
  align-items: center;
}
.datenschutzbox p {
    text-align: center;
}
.datenschutzbox h3 {    
    color: #a80c0c;
}

/* Responsive */
@media(max-width: 992px){
  .datenschutzbox {
    background-color: #1b1d23;
    border-radius: 10px;
    padding: 10px;
    width: 90%;
    align-items: center;
  }
}
@media(max-width: 600px){
  .datenschutzbox {
    background-color: #1b1d23;
    border-radius: 10px;
    padding: 10px;
    width: 90%;
    align-items: center;
  }
}

/* ---------------- Rechtliche Seiten (Impressum / Datenschutz) ---------------- */
section.legal {
  opacity: 1 !important;
  transform: none !important;
}
.legal {
  max-width: 900px;
  margin: 110px auto 40px auto; /* Abstand nach oben, weil Header fixed ist */
  padding: 40px;
  background: #1b1d23;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  line-height: 1.6;
  color: #ddd;
}

.legal h1 {
  font-size: 2rem;
  color: #a80c0c; /* Rot wie Überschriften */
  margin-bottom: 25px;
  text-align: center;
  border-bottom: 2px solid #a80c0c;
  padding-bottom: 10px;
}

.legal p {
  margin-bottom: 15px;
}

.legal a {
  color: #ffae42; /* warmes Orange für Links */
  text-decoration: none;
}

.legal a:hover {
  text-decoration: underline;
}

.legal .impressum-source {
  font-size: 0.85rem;
  color: #999;
  margin-top: 30px;
  border-top: 1px solid #333;
  padding-top: 10px;
}
