:root{
  --green: #0f2416;
  --green-footer: #0c1c12;
  --text: #ffffff;
  --red: #e5093d;

  --accent: #ff2b53;
  --accent-strong: #ff1744;

  --nav-h: 90px; /* Mindesthöhe des Headers */
}

/* Basis */
html, body {
  height: 100%;
  overflow-x: hidden;  /* NEU: verhindert horizontales Scrollen */
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

main{ flex:1 0 auto; }

body{
  background: var(--green);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

main{ 
  flex: 1 0 auto; 
}

/* Vertikale S-Linie über der ganzen Seite */
.s-line {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  height: 100vh;
  background: url("assets/bg/weg.svg") no-repeat center center / auto 100%;
  opacity: 0.9;          /* zum Testen schön sichtbar, später z.B. 0.4 */
  pointer-events: none;
  z-index: 500;          /* über Hintergründen, unter Header (1000) */
}


/* ===== HEADER ===== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--green-footer); /* dunkler */
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.nav-wrap{
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px;
  min-height: var(--nav-h);
  display: grid;
  grid-template-columns: auto 1fr auto; /* Logo | Links | CTAs */
  align-items: center;
  gap: 16px;
}
.brand{ display:flex; align-items:center; }
.logo-box{
  width: clamp(140px, 16vw, 200px);
  height: auto;
}
.logo-box img{
  width: 100%; height: auto;
  display: block;
  object-fit: contain;
}

/* Globale Navi-Links (Grundstyle) */
.nav-links a{
  color:#fff;
  text-decoration:none;
  opacity:1;
  font-weight:800;
  font-size: 20px;
  line-height: 1.2;
}

/* CTAs */
.nav-cta{ display:flex; justify-content:flex-end; align-items:center; gap:12px; }
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:10px 16px; border-radius:16px; font-weight:700;
  text-decoration:none; color:white; background: var(--accent);
  box-shadow: 0 2px 8px rgba(255, 43, 83, .22);
  transition: transform .15s ease, filter .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); filter: brightness(1.05); background: var(--accent-strong); }

/* Globale Primär-Buttons */
.btn-primary{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 12px 22px;
  border-radius: 14px;
  font-weight: 800;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  transition: transform .15s ease, filter .15s ease;
  border: 0;
  cursor: pointer;
}
.btn-primary:hover{ transform: translateY(-2px); filter: brightness(1.05); }

/* --- NAV: Burger mobil, Desktop klassische Leiste --- */
.burger{
  display:none;
  margin-left:auto;
  background:none;
  border:0;
  width:40px;
  height:40px;
  cursor:pointer;

  position: relative;
  z-index: 1100;   /* ✅ höher als Menü */
}
.burger span,
.burger::before,
.burger::after{
  content:"";
  display:block;
  height:2px;
  background:var(--text);
  margin:7px 6px;
  transition: transform .25s ease, opacity .25s ease;
}
.burger[aria-expanded="true"] span{ opacity:0; }
.burger[aria-expanded="true"]::before{ transform: translateY(9px) rotate(45deg); }
.burger[aria-expanded="true"]::after{ transform: translateY(-9px) rotate(-45deg); }

@media (max-width:1024px){
  .burger{ display:block; }
  .nav-cta{ display:none; }

  .nav-links{
    position: fixed;
    top: 0;
    right: -100%;                 /* komplett rechts raus schieben */
    bottom: 0;
    width: min(78vw, 320px);
    background: var(--green-footer);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 96px 20px 24px;
    gap: 6px;
    box-shadow: -6px 0 18px rgba(0,0,0,.35);
    transition: right .35s cubic-bezier(.2,.8,.2,1);
    z-index: 1000;
  }

  .nav-links.open{
    right: 0;                      /* beim Öffnen reinsliden */
  }

  .nav-links a{
    display:block; width:100%; padding:12px 10px;
    color:#fff; text-decoration:none; opacity:1;
    font-weight:800; font-size:17px; line-height:1.2; border-radius:10px;
  }
  .nav-links a:hover{ background: rgba(255,255,255,.06); }
}

/* Scroll-Offset für Anker */
section[id]{ scroll-margin-top: calc(var(--nav-h) + 12px); }

/* ===== HERO (Video) ===== */
.hero{
  position: relative;
  display: grid;
  place-items: center;
  margin-top: var(--nav-h); /* unter dem Header */
  min-height: calc(100svh - var(--nav-h));
  overflow: hidden;
}
@supports (height: 100dvh){
  .hero{ min-height: calc(100dvh - var(--nav-h)); }
}

.hero__bg{ position: absolute; inset: 0; height: 100%; }

.hero__video{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: translateZ(0);
  -webkit-user-select: none;
  z-index: 0;
  pointer-events: none;
}

.hero__shade{
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    /* oben -> wie du es schon hattest */
    linear-gradient(
      to bottom,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,0.25) 45%,
      rgba(0,0,0,0.55) 100%
    ),

    /* unten -> exakt gespiegelt */
    linear-gradient(
      to top,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,0.25) 45%,
      rgba(0,0,0,0.55) 100%
    );
}


@media (max-width: 600px){
  .hero{ min-height: calc(100svh - var(--nav-h)); }
  .hero__video{ object-position: center; }
}

@media (max-width: 380px){
  .hero__video{ display: none; }
  .hero__bg{
    background: #000 url('hero-poster.jpg') center / contain no-repeat;
  }
}

.hero__inner{
  position: relative; z-index: 1;
  width: min(1100px, 92%);
  text-align: center;
  color: #fff;
  place-self: center;
}
.hero__title{
  font-weight: 900;
  line-height: 1.05;
  font-size: clamp(32px, 8vw, 72px);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero__actions{ display:flex; justify-content:center; }

/* ===== INTRO TEXT NACH VIDEO ===== */
.intro {
  padding: 40px 16px;
  display: flex;
  justify-content: center;
}
.intro__inner { max-width: 900px; text-align: center; }
.intro__title {
  font-weight: 900;
  font-size: clamp(24px, 4vw, 40px);
  line-height: 1.2;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.intro__text {
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.0;
  opacity: 0.95;
}

/* ===== LEISTUNGEN ===== */
.services {
  padding: clamp(56px, 8vw, 96px) 16px;
}
.services .container{
  max-width: 1200px;
  margin: 0 auto;
}
.services__header{
  text-align:center;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.services .container{
  max-width: 1200px;
  margin: 0 auto;
  text-align: center; /* ➜ Überschriften / Group-Titles zentrieren */
}

.group-title {
  margin: clamp(36px, 5vw, 56px) 0 clamp(16px, 3vw, 24px);
  font-size: clamp(20px, 3.2vw, 28px);
  font-weight: 800;
  text-transform: uppercase;
  border-left: 4px solid var(--red);
  padding-left: 12px;
  opacity: .98;
  display: inline-block;   /* ➜ Block wird als „Klotz“ zentriert */
  text-align: left;        /* ➜ Text im Klotz bleibt normal ausgerichtet */
}



/* Grid */
.grid{ display: grid; gap: clamp(16px, 3vw, 28px); }
.grid-2{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px){
  .grid-2{ grid-template-columns: 1fr; }
}

/* Card */
.card.service{
  background: var(--green-footer);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card.service:hover{
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,.30);
}

/* Card-Bild */
.card-media img{
  width: 100%;
  aspect-ratio: 4 / 3.5;
  object-fit: cover;
  display: block;
}

/* Card-Content */
.card-body{
  padding: clamp(16px, 3vw, 22px);
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 2.3vw, 14px);
}
.card-body h3{
  font-size: clamp(18px, 2.6vw, 22px);
  font-weight: 800;
  letter-spacing: .2px;
  text-transform: uppercase;
}
.card-body p{
  font-size: clamp(15px, 2.2vw, 16.5px);
  line-height: 1.6;
  opacity: .95;
}

/* CTA in Card */
.card-cta{
  display: flex;
  justify-content: center;
  margin-top: clamp(8px, 1.8vw, 12px);
}

/* ===== Services-Overview ===== */
.services-overview {
  padding: clamp(40px,6vw,80px) 16px;
  background: var(--green-footer);
  color: var(--text);
}
.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 36px);
  max-width: 1200px;
  margin: 0 auto;
}
.overview-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: clamp(24px, 4vw, 32px);
  text-align: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.overview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(0,0,0,.3);
}
.overview-card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin: 0 auto 10px;
}
.overview-card h3 {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.overview-card p {
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 1.5;
  opacity: .92;
  flex: 1;
}
.overview-card .btn-primary {
  margin-top: auto;
  font-size: 0.9rem;
}

/* Responsive Services-Overview */
@media (max-width: 900px) {
  .overview-grid { grid-template-columns: 1fr; }
}

/* Button unten (Abo-Call-to-Action o.ä.) */
.abo-action{
  text-align:center;
  margin-top: clamp(32px,5vw,56px);
}

/* ===== Über-uns Hero (Villa) ===== */
.about-hero{
  position: relative;
  isolation: isolate;
  min-height: clamp(520px, 70vh, 760px);
  display: grid;
  align-items: end;
  color: var(--text);
  background: #0c1c12;
  overflow: hidden;
}
.about-hero .container{
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 40px) clamp(16px, 5vw, 40px);
}

/* Hintergrundbild + Shader */
.about-hero__bg{
  position: absolute; inset: 0;
  z-index: -2;
}
.about-hero__bg img{
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05) brightness(0.85);
}
.about-hero__shade{
  position: absolute; inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, rgba(10,23,15,0.85) 0%, rgba(10,23,15,0.65) 35%, rgba(10,23,15,0.35) 65%, rgba(10,23,15,0.55) 100%);
  mix-blend-mode: multiply;
}

/* Textblock About-Hero */
.about-hero__inner{
  display: grid;
  gap: clamp(16px, 2.5vw, 24px);
  padding-bottom: clamp(40px, 8vh, 72px);
  text-align: center;
}
.about-hero__title{
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.04;
  letter-spacing: .4px;
  font-size: clamp(30px, 6vw, 56px);
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
}
.about-hero__lead{
  max-width: 980px;
  margin: 0 auto;
  font-size: clamp(15.5px, 2.1vw, 18px);
  line-height: 1.75;
  opacity: .96;
  text-shadow: 0 1px 6px rgba(0,0,0,.35);
}
.about-hero__actions{
  display: flex; justify-content: center;
  margin-top: clamp(8px, 2vw, 14px);
}

/* Responsive About-Hero */
@media (max-width: 560px){
  .about-hero__bg img{ filter: saturate(0.9) contrast(1.05) brightness(0.8); }
}

/* ===== About-Text Block (AGA-Style) ===== */
.about-text {
  background-color: transparent;
  padding: 200px 20px 5px;
}
.about-text .container {
  max-width: 1120px;
  margin: 0 auto;
}
.about-text__title {
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.15;
  letter-spacing: 0.08em;
  font-size: clamp(2.4rem, 3vw + 1rem, 3.5rem);
  margin-bottom: 50px;
  color: white;
}
.about-text__body {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.9;
  text-align: center;
  color: #f2f2f2;
  letter-spacing: 0.01em;
}

/* ===== HERO WIE AGA ===== */
.hero.hero-aga {
  position: relative;
  margin-top: 0;
  min-height: 150svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0c1c12;/* wichtig: Hintergrundfarbe */
}

/* Wrapper fürs Bild */
.hero-aga__bg {
  position: absolute;
  inset: 0;
}

/* Hintergrundbild */
.hero-aga__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  filter: brightness(1.0); /* <-- Helligkeit hinzufügen */
}


/* Overlay: oben voll grün, unten durchsichtig + abdunkeln */
.hero-aga__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;

  background: linear-gradient(
    to bottom,
    /* oben: wie vorher, schön grün unter der Navi */
    var(--green) 0%,
    var(--green) 15%,
    rgba(0,0,0,0.0) 45%,

    /* unten: Bild verblasst in dunkles Grün, NICHT schwarz */
    rgba(10,23,15,0.40) 75%,
    var(--green) 100%
  );
}





/* Innerer Content-Container */
.hero-aga__inner {
  position: relative;
  z-index: 5;
  max-width: 900px;
  margin: 0 auto;
  padding: 200px 20px 10px; /* HIER mehr Abstand oben/unten */
  text-align: center;
  color: #ffffff;
}


/* fette Headline */
.hero-aga__title {
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.15;
  letter-spacing: 0.05em;
  margin-bottom: 26px;
}

/* Fließtext */
.hero-aga__lead {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.8;
  max-width: 760px;
  margin: 0 auto 34px auto;
  color: #e9e9e9;
}

/* Button-Zeile */
.hero-aga__actions {
  display: flex;
  justify-content: center;
}

/* Button im Hero etwas größer */
.hero-aga__actions .btn-primary {
  padding: 14px 32px;
  font-size: 1.05rem;
}

@media (max-width: 768px) {
  .hero.hero-aga {
    min-height: calc(100svh - var(--nav-h));
  }

  .hero-aga__title {
    font-size: clamp(2rem, 6vw, 2.6rem);
    letter-spacing: 0.04em;
  }

  .hero-aga__lead {
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 28px;
  }
}


/* ================= Kundenmeinungen ================= */
.testimonials {
  padding: 200px 200px;
  text-align: center;
}
.testimonials-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 40px;
  text-transform: uppercase;
  color: var(--text);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: #1a2a1d;
  color: var(--text);
  padding: 28px 22px;
  border-radius: 14px;
  display: none; /* wird per JS an/aus gemacht */
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.testimonial-card.is-visible {
  display: flex;
}


.testimonials-nav {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.testimonials-nav button {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.4);
  background: transparent;
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, transform .15s ease, border-color .2s ease;
}

.testimonials-nav button:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.8);
  transform: translateY(-1px);
}


.testimonial-card .stars { color: #f5c518; font-size: 1.2rem; margin-bottom: 12px; }
.testimonial-card p { font-size: 0.95rem; line-height: 1.6; margin-bottom: 16px; }
.testimonial-card .author { font-weight: 600; font-size: 0.95rem; opacity: 0.9; align-self: flex-end; }

/* Responsive Testimonials */
@media (max-width: 980px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* ===== SECTION: GANZ IN IHRER NÄHE (AGA-STYLE) ===== */
.nearby {
  background: var(--green);
  padding: 140px 20px;
  text-align: center;
  color: var(--text);
}
.nearby-inner {
  max-width: 900px;
  margin: 0 auto;
}
.nearby-title {
  font-size: clamp(32px, 6vw, 60px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 24px;
}
.nearby-address {
  font-size: 18px;
  opacity: .95;
  margin-bottom: 12px;
}
.nearby-text {
  font-size: 16px;
  opacity: .9;
  margin-bottom: 38px;
}
.nearby-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 14px 26px;
  font-size: 17px;
  border-radius: 14px;
}

/* Kontakt-Success-Message */
.contact-success {
  background: #0f2416;
  border: 1px solid #2ecc71;
  color: #2ecc71;
  padding: 16px 20px;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 16px;
  font-weight: 600;
  box-shadow: 0 0 12px rgba(46, 204, 113, 0.25);
}

/* ===== Kontakt ===== */
.contact{
  background: var(--green);
  color: var(--text);
  padding: clamp(56px, 8vw, 96px) 16px;
}
.contact .container{
  max-width: 1100px;
  margin: 0 auto;
}
.contact__title{
  text-align: center;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(28px, 5.4vw, 48px);
  margin-bottom: 10px;
}
.contact__lead{
  text-align: center;
  max-width: 820px;
  margin: 0 auto clamp(28px, 4vw, 40px);
  opacity: .92;
  line-height: 1.7;
  font-size: clamp(15.5px, 2.2vw, 17px);
}

/* Form */
.contact__form{
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.contact__form .hp{ display:none !important; }

.field input,
.field textarea{
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.22);
  color: var(--text);
  border-radius: 10px;
  padding: 14px 16px;
  font: inherit;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field textarea{ resize: vertical; min-height: 140px; }
.field input::placeholder,
.field textarea::placeholder{ color: rgba(234,246,234,.7); }

.field input:focus,
.field textarea:focus{
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(229,9,61,.18);
  background: rgba(255,255,255,0.06);
}

.actions{
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

/* Rückmeldungsbox */
.contact__message{
  max-width: 820px;
  margin: 0 auto 18px;
  text-align: center;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  padding: 12px 14px;
}
.contact__message.is-error{
  border-color: rgba(229,9,61,.45);
  background: rgba(229,9,61,.12);
}

/* ===== Footer mit runder Welle ===== */
footer {
  background: #0c1e0f;
  color: #ffffff;
  text-align: center;
  padding: 3rem 1rem 2rem;
  position: relative;
  margin-top: 5rem;
}
footer::before {
  content: "";
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 50px;
  background: #0c1e0f;
  border-top-left-radius: 100% 80px;
  border-top-right-radius: 100% 80px;
}
.footer-inner { position: relative; z-index: 2; }
.footer-inner .links a { color: #ffffff; margin: 0 1rem; font-size: 1rem; text-decoration: none; }
.footer-inner .links a:hover { text-decoration: underline; }
.footer-inner .copyright { margin-top: 1rem; font-size: 0.9rem; opacity: 0.8; }

/* Normale Absatzabstände */
p {
  margin-bottom: 1em;
}

/* Kein Abstand direkt unter dem AGA-Hero */
.hero.hero-aga {
  margin-bottom: 0;
}



.hero.hero-aga {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.map-section {
  margin-top: 100px;   /* oder 60px, wenn dir das zu viel ist */
}

.first-text {
  padding-top: clamp(220px, 30vw, 360px);
  padding-bottom: clamp(80px, 14vw, 140px);
  padding-left: 20px;
  padding-right: 20px;
  background: var(--green);
  display: flex;
  justify-content: center;
  text-align: center;
}




.first-text__inner {
  max-width: 950px;
  margin: 0 auto;
}

.first-text__title {
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: 0.03em;
  color: #ffffff;
  margin-bottom: 32px;
}

.first-text__text {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.75;
  color: #f2f2f2;
  opacity: 0.95;
  max-width: 850px;
  margin: 0 auto;
}


/* S-Linie auf Mobile ausblenden */
@media (max-width: 900px){
  .s-line{
    display: none;
  }
}

/* === MOBILE TWEAKS (Abstände) === */
@media (max-width: 900px){

  /* Hero etwas kompakter auf Handy */
  .hero {
    min-height: calc(100svh - var(--nav-h));
  }

  /* Testimonials: nicht so fettes Padding */
  .testimonials {
    padding: 80px 20px;
  }

  /* Nearby (Ganz in Ihrer Nähe): weniger Luft */
  .nearby {
    padding: 80px 20px;
  }
}

@media (max-width: 768px){

  /* About-Text Block: oben nicht ganz so riesig */
  .about-text {
    padding: 120px 20px 40px;
  }

  /* First-Text-Block: auf Mobile entspannter */
  .first-text {
    padding-top: 140px;
    padding-bottom: 80px;
  }
}


/* === MOBILE TYPO TWEAKS === */
@media (max-width: 768px){

  /* Hero-Headline etwas kleiner & entspannter */
  .hero__title{
    font-size: clamp(26px, 7vw, 34px);
    line-height: 1.15;
  }

  /* Intro-Text: mehr Zeilenabstand, besser lesbar */
  .intro__text{
    line-height: 1.6;
    font-size: 15px;
  }

  /* About-Text-Body: auf Handy etwas kleiner */
  .about-text__body{
    font-size: 0.98rem;
    line-height: 1.8;
  }

  /* Testimonials-Text: nicht so gedrückt */
  .testimonial-card p{
    font-size: 0.9rem;
    line-height: 1.7;
  }

  /* First-Text-Block: Text auf Handy minimal kleiner */
  .first-text__text{
    font-size: 0.98rem;
    line-height: 1.7;
  }
}
@media (max-width:1024px){
  .nav-links{
    pointer-events: none;
  }
  .nav-links.open{
    pointer-events: auto;
  }
}
body.menu-open{
  overflow: hidden;
}

/* === DESKTOP-NAVIGATION (ab 1025px) === */
@media (min-width:1025px){
  .nav-links{
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 3vw, 32px);
    padding: 0;
    width: auto;
    box-shadow: none;
    background: transparent;
  }

  .nav-links a{
    display: inline-block;
    padding: 0;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    line-height: 1.2;
  }
}

.hero__video{
  pointer-events: none;     /* nichts anklickbar */
  user-select: none;
}

/* Safari / iOS: Play-Overlay entfernen */
.hero__video::-webkit-media-controls,
.hero__video::-webkit-media-controls-start-playback-button,
.hero__video::-webkit-media-controls-enclosure {
  display: none !important;
  -webkit-appearance: none;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-social a svg {
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover svg {
  opacity: 1;
  transform: scale(1.12);
}

.links a {
  margin: 0 8px;
}
.footer-social a svg {
  width: 50px;
  height: 50px;
}

/* Telefonnummer im Impressum weiß machen */
.contact a[href^="tel:"] {
  color: #ffffff !important;
  text-decoration: none !important;
}

/* optional: Hover-Zustand leicht abtönen */
.contact a[href^="tel:"]:hover {
  color: #f0f0f0 !important;
}

/* Standard: Desktop -> Button ausblenden */
.mobile-header-call {
  display: none;
}

/* Mobile: Button anzeigen + layouten */
@media (max-width:1024px){
  .mobile-header-call {
    display: inline-flex;
    margin-left: auto;
    margin-right: 12px;
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 12px;
  }

  .nav-cta {
    display: none !important;
  }

  .nav-wrap {
    grid-template-columns: auto auto auto; /* Logo | Call | Burger */
  }
}

/* ===== ELIAS PORTRAIT ===== */
.elias-portrait {
  padding: 140px 20px 220px; /* oben genug Abstand zum vorherigen Block, unten genug vor der Footer-Welle */
  position: relative;
  z-index: 2;                /* liegt sicher über dem Footer-Wellen-Layer */
  background: var(--green);
}

.elias-portrait .container {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.portrait-title {
  font-size: clamp(2rem, 3vw, 2.4rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.portrait-name {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  opacity: 0.98;
}

.portrait-text {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  line-height: 1.65;
  max-width: 600px;
  margin: 0 auto 28px;
  opacity: 0.9;
}


/* Slideshow-Rahmen, feste Höhe damit nichts “springt” */
.portrait-slideshow {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  position: relative;
  aspect-ratio: 3 / 4;   /* stabile Höhe */
  overflow: hidden;
}

/* Bilder für Fade-Effekt übereinander legen */
.portrait-slideshow img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  opacity: 0;
  border-radius: 12px;
  transition: opacity 1s ease-in-out;
  object-fit: cover;
}

.portrait-slideshow img.active {
  opacity: 1;
}

/* Mobile-Tweaks */
@media (max-width: 768px) {
  .elias-portrait {
    padding: 100px 20px 180px;
  }

  .portrait-text {
    margin-bottom: 24px;
  }
}

/* Footer/Welle bewusst nach hinten */
footer {
  position: relative;
  z-index: 1;
}

footer::before {
  z-index: 0;
}



.portrait-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 20px 0 36px;
  flex-wrap: wrap;
}

.portrait-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
}

.portrait-btn svg {
  width: 20px;
  height: 20px;
}

/* E-Mail im Impressum weiß machen */
.contact a[href^="mailto:"] {
  color: #ffffff !important;
  text-decoration: none !important;
}
