/* =====================================================================
   Gärtnerei Schieder — Design-System
   Frisch & hell, floristisch: Cremetöne, Blattgrün als Akzent,
   elegante Serifen-Headlines (Fraunces), Inter für den Fließtext.
   ===================================================================== */

/* ---------- Fonts (self-hosted, kein CDN) ---------- */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/fraunces-v38-latin-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/fraunces-v38-latin-600.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/inter-v20-latin-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/inter-v20-latin-500.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/inter-v20-latin-700.woff2") format("woff2");
}

/* ---------- Tokens ---------- */

:root {
  /* Feste Design-Tokens (Spec) */
  --paper: #FBF9F3;
  --surface: #F2EEE3;
  --line: #E3DCCB;
  --ink: #28311F;
  --muted: #6D7361;
  --green: #3A6B35;
  --green-dark: #2C5229;
  --green-soft: #DFE9D5;
  --blossom: #C4704F;

  /* Abgeleitet */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1120px;
  --pad-x: clamp(1.25rem, 5vw, 2.5rem);
  --nav-h: 68px;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-soft: 0 1px 2px rgba(40, 49, 31, 0.04), 0 10px 30px rgba(40, 49, 31, 0.06);
  --shadow-lift: 0 6px 14px rgba(40, 49, 31, 0.08), 0 20px 44px rgba(40, 49, 31, 0.10);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset / Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-padding-top: calc(var(--nav-h) + 14px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.85rem, 3.8vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); }

p { margin: 0 0 1rem; }

a { color: var(--green-dark); text-decoration-color: color-mix(in srgb, var(--green-dark) 40%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--green); }

ul, ol { margin: 0; padding: 0; }

strong { font-weight: 700; }

::selection { background: var(--green-soft); color: var(--ink); }

/* ---------- Layout ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.section--surface { background: var(--surface); }
.section--soft { background: var(--green-soft); }

/* ---------- Section-Titel (Signatur: kurzer grüner „Stiel") ---------- */

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.9rem;
}

.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.85rem, 3.8vw, 2.8rem);
  line-height: 1.1;
  margin: 0 0 1.5rem;
  position: relative;
}
.section-title::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: 3px;
  margin-top: 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--green);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  padding: 0.85em 1.5em;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease), transform 0.2s var(--ease),
              box-shadow 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--green);
  color: var(--paper);
  border-color: var(--green);
}
.btn--primary:hover, .btn--primary:focus-visible {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--paper);
  box-shadow: var(--shadow-soft);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover, .btn--ghost:focus-visible {
  background: var(--surface);
  border-color: var(--muted);
  color: var(--ink);
}

/* ---------- Cards ---------- */

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: color-mix(in srgb, var(--green) 30%, var(--line));
}

/* ---------- Scroll-Reveal (nur mit JS aktiv) ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

/* ---------- Skip-Link & Fokus ---------- */

.skip-link {
  position: absolute;
  left: 0;
  top: 0;
  transform: translateY(-120%);
  z-index: 200;
  background: var(--green);
  color: var(--paper);
  padding: 0.7em 1.2em;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translateY(0); color: var(--paper); }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ---------- Navigation ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  backdrop-filter: blur(12px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-h);
  gap: 1rem;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.nav__brand:hover { color: var(--ink); }
.nav__leaf { color: var(--green); flex: none; }
.nav__brand-name { white-space: nowrap; }

.nav__nav { display: flex; }
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2rem);
  list-style: none;
}
.nav__links a {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--ink);
  text-decoration: none;
  padding: 0.35em 0;
  transition: color 0.18s var(--ease);
}
.nav__links a:not(.btn):hover { color: var(--green); }
.nav__cta { margin-left: 0.4rem; }

/* Hamburger */
.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav__toggle-bars,
.nav__toggle-bars::before,
.nav__toggle-bars::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav__toggle-bars { position: relative; }
.nav__toggle-bars::before { position: absolute; top: -6px; }
.nav__toggle-bars::after { position: absolute; top: 6px; }
.nav.is-menu-open .nav__toggle-bars { background: transparent; }
.nav.is-menu-open .nav__toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav.is-menu-open .nav__toggle-bars::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 860px) {
  /* Hamburger + Panel nur mit JS — sonst wäre der Umschalter inert. */
  html.js .nav__toggle { display: inline-flex; }
  html.js .nav__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
  }
  html.js .nav.is-menu-open .nav__nav { display: block; }

  /* Ohne JS bleibt die Navigation als umbrechende Leiste erreichbar. */
  html:not(.js) .nav__inner { flex-wrap: wrap; }
  html:not(.js) .nav__nav { width: 100%; }

  .nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--pad-x);
    max-width: var(--container);
    margin-inline: auto;
  }
  .nav__links li { border-bottom: 1px solid var(--line); }
  .nav__links li:last-child { border-bottom: 0; }
  .nav__links a { padding: 0.9em 0; }
  .nav__cta { margin: 0.9rem 0 0.2rem; }
  .nav__cta.btn { align-self: flex-start; }
}

/* ---------- Footer ---------- */

.footer {
  margin-top: clamp(3rem, 7vw, 6rem);
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding-block: clamp(2rem, 4vw, 3rem);
}
.footer__brand { display: flex; flex-direction: column; gap: 0.15rem; }
.footer__name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
}
.footer__tag { color: var(--muted); font-size: 0.92rem; }

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
}
.footer__legal a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.18s var(--ease);
}
.footer__legal a:hover { color: var(--green); }
.footer__insta { display: inline-flex; align-items: center; gap: 0.4rem; }

.footer__copy {
  width: 100%;
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- Rechtsseiten (Impressum / Datenschutz) ---------- */

.legal { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.legal__inner { max-width: 760px; }
.legal__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 1.5rem;
}
.legal__body { color: var(--ink); }
.legal__body h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  margin: 2.2rem 0 0.6rem;
}
.legal__body h3 { font-size: 1.2rem; margin: 1.6rem 0 0.5rem; }
.legal__body p { margin: 0 0 1rem; }
.legal__body ul { padding-left: 1.25rem; margin: 0 0 1rem; }
.legal__body li { margin-bottom: 0.35rem; }
.legal__body a { color: var(--green-dark); overflow-wrap: anywhere; }
.legal__body a:hover { color: var(--green); }

/* Platzhalter-Markierung (Seeder markiert offene Rechtstexte) */
.platzhalter {
  background: color-mix(in srgb, var(--blossom) 15%, transparent);
  color: color-mix(in srgb, var(--blossom) 82%, var(--ink));
  border-bottom: 1px dashed color-mix(in srgb, var(--blossom) 55%, transparent);
  padding: 0.05em 0.3em;
  border-radius: 4px;
  font-size: 0.95em;
}

/* ---------- Zustands-Seiten (404 & Kontakt-Status, standalone) ---------- */

.state {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(2.5rem, 8vw, 5rem) var(--pad-x);
  text-align: center;
  background: linear-gradient(162deg, var(--green-soft), var(--paper) 62%);
}
.state__inner { max-width: 34rem; }

.state__art { width: clamp(96px, 22vw, 140px); height: auto; margin: 0 auto clamp(1.25rem, 3vw, 1.9rem); }
.state__stem { fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; }
.state__leaf { fill: var(--green-soft); stroke: var(--green); stroke-width: 2; stroke-linejoin: round; }
.state__vein { fill: none; stroke: var(--green); stroke-width: 1.4; stroke-linecap: round; }
.state__bloom { fill: color-mix(in srgb, var(--blossom) 60%, var(--paper)); stroke: var(--blossom); stroke-width: 2; stroke-linejoin: round; }
.state__eye { fill: var(--blossom); }
.state__petal { fill: color-mix(in srgb, var(--blossom) 45%, var(--paper)); }
.state__disc { fill: var(--green-soft); }
.state__mark { fill: none; stroke: var(--green-dark); stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; }
.state__art--error .state__disc { fill: color-mix(in srgb, var(--blossom) 22%, var(--paper)); }
.state__art--error .state__mark { stroke: var(--blossom); }

.state__eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 0.9rem;
}
.state__title {
  font-size: clamp(1.9rem, 5vw, 2.9rem);
  margin: 0 0 1rem;
}
.state__text {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 auto 1.9rem;
  max-width: 30rem;
}
.state__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; }

/* ---------- Formular (Kontakt) ---------- */

.form { max-width: 640px; }
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form__field { display: block; margin-bottom: 1rem; }
.form__label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
  color: var(--ink);
}
.form input[type="text"],
.form input[type="email"],
.form textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.7em 0.85em;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.form textarea { resize: vertical; min-height: 8rem; }
.form input:focus, .form textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 22%, transparent);
}
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0.5rem 0 1.25rem;
  font-size: 0.95rem;
  color: var(--muted);
}
.form__check input { margin-top: 0.25rem; accent-color: var(--green); }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form__status { margin: 0; font-weight: 500; font-size: 0.95rem; }
.form__status.is-ok { color: var(--green-dark); }
.form__status.is-error { color: var(--blossom); }

/* ---------- Lightbox (Galerie; Trigger: <a class="lightbox" href>) ---------- */

body.lightbox-open { overflow: hidden; }

a.lightbox { cursor: zoom-in; display: block; }

.lb-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(28, 33, 22, 0.88);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.lb-overlay[hidden] { display: none; }
.lb-overlay__img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  background: var(--paper);
}
.lb-overlay__counter {
  position: absolute;
  top: clamp(1rem, 3vw, 1.75rem);
  left: 50%;
  transform: translateX(-50%);
  color: var(--paper);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}
.lb-overlay__btn {
  position: absolute;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.18s var(--ease);
}
.lb-overlay__btn:hover { background: rgba(255, 255, 255, 0.24); }
.lb-overlay__btn--close { top: clamp(1rem, 3vw, 1.75rem); right: clamp(1rem, 3vw, 1.75rem); }
.lb-overlay__btn--prev { left: clamp(0.75rem, 3vw, 1.75rem); top: 50%; transform: translateY(-50%); }
.lb-overlay__btn--next { right: clamp(0.75rem, 3vw, 1.75rem); top: 50%; transform: translateY(-50%); }
.lb-overlay__btn[hidden] { display: none; }

/* =====================================================================
   Home-Sektionen
   ===================================================================== */

/* ---------- Sektions-Kopf & geteilte Bausteine ---------- */

.section-head { max-width: 60ch; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.section-lead { color: var(--muted); font-size: 1.1rem; margin: 0.35rem 0 0; }
.section-cta { display: flex; justify-content: center; margin-top: clamp(1.75rem, 4vw, 2.5rem); }

/* Signatur: jeder Sektions-Eyebrow trägt ein kleines Blatt. */
.eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; }
.eyebrow::before {
  content: "";
  flex: none;
  width: 1.05em;
  height: 1.05em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3.5 16.5C3.5 9 9 3.5 16.5 3.5c0 7.5-5.5 13-13 13z' fill='none' stroke='%233A6B35' stroke-width='1.5'/%3E%3Cpath d='M6.5 13.5 13.5 6.5' stroke='%233A6B35' stroke-width='1.3'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Botanische Füllfläche (Bild-Fallback für Hero-Nachbarn, Karten, Über-uns). */
.botanical-fill {
  height: 100%;
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M12 52C12 30 30 12 52 12c0 22-18 40-40 40z' fill='%233A6B35' fill-opacity='0.14'/%3E%3Cpath d='M12 52C12 30 30 12 52 12c0 22-18 40-40 40z' fill='none' stroke='%233A6B35' stroke-opacity='0.55' stroke-width='1.6'/%3E%3Cpath d='M20 44 44 20' stroke='%233A6B35' stroke-opacity='0.5' stroke-width='1.3'/%3E%3Cpath d='M26 42 26 32M34 40 34 28M22 36 32 36M30 30 40 30' stroke='%233A6B35' stroke-opacity='0.4' stroke-width='1'/%3E%3C/svg%3E") center / clamp(72px, 22%, 120px) no-repeat,
    linear-gradient(155deg, var(--green-soft), color-mix(in srgb, var(--green-soft) 40%, var(--paper)));
}
.botanical-fill--tall { min-height: 300px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 84vh;
  min-height: calc(94svh - var(--nav-h));
  padding-block: clamp(3.5rem, 9vw, 6rem);
  background: linear-gradient(162deg, var(--green-soft), var(--paper) 62%);
}
.hero__photo { position: absolute; inset: 0; z-index: 0; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, color-mix(in srgb, var(--paper) 78%, transparent), color-mix(in srgb, var(--paper) 30%, transparent));
}
.hero__sprig {
  position: absolute;
  right: clamp(-56px, -1vw, 8px);
  bottom: -34px;
  width: clamp(160px, 30vw, 330px);
  height: auto;
  opacity: 0.55;
  transform: rotate(9deg);
  pointer-events: none;
  z-index: 0;
}
.hero__stem { stroke: var(--green); stroke-width: 2.4; stroke-linecap: round; fill: none; }
.hero__leaves path { fill: var(--green-soft); stroke: var(--green); stroke-width: 1.6; }
.hero__blossom circle { fill: var(--blossom); }
.hero__blossom .hero__blossom-eye { fill: var(--paper); }

.hero__inner { position: relative; z-index: 1; }
.hero__eyebrow { margin-bottom: 1.1rem; }
.hero__title {
  font-size: clamp(2.8rem, 8vw, 5rem);
  line-height: 1.02;
  margin: 0 0 1.1rem;
  max-width: 16ch;
}
.hero__subtitle {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  color: var(--muted);
  max-width: 46ch;
  margin: 0 0 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: clamp(1rem, 3vw, 1.75rem);
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  justify-content: center;
  width: 26px;
  height: 42px;
  padding-top: 7px;
  border: 2px solid color-mix(in srgb, var(--green) 55%, transparent);
  border-radius: var(--radius-pill);
}
.hero__scroll-dot {
  width: 5px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--green);
  animation: hero-scroll 1.7s var(--ease) infinite;
}
@keyframes hero-scroll {
  0% { opacity: 0; transform: translateY(-4px); }
  40% { opacity: 1; }
  80% { opacity: 0; transform: translateY(9px); }
  100% { opacity: 0; }
}

/* ---------- Über uns ---------- */

.about {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.75rem, 5vw, 4rem);
  align-items: center;
}
.about__para { color: var(--muted); }
.about__para:last-child { margin-bottom: 0; }
.about__para strong { color: var(--ink); }
.about__media { align-self: stretch; }
.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

/* ---------- Leistungen ---------- */

.services {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
.service { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.service__media { aspect-ratio: 16 / 10; overflow: hidden; }
.service__media img,
.service__media .botanical-fill {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border: 0;
  border-radius: 0;
}
.service__title { margin: 1.35rem 0 0.4rem; padding-inline: clamp(1.4rem, 3vw, 1.75rem); }
.service__text { color: var(--muted); margin: 0; padding: 0 clamp(1.4rem, 3vw, 1.75rem) clamp(1.5rem, 3vw, 1.85rem); }

/* ---------- Referenzen-Karten (Home + /referenzen) ---------- */

.ref-grid {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
.ref-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.ref-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: color-mix(in srgb, var(--green) 30%, var(--line));
}
.ref-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.ref-card__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--surface); }
.ref-card__media > .project__image,
.ref-card__media > .botanical-fill {
  position: absolute;
  inset: 0;
  min-height: 0;
  border: 0;
  border-radius: 0;
}
.ref-card__media img { width: 100%; height: 100%; object-fit: cover; }
.ref-card__type {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  padding: 0.3em 0.85em;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: var(--green-dark);
  font-weight: 600;
  font-size: 0.78rem;
}
.ref-card__body { display: flex; flex-direction: column; gap: 0.4rem; flex: 1; padding: clamp(1.1rem, 2.5vw, 1.5rem); }
.ref-card__name { margin: 0; }
.ref-card__desc { color: var(--muted); margin: 0; flex: 1; }
.ref-card__more { color: var(--green-dark); font-weight: 600; font-size: 0.92rem; margin-top: 0.5rem; }
.ref-card:hover .ref-card__more { color: var(--green); }

/* ---------- Sortiment ---------- */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.7rem;
  list-style: none;
  margin-top: clamp(1.25rem, 3vw, 1.75rem);
}
.chip {
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: var(--radius-pill);
  padding: 0.55em 1.15em;
  font-weight: 500;
  font-size: 0.95rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.chip:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--green) 40%, var(--line));
  background: var(--green-soft);
}

/* ---------- So läuft's (Ablauf als wachsender Stiel) ---------- */

.steps { list-style: none; margin-top: clamp(1.75rem, 4vw, 2.5rem); }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: clamp(1rem, 3vw, 1.75rem);
  padding-bottom: clamp(1.5rem, 3.5vw, 2.25rem);
}
.step:last-child { padding-bottom: 0; }
.step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 1.75rem;
  top: 3rem;
  bottom: 0;
  width: 2px;
  transform: translateX(-1px);
  background: color-mix(in srgb, var(--green) 45%, var(--green-soft));
}
.step__num {
  justify-self: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.9rem, 5vw, 2.75rem);
  line-height: 1;
  color: var(--blossom);
}
.step__title { margin: 0.05rem 0 0.35rem; }
.step__comment { color: var(--muted); margin: 0; }
.process__note { margin-top: clamp(1.75rem, 4vw, 2.5rem); color: var(--green-dark); font-weight: 500; }

/* ---------- Kontakt ---------- */

.contact {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.75rem, 5vw, 4rem);
  align-items: start;
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
}
.contact__lead { font-size: 1.1rem; max-width: 60ch; }
.contact__form { max-width: none; }
.contact__alt { font-weight: 600; color: var(--ink); margin: 0 0 1rem; }
.contact__list { list-style: none; display: grid; gap: 0.9rem; margin: 0 0 1.75rem; }
.contact__list li { display: flex; align-items: center; gap: 0.7rem; color: var(--ink); }
.contact__list a { color: var(--green-dark); text-decoration: none; }
.contact__list a:hover { color: var(--green); }
.contact__ico { flex: none; display: inline-flex; color: var(--green); }
.hours { width: 100%; border-collapse: collapse; }
.hours__caption { caption-side: top; text-align: left; font-weight: 600; color: var(--ink); margin-bottom: 0.5rem; }
.hours th { text-align: left; font-weight: 500; color: var(--ink); padding: 0.45rem 0; border-bottom: 1px solid var(--line); }
.hours td { text-align: right; color: var(--muted); padding: 0.45rem 0; border-bottom: 1px solid var(--line); }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.contact__insta { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.5rem; color: var(--green-dark); text-decoration: none; font-weight: 500; }
.contact__insta:hover { color: var(--green); }

/* ---------- Responsive (Home) ---------- */

@media (max-width: 820px) {
  .about { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero__scroll { display: none; }
  .hero__actions .btn { flex: 1 1 auto; }
}

/* =====================================================================
   Referenzen-Seiten (/referenzen, /referenzen/{slug})
   ===================================================================== */

/* Bild-Wrapper (geteilt: Karten-Partial + Detail-Titelbild) */
.project__image { overflow: hidden; }
.project__image img { width: 100%; }

/* ---------- Übersicht (/referenzen) ---------- */

.ref-index__head { max-width: 62ch; margin-bottom: clamp(2rem, 5vw, 3rem); }
.ref-index__title {
  font-size: clamp(2.6rem, 6vw, 4rem);
  margin: 0 0 1rem;
  position: relative;
}
.ref-index__title::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: 3px;
  margin-top: 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--green);
}
.ref-index__lead { color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.25rem); margin: 0; }

/* ---------- Geteilter Abschluss-CTA (Übersicht + Detail) ---------- */

.ref-cta {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: clamp(2rem, 5vw, 2.75rem);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}
.ref-cta__text {
  margin: 0;
  flex: 1 1 18rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  color: var(--ink);
}

/* ---------- Detail (/referenzen/{slug}) ---------- */

.ref-detail__inner { max-width: 860px; }

.ref-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: clamp(1.5rem, 4vw, 2.25rem);
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}
.ref-detail__back:hover { color: var(--green); }
.ref-detail__back span { transition: transform 0.18s var(--ease); }
.ref-detail__back:hover span { transform: translateX(-3px); }

.ref-detail__kicker {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35em 0.9em;
  border-radius: var(--radius-pill);
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 600;
  font-size: 0.82rem;
}
.ref-detail__title { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 0 0 1rem; }
.ref-detail__lead {
  max-width: 60ch;
  margin: 0 0 clamp(2rem, 5vw, 3rem);
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.ref-detail__cover {
  margin: 0 0 clamp(2rem, 5vw, 3rem);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.ref-detail__cover img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* Dreiklang: Wunsch → Umsetzung → Ergebnis (Ergebnis „blüht" in Blossom auf). */
.ref-story {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.5rem);
  margin: clamp(2rem, 5vw, 3rem) 0;
}
.ref-story__step {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background: var(--surface);
  border-radius: var(--radius);
  border-top: 3px solid var(--green);
}
.ref-story__step--bloom { border-top-color: var(--blossom); }
.ref-story__label {
  margin: 0 0 0.5rem;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}
.ref-story__step--bloom .ref-story__label { color: var(--blossom); }
.ref-story__text { margin: 0; color: var(--muted); }

.ref-detail__body { margin: clamp(2rem, 5vw, 3rem) 0; }
.ref-detail__body p:last-child { margin-bottom: 0; }

/* Galerie (Trigger: <a class="lightbox" href>) */
.ref-gallery { margin: clamp(2rem, 5vw, 3rem) 0; }
.ref-gallery__title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  position: relative;
}
.ref-gallery__title::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 3px;
  margin-top: 0.7rem;
  border-radius: var(--radius-pill);
  background: var(--green);
}
.ref-gallery__grid {
  display: grid;
  gap: clamp(0.6rem, 1.5vw, 0.9rem);
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  list-style: none;
}
.ref-gallery__grid .lightbox {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface);
}
.ref-gallery__grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.3s var(--ease);
}
.ref-gallery__grid .lightbox:hover img,
.ref-gallery__grid .lightbox:focus-visible img { transform: scale(1.05); }

/* Schlagworte */
.ref-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: clamp(1.5rem, 4vw, 2.25rem) 0;
  list-style: none;
}
.ref-tags li {
  padding: 0.3em 0.9em;
  border-radius: var(--radius-pill);
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 0.85rem;
  font-weight: 500;
}

@media (max-width: 720px) {
  .ref-story { grid-template-columns: 1fr; }
}

/* ---------- Reduced Motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; }
  .nav__brand { font-size: 1.15rem; }
}
