/* ==========================================================================
   Kaya Garten- & Landschaftsbau – Stylesheet
   ========================================================================== */

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --forest-950: #07150c;
  --forest-900: #0b1f12;
  --forest-800: #10291a;
  --forest-700: #173822;
  --forest-600: #22502f;
  --leaf: #7cc142;
  --leaf-strong: #5fa82c;
  --leaf-soft: #e8f3dc;
  --stone-50: #f7f6f2;
  --stone-100: #efede6;
  --stone-200: #e2ded3;
  --stone-400: #a9a497;
  --ink: #16201a;
  --ink-soft: #4b5750;
  --white: #ffffff;

  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(7, 21, 12, .06);
  --shadow: 0 18px 50px -18px rgba(7, 21, 12, .28);
  --container: 1200px;
  --header-h: 84px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--stone-50);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .6em; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }
::selection { background: var(--leaf); color: var(--forest-950); }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--leaf); color: var(--forest-950); padding: .6rem 1rem; border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.6rem; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; letter-spacing: .01em;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--leaf); color: var(--forest-950); box-shadow: 0 10px 30px -10px rgba(124, 193, 66, .7); }
.btn-primary:hover { background: #8fd255; }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.btn-dark { background: var(--forest-800); color: var(--white); }
.btn-dark:hover { background: var(--forest-600); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .35s, box-shadow .35s, height .35s;
}
.site-header.is-scrolled, .site-header.is-solid {
  background: rgba(11, 31, 18, .92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px -12px rgba(0, 0, 0, .45);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; gap: .9rem; text-decoration: none; }
.brand-text {
  font-family: var(--font-head); font-size: .74rem; font-weight: 600; line-height: 1.25;
  letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .78);
  padding-left: .9rem; border-left: 1px solid rgba(124, 193, 66, .55);
}
.header-actions { display: flex; align-items: center; gap: .6rem; }
.header-call {
  display: none; width: 46px; height: 46px; border-radius: 12px; place-items: center;
  background: var(--leaf); color: var(--forest-950);
}
.header-call svg { width: 22px; height: 22px; }
.brand img { height: 64px; width: auto; transition: height .35s; }
.is-scrolled .brand img { height: 52px; }

.nav { display: flex; align-items: center; gap: 2.2rem; }
.nav-list { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  color: rgba(255, 255, 255, .82); text-decoration: none; font-weight: 500; font-size: .98rem;
  position: relative; padding: .3rem 0; transition: color .2s;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px;
  background: var(--leaf); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--white); }
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { padding: .7rem 1.25rem; font-size: .95rem; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .25);
  background: transparent; color: var(--white); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .3s, background .3s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  color: var(--white); overflow: hidden; background: var(--forest-900);
  padding: calc(var(--header-h) + 3rem) 0 6rem;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 18s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 70% 80% at 20% 50%, rgba(7, 21, 12, .92) 0%, rgba(7, 21, 12, .55) 60%, rgba(7, 21, 12, .35) 100%),
    linear-gradient(180deg, rgba(7, 21, 12, .5) 0%, rgba(7, 21, 12, 0) 30%, rgba(7, 21, 12, .85) 100%);
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-head); font-weight: 600; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--leaf);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 700; margin: 1rem 0 1.2rem; }
.hero h1 em { font-style: normal; color: var(--leaf); }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, .82); max-width: 34rem; margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.logo-mark { position: relative; isolation: isolate; }
.logo-mark::before {
  content: ""; position: absolute; inset: -18% -14%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(124, 193, 66, .30), rgba(124, 193, 66, .10) 55%, transparent 100%);
  filter: blur(6px);
}
.logo-mark img { filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .55)); }
.hero .logo-mark { justify-self: end; width: min(100%, 440px); }
.hero-logo { width: 100%; }
.hero-steps {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 2rem;
  display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap;
  font-family: var(--font-head); font-size: .85rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .7);
}
.hero-steps span { display: inline-flex; align-items: center; gap: 1rem; }
.hero-steps span + span::before { content: ""; width: 26px; height: 1px; background: var(--leaf); }

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section-head { max-width: 46rem; margin-bottom: 3.5rem; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; margin-top: .8rem; }
.section-head p { color: var(--ink-soft); font-size: 1.12rem; }
.section-dark { background: var(--forest-900); color: var(--white); }
.section-dark .section-head p { color: rgba(255, 255, 255, .72); }
.section-stone { background: var(--stone-100); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.about-media { position: relative; aspect-ratio: 4 / 4.4; }
.about-media img { position: absolute; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.about-media .img-a { inset: 0 22% 14% 0; width: 78%; height: 86%; }
.about-media .img-b { right: 0; bottom: 0; width: 48%; height: 52%; border: 8px solid var(--stone-50); }
.about-badge {
  position: absolute; left: -1rem; bottom: 2.5rem; z-index: 2;
  background: var(--forest-800); color: var(--white); border-radius: var(--radius); padding: 1.1rem 1.4rem;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: .9rem; max-width: 260px;
}
.about-badge svg { width: 40px; height: 40px; color: var(--leaf); flex: none; }
.about-badge strong { display: block; font-family: var(--font-head); font-size: 1.05rem; line-height: 1.25; }
.about-badge small { color: rgba(255, 255, 255, .7); font-size: .85rem; }
.about-text h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-top: .8rem; }
.about-text > p { color: var(--ink-soft); }
.values { list-style: none; padding: 0; margin: 2rem 0 2.4rem; display: grid; gap: 1.1rem; }
.values li { display: flex; gap: 1rem; align-items: flex-start; }
.values .ic {
  flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--leaf-soft); color: var(--leaf-strong);
}
.values .ic svg { width: 22px; height: 22px; }
.values strong { font-family: var(--font-head); font-size: 1.08rem; display: block; }
.values span { color: var(--ink-soft); font-size: .97rem; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.service {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 440px;
  display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate;
  background: var(--forest-800); color: var(--white); box-shadow: var(--shadow-sm);
}
.service img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.service::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(7, 21, 12, 0) 25%, rgba(7, 21, 12, .78) 62%, rgba(7, 21, 12, .96) 100%);
  transition: background .4s;
}
.service:hover img { transform: scale(1.07); }
.service-body { padding: 1.9rem; }
.service-icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1.1rem;
  background: rgba(124, 193, 66, .16); color: var(--leaf); border: 1px solid rgba(124, 193, 66, .35);
  backdrop-filter: blur(6px);
}
.service-icon svg { width: 26px; height: 26px; }
.service h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.service p { color: rgba(255, 255, 255, .78); font-size: .97rem; margin: 0; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; counter-reset: step; }
.step {
  position: relative; padding: 2.2rem; border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1);
  transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.step:hover { background: rgba(255, 255, 255, .07); border-color: rgba(124, 193, 66, .45); transform: translateY(-4px); }
.step-num {
  font-family: var(--font-head); font-weight: 700; font-size: 3.6rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(124, 193, 66, .7); margin-bottom: 1.2rem; display: block;
}
.step h3 { font-size: 1.45rem; }
.step p { color: rgba(255, 255, 255, .72); margin: 0; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 3.6rem; right: -1.25rem; width: .9rem; height: .9rem;
  border-top: 2px solid var(--leaf); border-right: 2px solid var(--leaf); transform: rotate(45deg); z-index: 2;
}

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin: -1.5rem 0 2.5rem; }
.filter {
  font: 500 .95rem var(--font-body); padding: .55rem 1.15rem; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--stone-200); background: var(--white); color: var(--ink-soft); transition: all .2s;
}
.filter:hover { border-color: var(--forest-600); color: var(--ink); }
.filter.is-active { background: var(--forest-800); border-color: var(--forest-800); color: var(--white); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 290px; gap: 1.1rem; }
.gallery-item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  cursor: zoom-in; background: var(--stone-200); display: block; width: 100%; padding: 0; border: 0;
}
.gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .4s; }
.gallery-item::after {
  content: attr(data-caption); position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.5rem 1.2rem 1rem; color: var(--white); text-align: left;
  font: 600 1rem var(--font-head);
  background: linear-gradient(transparent, rgba(7, 21, 12, .85));
  opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s var(--ease);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; transform: none; }
.gallery-item.is-hidden { display: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(5, 14, 8, .94);
  display: none; align-items: center; justify-content: center; padding: 4rem 1rem;
}
.lightbox.is-open { display: flex; animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.lightbox figure { margin: 0; max-width: min(1400px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.lightbox img { max-height: calc(100vh - 10rem); width: auto; border-radius: var(--radius-sm); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox figcaption { color: rgba(255, 255, 255, .85); font-family: var(--font-head); }
.lb-btn {
  position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .06); color: var(--white); cursor: pointer; display: grid; place-items: center; transition: background .2s;
}
.lb-btn:hover { background: rgba(255, 255, 255, .16); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 1.2rem; right: 1.2rem; }
.lb-prev { left: 1.2rem; top: 50%; translate: 0 -50%; }
.lb-next { right: 1.2rem; top: 50%; translate: 0 -50%; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(2.5rem, 6vw, 4.5rem); color: var(--white); isolation: isolate; }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(7, 21, 12, .95) 30%, rgba(7, 21, 12, .55)); }
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); max-width: 30rem; }
.cta-band p { color: rgba(255, 255, 255, .78); max-width: 32rem; margin-bottom: 2rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 2rem; align-items: start; }
.contact-cards { display: grid; gap: 1rem; }
.contact-card {
  display: flex; gap: 1.1rem; align-items: center; padding: 1.4rem 1.5rem; border-radius: var(--radius);
  background: var(--white); text-decoration: none; box-shadow: var(--shadow-sm); border: 1px solid var(--stone-200);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
a.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--leaf); }
.contact-card .ic { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--forest-800); color: var(--leaf); }
.contact-card .ic svg { width: 24px; height: 24px; }
.contact-card small { display: block; color: var(--ink-soft); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }
.contact-card strong { font-family: var(--font-head); font-size: 1.12rem; font-weight: 600; word-break: break-word; }

.form-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow); border: 1px solid var(--stone-200); }
.form-card h3 { font-size: 1.6rem; margin-bottom: .3rem; }
.form-card > p { color: var(--ink-soft); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; margin-top: 1.6rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); width: 100%;
  padding: .85rem 1rem; border-radius: 12px; border: 1.5px solid var(--stone-200); background: var(--stone-50);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--leaf-strong); background: var(--white); box-shadow: 0 0 0 4px rgba(124, 193, 66, .2); }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; color: var(--ink-soft); }
.check input { margin-top: .3rem; width: 18px; height: 18px; accent-color: var(--leaf-strong); flex: none; }
.check a { color: var(--forest-600); font-weight: 600; }
.form-note { font-size: .85rem; color: var(--ink-soft); margin: 1rem 0 0; }
.form-status { margin-top: 1.2rem; padding: 1rem 1.2rem; border-radius: 12px; font-size: .97rem; font-weight: 500; }
.form-status.is-success { background: var(--leaf-soft); color: #2d5a12; border: 1px solid #b9dd98; }
.form-status.is-error { background: #fdecec; color: #8a1f1f; border: 1px solid #f3c2c2; }
.btn:disabled { opacity: .65; cursor: wait; transform: none; }

/* ---------- Page hero (Unterseiten) ---------- */
.page-hero {
  position: relative; background: var(--forest-900); color: var(--white); overflow: hidden;
  padding: calc(var(--header-h) + 4rem) 0 4.5rem;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 90% at 85% 10%, rgba(124, 193, 66, .18), transparent 70%);
}
.page-hero .container { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); margin: .8rem 0 .4rem; }
.page-hero p { color: rgba(255, 255, 255, .72); margin: 0; max-width: 36rem; }
.page-hero .logo-mark { width: 210px; flex: none; }
.page-hero-logo { width: 100%; }
.breadcrumb { font-size: .9rem; color: rgba(255, 255, 255, .6); }
.breadcrumb a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.breadcrumb a:hover { color: var(--leaf); }

.legal { display: grid; grid-template-columns: 260px 1fr; gap: 3rem; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 1.5rem); background: var(--white); border-radius: var(--radius); padding: 1.4rem; border: 1px solid var(--stone-200); }
.legal-toc strong { font-family: var(--font-head); display: block; margin-bottom: .6rem; }
.legal-toc ol { margin: 0; padding-left: 1.2rem; font-size: .92rem; color: var(--ink-soft); }
.legal-toc li { margin: .3rem 0; }
.legal-toc a { text-decoration: none; }
.legal-toc a:hover { color: var(--forest-600); }
.prose { background: var(--white); border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 3.2rem); border: 1px solid var(--stone-200); box-shadow: var(--shadow-sm); }
.prose h2 { font-size: 1.55rem; margin: 2.4rem 0 .8rem; padding-top: .4rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin: 1.6rem 0 .5rem; }
.prose p, .prose li { color: #2f3a33; }
.prose ul { padding-left: 1.3rem; }
.prose a { color: var(--forest-600); font-weight: 600; }
.prose address { font-style: normal; }
.todo { background: #fff4c2; padding: .05em .35em; border-radius: 4px; font-weight: 600; color: #6b5300; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-950); color: rgba(255, 255, 255, .72); padding: 5rem 0 2rem; font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.site-footer .logo-mark { width: 160px; margin-bottom: 1.4rem; }
.footer-logo { width: 100%; }
.site-footer h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--leaf); }
.footer-bottom {
  margin-top: 3.5rem; padding-top: 1.6rem; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .88rem; color: rgba(255, 255, 255, .5);
}
.footer-bottom nav { display: flex; gap: 1.5rem; }

/* ---------- Cookie-Hinweis ---------- */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 250;
  display: flex; justify-content: center; pointer-events: none;
}
.cookie-banner[hidden] { display: none; }
.cookie-inner {
  pointer-events: auto; width: min(100%, 760px);
  display: flex; align-items: center; gap: 1.2rem;
  background: rgba(11, 31, 18, .97); color: rgba(255, 255, 255, .85);
  border: 1px solid rgba(124, 193, 66, .35); border-radius: var(--radius);
  padding: 1.1rem 1.3rem; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .6);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  animation: cookieIn .5s var(--ease);
}
@keyframes cookieIn { from { opacity: 0; transform: translateY(20px); } }
.cookie-icon { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(124, 193, 66, .15); color: var(--leaf); }
.cookie-icon svg { width: 24px; height: 24px; }
.cookie-inner p { margin: 0; font-size: .93rem; line-height: 1.55; }
.cookie-inner strong { color: var(--white); font-family: var(--font-head); }
.cookie-inner a { color: var(--leaf); font-weight: 600; }
.cookie-inner .btn { flex: none; padding: .75rem 1.4rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; }
  .gallery-item:first-child { grid-column: span 3; grid-row: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-list { gap: 1.4rem; }
}
@media (max-width: 920px) {
  :root { --header-h: 74px; }
  .brand img, .is-scrolled .brand img { height: 48px; }
  .brand { gap: .7rem; }
  .brand-text { font-size: .62rem; letter-spacing: .12em; padding-left: .7rem; }
  .header-call { display: grid; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; align-items: stretch; gap: 1.5rem;
    background: var(--forest-900); padding: 1.5rem 1.25rem 2rem; border-top: 1px solid rgba(255, 255, 255, .08);
    transform: translateY(-120%); opacity: 0; visibility: hidden; transition: transform .4s var(--ease), opacity .3s, visibility .4s;
    box-shadow: 0 30px 40px -20px rgba(0, 0, 0, .6);
  }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav-open .site-header { background: var(--forest-900); }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { display: block; padding: .95rem .2rem; font-size: 1.15rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav-list a::after { display: none; }
  .nav .btn { justify-content: center; }
  .hero .container { grid-template-columns: 1fr; text-align: center; gap: 1.5rem; }
  .hero .logo-mark { order: -1; justify-self: center; width: min(62%, 250px); }
  .hero .eyebrow { justify-content: center; }
  .hero .eyebrow::before { display: none; }
  .hero-lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .page-hero .logo-mark { display: none; }
  .about, .contact-grid, .legal { grid-template-columns: 1fr; }
  .about-media { max-width: 560px; }
  .process { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { top: auto; bottom: -1.25rem; right: 50%; transform: translateX(50%) rotate(135deg); }
  .legal-toc { position: static; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .container { width: min(100% - 2rem, var(--container)); }
  .services { grid-template-columns: 1fr; }
  .service { min-height: 380px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; gap: .7rem; }
  .gallery-item:first-child { grid-column: span 2; grid-row: span 1; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-bottom: 7rem; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .hero-steps { font-size: .72rem; letter-spacing: .14em; gap: .6rem; }
  .hero-steps span { gap: .6rem; }
  .hero-steps span + span::before { width: 14px; }
  .about-badge { left: .5rem; bottom: 1rem; }
  .lb-prev, .lb-next { top: auto; bottom: 1rem; translate: none; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
  .cookie-inner { flex-wrap: wrap; gap: .9rem; padding: 1rem; }
  .cookie-inner p { flex: 1 1 calc(100% - 60px); }
  .cookie-inner .btn { width: 100%; justify-content: center; }
}
