:root{
  --green-dark: #17392c;
  --green: #2f7d55;
  --green-bright: #3f9a68;
  --green-light: #e7f3ec;
  --overlay-dark: #0e2119;
  --footer-bg: #0c1a14;
  --text-dark: #23302a;
  --text-muted: #647167;
  --text-muted-light: #c3d1c9;
  --bg-light: #f7f9f7;
  --card-bg: #ffffff;
}

*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  font-family:'Open Sans', Arial, sans-serif;
  color:var(--text-dark);
  background:var(--bg-light);
}
img{ max-width:100%; display:block; }
a{ color:inherit; }
section{ padding:80px 24px; }
.wrap{ max-width:1140px; margin:0 auto; }

h1,h2,h3,h4{ font-family:'Poppins', Arial, sans-serif; font-weight:600; }

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  font-weight:700;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--green);
  margin-bottom:14px;
}
.eyebrow::before{
  content:"";
  width:22px;
  height:2px;
  background:var(--green-bright);
  display:inline-block;
}

.btn{
  display:inline-block;
  font-weight:600;
  font-size:14px;
  text-decoration:none;
  padding:13px 28px;
  border-radius:6px;
  border:1px solid transparent;
  cursor:pointer;
  transition:background 0.2s ease, transform 0.15s ease, color 0.2s ease, border-color 0.2s ease;
  font-family:inherit;
}
.btn-primary{ background:var(--green); color:#fff; }
.btn-primary:hover{ background:var(--green-bright); transform:translateY(-1px); }
.btn-outline{ background:transparent; color:#fff; border:1px solid rgba(255,255,255,0.5); }
.btn-outline:hover{ background:rgba(255,255,255,0.12); border-color:#fff; }
.btn-outline-dark{ background:transparent; color:var(--green); border:1px solid var(--green); }
.btn-outline-dark:hover{ background:var(--green); color:#fff; }

/* ---------- Navigation ---------- */
header{
  position:sticky;
  top:0;
  z-index:50;
  background:var(--overlay-dark);
  border-bottom:1px solid rgba(255,255,255,0.08);
}
.nav{
  max-width:1140px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 24px;
  position:relative;
}
.nav-logo{ width:150px; height:auto; }
.nav-links{
  list-style:none;
  display:flex;
  align-items:center;
  gap:30px;
}
.nav-links a{
  color:#fff;
  text-decoration:none;
  font-size:14.5px;
  font-weight:600;
  opacity:0.8;
  transition:opacity 0.2s ease, color 0.2s ease;
}
.nav-links a:hover{ opacity:1; color:var(--green-bright); }
.nav-links a.active{ opacity:1; color:var(--green-bright); }
.nav-cta{ margin-left:6px; }
.nav-toggle{
  display:none;
  background:none;
  border:none;
  color:#fff;
  font-size:26px;
  cursor:pointer;
}

@media (max-width: 860px){
  .nav-links{
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    background:var(--overlay-dark);
    flex-direction:column;
    align-items:flex-start;
    gap:0;
    max-height:0;
    overflow:hidden;
    transition:max-height 0.25s ease;
  }
  .nav-links.open{ max-height:420px; }
  .nav-links li{ width:100%; border-top:1px solid rgba(255,255,255,0.08); }
  .nav-links a{ display:block; padding:16px 24px; }
  .nav-toggle{ display:block; }
}

/* ---------- Hero (Startseite) ---------- */
.hero{
  position: relative;
  overflow: hidden;
  min-height:88vh;
  display:flex;
  align-items:center;
  padding:60px 24px;
  background:
    linear-gradient(180deg, rgba(14,33,25,0.78) 0%, rgba(14,33,25,0.92) 70%, var(--overlay-dark) 100%),
    linear-gradient(120deg, #2a4a3a 0%, #16281f 60%, #0e2119 100%);
  background-size:cover;
  background-position:center;
  color:#fff;
  text-align:center;
}
.hero-inner{ max-width:700px; margin:0 auto; z-index: 1;}
.hero h1{
  font-size:clamp(30px, 5vw, 46px);
  line-height:1.25;
  margin-bottom:18px;
  text-shadow:0 2px 14px rgba(0,0,0,0.3);
}
.hero p{
  font-size:17px;
  color:var(--text-muted-light);
  max-width:520px;
  margin:0 auto 34px;
  line-height:1.7;
}
.hero-actions{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }

.hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0; /* oder z-index: 0, je nachdem wie dein Content-z-index gesetzt ist */
}
/* ---------- Seiten-Banner (Unterseiten) ---------- */
.page-banner{
  padding:64px 24px;
  text-align:center;
  color:#fff;
  background:
    linear-gradient(180deg, rgba(14,33,25,0.85) 0%, rgba(14,33,25,0.95) 100%),
    linear-gradient(120deg, #2a4a3a 0%, #16281f 60%, #0e2119 100%);
}
.page-banner h1{ font-size:clamp(26px,4vw,36px); margin-bottom:10px; }
.page-banner .breadcrumb{ font-size:13.5px; color:var(--text-muted-light); }
.page-banner .breadcrumb a{ color:var(--text-muted-light); text-decoration:none; }
.page-banner .breadcrumb a:hover{ color:var(--green-bright); }

/* ---------- Über uns / Features ---------- */
.about-intro{ text-align:center; max-width:680px; margin:0 auto 56px; }
.about-intro p{ color:var(--text-muted); line-height:1.8; margin-top:14px; }

.feature-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:28px;
}
.feature-card{
  background:var(--card-bg);
  border:1px solid #eaece9;
  border-radius:10px;
  padding:30px 24px;
  text-align:left;
}
.feature-card .icon{
  width:44px;
  height:44px;
  border-radius:8px;
  background:var(--green-light);
  color:var(--green);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:16px;
  font-size:20px;
}
.feature-card h3{ font-size:16.5px; margin-bottom:8px; }
.feature-card p{ font-size:14px; color:var(--text-muted); line-height:1.65; }

@media (max-width:900px){ .feature-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .feature-grid{ grid-template-columns:1fr; } }

/* ---------- Leistungen ---------- */
.services{ background:var(--overlay-dark); color:#fff; }
.services .about-intro p{ color:var(--text-muted-light); }
.services .eyebrow{ color:var(--green-bright); }

.service-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
  margin-bottom:44px;
}
.service-item{
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.1);
  border-radius:8px;
  padding:16px 18px;
  font-size:14.5px;
  font-weight:600;
  display:flex;
  align-items:center;
  gap:10px;
}
.service-item .dot{
  width:6px; height:6px; border-radius:50%;
  background:var(--green-bright); flex:none;
}
@media (max-width:860px){ .service-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .service-grid{ grid-template-columns:1fr; } }
.services-cta{ text-align:center; }

/* Leistungen-Detailseite: Kategorien mit Beschreibung */
.service-category{ margin-bottom:52px; }
.service-category h3{
  font-size:19px;
  margin-bottom:18px;
  padding-bottom:12px;
  border-bottom:2px solid var(--green-light);
  display:inline-block;
}
.service-detail-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:16px;
}
.service-detail-item{
  background:var(--card-bg);
  border:1px solid #eaece9;
  border-radius:8px;
  padding:18px 20px;
}
.service-detail-item h4{ font-size:15px; margin-bottom:6px; }
.service-detail-item p{ font-size:13.5px; color:var(--text-muted); line-height:1.6; }
@media (max-width:700px){ .service-detail-grid{ grid-template-columns:1fr; } }

/* ---------- Team ---------- */
.team-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:26px;
}
.team-card{ text-align:center; }
.team-avatar{
  width:100%;
  aspect-ratio:1/1;
  border-radius:10px;
  background:linear-gradient(150deg, var(--green-light), #dfeee5);
  color:var(--green);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:34px;
  font-weight:700;
  font-family:'Poppins', sans-serif;
  margin-bottom:14px;
}
.team-card h4{ font-size:15px; margin-bottom:4px; }
.team-card span{ font-size:13px; color:var(--text-muted); }

@media (max-width:900px){ .team-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .team-grid{ grid-template-columns:1fr; } }

/* ---------- Galerie ---------- */
.gallery{ background:var(--bg-light); }
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:14px;
}
.gallery-item{
  aspect-ratio:4/3;
  border-radius:8px;
  background:linear-gradient(135deg, #274436, #10261c);
  display:flex;
  align-items:center;
  justify-content:center;
  color:rgba(255,255,255,0.35);
  font-size:13px;
  font-weight:600;
}
@media (max-width:860px){ .gallery-grid{ grid-template-columns:repeat(2,1fr); } }

/* ---------- Fahrzeuge ---------- */
.vehicle-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:26px;
}
.vehicle-card{
  background:var(--card-bg);
  border:1px solid #eaece9;
  border-radius:10px;
  overflow:hidden;
}
.vehicle-thumb{
  aspect-ratio:16/10;
  background:linear-gradient(135deg, var(--green-light), #dfeee5);
  display:flex; align-items:center; justify-content:center;
  color:var(--green);
  font-size:13px; font-weight:600;
}
.vehicle-body{ padding:18px 20px 22px; }
.vehicle-body h4{ font-size:15.5px; margin-bottom:6px; }
.vehicle-body .price{ color:var(--green); font-weight:700; margin-bottom:10px; }
.vehicle-body p{ font-size:13.5px; color:var(--text-muted); line-height:1.6; margin-bottom:14px; }
@media (max-width:860px){ .vehicle-grid{ grid-template-columns:1fr; } }

/* ---------- CTA-Banner ---------- */
.cta-banner{
  background:linear-gradient(120deg, var(--green-dark), var(--overlay-dark));
  color:#fff;
  text-align:center;
}
.cta-banner h2{ font-size:clamp(22px,3.4vw,30px); margin-bottom:14px; }
.cta-banner p{ color:var(--text-muted-light); max-width:520px; margin:0 auto 30px; line-height:1.7; }

/* ---------- News ---------- */
.news-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:26px;
}
.news-card{
  background:var(--card-bg);
  border:1px solid #eaece9;
  border-radius:10px;
  overflow:hidden;
}
.news-thumb{
  aspect-ratio:16/10;
  background:linear-gradient(135deg, var(--green-light), #dfeee5);
}
.news-body{ padding:20px 22px 24px; }
.news-body h4{ font-size:15.5px; line-height:1.4; margin-bottom:10px; }
.news-body a{
  font-size:13.5px;
  font-weight:700;
  color:var(--green);
  text-decoration:none;
}
@media (max-width:860px){ .news-grid{ grid-template-columns:1fr; } }

/* ---------- Kontakt ---------- */
.contact-grid{
  display:grid;
  grid-template-columns:1fr 1.2fr;
  gap:50px;
  align-items:start;
}
.contact-info h3{ font-size:18px; margin-bottom:14px; }
.contact-info p{ font-size:14.5px; color:var(--text-muted); line-height:1.8; margin-bottom:22px; }
.contact-info ul{ list-style:none; }
.contact-info li{
  display:flex; gap:12px; align-items:flex-start;
  font-size:14.5px; margin-bottom:14px; color:var(--text-dark);
}
.contact-info li .icon{
  width:34px; height:34px; border-radius:8px; flex:none;
  background:var(--green-light); color:var(--green);
  display:flex; align-items:center; justify-content:center; font-size:15px;
}
.contact-info li a{ text-decoration:none; color:inherit; }
.contact-info li a:hover{ color:var(--green); }

.contact-form{
  background:var(--card-bg);
  border:1px solid #eaece9;
  border-radius:10px;
  padding:34px;
}
.form-row{ margin-bottom:18px; }
.form-row label{ display:block; font-size:13.5px; font-weight:600; margin-bottom:7px; }
.form-row input, .form-row textarea{
  width:100%;
  border:1px solid #d7ddd9;
  border-radius:6px;
  padding:11px 13px;
  font-family:inherit;
  font-size:14px;
  color:var(--text-dark);
}
.form-row input:focus, .form-row textarea:focus{
  outline:none; border-color:var(--green);
}
.form-note{ font-size:12.5px; color:var(--text-muted); margin-top:10px; }

@media (max-width:900px){ .contact-grid{ grid-template-columns:1fr; } }

/* ---------- Rechtstexte (Impressum / Datenschutz) ---------- */
.legal{ max-width:760px; margin:0 auto; padding:70px 24px 100px; }
.legal h2{ font-size:20px; margin:34px 0 12px; }
.legal h2:first-child{ margin-top:0; }
.legal p, .legal li{ font-size:14.5px; line-height:1.8; color:var(--text-muted); }
.legal ul{ margin:10px 0 10px 20px; }
.legal .placeholder{
  background:var(--green-light);
  border:1px dashed var(--green);
  border-radius:6px;
  padding:2px 6px;
  color:var(--green-dark);
  font-style:normal;
}
.legal-notice{
  background:#fff6e5;
  border:1px solid #f0d99a;
  border-radius:8px;
  padding:16px 20px;
  font-size:13.5px;
  color:#7a5c12;
  margin-bottom:36px;
  line-height:1.7;
}

/* ---------- Footer ---------- */
footer{ background:var(--footer-bg); color:var(--text-muted-light); padding:64px 24px 28px; }
.footer-grid{
  max-width:1140px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1.2fr;
  gap:36px;
  padding-bottom:40px;
  border-bottom:1px solid rgba(255,255,255,0.08);
}
.footer-logo{ width:150px; margin-bottom:16px; }
.footer-col h5{
  font-family:'Poppins', sans-serif;
  font-size:14px;
  color:#fff;
  margin-bottom:16px;
  letter-spacing:0.03em;
}
.footer-col ul{ list-style:none; }
.footer-col li{ margin-bottom:10px; }
.footer-col a{
  color:var(--text-muted-light);
  text-decoration:none;
  font-size:14px;
}
.footer-col a:hover{ color:var(--green-bright); }
.footer-col p{ font-size:14px; line-height:1.7; }

.footer-social{ display:flex; gap:12px; margin-top:18px; }
.footer-social a{
  width:32px; height:32px; border-radius:50%;
  border:1px solid rgba(255,255,255,0.2);
  display:flex; align-items:center; justify-content:center;
  transition:background 0.2s ease, border-color 0.2s ease;
}
.footer-social a:hover{ background:var(--green-bright); border-color:var(--green-bright); }
.footer-social svg{ width:15px; height:15px; fill:#fff; }

.footer-bottom{
  max-width:1140px;
  margin:0 auto;
  padding-top:22px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
  font-size:13px;
  color:var(--text-muted-light);
}
.footer-bottom nav{ display:flex; gap:20px; }
.footer-bottom a{ color:var(--text-muted-light); text-decoration:none; }
.footer-bottom a:hover{ color:var(--green-bright); }

@media (max-width:860px){
  .footer-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:560px){
  .footer-grid{ grid-template-columns:1fr; }
  .footer-bottom{ flex-direction:column; text-align:center; }
}

a:focus-visible, button:focus-visible{
  outline:2px solid var(--green-bright);
  outline-offset:2px;
}

/* ---------- Öffnungszeiten-Badge (dynamisch aus Adminpanel/PHP) ---------- */
.hero video{
  position:absolute; top:0; left:0; width:100%; height:100%;
  object-fit:cover; z-index:0;
}
.hero{ position:relative; overflow:hidden; }
.hero-inner{ position:relative; z-index:1; }

.badge, .badge_closed, .badge_lunch{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 16px; border-radius:20px; font-weight:600;
  font-size:14px; margin-bottom:18px;
}
.badge{ background:rgba(63,154,104,0.9); color:#fff; }
.badge_closed{ background:rgba(200,80,60,0.9); color:#fff; }
.badge_lunch{ background:rgba(220,150,40,0.9); color:#fff; }
.badge .dot, .badge_closed .dot, .badge_lunch .dot{
  width:9px; height:9px; border-radius:50%; background:currentColor;
  box-shadow:0 0 0 3px rgba(255,255,255,0.25);
}

/* ---------- News-Detailseite ---------- */
.news-detail-img{ width:100%; max-height:420px; object-fit:cover; border-radius:12px; margin-bottom:28px; }
.news-detail-meta{ color:var(--text-muted); font-size:14px; margin-bottom:14px; }
