/* =========================================================
   Garten- und Landschaftsbau Timo Grau
   Palette aus dem Logo: Blattgrün, Anthrazit, Naturweiß
   ========================================================= */
/* Schriften lokal eingebunden (DSGVO – keine Verbindung zu Google).
   Lizenz: SIL Open Font License, siehe assets/fonts/LICENSE-*.txt */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/bricolage-grotesque-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 800; font-display: swap; src: url("assets/fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/manrope-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/manrope-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/manrope-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/manrope-latin-700-normal.woff2") format("woff2"); }

:root {
  --forest: #14231a;      /* tiefes Waldgrün – dunkle Flächen */
  --forest-2: #1c3024;
  --moss: #2f4a36;
  --leaf: #7bb03f;         /* Blattgrün aus dem Logo */
  --leaf-hi: #9cce57;
  --stone: #2a2d2b;        /* Anthrazit wie die Mauersteine */
  --grau: #8b918a;
  --sand: #f2efe7;         /* warmes Naturweiß */
  --paper: #faf8f3;
  --line: #e3dfd3;
  --ink: #161a17;
  --muted: #5d645e;

  --radius: 18px;
  --radius-sm: 10px;
  --maxw: 1240px;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.02; margin: 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 700; }
p { margin: 0; }

.container { width: min(var(--maxw), 100% - 40px); margin-inline: auto; }

.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--moss); margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--leaf); }
.eyebrow--light { color: var(--leaf-hi); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font: 700 .98rem/1 var(--body); text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn span { transition: transform .25s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn--leaf { background: var(--leaf); color: var(--forest); }
.btn--leaf:hover { background: var(--leaf-hi); }
.btn--ghost { border-color: rgba(255,255,255,.28); color: #fff; }
.btn--ghost:hover { border-color: #fff; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .35s, box-shadow .35s, backdrop-filter .35s;
}
.header.is-scrolled {
  background: rgba(20, 35, 26, .86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.header__inner {
  width: min(var(--maxw), 100% - 40px); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 84px; transition: height .35s;
}
.header.is-scrolled .header__inner { height: 70px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand img { width: 56px; height: 56px; transition: width .35s, height .35s; }
.header.is-scrolled .brand img { width: 46px; height: 46px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-family: var(--display); font-size: 1.12rem; letter-spacing: -.01em; }
.brand__text small { font-size: .74rem; opacity: .7; letter-spacing: .02em; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  color: rgba(255,255,255,.82); text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: 10px 16px; border-radius: 999px; transition: color .2s, background .2s;
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav a.nav__cta { background: var(--leaf); color: var(--forest); margin-left: 8px; }
.nav a.nav__cta:hover { background: var(--leaf-hi); }

/* ---------- Dropdown „Leistungen“ ---------- */
.nav__item { position: relative; display: flex; align-items: center; }
.nav__item .nav__link { padding-right: 6px; }
.nav__toggle {
  display: grid; place-items: center; width: 28px; height: 28px; margin-left: -2px; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: rgba(255,255,255,.8); cursor: pointer;
  transition: background .2s, color .2s;
}
.nav__toggle:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav__toggle svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.nav__item:hover .nav__toggle svg, .nav__item.is-open .nav__toggle svg { transform: rotate(180deg); }

.nav__dropdown {
  position: absolute; top: 100%; left: 50%; z-index: 5;
  padding-top: 14px;                      /* unsichtbare Brücke, damit Hover nicht abreißt */
  width: 540px;
  opacity: 0; visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
}
.nav__item:hover .nav__dropdown,
.nav__item:focus-within .nav__dropdown,
.nav__item.is-open .nav__dropdown {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s;
}
.nav__item.is-suppressed .nav__dropdown { opacity: 0; visibility: hidden; transform: translate(-50%, 8px); }
.nav__dropdown-inner {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  padding: 18px; box-shadow: 0 30px 60px -20px rgba(10,20,14,.45);
}
.nav__dropdown-title {
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--grau); margin: 2px 8px 10px;
}
.nav__dropdown-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.nav .nav__dd-link {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 10px; border-radius: 12px;
  color: var(--ink); font-size: .93rem; font-weight: 600;
}
.nav .nav__dd-link:hover, .nav .nav__dd-link:focus-visible { background: var(--sand); color: var(--forest); outline: none; }
.nav__dd-icon {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--sand); color: var(--moss); transition: background .2s, color .2s;
}
.nav__dd-icon svg { width: 18px; height: 18px; }
.nav__dd-link:hover .nav__dd-icon, .nav__dd-link:focus-visible .nav__dd-icon { background: var(--forest); color: var(--leaf-hi); }

/* Kachel kurz hervorheben, wenn sie über das Menü angesprungen wird */
.bento__item.is-flash { animation: flash 1.8s var(--ease); }
@keyframes flash {
  0%, 60% { box-shadow: 0 0 0 3px var(--leaf), 0 24px 40px -28px rgba(20,35,26,.35); }
  100% { box-shadow: 0 0 0 0 rgba(123,176,63,0); }
}

.burger { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--forest);
  color: #fff;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  padding: 140px max(20px, calc((100vw - var(--maxw)) / 2)) 80px;
  overflow: hidden;
  isolation: isolate;
}
/* dezente Höhenlinien – wie auf einem Geländeplan */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background:
    repeating-radial-gradient(circle at 12% 110%, transparent 0 38px, rgba(123,176,63,.07) 38px 39px),
    radial-gradient(80% 60% at 0% 100%, rgba(47,74,54,.9), transparent 70%);
}
.hero__copy { align-self: center; max-width: 620px; }
.hero__title {
  font-size: clamp(3.2rem, 8.4vw, 7.4rem);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -0.045em;
  margin-bottom: 28px;
}
.hero__grau {
  color: var(--grau);
  position: relative;
  white-space: nowrap;
}
.hero__grau::after {
  content: ""; position: absolute; left: 0; right: .25em; bottom: .04em; height: .09em;
  background: var(--leaf); border-radius: 4px;
  transform-origin: left; animation: underline 1s .5s var(--ease) both;
}
@keyframes underline { from { transform: scaleX(0); } }
.hero__lead { font-size: 1.12rem; color: rgba(255,255,255,.74); max-width: 500px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 56px; }

.hero__facts {
  list-style: none; margin: 0; padding: 26px 0 0; display: flex; gap: 44px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero__facts li { display: flex; flex-direction: column; }
.hero__facts strong { font-family: var(--display); font-size: 2rem; line-height: 1; color: var(--leaf-hi); }
.hero__facts span { font-size: .86rem; color: rgba(255,255,255,.6); margin-top: 6px; }

.hero__media { position: relative; min-height: 560px; }
.hero__img { position: absolute; margin: 0; overflow: hidden; border-radius: var(--radius); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__img--main { inset: 0 0 0 14%; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.hero__img--small {
  width: 42%; aspect-ratio: 3/4; left: 0; bottom: -6%;
  border: 6px solid var(--forest);
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty { 50% { transform: translateY(-12px); } }
.hero__badge {
  position: absolute; top: 28px; right: -18px;
  width: 112px; height: 112px; border-radius: 50%;
  background: #fff; display: grid; place-items: center;
  box-shadow: 0 16px 40px -10px rgba(0,0,0,.5);
  animation: spin 40s linear infinite;
}
.hero__badge img { width: 92px; height: 92px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Sections ---------- */
.section { padding: 130px 0; }
.section--tight { padding: 110px 0; }
.section__head { max-width: 760px; margin-bottom: 56px; }
.section__intro { margin-top: 20px; color: var(--muted); font-size: 1.08rem; }

/* =========================================================
   BENTO GRID – adaptiert von 21st.dev (kokonutd/bento-grid)
   ========================================================= */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.bento__item {
  position: relative; isolation: isolate;
  padding: 26px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
  overflow: hidden; min-height: 250px;
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  will-change: transform;
}
.bento__item--wide { grid-column: span 2; }
.bento__item:hover, .bento__item.is-pinned {
  transform: translateY(-3px);
  box-shadow: 0 2px 14px rgba(20,35,26,.06), 0 24px 40px -28px rgba(20,35,26,.35);
  border-color: #d6d1c2;
}
/* Punktraster, wie im Original beim Hover */
.bento__dots {
  position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background-image: radial-gradient(circle at center, rgba(20,35,26,.09) 1px, transparent 1px);
  background-size: 6px 6px;
}
.bento__item:hover .bento__dots, .bento__item.is-pinned .bento__dots { opacity: 1; }

.bento__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: auto; }
.bento__icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--sand); color: var(--moss);
  transition: background .3s, color .3s;
}
.bento__icon svg { width: 22px; height: 22px; }
.bento__item:hover .bento__icon, .bento__item.is-pinned .bento__icon { background: var(--forest); color: var(--leaf-hi); }
.bento__status {
  font-size: .74rem; font-weight: 700; padding: 6px 11px; border-radius: 999px;
  background: rgba(20,35,26,.05); color: var(--muted); letter-spacing: .02em;
  transition: background .3s;
}
.bento__item:hover .bento__status { background: rgba(20,35,26,.09); }

.bento__body { margin-top: 34px; max-width: 440px; }
.bento__body h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 10px; }
.bento__meta { font-family: var(--body); font-size: .8rem; font-weight: 600; color: var(--grau); margin-left: 8px; letter-spacing: 0; }
.bento__body p { color: var(--muted); font-size: .98rem; line-height: 1.55; }

.bento__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 20px; }
.bento__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.bento__tags span {
  font-size: .76rem; font-weight: 600; color: var(--muted);
  padding: 5px 9px; border-radius: 8px; background: rgba(20,35,26,.045);
  transition: background .2s;
}
.bento__tags span:hover { background: rgba(20,35,26,.09); }
.bento__cta {
  font-size: .82rem; font-weight: 700; color: var(--moss); white-space: nowrap;
  opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s var(--ease);
}
.bento__item:hover .bento__cta, .bento__item.is-pinned .bento__cta { opacity: 1; transform: none; }

/* Breite Kacheln bekommen ein echtes Projektfoto */
.bento__item--photo { padding-right: calc(40% + 26px); }
.bento__photo {
  position: absolute; top: 10px; right: 10px; bottom: 10px; width: 40%;
  border-radius: calc(var(--radius) - 6px); overflow: hidden; z-index: -1;
}
.bento__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.bento__item:hover .bento__photo img { transform: scale(1.05); }

/* Schmale Kacheln: Foto oben über die ganze Breite */
.bento__item--photo-top { padding-top: 226px; }
.bento__item--photo-top .bento__photo { top: 10px; left: 10px; right: 10px; bottom: auto; width: auto; height: 200px; }
.bento__item--photo-top .bento__top { margin-bottom: 0; }
.bento__item--photo-top .bento__body { margin-top: 18px; }

/* =========================================================
   TUMBLE DECK – adaptiert von 21st.dev (tumble-deck-showcase)
   Karten stehen hintereinander, die vordere kippt nach vorn auf
   den Boden, der Stapel rückt nach – endlos.
   ========================================================= */
.projects { background: var(--forest); color: #fff; padding: 120px 0 70px; overflow: hidden; }
.projects__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 10px; }
.projects__intro { color: rgba(255,255,255,.65); max-width: 440px; justify-self: end; }

.tdeck {
  position: relative; width: 100%; height: min(100svh, 860px);
  overflow: hidden; outline: none; user-select: none; -webkit-user-select: none;
  touch-action: pan-y;               /* senkrecht wischen scrollt weiter die Seite */
  cursor: pointer;
}
.tdeck:focus-visible { box-shadow: inset 0 0 0 2px var(--leaf); }
.tdeck__scene { position: absolute; inset: 0; transform-style: preserve-3d; }
.tdeck__card {
  position: absolute; left: 50%; top: var(--td-top);
  width: var(--td-w); height: var(--td-h); margin-left: calc(var(--td-w) / -2);
  transform-origin: 50% 100%; transform-style: preserve-3d;
  backface-visibility: visible; will-change: transform;
  border-radius: 6px; overflow: hidden;
  background: var(--forest-2);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08);
}
.tdeck__card img {
  display: block; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 50% 55%; pointer-events: none;
}
.tdeck__card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: #000; opacity: var(--td-shade, 0);
}

.tdeck-bar { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: -10px; position: relative; z-index: 2; }
.tdeck-bar__btn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid rgba(255,255,255,.22); background: transparent; color: #fff;
  transition: background .2s, border-color .2s, color .2s;
}
.tdeck-bar__btn:hover { background: var(--leaf); border-color: var(--leaf); color: var(--forest); }
.tdeck-bar__btn svg { width: 20px; height: 20px; }
.tdeck-bar__info { display: grid; justify-items: center; min-width: 160px; line-height: 1.3; }
.tdeck-bar__count { font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: var(--leaf-hi); letter-spacing: .04em; }
.tdeck-bar__label { font-size: .86rem; color: rgba(255,255,255,.65); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Vorher / Nachher (Schieberegler) ---------- */
.compare-sec { background: var(--paper); padding: 130px 0; }
.compare-sec__grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; align-items: center; }
.compare-sec__lead { color: var(--muted); font-size: 1.08rem; margin: 22px 0 26px; max-width: 420px; }
.compare-sec__hint {
  display: inline-flex; align-items: center; gap: 10px; font-size: .86rem; font-weight: 600; color: var(--moss);
  padding: 9px 14px; border-radius: 999px; background: var(--sand);
}
.compare-sec__hint svg { width: 18px; height: 18px; }
.hint--touch { display: none; }
@media (hover: none) { .hint--mouse { display: none; } .hint--touch { display: inline; } }

.compare {
  --pos: 50%;
  position: relative; aspect-ratio: 5 / 4; border-radius: var(--radius); overflow: hidden;
  background: var(--sand); cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  box-shadow: 0 40px 70px -40px rgba(20,35,26,.55);
}
.compare__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__tag {
  position: absolute; top: 16px; z-index: 2; padding: 7px 13px; border-radius: 999px;
  font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); pointer-events: none;
  transition: opacity .25s;
}
.compare__tag--before { left: 16px; background: rgba(20,35,26,.72); color: #fff; }
.compare__tag--after { right: 16px; background: rgba(156,206,87,.92); color: var(--forest); }
.compare.is-left .compare__tag--before { opacity: 0; }
.compare.is-right .compare__tag--after { opacity: 0; }

.compare__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; z-index: 3; pointer-events: none;
}
.compare__handle::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; background: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 0 18px rgba(0,0,0,.25);
}
.compare__knob {
  position: absolute; top: 50%; left: 0; width: 54px; height: 54px; transform: translate(-50%, -50%);
  border-radius: 50%; background: #fff; color: var(--forest); display: grid; place-items: center;
  box-shadow: 0 10px 26px -6px rgba(0,0,0,.45);
  transition: transform .2s var(--ease), background .2s, color .2s;
}
.compare__knob svg { width: 24px; height: 24px; }
.compare:hover .compare__knob, .compare.is-dragging .compare__knob { transform: translate(-50%, -50%) scale(1.08); background: var(--leaf); }
.compare__range { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.compare:focus-within { outline: 3px solid var(--leaf); outline-offset: 4px; }

/* ---------- Über uns ---------- */
.about { background: var(--sand); padding: 130px 0; }
.about__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: center; }
.about__lead { font-size: 1.15rem; color: var(--ink); margin: 26px 0 16px; }
.about__copy > p:not(.eyebrow):not(.about__lead) { color: var(--muted); }

.timeline { list-style: none; margin: 44px 0 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.timeline li { position: relative; display: grid; grid-template-columns: 74px 1fr; gap: 14px; padding: 0 0 22px 32px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--sand); border: 2px solid var(--moss);
}
.timeline li.is-now::before { background: var(--leaf); border-color: var(--leaf); box-shadow: 0 0 0 5px rgba(123,176,63,.22); }
.timeline__year { font-family: var(--display); font-weight: 800; font-size: 1.15rem; color: var(--forest); line-height: 1.5; }
.timeline p { color: var(--muted); font-size: .98rem; }

.about__media { position: relative; padding: 0 0 40px 40px; }
.about__img { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; box-shadow: 0 40px 70px -40px rgba(20,35,26,.55); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__stat {
  position: absolute; left: 0; bottom: 0;
  background: var(--forest); color: #fff; border-radius: var(--radius);
  padding: 22px 26px; display: flex; align-items: center; gap: 14px;
  box-shadow: 0 24px 40px -20px rgba(20,35,26,.6);
}
.about__stat strong { font-family: var(--display); font-size: 2.8rem; line-height: 1; color: var(--leaf-hi); }
.about__stat span { font-size: .88rem; line-height: 1.3; color: rgba(255,255,255,.75); }
.about__card {
  position: absolute; right: -18px; top: 34px; max-width: 230px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 18px; display: grid; gap: 2px;
  box-shadow: 0 20px 40px -24px rgba(20,35,26,.45);
}
.about__card-label { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--leaf); }
.about__card strong { font-family: var(--display); font-size: 1.05rem; line-height: 1.2; }
.about__card span:last-child { font-size: .84rem; color: var(--muted); }

/* ---------- Ablauf ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.steps li { padding: 30px 28px 10px 0; position: relative; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.steps__no { font-family: var(--display); font-weight: 800; font-size: .9rem; color: var(--leaf); display: block; margin-bottom: 40px; }
.steps h3 { font-size: 1.3rem; margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: .96rem; }

/* ---------- Kontakt ---------- */
.contact { background: var(--stone); color: #fff; padding: 120px 0; position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; right: -200px; top: -200px; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(123,176,63,.16), transparent 65%);
}
.contact__grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.contact__info > p { color: rgba(255,255,255,.68); margin-top: 22px; max-width: 420px; }
.contact__list { margin: 44px 0 0; display: grid; gap: 0; }
.contact__list div { display: grid; grid-template-columns: 140px 1fr; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.1); }
.contact__list dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.5); padding-top: 3px; }
.contact__list dd { margin: 0; font-weight: 600; }
.contact__list a { text-decoration: none; }
.contact__list a:hover { color: var(--leaf-hi); }

.form {
  background: var(--paper); color: var(--ink);
  border-radius: 24px; padding: 38px;
  display: grid; gap: 18px;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.6);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field > span, .chips legend { font-size: .82rem; font-weight: 700; color: var(--muted); }
.field input, .field textarea {
  font: 500 1rem var(--body); color: var(--ink);
  padding: 14px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: #fff;
  transition: border-color .2s, box-shadow .2s;
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--moss); box-shadow: 0 0 0 4px rgba(123,176,63,.18);
}
.field.is-invalid input, .field.is-invalid textarea { border-color: #c0492f; }

.chips { border: 0; padding: 0; margin: 0; }
.chips legend { margin-bottom: 10px; padding: 0; }
.chips__list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: 8px 14px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--line); background: #fff; font-size: .88rem; font-weight: 600; color: var(--muted);
  transition: all .2s;
}
.chip span:hover { border-color: var(--moss); color: var(--ink); }
.chip input:checked + span { background: var(--forest); border-color: var(--forest); color: var(--leaf-hi); }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(123,176,63,.4); }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: .86rem; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--moss); flex-shrink: 0; }
.check.is-invalid span { color: #c0492f; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn:disabled { opacity: .7; cursor: progress; }
.form__status a { color: inherit; }
.form__status { font-size: .92rem; font-weight: 600; min-height: 1.4em; }
.form__status.is-ok { color: var(--moss); }
.form__status.is-err { color: #c0492f; }

/* ---------- Foto-Upload im Kontaktformular ---------- */
.photos__pick { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.photos__drop {
  display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--radius-sm);
  border: 1.5px dashed #cfc9b8; background: #fff; cursor: pointer; color: var(--muted); font-size: .94rem;
  transition: border-color .2s, background .2s;
}
.photos__drop:hover, .photos:has(#photoPick:focus-visible) .photos__drop { border-color: var(--moss); background: #fdfcf8; box-shadow: 0 0 0 3px rgba(123,176,63,.25); }
.photos__drop svg { width: 26px; height: 26px; flex-shrink: 0; color: var(--moss); }
.photos__drop strong { color: var(--ink); }
.photos__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.photos:not(.has-photos) .photos__list { display: none; }
.photos__item { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--sand); }
.photos__item img { width: 100%; height: 100%; object-fit: cover; }
.photos__remove {
  position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(20,35,26,.85); color: #fff; font-size: 18px; line-height: 1; display: grid; place-items: center;
}
.photos__remove:hover { background: #c0492f; }
.photos__note { font-size: .82rem; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--forest); color: rgba(255,255,255,.7); padding: 38px 0; font-size: .9rem; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.brand--footer img { width: 44px; height: 44px; }
.footer__claim { font-family: var(--display); font-weight: 700; color: #fff; font-size: 1.1rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: #fff; }

/* ---------- Rechtliche Unterseiten ---------- */
.header__back {
  color: rgba(255,255,255,.85); text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: 10px 16px; border-radius: 999px; transition: background .2s, color .2s;
  white-space: nowrap;
}
.brand__text strong { white-space: nowrap; }
@media (max-width: 420px) { .header__back { padding: 8px 4px; font-size: .88rem; } }
.header__back:hover { color: #fff; background: rgba(255,255,255,.08); }
.legal { padding: 150px 0 110px; }
.legal__inner { width: min(760px, 100% - 32px); margin-inline: auto; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; margin-bottom: 44px; }
.legal h2 { font-size: 1.3rem; margin: 40px 0 12px; }
.legal p { color: #333a35; margin-bottom: 12px; }
.legal a { color: var(--moss); }
.legal__notice { padding: 24px 26px; border-radius: var(--radius); background: var(--sand); border: 1px solid var(--line); }
.form__status a, .check a { color: inherit; }
.footer__links a[aria-current="page"] { color: #fff; }

/* ---------- Bewerbungsseite ---------- */
.apply-hero {
  background: var(--forest); color: #fff; padding: 160px 0 90px; position: relative; overflow: hidden; isolation: isolate;
}
.apply-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background: repeating-radial-gradient(circle at 92% 120%, transparent 0 38px, rgba(123,176,63,.07) 38px 39px);
}
.apply-hero__grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 60px; align-items: end; }
.apply-hero__title { font-size: clamp(2.6rem, 6.4vw, 5.4rem); font-weight: 800; line-height: .95; letter-spacing: -0.04em; margin-bottom: 26px; }
.apply-hero__title span { color: var(--leaf-hi); }
.apply-hero__lead { color: rgba(255,255,255,.74); font-size: 1.1rem; max-width: 620px; }
.apply-hero__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.apply-hero__facts li { display: grid; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); }
.apply-hero__facts strong { font-family: var(--display); font-size: 1.7rem; color: var(--leaf-hi); line-height: 1.1; }
.apply-hero__facts span { font-size: .9rem; color: rgba(255,255,255,.6); }

.apply { padding: 90px 0 120px; background: var(--sand); }
.apply__grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 60px; align-items: start; }
.apply__aside { position: sticky; top: 110px; }
.apply__aside h2 { font-size: 1.8rem; margin-bottom: 24px; }
.apply__steps { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 18px; }
.apply__steps li { display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: start; }
.apply__steps span { font-family: var(--display); font-weight: 800; color: var(--leaf); }
.apply__steps p { color: var(--muted); font-size: .98rem; }
.apply__contact { display: grid; gap: 4px; padding: 20px 22px; border-radius: var(--radius); background: var(--forest); color: #fff; }
.apply__contact p { font-size: .82rem; color: rgba(255,255,255,.6); margin-bottom: 4px; }
.apply__contact a { color: #fff; text-decoration: none; font-weight: 700; }
.apply__contact a:hover { color: var(--leaf-hi); }

.form--apply { gap: 26px; }
.form__group { border: 0; margin: 0; padding: 0 0 24px; border-bottom: 1px solid var(--line); display: grid; gap: 16px; min-width: 0; }
.form__group legend { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--ink); padding: 0; margin-bottom: 14px; }
.field select {
  font: 500 1rem var(--body); color: var(--ink); padding: 14px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: #fff; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d645e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field select:focus { outline: none; border-color: var(--moss); box-shadow: 0 0 0 4px rgba(123,176,63,.18); }
.field__error { display: none; color: #c0492f; font-size: .86rem; font-weight: 600; }
.form__group.is-invalid .field__error { display: block; }
.form__group.is-invalid .chip span { border-color: #e2b3a8; }

.file input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.file__box {
  display: flex; align-items: center; gap: 12px; padding: 18px; border-radius: var(--radius-sm);
  border: 1.5px dashed #cfc9b8; background: #fff; cursor: pointer; color: var(--muted); font-size: .94rem;
  transition: border-color .2s, background .2s;
}
.file__box svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--moss); }
.file__box:hover, .file input:focus-visible + .file__box { border-color: var(--moss); background: #fdfcf8; }
.file.has-file .file__box { border-style: solid; border-color: var(--moss); color: var(--ink); font-weight: 600; }
.file.is-invalid .file__box { border-color: #c0492f; color: #c0492f; }
.file__text { overflow-wrap: anywhere; }

.btn--line { border-color: var(--line); color: var(--ink); }
.btn--line:hover { border-color: var(--moss); }

/* Danke-Seite */
.thanks { min-height: 80vh; display: grid; place-items: center; padding: 140px 16px 80px; background: var(--sand); }
.thanks__card { max-width: 560px; text-align: center; display: grid; justify-items: center; gap: 14px; }
.thanks__icon { width: 72px; height: 72px; border-radius: 50%; background: var(--forest); color: var(--leaf-hi); display: grid; place-items: center; margin-bottom: 8px; }
.thanks__icon svg { width: 34px; height: 34px; }
.thanks h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; }
.thanks p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.thanks__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 14px; }

@media (max-width: 1040px) {
  .apply-hero__grid, .apply__grid { grid-template-columns: 1fr; gap: 40px; }
  .apply__aside { position: static; }
  .apply-hero__facts { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .apply-hero { padding: 120px 0 60px; }
  .apply-hero__facts { grid-template-columns: 1fr; gap: 12px; }
  .apply { padding: 60px 0 80px; }
}

/* ---------- Schnellaktionen unten (nur Handy) ---------- */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar {
    display: flex; gap: 10px; position: fixed; left: 12px; right: 12px; z-index: 40;
    bottom: calc(12px + env(safe-area-inset-bottom));
    padding: 8px; border-radius: 999px;
    background: rgba(20, 35, 26, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 16px 40px -12px rgba(0,0,0,.55);
    transform: translateY(140%); opacity: 0; pointer-events: none;
    transition: transform .35s var(--ease), opacity .25s;
  }
  .mbar.is-visible { transform: none; opacity: 1; pointer-events: auto; }
  .mbar__btn {
    flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; border-radius: 999px; text-decoration: none;
    font: 700 .95rem/1 var(--body); background: var(--leaf); color: var(--forest);
  }
  .mbar__btn--ghost { flex: 0 0 auto; padding: 0 18px; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.25); }
  .mbar__btn svg { width: 18px; height: 18px; }
}

/* ---------- Handy-Feinschliff ---------- */
@media (max-width: 760px) {
  /* Größere Tippflächen */
  .contact__list a, .footer__links a { display: inline-block; padding: 10px 0; }
  .contact__list div { padding: 10px 0; }
  .footer__links { gap: 0 22px; }
  .footer { padding-bottom: calc(38px + env(safe-area-inset-bottom)); }
  .check { padding: 6px 0; }
  .check input { width: 22px; height: 22px; margin-top: 0; }

  /* Buttons im Hero volle Breite */
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; min-height: 52px; }
  .hero__facts { gap: 14px; justify-content: space-between; }
  .hero__facts span { font-size: .8rem; }

  /* Mindestgröße für kleine Beschriftungen */
  .bento__status, .compare__tag, .about__card-label, .bento__meta { font-size: .78rem; }
  .eyebrow { font-size: .8rem; }

  /* Galerie-Pfeile & Regler gut greifbar */
  .tdeck-bar__btn { width: 52px; height: 52px; }
  .compare__knob { width: 50px; height: 50px; }

  /* Formular: etwas kompakter */
  .form { gap: 16px; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1040px) {
  .hero { grid-template-columns: 1fr; padding-top: 130px; min-height: auto; }
  .hero__media { min-height: 460px; margin-top: 20px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__item--wide { grid-column: span 2; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li:nth-child(3) { border-left: 0; padding-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .contact__grid { grid-template-columns: 1fr; gap: 50px; }
  .about__grid { grid-template-columns: 1fr; gap: 56px; }
  .compare-sec__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__media { max-width: 520px; }
}

/* Ab Tablet-Breite: Navigation hinter dem ☰-Knopf (sonst bricht das Menü um) */
@media (max-width: 1060px) {
  .burger {
    display: grid; place-items: center; align-content: center; gap: 6px; width: 46px; height: 46px; padding: 0 12px;
    border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: transparent; cursor: pointer;
    position: relative; z-index: 2;
  }
  .burger span { display: block; width: 20px; height: 2px; background: #fff; transition: transform .3s var(--ease); }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child  { transform: translateY(-4px) rotate(-45deg); }

  .nav {
    position: fixed; inset: 0; z-index: 1;
    background: var(--forest);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px;
    padding: 0 28px;
    opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .nav.is-open { opacity: 1; pointer-events: auto; }
  /* backdrop-filter würde das fixe Menü auf die Headerhöhe begrenzen */
  .header.menu-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; box-shadow: none; }
  .nav a { font-family: var(--display); font-size: 2.2rem; font-weight: 700; padding: 6px 0; color: #fff; }
  .nav a:hover { background: none; color: var(--leaf-hi); }
  .nav a.nav__cta { margin: 24px 0 0; font-family: var(--body); font-size: 1rem; padding: 14px 24px; }
  .nav { overflow-y: auto; padding-top: 100px; padding-bottom: 40px; justify-content: flex-start; }

  /* Dropdown wird im Handy-Menü zum Aufklapp-Bereich */
  .nav__item { flex-wrap: wrap; width: 100%; }
  .nav__item .nav__link { padding-right: 0; }
  .nav__toggle { width: 44px; height: 44px; margin-left: 8px; border: 1px solid rgba(255,255,255,.2); }
  .nav__toggle svg { width: 20px; height: 20px; }
  .nav__item:hover .nav__toggle svg { transform: none; }
  .nav__item.is-open .nav__toggle svg { transform: rotate(180deg); }
  .nav__dropdown,
  .nav__item:hover .nav__dropdown,
  .nav__item:focus-within .nav__dropdown,
  .nav__item.is-suppressed .nav__dropdown {
    position: static; width: 100%; padding: 0; transform: none;
    opacity: 1; visibility: visible; display: none; transition: none;
  }
  .nav__item.is-open .nav__dropdown { display: block; transform: none; }
  .nav__dropdown-inner { background: transparent; border: 0; box-shadow: none; padding: 6px 0 10px; }
  .nav__dropdown-title { display: none; }
  .nav__dropdown-grid { grid-template-columns: 1fr; }
  .nav .nav__dd-link { color: rgba(255,255,255,.8); font-family: var(--body); font-size: 1.02rem; padding: 7px 0; }
  .nav .nav__dd-link:hover, .nav .nav__dd-link:focus-visible { background: transparent; color: var(--leaf-hi); }
  .nav__dd-icon { width: 30px; height: 30px; background: rgba(255,255,255,.08); color: var(--leaf-hi); }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .header__inner { height: 72px; }
  .brand img { width: 46px; height: 46px; }
  .brand__text small { display: none; }


  .hero { padding: 112px 16px 60px; gap: 10px; }
  .hero__facts { gap: 24px; }
  .hero__facts strong { font-size: 1.6rem; }
  .hero__media { min-height: 380px; }
  .hero__badge { width: 84px; height: 84px; right: -6px; top: -10px; }
  .hero__badge img { width: 68px; height: 68px; }

  .container { width: calc(100% - 32px); }
  .section { padding: 90px 0; }
  .bento { grid-template-columns: 1fr; }
  .bento__item--wide { grid-column: auto; }
  .bento__item--photo { padding-right: 26px; padding-top: 230px; }
  .bento__photo { width: auto; left: 10px; bottom: auto; height: 200px; }
  .bento__cta { opacity: 1; transform: none; }

  .projects { padding-top: 90px; }
  .projects__head { grid-template-columns: 1fr; gap: 16px; }
  .projects__intro { justify-self: start; }
  .tdeck { height: 500px; }
  .tdeck-bar { margin-top: -30px; }
  .projects { padding-bottom: 50px; }

  .about { padding: 90px 0; }
  .compare-sec { padding: 90px 0; }
  .compare { aspect-ratio: 4 / 3.6; }
  .compare__knob { width: 46px; height: 46px; }
  .about__media { padding: 0 0 30px 16px; }
  .about__card { right: -6px; top: 16px; max-width: 190px; padding: 12px 14px; }
  .about__stat { padding: 16px 18px; }
  .about__stat strong { font-size: 2.2rem; }
  .timeline li { grid-template-columns: 1fr; gap: 0; }

  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 24px 0; border-left: 0; }
  .steps li + li { border-top: 1px solid var(--line); }
  .steps__no { margin-bottom: 14px; }

  .contact { padding: 90px 0; }
  .form { padding: 24px; border-radius: 18px; }
  .form__row { grid-template-columns: 1fr; }
  .contact__list div { grid-template-columns: 1fr; gap: 4px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
