/* ==========================================================================
   DAA – Digital Advertising Agency
   Ein Stylesheet, keine Frameworks. Farben/Abstände zentral als Variablen.
   ========================================================================== */

/* ---- Schriften (lokal, OFL-Lizenz) ---- */
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin-wdth.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/figtree-latin.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/figtree-latin-italic.woff2") format("woff2");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}

/* ---- Design-Tokens ---- */
:root {
  --paper: #f8f8f4;
  --paper-2: #efefe9;
  --ink: #181818;
  --ink-2: #3a3a37;
  --muted: #5c5c57;          /* 6.4:1 auf --paper */
  --line: #d9d9d1;
  --dark: #121212;
  --on-dark: #f8f8f4;
  --on-dark-muted: #a8a8a1;  /* 7.9:1 auf --dark */
  --line-dark: #2e2e2c;
  --focus: #2f6bff;

  --font-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(64px, 10vw, 136px);
  --radius: 4px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---- Basis ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
main:focus { outline: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
dl, dd { margin: 0; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(760px + 2 * var(--gutter)); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

/* ---- Typografie ---- */
.display {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -.01em;
  line-height: .98;
  text-wrap: balance;
}
.h1 { font-size: clamp(2.25rem, 1.4rem + 4.4vw, 5rem); }
.h2 { font-size: clamp(1.9rem, 1.3rem + 3vw, 3.75rem); }
.h3 { font-family: var(--font-display); font-stretch: 112%; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); text-transform: uppercase; }
.display + .lead { margin-top: 1.25rem; }
.lead { font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); line-height: 1.5; color: var(--ink-2); max-width: 46ch; text-wrap: pretty; }
.eyebrow {
  font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.25rem;
}

/* ---- Buttons & Links ---- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--paper); --btn-bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 1.5rem;
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  border-radius: 999px; font-weight: 600; font-size: .9375rem; letter-spacing: .02em;
  text-decoration: none; transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); --btn-bg: #000; }
.btn--small { min-height: 40px; padding: 0 1.1rem; font-size: .875rem; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); }
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--paper); }
.btn--light { --btn-bg: var(--on-dark); --btn-fg: var(--dark); --btn-bd: var(--on-dark); }
.btn--light:hover { --btn-bg: #fff; }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--on-dark); --btn-bd: var(--on-dark-muted); }
.btn--ghost-light:hover { --btn-bg: var(--on-dark); --btn-fg: var(--dark); }

.link-arrow { font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-arrow::after { content: "→"; display: inline-block; margin-left: .4em; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: block; flex-shrink: 0; }
.brand img { width: 92px; height: auto; }

.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 36px); }
.site-nav__list { display: flex; gap: clamp(14px, 2vw, 30px); list-style: none; }
.site-nav__list a { text-decoration: none; font-weight: 500; font-size: .9375rem; padding: 6px 0; border-bottom: 1.5px solid transparent; }
.site-nav__list a:hover, .site-nav__list a[aria-current="page"] { border-bottom-color: currentColor; }

.nav-toggle { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px; text-decoration: none; font-weight: 600; background: none; border: 0; color: inherit; font: inherit; cursor: pointer; }
.nav-toggle__icon, .nav-toggle__icon::before, .nav-toggle__icon::after {
  display: block; width: 22px; height: 1.5px; background: currentColor; position: relative; transition: transform .25s var(--ease), background .2s;
}
.nav-toggle__icon::before, .nav-toggle__icon::after { content: ""; position: absolute; left: 0; }
.nav-toggle__icon::before { top: -7px; }
.nav-toggle__icon::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; }
  /* Mit JavaScript: ausklappbares Menü */
  .site-nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 24px;
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
    background: var(--paper); padding: 24px var(--gutter) 40px; overflow-y: auto;
    border-top: 1px solid var(--line);
  }
  .site-nav.is-open .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav.is-open .site-nav__list a {
    display: block; padding: 16px 0; border-bottom: 1px solid var(--line);
    font-family: var(--font-display); font-stretch: 118%; text-transform: uppercase; font-size: 1.5rem; font-weight: 600;
  }
  .site-nav.is-open .btn { align-self: flex-start; }
  body.nav-open { overflow: hidden; }
}

/* ---- Abschnitte ---- */
.section { padding-block: var(--section-y); }
.section--first { padding-top: clamp(40px, 6vw, 80px); }
.section--line { border-top: 1px solid var(--line); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--dark .lead, .section--dark p { color: var(--on-dark-muted); }
.section--dark a:not(.btn) { color: var(--on-dark); }
.section-head { display: grid; gap: 16px 48px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head p { color: var(--muted); max-width: 46ch; margin: 0; }
@media (min-width: 900px) {
  .section-head { grid-template-columns: 1fr minmax(0, 400px); align-items: end; }
  .section-head--page { grid-template-columns: 1fr; }
}
.section-more { margin: 40px 0 0; }

/* ---- Hero ---- */
.hero { padding-top: clamp(40px, 7vw, 96px); padding-bottom: clamp(56px, 8vw, 112px); overflow: hidden; }
.hero__claim { font-size: clamp(2.6rem, 1rem + 7.4vw, 8.25rem); max-width: 12ch; }
.hero__intro { display: grid; gap: 0 48px; margin-top: clamp(28px, 4vw, 48px); }
.hero__intro .lead { margin: 0; }
@media (min-width: 900px) {
  .hero__intro { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .hero__intro .btn-row { margin-top: 0; }
}
.hero__gallery {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 24px);
  margin-top: clamp(40px, 6vw, 80px);
}
.hero__shot { margin: 0; position: relative; }
.hero__shot img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.hero__shot:nth-child(2) { transform: translateY(clamp(16px, 3vw, 48px)); }
.hero__shot figcaption { margin-top: 10px; font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 639px) {
  .hero__gallery {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%;
    overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px;
    scroll-padding-inline: var(--gutter);
  }
  .hero__shot { scroll-snap-align: start; }
  .hero__shot:nth-child(2) { transform: none; }
}

/* ---- Leistungen (dunkel) ---- */
.split { display: grid; gap: clamp(40px, 6vw, 96px); }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; }
  .split--top { align-items: start; }
}
.split .lead { margin: 24px 0 0; }
.split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.services { list-style: none; margin-top: clamp(32px, 4vw, 48px); counter-reset: svc; }
.services__item { counter-increment: svc; display: grid; grid-template-columns: 3.25rem 1fr; padding: 22px 0; border-top: 1px solid var(--line-dark); }
.services__item:last-child { border-bottom: 1px solid var(--line-dark); }
.services__item::before { content: "0" counter(svc); grid-row: span 2; font-size: .8125rem; font-weight: 600; letter-spacing: .1em; color: var(--on-dark-muted); padding-top: .35em; }
.services__title { font-family: var(--font-display); font-stretch: 115%; font-size: 1.25rem; text-transform: uppercase; color: var(--on-dark); margin-bottom: 6px; }
.services__item p { margin: 0; }

/* ---- Projektkarten ---- */
.projects { list-style: none; display: grid; gap: clamp(36px, 4vw, 56px) clamp(16px, 2.4vw, 32px); grid-template-columns: 1fr; }
@media (min-width: 640px) { .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .projects { grid-template-columns: repeat(4, minmax(0, 1fr)); } .projects--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.project-card[hidden] { display: none; }
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(28px, 4vw, 44px); }
.filter[hidden] { display: none; }
.filter__btn { min-height: 40px; padding: 0 1.1rem; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; color: var(--ink); font: inherit; font-size: .9375rem; font-weight: 500; cursor: pointer; transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease); }
.filter__btn:hover { border-color: var(--ink); }
.filter__btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.project-card__link { display: block; text-decoration: none; }
.project-card__media { overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.project-card__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s var(--ease); }
.project-card__link:hover .project-card__media img { transform: scale(1.035); }
.project-card__cat { margin: 18px 0 6px; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.project-card__title { font-family: var(--font-display); font-stretch: 118%; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); text-transform: uppercase; }
.project-card__link:hover .project-card__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .15em; }
.project-card__ext { margin-left: .3em; font-family: var(--font-body); }
.project-card__text { margin: 8px 0 0; color: var(--muted); max-width: 40ch; }

/* ---- Instagram-Vorschau ---- */
.insta__handle { margin: 12px 0 0; font-weight: 600; }
.insta__handle a { text-decoration: none; border-bottom: 1.5px solid currentColor; }
.insta { list-style: none; display: grid; gap: clamp(8px, 1.2vw, 16px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .insta { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .insta { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.insta__link { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.insta__link img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s var(--ease); }
.insta__overlay {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 12px;
  background: linear-gradient(to top, rgba(18, 18, 18, .75), rgba(18, 18, 18, 0) 60%);
  color: var(--on-dark); font-size: .8125rem; font-weight: 600; opacity: 0; transition: opacity .25s var(--ease);
}
.insta__link:hover img, .insta__link:focus-visible img { transform: scale(1.04); }
.insta__link:hover .insta__overlay, .insta__link:focus-visible .insta__overlay { opacity: 1; }
.btn span[aria-hidden="true"] { margin-left: .1em; }

/* ---- Werte ---- */
.values { list-style: none; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .values { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.values__item { padding: 28px 28px 32px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) {
  .values__item { padding: 32px 32px 40px; border-left: 1px solid var(--line); }
}
.values__num { display: block; font-size: .8125rem; font-weight: 600; letter-spacing: .1em; color: var(--muted); margin-bottom: 18px; }
.values__title { font-family: var(--font-display); font-stretch: 118%; font-size: 1.35rem; text-transform: uppercase; margin-bottom: 10px; }
.values__item p { margin: 0; color: var(--ink-2); }

/* ---- Team ---- */
.team { list-style: none; display: grid; gap: clamp(16px, 2.4vw, 32px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.team__member img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); filter: grayscale(1); }
.team__name { margin: 14px 0 0; font-weight: 600; }
.team__name span { display: block; font-weight: 400; color: var(--muted); }

/* ---- Kontakt ---- */
.contact { border: 1px solid var(--line-dark); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); }
.contact__title { font-family: var(--font-display); font-stretch: 118%; text-transform: uppercase; font-size: 1.5rem; color: var(--on-dark); margin-bottom: 12px; }
.contact__list { list-style: none; margin-top: 24px; }
.contact__list li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line-dark); overflow-wrap: anywhere; }
.contact__label { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); padding-top: .25em; }
@media (max-width: 420px) { .contact__list li { grid-template-columns: 1fr; gap: 2px; } }

/* ---- Projektseite ---- */
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .875rem; color: var(--muted); margin-bottom: clamp(28px, 4vw, 48px); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.project__head { padding-top: clamp(32px, 5vw, 64px); }
.project__intro { margin-top: clamp(20px, 3vw, 32px); max-width: 52ch; }
.project__intro p:last-child { margin-bottom: 0; }
.project__cover { margin: clamp(36px, 5vw, 64px) 0 clamp(16px, 2.4vw, 32px); }
.project__cover img { width: 100%; max-height: 82vh; object-fit: cover; border-radius: var(--radius); }
.gallery { list-style: none; display: grid; gap: clamp(16px, 2.4vw, 32px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.gallery__item img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.gallery__item picture { height: 100%; }
/* Lückenlose Galerie: überzählige letzte Bilder füllen die Zeile (quer statt hoch) */
@media (min-width: 640px) and (max-width: 899px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery__item:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .gallery__item:last-child:nth-child(odd) img { aspect-ratio: 3 / 2; }
}
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .gallery__item { grid-column: span 2; }
  .gallery__item:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
  .gallery__item:last-child:nth-child(3n+1) img { aspect-ratio: 16 / 9; }
  .gallery__item:nth-last-child(2):nth-child(3n+1),
  .gallery__item:last-child:nth-child(3n+2) { grid-column: span 3; }
  .gallery__item:nth-last-child(2):nth-child(3n+1) img,
  .gallery__item:last-child:nth-child(3n+2) img { aspect-ratio: 4 / 3; }
}
.project__video-quer { width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); }
.project__video-caption { margin-top: 14px; color: var(--muted); font-size: .9375rem; max-width: 80ch; }
.project__video-caption strong { color: var(--ink); font-weight: 600; }
.project__cover--natur img { max-height: none; object-fit: contain; }
/* Querformat-Galerie: zweispaltig, ohne Hochformat-Zuschnitt */
@media (min-width: 640px) { .gallery--quer { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } .gallery--quer .gallery__item { grid-column: auto !important; } .gallery--quer .gallery__item:last-child:nth-child(odd) { grid-column: 1 / -1 !important; } }
.gallery--quer .gallery__item img { aspect-ratio: 3 / 2 !important; }
.gallery__item--breit { grid-column: 1 / -1 !important; }
.gallery__item--breit img { aspect-ratio: auto !important; height: auto; }
.project-video { display: grid; gap: 24px 48px; margin-top: clamp(48px, 7vw, 96px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
@media (min-width: 800px) { .project-video { grid-template-columns: 1fr minmax(0, 380px); align-items: start; } }
.project-video__text p { color: var(--muted); max-width: 40ch; margin-top: 12px; }
.project-video__player { width: 100%; max-width: 380px; aspect-ratio: 9 / 16; background: #000; border-radius: var(--radius); }
/* Reels: mehrere Hochformat-Videos nebeneinander */
.reels { margin-top: clamp(48px, 7vw, 96px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.reels__head { margin-bottom: clamp(24px, 3vw, 40px); }
.reels__head p { color: var(--muted); max-width: 52ch; margin: 12px 0 0; }
.reels__list { list-style: none; display: grid; gap: clamp(20px, 2.4vw, 32px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.reels__player { width: 100%; aspect-ratio: 9 / 16; background: #000; border-radius: var(--radius); }
.reels__title { font-family: var(--font-display); font-stretch: 112%; text-transform: uppercase; font-size: 1.05rem; margin: 14px 0 6px; }
.reels__text p { color: var(--muted); font-size: .9375rem; margin: 0; }
.project__footer { padding-block: var(--section-y); }
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(28px, 5vw, 56px); background: var(--ink); color: var(--paper); border-radius: var(--radius); }
.cta__text { margin: 0; font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.75rem); }
.cta .btn { --btn-bg: var(--paper); --btn-fg: var(--ink); --btn-bd: var(--paper); }
.project-nav { display: grid; grid-template-columns: 1fr 1fr; margin-top: 32px; border-top: 1px solid var(--line); }
.project-nav__link { display: flex; flex-direction: column; gap: 4px; padding: 24px 0; text-decoration: none; font-family: var(--font-display); font-stretch: 115%; text-transform: uppercase; font-size: clamp(1.05rem, .9rem + .6vw, 1.4rem); font-weight: 700; }
.project-nav__link span { font-family: var(--font-body); font-size: .75rem; letter-spacing: .14em; color: var(--muted); font-weight: 600; }
.project-nav__link--next { text-align: right; align-items: flex-end; }
.project-nav__link:hover { text-decoration: underline; text-decoration-thickness: 2px; }

/* ---- Rechtstexte ---- */
.legal { max-width: calc(820px + 2 * var(--gutter)); }
.prose { margin-top: clamp(28px, 4vw, 48px); }
.prose h2 { font-family: var(--font-display); font-stretch: 112%; text-transform: uppercase; font-size: 1.35rem; margin: 2.4em 0 .8em; }
.prose h3 { font-size: 1.0625rem; margin: 1.8em 0 .5em; }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.prose p, .prose li { color: var(--ink-2); overflow-wrap: anywhere; }
.pruefen {
  margin: 1.2em 0; padding: 14px 18px; border-left: 4px solid #b26b00; background: #fff4df; color: #4a3200;
  font-size: .9375rem; border-radius: 0 var(--radius) var(--radius) 0;
}
.pruefen code { font-size: .875em; }

/* ---- Footer ---- */
.site-footer { background: var(--dark); color: var(--on-dark-muted); font-size: .9375rem; }
.site-footer__grid { display: grid; gap: 40px 32px; padding-block: clamp(56px, 7vw, 88px) 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.site-footer__brand img { width: 120px; height: auto; margin-bottom: 20px; }
.site-footer__title { font-family: var(--font-body); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 14px; }
.site-footer__list { list-style: none; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:hover, .site-footer a[aria-current="page"] { color: var(--on-dark); text-decoration: underline; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px; border-top: 1px solid var(--line-dark); font-size: .8125rem; }
.site-footer__bottom p { margin: 0; }

/* ---- Bewegung reduzieren ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---- Druck ---- */
@media print {
  .site-header, .site-footer, .btn-row, .project-nav, .cta { display: none !important; }
  .section--dark { background: none; color: #000; }
}
