/* v13 — Sven Itzek Immobilien · Relaunch Hetzner · Klares Grau-System + serifenlose Klarheit (Schibsted Grotesk + Hanken Grotesk, Burgunder #9b0103)
   v13: Footer — Desktop Adressblock rechtsbündig (≥981px, „…Zwickau" schließt mit „Vertrag widerrufen" ab); Mobile Credit-mkul-Link auf eigene Zeile (.fcredit-by). Maik-Feedback 18.06.
   v12: Hero mobil entschlackt (Standort-Badge + „Aktuelles Angebot"-CTA ausgeblendet, Lead-Zeilenabstand kompakter) — Maik-Feedback 18.06.
   v11: Touch-Targets ≥44px (.btn min-height + zentriert; .nav-toggle 44×44) — Pre-Launch-Critique.
   v10: Formular-Statusmeldung `.form__msg` (is-pending/is-ok) für den Backend-Versand (Resend) + Fallback.
   v9: FAQ-Icon-Styling von .faq__item[aria-expanded="true"] → .faq__item.is-open (aria-expanded sitzt jetzt am Button, nicht mehr am div).
   v8: Hero-H1 generell kleiner (clamp 1.45→3rem, auch Tablet kompakter); rote „Vermittelt"-Tags der Referenzen entfernt (Überschrift sagt schon „Auszug aus Projekten").
   v7: Hero-H1 stärker geclampt (1.6→3.6rem); Footer-Striche entfernt; Referenz-Karten Beschriftung unter das Bild (statt Overlay) für bessere Lesbarkeit.
   v6: Honeypot-Spam-Schutz (.hp off-screen) + Pflichtfeld-Sternchen (.req) für die Formulare.
   v5: will-change:transform an .btn entfernt (Safari klippte den Offer-Button bei Bild-Hover weg); Footer-Bottom entzerrt (mkul-Credit auf eigene Zeile).
   v4 (Mobile-Nav-Fix): backdrop-filter am Header machte ihn zum Containing-Block → Off-Canvas-Menü war in der 78px-Headerbox gefangen. Auf Mobile backdrop-filter:none + Scroll-Lock.
   v3 (Polish): scroll-margin-top für Anker-Sektionen → Sprünge landen nicht mehr unter dem fixierten Header.
   v2: Braun/Papier → neutrales Grau (Weiß/Hellgrau oben, Dunkelgrau unten); Serife (Fraunces) → Schibsted Grotesk;
       Radius überall 4px; Stat-Strip hell; Hero strikt linksbündig; Prozess-Block neu & klarer. */

/* ============================================================
   FONTS (self-hosted, DSGVO-konform — kein Google-CDN)
   ============================================================ */
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   DESIGN TOKENS — klares Grau-System
   ============================================================ */
:root {
  /* Marke */
  --wine: #9b0103;          /* Marken-Burgunder (Original) */
  --wine-deep: #6d0202;     /* dunkler für Hover */
  --wine-soft: #c75048;     /* aufgehellt für Akzent auf Dunkel */

  /* Neutrale Grau-Palette (kühl, klar) */
  --ink: #1d2126;           /* Dunkelgrau – Text & dunkle Flächen */
  --ink-2: #3a4047;         /* sekundärer Text */
  --muted: #6a727c;         /* gedämpfter Fließtext */
  --white: #ffffff;
  --grey-50: #f5f6f7;       /* Hellgrau – alternierende Sektionen */
  --grey-100: #eceef0;      /* Karten/Felder auf Hellgrau */
  --card: #ffffff;          /* helle Karte */
  --line: #e3e6e9;          /* feine Linien */
  --line-strong: #cfd4d9;

  /* Typo (durchgehend serifenlos, klar) */
  --display: "Schibsted Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Maße */
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 4px;            /* überall 4px – klar, nicht rund */
  --radius-lg: 4px;

  --shadow-sm: 0 1px 2px rgba(29,33,38,.05), 0 4px 14px rgba(29,33,38,.05);
  --shadow-md: 0 10px 30px rgba(29,33,38,.09), 0 2px 8px rgba(29,33,38,.06);
  --shadow-lg: 0 26px 60px rgba(29,33,38,.16);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* Anker-Sprünge nicht unter den fixierten Header (79px) schieben */
#ueber, #angebot, #referenzen, #ablauf, #faq, #kontakt { scroll-margin-top: 95px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--body);
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: clamp(1rem, .96rem + .25vw, 1.07rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; border-radius: 4px; }

/* ============================================================
   LAYOUT-HELFER
   ============================================================ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4.5rem, 9vw, 8rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .65rem;
  font-family: var(--body); font-weight: 600;
  font-size: .74rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--wine);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--wine); display: inline-block; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -.022em; color: var(--ink); }
.h-display { font-size: clamp(2.5rem, 1.6rem + 4.4vw, 4.7rem); font-weight: 800; letter-spacing: -.03em; }
h2.h-section { font-size: clamp(1.7rem, 1.3rem + 1.9vw, 2.5rem); font-weight: 700; letter-spacing: -.022em; }
h3 { font-size: clamp(1.2rem, 1.1rem + .6vw, 1.5rem); font-weight: 700; }
.lead { font-size: clamp(1.08rem, 1.02rem + .4vw, 1.28rem); color: var(--ink-2); line-height: 1.55; }
.muted { color: var(--muted); }

/* ============================================================
   BUTTONS — 4px, klar
   ============================================================ */
.btn {
  --b: var(--wine);
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  padding: .95rem 1.7rem; min-height: 44px; border-radius: var(--radius);
  font-family: var(--body); font-weight: 600; font-size: .95rem; letter-spacing: .005em;
  background: var(--b); color: #fff;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
  box-shadow: 0 6px 18px rgba(155,1,3,.22);
}
.btn:hover { background: var(--wine-deep); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(155,1,3,.30); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: none; border: 1.5px solid var(--line-strong); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--shadow-md); }
.btn--light { background: #fff; color: var(--ink); box-shadow: 0 8px 24px rgba(0,0,0,.16); }
.btn--light:hover { background: var(--grey-50); color: var(--wine); }

.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--wine); }
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .4s var(--ease);
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(29,33,38,.07); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 2rem; }
.brand { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; }
.brand img { height: 46px; width: auto; }
.brand__txt { font-family: var(--display); font-weight: 800; font-size: 1.16rem; letter-spacing: -.02em; line-height: 1; }
.brand__txt small { display: block; font-family: var(--body); font-weight: 600; font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--wine); margin-top: 4px; }

.nav-links { display: flex; align-items: center; gap: clamp(1.2rem, 2.2vw, 2.2rem); }
.nav-links a { font-weight: 500; font-size: .95rem; position: relative; padding-block: 4px; transition: color .3s; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--wine); transition: width .3s var(--ease); }
.nav-links a:hover::after, .nav-links a.is-active::after { width: 100%; }
.nav-cta { margin-left: .5rem; }
.nav-contact { display: none; }  /* nur im Mobile-Menü sichtbar */

.nav-toggle { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-width: 44px; min-height: 44px; padding: 8px; z-index: 120; }
.nav-toggle span { width: 26px; height: 2px; background: var(--ink); border-radius: 1px; transition: transform .35s var(--ease), opacity .25s; }

/* ============================================================
   HERO — strikt linksbündig zum Menü/Body
   ============================================================ */
.hero { position: relative; min-height: 84svh; display: flex; align-items: center; color: #fff; isolation: isolate; text-align: left; }
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 18s var(--ease) forwards; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(20,23,27,.78) 0%, rgba(20,23,27,.5) 38%, rgba(20,23,27,.12) 72%, rgba(20,23,27,.05) 100%),
    linear-gradient(180deg, rgba(20,23,27,.35) 0%, rgba(20,23,27,.1) 40%, rgba(20,23,27,.45) 100%);
}
/* hero__inner ist .container (zentriert, max 1200) → Text startet bündig zum Logo/Menü */
.hero__inner { padding-top: 6rem; padding-bottom: 2rem; }
.hero h1 { font-size: clamp(1.45rem, 0.8rem + 2.8vw, 3rem); line-height: 1.1; }
@media (min-width: 700px) { .hero h1 { max-width: 760px; } }
.hero__loc {
  display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: #fff;
  border: 1px solid rgba(255,255,255,.32); padding: .45rem .85rem; border-radius: var(--radius);
  backdrop-filter: blur(6px); margin-bottom: 1.5rem;
}
.hero h1 { color: #fff; margin-bottom: 1.3rem; }
.hero h1 .accent { color: var(--wine-soft); }
.hero__lead { color: rgba(255,255,255,.9); max-width: 600px; margin-bottom: 2.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero__scroll {
  position: absolute; right: var(--gutter); bottom: 2.2rem; z-index: 2;
  writing-mode: vertical-rl; font-size: .7rem; letter-spacing: .25em; text-transform: uppercase;
  color: rgba(255,255,255,.7); display: flex; align-items: center; gap: 1rem;
}
.hero__scroll::after { content: ""; width: 1px; height: 54px; background: linear-gradient(rgba(255,255,255,.7), transparent); animation: scrollPulse 2.2s var(--ease) infinite; }
@keyframes scrollPulse { 0%,100% { opacity: .3; transform: scaleY(.6); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }

/* Stat-Strip — hell (Dunkel bleibt „eher unten") */
.hero__stats { position: relative; z-index: 1; background: var(--grey-50); border-bottom: 1px solid var(--line); }
.hero__stats .container { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: clamp(1.6rem, 3vw, 2.5rem) clamp(1rem,2.5vw,2rem); position: relative; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat__num { font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.5rem); line-height: 1; color: var(--ink); display: flex; align-items: baseline; gap: .04em; letter-spacing: -.03em; }
.stat__num .suffix { color: var(--wine); }
.stat__label { margin-top: .5rem; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ============================================================
   SECTION HEADINGS — linksbündig
   ============================================================ */
.sec-head { max-width: 780px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head .eyebrow { margin-bottom: 1.1rem; }

/* ============================================================
   ÜBER UNS / SERVICES
   ============================================================ */
.about { background: var(--white); }
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.about__copy p + p { margin-top: 1.1rem; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4/5; object-fit: cover; }
.about__media::before {
  content: ""; position: absolute; inset: auto -16px -16px auto; width: 58%; height: 58%;
  border: 2px solid var(--wine); border-radius: var(--radius); z-index: -1;
}
.about__badge {
  position: absolute; left: -20px; bottom: 28px; background: var(--ink); color: #fff;
  padding: 1.1rem 1.35rem; border-radius: var(--radius); box-shadow: var(--shadow-md); max-width: 220px;
}
.about__badge b { font-family: var(--display); font-weight: 800; font-size: 1.6rem; display: block; line-height: 1; letter-spacing: -.03em; }
.about__badge span { font-size: .8rem; color: rgba(255,255,255,.82); }

.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; margin-top: clamp(2.5rem,5vw,3.5rem); }
.service {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem 1.8rem; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  overflow: hidden;
}
.service::after { content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 3px; background: var(--wine); transform: scaleY(0); transform-origin: top; transition: transform .4s var(--ease); }
.service:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.service:hover::after { transform: scaleY(1); }
.service__num { font-family: var(--display); font-size: .9rem; color: var(--wine); font-weight: 700; letter-spacing: .04em; }
.service h3 { margin: .7rem 0 .55rem; }
.service p { color: var(--muted); font-size: .97rem; }

/* ============================================================
   ANGEBOT (Listing)
   ============================================================ */
.offer { background: var(--grey-50); }
.offer__card {
  display: grid; grid-template-columns: 1.25fr 1fr; background: var(--card);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line);
}
.offer__img { position: relative; min-height: 340px; overflow: hidden; }
.offer__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.offer__card:hover .offer__img img { transform: scale(1.04); }
.offer__tag {
  position: absolute; top: 1rem; left: 1rem; background: var(--wine); color: #fff;
  font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: .42rem .8rem; border-radius: var(--radius);
}
.offer__body { padding: clamp(1.8rem, 3vw, 2.6rem); display: flex; flex-direction: column; justify-content: center; gap: .5rem; }
.offer__loc { display: inline-flex; align-items: center; gap: .4rem; color: var(--wine); font-weight: 600; font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; }
.offer__body h3 { font-size: clamp(1.5rem,1.2rem+1.4vw,2.1rem); }
.offer__meta { color: var(--muted); font-weight: 500; }
.offer__body .btn { margin-top: 1rem; align-self: flex-start; }

/* ============================================================
   REFERENZEN GALERIE — leichter 4px-Radius
   ============================================================ */
.referenzen { background: var(--white); }
.ref-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.ref { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.ref:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ref__img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.ref__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.ref:hover .ref__img img { transform: scale(1.06); }
/* Beschriftung unter dem Bild → bessere Lesbarkeit, Blick bleibt auf dem Haus */
.ref__cap { display: flex; flex-direction: column; gap: .18rem; padding: 1.05rem 1.15rem 1.25rem; }
.ref__cap .loc { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--wine); }
.ref__cap b { font-family: var(--display); font-weight: 700; font-size: 1.18rem; line-height: 1.15; letter-spacing: -.02em; color: var(--ink); margin-top: .1rem; }
.ref__cap span.type { font-size: .85rem; color: var(--muted); margin-top: .1rem; }

/* ============================================================
   FEATURE — Parallax-Bild mit Box obendrauf (Scroll-Effekt)
   ============================================================ */
.feature {
  position: relative; isolation: isolate; overflow: hidden;
  /* Pfad RELATIV ZUR CSS-DATEI (../img/), NICHT per Inline-Var — sonst 404 (löst gegen /assets/css/ auf) → grau */
  background-image: linear-gradient(rgba(20,23,27,.45), rgba(20,23,27,.45)), url("../img/Itzek-Immobilien-1.webp");
  background-size: cover; background-position: center; background-attachment: fixed;
  display: flex; align-items: center; justify-content: flex-start;
  padding-block: clamp(5rem, 12vw, 9rem);
}
.feature__box {
  background: var(--ink); color: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--wine);
  max-width: 580px; padding: clamp(2rem, 4vw, 3.2rem);
}
.feature__box .eyebrow { color: var(--wine-soft); margin-bottom: 1.1rem; }
.feature__box .eyebrow::before { background: var(--wine-soft); }
.feature__box h2 { color: #fff; font-size: clamp(1.7rem, 1.3rem + 2vw, 2.6rem); font-weight: 700; letter-spacing: -.026em; line-height: 1.14; }
.feature__box h2 .mark { color: var(--wine-soft); }
.feature__box p { color: rgba(255,255,255,.78); margin-top: 1.1rem; font-size: 1.06rem; }
.feature__box .btn { margin-top: 1.8rem; }
/* Touch-Geräte: kein fixed (iOS-Bug/Jank) */
@media (hover: none) {
  .feature { background-attachment: scroll; }
}

/* ============================================================
   ABLAUF / PROZESS — Dunkelgrau, klar, neu aufgebaut
   ============================================================ */
.process { background: var(--ink); color: #fff; }
.process .eyebrow { color: var(--wine-soft); }
.process .eyebrow::before { background: var(--wine-soft); }
.process h2.h-section { color: #fff; }
.process__lead { color: rgba(255,255,255,.66); max-width: 760px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: clamp(2.5rem,5vw,3.5rem); }
.step {
  position: relative; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 2rem 1.8rem 1.9rem;
  transition: background .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.step:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.2); transform: translateY(-4px); }
.step__n { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--radius); background: var(--wine); color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; margin-bottom: 1.3rem; }
.step__label { font-family: var(--body); font-weight: 600; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--wine-soft); margin-bottom: .45rem; }
.step h3 { color: #fff; font-size: 1.3rem; margin-bottom: .7rem; }
.step p { color: rgba(255,255,255,.68); font-size: .96rem; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--white); }
.faq__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem,5vw,4.5rem); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem;
  padding: 1.4rem 0; text-align: left; font-family: var(--display); font-size: clamp(1.05rem,1rem+.45vw,1.25rem); font-weight: 700; color: var(--ink); letter-spacing: -.018em;
  transition: color .3s;
}
.faq__q:hover { color: var(--wine); }
.faq__icon { flex-shrink: 0; width: 28px; height: 28px; border-radius: var(--radius); border: 1.5px solid var(--line-strong); display: grid; place-items: center; position: relative; transition: all .3s var(--ease); margin-top: 3px; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--ink); border-radius: 1px; transition: transform .3s var(--ease), background .3s; }
.faq__icon::before { width: 12px; height: 2px; }
.faq__icon::after { width: 2px; height: 12px; }
.faq__item.is-open .faq__icon { background: var(--wine); border-color: var(--wine); }
.faq__item.is-open .faq__icon::before, .faq__item.is-open .faq__icon::after { background: #fff; }
.faq__item.is-open .faq__icon::after { transform: scaleY(0); }
.faq__a { overflow: hidden; height: 0; transition: height .35s var(--ease); }
.faq__a-inner { padding-bottom: 1.4rem; color: var(--muted); max-width: 56ch; }

/* ============================================================
   KONTAKT
   ============================================================ */
.contact { background: var(--grey-50); }
.contact__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem,5vw,4.5rem); }
.contact__info .eyebrow { margin-bottom: 1.1rem; }
.contact__info h2 { margin-bottom: 1.3rem; }
.contact__lines { margin-top: 2rem; display: grid; gap: 1.1rem; }
.cline { display: flex; gap: 1rem; align-items: flex-start; }
.cline__ic { flex-shrink: 0; width: 44px; height: 44px; border-radius: var(--radius); background: var(--wine); color: #fff; display: grid; place-items: center; }
.cline__ic svg { width: 20px; height: 20px; }
.cline b { display: block; font-family: var(--body); font-weight: 600; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .15rem; }
.cline a, .cline p { font-size: 1.06rem; color: var(--ink); font-weight: 500; }
.cline a:hover { color: var(--wine); }

.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.6rem); box-shadow: var(--shadow-md); }
.field { margin-bottom: 1.05rem; }
.field label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .03em; color: var(--ink-2); margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .97rem; color: var(--ink); background: var(--grey-50);
  border: 1.5px solid var(--line); border-radius: var(--radius); padding: .82rem 1rem; transition: border-color .25s, box-shadow .25s, background .25s;
}
.field textarea { resize: vertical; min-height: 120px; }
/* Custom Dropdown (cselect) — eigener, nicht-generischer Look */
.cselect { position: relative; }
.cselect__native { display: none; }
.cselect__trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font: inherit; font-size: .97rem; color: var(--ink); text-align: left; cursor: pointer;
  background: var(--grey-50); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: .82rem 1rem; transition: border-color .25s, box-shadow .25s, background .25s;
}
.cselect__trigger:hover { border-color: var(--line-strong); }
.cselect__arrow { width: 18px; height: 18px; color: var(--wine); flex-shrink: 0; transition: transform .3s var(--ease); }
.cselect.open .cselect__trigger { border-color: var(--wine); background: #fff; box-shadow: 0 0 0 3px rgba(155,1,3,.1); }
.cselect.open .cselect__arrow { transform: rotate(180deg); }
.cselect__list {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 30;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: .35rem; margin: 0; list-style: none;
  opacity: 0; transform: translateY(-6px) scale(.99); transform-origin: top; pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease); max-height: 280px; overflow: auto;
}
.cselect.open .cselect__list { opacity: 1; transform: none; pointer-events: auto; }
.cselect__opt {
  padding: .7rem .85rem; border-radius: 3px; cursor: pointer; font-size: .96rem; color: var(--ink-2);
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  transition: background .18s, color .18s;
}
.cselect__opt:hover, .cselect__opt.is-active { background: var(--grey-50); color: var(--ink); }
.cselect__opt[aria-selected="true"] { color: var(--wine); font-weight: 600; }
.cselect__opt[aria-selected="true"]::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--wine); flex-shrink: 0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--wine); background: #fff; box-shadow: 0 0 0 3px rgba(155,1,3,.1); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form .btn { width: 100%; justify-content: center; margin-top: .4rem; }
.form__note { font-size: .8rem; color: var(--muted); margin-top: 1rem; text-align: center; }
.form__note a { color: var(--wine); text-decoration: underline; text-underline-offset: 2px; }
.field label .req { color: var(--wine); margin-left: 1px; }
/* Formular-Statusmeldung (Server-Versand bzw. Fallback) */
.form__msg { margin: .9rem 0 0; font-size: .92rem; min-height: 1em; }
.form__msg.is-pending { color: var(--muted); }
.form__msg.is-ok { color: #1c7c43; font-weight: 600; }
/* Honeypot-Spam-Schutz: für Menschen unsichtbar (off-screen), Bots füllen es aus */
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ============================================================
   MODAL (Objekt-Interesse)
   ============================================================ */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 1.25rem; }
.modal[aria-hidden="false"] { display: flex; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(20,23,27,.62); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: modalFade .25s var(--ease); }
.modal__dialog {
  position: relative; z-index: 1; width: 100%; max-width: 540px; max-height: 90vh; overflow: auto;
  background: var(--card); border-radius: var(--radius); border-top: 3px solid var(--wine);
  box-shadow: var(--shadow-lg); padding: clamp(1.6rem, 4vw, 2.6rem);
  animation: modalIn .3s var(--ease);
}
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.modal__close {
  position: absolute; top: .9rem; right: .9rem; width: 38px; height: 38px; border-radius: var(--radius);
  display: grid; place-items: center; color: var(--muted); background: var(--grey-50); transition: background .2s, color .2s;
}
.modal__close:hover { background: var(--wine); color: #fff; }
.modal__close svg { width: 18px; height: 18px; }
body.modal-open { overflow: hidden; }

/* ============================================================
   FOOTER — Dunkelgrau, Kontakt mit Icons (keine doppelte Navigation)
   ============================================================ */
.site-footer { background: var(--ink); color: #fff; padding-block: clamp(3.5rem,7vw,5rem) 1.8rem; }
.footer__top { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem,5vw,4rem); padding-bottom: 2.6rem; align-items: start; }
.footer__brand img { height: 50px; width: auto; }
.footer__brand p { color: rgba(255,255,255,.7); max-width: 40ch; margin-top: 1.3rem; font-size: .98rem; }
.footer__contact { display: grid; gap: 1rem; }
.fline { display: flex; align-items: center; gap: .85rem; color: #fff; }
.fline svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--wine-soft); }
.fline a, .fline span { color: rgba(255,255,255,.92); font-size: 1rem; transition: color .3s; }
.fline a:hover { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; justify-content: space-between; align-items: center; padding-top: 1.8rem; font-size: .85rem; color: rgba(255,255,255,.62); }
.footer__bottom .legal-links { display: flex; gap: 1.4rem; flex-wrap: wrap; }
/* mkul-Credit auf eigene Zeile darunter → erste Zeile (© + Rechtslinks) wird entzerrt */
.footer__bottom .footer__credit { flex-basis: 100%; margin-top: .6rem; }
.footer__bottom a { color: rgba(255,255,255,.78); }
.footer__bottom a:hover { color: #fff; }
.footer__credit a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
.footer__credit a:hover { border-color: #fff; }
.footer__credit .dot { color: var(--wine-soft); }
/* Desktop: Adressblock rechtsbündig in seine Spalte → längste Zeile („…Zwickau") schließt bündig mit „Vertrag widerrufen" ab; Icons bleiben saubere linke Spalte */
@media (min-width: 981px) { .footer__contact { width: max-content; margin-left: auto; } }

/* ============================================================
   LEGAL (Impressum/Datenschutz)
   ============================================================ */
.legal-hero { padding-top: 11rem; padding-bottom: 2.2rem; background: var(--ink); color: #fff; }
.legal-hero .eyebrow { color: var(--wine-soft); }
.legal-hero .eyebrow::before { background: var(--wine-soft); }
.legal-hero h1 { color: #fff; font-size: clamp(2.2rem,1.6rem+3vw,3.4rem); margin-top: 1rem; }
.legal { max-width: 820px; }
.legal h2 { font-size: clamp(1.4rem,1.2rem+1vw,1.85rem); margin: 2.6rem 0 1rem; }
.legal h3 { font-size: 1.18rem; margin: 1.8rem 0 .6rem; color: var(--ink-2); }
.legal p, .legal li { color: var(--ink-2); margin-bottom: .9rem; }
.legal ul { padding-left: 1.2rem; list-style: disc; }
.legal li { margin-bottom: .5rem; }
.legal a { color: var(--wine); text-decoration: underline; text-underline-offset: 2px; }
.legal strong { color: var(--ink); }
.legal .card-box { background: var(--grey-50); border: 1px solid var(--line); border-left: 3px solid var(--wine); border-radius: var(--radius); padding: 1.4rem 1.6rem; margin: 1.5rem 0; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }

/* ============================================================
   BACK-TO-TOP
   ============================================================ */
.to-top {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 90;
  width: 46px; height: 46px; border-radius: var(--radius); background: var(--wine); color: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: all .35s var(--ease);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--wine-deep); transform: translateY(-3px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 460px; margin-inline: auto; order: -1; }
  .about__badge { left: 10px; }
  .offer__card { grid-template-columns: 1fr; }
  .offer__img { min-height: 260px; }
  .ref-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  /* backdrop-filter macht den Header zum Containing-Block für position:fixed —
     das Off-Canvas-Menü wäre sonst in der 78px-Headerbox gefangen. Auf Mobile
     deshalb ohne backdrop-filter (Header ist hier ohnehin solide weiß). */
  .site-header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  body.nav-open { overflow: hidden; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 360px); flex-direction: column;
    align-items: flex-start; justify-content: center; gap: 1.5rem; padding: 2rem 2.2rem;
    background: var(--white); box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform .4s var(--ease); z-index: 110;
  }
  body.nav-open .nav-links { transform: translateX(0); }
  .nav-links a { font-size: 1.3rem; font-family: var(--display); font-weight: 700; color: var(--ink) !important; }
  .nav-links a::after { background: var(--wine) !important; }
  .nav-cta { margin-left: 0; }
  .site-header:not(.scrolled) .nav-links a { color: var(--ink) !important; }
  /* Kontakt-Button im Mobile-Menü = weiß auf Rot (wie überall), nicht von der dunklen Link-Regel erfasst */
  .nav-links a.nav-cta,
  .site-header:not(.scrolled) .nav-links a.nav-cta { color: #fff !important; }
  .nav-links a.nav-cta::after { display: none; }
  /* Telefon + E-Mail klein unten im Mobile-Menü */
  .nav-contact { display: flex; flex-direction: column; gap: .9rem; margin-top: 1.8rem; padding-top: 1.5rem; border-top: 1px solid var(--line); width: 100%; }
  .nav-contact a { display: flex; align-items: center; gap: .6rem; font-family: var(--body) !important; font-size: .92rem !important; font-weight: 500 !important; color: var(--muted) !important; }
  .nav-contact a::after { display: none; }
  .nav-contact a:hover { color: var(--wine) !important; }
  .nav-contact svg { width: 16px; height: 16px; color: var(--wine); flex-shrink: 0; }
  body.nav-open .nav-toggle span { background: var(--ink) !important; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(20,23,27,.5); opacity: 0; pointer-events: none; transition: opacity .4s; z-index: 105; }
  body.nav-open .nav-backdrop { opacity: 1; pointer-events: auto; }

  .services { grid-template-columns: 1fr; }
  .ref-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  /* Credit mobil: „Schlüsselfertig gestaltet von" Zeile 1, mkul-Link Zeile 2 (sonst hässlicher Umbruch) */
  .footer__credit .fcredit-by { display: block; margin-top: .2rem; }
  .hero__scroll { display: none; }
  .hero { min-height: 82svh; }
  /* Hero mobil entschlacken (Maik 18.06.): Standort-Badge + Zweit-CTA raus, Lead kompakter */
  .hero__loc { display: none; }
  .hero__actions .btn--light { display: none; }
  .hero__lead { line-height: 1.4; margin-bottom: 1.7rem; }
}
