/* =========================================================
   MEISSNER EXPO – Redesign im Doodle-Stil
   Display: Futura Lt BT (CI, light) · Body: Jost · Handschrift: LT Colored Pencil (CI)
   Farben: Meissner-Blau #0069b4, Anthrazit #444749, Papier
   ========================================================= */

@font-face {
  font-family: 'DM Serif Display';
  src: url('../assets/fonts/DMSerifDisplay-latin.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Karla';
  src: url('../assets/fonts/Karla-latin.woff2') format('woff2');
  font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'LT Colored Pencil';
  src: url('../assets/fonts/LT-Colored-Pencil.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Futura Lt BT';
  src: url('../assets/fonts/Futura-Lt-BT-Light.ttf') format('truetype');
  font-weight: 300; font-style: normal; font-display: swap;
}

:root {
  --blue: #0069b4;
  --blue-700: #00579a;
  --blue-900: #003c6b;
  --blue-100: #dcebf7;
  --blue-50: #eef5fb;
  --ink: #343837;
  --gray: #444749;
  --muted: #74787a;
  --line: #e2ddd2;
  --paper: #faf8f3;
  --paper-2: #f3f0e8;
  --white: #ffffff;
  --green: #2fb44b;
  --green-soft: #b9dfae;
  --yellow: #ffe27a;
  --orange: #f59c00;

  --sk-blue: var(--blue);
  --sk-green: #7fd08f;
  --sk-yellow: #ffe98f;

  --container: 1400px;
  --pad: clamp(20px, 3vw, 44px);
  --section: clamp(84px, 9vw, 150px);
  --gap: clamp(24px, 3vw, 48px);
  --header-h: 84px;

  --display: 'Futura Lt BT', 'Jost', 'Century Gothic', 'Futura', sans-serif;
  --body: 'Jost', 'Century Gothic', 'Futura', system-ui, sans-serif;
  --hand: 'LT Colored Pencil', 'Caveat', 'Segoe Print', cursive;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --doodle-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  --doodle-radius-2: 15px 225px 15px 255px / 255px 15px 225px 15px;
  --shadow-sm: 0 2px 12px rgba(52, 56, 55, .06);
  --shadow-md: 0 14px 40px rgba(52, 56, 55, .12);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; font-weight: 400;
  color: var(--gray); background: var(--paper);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* feines Papier-Korn */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .2 0 0 0 0 .2 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
strong { font-weight: 600; }
::selection { background: var(--blue); color: #fff; }
main { position: relative; z-index: 1; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-top: var(--section); }
.section--pad-b { padding-bottom: var(--section); }
.section--blue { background: var(--blue); color: #fff; }
.section--paper2 { background: var(--paper-2); }
.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; }

/* ---------- Typografie ---------- */
.display { font-family: var(--display); font-weight: 300; letter-spacing: -0.01em; line-height: 1.02; color: var(--ink); }
.h1 { font-size: clamp(44px, 7.2vw, 108px); line-height: .98; letter-spacing: -0.025em; }
.h2 { font-size: clamp(36px, 4.8vw, 68px); letter-spacing: -0.02em; }
.h3 { font-size: clamp(26px, 2.6vw, 38px); }
.h4 { font-size: clamp(21px, 1.8vw, 26px); }
.accent { color: var(--blue); }
.on-blue { color: #fff; }
.lead { font-size: clamp(17px, 1.25vw, 20px); line-height: 1.65; color: var(--muted); max-width: 60ch; }
.section--blue .lead { color: rgba(255,255,255,.82); }
.small { font-size: 14px; }

.hand { font-family: var(--hand); font-weight: 400; color: var(--blue); letter-spacing: 0; line-height: 1.15; }
.hand--lg { font-size: clamp(26px, 3vw, 44px); }
.hand--md { font-size: clamp(20px, 1.8vw, 26px); }
.hand--sm { font-size: 18px; }
.section--blue .hand { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--hand); font-size: clamp(19px, 1.5vw, 23px); color: var(--blue); line-height: 1.2;
}
.eyebrow::before { content: ''; width: 34px; height: 2px; background: currentColor; border-radius: 2px; transform: rotate(-3deg); }
.section--blue .eyebrow { color: #fff; }

.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--split { grid-template-columns: 1.3fr 1fr; align-items: end; gap: var(--gap); }
.section-head .h2 { max-width: 16ch; }
.section-head .lead { margin-top: 2px; }
@media (max-width: 900px) { .section-head--split { grid-template-columns: 1fr; align-items: start; } }

/* handgezeichneter Unterstrich unter Ueberschriften */
.underline { position: relative; display: inline; }
.underline::after {
  content: ''; position: absolute; left: -2%; right: -2%; bottom: -.08em; height: .22em; z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M4 12 C 60 6, 120 14, 180 9 S 260 13, 296 8' fill='none' stroke='%230069b4' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  opacity: .35; transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease) .35s;
}
.is-in .underline::after, .is-visible .underline::after { transform: scaleX(1); }

/* ---------- Buttons (handgezeichnete Rahmen) ---------- */
.btn {
  --btn-bg: var(--blue); --btn-fg: #fff; --btn-border: var(--blue); --btn-hover: var(--blue-700);
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 26px; border: 2px solid var(--btn-border); border-radius: var(--doodle-radius);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 500; font-size: 15px; letter-spacing: .02em; line-height: 1.3; white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); transform: translateY(-2px) rotate(-.6deg); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--blue); --btn-hover: var(--blue); }
.btn--outline:hover { color: #fff; }
.btn--white { --btn-bg: #fff; --btn-fg: var(--blue); --btn-border: #fff; --btn-hover: var(--paper); }
.btn--white:hover { border-color: var(--paper); color: var(--blue-700); }
.btn--ghost-white { --btn-bg: transparent; --btn-fg: #fff; --btn-border: rgba(255,255,255,.6); --btn-hover: #fff; }
.btn--ghost-white:hover { color: var(--blue); border-color: #fff; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn__icon { width: 18px; height: 18px; flex: none; transition: transform .4s var(--ease); }
.btn:hover .btn__icon { transform: translate(3px, -3px); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--blue); font-size: 15px; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 100; padding: 18px 20px 0; pointer-events: none; }
.header__bar {
  pointer-events: auto; max-width: var(--container); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 12px 14px 12px 22px;
  background: rgba(250, 248, 243, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid var(--ink); border-radius: var(--doodle-radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .4s var(--ease), padding .4s var(--ease);
}
.header.is-scrolled .header__bar { box-shadow: var(--shadow-md); padding-block: 8px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 24px; letter-spacing: .04em; color: var(--ink); line-height: 1; }
.brand b { font-weight: 300; color: var(--blue); }
.brand small { display: none; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  position: relative; padding: 8px 13px; font-size: 15px; font-weight: 500; color: var(--ink); border-radius: 30px;
  transition: color .3s;
}
.nav a::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--blue); transform: scaleX(0) rotate(-1.5deg); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1) rotate(-1.5deg); }
.nav a:hover, .nav a.is-active { color: var(--blue); }
.header__right { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--ink); background: #fff; position: relative; }
.burger span { position: absolute; left: 14px; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .4s var(--ease), opacity .3s, top .4s var(--ease); }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--blue); color: #fff;
  display: flex; flex-direction: column; justify-content: center; padding: 120px var(--pad) 60px;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s .45s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mobile-menu > a {
  font-family: var(--display); font-size: clamp(38px, 9vw, 64px); line-height: 1.1; padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,.2); opacity: 0; transform: translateY(16px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.menu-open .mobile-menu > a { opacity: 1; transform: none; }
.mobile-menu > a:nth-child(1) { transition-delay: .08s; } .mobile-menu > a:nth-child(2) { transition-delay: .13s; }
.mobile-menu > a:nth-child(3) { transition-delay: .18s; } .mobile-menu > a:nth-child(4) { transition-delay: .23s; }
.mobile-menu > a:nth-child(5) { transition-delay: .28s; } .mobile-menu > a:nth-child(6) { transition-delay: .33s; }
.mobile-menu__cta { margin-top: 32px; }
.mobile-menu__meta { margin-top: auto; font-size: 14px; opacity: .8; }
@media (max-width: 1120px) { .nav, .header__cta { display: none; } .burger { display: grid; } }
@media (max-width: 480px) { .header { padding: 12px 12px 0; } .brand { font-size: 20px; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: clamp(130px, 15vw, 190px); min-height: 100vh; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.25fr); gap: var(--gap); align-items: center; }
.hero__copy { position: relative; z-index: 2; }
.hero__title { margin-top: 22px; max-width: 12ch; }
.hero__title .ln { display: block; }
.hero__lead { margin-top: 26px; max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 34px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 30px; font-family: var(--hand); font-size: 20px; color: var(--blue); }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); border: 1.5px solid var(--blue); }

.hero__visual { position: relative; z-index: 1; }
.hero__sketch { position: relative; width: 100%; }
.hero__sketch .stand { width: 100%; height: auto; overflow: visible; }
.stand path { fill: none; stroke: var(--sk-blue); stroke-linecap: round; stroke-linejoin: round; }
.stand path.ray { stroke: var(--orange); opacity: .6; }
.stand path.dash { stroke-dasharray: 4 6 !important; }
.stand path[data-fill] { transition: fill .6s var(--ease); }
.stand .note { font-family: var(--hand); font-size: 26px; fill: var(--blue); opacity: 0; transition: opacity .5s var(--ease); }
.stand .note.is-on { opacity: 1; }
.stand .sk-arrows path { opacity: 0; transition: opacity .5s var(--ease); }
.stand .sk-arrows path.is-on { opacity: 1; }
.pencil { position: absolute; left: 0; top: 0; width: 46px; height: 46px; transform: translate(-6px, -40px) rotate(0deg); pointer-events: none; opacity: 0; transition: opacity .3s; z-index: 3; }
.pencil.is-on { opacity: 1; }
.pencil svg { width: 100%; height: 100%; }
.hero__hint {
  position: absolute; right: 2%; bottom: -6px; display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--hand); font-size: 20px; color: var(--blue); opacity: 0; transition: opacity .5s var(--ease) 1.8s;
}
.is-loaded .hero__hint { opacity: 1; }
.hero__hint.is-done { opacity: 0; transition-delay: 0s; }
.hero__hint svg { width: 22px; height: 30px; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* Hero-Eingangsanimation */
.hero .rv { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.is-loaded .hero .rv { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .hero { min-height: 0; padding-top: 120px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__title { max-width: 14ch; }
  .hero__visual { margin-top: 10px; }
  .hero__hint { position: static; margin-top: 8px; justify-content: center; }
}

/* ---------- Marquee (Handschrift) ---------- */
.marquee {
  position: relative; margin-top: clamp(40px, 6vw, 80px); padding-block: 18px; overflow: hidden;
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); background: var(--white);
  transform: rotate(-.6deg) scale(1.01);
}
.marquee__track { display: flex; width: max-content; gap: 48px; animation: marquee 50s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-family: var(--hand); font-size: clamp(24px, 2.4vw, 34px); color: var(--ink); white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.marquee__track span::after { content: ''; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--blue); background: var(--yellow); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Intro / Bereiche ---------- */
.intro__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--gap); align-items: start; }
.intro__text p + p { margin-top: 16px; }
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(40px, 6vw, 72px); }
.area {
  position: relative; display: block; padding: 26px 24px 24px; background: #fff; border: 1.5px solid var(--ink);
  border-radius: var(--doodle-radius); transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.area:nth-child(2) { border-radius: var(--doodle-radius-2); }
.area:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: var(--shadow-md); }
.area__img { height: 150px; display: grid; place-items: center; }
.area__img img { max-height: 100%; width: auto; max-width: 100%; }
.area h3 { margin-top: 18px; }
.area p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.area .link-arrow { margin-top: 14px; }
@media (max-width: 900px) { .intro__grid { grid-template-columns: 1fr; } .areas { grid-template-columns: 1fr; } }

/* ---------- Zahlen ---------- */
.numbers { margin-top: var(--section); }
.numbers__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.num { text-align: center; padding: 26px 12px 22px; position: relative; }
.num__val {
  font-family: var(--display); font-size: clamp(40px, 4.4vw, 66px); line-height: 1; color: var(--blue);
  display: inline-block; position: relative; padding: 8px 16px;
}
.num__val::before {
  content: ''; position: absolute; inset: -4px -6px; border: 2px solid var(--blue); border-radius: 50% 48% 52% 50% / 46% 52% 48% 54%;
  opacity: .28; transform: rotate(-3deg);
}
.num:nth-child(even) .num__val::before { transform: rotate(4deg); border-radius: 48% 52% 50% 50% / 52% 46% 54% 48%; }
.num__val sup { font-size: .45em; vertical-align: top; margin-left: 2px; }
.num__label { margin-top: 12px; font-family: var(--hand); font-size: 20px; color: var(--ink); line-height: 1.2; }
@media (max-width: 900px) { .numbers__grid { grid-template-columns: repeat(2, 1fr); } .num:last-child { grid-column: span 2; } }

/* ---------- Leistungen (gestapelte Karten) ---------- */
.stack { position: relative; }
.card {
  position: sticky; top: calc(var(--header-h) + 24px); margin-bottom: 26px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--gap); align-items: center;
  padding: clamp(28px, 4vw, 56px); background: #fff; border: 1.5px solid var(--ink);
  border-radius: 28px; box-shadow: var(--shadow-sm); transform-origin: top center; will-change: transform;
  min-height: 420px;
}
.card:nth-child(even) { grid-template-columns: .95fr 1.05fr; }
.card:nth-child(even) .card__visual { order: -1; }
.card--blue { background: var(--blue); color: #fff; border-color: var(--blue); }
.card--blue .display, .card--blue .lead { color: #fff; }
.card--blue .lead { color: rgba(255,255,255,.85); }
.card__num { font-family: var(--hand); font-size: 26px; color: var(--blue); }
.card--blue .card__num { color: var(--yellow); }
.card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.card__tags span {
  font-size: 14px; font-weight: 500; padding: 6px 12px; border: 1.5px solid currentColor; border-radius: var(--doodle-radius); opacity: .85;
}
.card__title { margin-top: 18px; max-width: 12ch; }
.card__text { margin-top: 18px; max-width: 52ch; }
.card__text p + p { margin-top: 12px; }
.card__visual { display: grid; place-items: center; min-height: 260px; }
.card__visual img { max-height: 340px; width: auto; max-width: 100%; }
.card__visual img.multiply { mix-blend-mode: multiply; }
.card--blue .card__visual img { filter: none; }
@media (max-width: 900px) {
  .card, .card:nth-child(even) { grid-template-columns: 1fr; position: relative; top: auto; min-height: 0; }
  .card:nth-child(even) .card__visual { order: 0; }
  .card__visual img { max-height: 240px; }
}

/* ---------- Ablauf / Bausteine ---------- */
.process { position: relative; }
.road { position: relative; height: 120px; margin: clamp(20px, 3vw, 40px) 0 10px; }
.road svg { position: absolute; left: 0; right: 0; bottom: 18px; width: 100%; height: 30px; overflow: visible; }
.road svg path { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; }
.road__truck { position: absolute; bottom: 24px; left: 0; width: 150px; transform: translateX(-10%); will-change: transform; }
.road__truck img { width: 100%; }
.road__from, .road__to { position: absolute; bottom: -22px; font-family: var(--hand); font-size: 18px; color: var(--blue); }
.road__from { left: 0; } .road__to { right: 0; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 22px; margin-top: 50px; counter-reset: step; }
.step { position: relative; padding: 22px 20px 22px; background: #fff; border: 1.5px solid var(--line); border-radius: 20px; transition: border-color .4s, transform .5s var(--ease); }
.step:hover { border-color: var(--blue); transform: translateY(-4px); }
.step__img { height: 96px; display: flex; align-items: flex-end; }
.step__img img { max-height: 96px; width: auto; max-width: 100%; }
.step__img img.multiply { mix-blend-mode: multiply; }
.step__num { position: absolute; top: 14px; right: 16px; font-family: var(--hand); font-size: 22px; color: var(--blue); }
.step h3 { margin-top: 16px; font-family: var(--display); font-weight: 300; font-size: 24px; color: var(--ink); line-height: 1.1; }
.step p { margin-top: 8px; font-size: 15px; color: var(--muted); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .road__truck { width: 110px; } }

/* ---------- Nachhaltigkeit (blau) ---------- */
.sustain { position: relative; overflow: hidden; padding-bottom: var(--section); }
.sustain__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: start; }
.sustain__quotes { display: grid; gap: 18px; }
.quote {
  padding: 26px 26px 22px; background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.45);
  border-radius: var(--doodle-radius); position: relative;
}
.quote:nth-child(2) { border-radius: var(--doodle-radius-2); }
.quote p { font-size: 17px; line-height: 1.6; }
.quote p::before { content: '„'; font-family: var(--hand); font-size: 34px; line-height: 0; margin-right: 4px; color: var(--yellow); }
.quote footer { margin-top: 14px; display: flex; align-items: center; gap: 12px; font-size: 14px; }
.quote footer img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; }
.quote footer b { display: block; font-weight: 500; font-size: 15px; }
.sustain__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1.5px solid rgba(255,255,255,.7);
  border-radius: var(--doodle-radius); font-size: 14px; font-weight: 500; background: rgba(255,255,255,.06);
}
.badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.sustain__art { position: absolute; pointer-events: none; }
.sustain__art--van { right: 2%; bottom: -10px; width: min(380px, 34vw); will-change: transform; }
.sustain__art--bird { left: -60px; top: 12%; width: min(420px, 40vw); will-change: transform; }
.sustain__postcard {
  margin-top: 30px; padding: 14px; background: var(--paper); border-radius: 12px; transform: rotate(-2deg);
  box-shadow: 0 20px 50px rgba(0,0,0,.25); max-width: 420px;
}
.sustain__postcard img { width: 100%; }
.sustain__postcard figcaption { font-family: var(--hand); color: var(--blue); font-size: 18px; text-align: center; margin-top: 8px; }
.sustain__grid > * { position: relative; z-index: 1; }
@media (max-width: 900px) { .sustain__grid { grid-template-columns: 1fr; } .sustain__art--bird { display: none; } .sustain__art--van { position: relative; right: auto; bottom: auto; width: 60%; margin: 20px auto 0; } }

/* ---------- Warum / Baum ---------- */
.why { position: relative; overflow: hidden; }
.why__inner { display: grid; grid-template-columns: 1fr; gap: 20px; text-align: center; justify-items: center; }
.why__tree { width: min(1100px, 100%); margin-top: 20px; will-change: transform; }
.why__tree img { width: 100%; }
.why__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 10px; }
.why__pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; max-width: 900px; }
.why__pills li { font-family: var(--hand); font-size: 20px; color: var(--blue); padding: 6px 16px; border: 1.5px solid var(--blue); border-radius: var(--doodle-radius); background: #fff; }
.why__pills li:nth-child(even) { border-radius: var(--doodle-radius-2); transform: rotate(1deg); }

/* ---------- Referenzen ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button {
  padding: 8px 16px; border: 1.5px solid var(--ink); border-radius: var(--doodle-radius); font-size: 14px; font-weight: 500; color: var(--ink);
  background: #fff; transition: background .3s, color .3s, transform .3s var(--ease);
}
.filters button:hover { transform: translateY(-2px); }
.filters button.is-active { background: var(--blue); color: #fff; border-color: var(--blue); }
.refs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 24px; }
.ref { position: relative; }
.ref.is-hidden { display: none; }
.ref__media { position: relative; background: #fff; padding: 10px 10px 0; border: 1.5px solid var(--ink); border-radius: 14px 14px 10px 10px; overflow: hidden; transform: rotate(var(--rot, -.6deg)); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.ref:nth-child(3n+2) { --rot: .7deg; } .ref:nth-child(3n) { --rot: -.3deg; }
.ref:hover .ref__media { transform: rotate(0) translateY(-6px); box-shadow: var(--shadow-md); }
.ref__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.ref__tape { position: absolute; top: -10px; left: 50%; width: 90px; height: 24px; transform: translateX(-50%) rotate(-3deg); background: rgba(255, 226, 122, .85); opacity: .9; }
.ref__meta { padding: 14px 6px 4px; }
.ref__client { font-family: var(--display); font-size: 24px; color: var(--ink); line-height: 1.1; }
.ref__event { font-family: var(--hand); color: var(--blue); font-size: 19px; margin-top: 4px; }
.ref__facts { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.ref__facts li { font-size: 13px; color: var(--muted); padding: 3px 9px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.refs__more { display: flex; justify-content: center; margin-top: 40px; }
@media (max-width: 1000px) { .refs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .refs { grid-template-columns: 1fr; } }

/* ---------- Ueber uns ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--gap); align-items: center; }
.about__media { position: relative; }
.about__frame { background: #fff; padding: 12px 12px 0; border: 1.5px solid var(--ink); border-radius: 12px; transform: rotate(-1.5deg); box-shadow: var(--shadow-sm); }
.about__frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.about__frame figcaption { font-family: var(--hand); color: var(--blue); font-size: 20px; padding: 12px 4px 14px; }
.about__sticker { position: absolute; right: -14px; top: -22px; width: 120px; transform: rotate(8deg); }
.about__body .lead { margin-top: 18px; }
.about__body p + p { margin-top: 14px; }
.about__cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; }
.team-strip { margin-top: clamp(40px, 6vw, 80px); overflow: hidden; }
.team-strip img { width: min(1500px, 130%); max-width: none; will-change: transform; margin-inline: auto; }
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; } .team-strip img { width: 170%; } }

/* Chronik */
.timeline { margin-top: clamp(40px, 6vw, 70px); position: relative; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.timeline__track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 14px; position: relative; padding-top: 34px; min-width: 900px; }
.timeline__track::before { content: ''; position: absolute; left: 0; right: 0; top: 14px; height: 3px; background: url('../assets/sketch/strich.webp') no-repeat center / 100% 100%; opacity: .9; }
.tl { position: relative; padding: 0 6px; }
.tl::before { content: ''; position: absolute; left: 10px; top: -28px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--blue); background: var(--yellow); }
.tl__year { font-family: var(--hand); font-size: 28px; color: var(--blue); }
.tl__text { margin-top: 6px; font-size: 14px; color: var(--muted); }

/* ---------- Netzwerk / Partner ---------- */
.partners { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 16px; align-items: center; margin-top: 30px; }
.partner { display: grid; place-items: center; padding: 14px; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; height: 90px; transition: border-color .3s; }
.partner:hover { border-color: var(--blue); }
.partner img { max-height: 54px; width: auto; max-width: 100%; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.partner:hover img { filter: none; opacity: 1; }

/* ---------- Standort ---------- */
.location__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: center; }
.location__img img { width: 100%; mix-blend-mode: multiply; }
.location address { font-style: normal; margin-top: 16px; font-size: 17px; line-height: 1.7; }
.cities { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cities li { font-size: 14px; padding: 5px 12px; border: 1.5px solid var(--line); border-radius: 20px; background: #fff; }
@media (max-width: 900px) { .location__grid { grid-template-columns: 1fr; } }

/* ---------- Kontakt ---------- */
.contact { position: relative; overflow: hidden; padding-bottom: var(--section); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: start; }
.contact__list { margin-top: 24px; display: grid; gap: 10px; }
.contact__list li { position: relative; padding-left: 34px; font-size: 16px; }
.contact__list li::before {
  content: ''; position: absolute; left: 0; top: 2px; width: 20px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffe27a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 13c2 2 3 4 4 5 2-4 6-9 12-13'/%3E%3C/svg%3E") no-repeat center / contain;
}
.contact__direct { margin-top: 30px; display: grid; gap: 8px; }
.contact__direct a { display: inline-flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 500; width: fit-content; }
.contact__direct a svg { width: 22px; height: 22px; color: var(--yellow); }
.contact__direct a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact__person { margin-top: 30px; display: flex; align-items: center; gap: 14px; }
.contact__person img { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; }
.contact__person b { display: block; font-weight: 500; }
.contact__person span { font-size: 14px; opacity: .85; }
.form {
  background: var(--paper); color: var(--gray); padding: clamp(24px, 3vw, 36px); border-radius: 16px;
  border: 1.5px solid var(--ink); transform: rotate(.5deg); box-shadow: 0 30px 70px rgba(0,0,0,.25);
}
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form__grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 15px; color: var(--ink); background: #fff;
  border: 1.5px solid var(--ink); border-radius: var(--doodle-radius); outline: none; transition: box-shadow .3s, border-color .3s;
}
.field textarea { border-radius: 14px; min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-100); }
.form__foot { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form__note { font-size: 13px; color: var(--muted); }
.form.is-sent .form__sent { display: block; }
.form__sent { display: none; margin-top: 14px; font-family: var(--hand); color: var(--blue); font-size: 22px; }
.contact__doodle { position: absolute; right: -10px; bottom: -20px; width: min(320px, 30vw); opacity: .95; pointer-events: none; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } .form { transform: none; } .form__grid { grid-template-columns: 1fr; } .contact__doodle { display: none; } }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.8); padding: 56px 0 28px; position: relative; z-index: 1; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--gap); }
.footer__brand img { width: 220px; }
.footer__brand p { margin-top: 16px; font-size: 14px; max-width: 34ch; }
.footer h4 { font-family: var(--hand); font-size: 22px; color: #fff; margin-bottom: 12px; }
.footer ul { display: grid; gap: 8px; font-size: 15px; }
.footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer__bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 50px; height: 50px; border-radius: 50%;
  background: var(--blue); color: #fff; border: 2px solid #fff; display: grid; place-items: center; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .4s, transform .4s var(--ease), visibility 0s .4s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Reveal-Animationen ---------- */
[data-reveal] { opacity: 0; transform: translateY(-12px) rotate(-.5deg); transition: opacity .32s ease-out, transform .5s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal="pop"] { transform: scale(.92) rotate(-2deg); }
[data-reveal="pop"].is-visible { transform: none; }
[data-reveal="left"] { transform: translateX(-30px); }
[data-reveal="right"] { transform: translateX(30px); }
.is-static [data-reveal], .no-js [data-reveal] { opacity: 1; transform: none; clip-path: none; }

/* Text-Reveal: jedes Wort legt sich leicht verdreht aufs Papier und bleibt liegen */
.is-split[data-reveal] { opacity: 1; transform: none; transition: none; }
.is-split .wd { display: inline-block; opacity: 0; transform: translateY(-14px) rotate(var(--r, -3deg)) scale(1.03); transform-origin: 30% 100%; }
.is-split.is-in .wd { opacity: 1; transform: none; transition: opacity .3s ease-out, transform .5s var(--ease); transition-delay: calc(var(--d, 0s) + var(--i, 0) * .06s); }
/* Fließtext: flacher, feiner gestaffelt, sonst dauert ein Absatz zu lange */
p.is-split .wd, address.is-split .wd { transform: translateY(-7px) rotate(calc(var(--r, -3deg) * .4)) scale(1.01); }
p.is-split.is-in .wd, address.is-split.is-in .wd { transition: opacity .32s ease-out, transform .42s var(--ease); transition-delay: calc(var(--d, 0s) + var(--i, 0) * .016s); }
/* Handschrift haelt ihren Platz in der Reihenfolge, bis sie geschrieben wird */
.is-split .hand-em { opacity: 0; transition: opacity .3s ease-out; transition-delay: calc(var(--d, 0s) + var(--i, 0) * .06s); }
.is-split.is-in .hand-em { opacity: 1; }
.is-split .hand-em.has-hw { opacity: 1; transition: none; }

/* Unterseiten (Impressum, Datenschutz) */
.page { padding-top: clamp(140px, 16vw, 200px); padding-bottom: var(--section); }
.page .prose { max-width: 76ch; margin-top: 30px; }
.page .prose h2 { font-family: var(--display); font-weight: 300; font-size: 30px; color: var(--ink); margin-top: 36px; margin-bottom: 8px; }
.page .prose h3 { font-family: var(--hand); font-size: 24px; color: var(--blue); margin-top: 28px; margin-bottom: 6px; }
.page .prose p { margin-top: 10px; }
.page .prose ul { list-style: disc; padding-left: 22px; margin-top: 10px; }
.page .prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal], .hero .rv { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* ---------- Messehallen-Band (Parallax) ---------- */
.hall { position: relative; margin-top: var(--section); overflow: hidden; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); background: #fff; }
.hall__inner { position: relative; height: clamp(260px, 38vw, 560px); }
.hall__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; transform: scale(1.12); will-change: transform; mix-blend-mode: multiply; }
.hall__note { position: absolute; left: var(--pad); bottom: 22px; margin: 0; background: var(--paper); padding: 8px 18px; border: 1.5px solid var(--ink); border-radius: var(--doodle-radius); transform: rotate(-2deg); }
.intro__img { width: min(420px, 100%); mix-blend-mode: multiply; margin-bottom: 22px; transform: rotate(-1.5deg); }
.is-static .marquee__track, .is-static .hero__hint svg { animation: none; }
.is-static .hero { min-height: 0; }

/* ---------- Feinschliff ---------- */
.stand .note { font-size: 34px; }
.card__title { max-width: 16ch; }
.hero__facts { font-size: 22px; }
.eyebrow { font-size: clamp(20px, 1.6vw, 24px); }
.is-static .underline::after { transform: scaleX(1); transition: none; }
@media (min-width: 1001px) { .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); } }
.contact__doodle { right: auto; left: calc(var(--pad) + 10px); bottom: -24px; width: min(300px, 26vw); z-index: 0; }
.contact .container { position: relative; z-index: 1; }
.page .prose h4 { font-size: 17px; font-weight: 600; color: var(--ink); margin-top: 18px; margin-bottom: 4px; }
.contact { padding-bottom: calc(var(--section) + 50px); }
.contact__doodle { left: auto; right: calc(var(--pad) + 24px); bottom: -14px; width: min(220px, 20vw); }
@media (max-width: 1000px) { .hero__grid { grid-template-columns: minmax(0, 1fr); } .hero__grid > * { min-width: 0; } }
@media (max-width: 600px) { .num__val { font-size: clamp(32px, 9vw, 48px); } .numbers__grid { gap: 8px; } }
