/* ==========================================================================
   LMP Surface – One-Pager, v2 "Industrial Grunge / Corten-Patina"
   Vintage-Werkstattplakat: gealtertes Papier mit Flecken und Körnung,
   distressed Letterpress-Typo, Stempel-Badges, Zierlinien. Rost ist Farbe
   UND Textur; das Ergebnisse-Band ist eine dunkle Corten-Stahlplatte,
   der Kontakt bleibt "frisch pulverbeschichtetes" Schild-Rot.
   Alle Texturen kommen aus SVG-Turbulence-Data-URIs, keine Bilddateien.
   ========================================================================== */

/* ---------- Fonts (selbst gehostet, DSGVO-konform) ---------- */

@font-face {
  font-family: "Alfa Slab One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/alfa-slab-one-400.woff2") format("woff2");
}
@font-face {
  font-family: "Saira Stencil One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/saira-stencil-one-400.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/barlow-400.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/barlow-500.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/barlow-700.woff2") format("woff2");
}

/* ---------- Design-Tokens ---------- */

:root {
  /* Papier */
  --paper: #e7dcc3;
  --paper-light: #f0e7d2;
  --paper-dark: #d8cbae;
  --paper-edge: #c8b892;

  /* Druckfarbe (Letterpress-Schwarzbraun) */
  --ink: #2b2620;
  --ink-soft: #3e362c;
  --ink-faint: #5c5244;

  /* Rost / Corten */
  --rust: #9a4a20;
  --rust-bright: #b95c28;
  --rust-deep: #6e3315;
  --corten-900: #38200f;
  --corten-700: #4e2d17;
  --corten-500: #6a3d1e;
  --corten-cream: #ecdfc4;

  /* Stempel-Rot (Schild) */
  --stamp-red: #b8252b;
  --stamp-red-dark: #8d1a1f;
  --stamp-red-deep: #6b1216;

  /* Rot direkt aus der Logo-Datei ausgelesen */
  --logo-red: #c60117;

  --font-display: "Alfa Slab One", "Rockwell", "Georgia", serif;
  --font-stencil: "Saira Stencil One", "Arial Black", sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;

  --container: 68rem;

  /* Feine Körnung */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  /* Kreuzschraube: Metallverlauf, Fase, Kreuzschlitz mit Lichtkante.
     Vier Varianten mit unterschiedlichem Drehwinkel – von Hand eingedreht
     sitzt keine Schraube wie die andere. */
  --screw-0: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3CradialGradient id='g' cx='36%25' cy='30%25' r='78%25'%3E%3Cstop offset='0' stop-color='%23d9cdb1'/%3E%3Cstop offset='55%25' stop-color='%238d8269'/%3E%3Cstop offset='100%25' stop-color='%234a4234'/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle cx='12' cy='13' r='10.4' fill='%232b2620' opacity='.4'/%3E%3Ccircle cx='12' cy='12' r='10.4' fill='url(%23g)'/%3E%3Ccircle cx='12' cy='12' r='10.4' fill='none' stroke='%233b3428' stroke-width='.9' opacity='.75'/%3E%3Cg transform='rotate(6 12 12)'%3E%3Cg fill='%232f2921' opacity='.9'%3E%3Crect x='10.7' y='3.7' width='2.6' height='16.6' rx='1.2'/%3E%3Crect x='3.7' y='10.7' width='16.6' height='2.6' rx='1.2'/%3E%3C/g%3E%3Cg fill='%23efe7d2' opacity='.3'%3E%3Crect x='10.7' y='3.7' width='.9' height='16.6' rx='.45'/%3E%3Crect x='3.7' y='10.7' width='16.6' height='.9' rx='.45'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  --screw-1: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3CradialGradient id='g' cx='36%25' cy='30%25' r='78%25'%3E%3Cstop offset='0' stop-color='%23d9cdb1'/%3E%3Cstop offset='55%25' stop-color='%238d8269'/%3E%3Cstop offset='100%25' stop-color='%234a4234'/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle cx='12' cy='13' r='10.4' fill='%232b2620' opacity='.4'/%3E%3Ccircle cx='12' cy='12' r='10.4' fill='url(%23g)'/%3E%3Ccircle cx='12' cy='12' r='10.4' fill='none' stroke='%233b3428' stroke-width='.9' opacity='.75'/%3E%3Cg transform='rotate(28 12 12)'%3E%3Cg fill='%232f2921' opacity='.9'%3E%3Crect x='10.7' y='3.7' width='2.6' height='16.6' rx='1.2'/%3E%3Crect x='3.7' y='10.7' width='16.6' height='2.6' rx='1.2'/%3E%3C/g%3E%3Cg fill='%23efe7d2' opacity='.3'%3E%3Crect x='10.7' y='3.7' width='.9' height='16.6' rx='.45'/%3E%3Crect x='3.7' y='10.7' width='16.6' height='.9' rx='.45'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  --screw-2: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3CradialGradient id='g' cx='36%25' cy='30%25' r='78%25'%3E%3Cstop offset='0' stop-color='%23d9cdb1'/%3E%3Cstop offset='55%25' stop-color='%238d8269'/%3E%3Cstop offset='100%25' stop-color='%234a4234'/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle cx='12' cy='13' r='10.4' fill='%232b2620' opacity='.4'/%3E%3Ccircle cx='12' cy='12' r='10.4' fill='url(%23g)'/%3E%3Ccircle cx='12' cy='12' r='10.4' fill='none' stroke='%233b3428' stroke-width='.9' opacity='.75'/%3E%3Cg transform='rotate(-17 12 12)'%3E%3Cg fill='%232f2921' opacity='.9'%3E%3Crect x='10.7' y='3.7' width='2.6' height='16.6' rx='1.2'/%3E%3Crect x='3.7' y='10.7' width='16.6' height='2.6' rx='1.2'/%3E%3C/g%3E%3Cg fill='%23efe7d2' opacity='.3'%3E%3Crect x='10.7' y='3.7' width='.9' height='16.6' rx='.45'/%3E%3Crect x='3.7' y='10.7' width='16.6' height='.9' rx='.45'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  --screw-3: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3CradialGradient id='g' cx='36%25' cy='30%25' r='78%25'%3E%3Cstop offset='0' stop-color='%23d9cdb1'/%3E%3Cstop offset='55%25' stop-color='%238d8269'/%3E%3Cstop offset='100%25' stop-color='%234a4234'/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle cx='12' cy='13' r='10.4' fill='%232b2620' opacity='.4'/%3E%3Ccircle cx='12' cy='12' r='10.4' fill='url(%23g)'/%3E%3Ccircle cx='12' cy='12' r='10.4' fill='none' stroke='%233b3428' stroke-width='.9' opacity='.75'/%3E%3Cg transform='rotate(43 12 12)'%3E%3Cg fill='%232f2921' opacity='.9'%3E%3Crect x='10.7' y='3.7' width='2.6' height='16.6' rx='1.2'/%3E%3Crect x='3.7' y='10.7' width='16.6' height='2.6' rx='1.2'/%3E%3C/g%3E%3Cg fill='%23efe7d2' opacity='.3'%3E%3Crect x='10.7' y='3.7' width='.9' height='16.6' rx='.45'/%3E%3Crect x='3.7' y='10.7' width='16.6' height='.9' rx='.45'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");

  /* Ausgestanzte Wear-Flecken für distressed Typo (Maske: weiß = sichtbar).
     Grobe Frequenz = fleckige Abnutzung statt feinem Sandpapier-Rauschen. */
  --distress: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='d'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.15' numOctaves='3' seed='5' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='discrete' tableValues='0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1'/%3E%3CfeFuncG type='discrete' tableValues='0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1'/%3E%3CfeFuncB type='discrete' tableValues='0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23d)'/%3E%3C/svg%3E");
}

/* ---------- Basis ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
  background-color: var(--paper);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
}

/* Grunge-Wand als fixer Untergrund (braun eingefärbtes Foto),
   darüber ein heller Schleier, damit Text lesbar bleibt.
   position:fixed statt background-attachment:fixed – läuft auch auf iOS. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(120% 90% at 50% 0%, rgba(240, 231, 210, 0.68) 0%, rgba(231, 220, 195, 0.52) 45%, rgba(120, 86, 48, 0.12) 100%),
    url("../img/bg-grunge.jpg");
  background-size: auto, cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--paper);
}

/* Alters-Overlay über ALLEM: nur Randvignette + feine Körnung.
   Beides ist nahtlos und dezent genug, um auch über Formularfeldern
   nicht als "Schatten" zu lesen – die großen Patina-Flecken kommen
   aus der Foto-Textur des Untergrunds, nicht aus diesem Overlay. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  background-image:
    radial-gradient(140% 110% at 50% 40%, transparent 55%, rgba(74, 52, 24, 0.3) 100%),
    var(--grain);
  background-size: auto, 240px 240px;
  mix-blend-mode: multiply;
  opacity: 0.3;
}

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

h1, h2, h3 {
  line-height: 1.12;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
}

.container {
  width: min(var(--container), 100% - 2.5rem);
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(3.5rem, 8vw, 6rem);
}

:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 3px;
}

/* ---------- Typo ---------- */

.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

/* Distressed Letterpress: Speckle-Maske stanzt Löcher in die Glyphen.
   Browser ohne mask-mode zeigen die Schrift schlicht voll – kein Schaden. */
.distress {
  -webkit-mask-image: var(--distress);
  mask-image: var(--distress);
  -webkit-mask-size: 560px 560px;
  mask-size: 560px 560px;
  mask-mode: luminance;
}

.kicker {
  display: inline-block;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--rust);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.9rem, 4.5vw, 2.9rem);
  color: var(--ink);
}

/* Überschrift mit Zierlinien links/rechts (Plakat-Stil) */
.flourish {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.25rem;
}

/* Klassische Letterpress-Doppellinie: kräftige Linie oben, Haarlinie
   darunter – dasselbe Prinzip wie die Doppellinie der Hero-Subline. */
.flourish::before,
.flourish::after {
  content: "";
  height: 6px;
  opacity: 0.5;
  background-image:
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor);
  background-size: 100% 3px, 100% 1px;
  background-position: left top, left bottom;
  background-repeat: no-repeat;
}

/* Punktierte Trennlinie zwischen Sektionen (wie im Plakat-Vorbild) */
.dotted-rule {
  border: 0;
  border-top: 3px dotted rgba(43, 38, 32, 0.45);
  width: min(var(--container), 100% - 2.5rem);
  margin: 0 auto;
}

.centered {
  text-align: center;
}

/* Angeschraubtes Papier-Plakat: scharfkantige Tafel auf der Grunge-Wand,
   gleiche Machart wie die Leistungs- und Foto-Tafeln. */
.poster {
  --screw-size: 15px;
  --screw-inset: 11px;
  position: relative;
  background: var(--paper-light);
  border: 4px double rgba(43, 38, 32, 0.4);
  box-shadow: 0 18px 40px rgba(43, 38, 32, 0.35);
  padding: clamp(2.25rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3.5rem);
  rotate: -0.4deg;
}

/* Vier Kreuzschrauben in den Ecken. Ein einziges Overlay statt vier
   Pseudo-Elemente: die Schrauben sind Hintergrundbilder mit Eckposition.
   pointer-events: none, damit Buttons darunter klickbar bleiben. */
.poster::after,
.stamp-card::after,
.ba-slot::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: var(--screw-0), var(--screw-1), var(--screw-2), var(--screw-3);
  background-repeat: no-repeat;
  background-size: var(--screw-size);
  background-position:
    left var(--screw-inset) top var(--screw-inset),
    right var(--screw-inset) top var(--screw-inset),
    left var(--screw-inset) bottom var(--screw-inset),
    right var(--screw-inset) bottom var(--screw-inset);
}

/* Ausgefranste Blechkanten direkt an der Sektion: die Zacken zeigen
   die eigene Textur der Sektion, keine feste Füllfarbe nötig. */
.jag-top {
  clip-path: polygon(0 14px, 3.2% 19px, 6.8% 6px, 10.9% 16px, 14.8% 8px, 20% 18px, 24.7% 4px, 29.3% 14px, 34.2% 7px, 39% 17px, 43.4% 5px, 48.7% 15px, 53.3% 9px, 58.4% 19px, 62.9% 6px, 68.2% 14px, 72.8% 4px, 77.8% 16px, 82.6% 8px, 87.4% 18px, 92.1% 5px, 96.5% 13px, 100% 8px, 100% 100%, 0 100%);
}

.jag-both {
  clip-path: polygon(0 14px, 3.2% 19px, 6.8% 6px, 10.9% 16px, 14.8% 8px, 20% 18px, 24.7% 4px, 29.3% 14px, 34.2% 7px, 39% 17px, 43.4% 5px, 48.7% 15px, 53.3% 9px, 58.4% 19px, 62.9% 6px, 68.2% 14px, 72.8% 4px, 77.8% 16px, 82.6% 8px, 87.4% 18px, 92.1% 5px, 96.5% 13px, 100% 8px,
    100% calc(100% - 8px), 96.5% calc(100% - 13px), 92.1% calc(100% - 5px), 87.4% calc(100% - 18px), 82.6% calc(100% - 8px), 77.8% calc(100% - 16px), 72.8% calc(100% - 4px), 68.2% calc(100% - 14px), 62.9% calc(100% - 6px), 58.4% calc(100% - 19px), 53.3% calc(100% - 9px), 48.7% calc(100% - 15px), 43.4% calc(100% - 5px), 39% calc(100% - 17px), 34.2% calc(100% - 7px), 29.3% calc(100% - 14px), 24.7% calc(100% - 4px), 20% calc(100% - 18px), 14.8% calc(100% - 8px), 10.9% calc(100% - 16px), 6.8% calc(100% - 6px), 3.2% calc(100% - 19px), 0 calc(100% - 14px));
}

/* ---------- Buttons (Stempel-Optik) ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  border: 0;
  border-radius: 2px;
  padding: 0.9rem 1.8rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-paint {
  color: var(--paper-light);
  background:
    linear-gradient(180deg, #c93036 0%, var(--stamp-red) 45%, var(--stamp-red-dark) 100%);
  box-shadow: 0 3px 0 var(--stamp-red-deep), 0 10px 20px rgba(107, 18, 22, 0.3);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

.btn-paint:hover {
  transform: translateY(-2px) rotate(-0.5deg);
  box-shadow: 0 5px 0 var(--stamp-red-deep), 0 14px 24px rgba(107, 18, 22, 0.4);
}

.btn-ghost {
  color: var(--ink);
  background: transparent;
  box-shadow: inset 0 0 0 3px var(--ink);
}

.btn-ghost:hover {
  color: var(--rust-deep);
  box-shadow: inset 0 0 0 3px var(--rust-deep);
  transform: rotate(0.5deg);
}

/* ---------- Header ---------- */

/* Fixiert statt sticky: der Header überlagert den Inhalt, statt oben Platz
   zu belegen – so beginnt das Hero-Plakat direkt am Viewport-Rand. */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  color: var(--ink);
  background-color: rgba(240, 231, 210, 0.96);
  background-image: var(--grain);
  background-size: 240px 240px;
  background-blend-mode: multiply;
  border-bottom: 3px double var(--ink-soft);
  box-shadow: 0 2px 14px rgba(43, 38, 32, 0.2);
}

/* Mit JS: erst ab etwas Scroll einfahren. Ohne JS bleibt er sichtbar. */
html.js .site-header {
  transform: translateY(-100%);
  transition: transform 0.35s ease;
}

html.js .site-header.is-visible {
  transform: none;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand-logo {
  width: 2.4rem;
  height: auto;
}

.brand .brand-lmp {
  color: var(--stamp-red);
}

.brand .brand-surface {
  color: var(--ink);
}

.site-nav ul {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}

.site-nav a:hover {
  color: var(--stamp-red);
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--ink-soft);
  border-radius: 2px;
  padding: 0.5rem 0.65rem;
  cursor: pointer;
}

.nav-toggle .bar {
  display: block;
  width: 1.4rem;
  height: 2px;
  background: var(--ink);
  margin: 4px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 44rem) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    inset: 100% 0 auto 0;
    background: var(--paper-light);
    border-bottom: 3px double var(--ink-soft);
    display: none;
  }

  .site-nav.open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1.25rem 1rem;
  }

  .site-nav a {
    display: block;
    padding: 0.75rem 0;
  }

  .nav-toggle[aria-expanded="true"] .bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
}

/* ---------- Hero (zentriertes Plakat) ---------- */

/* Hero füllt den ersten Bildschirm; das Plakat sitzt mittig darin.
   svh statt vh, damit die Browserleisten auf Mobil nicht abschneiden. */
.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 100svh;
  text-align: center;
  padding-block: clamp(1rem, 2.5svh, 3rem);
}

.hero .poster {
  width: 100%;
  max-width: 62rem;
  margin-inline: auto;
  padding-block: clamp(1.25rem, 3.5svh, 3rem);
}

/* Hero-Elemente skalieren mit Breite UND Höhe, damit das Plakat auch auf
   flachen Fenstern (z. B. 1280x720) komplett in den Viewport passt. */
.hero-emblem {
  display: block;
  width: clamp(5.5rem, min(18vw, 17svh), 11rem);
  height: auto;
  margin: 0 auto clamp(0.6rem, 2svh, 1.5rem);
}

.hero-kicker {
  color: var(--ink-soft);
}

.hero-title {
  font-size: clamp(2.2rem, min(8vw, 9svh), 5.6rem);
  color: var(--ink);
  margin-bottom: 0.15em;
}

.hero-title .accent {
  color: var(--logo-red);
}

/* Subline zwischen Doppellinien */
.hero-subline {
  display: inline-block;
  font-weight: 700;
  font-size: clamp(0.8rem, 1.8vw, 1.05rem);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--ink);
  border-block: 3px double var(--ink);
  padding: clamp(0.35rem, 1svh, 0.5rem) 1.25rem;
  margin-bottom: clamp(0.9rem, 2.5svh, 1.75rem);
}

.hero-sub {
  max-width: 36rem;
  margin-inline: auto;
  margin-bottom: 0;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: clamp(1.25rem, 3svh, 2.2rem);
}

.hero-phone {
  margin: clamp(1rem, 2.5svh, 2.25rem) 0 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
}

/* ---------- Hero-Animation: Plakat wird aufgehängt ---------- */

@keyframes poster-settle {
  from {
    opacity: 0;
    transform: translateY(-26px) scale(0.985);
    rotate: -2.6deg;
  }
  to {
    opacity: 1;
    transform: none;
    rotate: -0.4deg;
  }
}

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

/* Aufstanzen: Element kommt groß und unscharf herunter und schlägt auf.
   Bewusst ohne Nachfedern – die Skalierung läuft nur in eine Richtung,
   sonst wirkt der Abschluss wie ein zweiter Sprung. */
@keyframes stamp-in {
  0% {
    opacity: 0;
    transform: scale(1.5);
    filter: blur(3px);
  }
  45% {
    opacity: 1;
    filter: blur(0.4px);
  }
  100% {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}

/* Nur mit JS animieren – ohne JS steht alles sofort korrekt da */
html.js .hero .poster {
  animation: poster-settle 0.7s cubic-bezier(0.2, 0.75, 0.3, 1) both;
  transform-origin: 50% 0;
}

html.js .hero .poster > * {
  animation: stamp-in 0.42s cubic-bezier(0.12, 0.9, 0.2, 1) both;
}

html.js .hero .poster > *:nth-child(1) { animation-delay: 0.26s; }
html.js .hero .poster > *:nth-child(2) { animation-delay: 0.38s; }
html.js .hero .poster > *:nth-child(3) { animation-delay: 0.48s; }
html.js .hero .poster > *:nth-child(4) { animation-delay: 0.58s; }
html.js .hero .poster > *:nth-child(5) { animation-delay: 0.68s; }
html.js .hero .poster > *:nth-child(6) { animation-delay: 0.78s; }
html.js .hero .poster > *:nth-child(7) { animation-delay: 0.88s; }

/* ---------- Scroll-Hinweis ---------- */

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(0.75rem, 2.5svh, 1.75rem);
  translate: -50% 0;
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--ink-soft);
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.scroll-cue:hover {
  opacity: 1;
  color: var(--stamp-red);
}

.scroll-cue svg {
  width: 1.35rem;
  height: 1.35rem;
  animation: cue-bob 2.4s ease-in-out infinite;
}

@keyframes cue-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

html.js .scroll-cue {
  animation: hero-rise 0.6s ease-out 1s both;
}

/* Auf flachen Fenstern kollidiert der Hinweis mit dem Plakat */
@media (max-height: 50rem) {
  .scroll-cue {
    display: none;
  }
}

.hero-phone a {
  color: var(--rust-deep);
  font-weight: 700;
  text-decoration: none;
}

.hero-phone a:hover {
  text-decoration: underline;
}

/* ---------- Leistungen: Stempel-Badges ---------- */

.services {
  padding-block: clamp(5.5rem, 11vw, 9rem);
}

/* Gleiches Raster wie die Ergebnisse: 4 / 2x2 / 1. auto-fit hätte in der
   Mitte 3+1 ergeben – eine einzelne Karte in der zweiten Reihe. */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem 1.75rem;
  margin-top: 3.5rem;
}

@media (max-width: 68rem) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 34rem) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* Leistungen als angeschraubte Blechtafeln – gleiche Machart wie die
   Vorher/Nachher-Tafeln im Ergebnisse-Band. */
.stamp-card {
  --screw-size: 11px;
  --screw-inset: 9px;
  position: relative;
  text-align: center;
  background: var(--paper-light);
  padding: 2.25rem 1.25rem 1.9rem;
  box-shadow: 0 14px 28px rgba(43, 38, 32, 0.32);
}

/* rotate-Property statt transform: kollidiert nicht mit dem
   translateY der Reveal-Animation */
.stamp-card:nth-child(1) { rotate: -1.2deg; }
.stamp-card:nth-child(2) { rotate: 0.9deg; }
.stamp-card:nth-child(3) { rotate: -0.8deg; }
.stamp-card:nth-child(4) { rotate: 1.1deg; }

/* Schraubköpfe in den oberen Ecken */
.stamp {
  width: clamp(8rem, 12vw, 9.5rem);
  margin: 0 auto 1.25rem;
  color: var(--rust);
}

/* Stempel selbst nochmal leicht verdreht – wie von Hand gestempelt */
.stamp-card:nth-child(odd) .stamp { rotate: -2.5deg; }
.stamp-card:nth-child(even) .stamp { rotate: 2deg; }

.stamp--red {
  color: var(--stamp-red);
}

/* Alfa Slab One ist breit: "Pulvergrundierung" passt in der schmalsten
   Kartenspalte nur bis ~0.92rem einzeilig. Keine Auto-Silbentrennung –
   mehrwortige Titel sollen am Leerzeichen umbrechen, nicht in "FEL-GEN". */
.stamp-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
  overflow-wrap: break-word;
}

/* Ab zwei Spalten sind die Karten breit genug für größere Titel */
@media (max-width: 68rem) {
  .stamp-card h3 {
    font-size: 1.15rem;
  }
}

.stamp-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* ---------- Ergebnisse: Corten-Stahlband ---------- */

.corten-band {
  position: relative;
  color: var(--corten-cream);
  background-color: var(--corten-700);
  /* Foto-Textur (cover, keine Kachel-Wiederholung) + Glanzlicht + Körnung */
  background-image:
    radial-gradient(110% 80% at 15% 0%, rgba(185, 92, 40, 0.35) 0%, transparent 55%),
    var(--grain),
    url("../img/bg-corten.jpg");
  background-size: auto, 240px 240px, cover;
  background-position: center;
  background-repeat: no-repeat, repeat, no-repeat;
  background-blend-mode: normal, overlay, normal;
  padding-block: clamp(4.5rem, 9vw, 7rem);
}

.corten-band .kicker {
  color: #e0a06a;
}

.corten-band .section-title {
  color: var(--corten-cream);
}

.corten-band .flourish {
  color: var(--corten-cream);
}

.corten-intro {
  color: #cbb797;
  max-width: 36rem;
  margin-inline: auto;
}

.ba-grid {
  display: grid;
  /* Vier Schritte in einer Reihe; darunter 2x2, dann untereinander –
     die Reihenfolge bleibt in jeder Stufe lesbar. */
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.75rem;
}

@media (max-width: 62rem) {
  .ba-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 34rem) {
  .ba-grid {
    grid-template-columns: 1fr;
  }
}

/* Fotorahmen wie aufgeschraubte Blechschilder */
.ba-slot {
  --screw-size: 12px;
  --screw-inset: 8px;
  position: relative;
  margin: 0;
  background: var(--paper-light);
  padding: 0.75rem 0.75rem 1rem;
  box-shadow: 0 14px 28px rgba(30, 17, 7, 0.5);
}

/* Jede Tafel minimal anders eingehängt */
.ba-slot:nth-child(1) { rotate: -1.2deg; }
.ba-slot:nth-child(2) { rotate: 0.9deg; }
.ba-slot:nth-child(3) { rotate: -0.8deg; }
.ba-slot:nth-child(4) { rotate: 1.1deg; }

.ba-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-stencil);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  padding: 0.8rem 0.5rem 0.5rem;
  color: var(--step-color, var(--ink));
}

/* Schrittnummer als eingeschlagener Punzen. Farbe kommt aus --step-color,
   nicht aus currentColor – das würde hier auf die eigene Textfarbe zeigen. */
.ba-step {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0;
  color: var(--paper-light);
  background: var(--step-color, var(--ink));
}

/* Farbverlauf über die Schritte: Rost → blankes Metall → Grundierung → Lack */
.ba-slot:nth-child(1) { --step-color: var(--rust-deep); }
.ba-slot:nth-child(2) { --step-color: #5c6169; }
.ba-slot:nth-child(3) { --step-color: #7a705c; }
.ba-slot:nth-child(4) { --step-color: var(--logo-red); }

/* ---------- Fotos ---------- */

.photo-img {
  display: block;
  width: 100%;
  /* height:auto nötig, sonst gewinnt das height-Attribut aus dem Markup */
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  /* Leicht entsättigt/warm, damit Fotos in die Patina-Welt passen */
  filter: sepia(0.15) saturate(0.95) contrast(1.03);
}

/* ---------- Lightbox ---------- */

/* Foto-Button: setzt die Button-Optik zurück, Bild füllt die Fläche */
.ba-zoom {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.ba-zoom:focus-visible {
  outline: 3px solid var(--stamp-red);
  outline-offset: 3px;
}

.lightbox {
  /* Breite folgt dem Bild – kein leerer Rahmen neben hohen Fotos */
  width: fit-content;
  max-width: min(92vw, 60rem);
  max-height: 92vh;
  margin: auto;
  padding: 0;
  border: 0;
  background: none;
  overflow: visible;
  color: var(--corten-cream);
}

.lightbox::backdrop {
  background-color: rgba(31, 18, 8, 0.92);
}

/* Kein Skalieren/Nachfedern – nur hartes Einblenden */
.lightbox[open] {
  animation: lb-in 120ms linear;
}

@keyframes lb-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.lb-figure {
  margin: 0;
  background: var(--paper-light);
  padding: 0.7rem 0.7rem 0;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
}

.lb-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 76vh;
}

.lb-caption {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.2rem;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.lb-step {
  display: grid;
  place-content: center;
  flex: 0 0 auto;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--stamp-red);
  color: var(--paper-light);
  font-size: 0.8rem;
}

.lb-count {
  margin-left: auto;
  color: var(--ink-faint);
  letter-spacing: 0.12em;
}

.lb-btn {
  position: absolute;
  display: grid;
  place-content: center;
  width: 2.8rem;
  height: 2.8rem;
  padding: 0;
  border: 2px solid rgba(236, 223, 196, 0.5);
  background: rgba(31, 18, 8, 0.85);
  color: var(--corten-cream);
  cursor: pointer;
}

.lb-btn svg {
  width: 1.4rem;
  height: 1.4rem;
}

.lb-btn:hover,
.lb-btn:focus-visible {
  background: var(--stamp-red);
  border-color: var(--stamp-red);
}

.lb-close {
  top: -1.4rem;
  right: -1.4rem;
}

.lb-prev {
  top: 50%;
  left: -1.4rem;
  translate: 0 -50%;
}

.lb-next {
  top: 50%;
  right: -1.4rem;
  translate: 0 -50%;
}

/* Schmale Viewports: Knöpfe wandern in die Ecken statt aus dem Bild heraus */
@media (max-width: 40rem) {
  .lightbox {
    max-width: 94vw;
  }

  .lb-close {
    top: 0.4rem;
    right: 0.4rem;
  }

  .lb-prev {
    left: 0.4rem;
  }

  .lb-next {
    right: 0.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lightbox[open] {
    animation: none;
  }
}

/* ---------- Werkstatt ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about p {
  color: var(--ink-soft);
}

.about-poster {
  rotate: 0.3deg;
}

/* Karte liegt wie ein aufgelegter Papierplan auf dem Plakat */
.about-map {
  margin: 0;
  background: #fff;
  padding: 0.6rem 0.6rem 0.5rem;
  rotate: 1.5deg;
  box-shadow: 0 10px 22px rgba(43, 38, 32, 0.35);
}

.map-plate {
  position: relative;
  aspect-ratio: 4 / 3;
  background-color: var(--corten-cream);
  /* Millimeterpapier-Raster als Kartenandeutung */
  background-image:
    linear-gradient(rgba(106, 61, 30, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(106, 61, 30, 0.16) 1px, transparent 1px),
    linear-gradient(rgba(106, 61, 30, 0.3) 2px, transparent 2px);
  background-size: 22px 22px, 22px 22px, 100% 110px;
  background-position: 0 0, 0 0, 0 62%;
}

.map-plate iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-preview {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 1.2rem;
  text-align: center;
  color: var(--corten-700);
}

.map-pin {
  width: 2.6rem;
  height: 2.6rem;
  color: var(--stamp-red);
}

.map-address {
  margin: 0;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.map-preview .map-load {
  padding: 0.55rem 1.3rem;
  font-size: 0.85rem;
}

.map-consent {
  margin: 0;
  max-width: 22rem;
  font-size: 0.72rem;
  line-height: 1.4;
  color: rgba(78, 45, 23, 0.8);
}

.map-consent a {
  color: inherit;
}

.map-caption {
  margin: 0.5rem 0.15rem 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: right;
}

.map-caption a {
  color: var(--stamp-red);
  text-decoration: none;
}

.map-caption a:hover {
  text-decoration: underline;
}

.about-facts {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.about-facts li {
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
  font-weight: 500;
}

.about-facts li::before {
  content: "";
  flex: 0 0 auto;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--stamp-red);
  transform: rotate(45deg) translateY(-1px);
}

@media (max-width: 50rem) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ---------- Kontakt (frisch pulverbeschichtet) ---------- */

.contact {
  position: relative;
  color: #fdeeea;
  background-color: var(--stamp-red);
  background-image:
    radial-gradient(110% 70% at 50% -20%, rgba(255, 255, 255, 0.25) 0%, transparent 55%),
    linear-gradient(180deg, #c62b31 0%, var(--stamp-red) 40%, var(--stamp-red-dark) 100%),
    var(--grain);
  background-size: auto, auto, 240px 240px;
  background-blend-mode: normal, normal, overlay;
}

.contact .kicker {
  color: #f4c9c3;
}

.contact .section-title {
  color: #fdf3e6;
}

.contact .flourish {
  color: #f4c9c3;
}

.contact-intro {
  max-width: 36rem;
  margin-inline: auto;
  color: #f6d8d3;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  margin-top: 2.75rem;
  align-items: start;
  text-align: left;
}

@media (max-width: 50rem) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  display: grid;
  gap: 1.4rem;
}

.contact-block h3 {
  font-family: var(--font-stencil);
  font-weight: 400;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #f4c9c3;
  margin-bottom: 0.3rem;
}

.contact-block p {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 500;
}

.contact-block a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.contact-block a:hover {
  text-decoration: underline;
}

/* Formular: Karteikarte auf dem roten Blech */
.contact-form {
  background: var(--paper-light);
  color: var(--ink);
  padding: 1.9rem 1.75rem;
  transform: rotate(-0.8deg);
  box-shadow: 0 16px 32px rgba(107, 18, 22, 0.45);
  display: grid;
  gap: 1.1rem;
}

.form-row {
  display: grid;
  gap: 0.3rem;
}

.form-row label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
}

.form-row input,
.form-row textarea {
  font: inherit;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.55);
  border: 2px solid var(--ink-soft);
  border-radius: 0;
  padding: 0.65rem 0.85rem;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 3px solid var(--stamp-red);
  outline-offset: 1px;
}

.form-row textarea {
  resize: vertical;
  min-height: 7.5rem;
}

.form-note {
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin: 0;
}

.form-note a {
  color: var(--rust-deep);
}

.contact-form .btn {
  justify-self: start;
}

.form-feedback {
  display: none;
  background: rgba(184, 37, 43, 0.1);
  border-left: 4px solid var(--stamp-red);
  padding: 0.8rem 1rem;
  font-weight: 500;
}

.form-feedback.visible {
  display: block;
}

/* ---------- Footer / Impressum ---------- */

.site-footer {
  color: #cfc4b0;
  background:
    linear-gradient(180deg, #2c251d 0%, #211b15 100%);
  border-top: 3px solid var(--rust-deep);
  padding-block: 3rem 2rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 2rem;
}

.site-footer h2,
.site-footer h3 {
  font-family: var(--font-stencil);
  font-weight: 400;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--paper-light);
}

.site-footer p {
  margin-bottom: 0.5em;
}

.site-footer a {
  color: #e0a06a;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-legal {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px dashed #56493a;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.85rem;
}

.placeholder-hint {
  color: #b3672f;
  font-style: italic;
}

/* ---------- Unterseite (Datenschutz) ---------- */

/* Ohne Vollbild-Hero muss der fixierte Header hier Platz bekommen */
.legal-page {
  min-height: 100vh;
  padding-top: 4.5rem;
}

.legal-content {
  max-width: 50rem;
  padding-block: 3rem 5rem;
}

.legal-content .poster {
  text-align: left;
  rotate: none;
}

.legal-content h1 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 2.6rem);
  color: var(--ink);
}

.legal-content h2 {
  font-size: 1.25rem;
  margin-top: 2em;
  color: var(--rust-deep);
}

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
}

.legal-content .placeholder-hint {
  color: var(--rust);
}

/* Einleitung etwas kräftiger als der Fließtext */
.legal-content .legal-lead {
  font-size: 1.05rem;
  color: var(--ink);
}

.legal-content ul {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.legal-content ul li {
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
}

/* Rautenmarker wie in der Faktenliste auf der Startseite */
.legal-content ul li::before {
  content: "";
  flex: 0 0 auto;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--rust);
  transform: rotate(45deg) translateY(-1px);
}

.legal-content strong {
  color: var(--ink);
}

.legal-date {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--paper-edge);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Scroll-Reveal ---------- */

/* Nur aktiv, wenn JS läuft (html.js) – ohne JS bleibt alles sichtbar */
html.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

html.js .reveal.in-view {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .site-nav a,
  html.js .site-header {
    transition: none;
  }

  /* Hero-Stanzeffekt und Scroll-Hinweis nicht animieren */
  html.js .hero .poster,
  html.js .hero .poster > *,
  html.js .scroll-cue,
  .scroll-cue svg {
    animation: none;
    opacity: 1;
    transform: none;
    filter: none;
  }

  html.js .hero .poster {
    rotate: -0.4deg;
  }
}

/* ---------- Kontaktformular: Rückmeldungen ---------- */

/* Spamfalle: für Menschen unsichtbar, aber nicht display:none –
   manche Bots ignorieren ausgeblendete Felder gezielt. */
.form-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-fehler {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--stamp-red-dark);
}

.form-fehler--gross {
  margin: 0 0 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(184, 37, 43, 0.1);
  border-left: 4px solid var(--stamp-red);
}

.form-row input[aria-invalid="true"],
.form-row textarea[aria-invalid="true"] {
  border-color: var(--stamp-red);
  background: rgba(184, 37, 43, 0.06);
}

/* Bestätigung nach dem Absenden – sitzt an der Stelle des Formulars */
.form-danke {
  background: var(--paper-light);
  color: var(--ink);
  padding: 2rem 1.75rem;
  rotate: -0.8deg;
  box-shadow: 0 16px 32px rgba(107, 18, 22, 0.45);
}

.form-danke h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.35rem;
  text-transform: uppercase;
  color: var(--ink);
}

.form-danke p {
  margin: 0;
  color: var(--ink-soft);
}

.form-danke a {
  color: var(--rust-deep);
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- Absende-Button: Ladezustand ---------- */

/* Ring statt Quadrat: ein rotierendes Quadrat liest sich nicht als Drehung,
   sondern als Zappeln – die Ecken wandern sichtbar. Der Kreis passt auch zur
   Grundform der Stempel-Badges. Lineare Drehung, damit nichts federt. */
.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.form-submit[disabled] {
  cursor: progress;
}

/* Im Ladezustand nicht mehr auf Hover reagieren – der Button ist tot. */
.form-submit[disabled]:hover {
  transform: none;
  box-shadow: 0 3px 0 var(--stamp-red-deep), 0 10px 20px rgba(107, 18, 22, 0.3);
}

.form-submit.is-busy::after {
  content: "";
  width: 1.05em;
  height: 1.05em;
  border: 2px solid rgba(0, 0, 0, 0.32);
  border-top-color: var(--paper-light);
  border-radius: 50%;
  animation: form-spin 0.7s linear infinite;
}

@keyframes form-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  /* Ohne Drehung bleibt die geänderte Beschriftung als Rückmeldung. */
  .form-submit.is-busy::after {
    animation: none;
  }
}
