/* ==========================================================
   by Franziska – Stylesheet
   ========================================================== */

/* ---------- Schriften (lokal gehostet, DSGVO-freundlich) ---------- */
@font-face { font-family: "Anton"; src: url("../fonts/anton-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-300.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

/* ---------- Design-Tokens ---------- */
:root {
  --bg: #eaeaea;          /* Hellgrau – Haupthintergrund */
  --paper: #f6f5f4;       /* Off-White – helle Abschnitte */
  --ink: #1b1a1a;         /* Text */
  --ink-soft: #4a4848;
  --line: #1b1a1a;
  --yellow: #fcffd7;      /* Pillen, Markierungen */
  --marker: #f7fab0;      /* Textmarker-Animation */
  --yellow-strong: #ebe04f; /* dünne gelbe Linien (Kreis, Kritzel) */
  --pink: #ffade0;        /* Call-to-Action */
  --pink-strong: #ff92d5;
  --project-yellow: #fdffd6;
  --project-pink: #f2b3dd;

  /* Seitenverlauf: startet in Off-White, endet in warmem Grau; die Fußzeile ist wieder Off-White */
  --offwhite: #faf9f6;
  --flow-start: var(--offwhite);
  --flow-end: #e5e0dc;
  --flow: linear-gradient(180deg, var(--flow-start) 0%, var(--flow-end) 100%);

  --font-serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --font-display: "Anton", "Impact", "Arial Narrow", sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(80px, 11vw, 160px);
  --ease: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--flow);
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.05vw, 17px);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 300; line-height: 1.08; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; text-decoration: none; }
.skip-link:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.center { text-align: center; }
.narrow { max-width: 34rem; margin-inline: auto; }

/* ---------- Typografie ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .05em;
  line-height: 1.05;
  font-size: clamp(44px, 7.4vw, 104px);
}
.display--sm { font-size: clamp(38px, 4.6vw, 64px); text-transform: none; letter-spacing: .01em; }
.h1 { font-size: clamp(40px, 5.2vw, 76px); letter-spacing: -.025em; }
.h2 { font-size: clamp(34px, 3.8vw, 56px); letter-spacing: -.02em; }
.h3 { font-size: clamp(21px, 1.6vw, 24px); font-weight: 400; }
.lead { font-size: clamp(18px, 1.35vw, 21px); line-height: 1.5; }
.small { font-size: 14px; }
.label { font-size: 14px; font-weight: 500; }

/* ---------- Buttons & Pillen ---------- */
.pill {
  display: inline-flex; align-items: center;
  padding: .45em 1.15em;
  border-radius: 999px;
  background: var(--yellow);
  font-size: 15px; text-decoration: none;
  transition: background .25s, transform .25s;
}
.pill:hover { background: #f4f8b4; }
.pill[aria-current="page"] { text-decoration: underline; text-underline-offset: 3px; }

.btn-cta {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .7em 1.3em;
  background: var(--pink);
  font-size: 15px; text-decoration: none;
  transition: background .25s;
}
.btn-cta:hover { background: var(--pink-strong); }

.btn-dashed {
  display: inline-flex; align-items: center; gap: 1.4em;
  padding: .9em .2em;
  border-block: 1px dashed var(--line);
  font-weight: 500; font-size: 15px; text-decoration: none;
}
.btn-dashed svg { transition: transform .3s var(--ease); }
.btn-dashed:hover svg { transform: translateX(6px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  transition: background .3s, box-shadow .3s;
}
.site-header.is-scrolled { background: rgba(248, 246, 243, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.site-header--overlay:not(.is-scrolled) { background: transparent; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 84px; max-width: none; }
.logo { font-size: 17px; text-decoration: none; white-space: nowrap; }
.nav { display: flex; gap: 6px; }
.nav-toggle { display: none; }

@media (max-width: 820px) {
  .site-header .wrap { height: 68px; }
  .site-header .btn-cta--header { display: none; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-right: -10px;
    background: none; border: 0; cursor: pointer; color: var(--ink);
  }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    display: block; width: 24px; height: 1.5px; background: currentColor; position: relative; transition: transform .3s var(--ease), background .3s;
  }
  .nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
  .nav-toggle span::before { top: -7px; }
  .nav-toggle span::after { top: 7px; }
  .menu-open .nav-toggle span { background: transparent; }
  .menu-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
  .menu-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

  .nav {
    position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - 68px); height: calc(100dvh - 68px);
    flex-direction: column; align-items: flex-start; gap: 14px;
    padding: 40px var(--gutter);
    background: var(--bg);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s, transform .3s var(--ease), visibility .3s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav .pill { font-size: 22px; padding: .4em 1em; }
  .nav .btn-cta--menu { display: inline-flex; margin-top: 16px; font-size: 18px; }
  .menu-open { overflow: hidden; }
  .menu-open .site-header { background: var(--bg); }
}
@media (min-width: 821px) { .nav .btn-cta--menu { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; margin-top: -84px; background: #c9c4c0; overflow: hidden; }
.hero__media { position: relative; padding-top: clamp(0px, 15vw, 260px); }
.hero__media img { width: 100%; height: auto; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16%); mask-image: linear-gradient(to bottom, transparent 0, #000 16%); }
.hero__content {
  position: absolute; inset: 0 0 auto 0; z-index: 2;
  padding-top: clamp(130px, 12vw, 180px);
  text-align: center;
}
.hero__content .display { margin-bottom: .45em; }
.hero__text { max-width: 25rem; margin: 0 auto 1.8em; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; }

@media (max-width: 820px) {
  .hero { margin-top: -68px; }
  .hero__content { position: relative; padding: 120px var(--gutter) 40px; }
  .hero__media { padding-top: 0; }
  .hero__media img { aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 30% 0; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 20%); mask-image: linear-gradient(to bottom, transparent 0, #000 20%); }
}

/* ---------- Textmarker-Effekte ----------
   Verwendung im HTML:  <span class="hl" data-hl="VARIANTE">Wort</span>
   Varianten: underline (Strich, Standard) · circle (Kreis) · scribble (Kritzel) · marker (Fläche) · wave (Wellenlinie)
   Farbe optional:      data-color="yellow" | "pink" | "ink"
   Die Linien zeichnet main.js automatisch ein. */
.hl { --hl-color: var(--marker); position: relative; display: inline-block; isolation: isolate; }
.hl--circle, .hl--scribble { --hl-color: var(--pink-strong); }
.hl[data-color="yellow"] { --hl-color: var(--marker); }
.hl--circle[data-color="yellow"], .hl--scribble[data-color="yellow"] { --hl-color: var(--yellow-strong); }
.hl[data-color="pink"] { --hl-color: var(--pink-strong); }
.hl[data-color="ink"] { --hl-color: var(--ink); }

.hl > svg { position: absolute; z-index: -1; overflow: visible; pointer-events: none; }
.hl path { fill: none; stroke: var(--hl-color); stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.hl.is-visible path { animation: draw var(--dur, 1s) var(--ease) forwards; animation-delay: var(--d, .2s); }
.hl.is-visible path + path { animation-delay: calc(var(--d, .2s) + .25s); }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* 1) Strich */
.hl--underline > svg { left: -3%; bottom: -.04em; width: 106%; height: .3em; }
.display .hl--underline > svg { bottom: -.17em; height: .28em; }
/* 2) Kreis */
.hl--circle > svg { left: -9%; top: -20%; width: 118%; height: 145%; z-index: -1; }
/* Kreis: startet erst, wenn die Überschrift eingeblendet ist, und zeichnet sich langsam */
.hl--circle { --dur: 1.6s; }
.hl--circle.is-visible path { animation-delay: calc(var(--d, .2s) + .6s); animation-timing-function: cubic-bezier(.45, 0, .25, 1); }
/* 5) Wellenlinie unter dem Wort */
.hl--wave > svg { left: -1%; bottom: -.1em; width: 102%; height: .3em; }
.hl--wave { --hl-color: var(--pink-strong); --dur: 1.2s; }
/* 3) Kritzel: mehrfach hin und her */
.hl--scribble > svg { left: -2%; bottom: -.22em; width: 104%; height: .42em; }
.hl--scribble { --dur: 1.4s; }
/* 4) Textmarker: wird wie mit einem echten Marker von links nach rechts über das Wort gezogen */
.hl--marker {
  background: linear-gradient(var(--mark-bg, var(--yellow)), var(--mark-bg, var(--yellow))) no-repeat 0 62% / 0% 78%;
  color: var(--mark-ink, inherit);
  padding: 0 .14em; margin: 0 -.06em;
  border-radius: .3em .55em .4em .5em / .55em .35em .6em .4em;  /* unregelmäßige Marker-Kanten */
  transition: background-size 1.15s cubic-bezier(.55, .05, .3, 1) var(--d, .15s);
}
.hl--marker[data-color="pink"] { background-image: linear-gradient(var(--pink), var(--pink)); }
.hl--marker.is-visible { background-size: 100% 78%; }

/* Handgezeichneter Pfeil */
.hand-arrow { width: clamp(90px, 12vw, 170px); height: auto; overflow: visible; }
.hand-arrow path { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.hand-arrow.is-visible path { animation: draw .9s var(--ease) forwards .1s; }
.hand-arrow.is-visible path + path { animation-delay: .7s; animation-duration: .6s; }

/* Startseite: Verlauf beginnt direkt nach dem Hero-Foto */
.flow { background: var(--flow); }

/* ---------- Intro (Aufbau nach Agaro: Pfeil links, Statement + zwei Spalten rechts) ---------- */
.intro { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); }
.intro__arrow { padding-top: .4em; }
.intro__statement { font-size: clamp(36px, 4.4vw, 68px); line-height: 1.12; letter-spacing: -.02em; font-weight: 300; margin-bottom: clamp(32px, 3.6vw, 58px); }
.intro__cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 4vw, 64px); row-gap: 0; }
.intro__cols p { margin: 0; }
.intro__link { grid-column: 2; justify-self: start; margin-top: clamp(24px, 3.5vw, 48px); font-size: 16px; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.intro__link:hover { text-decoration-thickness: 2px; }
.intro__lead { font-size: clamp(18px, 1.35vw, 21px); line-height: 1.5; max-width: 40rem; margin: 0 0 clamp(36px, 4vw, 56px); }
.intro__steps { display: grid; gap: clamp(28px, 3vw, 44px); max-width: 34rem; margin: 0; padding: 0; list-style: none; }
.intro__num { display: block; font-size: 14px; letter-spacing: .08em; color: var(--ink-soft); margin-bottom: .6em; }
.intro__steps .h3 { margin-bottom: .5em; }
.intro__steps p { margin: 0; color: var(--ink-soft); }
.intro__link--solo { display: inline-block; }
@media (max-width: 820px) {
  .intro { grid-template-columns: 1fr; }
  .intro__arrow { padding-top: 0; }
  .intro__cols { grid-template-columns: 1fr; row-gap: 1em; }
  .intro__link { grid-column: 1; }
}

/* Faktenliste mit gestrichelten Linien */
.facts { margin: 0; padding: 0; list-style: none; }
.facts__title { font-weight: 500; padding-bottom: .5em; border-bottom: 1px dashed var(--line); }
.facts__row { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: .7em 0; border-bottom: 1px dashed var(--line); }
.facts__row dt { font-weight: 500; }
.facts__row dd { margin: 0; text-align: right; }
.facts__row dd span { display: block; }
@media (max-width: 480px) { .facts__row, .contact-details .facts__row { grid-template-columns: 6.5rem 1fr; } }

/* ---------- Projekte ---------- */
.projects { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(32px, 4vw, 56px); }
.project-card { text-decoration: none; display: block; }
.project-card__media { overflow: hidden; aspect-ratio: 1 / .82; }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.project-card:hover .project-card__media img { transform: scale(1.04); }
.project-card__meta { display: flex; align-items: baseline; gap: 14px; margin-top: 1.1em; }
.project-card__num { font-size: 14px; color: var(--ink-soft); }
.project-card .h3 { margin-bottom: .55em; }
.project-card p { color: var(--ink-soft); max-width: 34rem; }
.project-card__more { display: inline-flex; align-items: center; gap: .5em; font-size: 15px; font-weight: 500; border-bottom: 1px solid currentColor; }
.project-card__more svg { transition: transform .3s var(--ease); }
.project-card:hover .project-card__more svg { transform: translateX(4px); }
@media (max-width: 720px) { .projects { grid-template-columns: 1fr; gap: 56px; } }

/* ---------- Kundenstimme ---------- */
.quote { max-width: 46rem; margin: clamp(32px, 4vw, 56px) auto 0; padding: clamp(40px, 6vw, 80px) clamp(24px, 6vw, 88px); background: var(--paper); text-align: center; }
.quote__mark { font-size: 64px; line-height: .5; display: block; margin-bottom: .3em; }
.quote blockquote { margin: 0 0 1.6em; font-size: clamp(22px, 2.1vw, 30px); line-height: 1.35; font-weight: 300; }
.quote figcaption .name { background: var(--yellow); padding: 0 .3em; }
.quote figcaption { font-size: 15px; }

/* ---------- Seitenkopf (Unterseiten) ---------- */
.page-head { padding-top: clamp(64px, 8vw, 110px); }
.page-head .display { margin-bottom: .6em; }

/* ---------- Über mich ---------- */
.about-text { max-width: 30rem; margin: 0 auto; text-align: center; }
.about-text .divider { width: 4.5rem; margin: 2.4em auto; border-top: 1px dashed var(--line); }
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; max-width: 40rem; margin: 2rem auto 0; padding: 0; list-style: none; }
.tags li { background: var(--yellow); padding: .15em .6em; }
.about-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 820px) { .about-image img { aspect-ratio: 4 / 3; object-position: 50% 50%; } }

/* ---------- Kontakt ---------- */
.contact-intro { max-width: 32rem; margin: 0 auto 2.5rem; text-align: center; }
.contact-intro a { text-underline-offset: 3px; }
.form { max-width: 36rem; margin: 0 auto; padding: clamp(24px, 4vw, 40px); background: rgba(255, 255, 255, .45); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 24px; }
.form__field { display: flex; flex-direction: column; gap: 6px; }
.form__field--full { grid-column: 1 / -1; }
.form label { font-size: 15px; }
.form input, .form textarea {
  font: inherit; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid #8f8d8d; border-radius: 0;
  padding: 8px 0; transition: border-color .2s;
}
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.form [aria-invalid="true"] { border-bottom-color: #b3261e; }
.form__error { color: #b3261e; font-size: 13px; min-height: 1em; }
.form__check { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; }
.form__check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.form__hp { position: absolute; left: -9999px; }
.form button {
  grid-column: 1 / -1;
  font: inherit; font-weight: 500;
  background: var(--ink); color: #fff; border: 0; padding: 14px; cursor: pointer;
  transition: background .2s;
}
.form button:hover { background: #3a3838; }
.form button[disabled] { opacity: .6; cursor: progress; }
.form__status { grid-column: 1 / -1; margin: 0; font-size: 15px; }
.form__success { text-align: center; padding: 2rem 0; }
.form__success .h3 { margin-bottom: .5em; }
@media (max-width: 560px) { .form__grid { grid-template-columns: 1fr; } }

.contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 120px); }
.contact-details address { font-style: normal; font-size: clamp(19px, 1.5vw, 22px); line-height: 1.45; }
.contact-details .facts__row { grid-template-columns: 8rem 1fr; }
.contact-details .label { display: block; margin-bottom: .8em; }
.contact-details a { text-underline-offset: 3px; }
@media (max-width: 720px) { .contact-details { grid-template-columns: 1fr; } }

/* ---------- Projekt-Detailseiten ---------- */
.case-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.case-head .h1 { margin-bottom: .6em; }
.case-head .lead { max-width: 32rem; }
.case-facts { max-width: 22rem; margin-top: 2rem; }
.case-facts div { padding: .7em 0; border-top: 1px solid #8f8d8d; }
.case-facts dt { font-weight: 500; font-size: 14px; }
.case-facts dd { margin: 0; font-size: 15px; }
.case-facts a { text-underline-offset: 3px; }
.case-head__aside { align-self: end; justify-self: end; }
.back-link { display: inline-flex; align-items: center; gap: .5em; font-size: 15px; text-decoration: none; margin-bottom: 2rem; }
.back-link:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 820px) { .case-head { grid-template-columns: 1fr; } .case-head__aside { display: none; } }

.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 40px); max-width: 980px; margin: 0 auto; }
.video { position: relative; background: #ccc; aspect-ratio: 9 / 16; overflow: hidden; }
.video video, .video img { width: 100%; height: 100%; object-fit: cover; }
.video__play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: transparent; border: 0; cursor: pointer; color: #fff;
}
.video__play span { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(27, 26, 26, .55); backdrop-filter: blur(4px); transition: transform .3s var(--ease), background .3s; }
.video__play:hover span { transform: scale(1.08); background: rgba(27, 26, 26, .75); }
@media (max-width: 720px) {
  .videos { grid-template-columns: repeat(3, 72vw); overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: var(--gutter); margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; }
  .videos::-webkit-scrollbar { display: none; }
  .video { scroll-snap-align: center; }
}

/* Browser-Rahmen mit Slider */
.browser { max-width: 1100px; margin: 0 auto; background: var(--paper); box-shadow: 0 30px 80px -30px rgba(0,0,0,.35), 0 2px 8px rgba(0,0,0,.06); }
.browser__bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-bottom: 1px solid #dedcdb; }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #d4d2d0; }
.browser__url { margin-left: 14px; font-size: 12px; color: var(--ink-soft); font-family: system-ui, sans-serif; }
.slider { position: relative; }
.slider__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__track img { flex: 0 0 100%; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; scroll-snap-align: start; }
.slider__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(246, 245, 244, .92); color: var(--ink);
  display: grid; place-items: center; box-shadow: 0 2px 10px rgba(0,0,0,.12);
  transition: transform .2s;
}
.slider__btn:hover { transform: translateY(-50%) scale(1.06); }
.slider__btn--prev { left: 16px; }
.slider__btn--next { right: 16px; }
.slider__dots { display: flex; justify-content: center; gap: 8px; padding: 16px 0; }
.slider__dots button { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 1px solid var(--ink); background: transparent; cursor: pointer; transition: background .2s; }
.slider__dots button[aria-current="true"] { background: var(--ink); }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 42rem; }
.legal h1 { margin-bottom: 1em; }
.legal h2 { font-size: 22px; font-weight: 400; margin: 2em 0 .6em; }
.todo { background: var(--yellow); padding: .1em .3em; }

/* ---------- Footer (minimal) ---------- */
.site-footer {
  --mark-bg: var(--marker);
  background: var(--offwhite);
  padding-block: clamp(96px, 12vw, 180px) 40px;
}
.footer-statement { margin: 0 0 clamp(96px, 12vw, 180px); max-width: 15em; font-size: clamp(30px, 3.4vw, 54px); line-height: 1.15; letter-spacing: -.02em; font-weight: 300; }
.footer-bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 24px; font-size: 14px; }
.footer-links { display: flex; gap: 28px; }
.site-footer a { text-underline-offset: 3px; text-decoration-thickness: 1px; }
.footer-links a:hover { color: var(--ink-soft); }
.footer-social { display: flex; gap: 8px; }
.footer-social a { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; transition: transform .2s; }
.footer-social a:hover { transform: translateY(-2px); }
.footer-meta { justify-self: end; }
.footer-meta a { background: var(--pink); padding: 0 .35em; text-decoration: none; }
.footer-meta a:hover { background: var(--pink-strong); }
@media (max-width: 720px) {
  .footer-bottom { grid-template-columns: 1fr; justify-items: start; gap: 24px; }
  .footer-meta { justify-self: start; }
}

/* ---------- Große Bildschirme ----------
   Ab 1500 px wächst die ganze Seite proportional mit (Schrift, Abstände, Textbreite),
   damit der Text nicht klein in der Mitte steht, während die Bilder die volle Breite füllen. */
@media (min-width: 1500px) { body { zoom: 1.12; } }
@media (min-width: 1700px) { body { zoom: 1.25; } }
@media (min-width: 1900px) { body { zoom: 1.38; } }
@media (min-width: 2200px) { body { zoom: 1.55; } }
@media (min-width: 2600px) { body { zoom: 1.8; } }

/* ---------- Einblenden beim Scrollen ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease-out, transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal.no-anim { transition: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hl path, .hand-arrow path { stroke-dashoffset: 0; animation: none !important; }
  .hl--marker { background-size: 100% 78%; transition: none; }
  * { transition-duration: .01ms !important; }
}
