/* =========================================================
   v3 – Skizzenbuch: Die gesamte Seite liegt in einem aufgeschlagenen
   Notizbuch (blauer Einband, Karopapier). Header außerhalb, Doodles rundherum.
   Schriften: Instrument Serif (Headlines, Fließtext) + Gochi Hand (Handschrift).
   Farben bleiben: Meissner-Blau, Papier, Gelb. Lädt nach styles.css + character.css.
   ========================================================= */
:root {
  --display: 'Instrument Serif', 'Times New Roman', Georgia, serif; --display-w: 400; --display-ls: -0.01em; --display-lh: 1;
  --body: 'Instrument Serif', Georgia, serif;
  --ui: 'Jost', system-ui, sans-serif;
  --marker: 'Gochi Hand', 'Caveat', cursive;
  --hand: 'Gochi Hand', 'Caveat', cursive;
  --ink: #2a2723; --gray: #3d3934; --muted: #6b655d;
  --paper: #f3efe4;          /* Hintergrund um das Buch */
  --page: #fbf8f0;           /* Papier im Buch */
  --grid: rgba(0, 105, 180, .13);
  --cover: var(--blue);
  --book-radius: 36px;
  --header-h: 76px;
}
html { background: var(--paper); }
body { background: var(--paper); font-family: var(--body); font-size: 19px; line-height: 1.55; color: var(--gray); }
body::before { display: none; }
.display { font-family: var(--display); font-weight: 400; letter-spacing: var(--display-ls); line-height: var(--display-lh); }
:root[data-font] .display { font-variation-settings: normal; }
.h1 { font-size: clamp(50px, 6.6vw, 100px); letter-spacing: -0.015em; line-height: .98; }
.h2 { font-size: clamp(40px, 5vw, 74px); letter-spacing: -0.01em; }
.h3 { font-size: clamp(30px, 2.8vw, 42px); }
.h4 { font-size: clamp(24px, 2vw, 30px); }
.lead { font-size: clamp(19px, 1.35vw, 23px); line-height: 1.5; color: var(--gray); }
.small, .form__note, .ref__facts li, .cities li, .num__label, .tl__text, .footer__bottom, .mobile-menu__meta { font-family: var(--ui); }
.step h3, .ref__client, .page .prose h2, .area h3 { font-family: var(--display); font-weight: 400; letter-spacing: 0; }
.step h3 { font-size: 26px; }
.ref__client { font-size: 26px; }
.step p, .area p, .ref__facts li, .card__tags span, .filters button, .badge, .why__pills li, .field label, .field input, .field select, .field textarea, .btn, .link-arrow, .contact__list li, .contact__direct a, .quote footer, .footer ul, .footer__brand p, .partner, .location address, .about__body p:not(.lead), .card__text p, .intro__text p:not(.lead):not(.hand), .sustain .lead ~ .lead, .num__label { font-family: var(--ui); }
.step p, .area p { font-size: 15.5px; }
.card__text p { font-size: 16.5px; }

/* Handschrift überall einheitlich (Gochi Hand) */
.hand, .eyebrow, .hand-em, .wd.hand-em, .postit, .stamp, .hero__facts, .marquee__track span, .card__num, .step__num, .road__from, .road__to, .ref__event, .about__frame figcaption, .intro__figure figcaption, .sustain__postcard figcaption, .tl__year, .footer h4, .hall__note, .form .hand, .stand .note, .hero__hint { font-family: var(--marker); font-weight: 400; }
.hand-em, .wd.hand-em { font-size: 1.02em; line-height: 1; }
.eyebrow { font-family: var(--display); font-size: clamp(19px, 1.4vw, 24px); letter-spacing: .12em; color: var(--blue); }
.eyebrow::before { display: none; }
s.scribble { font-family: var(--display); }

/* ---------- Header außerhalb des Buchs ---------- */
.header { padding: 0; }
.header__bar { max-width: none; border: 0; border-radius: 0; background: rgba(243, 239, 228, .88); box-shadow: none; padding: 16px clamp(20px, 3vw, 44px); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.header.is-scrolled .header__bar { box-shadow: 0 1px 0 rgba(42,39,35,.08); padding-block: 10px; }
.brand { font-family: 'Futura Lt BT', 'Jost', sans-serif; font-size: 22px; }
.brand__smile { width: 30px; height: 30px; margin-right: 6px; }
.nav { gap: 10px; }
.nav a { font-family: var(--marker); font-size: 21px; font-weight: 400; color: var(--ink); padding: 6px 12px; }
.nav a::after { height: 3px; bottom: 2px; }
.header__cta { --btn-bg: transparent; --btn-fg: var(--blue); --btn-border: transparent; --btn-hover: transparent; font-family: var(--marker); font-size: 21px; font-weight: 400; padding: 6px 4px; box-shadow: none; filter: none; border: 0; position: relative; }
.header__cta::after { content: ''; position: absolute; left: 4px; right: 26px; bottom: 2px; height: 4px; background: var(--yellow); border-radius: 2px; transform: rotate(-1.5deg); z-index: -1; }
.header__cta:hover { transform: none; box-shadow: none; color: var(--blue-700); }
.header__cta:hover::after { height: 8px; }
.burger { background: transparent; }
.mobile-menu { background: var(--paper); color: var(--ink); }
.mobile-menu > a { font-family: var(--marker); color: var(--ink); border-color: rgba(42,39,35,.12); font-size: clamp(38px, 9vw, 60px); }
.mobile-menu__cta .btn { --btn-bg: var(--blue); --btn-fg: #fff; --btn-border: var(--blue); }

/* ---------- Doodles um das Buch herum ---------- */
.bg-doodles { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-doodles img, .bg-doodles svg { position: absolute; opacity: .9; animation: bob 9s ease-in-out infinite; }
.bg-doodles .d1 { left: 1.5vw; top: 16vh; width: clamp(80px, 8vw, 140px); }
.bg-doodles .d2 { left: 1vw; bottom: 10vh; width: clamp(110px, 9vw, 170px); animation-delay: -3s; }
.bg-doodles .d3 { right: 1.5vw; top: 14vh; width: clamp(100px, 9vw, 160px); animation-delay: -5s; }
.bg-doodles .d4 { right: 1vw; bottom: 12vh; width: clamp(90px, 8vw, 150px); animation-delay: -7s; }
.bg-doodles .d5 { left: 50%; top: 12px; width: 40px; margin-left: -520px; animation-delay: -2s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(2deg); } }
@media (max-width: 1500px) { .bg-doodles { display: none; } }

/* ---------- Das Buch ---------- */
.book { position: relative; z-index: 1; max-width: 1300px; margin: calc(var(--header-h) + 34px) auto 70px; perspective: 2600px; }
.book__pages {
  position: relative; border: 14px solid var(--cover); border-radius: var(--book-radius);
  background-color: var(--page);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 36px 36px; background-position: 6px 6px;
  box-shadow: 0 30px 80px rgba(42,39,35,.16), 0 4px 14px rgba(42,39,35,.08);
}
.book__pages::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 18px; background: linear-gradient(rgba(0,60,107,.28), rgba(0,60,107,0)); border-radius: 22px 22px 0 0; pointer-events: none; z-index: 5; }
.book__ribbon { position: absolute; right: 68px; top: -16px; width: 26px; height: 200px; background: var(--yellow); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 84%, 0 100%); box-shadow: 2px 4px 10px rgba(42,39,35,.15); z-index: 6; pointer-events: none; }
.book__ribbon::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.08), transparent 40%, rgba(0,0,0,.06)); }
.book__clip { position: absolute; left: 50%; top: -30px; transform: translateX(-50%) rotate(-3deg); width: 120px; height: 44px; border: 4px solid var(--ink); border-radius: 22px; background: transparent; z-index: 7; pointer-events: none; }
.book__clip::after { content: ''; position: absolute; left: 12px; right: 12px; top: 14px; height: 8px; border-radius: 6px; background: var(--ink); opacity: .85; }
@media (max-width: 900px) { .book { margin-top: calc(var(--header-h) + 20px); } .book__pages { border-width: 9px; border-radius: 22px; } .book__ribbon { right: 24px; height: 120px; width: 18px; } .book__clip { display: none; } }

/* Einband, der beim Laden aufklappt */
.book__cover {
  position: absolute; left: -14px; right: -14px; top: -14px; height: min(92vh, 900px); z-index: 30;
  background: var(--cover); border-radius: var(--book-radius); color: #fff;
  transform-origin: 50% 0; transform: rotateX(0deg); backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: 0 30px 80px rgba(42,39,35,.25);
  display: grid; place-items: center; text-align: center; overflow: hidden;
  transition: transform 1.5s cubic-bezier(.66, 0, .28, 1);
}
.book__cover::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 18px 18px; opacity: .6; }
.book__cover::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: linear-gradient(transparent, rgba(0,0,0,.12)); }
.book__cover-inner { position: relative; z-index: 1; display: grid; justify-items: center; gap: 14px; padding: 40px; }
.book__cover-inner img.logo { width: min(340px, 60vw); }
.book__cover-inner .title { font-family: var(--marker); font-size: clamp(34px, 4vw, 60px); color: var(--yellow); line-height: 1; transform: rotate(-2deg); }
.book__cover-inner .sub { font-family: var(--display); font-size: clamp(20px, 1.8vw, 26px); letter-spacing: .1em; color: rgba(255,255,255,.9); }
.book__cover-inner img.doodle { width: min(300px, 50vw); margin-top: 6px; }
.book__cover-inner .hint { font-family: var(--marker); font-size: 20px; color: rgba(255,255,255,.85); margin-top: 8px; }
.book__band { position: absolute; right: 58px; top: 0; bottom: 0; width: 22px; background: var(--yellow); opacity: .9; }
.book__label { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); font-family: var(--ui); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.book.is-open .book__cover { transform: rotateX(-160deg); pointer-events: none; }
.book.is-opened .book__cover, .is-static .book__cover { display: none; }
@media (prefers-reduced-motion: reduce) { .book__cover { display: none; } }

/* Seiten-Trennung: gestrichelte Linie + Seitenzahl in Handschrift */
.book__pages { counter-reset: page; }
.book__pages > section { position: relative; counter-increment: page; }
.book__pages > section + section::before, .book__pages > .hall + section::before {
  content: ''; position: absolute; left: 6%; right: 6%; top: 0; height: 0;
  border-top: 2px dashed rgba(0,105,180,.35);
}
.book__pages > section + section::after, .book__pages > .hall + section::after {
  content: 'Seite ' counter(page); position: absolute; right: clamp(20px, 4vw, 56px); top: 14px;
  font-family: var(--marker); font-size: 18px; color: var(--blue); opacity: .8; transform: rotate(2deg);
}

/* Inhalte im Buch */
.book .container { max-width: none; padding-inline: clamp(22px, 4.5vw, 72px); }
.book .section { padding-top: clamp(64px, 7vw, 110px); }
.book .section--pad-b { padding-bottom: clamp(64px, 7vw, 110px); }
.book .section--paper2 { background: transparent; }
.book .section--blue { margin: 0 clamp(14px, 2.5vw, 40px); border-radius: 22px; background-color: var(--blue); background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 36px 36px; }
.book .section--blue::before, .book .section--blue::after { display: none; }
.book .contact { margin-bottom: clamp(24px, 4vw, 56px); }
.book .why { background: transparent; color: var(--gray); padding-top: clamp(64px, 7vw, 110px); }
.book .why .display { color: var(--ink); }
.book .why .eyebrow { color: var(--blue); }
.book .why .hand-em, .book .why .wd.hand-em { color: var(--blue); }
.book .why__tree { background-color: #fff; background-image: none; box-shadow: 3px 10px 28px rgba(42,39,35,.14); }
.book .why__pills li { color: var(--blue); border-color: var(--blue); background: #fff; }
.book .why__pills li:nth-child(odd) { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.book .why .btn { --btn-bg: var(--blue); --btn-fg: #fff; --btn-border: var(--blue); --btn-hover: var(--blue-700); box-shadow: 4px 4px 0 var(--yellow); }
.book .process { background: transparent; }
.book .card { background-image: none; background-color: #fff; }
.book .card--blue { background-color: var(--blue); }
.book .form { background-image: none; background-color: #fff; }
.book .area, .book .step, .book .ref__media, .book .about__frame, .book .partner { background: #fff; }
.book .hall { margin-inline: 0; }
.hall__img { mix-blend-mode: multiply; }

/* Hero im Buch */
.hero { min-height: 0; padding-top: clamp(40px, 5vw, 80px); overflow: visible; }
.hero__brand { font-family: var(--marker); font-size: clamp(30px, 3vw, 44px); color: var(--blue); line-height: 1; transform: rotate(-2deg); display: inline-block; margin-bottom: 10px; }
.hero__brand small { font-family: var(--display); font-size: .5em; letter-spacing: .12em; color: var(--ink); display: block; margin-top: 6px; transform: rotate(2deg); }
.hero__title { margin-top: 10px; max-width: 12ch; }
.hero__title .ln { display: block; }
.hero__title .ln.accent { font-family: var(--marker); font-weight: 400; color: var(--blue); font-size: .98em; line-height: 1.05; }
.hero__title .hl { background: none; padding: 0; margin: 0; }
.hero__title .circle::after { display: none; }
.hero__lead { font-family: var(--display); font-size: clamp(19px, 1.35vw, 23px); max-width: 44ch; margin-top: 22px; }
.hero__meta { font-family: var(--display); font-size: 20px; letter-spacing: .06em; color: var(--ink); margin-top: 18px; }
.hero__meta span { color: var(--blue); }
.hero__visual { margin-right: 0; margin-top: 10px; }
.hero__stamp { right: 30px; top: 8px; }
.hero__postit { bottom: -6px; }
.hero__facts { font-size: 22px; }
.marquee { margin-top: clamp(30px, 5vw, 60px); }
.marquee__track span { font-family: var(--marker); font-weight: 400; }
.hero .rv { transition-delay: var(--d, 0s); }
.is-static .hero .rv { transition-delay: 0s; }

/* Kleinkram */
.btn { font-family: var(--ui); font-weight: 600; }
.stamp b { font-family: var(--marker); font-weight: 400; font-size: 32px; }
.postit { font-weight: 400; }
.num__val { font-weight: 400; }
.card__num { font-weight: 400; }
.hall__note { font-weight: 400; }
.footer { background: var(--ink); }
.footer h4 { font-weight: 400; }
.fontswitch { display: none; }
.stand .note { font-size: 32px; }
.hero__stamp { right: 150px; top: 0; }
@media (max-width: 1500px) { .bg-doodles { display: block; } }
@media (max-width: 1240px) { .bg-doodles { display: none; } }
.bg-doodles .d1, .bg-doodles .d2, .bg-doodles .d3, .bg-doodles .d4 { opacity: .8; }
@media (max-width: 1000px) { .hero__stamp { display: none; } }

/* =========================================================
   v4 – Header nach dem Aufklappen, neu aufgebaute erste Buchseite
   ========================================================= */
.header { opacity: 0; transform: translateY(-115%); transition: opacity .5s ease, transform .8s cubic-bezier(.22,1,.36,1); }
.header.is-in, .is-static .header, .no-js .header { opacity: 1; transform: none; }

/* ---------- Erste Buchseite ---------- */
.hero { padding-top: clamp(34px, 4vw, 62px); }
.hero .container { position: relative; }
.hero__page { position: relative; z-index: 2; padding-bottom: clamp(120px, 14vw, 230px); }
.hero__page::after { content: ''; display: block; clear: both; }

/* Die Szene rechts, der Text fliesst an ihrer Silhouette entlang */
.hero__art {
  float: right; position: relative; z-index: 1;
  width: min(660px, 53%); margin: 4px calc(-1 * clamp(6px, 1.5vw, 26px)) 8px clamp(20px, 3vw, 46px);
  shape-outside: polygon(30% 0%, 100% 0%, 100% 100%, 22% 100%, 6% 74%, 20% 34%);
  shape-margin: 14px;
}
.hero__art-inner { position: relative; }
.hero__art img {
  width: 100%; mix-blend-mode: multiply;
  --draw: 1;
  -webkit-mask-image: linear-gradient(102deg, #000 0 calc(var(--draw) * 122% - 20%), rgba(0,0,0,.3) calc(var(--draw) * 122% - 7%), transparent calc(var(--draw) * 122%));
  mask-image: linear-gradient(102deg, #000 0 calc(var(--draw) * 122% - 20%), rgba(0,0,0,.3) calc(var(--draw) * 122% - 7%), transparent calc(var(--draw) * 122%));
}
.hero__art .pencil { position: absolute; top: calc(52% - var(--draw, 1) * 34%); left: calc(var(--draw, 1) * 104% - 34px); width: 46px; height: 46px; opacity: 0; transition: opacity .3s; z-index: 3; }
.hero__art .pencil.is-on { opacity: 1; }
.hero__art-note { font-family: var(--marker); font-size: clamp(19px, 1.5vw, 23px); color: var(--blue); text-align: right; margin-top: -6px; padding-right: 8%; transform: rotate(-1.5deg); }
.hero__stamp { position: absolute; left: 2%; top: 4%; z-index: 4; transform: rotate(-13deg); }
.hero__bird { position: absolute; right: 12%; top: -34px; width: 60px; z-index: 4; }

/* Text */
.hero__brand { position: relative; z-index: 2; }
.hero__title { max-width: none; margin-top: 12px; }
.hero__title .ln { display: block; }
.hero__lead { max-width: 30ch; margin-top: 20px; font-size: clamp(19px, 1.5vw, 25px); line-height: 1.45; color: var(--ink); }
.hero__cta { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: 30px; clear: left; }
.hero__guide { position: absolute; left: -78px; top: -58px; width: 74px; height: 62px; color: var(--blue); opacity: .75; }
.hero__cta .postit { transform: rotate(-4deg); max-width: 210px; font-size: 20px; padding: 14px 18px 12px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 26px; font-size: 21px; }
.hero__meta { display: none; }
.hero .bee { left: auto; right: 46%; top: 42%; }

/* Pflanzenband am Fuß der Seite – der Text steht darüber */
.hero__plants { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; z-index: 1; mix-blend-mode: multiply; pointer-events: none; }
.hero__hint { position: absolute; left: 50%; transform: translateX(-50%) rotate(-1.5deg); bottom: 26px; right: auto; z-index: 3; }
.hero__hint.is-done { opacity: 0; }

@media (max-width: 1000px) {
  .hero__art { float: none; width: 100%; margin: 18px 0 0; shape-outside: none; }
  .hero__art-note { text-align: left; padding-right: 0; }
  .hero__stamp { display: block; left: auto; right: 2%; top: -10px; transform: rotate(-12deg) scale(.8); }
  .hero__bird { right: 4%; top: -24px; width: 48px; }
  .hero__lead { max-width: none; }
  .hero__guide { display: none; }
  .hero__page { padding-bottom: clamp(90px, 22vw, 160px); }
  .hero .bee { display: none; }
}
@media (max-width: 600px) {
  .hero__cta .postit { max-width: none; }
}

/* --- Feinschliff erste Seite --- */
.hero__page { padding-bottom: clamp(180px, 19vw, 300px); }
.hero__plants { height: clamp(140px, 16vw, 250px); object-fit: cover; object-position: 50% 100%; }
.hero__hint { bottom: auto; top: calc(100% - clamp(150px, 17vw, 262px)); }
.hero .bee { z-index: 5; right: 44%; top: 46%; }
@media (max-width: 1240px) { .bg-doodles { display: none; } }
@media (min-width: 1241px) and (max-width: 1620px) { .bg-doodles .d1, .bg-doodles .d2, .bg-doodles .d3, .bg-doodles .d4 { display: none; } }
@media (max-width: 1000px) {
  .hero__page { padding-bottom: clamp(120px, 26vw, 200px); }
  .hero__hint { position: static; transform: rotate(-1.5deg); display: inline-flex; margin-top: 18px; }
}
@media (max-width: 1400px) { .nav a { font-size: 19px; padding: 6px 8px; } .nav { gap: 2px; } .header__cta { font-size: 19px; } .brand { font-size: 20px; } .brand__smile { width: 26px; height: 26px; } }
@media (max-width: 1180px) { .header__bar { padding-inline: 18px; } .nav a { font-size: 18px; padding: 6px 6px; } }

/* Auf schmalen Schirmen zuerst der Text, dann die Szene */
@media (max-width: 1000px) {
  .hero__page { display: flex; flex-direction: column; }
  .hero__page::after { display: none; }
  .hero__brand { order: 1; } .hero__title { order: 2; } .hero__art { order: 3; }
  .hero__lead { order: 4; } .hero__cta { order: 5; } .hero__facts { order: 6; }
  .hero__hint { order: 7; align-self: center; }
  .hero__art { margin-top: 26px; }
  .hero__title { margin-top: 8px; }
  .hero__lead { margin-top: 22px; }
}
.hero__lead { max-width: 34ch; }
.hero .bee { right: 40%; top: 52%; }
.hero__brand { display: block; }
.hero__brand small { letter-spacing: .09em; }
.hero__brand { line-height: 1.05; }
.hero__brand small { margin-top: 10px; line-height: 1.25; }


/* =========================================================
   Finale Schriften (Entscheidung): DM Serif Display · LT Colored Pencil · Karla
   ========================================================= */
:root {
  --display: 'DM Serif Display', Georgia, serif; --display-w: 400; --display-ls: -0.01em; --display-lh: 1.02;
  --marker: 'LT Colored Pencil', 'Segoe Print', cursive; --hand: 'LT Colored Pencil', 'Segoe Print', cursive; --marker-scale: 1.16;
  --body: 'Karla', system-ui, sans-serif; --ui: 'Karla', system-ui, sans-serif;
}
body { font-size: 17.5px; line-height: 1.6; }
.display, .step h3, .ref__client, .area h3, .page .prose h2 { font-weight: var(--display-w); }
.lead, .hero__lead { font-family: var(--display); font-weight: 400; }
.h1 { font-size: clamp(44px, 5.2vw, 80px); }
.h2 { font-size: clamp(36px, 4.4vw, 64px); }
.hero__title .ln.accent { font-size: calc(.9em * var(--marker-scale)); }
.hand-em, .wd.hand-em { font-size: calc(.98em * var(--marker-scale)); }
.hero__brand { font-size: calc(clamp(30px, 3vw, 44px) * var(--marker-scale)); }
.hero__brand small { font-size: .44em; letter-spacing: .07em; }
.nav a, .header__cta { font-size: calc(20px * var(--marker-scale)); }
.hero__facts { font-size: calc(21px * var(--marker-scale)); }
.marquee__track span { font-size: calc(clamp(26px, 2.6vw, 36px) * var(--marker-scale)); }
.card__num, .step__num { font-size: calc(24px * var(--marker-scale)); }
.ref__event, .about__frame figcaption, .intro__figure figcaption, .hero__art-note { font-size: calc(21px * var(--marker-scale)); }
.postit { font-size: calc(20px * var(--marker-scale)); }
.book__cover-inner .title { font-size: calc(clamp(34px, 4vw, 60px) * var(--marker-scale)); }
/* Die duenne CI-Handschrift leicht verstaerken */
.hero__title .ln.accent, .hand-em, .wd.hand-em, .hero__brand, .nav a, .header__cta, .marquee__track span, .book__cover-inner .title, .card__num, .hall__note, .tl__year, .num__val { -webkit-text-stroke: .7px currentColor; }
.eyebrow { -webkit-text-stroke: 0; }
@media (max-width: 1400px) { .nav a { font-size: calc(18px * var(--marker-scale)); } }

/* =========================================================
   v5 – Hero: Text links oben, breite Szene rechts und unten
   ========================================================= */
.hero__page { padding-bottom: 0; display: block; }
.hero__page::after { display: none; }
.hero__copy { position: relative; z-index: 2; max-width: 46%; }
.hero__lead { max-width: 30ch; margin-top: 18px; }
.hero__cta { margin-top: 26px; }
.hero__scene { position: relative; z-index: 1; margin: clamp(-320px, -18vw, -110px) calc(-1 * clamp(6px, 1.2vw, 18px)) 0; width: auto; float: none; shape-outside: none; }
.hero__scene img { width: 100%; display: block; mix-blend-mode: multiply; }
.hero__scene .pencil { position: absolute; top: calc(70% - var(--draw, 1) * 40%); left: calc(var(--draw, 1) * 102% - 34px); width: 46px; height: 46px; opacity: 0; transition: opacity .3s; z-index: 3; }
.hero__scene .pencil.is-on { opacity: 1; }
.hero__scene .hero__art-note { position: absolute; right: 3%; bottom: -10px; margin: 0; padding: 0; text-align: right; transform: rotate(-1.5deg); }
.hero__plants, .hero__hint, .hero__facts, .hero__postit, .hero__stamp, .hero__bird, .hero .bee { display: none; }
.marquee { margin-top: clamp(24px, 3vw, 44px); }
@media (max-width: 1000px) {
  .hero__page { display: block; }
  .hero__copy { max-width: none; }
  .hero__scene { margin: 22px 0 0; }
  .hero__scene .hero__art-note { position: static; text-align: left; margin-top: 8px; }
}

/* =========================================================
   Nachhaltigkeitsseite (nachhaltigkeit.html)
   ========================================================= */
.book--sub { margin-top: calc(var(--header-h) + 34px); }
.sus-hero { position: relative; padding-top: clamp(40px, 5vw, 80px); }
.sus-hero .container { position: relative; padding-bottom: clamp(200px, 22vw, 330px); }
.sus-hero__copy { position: relative; z-index: 2; max-width: 56%; }
.sus-hero__copy .lead { margin-top: 20px; max-width: 40ch; }
.sus-hero__van { position: absolute; right: 4%; top: 6%; width: min(360px, 30%); mix-blend-mode: multiply; z-index: 1; }
.sus-hero__plants { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(150px, 18vw, 280px); object-fit: cover; object-position: 50% 100%; mix-blend-mode: multiply; pointer-events: none; z-index: 1; }
.sus-quotes__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.quote--paper { background: #fff; color: var(--gray); box-shadow: 3px 8px 20px rgba(42,39,35,.1); }
.quote--paper::before { border-color: var(--ink); }
.quote--paper p { font-family: var(--display); font-size: 19px; line-height: 1.5; }
.quote--paper p::before { color: var(--blue); }
.quote--paper footer img { border-color: var(--paper); }
.sus-steps { grid-template-columns: repeat(3, 1fr); }
.sus-blue { margin-top: clamp(64px, 7vw, 110px); padding-bottom: clamp(64px, 7vw, 110px); overflow: hidden; }
.sus-blue .sustain__art--van { width: min(300px, 26vw); right: 2%; bottom: -8px; opacity: .9; }
.sus-cta { margin-top: clamp(40px, 6vw, 70px); text-align: center; display: grid; justify-items: center; gap: 20px; }
.sus-cta .hand { max-width: 24ch; }
.book__pages > .sus-hero + section::before { display: none; }
.book__pages > .sus-hero + section::after { content: 'Seite 2'; }
@media (max-width: 1000px) {
  .sus-hero__copy { max-width: none; }
  .sus-hero__van { position: static; width: 60%; margin: 20px auto 0; display: block; }
  .sus-quotes__grid { grid-template-columns: 1fr; }
  .sus-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) { .sus-steps { grid-template-columns: 1fr; } }
.timeline__track { grid-auto-columns: minmax(150px, 1fr); min-width: 0; }
/* Multiply braucht den Buchhintergrund als Backdrop: keine eigenen Stacking-Contexts im Hero */
.hero__page, .hero__scene, .hero .container { z-index: auto; }
.hero__copy { z-index: auto; }

/* =========================================================
   v6 – Header im Notizbuch-Stil, kein Einband, Leistungen-Stapel,
   Trennlinien, Hero einzeilig, Über-uns umflossen
   ========================================================= */
:root { --header-h: 92px; }
/* Header: so breit wie das Buch, wie ein Etikett auf Papier */
.header { padding: 16px 20px 0; opacity: 1; transform: none; transition: none; }
.header__bar {
  max-width: 1300px; margin-inline: auto; padding: 12px 22px 12px 26px;
  background-color: var(--page); border: 3px solid var(--cover); border-radius: 18px;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 36px 36px;
  box-shadow: 0 10px 30px rgba(42,39,35,.12); backdrop-filter: none; -webkit-backdrop-filter: none;
}
.header.is-scrolled .header__bar { padding-block: 8px; box-shadow: 0 14px 34px rgba(42,39,35,.16); }
.brand__smile { display: none; }
.nav a { position: relative; padding: 6px 10px 10px; overflow: visible; }
.nav a::after { display: none; }
.nav a.is-active { color: var(--blue); }
.draw__box { position: absolute; left: 4px; right: 4px; bottom: 0; height: 11px; pointer-events: none; }
.draw__box svg { width: 100%; height: 100%; overflow: visible; display: block; }
.draw__box path { fill: none; stroke: var(--blue); stroke-width: 9; stroke-linecap: round; }
.book { margin-top: calc(var(--header-h) + 26px); perspective: none; }
.book--sub { margin-top: calc(var(--header-h) + 26px); }
.book__cover, .book__ribbon, .book__clip, .bg-doodles { display: none !important; }
.book__pages::before { display: none; }

/* Hero: Headline je Zeile, Szene ohne Einblendung */
.hero__copy { max-width: 82%; }
.hero__title .ln { white-space: nowrap; }
.h1 { font-size: clamp(40px, 4.9vw, 74px); }
.hero__lead { max-width: 46ch; }
.hero__scene { margin-top: clamp(-250px, -14vw, -80px); }
.hero__scene .pencil, .hero__scene .hero__art-note { display: none; }
.hero { padding-bottom: 44px; }
@media (max-width: 1000px) { .hero__title .ln { white-space: normal; } .hero__copy { max-width: none; } }

/* Laufschrift: kein Anhalten beim Hover */
.marquee:hover .marquee__track { animation-play-state: running; }

/* Trennlinien: eigener Abstand, nichts liegt darueber */
.book .section { padding-bottom: clamp(48px, 5vw, 80px); }
.book .section--pad-b { padding-bottom: clamp(64px, 7vw, 110px); }
.book__pages > section + section::before, .book__pages > .hall + section::before { left: 4%; right: 4%; }
.numbers { margin-top: clamp(56px, 7vw, 100px); padding-bottom: 30px; }
.book .hall { margin-top: clamp(40px, 5vw, 70px); }
.stack { padding-bottom: 20px; }

/* Bereiche: nur der Satz, zentriert; Bilder gleich gross mit Abstand */
.intro__claim { text-align: center; max-width: 24ch; margin: 0 auto clamp(40px, 5vw, 64px); }
.areas { margin-top: 0; }
.area { padding-top: 30px; }
.area__img { height: 200px; display: grid; place-items: center; margin-bottom: 22px; }
.area__img img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.area h3 { margin-top: 0; }

/* Leistungen: gestaffelte Breiten, kein Schatten, gleich grosse Bilder */
.section-head--wide .h2 { max-width: none; }
.stack .card { box-shadow: none; margin-inline: auto; }
.stack .card:nth-child(1) { width: 85%; top: calc(var(--header-h) + 18px); }
.stack .card:nth-child(2) { width: 90%; top: calc(var(--header-h) + 30px); }
.stack .card:nth-child(3) { width: 95%; top: calc(var(--header-h) + 42px); }
.stack .card:nth-child(4) { width: 100%; top: calc(var(--header-h) + 54px); }
.card__visual { min-height: 0; }
.card__visual img { height: clamp(200px, 22vw, 300px); width: auto; max-width: 100%; object-fit: contain; }
@media (max-width: 900px) { .stack .card { width: 100% !important; } }

/* Ueber uns: Bild rechts, Text umfliesst */
.about__flow { position: relative; }
.about__flow::after { content: ''; display: block; clear: both; }
.about__frame--float { float: right; width: min(440px, 42%); margin: 0 0 18px clamp(24px, 3vw, 48px); shape-outside: margin-box; }
.about__flow .h2 { max-width: none; }
.about__flow p { max-width: none; }
.about__flow .lead { margin-top: 18px; }
.about__flow p + p { margin-top: 14px; }
.team-strip { margin-top: clamp(40px, 5vw, 64px); }
.team-strip img { width: 100%; max-width: 100%; transform: none !important; margin: 0; }
.team-strip__cta { display: flex; justify-content: center; margin-top: 26px; }
@media (max-width: 800px) { .about__frame--float { float: none; width: 100%; margin: 0 0 22px; } }

/* Kontakt: Adresse */
.contact__address { font-style: normal; margin-top: 22px; font-size: 15px; opacity: .9; font-family: var(--ui); }

/* Team-Seite */
.team-hero { position: relative; padding-top: clamp(40px, 5vw, 80px); padding-bottom: clamp(30px, 4vw, 50px); }
.team-hero__copy { max-width: 70%; }
.team-hero__copy .lead { margin-top: 20px; max-width: 60ch; }
.team-hero__strip { margin-top: clamp(30px, 4vw, 50px); }
.team-hero__strip img { width: 100%; }
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 22px; }
.people--lead { grid-template-columns: repeat(2, minmax(0, 360px)); }
.person { position: relative; background: #fff; padding: 12px 12px 10px; border-radius: 3px; box-shadow: 3px 8px 20px rgba(42,39,35,.1); transform: rotate(var(--rot, -1.2deg)); margin: 0; }
.person:nth-child(2n) { --rot: 1.1deg; } .person:nth-child(3n) { --rot: -.6deg; } .person:nth-child(5n) { --rot: 1.6deg; }
.person img { width: 100%; aspect-ratio: 250 / 166; object-fit: cover; border-radius: 2px; }
.person figcaption { padding: 10px 2px 2px; font-family: var(--ui); font-size: 15px; }
.person figcaption b { display: block; font-family: var(--marker); font-size: 22px; color: var(--blue); -webkit-text-stroke: .6px currentColor; font-weight: 400; }
.person figcaption span { color: var(--muted); font-size: 14px; }
.person--big img { aspect-ratio: 250 / 166; }
.team-people__note { margin-top: clamp(40px, 5vw, 60px); }
/* Chronik untereinander */
.chrono { position: relative; margin-top: 10px; padding-left: clamp(90px, 12vw, 150px); }
.chrono::before { content: ''; position: absolute; left: clamp(64px, 9vw, 112px); top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: repeating-linear-gradient(var(--blue) 0 10px, transparent 10px 18px); opacity: .6; }
.chrono__item { position: relative; padding: 0 0 clamp(26px, 3vw, 40px) 0; max-width: 62ch; }
.chrono__item::before { content: ''; position: absolute; left: calc(-1 * (clamp(90px, 12vw, 150px) - clamp(64px, 9vw, 112px)) - 6px); top: 10px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--blue); background: var(--yellow); }
.chrono__year { position: absolute; left: calc(-1 * clamp(90px, 12vw, 150px)); top: -2px; font-family: var(--marker); font-size: 28px; color: var(--blue); -webkit-text-stroke: .7px currentColor; }
.chrono__text { font-family: var(--ui); font-size: 16px; line-height: 1.6; color: var(--gray); }
@media (max-width: 900px) { .people { grid-template-columns: repeat(2, 1fr); } .team-hero__copy { max-width: none; } }
@media (max-width: 560px) { .people, .people--lead { grid-template-columns: 1fr; } .chrono { padding-left: 70px; } .chrono::before { left: 46px; } .chrono__year { left: -70px; font-size: 22px; } .chrono__item::before { left: -30px; } }
.is-static .hero .rv, .is-static .rv { opacity: 1; transform: none; transition: none; }
.header { padding-inline: 0; }
@media (max-width: 1340px) { .header { padding-inline: 14px; } .book { margin-inline: 14px; } }
@media (max-width: 900px) { .header { padding-inline: 10px; } .book { margin-inline: 10px; } }
@media (max-width: 1000px) { .hero__scene { margin-top: 22px; } }
/* Skizze im Kontaktbereich: unten links statt unten rechts */
.contact__doodle { right: auto; left: clamp(16px, 3vw, 48px); bottom: -14px; width: min(220px, 20vw); }
.intro__claim { max-width: 22ch; }
.intro__claim .hand-em, .intro__claim .wd.hand-em { white-space: nowrap; }
.intro__claim { line-height: 1.06; }
.intro__claim .hand-em, .intro__claim .wd.hand-em { line-height: .78; display: inline-block; margin-top: -.1em; }
/* Hero: nur noch die gerade Bereichszeile, dicht an der Überschrift */
.hero__kicker { font-family: var(--display); font-weight: var(--display-w); font-size: clamp(17px, 1.5vw, 22px); letter-spacing: .06em; color: var(--ink); line-height: 1.3; transform: none; margin: 0 0 4px; }
.hero__title { margin-top: 2px; }
/* Handschrift hat sehr enge Seitenränder: etwas Luft zum vorangehenden Serif-Wort,
   aber nicht, wenn sie eine Zeile beginnt. */
.hand-em, .wd.hand-em { margin-left: .18em; }
br + .hand-em, .ln .wd.hand-em:first-child, .intro__claim .hand-em { margin-left: 0; }
/* Foto Bruno & Nikolaus: Skizze am Rand, zweizeilige Bildunterschrift */
.about__frame { overflow: visible; }
.about__sticker { position: absolute; left: -38px; bottom: 30px; width: 118px; transform: rotate(-13deg); mix-blend-mode: multiply; z-index: 2; right: auto; top: auto; }
.about__frame figcaption b { display: block; font-weight: 400; }
.about__frame figcaption span { display: block; font-family: var(--ui); font-size: 14px; color: var(--muted); margin-top: 2px; letter-spacing: 0; -webkit-text-stroke: 0; }
@media (max-width: 800px) { .about__sticker { left: auto; right: -18px; bottom: 40px; width: 96px; } }
/* Skizze am Foto: Basisregel .about__frame img ueberschreiben */
.about__frame .about__sticker { width: 118px; height: auto; aspect-ratio: auto; object-fit: contain; border-radius: 0; }
/* Team-Button in die Luecke zwischen Drohne und Windrad */
.team-strip { position: relative; }
.team-strip__cta { position: absolute; left: 50%; top: 9%; transform: translateX(-50%); margin: 0; z-index: 2; }
@media (max-width: 700px) { .team-strip__cta { position: static; transform: none; display: flex; justify-content: center; margin-top: 18px; } }
.about__sticker { left: auto; bottom: auto; right: -30px; top: -26px; transform: rotate(11deg); }
@media (max-width: 800px) { .about__sticker { right: -12px; top: -18px; width: 96px; bottom: auto; left: auto; } }
/* Die Hero-Szene liegt über dem Text, darf aber keine Klicks abfangen */
.hero__scene, .hero__scene img { pointer-events: none; }
.hero__copy { position: relative; z-index: 2; }
/* Kicker-Zeile im Hero (ersetzt die handschriftliche Marke) */
.hero__kicker { font-family: var(--display); font-size: clamp(18px, 1.4vw, 22px); letter-spacing: .09em; color: var(--ink); margin: 0 0 14px; }
@media (max-width: 1000px) { .hero__kicker { order: 1; } }
/* Die Szene blendet zusammen mit Kicker, Headline und Buttons ein. Die Klasse rv liegt auf dem
   Bild selbst, nicht auf der figure: Opacity auf einem Elternelement isoliert das Multiply-Blending
   und das Weiss des Bildes waere waehrend der Einblendung sichtbar. */
/* Noch nicht geladene Bilder zeigen Papier statt Durchblick */
.ref__media img, .about__frame img, .person img, .partner img, .quote footer img, .contact__person img { background-color: var(--page); }

/* =========================================================
   Header (Variante C: weißes Etikett) und CTA als normaler Button
   ========================================================= */
.header__cta {
  --btn-bg: var(--blue); --btn-fg: #fff; --btn-border: var(--blue); --btn-hover: var(--blue-700);
  font-family: var(--ui); font-weight: 600; font-size: 15px; letter-spacing: .02em; padding: 11px 18px;
  border: 2px solid var(--blue); border-radius: var(--doodle-radius); background: var(--blue); color: #fff;
  filter: url(#sketchy); box-shadow: 3px 3px 0 var(--yellow); -webkit-text-stroke: 0; position: relative;
}
.header__cta::after { display: none; }
.header__cta:hover { background: var(--blue-700); border-color: var(--blue-700); color: #fff; transform: translate(-1px, -2px) rotate(-1deg); box-shadow: 5px 6px 0 var(--yellow); }
.header__cta span { display: inline-block; transition: transform .3s var(--ease); margin-left: 4px; }
.header__cta:hover span { transform: translateX(3px); }

/* Weißes Etikett mit Tintenrand und Papierschatten, etwas breiter als das Buch */
.header__bar { max-width: 1380px; background: #fff; background-image: none; border: 2px solid var(--ink); border-radius: 14px; box-shadow: 5px 6px 0 rgba(42,39,35,.12); padding: 14px 22px 14px 26px; }
.header.is-scrolled .header__bar { padding-block: 10px; box-shadow: 4px 5px 0 rgba(42,39,35,.14); }
/* Links optisch mittig: symmetrische Polsterung, Zeichenlinie sitzt knapp darunter */
.nav { align-items: center; }
.nav a { padding: 9px 10px; line-height: 1.1; }
.draw__box { bottom: 1px; height: 10px; }
@media (max-width: 1440px) { .header { padding-inline: 14px; } .book { margin-inline: 54px; } }
@media (max-width: 900px) { .header { padding-inline: 10px; } .book { margin-inline: 10px; } }
.team-strip__cta { top: calc(9% + 100px); }
/* Handschrift, die sich selbst schreibt */
.hw { display: inline-block; overflow: visible; color: inherit; max-width: 100%; }
.hw__fill { fill: currentColor; stroke: none; opacity: 0; transition: opacity .45s ease-out; }
.hw__stroke { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.hw.is-inked .hw__fill, .hw.is-done .hw__fill { opacity: 1; }
.hw.is-done .hw__stroke { stroke-dashoffset: 0 !important; transition: none !important; }
.intro__claim .hand-em.has-hw { display: block; margin: .1em auto 0; -webkit-text-stroke: 0; }
/* Der gelbe Zettel steht dort, wo vorher der Gabelstapler stand */
.hall__note { left: auto; right: 26%; bottom: 16px; transform: rotate(-2deg); }
@media (max-width: 900px) { .hall__note { right: auto; left: 50%; transform: translateX(-50%) rotate(-2deg); font-size: 22px; } }

/* =========================================================
   Standort: Polaroid links, Steckbrief mit Zahlen rechts
   ========================================================= */
.loc__grid { display: grid; grid-template-columns: .95fr 1fr; gap: clamp(30px, 4vw, 64px); align-items: center; }
.loc__frame { position: relative; background: #fff; padding: 16px 16px 8px; transform: rotate(-1.8deg); box-shadow: 0 18px 40px rgba(35,39,42,.16); margin: 0; }
.loc__frame img { width: 100%; display: block; background-color: var(--page); }
.loc__frame figcaption { font-family: var(--marker); font-size: 20px; color: var(--blue); text-align: center; padding: 10px 0 6px; }
.loc__copy { position: relative; }
.loc__copy .h2 { font-size: clamp(30px, 2.9vw, 46px); }
.loc__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.loc__facts .num { background: #ffe27a; padding: 18px 10px 16px; text-align: center; }
.loc__facts .num:nth-child(1) { --rot: -2deg; }
.loc__facts .num:nth-child(2) { --rot: 1.5deg; }
.loc__facts .num:nth-child(3) { --rot: -1deg; }
.loc__facts .num__val { font-family: var(--display); font-size: 34px; line-height: 1; }
.loc__facts .num__val sup { font-family: var(--marker); font-size: 17px; vertical-align: top; }
.loc__facts .num__label { font-family: var(--ui); font-size: 13px; margin-top: 6px; letter-spacing: .02em; }
.loc__foot { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; }
.loc__foot address { font-style: normal; font-family: var(--ui); font-size: 15px; line-height: 1.7; color: var(--gray); }
.loc__foot strong { color: var(--ink); }
/* Der Sternenkreis haengt ueber der oberen rechten Ecke des Polaroids */
.loc__sticker { position: absolute; left: -150px; top: 44px; width: 122px; transform: rotate(-8deg); mix-blend-mode: multiply; }
@media (max-width: 900px) {
  .loc__grid { grid-template-columns: 1fr; }
  .loc__sticker { display: none; }
  .loc__facts { gap: 10px; }
}
@media (max-width: 560px) { .loc__facts { grid-template-columns: 1fr 1fr; } .loc__facts .num:last-child { grid-column: span 2; } }

/* Die geschriebene Zeile erbt die Farbe des .hand-em (blau, auf blauen Seiten gelb) */
.intro__claim .hand-em.has-hw .hw { display: block; margin: 0 auto; }

/* Referenzen: Kopfzeile oben ausrichten statt unten, damit die Ueberschrift
   hoeher steht, und Luft fuer die Unterlaengen der Handschrift */
.refs-section .section-head--split { align-items: start; }
.refs-section .section-head--split .h2 { padding-bottom: .12em; }

/* Der Team-Button steht auf der Skizze, dort braucht der gelbe Papierschatten mehr Kante */
.team-strip__cta .btn { box-shadow: 6px 7px 0 var(--yellow); }
.team-strip__cta .btn:hover { box-shadow: 8px 9px 0 var(--yellow); }

/* Karten-Ueberschriften stehen genau auf den zwei Zeilen, die im Text gesetzt sind */
.card__title { max-width: none; }
.stack .card__title { font-size: clamp(26px, 2.3vw, 36px); }

/* Ueber uns: die Ueberschrift steht neben dem Bild, darum kleiner, damit
   beide Teile je auf einer Zeile stehen und direkt untereinander sitzen */
.about__flow .h2 { font-size: clamp(28px, 2.9vw, 46px); line-height: 1.06; }
.team-hero .h1 { font-size: clamp(32px, 4vw, 58px); }
/* Warum: beide Teile untereinander, zentriert (die Sektion ist bereits zentriert) */
.why__inner .h2 { text-align: center; }
/* Die Warum-Ueberschrift darf die volle Breite nutzen, sonst wird die
   geschriebene Zeile unnoetig kleingerechnet */
.why__inner .h2 { width: min(100%, 1000px); }

/* =========================================================
   Footer: zweites Etikett unter dem Buch, Gegenstueck zum Header
   ========================================================= */
.footer { background: transparent; color: var(--ink); padding: 0 0 36px; margin-top: -26px; }
@media (max-width: 1440px) { .footer { padding-inline: 14px; } }
@media (max-width: 900px) { .footer { padding-inline: 10px; } }
.footer__bar { max-width: 1380px; margin: 0 auto; background: #fff; border: 2px solid var(--ink); border-radius: 14px; box-shadow: 5px 6px 0 rgba(42,39,35,.12); padding: 14px 22px 16px 26px; }
.footer__row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; }
.footer__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; margin-inline: auto; }
.footer__nav a { position: relative; font-family: var(--marker); font-size: calc(19px * var(--marker-scale)); color: var(--ink); padding: 9px 10px; line-height: 1.1; -webkit-text-stroke: .7px currentColor; }
.footer__nav a:hover { color: var(--blue); }
.footer__row--meta { margin-top: 12px; padding-top: 14px; border-top: 2px dashed rgba(0,105,180,.3); justify-content: space-between; }
.footer__contact { font-style: normal; font-family: var(--ui); font-size: 14px; color: var(--gray); display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer__contact a { color: var(--ink); }
.footer__contact a:hover { color: var(--blue); }
.footer__claim { margin: 0; font-family: var(--marker); font-size: 21px; color: var(--blue); transform: rotate(-1.2deg); transform-origin: right center; }
.footer .footer__bottom { margin-top: 12px; padding-top: 12px; border-top: 2px dashed rgba(0,105,180,.3); font-family: var(--ui); font-size: 13px; color: var(--gray); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; }
.footer .footer__bottom a { color: var(--ink); }
.footer .footer__bottom a:hover { color: var(--blue); text-decoration: none; }
@media (max-width: 900px) {
  .footer__row { justify-content: center; text-align: center; }
  .footer__nav { justify-content: center; margin-inline: 0; width: 100%; }
  .footer__row--meta { justify-content: center; }
  .footer__contact { justify-content: center; }
  .footer__claim { transform: none; }
  .footer .footer__bottom { justify-content: center; text-align: center; }
}
/* Im Footer bleibt der Erstgespraech-Button auch auf schmalen Bildschirmen stehen,
   der Header blendet ihn dort zugunsten des Menues aus */
@media (max-width: 1120px) { .footer .header__cta { display: inline-flex; } }

/* =========================================================
   Karriereseite (karriere.html): Aushänge am schwarzen Brett
   ========================================================= */
.k-hero { position: relative; padding-top: clamp(40px, 5vw, 80px); padding-bottom: clamp(30px, 4vw, 50px); }
.k-hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 60px); align-items: center; }
.k-hero__copy .lead { margin-top: 20px; max-width: 56ch; }
.k-hero__copy .hero__cta { margin-top: 26px; }
.k-hero__art { width: 100%; mix-blend-mode: multiply; }
.k-hero .h1 { font-size: clamp(34px, 4.4vw, 64px); }
.book__pages > .k-hero + section::before { display: none; }
.book__pages > .k-hero + section::after { content: 'Seite 2'; }
@media (max-width: 900px) { .k-hero .container { grid-template-columns: 1fr; } }

/* Listen und Fließtext in den Aushängen */
.k-h4 { font-family: var(--marker); font-weight: 400; font-size: 22px; color: var(--blue); margin: 18px 0 8px; -webkit-text-stroke: .5px currentColor; }
.klist { display: grid; gap: 7px; padding-left: 0; list-style: none; font-family: var(--ui); font-size: 15.5px; line-height: 1.5; color: var(--gray); }
.klist li { position: relative; padding-left: 24px; }
.klist li::before { content: ''; position: absolute; left: 2px; top: .55em; width: 12px; height: 8px; border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(-48deg) skewX(-8deg); border-radius: 1px; }
.k-text { font-family: var(--ui); font-size: 16px; line-height: 1.65; color: var(--gray); margin-top: 14px; max-width: 70ch; }
.k-text b { color: var(--ink); font-weight: 600; }
.k-stand { font-family: var(--ui); font-size: 12.5px; color: var(--muted); margin-top: 16px; letter-spacing: .03em; }
.k-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 28px; margin-top: 8px; }
.k-cols--2 { grid-template-columns: 1fr 1fr; }
.k-text--video { margin-top: 20px; }
@media (max-width: 800px) { .k-cols, .k-cols--2 { grid-template-columns: 1fr; } }

/* Aushang */
.k-notice { position: relative; background: #fff; border-radius: 3px; padding: clamp(24px, 3vw, 44px) clamp(22px, 3vw, 44px) clamp(26px, 3vw, 40px); box-shadow: 3px 8px 22px rgba(42,39,35,.12); transform: rotate(var(--rot, -.6deg)); }
.k-notice .h3 { font-size: clamp(24px, 2.4vw, 34px); margin-top: 6px; max-width: 24ch; }
/* Der Zettel klebt in der oberen linken Ecke, das Klebeband weicht nach rechts aus */
.k-notice__post { position: absolute; left: 20px; right: auto; top: -22px; transform: rotate(-3deg); max-width: 230px; font-size: 19px; padding: 14px 16px 12px; z-index: 3; }
.k-notice .tape--t { left: auto; right: 12%; transform: rotate(-3deg); }
.k-notice .btn { margin-top: 22px; }
.k-notice__cta { max-width: 60ch; }
/* Offene Stelle: Kopf zweispaltig, die drei Listen darunter über die volle Breite */
.k-notice--job { --rot: -.4deg; margin-top: 10px; }
.k-notice__top { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(20px, 3vw, 44px); align-items: center; }
.k-notice__art { width: 100%; max-width: 330px; margin-left: auto; display: block; mix-blend-mode: multiply; }
.k-notice__lists { margin-top: clamp(22px, 3vw, 34px); padding-top: clamp(20px, 2.5vw, 30px); border-top: 2px dashed rgba(0,105,180,.35); }
/* Angepinnte Zettel für Ausbildung und Studium */
.k-board--2 .section-head { margin-top: 10px; }
.k-pins { display: grid; grid-template-columns: 1fr 1fr; gap: 52px 30px; margin-top: 40px; }
.k-pins .k-notice:nth-child(1) { --rot: .7deg; }
.k-pins .k-notice:nth-child(2) { --rot: -.8deg; }
.k-pins .k-notice:nth-child(3) { --rot: .5deg; }
.k-pins .k-notice:nth-child(4) { --rot: -.5deg; }
.k-pins .k-notice__post { max-width: 200px; font-size: 18px; }
.k-pins .k-cols--2 { grid-template-columns: 1fr; }
@media (max-width: 1000px) { .k-pins { grid-template-columns: 1fr; } .k-notice__top { grid-template-columns: 1fr; } .k-notice__art { max-width: 240px; margin-inline: auto 0; } }

/* Und sonst? (blaue Seite) */
.k-sonst { margin-top: clamp(64px, 7vw, 110px); padding-bottom: clamp(64px, 7vw, 110px); overflow: hidden; position: relative; }
.k-sonst__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 80px); align-items: start; position: relative; z-index: 1; }
/* Klein und tief genug, damit die Skizze nicht in der Liste daneben liegt */
.k-sonst__art { position: absolute; right: 2%; bottom: -30px; width: min(140px, 12vw); opacity: .8; pointer-events: none; z-index: 0; }
.k-offer { list-style: none; padding: 0; margin-top: 14px; display: grid; gap: 12px; counter-reset: offer; }
.k-offer li { counter-increment: offer; position: relative; background: rgba(255,255,255,.1); border: 2px solid rgba(255,255,255,.65); border-radius: var(--doodle-radius); padding: 14px 18px 14px 58px; font-family: var(--ui); font-size: 15px; line-height: 1.55; color: #fff; filter: url(#sketchy); }
.k-offer li:nth-child(even) { border-radius: var(--doodle-radius-2); }
.k-offer li::before { content: counter(offer); position: absolute; left: 16px; top: 12px; font-family: var(--marker); font-size: 26px; color: var(--yellow); }
@media (max-width: 900px) { .k-sonst__grid { grid-template-columns: 1fr; } .k-sonst__art { display: none; } }

/* Bewerbung */
.k-apply__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.k-apply__adr { font-style: normal; font-family: var(--ui); font-size: 14px; color: var(--gray); margin-top: 22px; }
.k-apply__person { max-width: 360px; justify-self: end; }
.k-apply__person figcaption span a { color: var(--blue); }
@media (max-width: 900px) { .k-apply__grid { grid-template-columns: 1fr; } .k-apply__person { justify-self: start; } }

/* =========================================================
   News (news.html): Brett mit Post-its links, Lesezettel rechts
   ========================================================= */
.n-hero { position: relative; padding-top: clamp(40px, 5vw, 80px); padding-bottom: clamp(20px, 3vw, 40px); }
.n-hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 60px); align-items: center; }
.n-hero__copy .lead { margin-top: 20px; max-width: 52ch; }
.n-hero__art { width: min(420px, 100%); justify-self: center; }
.book__pages > .n-hero + section::before { display: none; }
.book__pages > .n-hero + section::after { content: 'Seite 2'; }
@media (max-width: 900px) { .n-hero .container { grid-template-columns: 1fr; } .n-hero__art { width: 60%; } }

/* Brett und Lesezettel */
.n-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 36px; align-items: start; margin-top: 34px; }
.n-grid { grid-template-columns: 1fr 1fr; margin-top: 0; gap: 30px 20px; align-items: start; }

/* Post-it: derselbe Zettel wie die drei Bereiche auf der Startseite */
.n-post { cursor: pointer; padding: 22px 16px 18px; text-align: left; color: inherit; display: block; }
.n-post:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.n-post__img { height: 120px; margin-bottom: 12px; display: grid; place-items: center; overflow: hidden; border-radius: 2px; }
.n-post__img img { width: 100%; height: 100%; object-fit: cover; background-color: var(--page); }
.n-post--sketch .n-post__img img { object-fit: contain; height: 100%; width: auto; mix-blend-mode: multiply; }
.n-post .h4 { font-size: 19px; line-height: 1.15; }
.n-post__details summary { list-style: none; cursor: pointer; }
.n-post__details summary::-webkit-details-marker { display: none; }
.n-post__teaser { display: block; margin-top: 8px; font-family: var(--ui); font-size: 15.5px; color: var(--gray); line-height: 1.55; }
.n-post .link-arrow { display: inline-flex; margin-top: 8px; font-size: 14px; }
.n-post__full { margin-top: 14px; font-family: var(--ui); font-size: 15.5px; line-height: 1.65; color: var(--gray); }
.n-post__close { display: none; position: absolute; right: 14px; top: 10px; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.n-post.is-active { transform: rotate(0) translateY(-4px); box-shadow: 0 0 0 3px var(--blue), 3px 6px 18px rgba(35,39,42,.12); }
/* Mit JS steckt die Langfassung im Lesezettel, ohne JS steht sie im Zettel */
html.js .n-post__teaser { display: none; }
html.js .n-post__full { display: none; }

.n-reader { position: sticky; top: calc(var(--header-h) + 20px); background: #fff; padding: clamp(26px, 3vw, 44px); border-radius: 3px; box-shadow: 3px 8px 22px rgba(42,39,35,.12); transform: rotate(.4deg); min-height: 300px; }
.n-reader.is-fresh { animation: n-fresh .4s ease-out; }
@keyframes n-fresh { from { opacity: .2; transform: rotate(.4deg) translateY(10px); } }
.n-reader__fig { margin: 0 0 20px; max-height: 320px; overflow: hidden; border-radius: 2px; }
.n-reader__fig img { width: 100%; height: 100%; object-fit: cover; display: block; }
.n-reader .h3 { font-size: clamp(24px, 2.2vw, 34px); max-width: 22ch; }
.n-reader p { font-family: var(--ui); font-size: 16px; line-height: 1.7; color: var(--gray); margin-top: 14px; }
.n-reader a, .n-post__full a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.n-reader blockquote, .n-post__full blockquote { margin: 16px 0 0; padding: 16px 20px; border-left: 3px solid var(--yellow); background: rgba(255,226,122,.18); border-radius: 2px; font-style: normal; }
.n-reader blockquote p, .n-post__full blockquote p { font-family: var(--ui); line-height: 1.7; margin-top: 10px; }
.n-reader blockquote p:first-child, .n-post__full blockquote p:first-child { margin-top: 0; }
.n-reader blockquote footer, .n-post__full blockquote footer { margin-top: 10px; font-family: var(--marker); color: var(--blue); font-size: 20px; }

/* Schmaler Schirm: kein Platz für den Lesezettel, der Zettel klappt selbst auf */
@media (max-width: 900px) {
  .n-layout { grid-template-columns: 1fr; }
  .n-reader { display: none; }
  html.js .n-post__teaser { display: block; }
  .n-post.is-open { grid-column: 1 / -1; cursor: default; transform: rotate(0); padding-top: 30px; }
  html.js .n-post.is-open .n-post__full { display: block; }
  .n-post.is-open .n-post__teaser, .n-post.is-open .link-arrow { display: none; }
  .n-post.is-open .n-post__close { display: grid; place-items: center; }
  .n-post.is-open .n-post__img { height: 200px; }
}
@media (max-width: 560px) { .n-grid { grid-template-columns: 1fr; } }

/* Sonderveranstaltungen */
.n-events__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 30px; }
.n-event { position: relative; display: grid; grid-template-columns: 150px 1fr; gap: 22px; align-items: center; background: #fff; border: 2px solid var(--ink); border-radius: 22px; padding: 28px 26px; box-shadow: 5px 6px 0 rgba(42,39,35,.12); transform: rotate(-.5deg); }
.n-event:nth-child(2) { transform: rotate(.6deg); }
.n-event--past { opacity: .72; background: var(--paper); }
.n-event__post { position: absolute; left: 18px; top: -20px; font-size: 17px; padding: 12px 14px 10px; max-width: 170px; }
.n-event--past .n-event__post { background: #e8e4d9; }
.n-event__img img { max-width: 100%; max-height: 130px; }
.n-event .h4 { font-size: clamp(20px, 1.8vw, 26px); }
.n-event__when { font-family: var(--marker); font-size: 20px; color: var(--blue); margin-top: 6px; }
.n-event .btn { margin-top: 16px; }
.n-event__note { font-family: var(--ui); font-size: 14.5px; color: var(--gray); margin-top: 10px; }
@media (max-width: 900px) { .n-events__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .n-event { grid-template-columns: 1fr; } }

/* =========================================================
   Mobil: Ueberlaeufe, Tap-Ziele, Rechtstexte
   ========================================================= */
/* Die Kicker-Zeile ist inline-flex; seit die Woerter einzelne Spans sind, muss sie umbrechen duerfen */
.eyebrow { flex-wrap: wrap; row-gap: 2px; max-width: 100%; }
/* Rasterzellen duerfen schmaler werden als ihr laengster Inhalt */
.sustain__grid > *, .about__grid > *, .contact__grid > *, .k-sonst__grid > *, .n-layout > *, .loc__grid > * { min-width: 0; }
/* Gedrehte Zettel, Tape und die Laufschrift ragen ein paar Pixel ueber den Rand.
   clip statt hidden, damit position: sticky weiter funktioniert. */
html, body { overflow-x: clip; }
@supports not (overflow-x: clip) { html, body { overflow-x: hidden; } }
/* Rechtstexte: URLs und E-Mail-Adressen brechen um, die Ueberschrift passt in die Zeile */
.page .prose, .page .prose p, .page .prose li { overflow-wrap: anywhere; hyphens: auto; }
.page .h1 { overflow-wrap: anywhere; }
@media (max-width: 560px) { .page .h1 { font-size: clamp(30px, 9vw, 40px); } }
/* Tap-Ziele: mindestens 44 px hoch, ohne das Schriftbild zu aendern */
@media (max-width: 1120px) {
  .link-arrow { min-height: 44px; padding-block: 8px; }
  .contact__direct a { min-height: 44px; padding-block: 6px; }
  .footer__contact a, .footer .footer__bottom a { display: inline-block; padding: 10px 6px; margin: -6px -2px; }
  .footer__nav a { padding: 12px 12px; }
  .filters button { min-height: 44px; }
  .to-top { width: 52px; height: 52px; }
}
/* Zeitstrahl: innerhalb des Buchs scrollen, mit Einrasten und Hinweis */
.timeline { max-width: 100%; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.timeline .tl { scroll-snap-align: start; }
@media (max-width: 900px) {
  .timeline::after { content: 'Zum Weiterlesen wischen →'; display: block; margin-top: 10px; font-family: var(--marker); font-size: 18px; color: var(--blue); }
}
/* Rechtstexte: „Datenschutzerklärung" ist ein Wort, es darf auf dem Handy brechen */
.page h1, .page .h1 { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 560px) { .page h1, .page .h1 { font-size: clamp(28px, 8.5vw, 38px); } }
/* Nachhaltigkeit auf dem Handy: die weisse Skizze war so gross wie der ganze Schirm */
@media (max-width: 900px) {
  .sustain__art--van { width: min(240px, 56%); margin: 18px auto 0; display: block; opacity: .9; }
  .sustain__art--bird { display: none; }
}
/* Alle Bilder tragen jetzt width/height gegen Layout-Springen. Wo CSS nur die Breite
   setzt, muss die Hoehe mitlaufen, sonst zieht das Attribut das Bild in die Laenge. */
img { height: auto; }
/* Bilder mit Hoehenbegrenzung: Breite mitlaufen lassen, sonst werden sie gestaucht */
.n-event__img img, .k-station__img img, .step__img img, .n-post--sketch .n-post__img img { width: auto; height: auto; max-width: 100%; object-fit: contain; }
.n-event__img img { max-height: 130px; }
