/* ============================================================================
   Florian Franke Photography
   High-End, minimalistisch. Satoshi (Text) + Kihim (Logo). Bilder dominieren.
============================================================================ */

/* --- Fonts --------------------------------------------------------------- */
@font-face {
  font-family: "General Sans";
  src: url("../fonts/GeneralSans-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "General Sans";
  src: url("../fonts/GeneralSans-Medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "General Sans";
  src: url("../fonts/GeneralSans-Semibold.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Kihim";
  src: url("../fonts/Kihim-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}

/* --- Tokens -------------------------------------------------------------- */
:root {
  /* Nur zwei Textfarben: Ink für Inhalt, Muted für Sekundäres. */
  --ink: #1a1a1a;
  --muted: #9a948c;
  --line: #ecebe8;
  --field-border: #bdb8ae; /* klar sichtbare Umrandung für Formularfelder */
  --bg: #ffffff;
  --bg-soft: #f4f2ef;
  --error: #b3261e;

  --font: "General Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Kihim", "General Sans", serif;

  /* ZENTRALE Typo-Skala – im ganzen Projekt NUR diese Stufen verwenden.
     xs  Badge / Mini-Meta
     sm  Fineprint, Bildunterschriften, Nav, Footer, Warenkorb
     base UI-Text (Formulare, Buttons, Panels)
     read Fließtext (Rechtstexte UND Inhaltsseiten – einheitlich)
     h2  Zwischenüberschriften
     h1  Seitentitel  */
  --fs-xs: 0.72rem;
  --fs-sm: 0.95rem;
  --fs-base: 1.0625rem;
  --fs-read: clamp(1.2rem, 0.9rem + 1.1vw, 1.7rem);
  --fs-h2: clamp(1.35rem, 1.1rem + 1vw, 1.7rem);
  --fs-h1: clamp(2rem, 1.3rem + 2.6vw, 3.4rem);
  /* Schriftstärken: nur diese drei */
  --fw-normal: 400;
  --fw-medium: 500;
  --fw-bold: 600;

  --pad-x: clamp(1.25rem, 0.5rem + 3.5vw, 5rem);
  --section: clamp(3rem, 2rem + 5vw, 7rem);

  /* Galerie-Abstand – bewusst sehr luftig (artsy / fine art). ~320px auf Desktop. */
  --gallery-gap: clamp(4rem, 1rem + 20vw, 20rem);

  --content: 44rem;     /* Lesbreite für Fließtext */
  --wide: 90rem;        /* maximale Layoutbreite */

  --radius: 0;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1 { font-size: var(--fs-h1); font-weight: var(--fw-bold); line-height: 1.08; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: var(--fs-h2); font-weight: var(--fw-bold); line-height: 1.2; letter-spacing: -0.01em; margin: 0; }
h3 { font-size: var(--fs-base); font-weight: var(--fw-bold); line-height: 1.3; margin: 0; }
p { margin: 0 0 1em; }

::selection { background: var(--ink); color: var(--bg); }

/* --- Utilities ----------------------------------------------------------- */
/* Nur zwei Textfarben im ganzen Projekt. */
.color-gray-700 { color: var(--ink); }
.color-gray-600 { color: var(--muted); }
.color-error { color: var(--error); }
.text-s { font-size: var(--fs-sm); }
.stack-s > * + * { margin-top: 1rem; }
.stack-m > * + * { margin-top: 1.75rem; }

/* small-caps label (Eyebrows, Bildunterschriften) */
.eyebrow, .product-grid-item figcaption {
  font-size: var(--fs-sm);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* --- Header -------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 3rem);
  padding: 1.25rem var(--pad-x);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
}
.logo {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 0.9rem + 0.8vw, 1.55rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}
.logo:hover { opacity: 0.6; }
/* Navigation: rechts, schwarz, kräftiger Schnitt, normale Schreibweise. */
.header-nav { display: flex; gap: clamp(1.25rem, 2.5vw, 2.5rem); align-items: center; margin-left: auto; }
.header-nav a { color: var(--ink); font-weight: 600; font-size: var(--fs-sm); transition: opacity 0.25s; }
.header-nav a:hover { opacity: 0.55; }
.header-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.35em; text-decoration-thickness: 1.5px; }

/* Warenkorb-Auslöser: Icon + Badge */
.details-cart { position: relative; }
.cart-trigger {
  position: relative; display: inline-flex; align-items: center;
  list-style: none; cursor: pointer; color: var(--ink);
}
.cart-trigger::-webkit-details-marker { display: none; }
.cart-trigger:hover { opacity: 0.6; }
.cart-icon { width: 1.5rem; height: 1.5rem; display: block; }
.cart-count {
  position: absolute; top: -0.45rem; right: -0.55rem;
  min-width: 1.05rem; height: 1.05rem; padding: 0 0.18rem;
  display: none; align-items: center; justify-content: center;
  background: var(--ink); color: #fff;
  font-size: var(--fs-xs); font-weight: 600; line-height: 1;
  border-radius: 999px;
}
.cart-count:not(:empty) { display: inline-flex; }
.details-cart .cart {
  position: absolute; right: 0; top: calc(100% + 1rem);
  width: min(30rem, 86vw);
  background: var(--bg);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.25);
  padding: 2.75rem 1.5rem 1.5rem;   /* oben Platz für den ×-Button */
}
.cart-close {
  position: absolute; top: 0.5rem; right: 0.6rem;
  width: 2.4rem; height: 2.4rem;
  display: grid; place-items: center;
  border: 0; background: none; cursor: pointer;
  font-size: 1.9rem; line-height: 1; color: var(--ink);
  border-radius: 50%;
}
.cart-close:hover { background: var(--bg-soft); }

.header-actions { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.75rem); }

/* Burger (nur Mobile) */
.nav-toggle {
  display: none; position: relative;
  width: 1.6rem; height: 0.9rem;
  background: none; border: 0; padding: 0; cursor: pointer;
  align-self: center;
}
.nav-toggle span {
  position: absolute; left: 0; right: 0; height: 2px; background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { bottom: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

@media (max-width: 48rem) {
  .nav-toggle { display: block; }
  /* Logo mobil einen Tick größer. */
  .logo { font-size: 1.35rem; }
  /* Aktionen (Cart-Icon + Burger) rechts; Burger ganz rechts. */
  .header-actions { margin-left: auto; }
  .header-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    margin-left: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg);
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s var(--ease);
  }
  .header-nav[data-open="true"] {
    max-height: 80vh;
    box-shadow: 0 24px 50px -24px rgba(0,0,0,.2);
  }
  /* Ganze Zeile klickbar (nicht nur der Text). */
  .header-nav a { display: block; width: 100%; padding: 1rem var(--pad-x); font-size: 1.15rem; border-top: 1px solid var(--line); }
  /* Warenkorb-Modal mobil über die volle Breite (nicht abgeschnitten). */
  .details-cart .cart {
    position: fixed; left: 0; right: 0;
    top: var(--header-h, 4rem);   /* sauber direkt unter dem Header */
    width: 100%; max-height: calc(100dvh - var(--header-h, 4rem)); overflow-y: auto;
    border-left: 0; border-right: 0; border-top: 0;
    z-index: 50;
  }
  /* Abdunkelnder Hintergrund unter dem Header (Tippen schließt). */
  .details-cart[open]::before {
    content: ""; position: fixed; left: 0; right: 0; bottom: 0;
    top: var(--header-h, 4rem);
    background: rgba(0, 0, 0, 0.35); z-index: 40;
  }
  .cart-close { width: 2.8rem; height: 2.8rem; font-size: 2.1rem; }
}

/* --- Layout -------------------------------------------------------------- */
main { width: 100%; }

/* --- Window-Shopping-Galerie (Startseite) -------------------------------- */
.product-grid {
  position: relative;
  padding: clamp(3rem, 6vw, 7rem) var(--pad-x) var(--section);
  column-gap: var(--gallery-gap);   /* von der JS-Masonry als Spaltenabstand gelesen */
  row-gap: var(--gallery-gap);
}

/* Fallback ohne JS: einfache gestapelte Darstellung. */
.product-grid-item {
  display: block;
  width: 100%;
  margin-bottom: var(--gallery-gap);
}

/* Mit JS-Masonry: absolut positioniert (JS setzt Breite + transform). */
.masonry-js { }
.masonry-js .product-grid-item {
  position: absolute; top: 0; left: 0;
  margin: 0;
  will-change: transform, opacity;
  opacity: 0;                       /* Scroll-Reveal: erst beim Sichtbarwerden */
  transition: opacity 1.0s var(--ease) var(--reveal-delay, 0s);
}
.masonry-js .product-grid-item.is-revealed { opacity: 1; }
/* Intro/Reveal: Bild wischt von unten herein + leichtes Hochschieben.
   Die Bewegung liegt auf dem Medien-Container, weil das item-transform die
   Masonry-Position trägt. --reveal-delay staffelt die Startzeit (per JS gesetzt). */
.masonry-js .product-grid-media {
  clip-path: inset(0 0 100% 0);
  transform: translateY(16px);
  transition: clip-path 1.15s var(--ease) var(--reveal-delay, 0s),
              transform 1.15s var(--ease) var(--reveal-delay, 0s);
}
.masonry-js .product-grid-item.is-revealed .product-grid-media {
  clip-path: inset(0 0 0 0);
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .masonry-js .product-grid-media { clip-path: none; transform: none; transition: none; }
}
.product-grid-media {
  display: block;            /* WICHTIG: Container für das absolute Hover-Bild */
  position: relative;
  overflow: hidden;
  background: var(--bg-soft);
}
.product-grid-img, .product-grid-hover {
  width: 100%; height: auto; display: block;
}
.product-grid-hover {
  position: absolute; inset: 0; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
/* Crossfade aufs Alternativbild beim Hover. */
.product-grid-item.has-hover:hover .product-grid-hover { opacity: 1; }
/* Nur auf reinen Touch-Geräten (kein einziger Hover-Zeiger) ausblenden. */
@media (any-hover: none) { .product-grid-hover { display: none; } }

/* WebGL-Distortion aktiv: CSS-Crossfade aus, Canvas liegt über den Bildern. */
/* Nur Kacheln mit aktivem WebGL-Renderer blenden den CSS-Crossfade aus. */
.product-grid-item.has-webgl .product-grid-hover { display: none; }
.distortion-canvas { position: absolute; inset: 0; z-index: 2; pointer-events: none; }

/* Debug-Regler (nur mit ?design sichtbar) */
.design-controls {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 999;
  display: flex; flex-direction: column; gap: 0.6rem;
  width: 16rem; padding: 1rem 1.1rem;
  background: var(--bg); border: 1px solid var(--ink);
  box-shadow: 0 16px 40px -16px rgba(0,0,0,.3);
  font-size: 0.8rem;
}
.design-controls strong { font-size: var(--fs-sm); }
.design-controls label { display: flex; flex-direction: column; gap: 0.3rem; color: var(--ink); margin: 0; font-weight: 500; }
.design-controls label span { color: var(--muted); }
.design-controls input[type="range"] { width: 100%; accent-color: var(--ink); padding: 0; }
.design-controls small { color: var(--muted); line-height: 1.4; }
.design-controls .design-section {
  display: flex; flex-direction: column; gap: 0.6rem;
  margin-top: 0.4rem; padding-top: 0.8rem; border-top: 1px solid var(--line);
}

.product-grid-item figcaption {
  display: flex; justify-content: space-between; gap: 1rem;
  margin-top: 1.1rem;
  font-size: var(--fs-sm);
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}
.product-grid-item figcaption strong { font-weight: 600; }
.product-grid-item figcaption em { font-style: normal; font-weight: var(--fw-medium); white-space: nowrap; }

/* --- Buttons ------------------------------------------------------------- */
.button {
  display: inline-block; width: 100%;
  padding: 1rem 1.5rem;
  font: inherit; font-weight: 500;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--bg); background: var(--ink);
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: background 0.3s, color 0.3s, opacity 0.3s;
}
.button:hover { background: transparent; color: var(--ink); }
.button[disabled] { opacity: 0.35; cursor: not-allowed; }
.button.is-success { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.button-secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.button-secondary:hover { background: var(--bg-soft); }

/* Form controls */
select, input[type="text"], input[type="email"], input[type="number"], textarea {
  width: 100%; padding: 0.85rem 0.9rem;
  font: inherit; color: var(--ink); font-weight: var(--fw-medium);
  background: var(--bg);
  border: 1px solid var(--field-border);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}
select:focus, input:focus, textarea:focus {
  outline: none; border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.08);
}
/* Einheitlicher, sauber platzierter Pfeil für alle Selects (statt nativem). */
select {
  appearance: none; -webkit-appearance: none;
  padding-right: 2.4rem;
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%231a1a1a' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
}
label { display: block; font-size: var(--fs-sm); margin-bottom: 0.4rem; color: var(--muted); }

.price { font-size: var(--fs-h2); font-weight: var(--fw-medium); letter-spacing: -0.01em; }
/* Einheitlicher Fineprint (§19, Versand …) – überall gleich. */
.price-notice, .cart-notice { font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--ink); }
.price-notice a, .cart-notice a { text-decoration: underline; }
.price-notice { margin-top: 0.5rem; }

/* --- Cart ----------------------------------------------------------------
   Einheitlich: eine Schriftgröße (0.9rem), durchgehend schwarz; Unterschiede
   nur über Schriftstärke. Nur das ×-Entfernen ist dezent grau. */
.cart table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); color: var(--ink); }
.cart th, .cart td { text-align: left; padding: 0.55rem 0; vertical-align: top; font-weight: 500; }
.cart tbody td { vertical-align: middle; }
.cart td:last-child, .cart thead td { text-align: right; }
/* Menge-Spalte (1. td in Kopf + Körper) zentriert über dem Anzahl-Dropdown. */
.cart thead td:first-of-type, .cart tbody td:first-of-type { text-align: center; }
.cart thead th, .cart thead td { font-weight: 500; border-bottom: 1px solid var(--line); padding-bottom: 0.5rem; }
.cart tbody th { font-weight: 600; }
.cart tbody img { width: 46px; height: 46px; object-fit: cover; float: left; margin-right: 0.75rem; }
.cart tbody small { display: block; font-weight: 500; }
.cart tfoot th, .cart tfoot td { border-top: 1px solid var(--line); padding-top: 0.6rem; }
.cart tfoot tr:last-child th, .cart tfoot tr:last-child td { font-weight: 600; }
.cart-empty { padding: 1rem 0; }
.cart-notice { margin-top: 0.75rem; }
.cart-item-remove { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 1.1rem; line-height: 1; padding-left: 0.4rem; }
.cart-item-remove:hover { color: var(--error); }
.cart-checkout { margin-top: 1.25rem; }
.cart-qty {
  appearance: none; -webkit-appearance: none;
  width: auto; min-width: 3.4rem;
  padding: 0.4rem 1.8rem 0.4rem 0.65rem;
  font-size: inherit; font-weight: var(--fw-medium); line-height: 1.2;
  border: 1px solid var(--field-border); border-radius: var(--radius);
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%231a1a1a' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.6rem center;
  cursor: pointer;
}

/* --- Fließtext: Rechtstexte UND Inhaltsseiten – EIN gemeinsamer Stil ----- */
.page-content { max-width: 60rem; margin-inline: auto; padding: var(--section) var(--pad-x); }
/* Inhaltsseiten (mit Mehrspaltern) breiter als die reinen Lese-Rechtstexte. */
.page-content.page-wide { max-width: 76rem; }
.page-content > h1 { margin-bottom: 0.5em; }
.page-cover { margin: 0 0 var(--section); }
.page-cover img { width: 100%; }
.page-subtitle { font-size: var(--fs-sm); color: var(--muted); margin-bottom: 2rem; }

.richtext { font-size: var(--fs-read); line-height: 1.4; font-weight: var(--fw-medium); letter-spacing: -0.01em; }
.richtext > * { margin-bottom: 0.7em; }
/* Erstes Element ohne oberen Abstand → in Spalten sitzt z. B. ein Bild oben bündig. */
.richtext > :first-child { margin-top: 0; }
.richtext h2 { font-size: 1em; font-weight: var(--fw-bold); margin: 1.6em 0 0.3em; }
.richtext h3 { font-size: 0.9em; font-weight: var(--fw-bold); margin: 1.4em 0 0.3em; }
.richtext ul, .richtext ol { padding-left: 1.1em; }
.richtext li { margin-bottom: 0.2em; }
.richtext a { font-weight: var(--fw-bold); text-decoration: underline; text-underline-offset: 0.14em; text-decoration-thickness: 2px; }
.richtext a:hover { opacity: 0.6; }
.richtext figure { margin: var(--section) 0; }
.richtext figure img { width: 100%; }
.richtext figure figcaption { margin-top: 0.6rem; font-size: var(--fs-sm); font-weight: var(--fw-normal); color: var(--muted); }
.richtext blockquote { font-size: 0.9em; border-left: 2px solid var(--ink); padding-left: 1rem; margin: 1.5em 0; color: var(--ink); }

/* Mehrspaltige Inhaltsbereiche (layout-Feld): bis zu 12 Spalten, mobil gestapelt. */
.layout { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.layout + .layout { margin-top: clamp(1.5rem, 4vw, 3rem); }
.layout-column { grid-column: span var(--span, 12); min-width: 0; }
@media (max-width: 40rem) { .layout-column { grid-column: span 12 !important; } }

/* --- Forms / Notices ----------------------------------------------------- */
.form-row { margin-bottom: 1.1rem; }
.form-row small { display: block; margin-top: 0.3rem; color: var(--muted); }
.field-error { display: block; margin-top: 0.3rem; color: var(--error); font-size: var(--fs-sm); }
.notice { padding: 1.1rem 1.4rem; border: 1px solid var(--line); background: var(--bg-soft); margin-bottom: 1.75rem; }
.notice h2 { margin-top: 0; }
.notice-success { border-color: var(--ink); }
.notice-error { border-color: var(--error); background: #fdf3f2; color: var(--error); }
.checkbox-row { display: flex; gap: 0.7rem; align-items: flex-start; margin-top: 0.5rem; font-size: var(--fs-sm); color: var(--muted); line-height: 1.45; }
.checkbox-row a { text-decoration: underline; }

/* Eigene, klar gestaltete Checkbox mit Haken statt der winzigen Default-Box. */
.checkbox-row input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  flex: none; width: 1.2rem; height: 1.2rem; margin: 0;
  border: 1.5px solid var(--ink); border-radius: 3px;
  background: var(--bg); cursor: pointer; position: relative;
  transition: background 0.15s, box-shadow 0.2s;
}
.checkbox-row input[type="checkbox"]:hover { box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.06); }
.checkbox-row input[type="checkbox"]:checked { background: var(--ink); }
.checkbox-row input[type="checkbox"]:checked::after {
  content: ""; position: absolute; left: 0.4rem; top: 0.16rem;
  width: 0.3rem; height: 0.58rem;
  border: solid var(--bg); border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.checkbox-row input[type="checkbox"]:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.18); }
/* Mehrzeilige Zustimmungstexte: Box an der ersten Zeile ausrichten. */
.checkout-legal .checkbox-row { align-items: flex-start; }
.checkout-legal .checkbox-row input[type="checkbox"] { margin-top: 0.08rem; }
/* Einzeiliger Toggle (z. B. „Abweichende Lieferadresse"): vertikal zentrieren. */
.checkout .field .checkbox-row { align-items: center; }

.revocation-summary { display: grid; grid-template-columns: auto 1fr; gap: 0.3rem 1rem; margin: 1rem 0; }
.revocation-summary dt { color: var(--muted); }
.revocation-summary dd { margin: 0; }
.revocation-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.revocation-actions .button { width: auto; }
/* Formularfelder wie im Checkout: kräftige Labels (ink, medium), klare Felder. */
.revocation-intro { font-size: var(--fs-read); line-height: 1.4; font-weight: var(--fw-medium); color: var(--ink); max-width: 44rem; margin-bottom: 2.5rem; }
.revocation-form { max-width: 32rem; }
.revocation-form .form-row { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; }
.revocation-form label { font-size: var(--fs-base); font-weight: var(--fw-medium); color: var(--ink); margin: 0; }
.revocation-form small,
.revocation-form .color-gray-600 { font-size: var(--fs-sm); color: var(--ink); font-weight: var(--fw-medium); }
.revocation-form .field-error { font-size: var(--fs-sm); color: var(--error); font-weight: var(--fw-medium); }

/* --- 404 ----------------------------------------------------------------- */
.error-page {
  max-width: var(--content); margin-inline: auto;
  padding: clamp(4rem, 12vw, 10rem) var(--pad-x);
  text-align: center;
}
.error-page .error-code { font-family: var(--font-display); font-size: clamp(4rem, 10vw, 8rem); line-height: 1; margin: 0; }
.error-page h1 { margin: 1rem 0; }
.error-page p { color: var(--muted); max-width: 32rem; margin: 0 auto 2rem; }
.error-page .button { width: auto; display: inline-block; }

/* --- Footer -------------------------------------------------------------- */
.footer {
  margin-top: var(--section);
  padding: var(--section) var(--pad-x) 3rem;
  color: var(--muted);
  display: flex; flex-wrap: wrap; gap: 1.5rem 2rem;
  align-items: baseline;
  justify-content: space-between;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: clamp(1.25rem, 2.5vw, 2.5rem); }
.footer-nav a { color: var(--ink); font-weight: 600; font-size: var(--fs-sm); transition: opacity 0.25s; }
.footer-nav a:hover { opacity: 0.55; }
.footer .text { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.footer .text p { margin: 0; }
/* Mobil: Footer-Links untereinander, kompakter. */
@media (max-width: 48rem) {
  .footer { gap: 2rem; padding-bottom: 2.5rem; }
  .footer-nav { flex-direction: column; flex-wrap: nowrap; gap: 0.75rem; }
}
