/* ==========================================================================
   Projekt:   BAST Garten- und Landschaftsbau – Website
   Datei:     assets/css/style.css
   Autor:     Nick Helfenbein (CODEXBLAU GmbH)
   Funktion:  Seitenaufbau und Section-Design: Layout-Raster, Header &
              Navigation, Preloader & Seitenübergang, Hero, Seitenkopf,
              Leistungen, Statement, Referenzen-Raster, Ablauf, Fakten,
              Kontakt, Footer sowie die vier Scroll-Animationen
              (wachsende Blume, Projekt-Zeitraffer, Bildfolge, Gartenjahr)
              inklusive ihrer SVG-Szenen.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Raster & Sections
   -------------------------------------------------------------------------- */
.wrap { width: min(100% - 2 * var(--side), var(--max)); margin-inline: auto; }
.wrap--wide { width: min(100% - 2 * var(--side), var(--max-wide)); }
.wrap--narrow { width: min(100% - 2 * var(--side), var(--max-narrow)); }

.main { display: block; position: relative; }

.section { position: relative; background: var(--bg); color: var(--fg); }
.pad-none { padding-block: 0; }
.pad-s { padding-block: var(--section-s); }
.pad-m { padding-block: var(--section-m); }
.pad-l { padding-block: var(--section-l); }

.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap) var(--gap); }
.col { grid-column: span var(--span, 12); min-width: 0; }
.col > * + * { margin-top: clamp(24px, 3vw, 48px); }
.valign-center { align-items: center; }
.valign-end { align-items: end; }
.valign-start { align-items: start; }

@media (max-width: 860px) {
    .col { grid-column: 1 / -1; }
}

/* Section-Titel-Block (Eyebrow + H2 + Text) */
.sectionhead { display: flex; justify-content: space-between; align-items: flex-end; gap: clamp(24px, 6vw, 100px); margin-bottom: clamp(36px, 5vw, 72px); }
.sectionhead__title { display: grid; gap: 22px; justify-items: start; }
.sectionhead__text { max-width: 380px; color: var(--muted); font-size: 0.9rem; line-height: 1.95; margin-bottom: 6px; }
.sectionhead--center { flex-direction: column; align-items: center; text-align: center; }
.sectionhead--center .sectionhead__title { justify-items: center; }
.sectionhead--left { justify-content: flex-start; }
.sectionhead:last-child { margin-bottom: 0; }
.sectionhead--left + *, .textblock .h2 + .prose { margin-top: 0; }
.textblock { display: grid; gap: 22px; justify-items: start; }
.textblock .prose { margin-top: 4px; }

@media (max-width: 860px) {
    .sectionhead { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* --------------------------------------------------------------------------
   2. Preloader, Seitenübergang, Fortschritt, Hinweisleiste
   -------------------------------------------------------------------------- */
.preloader {
    position: fixed; inset: 0; z-index: var(--z-preloader);
    display: none; place-items: center;
    background: var(--green); color: var(--yellow);
}
.js .preloader.is-active { display: grid; }
.preloader__inner { display: grid; justify-items: center; gap: 28px; }
.preloader__mark { width: 74px; height: auto; transform-origin: 50% 100%; }
.preloader__bar { width: 150px; height: 4px; background: rgba(255, 255, 255, 0.22); border-radius: 4px 0 4px 0; overflow: hidden; }
.preloader__bar span { display: block; height: 100%; background: var(--yellow); transform: scaleX(0); transform-origin: left; }

.transition { position: fixed; inset: 0; z-index: var(--z-transition); pointer-events: none; visibility: hidden; }
.transition__panel {
    position: absolute; inset: 0; display: grid; place-items: center;
    background: var(--green);
    clip-path: inset(100% 0 0 0 round 0);
}
.transition__panel::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 120%, var(--green-deep), transparent 70%);
}
.transition__mark { position: relative; width: 84px; height: auto; opacity: 0; }

.progress { position: fixed; top: 0; left: 0; right: 0; z-index: calc(var(--z-header) + 2); height: 4px; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--yellow); transform: scaleX(0); transform-origin: left; }

.announce { position: relative; z-index: calc(var(--z-header) + 1); background: var(--green-900); color: var(--yellow); }
.announce a { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 10px var(--side); font-size: 0.78rem; font-weight: 700; text-align: center; }
.announce .icon { width: 16px; height: 16px; flex: none; }
.announce a:hover span { text-decoration: underline; text-underline-offset: 4px; }

/* --------------------------------------------------------------------------
   3. Header & Navigation
   -------------------------------------------------------------------------- */
.header {
    position: sticky; top: 0; z-index: var(--z-header);
    height: var(--header-h);
    background: var(--green); color: var(--white);
    transition: transform 0.55s var(--ease), box-shadow 0.4s, height 0.4s var(--ease);
}
.header.is-hidden { transform: translateY(-100%); }
.header.is-scrolled { box-shadow: 0 10px 30px rgba(12, 58, 25, 0.28); }
.header__inner { display: flex; align-items: center; gap: clamp(18px, 3vw, 44px); height: 100%; width: min(100% - 2 * var(--side), var(--max-wide)); margin-inline: auto; }
.header__logo { flex: none; display: block; width: clamp(120px, 11vw, 170px); transition: transform 0.4s var(--ease); }
.header__logo:hover { transform: scale(1.04) rotate(-1deg); }
.header__logo img { width: 100%; height: auto; }

.nav { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 40px); margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: clamp(4px, 1.2vw, 20px); }
.nav__item { position: relative; }
.nav__link { position: relative; display: inline-block; padding: 12px clamp(8px, 1vw, 14px); font-size: 0.8rem; font-weight: 700; white-space: nowrap; transition: color 0.2s; }
.nav__link::after {
    content: ""; position: absolute; left: clamp(8px, 1vw, 14px); right: clamp(8px, 1vw, 14px); bottom: 6px; height: 2px;
    background: var(--yellow); transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--yellow); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__sub {
    position: absolute; top: 100%; left: 50%; min-width: 250px; padding: 12px;
    background: var(--white); color: var(--ink); box-shadow: var(--shadow-m); border-radius: var(--shape-m);
    opacity: 0; visibility: hidden; transform: translate(-50%, 12px); transition: opacity 0.25s, transform 0.35s var(--ease), visibility 0.25s;
}
.nav__item.has-sub:hover .nav__sub, .nav__item.has-sub:focus-within .nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__sub a { display: block; padding: 10px 14px; font-size: 0.8rem; font-weight: 700; border-radius: var(--shape-xs); transition: background 0.2s, padding 0.3s var(--ease); }
.nav__sub a:hover { background: var(--yellow); padding-left: 20px; }
.nav__phone { display: inline-flex; align-items: center; gap: 10px; font-size: 0.8rem; font-weight: 700; white-space: nowrap; }
.nav__phone .icon { width: 18px; height: 18px; color: var(--yellow); }
.nav__phone:hover { color: var(--yellow); }
.header__cta { flex: none; min-height: 48px; padding: 8px 8px 8px 22px; }

.burger { display: none; position: relative; flex: none; width: 46px; height: 46px; margin-left: auto; border: 1.5px solid rgba(255, 255, 255, 0.55); border-radius: 14px 0 14px 0; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; transition: transform 0.4s var(--ease), top 0.4s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1180px) {
    .nav__phone span { display: none; }
}

@media (max-width: 1020px) {
    .burger { display: block; }
    .header .header__cta { display: none; }
    .nav {
        position: fixed; inset: var(--header-h) 0 0 0; z-index: var(--z-menu);
        flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 28px;
        padding: 32px var(--side) 48px; margin: 0; overflow-y: auto;
        background: var(--green-deep);
        clip-path: inset(0 0 100% 0); visibility: hidden;
        transition: clip-path 0.7s var(--ease), visibility 0.7s;
    }
    .nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
    .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav__link { display: block; padding: 16px 0; font-size: clamp(1.5rem, 6vw, 2.2rem); letter-spacing: -0.04em; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
    .nav__link::after { display: none; }
    .nav__sub { position: static; min-width: 0; padding: 4px 0 12px 12px; background: none; color: var(--white); box-shadow: none; opacity: 1; visibility: visible; transform: none; border-radius: 0; }
    .nav__sub a { padding: 8px 0; font-size: 0.95rem; opacity: 0.82; }
    .nav__sub a:hover { background: none; padding-left: 8px; color: var(--yellow); }
    .nav__phone { font-size: 1.1rem; }
    .nav__phone span { display: inline; }
}

/* --------------------------------------------------------------------------
   4. Hero (Startseite)
   -------------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--green); color: var(--white); }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__leaf { position: absolute; width: clamp(40px, 5vw, 86px); height: auto; color: var(--yellow); opacity: 0.16; }
.hero__leaf--1 { left: 4%; top: 12%; transform: rotate(-24deg); }
.hero__leaf--2 { left: 44%; top: 6%; width: clamp(30px, 3vw, 50px); transform: rotate(32deg); opacity: 0.28; }
.hero__leaf--3 { left: 30%; bottom: 14%; transform: rotate(150deg); width: clamp(60px, 7vw, 120px); opacity: 0.1; }
.hero__leaf--4 { right: 52%; top: 46%; width: clamp(24px, 2.4vw, 40px); opacity: 0.3; transform: rotate(80deg); }
.hero__leaf--5 { left: 2%; bottom: 22%; width: clamp(30px, 3vw, 48px); transform: rotate(-110deg); opacity: 0.22; }
.hero__leaf--6 { left: 56%; bottom: 8%; width: clamp(24px, 2vw, 34px); opacity: 0.34; }
.hero__leaf--7 { left: 18%; top: 62%; width: clamp(22px, 2vw, 30px); opacity: 0.2; transform: rotate(60deg); }

.hero__grid { position: relative; display: grid; grid-template-columns: 52% 48%; min-height: clamp(600px, calc(100svh - var(--header-h) - 58px), 860px); }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: clamp(22px, 3vh, 36px); padding: clamp(48px, 8vh, 96px) clamp(24px, 3vw, 56px) clamp(48px, 8vh, 96px) 0; position: relative; z-index: 2; }
.hero__title { font-size: clamp(3.2rem, 0.8rem + 6.6vw, 7.4rem); line-height: 1.04; letter-spacing: -0.07em; }
.hero__title em { color: var(--yellow); }
.hero__text { max-width: 36ch; font-size: var(--fs-lead); color: var(--muted); line-height: 1.85; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 34px; }
.hero__visual { position: relative; align-self: stretch; padding-top: clamp(16px, 3vh, 36px); min-width: 0; }
.hero__photo { position: relative; height: 100%; overflow: hidden; border-radius: var(--shape-hero); background: var(--green-deep); }
.hero__photo img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9, 45, 19, 0.3), transparent 60%); pointer-events: none; }
.hero__tag {
    position: absolute; left: clamp(-60px, -3.4vw, -20px); bottom: clamp(30px, 6vh, 64px);
    display: flex; align-items: center; gap: 16px; padding: 22px 34px 22px 26px;
    background: var(--yellow); color: var(--ink); font-size: 0.8rem; line-height: 1.6;
    border-radius: 34px 0 34px 0; box-shadow: 0 18px 44px rgba(11, 56, 22, 0.34);
}
.hero__tag .icon { width: 38px; height: 38px; color: var(--green); }
.hero__tag strong { font-size: 1.25rem; letter-spacing: -0.03em; }
.hero__caption { position: absolute; right: -34px; top: 50%; transform: rotate(90deg) translateX(50%); transform-origin: right center; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.24em; white-space: nowrap; color: #fff; opacity: 0.85; }
.hero__strip { position: relative; z-index: 2; background: var(--yellow); color: var(--ink); }
.hero__strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 58px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.02em; }
.hero__strip a { display: inline-flex; align-items: center; gap: 12px; }
.hero__strip .icon { width: 18px; height: 18px; animation: nudge 1.8s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(4px); } }

@media (max-width: 900px) {
    .hero__grid { grid-template-columns: 1fr; min-height: 0; }
    .hero__copy { padding: 56px 0 40px; }
    .hero__visual { height: 460px; padding-top: 0; }
    .hero__photo { border-radius: var(--shape-xl); }
    .hero__tag { left: 14px; bottom: 18px; padding: 14px 20px 14px 16px; }
    .hero__caption { display: none; }
}

/* --------------------------------------------------------------------------
   5. Seitenkopf (Unterseiten)
   -------------------------------------------------------------------------- */
.pagehead { position: relative; overflow: hidden; background: var(--green); color: var(--white); padding-top: clamp(40px, 6vw, 88px); }
.pagehead__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(30px, 5vw, 90px); align-items: end; }
.pagehead__grid:not(:has(.pagehead__visual)) { grid-template-columns: minmax(0, 1fr); }
.pagehead__copy { display: grid; justify-items: start; gap: 24px; padding-bottom: clamp(44px, 6vw, 92px); }
.pagehead__title { font-size: clamp(2.4rem, 1rem + 4.3vw, 5rem); letter-spacing: -0.06em; line-height: 1.06; }
.pagehead__title em { color: var(--yellow); }
.pagehead__intro { max-width: 52ch; font-size: var(--fs-lead); color: var(--muted); line-height: 1.8; }
.pagehead__visual { align-self: stretch; min-height: 320px; max-height: 520px; overflow: hidden; border-radius: var(--shape-hero); background: var(--green-deep); }
.pagehead__visual img { width: 100%; height: 118%; object-fit: cover; }
.pagehead__leaf { position: absolute; right: 38%; bottom: -60px; width: clamp(160px, 22vw, 360px); color: var(--yellow); opacity: 0.07; transform: rotate(-24deg); pointer-events: none; }
.pagehead .crumbs { color: var(--muted); }
.pagehead .crumbs a:hover { color: var(--yellow); }

@media (max-width: 900px) {
    .pagehead__grid { grid-template-columns: 1fr; }
    .pagehead__visual { min-height: 240px; max-height: 340px; border-radius: var(--shape-xl); }
    .pagehead__copy { padding-bottom: 36px; }
}

.projectmeta { padding-block: 26px; }
.projectmeta__list { display: flex; flex-wrap: wrap; gap: 14px clamp(28px, 6vw, 96px); }
.projectmeta dt { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.6; }
.projectmeta dd { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.03em; }

/* --------------------------------------------------------------------------
   6. Leistungs-Liste
   -------------------------------------------------------------------------- */
.services { position: relative; border-top: 1.5px solid var(--line); }
.service {
    position: relative; display: grid; grid-template-columns: 76px minmax(0, 1.6fr) minmax(0, 1.2fr) 40px; align-items: center; gap: 20px;
    min-height: clamp(84px, 9vw, 112px); border-bottom: 1.5px solid var(--line);
    transition: padding 0.45s var(--ease), background 0.35s;
}
.service:hover { padding-inline: 22px; background: var(--card); }
.service__index { font-size: 0.8rem; font-weight: 700; color: var(--accent); }
.service__name { font-size: clamp(1.3rem, 0.8rem + 1.9vw, 2.3rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1.1; }
.service__desc { font-size: 0.8rem; color: var(--muted); }
.service__arrow { display: grid; place-items: center; width: 38px; height: 38px; background: var(--accent); color: var(--on-accent); border-radius: var(--shape-s); transition: transform 0.45s var(--ease); }
.service__arrow .icon { width: 18px; height: 18px; }
.service:hover .service__arrow { transform: rotate(45deg) scale(1.1); }
.services__preview {
    position: fixed; top: 0; left: 0; z-index: 30; width: 280px; height: 200px; overflow: hidden; pointer-events: none;
    border-radius: var(--shape-l); box-shadow: var(--shadow-m); opacity: 0; transform: scale(0.7);
}
.services__preview img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 760px) {
    .service { grid-template-columns: 36px minmax(0, 1fr) 36px; gap: 12px; }
    .service__desc { display: none; }
    .services__preview { display: none; }
}

/* --------------------------------------------------------------------------
   7. Statement (Bild + Text)
   -------------------------------------------------------------------------- */
.statement { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 8vw, 130px); align-items: center; }
.statement--reverse .statement__media { order: 2; }
.statement__media { position: relative; height: clamp(380px, 46vw, 660px); border-radius: var(--shape-xl); overflow: visible; }
.statement__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--shape-xl); }
.statement__label { position: absolute; right: -22px; bottom: 0; padding: 17px 28px; background: var(--yellow); color: var(--ink); font-size: 0.75rem; font-weight: 700; border-radius: 22px 0 22px 0; box-shadow: var(--shadow-s); }
.statement__copy { display: grid; justify-items: start; gap: 26px; }
.statement__stat { display: flex; align-items: flex-end; gap: 24px; width: 100%; padding-block: 22px; border-block: 1.5px solid var(--line); }
.statement__stat strong { font-size: clamp(3.6rem, 1.6rem + 5.4vw, 6.4rem); line-height: 0.95; letter-spacing: -0.08em; color: var(--accent); }
.statement__stat span { padding-bottom: 6px; font-size: 0.8rem; line-height: 1.6; }

@media (max-width: 860px) {
    .statement { grid-template-columns: 1fr; }
    .statement--reverse .statement__media { order: 0; }
    .statement__media { height: 400px; }
    .statement__label { right: 8px; }
}

/* --------------------------------------------------------------------------
   8. Referenzen-Raster
   -------------------------------------------------------------------------- */
.filters { display: flex; gap: 10px; padding-bottom: 28px; overflow-x: auto; scrollbar-width: thin; }
.filter { flex: none; padding: 12px 20px; font-size: 0.75rem; font-weight: 700; white-space: nowrap; border: 1.5px solid var(--line); border-radius: 18px 0 18px 0; transition: background 0.25s, color 0.25s, border-color 0.25s; }
.filter:hover, .filter.is-active { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

.project-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(240px, 22vw, 330px); grid-auto-flow: dense; gap: clamp(12px, 1.4vw, 20px); }
.project { position: relative; grid-column: span 6; overflow: hidden; border-radius: var(--shape-l); background: var(--green-deep); color: #fff; isolation: isolate; }
.project:nth-child(6n + 1) { grid-column: span 7; grid-row: span 2; border-radius: var(--shape-xl); }
.project:nth-child(6n + 2) { grid-column: span 5; }
.project:nth-child(6n + 3) { grid-column: span 5; }
.project:nth-child(6n + 4) { grid-column: span 5; grid-row: span 2; border-radius: var(--shape-xl); }
.project:nth-child(6n + 5) { grid-column: span 7; }
.project:nth-child(6n + 6) { grid-column: span 7; }
.project__media, .project__media img { display: block; width: 100%; height: 100%; }
.project__media img { object-fit: cover; transition: transform 0.9s var(--ease); }
.project:hover .project__media img { transform: scale(1.06); }
.project::after { content: ""; position: absolute; inset: 30% 0 0; z-index: 0; background: linear-gradient(transparent, rgba(12, 40, 20, 0.82)); pointer-events: none; }
.project__text { position: absolute; z-index: 1; left: clamp(20px, 2.4vw, 34px); right: 24px; bottom: clamp(20px, 2.4vw, 32px); display: grid; justify-items: start; gap: 8px; }
.project__title { font-size: clamp(1.25rem, 0.9rem + 1.3vw, 2.1rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1.15; }
.project__teaser { font-size: 0.78rem; color: #eaf3ea; max-width: 44ch; }
.project[hidden] { display: none !important; }
.projects__more { margin-top: 36px; }

@media (max-width: 860px) {
    .project-grid { grid-template-columns: 1fr; grid-auto-rows: 300px; }
    .project, .project:nth-child(n) { grid-column: 1 / -1; grid-row: auto; border-radius: var(--shape-l); }
    .project:nth-child(6n + 1) { grid-row: span 1; height: 380px; }
}

/* --------------------------------------------------------------------------
   9. Ablauf, Fakten, Kontakt
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: var(--gap); }
.step { position: relative; padding: 28px 12px 10px 0; }
.step::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) 0.2s; }
.step.is-in::before { transform: scaleX(1); }
.step__num { display: block; margin-bottom: clamp(30px, 4vw, 56px); font-size: 0.8rem; font-weight: 700; color: var(--accent); }
.step__title { font-size: var(--fs-h4); margin-bottom: 10px; }
.step__text { font-size: 0.85rem; color: var(--muted); max-width: 30ch; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: var(--gap); }
.fact { display: grid; gap: 10px; padding-top: 24px; border-top: 1.5px solid var(--line); }
.fact__value { font-size: clamp(3.2rem, 1.2rem + 5.6vw, 6.4rem); line-height: 1; letter-spacing: -0.08em; color: var(--accent); }
.fact__label { font-size: 0.85rem; font-weight: 700; max-width: 22ch; }

.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.contact__copy { display: grid; justify-items: start; gap: 26px; }
.contact__text { max-width: 44ch; color: inherit; }
.contact__phone { display: inline-flex; align-items: center; gap: 18px; padding-bottom: 8px; border-bottom: 3px solid currentColor; font-size: clamp(1.8rem, 1rem + 3.2vw, 3.6rem); font-weight: 700; letter-spacing: -0.06em; transition: gap 0.4s var(--ease); }
.contact__phone .icon { width: 0.7em; height: 0.7em; }
.contact__phone:hover { gap: 28px; }
.contact__list { display: grid; gap: 12px; font-size: 0.9rem; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact__list .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--accent); }
.contact__list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact__panel {
    --fg: var(--ink); --muted: #5a615a; --accent: var(--green); --line: #d6ddd6;
    padding: clamp(26px, 4vw, 58px); background: #fff; color: var(--ink);
    border-radius: var(--shape-xl); box-shadow: 0 24px 70px rgba(29, 29, 28, 0.16);
}

@media (max-width: 900px) {
    .contact { grid-template-columns: 1fr; }
    .field-row { grid-template-columns: 1fr; }
}

.thanks { display: grid; justify-items: start; gap: 28px; position: relative; }
.thanks__leaf { width: 90px; color: var(--green); }
.notfound { overflow: hidden; }
.notfound__inner { position: relative; display: grid; justify-items: start; gap: 24px; }
.notfound__code { font-size: clamp(7rem, 3rem + 20vw, 22rem); font-weight: 700; line-height: 0.85; letter-spacing: -0.09em; color: var(--yellow); }
.notfound__leaf { position: absolute; right: 0; top: 10%; width: clamp(120px, 24vw, 340px); color: var(--yellow); opacity: 0.16; }

/* --------------------------------------------------------------------------
   10. Footer
   -------------------------------------------------------------------------- */
.footer { position: relative; overflow: hidden; background: var(--green); color: #fff; padding-top: clamp(60px, 8vw, 120px); }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 64px); padding-bottom: clamp(48px, 6vw, 96px); }
.footer__brand { display: grid; justify-items: start; gap: 26px; align-content: start; }
.footer__brand img { width: clamp(160px, 16vw, 230px); height: auto; }
.footer__tagline { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.04em; max-width: 20ch; color: var(--muted); line-height: 1.35; }
.footer__title { margin-bottom: 18px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--yellow); }
.footer address { font-size: 0.85rem; line-height: 1.9; margin-bottom: 14px; }
.footer__list { display: grid; gap: 6px; font-size: 0.85rem; }
.footer__list a { transition: color 0.2s, padding 0.3s var(--ease); }
.footer__list a:hover { color: var(--yellow); padding-left: 6px; }
.footer__list small { opacity: 0.7; }
.footer__hours { margin-top: 18px; font-size: var(--fs-xs); line-height: 1.8; color: var(--muted); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 30px; padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, 0.28); font-size: var(--fs-xs); color: var(--muted); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-right: auto; }
.footer__legal a:hover, .footer__credit:hover { color: var(--yellow); }
.footer__up { display: grid; place-items: center; width: 42px; height: 42px; background: var(--yellow); color: var(--ink); border-radius: var(--shape-s); transition: transform 0.4s var(--ease); }
.footer__up:hover { transform: translateY(-5px); }
.footer__up .icon { width: 18px; height: 18px; }

@media (max-width: 960px) {
    .footer__top { grid-template-columns: 1fr 1fr; }
    .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
    .footer__top { grid-template-columns: 1fr; }
}

/* SplitText-Zeilenmasken (Text-Reveal) */
.sl-outer { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.sl-inner { display: block; will-change: transform; }

/* ==========================================================================
   11. SCROLL-ANIMATIONEN – gemeinsame Bausteine
   ========================================================================== */
.scene-card { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--card); border-radius: var(--shape-xl); }
.scene { width: 100%; height: 100%; }

.chapters { display: grid; }
.chapter { grid-area: 1 / 1; opacity: 0; transform: translateY(26px); pointer-events: none; transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); }
.chapter.is-active { opacity: 1; transform: none; pointer-events: auto; }
.chapter__label { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); }
.chapter__num { padding: 4px 9px 5px; background: var(--accent); color: var(--on-accent); border-radius: var(--shape-xs); letter-spacing: 0; }
.chapter__title { margin-bottom: 14px; font-size: var(--fs-h3); letter-spacing: -0.05em; }
.chapter__text { max-width: 44ch; color: var(--muted); font-size: 0.95rem; line-height: 1.85; }

.dots { display: flex; gap: 10px; margin-top: 34px; }
.dot { width: 34px; height: 5px; background: var(--line); border-radius: 3px 0 3px 0; transition: background 0.4s, width 0.5s var(--ease); }
.dot.is-active { width: 64px; background: var(--accent); }

/* Reduzierte Bewegung / Notfall: alle Kapitel untereinander, nichts gepinnt */
.is-static .chapters { gap: 28px; }
.is-static .chapter { grid-area: auto; opacity: 1; transform: none; pointer-events: auto; }
.js-failed .chapter { grid-area: auto; opacity: 1; transform: none; }
.js-failed .chapters { gap: 28px; }

/* --------------------------------------------------------------------------
   12. Wachsende Blume
   -------------------------------------------------------------------------- */
.section--grow { overflow: hidden; }
.grow__pin { display: flex; align-items: center; min-height: 100svh; padding-block: 6svh 4svh; }
.grow__stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: clamp(28px, 6vw, 110px); align-items: center; }
.grow__copy { display: grid; justify-items: start; gap: 16px; }
.grow__copy .h2 { font-size: clamp(2rem, 1rem + 3vw, 3.9rem); }
.grow__intro { color: var(--muted); max-width: 46ch; }
.grow__copy .chapters { margin-top: 20px; width: 100%; }
.grow__visual { height: min(74svh, 720px); min-height: 420px; }
.grow__visual .scene-card { background: var(--card); }
.is-static .grow__pin, .js-failed .grow__pin { min-height: 0; padding-block: var(--section-m); }
.is-static .grow__visual, .js-failed .grow__visual { height: 560px; }

/* Szene: Blume */
.g-soil { fill: var(--green-900); }
.g-soil-top { fill: #2c8644; }
.g-pebbles circle { fill: rgba(255, 255, 255, 0.1); }
.g-roots path { fill: none; stroke: rgba(255, 255, 255, 0.72); stroke-width: 3.4; stroke-linecap: round; }
.g-grass path { fill: none; stroke: var(--green-300); stroke-width: 3.5; stroke-linecap: round; }
.g-seed { fill: var(--yellow); }
.g-stem { fill: none; stroke: var(--green-300); stroke-width: 12; stroke-linecap: round; }
.g-leaf { fill: var(--green-300); }
.g-vein { fill: none; stroke: var(--green-900); stroke-opacity: 0.35; stroke-width: 2.4; stroke-linecap: round; }
.g-petal { fill: var(--yellow); }
.g-petal--b { fill: #ffe05a; }
.g-petal--c { fill: #fff6a6; }
.g-core { fill: var(--green-900); }
.g-seeds circle { fill: var(--yellow); }
.g-sun { fill: var(--yellow); }
.g-rays line { stroke: var(--yellow); stroke-width: 4; stroke-linecap: round; }
.g-rays { animation: spin 40s linear infinite; transform-origin: 0 0; }
.g-rain path { fill: rgba(255, 255, 255, 0.85); }
.g-wing { fill: rgba(255, 255, 255, 0.85); }
.g-bee { fill: var(--yellow); stroke: var(--ink); stroke-width: 1.4; }
.g-bee-stripe { stroke: var(--ink); stroke-width: 3; }
.g-sparks path { fill: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
    .grow__pin { align-items: flex-start; padding-top: calc(var(--header-h) + 14px); }
    .grow__stage { grid-template-columns: 1fr; gap: 18px; }
    .grow__visual { order: -1; height: 38svh; min-height: 230px; }
    .grow__copy { gap: 12px; }
    .grow__copy .h2 { font-size: clamp(1.7rem, 7vw, 2.4rem); }
    .grow__intro { display: none; }
    .grow__copy .chapters { margin-top: 4px; }
    .chapter__title { font-size: 1.35rem; margin-bottom: 8px; }
    .chapter__text { font-size: 0.85rem; line-height: 1.7; }
    .dots { margin-top: 14px; }
    .is-static .grow__visual { order: 0; }
}

/* --------------------------------------------------------------------------
   13. Projekt-Zeitraffer
   -------------------------------------------------------------------------- */
.section--timelapse { overflow: hidden; }
.timelapse__pin { display: flex; align-items: center; min-height: 100svh; padding-block: 4svh 2svh; }
.timelapse__stage { display: grid; gap: clamp(14px, 2.4vh, 26px); }
.timelapse__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.timelapse__head .h2 { font-size: clamp(1.9rem, 1rem + 2.8vw, 3.6rem); margin-top: 12px; }
.timelapse__intro { max-width: 380px; font-size: 0.85rem; color: var(--muted); }
.scene-card--wide { height: clamp(240px, 42svh, 500px); }
.scene-card--wide .scene { display: block; }
.timelapse__foot { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 26px; align-items: end; }
.stages { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 16px; }
.stage { display: flex; gap: 12px; align-items: flex-start; padding-top: 14px; border-top: 3px solid var(--line); opacity: 0.45; transition: opacity 0.5s, border-color 0.5s; }
.stage.is-active { opacity: 1; border-color: var(--accent); }
.stage.is-done { opacity: 0.8; border-color: var(--accent); }
.stage__num { font-size: var(--fs-xs); font-weight: 700; color: var(--accent); padding-top: 3px; }
.stage__body { display: grid; gap: 6px; justify-items: start; }
.stage__title { font-size: 0.95rem; letter-spacing: -0.03em; line-height: 1.25; }
.stage__text { display: none; font-size: 0.78rem; line-height: 1.6; color: var(--muted); }
.stage.is-active .stage__text { display: block; }
.stage .tag { font-size: 0.62rem; padding: 4px 8px; }
.meter { position: relative; height: 54px; overflow: hidden; background: var(--line); border-radius: var(--shape-s); }
.meter__fill { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.meter__value { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 0.3em; white-space: nowrap; font-size: 1.05rem; font-weight: 700; letter-spacing: -0.03em; mix-blend-mode: difference; color: #fff; }

@media (max-width: 960px) {
    .timelapse__head { flex-direction: column; align-items: flex-start; gap: 8px; }
    .timelapse__intro { display: none; }
    .timelapse__foot { grid-template-columns: 1fr; }
    .stages { grid-auto-flow: row; grid-auto-columns: auto; gap: 0; }
    .stage { display: none; border: 0; padding: 0; }
    .stage.is-active { display: flex; }
    .meter { height: 40px; }
    .scene-card--wide { height: 36svh; min-height: 220px; }
}
.is-static .stages { grid-auto-flow: row; }
.is-static .stage { display: flex; opacity: 1; }
.is-static .stage__text { display: block; }
.is-static .timelapse__pin, .js-failed .timelapse__pin { min-height: 0; padding-block: var(--section-m); }

/* Szene: Zeitraffer */
.t-sky { fill: #f1f4f1; }
.t-glow { opacity: 0; }
.t-sun { fill: var(--yellow); }
.t-hills { fill: #dce5dd; }
.t-hills--2 { fill: #cdd9ce; }
.t-wall { fill: #fff; }
.t-roof { fill: #3a423a; }
.t-chimney { fill: #6a736a; }
.t-door { fill: var(--green); }
.t-knob { fill: var(--yellow); }
.t-window { fill: #cfd8cf; transition: fill 0.8s; }
.t-window.is-lit { fill: var(--yellow); }
.t-mullion { stroke: rgba(29, 29, 28, 0.35); stroke-width: 2; }
.t-ground { fill: #d3d0c8; }
.t-level { fill: #e3e1da; }
.t-rubble rect { fill: #b6b3ab; }
.t-stakes path:first-child { stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; }
.t-flag { fill: var(--yellow); stroke: var(--ink); stroke-width: 1.4; }
.t-lawn { fill: #4cae63; }
.t-lawn--2 { fill: #3f9d56; }
.t-mow path { fill: none; stroke: rgba(255, 255, 255, 0.4); stroke-width: 2.4; stroke-linecap: round; }
.t-path { fill: none; stroke: #bab6ac; stroke-width: 62; stroke-linecap: butt; stroke-linejoin: round; }
.t-joints { fill: none; stroke: #f0eee8; stroke-width: 62; stroke-dasharray: 2 26; stroke-linecap: butt; opacity: 0.9; }
.t-stone { stroke: rgba(29, 29, 28, 0.18); stroke-width: 1.2; }
.t-stone--0 { fill: #8c928b; }
.t-stone--1 { fill: #a1a69f; }
.t-stone--2 { fill: #b7bbb4; }
.t-hedge circle { fill: #1f7436; }
.t-trunk { fill: #55524b; }
.t-crown circle { fill: #2f8a47; }
.t-crown .t-crown--hi { fill: var(--green-300); }
.t-shrubs circle { fill: #277a3d; }
.t-fstem { stroke: #2f8a47; stroke-width: 2.4; stroke-linecap: round; fill: none; }
.t-fhead { fill: var(--yellow); }
.t-fcore { fill: var(--ink); }
.t-bench { fill: #4a4a46; }
.t-bench-leg { stroke: #4a4a46; stroke-width: 4; stroke-linecap: round; fill: none; }
.t-lamp-post { stroke: var(--ink); stroke-width: 4; stroke-linecap: round; fill: none; }
.t-lamp-head { fill: #fff; stroke: var(--ink); stroke-width: 3; }
.t-lamp-glow { opacity: 0; }
.t-track { fill: var(--ink); }
.t-wheel { fill: #6a6a65; }
.t-body, .t-cab, .t-arm { fill: var(--yellow); stroke: var(--ink); stroke-width: 2.4; stroke-linejoin: round; }
.t-glass { fill: #e0e9e3; stroke: var(--ink); stroke-width: 1.6; }
.t-bucket { fill: var(--ink); }
.t-birds path { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* --------------------------------------------------------------------------
   14. Bildfolge
   -------------------------------------------------------------------------- */
.section--sequence { overflow: hidden; }
.sequence__pin { display: flex; align-items: center; min-height: 100svh; padding-block: 6svh 4svh; }
.sequence__stage { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 6vw, 100px); align-items: center; }
.sequence__copy { display: grid; gap: 22px; justify-items: start; }
.sequence__copy p { color: var(--muted); max-width: 44ch; }
.sequence__captions { display: grid; gap: 4px; width: 100%; margin-top: 10px; }
.sequence__captions li { display: flex; gap: 16px; align-items: center; padding: 12px 0; border-top: 1.5px solid var(--line); font-weight: 700; letter-spacing: -0.02em; opacity: 0.4; transition: opacity 0.4s, padding 0.5s var(--ease); }
.sequence__captions li span { font-size: var(--fs-xs); color: var(--accent); }
.sequence__captions li.is-active { opacity: 1; padding-left: 14px; }
.sequence__frames { position: relative; aspect-ratio: 4 / 3; max-height: 74svh; width: 100%; overflow: hidden; border-radius: var(--shape-hero); background: var(--green-deep); }
.sequence__frame { position: absolute; inset: 0; }
.sequence__frame img { width: 100%; height: 100%; object-fit: cover; }
.sequence__frame:not(:first-of-type) { clip-path: inset(0 0 0 100%); }
.sequence__counter { position: absolute; right: 0; bottom: 0; z-index: 3; padding: 12px 22px; background: var(--yellow); color: var(--ink); font-size: 0.8rem; font-weight: 700; border-radius: var(--shape-m); }
.is-static .sequence__pin, .js-failed .sequence__pin { min-height: 0; padding-block: var(--section-m); }
.is-static .sequence__frames { aspect-ratio: auto; display: grid; gap: 14px; background: none; overflow: visible; }
.is-static .sequence__frame { position: relative; clip-path: none !important; border-radius: var(--shape-l); overflow: hidden; }
.is-static .sequence__counter { display: none; }

@media (max-width: 900px) {
    .sequence__pin { align-items: flex-start; padding-top: calc(var(--header-h) + 14px); }
    .sequence__stage { grid-template-columns: 1fr; gap: 18px; }
    .sequence__frames { order: -1; border-radius: var(--shape-xl); }
    .sequence__copy p { display: none; }
}

/* --------------------------------------------------------------------------
   15. Gartenjahr
   -------------------------------------------------------------------------- */
.seasons__layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(30px, 6vw, 110px); align-items: start; margin-top: clamp(20px, 3vw, 40px); }
.seasons__scene { position: sticky; top: calc(var(--header-h) + 3vh); align-self: start; }
.scene-card--seasons { aspect-ratio: 1; max-height: 78svh; width: 100%; margin-inline: auto; }
.seasons__canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.seasons__badge { position: absolute; left: 0; top: 24px; padding: 10px 20px 11px 22px; background: var(--yellow); color: var(--ink); font-size: 0.85rem; font-weight: 700; letter-spacing: -0.02em; border-radius: 0 0 var(--r-m) 0; }
.seasons__panels { display: grid; gap: 0; }
.season { display: grid; align-content: center; justify-items: start; gap: 18px; min-height: 86svh; padding-block: 8svh; }
.season__lead { max-width: 52ch; color: var(--muted); }
.season .accordion { width: 100%; }
.season .accordion__head button { font-size: 1.05rem; padding: 16px 0; }

@media (max-width: 900px) {
    .seasons__layout { grid-template-columns: 1fr; gap: 0; }
    .seasons__scene { top: calc(var(--header-h) - 2px); z-index: 4; margin-inline: calc(-1 * var(--side)); padding: 8px var(--side) 0; background: var(--bg); }
    .scene-card--seasons { aspect-ratio: 16 / 10; max-height: 34svh; }
    .season { min-height: 70svh; padding-block: 5svh; }
}

/* Szene: Jahreszeiten – Zustände über data-season */
[data-season-svg] { --se-a: #dbe3e1; --se-b: #f2f5f3; --se-far: #e7edeb; --se-hill: #f6f8f7; --se-crown: #2f8a47; --se-sun: #ffffff; --se-crown-o: 0; --se-bloss-o: 0; --se-fruit-o: 0; --se-flow-o: 0; --se-leaf-o: 0; --se-snow-o: 1; --se-twig-o: 1; --se-glow-o: .25; }
[data-season-svg][data-season="spring"] { --se-a: #e3f4d8; --se-b: #fbfff0; --se-far: #cfe8c7; --se-hill: #86cf98; --se-crown: #6fc686; --se-sun: var(--yellow); --se-crown-o: 1; --se-bloss-o: 1; --se-fruit-o: 0; --se-flow-o: 1; --se-leaf-o: 0; --se-snow-o: 0; --se-twig-o: 0; --se-glow-o: .5; }
[data-season-svg][data-season="summer"] { --se-a: #fff2a0; --se-b: #fffde8; --se-far: #8fd09d; --se-hill: #3fa35b; --se-crown: #25803d; --se-sun: var(--yellow); --se-crown-o: 1; --se-bloss-o: 0; --se-fruit-o: 1; --se-flow-o: 1; --se-leaf-o: 0; --se-snow-o: 0; --se-twig-o: 0; --se-glow-o: .8; }
[data-season-svg][data-season="autumn"] { --se-a: #f7e08a; --se-b: #fff8dc; --se-far: #e0d58a; --se-hill: #a9bb69; --se-crown: #f2b92e; --se-sun: #ffd23c; --se-crown-o: 1; --se-bloss-o: 0; --se-fruit-o: 0; --se-flow-o: 0; --se-leaf-o: 1; --se-snow-o: 0; --se-twig-o: 0; --se-glow-o: .55; }
.se-sky-a { stop-color: var(--se-a); transition: stop-color 1s; }
.se-sky-b { stop-color: var(--se-b); transition: stop-color 1s; }
.se-hill { fill: var(--se-hill); transition: fill 1s; }
.se-hill--far { fill: var(--se-far); }
.se-snow { fill: #fff; opacity: var(--se-snow-o); transition: opacity 1s; }
.se-sun { fill: var(--se-sun); transition: fill 1s; }
.se-glow { fill: var(--yellow); opacity: var(--se-glow-o); transition: opacity 1s; filter: blur(14px); }
.se-clouds ellipse { fill: #fff; opacity: 0.85; }
.se-trunk { fill: #4f4a43; }
.se-branch { fill: none; stroke: #4f4a43; stroke-width: 7; stroke-linecap: round; }
.se-crown circle { fill: var(--se-crown); opacity: var(--se-crown-o); transform-box: fill-box; transform-origin: center; transition: fill 1s, opacity 1s, transform 1.1s var(--ease); }
[data-season-svg][data-season="winter"] .se-crown circle { transform: scale(0.4); }
.se-blossoms circle { fill: #fff; opacity: var(--se-bloss-o); transition: opacity 0.9s; }
.se-blossoms .se-blossom-core { fill: var(--yellow); }
.se-fruits circle { fill: var(--yellow); opacity: var(--se-fruit-o); transition: opacity 0.9s; }
.se-twigsnow path { fill: none; stroke: #fff; stroke-width: 6; stroke-linecap: round; opacity: var(--se-twig-o); transition: opacity 0.9s; }
.se-flowers { opacity: var(--se-flow-o); transition: opacity 0.9s; }
.se-flowers path { stroke: #2f8a47; stroke-width: 2.4; stroke-linecap: round; fill: none; }
.se-fl-0 { fill: var(--yellow); }
.se-fl-1 { fill: #fff; }
.se-fl-core { fill: var(--ink); }
.se-leaves-ground ellipse { fill: #e0a42a; opacity: var(--se-leaf-o); transition: opacity 0.9s; }
.se-leaves-ground ellipse:nth-child(even) { fill: var(--yellow); }
