/* ==========================================================================
   Harje Garbade – Garten | Gestaltungssystem
   Editorial, ruhig, viel Weißraum. Serif (Fraunces) + Sans (Inter).
   ========================================================================== */

/* ----- Schriften (lokal gehostet, keine externen Requests) ----- */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ----- Tokens ----- */
:root {
  --off: #f6f2ea;
  --paper: #fcfaf5;
  --paper-2: #f1ece1;
  --fir: #1e3a2b;
  --fir-2: #2c5440;
  --fir-3: #47705a;
  --terra: #bd6238;
  --terra-d: #a3502b;
  --ink: #26271f;
  --muted: #6d6b60;
  --line: #e2dbcd;
  --line-d: #cfc6b3;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(38, 39, 31, .05), 0 6px 20px rgba(38, 39, 31, .06);
  --shadow-lg: 0 24px 70px -28px rgba(30, 58, 43, .38);
  --r-sm: 4px;
  --r: 10px;
  --r-lg: 18px;
  --wrap: 1200px;
  --wrap-narrow: 760px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --serif: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ----- Reset / Basis ----- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.72;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.012em;
  margin: 0 0 .5em;
  color: var(--fir);
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
::selection { background: var(--terra); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: var(--wrap-narrow); margin: 0 auto; }
.center { text-align: center; }
.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #a8542c;
  display: inline-block;
  margin-bottom: 1em;
}
.lead { font-size: clamp(1.08rem, 1.9vw, 1.32rem); line-height: 1.62; color: #3c3d34; }
.muted { color: var(--muted); }
.serif-i { font-family: var(--serif); font-style: italic; font-weight: 400; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .01em;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--terra); color: #fff; box-shadow: 0 10px 24px -12px rgba(189, 98, 56, .8); }
.btn-primary:hover { background: var(--terra-d); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.10); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }
.btn-dark { background: var(--fir); color: #fff; }
.btn-dark:hover { background: var(--fir-2); transform: translateY(-2px); }
.btn-outline { border-color: var(--line-d); color: var(--fir); background: transparent; }
.btn-outline:hover { border-color: var(--fir); background: var(--fir); color: #fff; transform: translateY(-2px); }

/* ==========================================================================
   Demo-Leiste (scrollt mit, verdeckt die Navigation nicht)
   ========================================================================== */
.demo-banner {
  background: var(--terra);
  color: #fff;
  text-align: center;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .015em;
  padding: 11px 18px;
  position: relative;
  z-index: 960;
}

/* ==========================================================================
   Kopf / Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  transition: background .35s var(--ease), box-shadow .35s, padding .35s var(--ease), border-color .35s;
  padding: 20px 0;
  border-bottom: 1px solid transparent;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; flex-direction: column; line-height: 1.05; }
.brand b { font-family: var(--serif); font-weight: 600; font-size: 1.28rem; letter-spacing: -.01em; color: #fff; transition: color .3s; }
.brand span { font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: rgba(255,255,255,.8); margin-top: 4px; transition: color .3s; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: .92rem;
  font-weight: 500;
  color: rgba(255,255,255,.9);
  position: relative;
  padding: 4px 0;
  transition: color .3s;
}
.nav a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--terra); transition: width .3s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }

/* gescrollt / hell – auch dauerhaft auf Unterseiten (kein Hero) */
.site-header.scrolled,
.subpage .site-header {
  background: rgba(252, 250, 245, .94);
  backdrop-filter: saturate(140%) blur(10px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -22px rgba(30,58,43,.5);
  padding: 12px 0;
}
.site-header.scrolled .brand b,
.subpage .site-header .brand b { color: var(--fir); }
.site-header.scrolled .brand span,
.subpage .site-header .brand span { color: #5e5c50; }
.site-header.scrolled .nav a,
.subpage .site-header .nav a { color: var(--ink); }
.site-header.scrolled .nav a:hover,
.subpage .site-header .nav a:hover { color: var(--fir); }
.site-header.scrolled .btn-ghost,
.subpage .site-header .btn-ghost { border-color: var(--line-d); color: var(--fir); background: transparent; }
.site-header.scrolled .btn-ghost:hover,
.subpage .site-header .btn-ghost:hover { background: var(--fir); color: #fff; }
.site-header.scrolled .burger span,
.subpage .site-header .burger span { background: var(--fir); }

/* Burger */
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; transition: .3s var(--ease); }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.site-header.scrolled .burger span { background: var(--fir); }
body.nav-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: clamp(520px, 78vh, 900px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to bottom, rgba(15,26,19,.62) 0%, rgba(15,26,19,.22) 22%, rgba(15,26,19,.10) 46%, rgba(15,26,19,.42) 74%, rgba(15,26,19,.88) 100%),
    radial-gradient(120% 90% at 18% 82%, rgba(15,26,19,.55) 0%, rgba(15,26,19,0) 60%);
}
.hero .wrap { padding-bottom: clamp(48px, 8vh, 104px); padding-top: 140px; }
.hero-inner { max-width: 760px; }
.hero h1 { color: #fff; font-weight: 500; font-size: clamp(2.4rem, 6.4vw, 4.6rem); letter-spacing: -.02em; }
.hero .claim { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.2rem, 2.6vw, 1.9rem); color: rgba(255,255,255,.92); margin: .1em 0 .8em; }
.hero p.sub { font-size: clamp(1rem, 1.7vw, 1.16rem); color: rgba(255,255,255,.86); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* Google-Sterne-Badge */
.stars-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 9px 16px 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.30);
  backdrop-filter: blur(6px);
  font-size: .88rem;
  color: #fff;
  margin-bottom: 22px;
}
.stars-badge .stars { color: #f0b429; letter-spacing: 1px; font-size: 1rem; }
.stars-badge .stars i.half, .stars-inline i.half { position: relative; font-style: normal; display: inline-block; }
.stars-badge .stars i.half { color: rgba(255,255,255,.32); }
.stars-badge.stars-dark .stars i.half { color: rgba(120,116,101,.55); }
.stars-badge .stars i.half::before, .stars-inline i.half::before { content: "★"; position: absolute; left: 0; top: 0; width: 20%; overflow: hidden; color: #f0b429; }
.stars-inline i.half { color: rgba(255,255,255,.26); }
.stars-badge b { font-weight: 600; }
.stars-badge .g { opacity: .82; }
.stars-dark { background: var(--paper-2); border-color: var(--line-d); color: var(--ink); }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 22px; height: 34px; border: 1.5px solid rgba(255,255,255,.8); border-radius: 12px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; background: #fff; border-radius: 2px; transform: translateX(-50%); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 80%{opacity:0;transform:translate(-50%,12px)} 100%{opacity:0} }

/* ==========================================================================
   Abschnitte
   ========================================================================== */
.section { padding: clamp(64px, 10vw, 132px) 0; }
.section.tight { padding: clamp(48px, 7vw, 90px) 0; }
.bg-off { background: var(--off); }
.bg-paper { background: var(--paper); }
.bg-fir { background: var(--fir); color: #e9efe9; }
.bg-fir h1, .bg-fir h2, .bg-fir h3 { color: #fff; }
.bg-fir .eyebrow { color: #e8b48f; }
.bg-fir .muted { color: rgba(233,239,233,.72); }
.sec-head { max-width: 720px; margin-bottom: 56px; }
.sec-head.center { margin-inline: auto; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

.grid { display: grid; gap: 28px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

/* Bildkarten */
.figure-card { position: relative; overflow: hidden; border-radius: var(--r); background: var(--paper-2); }
.figure-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.figure-card:hover img { transform: scale(1.05); }
.card-cap { position: absolute; inset: auto 0 0 0; padding: 22px; color: #fff; background: linear-gradient(to top, rgba(18,30,22,.82), rgba(18,30,22,0)); }
.card-cap .k { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; opacity: .85; }
.card-cap h3 { color: #fff; margin: 6px 0 0; font-size: 1.3rem; }
.ratio-43 { aspect-ratio: 4/3; }
.ratio-34 { aspect-ratio: 3/4; }
.ratio-11 { aspect-ratio: 1/1; }
.ratio-169 { aspect-ratio: 16/9; }

/* Leistungs-Kacheln */
.tile {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 34px 30px;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--line-d); }
.tile .ico { width: 46px; height: 46px; color: var(--terra); margin-bottom: 18px; }
.tile h3 { margin-bottom: .4em; }
.tile p { color: var(--muted); font-size: .97rem; margin: 0; }

/* Icon-Kachel mit Bild */
.tile-img { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.tile-img .ph { aspect-ratio: 16/11; overflow: hidden; }
.tile-img .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tile-img:hover .ph img { transform: scale(1.05); }
.tile-img .body { padding: 28px 30px 32px; }

/* Zahlen / Überblick */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.metric { border-top: 2px solid var(--terra); padding-top: 18px; }
.metric .n { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.9rem); color: var(--fir); line-height: 1; }
.metric .t { font-size: .92rem; color: var(--muted); margin-top: 6px; }
.bg-fir .metric .n { color: #e8b48f; }
.bg-fir .metric .t { color: rgba(233,239,233,.80); }

/* Zitat */
.pullquote {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  line-height: 1.3;
  color: var(--fir);
  letter-spacing: -.015em;
  border-left: 3px solid var(--terra);
  padding-left: clamp(20px, 3vw, 40px);
  margin: 0;
}
.bg-fir .pullquote { color: #fff; }

/* Vorher/Nachher */
.ba { position: relative; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-lg); user-select: none; aspect-ratio: 16/10; background: #111; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .after { clip-path: inset(0 0 0 50%); }
.ba .handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: rgba(255,255,255,.9);
  transform: translateX(-1px); box-shadow: 0 0 0 1px rgba(0,0,0,.15); cursor: ew-resize;
}
.ba .handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.95);
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.ba .handle::before {
  content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  z-index: 2; color: var(--fir); font-size: 1.1rem; font-weight: 700; letter-spacing: -1px;
}
.ba .tag { position: absolute; top: 16px; padding: 6px 14px; border-radius: 999px; background: rgba(18,30,22,.62); color: #fff; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; backdrop-filter: blur(4px); }
.ba .tag.before { left: 16px; }
.ba .tag.after { right: 16px; }

/* Galerie Filter */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 46px; }
.filters button {
  border: 1px solid var(--line-d); background: transparent; color: var(--fir);
  padding: 10px 20px; border-radius: 999px; font-size: .9rem; font-weight: 500;
  transition: all .25s var(--ease);
}
.filters button:hover { border-color: var(--fir); }
.filters button.active { background: var(--fir); border-color: var(--fir); color: #fff; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery .item { position: relative; overflow: hidden; border-radius: var(--r); cursor: zoom-in; background: var(--paper-2); }
.gallery .item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), opacity .4s; aspect-ratio: 4/3; }
.gallery .item:hover img { transform: scale(1.06); }
.gallery .item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 16px 18px; color: #fff; font-size: .86rem;
  background: linear-gradient(to top, rgba(18,30,22,.78), transparent); opacity: 0; transition: opacity .3s;
}
.gallery .item:hover figcaption { opacity: 1; }
.gallery .item.is-hidden { display: none; }
.gallery .item.wide { grid-column: span 2; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1200; background: rgba(14,20,16,.94);
  display: none; align-items: center; justify-content: center; padding: 4vh 4vw;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 90vh; border-radius: 6px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox .lb-close { position: absolute; top: 22px; right: 26px; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.35); font-size: 1.4rem; display: grid; place-items: center; }
.lightbox .lb-prev, .lightbox .lb-next { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.35); font-size: 1.5rem; display: grid; place-items: center; }
.lightbox .lb-prev { left: 3vw; } .lightbox .lb-next { right: 3vw; }

/* Ablauf Timeline */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; padding-top: 34px; border-top: 1px solid var(--line-d); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--serif); font-size: 1.05rem; color: var(--terra); font-weight: 600;
  position: absolute; top: -1px; left: 0; transform: translateY(-50%); padding-right: 12px; background: var(--paper);
}
.bg-off .step::before { background: var(--off); }
.step h3 { font-size: 1.18rem; margin: 14px 0 .4em; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Leistungs-Dreiklang */
.trilogy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.trilogy > div { padding: 34px 30px; border-right: 1px solid var(--line); }
.trilogy > div:last-child { border-right: 0; }
.trilogy .num { font-family: var(--serif); color: var(--terra); font-size: 1.4rem; }
.trilogy h3 { margin: 10px 0 .35em; }
.trilogy p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Bilder in den drei Leistungs-Bausteinen (dezent) */
.tri-ph { position: relative; margin-bottom: 20px; border-radius: var(--r); overflow: hidden; aspect-ratio: 2/1; background: var(--paper-2); }
.tri-ph img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82) contrast(.96) brightness(1.03); opacity: .93; transition: transform 1.1s var(--ease), opacity .4s; }
.tri-ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,58,43,.06), rgba(30,58,43,.12)); pointer-events: none; }
.trilogy > div:hover .tri-ph img { transform: scale(1.04); opacity: 1; }


/* Über uns / Editorial split */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 84px); align-items: center; }
.split.rev { grid-template-columns: .95fr 1.05fr; }
.split-img { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-lg); }
.split-img img { width: 100%; }
.story p { font-size: 1.05rem; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 70px); align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-list .ico { width: 22px; height: 22px; color: var(--terra); flex: none; margin-top: 5px; }
.info-list .k { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.info-list .v { font-size: 1.12rem; color: var(--ink); }
.info-list a.v:hover { color: var(--terra); }

.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .97rem; }
.hours th { font-weight: 500; color: var(--ink); }
.hours td { text-align: right; color: var(--muted); }
.hours tr.today th, .hours tr.today td { color: var(--fir); font-weight: 600; }

.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .84rem; font-weight: 600; margin-bottom: 7px; color: var(--fir); }
.field .req { color: var(--terra); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; font: inherit; font-size: .97rem; color: var(--ink);
  background: var(--white); border: 1px solid var(--line-d); border-radius: var(--r-sm);
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #7d7b6c; opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--fir-2); box-shadow: 0 0 0 3px rgba(44,84,64,.12); }
.field textarea { min-height: 140px; resize: vertical; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--fir); }
.check a { color: var(--terra); text-decoration: underline; }

.map { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); aspect-ratio: 16/10; background: #eae5d8; position: relative; }
.map-art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.map-card {
  position: absolute; left: 22px; right: 22px; bottom: 22px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px;
  background: rgba(252, 250, 245, .95); border: 1px solid var(--line); border-radius: var(--r);
  padding: 20px 24px; box-shadow: var(--shadow-sm); backdrop-filter: blur(4px);
}
.map-hint { position: absolute; top: 18px; left: 22px; margin: 0; font-size: .76rem; letter-spacing: .06em; color: var(--muted); background: rgba(252,250,245,.85); border-radius: 999px; padding: 5px 14px; }
.map iframe { width: 100%; height: 100%; border: 0; }
.map-placeholder { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 30px; color: var(--muted); }

/* CTA-Band */
.cta-band { background: var(--fir); color: #fff; border-radius: var(--r-lg); padding: clamp(38px, 6vw, 72px); text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 560px; margin: 0 auto 26px; }

/* Footer */
.site-footer { background: #16281d; color: rgba(233,239,233,.72); padding: 74px 0 30px; font-size: .94rem; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 18px; font-weight: 600; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 44px; }
.site-footer a:hover { color: #fff; }
.foot-brand b { font-family: var(--serif); font-size: 1.5rem; color: #fff; display: block; margin-bottom: 10px; font-weight: 600; }
.foot-list { list-style: none; padding: 0; margin: 0; }
.foot-list li { margin-bottom: 10px; }
.foot-nav a { display: block; margin-bottom: 10px; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; margin-top: 54px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; color: rgba(233,239,233,.6); }
.foot-bottom nav a { margin-left: 18px; }
.credit { margin: 0; font-size: .8rem; letter-spacing: .04em; color: rgba(233,239,233,.62); }
.legal-intro { margin-top: 26px; padding: 20px 24px; background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--terra); border-radius: var(--r-sm); max-width: 820px; }
.legal-intro p { font-size: .95rem; }
.stars-inline { color: #f0b429; letter-spacing: 1px; }

/* Mobile Anruf-Button */
.call-fab {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 950;
  display: none; align-items: center; justify-content: center; gap: 10px;
  background: var(--terra); color: #fff; padding: 15px; border-radius: 999px;
  font-weight: 600; box-shadow: 0 14px 30px -8px rgba(163,80,43,.7);
}

/* Reveal-Animation */
.no-js .reveal { opacity: 1; transform: none; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Brotkrumen / Seitenkopf */
.page-head { padding: 150px 0 clamp(40px, 6vw, 72px); background: var(--off); border-bottom: 1px solid var(--line); }
.page-head .eyebrow { color: var(--terra); }
.page-head h1 { margin-bottom: .3em; }
.page-head p { max-width: 620px; color: var(--muted); font-size: 1.08rem; }

/* Legal */
.legal h2 { margin-top: 2em; font-size: 1.5rem; }
.legal h3 { margin-top: 1.4em; font-size: 1.12rem; }
.legal p, .legal li { color: #3c3d34; }
.legal { max-width: 820px; }
.notice { background: var(--paper-2); border: 1px solid var(--line-d); border-left: 3px solid var(--terra); border-radius: var(--r-sm); padding: 16px 20px; font-size: .92rem; color: var(--muted); }

/* Kopfbereich mit Bild (Kontakt) */
.head-split { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.head-img { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 4/3; background: var(--paper-2); }
.head-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(.97) brightness(1.02); }

/* Bilder in den Ablauf-Schritten (dezent) */
.step-ph { position: relative; margin-bottom: 16px; border-radius: var(--r); overflow: hidden; aspect-ratio: 3/2; background: var(--paper-2); }
.step-ph img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82) contrast(.96) brightness(1.03); opacity: .94; transition: transform 1.1s var(--ease), opacity .4s; }
.step-ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,58,43,.05), rgba(30,58,43,.11)); pointer-events: none; }
.step:hover .step-ph img { transform: scale(1.04); opacity: 1; }

/* ==========================================================================
   Responsiv
   ========================================================================== */
@media (max-width: 1024px) {
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav { position: fixed; inset: 0 0 0 auto; width: min(84vw, 360px); background: var(--paper); flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; padding: 40px 34px; transform: translateX(100%); transition: transform .4s var(--ease); box-shadow: -20px 0 60px -20px rgba(0,0,0,.3); }
  body.nav-open .nav { transform: none; }
  .nav a { color: var(--ink); font-size: 1.18rem; font-family: var(--serif); font-weight: 500; }
  .nav a::after { display: none; }
  .burger { display: block; z-index: 2; }
  .g-2, .g-3, .g-4, .split, .split.rev, .contact-grid, .trilogy, .timeline, .foot-grid, .head-split { grid-template-columns: 1fr; }
  .trilogy > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .trilogy > div:last-child { border-bottom: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery .item.wide { grid-column: span 2; }
  .call-fab { display: flex; }
  .site-footer { padding-bottom: 90px; }
  .row-2 { grid-template-columns: 1fr; }
  .page-head { padding-top: 140px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .item.wide { grid-column: auto; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
