/* ============================================================
   LUMA Design — lumadesign.at
   Register: brand. Bildsprache: gesetztes Angebotsdokument.
   Mobil zuerst (390 px), danach min-width-Stufen.
   ============================================================ */

/* ── Schriften ────────────────────────────────────────────── */

@font-face {
  font-family: 'Cabinet Grotesk';
  src: url('fonts/cabinet-grotesk-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('fonts/instrument-sans-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('fonts/instrument-sans-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('fonts/ibm-plex-mono-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ── Token ────────────────────────────────────────────────── */

:root {
  /* Farbe: Papier, Tinte, Markierung. Alle Neutralen warm getönt. */
  --paper:    oklch(0.975 0.008 78);
  --paper-2:  oklch(0.945 0.011 78);
  --paper-3:  oklch(0.915 0.013 78);
  --ink:      oklch(0.205 0.018 55);
  --ink-2:    oklch(0.415 0.015 55);
  --ink-3:    oklch(0.525 0.014 55);
  --rule:     oklch(0.855 0.012 70);
  --mark:     oklch(0.512 0.176 32);
  --mark-hi:  oklch(0.438 0.152 32);
  --mark-inv: oklch(0.735 0.145 42);

  /* Typografie */
  --font-display: 'Cabinet Grotesk', 'Instrument Sans', system-ui, sans-serif;
  --font-text: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --t--1: 0.8125rem;
  --t-0:  1.0625rem;
  --t-1:  clamp(1.25rem, 1.12rem + 0.55vw, 1.5rem);
  --t-2:  clamp(1.5rem, 1.28rem + 1vw, 2rem);
  --t-3:  clamp(1.875rem, 1.5rem + 1.7vw, 2.75rem);
  --t-4:  clamp(2.375rem, 1.62rem + 3.4vw, 4.25rem);

  /* Raum */
  --pad: clamp(1.25rem, 5vw, 4rem);
  --gap-band: clamp(4rem, 11vw, 8rem);
  --max: 74rem;
  --measure: 64ch;

  /* Bewegung */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

/* ── Grundlagen ───────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  /* Diese Seite ist bewusst nur hell. Sagt es dem Browser, damit Formularfelder
     und Scrollbalken im OS-Dunkelmodus nicht umkippen. */
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--t-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 { font-size: var(--t-4); }
h2 { font-size: var(--t-3); }

h3 {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: var(--t-1);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

a, button, summary, label, input, textarea {
  touch-action: manipulation;
  -webkit-tap-highlight-color: oklch(0.512 0.176 32 / 0.14);
}

::selection { background: var(--mark); color: var(--paper); }

:focus-visible {
  outline: 3px solid var(--mark);
  outline-offset: 3px;
  border-radius: 2px;
  /* Die klebende Kopfzeile darf den Fokus nie verdecken (WCAG 2.4.11). */
  scroll-margin-top: 6rem;
  scroll-margin-bottom: 2rem;
}

/* Auf der Tinte trägt das dunkle Rot als Fokusring zu wenig Kontrast. */
.band-price :focus-visible { outline-color: var(--mark-inv); }

.mono {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--t--1);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

[hidden] { display: none !important; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1rem;
  text-decoration: none;
}
.skip:focus { left: 0; }

/* ── Buttons ──────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--font-text);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 140ms var(--ease-out),
              background-color 180ms ease,
              border-color 180ms ease,
              color 180ms ease;
}

.btn:active { transform: scale(0.97); }

.btn-mark { background: var(--mark); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost-inv { background: transparent; color: var(--paper); border-color: var(--paper); }

@media (hover: hover) and (pointer: fine) {
  .btn-mark:hover { background: var(--mark-hi); }
  .btn-ghost:hover { background: var(--ink); color: var(--paper); }
  .btn-ghost-inv:hover { background: var(--paper); color: var(--ink); }
}

.btn-sm {
  min-height: 44px;
  padding: 0.5rem 0.9rem;
  font-size: 0.9375rem;
}

.btn-block { display: flex; width: 100%; }

.linkbtn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: from-font;
}

/* Textlinks im Fließtext */
main p a,
.cookie p a,
.foot p a {
  color: var(--mark-hi);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: from-font;
  text-decoration-skip-ink: auto;
}

.linkout {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--t--1);
  letter-spacing: 0.04em;
  color: var(--mark-hi);
  text-decoration: underline;
  text-underline-offset: 0.25em;
  text-decoration-thickness: 1px;
}

.linkout-arrow {
  display: inline-block;
  transition: transform 200ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .linkout:hover .linkout-arrow { transform: translate(2px, -2px); }
}

/* ── Kopfzeile ────────────────────────────────────────────── */

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem var(--pad);
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}

.wordmark {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-right: auto;
  text-decoration: none;
  min-height: 44px;
  align-content: center;
  flex-wrap: wrap;
}

.wordmark-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.wordmark-sub {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.topnav { display: none; }

/* ── Abschnitte ───────────────────────────────────────────── */

.band {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--gap-band) var(--pad);
  border-top: 1px solid var(--rule);
}

.sec-num {
  margin: 0 0 0.75rem;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--t--1);
  letter-spacing: 0.16em;
  color: var(--mark);
  font-variant-numeric: tabular-nums;
}

.band-lede {
  max-width: var(--measure);
  margin-top: 1.25rem;
  font-size: var(--t-1);
  line-height: 1.45;
  color: var(--ink-2);
  text-wrap: pretty;
}

/* ── Hero ─────────────────────────────────────────────────── */

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 9vw, 5rem) var(--pad) clamp(3rem, 9vw, 5rem);
}

.kicker {
  margin: 0 0 1.25rem;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--t--1);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mark);
}

.hero h1 { margin-bottom: 1.25rem; }

.lede {
  max-width: 34ch;
  font-size: var(--t-1);
  line-height: 1.5;
  color: var(--ink-2);
  text-wrap: pretty;
}

.capacity {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mark);
}

/* Drei Schläge, dann Ruhe. Dauerbewegung wäre WCAG 2.2.2 und wird nervig. */
.motion .dot { animation: pulse 2.8s var(--ease-in-out) 3; }

@keyframes pulse {
  0%, 70%, 100% { transform: scale(1); opacity: 1; }
  35% { transform: scale(1.35); opacity: 0.72; }
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.cta-row .btn { flex: 1 1 14rem; }

.hero-shot { margin: 2.5rem 0 0; }

.hero-shot a {
  display: block;
  border: 1px solid var(--rule);
  background: var(--paper-2);
  transition: transform 300ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .hero-shot a:hover { transform: translateY(-3px); }
}

.hero-shot figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.hero-shot figcaption .mono { color: var(--mark); }

/* ── Spezifikationstabelle ────────────────────────────────── */

.spec {
  margin: 2rem 0 0;
  border-top: 1px solid var(--rule);
}

.spec-row {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.5rem 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule);
}

.spec dt {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--t--1);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-top: 0.15rem;
}

.spec dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
  text-wrap: pretty;
}

.spec dd b {
  font-weight: 600;
  color: var(--ink);
}

.spec-wide { margin-top: 2.5rem; }

.spec-wide .spec-row { padding: 1.15rem 0; }

.spec-wide dt {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: var(--t-0);
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}

.spec-wide dd {
  color: var(--ink-2);
  max-width: var(--measure);
}

/* ── Nummerierte Liste ────────────────────────────────────── */

.ruled {
  counter-reset: ruled;
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.ruled > li {
  counter-increment: ruled;
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: 0.35rem 0.75rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--rule);
}

.ruled > li::before {
  content: counter(ruled, decimal-leading-zero);
  grid-row: 1 / span 2;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--t--1);
  color: var(--mark);
  font-variant-numeric: tabular-nums;
  padding-top: 0.35rem;
}

.ruled h3 { grid-column: 2; }

.ruled p {
  grid-column: 2;
  margin: 0;
  max-width: var(--measure);
  color: var(--ink-2);
  text-wrap: pretty;
}

/* ── Ablauf ───────────────────────────────────────────────── */

.steps {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.steps > li {
  padding: 1.5rem 0;
  border-top: 1px solid var(--rule);
}

.steps > li:last-child { border-bottom: 1px solid var(--rule); }

.step-num {
  margin: 0 0 0.35rem;
  color: var(--mark);
  font-variant-numeric: tabular-nums;
}

.steps h3 { margin-bottom: 0.4rem; }

.steps p:last-child {
  max-width: var(--measure);
  color: var(--ink-2);
  text-wrap: pretty;
}

/* ── Arbeit ───────────────────────────────────────────────── */

.work { margin-top: 2.5rem; }

.work-tag { color: var(--mark); display: block; margin-bottom: 0.6rem; }

.work-meta {
  margin: 0.35rem 0 1rem;
  font-size: 0.9375rem;
  color: var(--ink-3);
}

.work-shot {
  display: block;
  border: 1px solid var(--rule);
  background: var(--paper-2);
  transition: transform 300ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .work-shot:hover { transform: translateY(-3px); }
}

.work-shot + .quote,
.work-shot + .linkout { margin-top: 1.25rem; }

.quote {
  margin: 1.5rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 2px solid var(--mark);
}

.quote > p {
  margin: 0 0 1rem;
  font-size: var(--t-1);
  line-height: 1.5;
  max-width: 46ch;
  text-wrap: pretty;
}

.quote footer {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.quote cite {
  font-style: normal;
  font-weight: 600;
  color: var(--ink);
}

.quote + .linkout { margin-top: 1.25rem; }

.work-pair { display: grid; gap: 0; }

/* ── Preis ────────────────────────────────────────────────── */

.band-price {
  max-width: none;
  background: var(--ink);
  color: var(--paper);
  border-top: 0;
}

.band-price > * {
  max-width: var(--max);
  margin-inline: auto;
}

.band-price .sec-num,
.band-price .kicker { color: var(--mark-inv); }

.band-price .band-lede { color: color-mix(in oklab, var(--paper) 76%, var(--ink)); }

.offers {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.offer {
  padding: 1.5rem 1.25rem 1.75rem;
  border: 1px solid color-mix(in oklab, var(--paper) 26%, var(--ink));
  border-radius: 2px;
}

.offer-main { background: color-mix(in oklab, var(--paper) 7%, var(--ink)); }

.offer h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--t-2);
  letter-spacing: -0.02em;
}

.offer-badge {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.3rem 0.55rem;
  background: var(--mark-inv);
  color: var(--ink);
  font-size: 0.6875rem;
}

.offer-for {
  margin: 0.5rem 0 1.25rem;
  font-size: 0.9375rem;
  color: color-mix(in oklab, var(--paper) 72%, var(--ink));
  text-wrap: pretty;
}

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0 0 0.25rem;
  font-variant-numeric: tabular-nums;
}

.price-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--mark-inv);
}

.price-unit {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--t--1);
  letter-spacing: 0.06em;
  color: color-mix(in oklab, var(--paper) 72%, var(--ink));
}

.price-sub {
  margin: 0 0 0.25rem;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--t--1);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  color: color-mix(in oklab, var(--paper) 72%, var(--ink));
}

.ticks {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.ticks li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.6rem;
  border-top: 1px solid color-mix(in oklab, var(--paper) 18%, var(--ink));
  font-size: 0.9375rem;
  line-height: 1.5;
  text-wrap: pretty;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 0.55rem;
  height: 0.3rem;
  border-left: 2px solid var(--mark-inv);
  border-bottom: 2px solid var(--mark-inv);
  transform: rotate(-45deg);
}

.offer-note {
  margin: 1.25rem 0 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: color-mix(in oklab, var(--paper) 70%, var(--ink));
  text-wrap: pretty;
}

.offer .btn { margin-top: 1.5rem; }

/* Auf der Tinte trägt das dunkle Rot zu wenig. Dort übernimmt der helle Ton. */
.band-price .btn-mark {
  background: var(--mark-inv);
  color: var(--ink);
}

@media (hover: hover) and (pointer: fine) {
  .band-price .btn-mark:hover {
    background: color-mix(in oklab, var(--mark-inv) 82%, var(--paper));
  }
}

.assurances {
  list-style: none;
  margin: 2rem auto 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.assurances li {
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.9375rem;
  color: color-mix(in oklab, var(--paper) 76%, var(--ink));
  text-wrap: pretty;
}

.assurances li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--mark-inv);
}

/* ── Über mich ────────────────────────────────────────────── */

.about {
  display: grid;
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.about-portrait {
  width: 11rem;
  border: 1px solid var(--rule);
  filter: grayscale(1) contrast(1.04);
}

.about-text p {
  max-width: var(--measure);
  color: var(--ink-2);
  text-wrap: pretty;
}

/* ── FAQ ──────────────────────────────────────────────────── */

.faq {
  margin-top: 2.5rem;
  border-top: 1px solid var(--rule);
}

.faq details { border-bottom: 1px solid var(--rule); }

.faq summary {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  min-height: 44px;
  padding: 1.1rem 0;
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: var(--t-0);
  line-height: 1.4;
  transition: color 180ms ease;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  margin-left: auto;
  flex: none;
  width: 1.5rem;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  line-height: 1.2;
  text-align: right;
  color: var(--mark);
  transition: transform 220ms var(--ease-out);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

@media (hover: hover) and (pointer: fine) {
  .faq summary:hover { color: var(--mark-hi); }
}

.faq details > p {
  margin: 0 0 1.35rem;
  max-width: var(--measure);
  color: var(--ink-2);
  text-wrap: pretty;
}

.motion .faq details[open] > p {
  animation: unfold 240ms var(--ease-out) both;
}

@keyframes unfold {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

/* ── Kontakt ──────────────────────────────────────────────── */

.band-contact { padding-bottom: clamp(4rem, 10vw, 7rem); }

.contact {
  display: grid;
  gap: 3rem;
  margin-top: 2.5rem;
}

.contact-col h3 {
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 1.5rem;
}

.contact-h-second { margin-top: 2.5rem; }

.contact-direct { margin: 0; }

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0 0 1.1rem;
}

.field label {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--t--1);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.field .opt {
  font-family: var(--font-text);
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink-3);
}

.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  /* Der Rahmen ist hier die einzige Kante des Feldes, also 3:1 nach WCAG 1.4.11. */
  border: 1px solid var(--ink-3);
  border-radius: 2px;
  background: var(--paper-2);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.field textarea { resize: vertical; }

.field input::placeholder { color: var(--ink-2); opacity: 1; }

.field input:focus,
.field textarea:focus {
  border-color: var(--mark);
  background: var(--paper);
}

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status {
  margin: 0.9rem 0 0;
  min-height: 1.5rem;
  font-size: 0.9375rem;
  color: var(--mark-hi);
}

.form-note {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--ink-3);
}

.cal { margin-bottom: 1rem; }

.cal-consent {
  padding: 1.25rem;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 2px;
}

.cal-consent p {
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.cal-alt {
  margin: 1rem 0 0;
  font-size: 0.875rem;
}

#cal-inline { min-height: 30rem; }

/* ── Fußzeile ─────────────────────────────────────────────── */

.foot {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem var(--pad) 3rem;
  border-top: 1px solid var(--rule);
}

.foot-top {
  display: grid;
  gap: 1.25rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--rule);
}

.footnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

.footnav a,
.topnav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.9375rem;
  text-decoration: none;
  color: var(--ink-2);
  transition: color 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .footnav a:hover,
  .topnav a:hover { color: var(--mark-hi); }
}

.foot-bottom {
  display: grid;
  gap: 0.5rem;
  padding-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--ink-3);
}

.foot-bottom p { margin: 0; }

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

.foot-links a,
.foot-links .linkbtn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink-2);
  font-size: 0.875rem;
}

/* ── Cookie-Banner ────────────────────────────────────────── */

.cookie {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: calc(0.75rem + env(safe-area-inset-bottom));
  z-index: 60;
  max-width: 30rem;
  padding: 1.25rem;
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 2px;
  box-shadow: 0 12px 40px oklch(0.205 0.018 55 / 0.18);
}

.cookie h2 {
  font-size: var(--t-1);
  margin-bottom: 0.5rem;
}

.cookie p {
  font-size: 0.9375rem;
  color: var(--ink-2);
  margin-bottom: 1rem;
}

.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.cookie-actions .btn { flex: 1 1 10rem; }

.motion .cookie {
  animation: slide-up 380ms var(--ease-out) both;
}

@keyframes slide-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ── Rechtsseiten ─────────────────────────────────────────── */

.legal {
  max-width: 44rem;
  margin: 0 auto;
  padding: clamp(3rem, 10vw, 6rem) var(--pad) 5rem;
}

.legal h1 { font-size: var(--t-3); margin-bottom: 1.5rem; }

.legal h2 {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: var(--t-1);
  letter-spacing: -0.005em;
  margin: 2.5rem 0 0.75rem;
}

.legal p {
  max-width: var(--measure);
  color: var(--ink-2);
  text-wrap: pretty;
}

.legal a {
  color: var(--mark-hi);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: from-font;
}

.legal .back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 2.5rem;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--t--1);
  letter-spacing: 0.06em;
}

/* ── Bewegung ─────────────────────────────────────────────── */

.motion [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms var(--ease-out), transform 520ms var(--ease-out);
}

.motion [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* Gestaffelter Auftritt im Hero: reine CSS-Verzögerung, kein JS. */
.motion [data-hero] {
  animation: rise 620ms var(--ease-out) both;
}

.motion [data-hero]:nth-child(1) { animation-delay: 40ms; }
.motion [data-hero]:nth-child(2) { animation-delay: 100ms; }
.motion [data-hero]:nth-child(3) { animation-delay: 160ms; }
.motion [data-hero]:nth-child(4) { animation-delay: 220ms; }
.motion [data-hero]:nth-child(5) { animation-delay: 280ms; }
.motion [data-hero]:nth-child(6) { animation-delay: 340ms; }
.motion .hero-shot[data-hero] { animation-delay: 260ms; }

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal], [data-hero] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================================
   Ab 640 px
   ============================================================ */

@media (min-width: 40em) {
  .spec-row { grid-template-columns: 9rem 1fr; }
  .cta-row .btn { flex: 0 1 auto; }
  .about { grid-template-columns: 11rem 1fr; gap: 2.5rem; align-items: start; }
  .about-portrait { width: 100%; }
  .foot-bottom { grid-template-columns: 1fr auto; align-items: center; }
  .foot-links { justify-content: flex-end; }
  .cookie { left: auto; right: 1.5rem; bottom: calc(1.5rem + env(safe-area-inset-bottom)); }
}

/* ============================================================
   Ab 900 px
   ============================================================ */

@media (min-width: 56.25em) {
  .topnav {
    display: flex;
    gap: 1.5rem;
    margin-right: 0.5rem;
  }

  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
  }

  .hero-shot { margin-top: 0; }

  .lede { max-width: 38ch; }

  .ruled > li { grid-template-columns: 3rem 12rem 1fr; }
  .ruled > li::before { grid-row: 1; padding-top: 0.3rem; }
  .ruled h3 { grid-column: 2; }
  .ruled p { grid-column: 3; grid-row: 1; }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 3rem;
  }
  /* Zweispaltig: auch die vorletzte Karte schließt die untere Reihe ab. */
  .steps > li:nth-last-child(2) { border-bottom: 1px solid var(--rule); }

  .spec-wide .spec-row { grid-template-columns: 12rem 1fr; }

  .work-lead {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    column-gap: 3rem;
    align-items: start;
  }
  .work-lead .work-tag { grid-column: 2; }
  .work-lead h3 { grid-column: 2; }
  .work-lead .work-meta { grid-column: 2; }
  .work-lead .work-shot { grid-column: 1; grid-row: 1 / span 5; }
  .work-lead .quote { grid-column: 2; margin-top: 1.25rem; }
  .work-lead .linkout { grid-column: 2; }

  .work-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 3rem;
  }

  .offers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: start;
  }

  .offer { padding: 2rem 1.75rem 2.25rem; }

  .assurances {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
  }

  .contact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3.5rem;
  }

  .foot-top {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 2rem;
  }
  .footnav { justify-content: flex-end; }
}

/* ============================================================
   Ab 1200 px
   ============================================================ */

@media (min-width: 75em) {
  .band { padding-inline: 4rem; }
  .hero { padding-inline: 4rem; }
  .foot { padding-inline: 4rem; }
  .band-price { padding-inline: 0; }
  .band-price > * { padding-inline: 4rem; }
}
