/* ============================================================================
   Kritzelbot — Gestaltung
   ----------------------------------------------------------------------------
   Bildidee: TINTE UND PAPIER. Der Grund ist tiefes Schwarzbraun wie Tinte,
   darauf liegen echte Papierflaechen. Das Produkt macht Striche auf Papier -
   die Seite soll sich genauso anfuehlen, nicht wie eine Hochzeitsbroschuere.

   Technische Beschriftungen laufen in Monospace: der Kritzelbot ist ein Plotter,
   und Koordinaten, Millimeter und Strichzahlen sind hier echte Angaben, keine
   Deko. Das gibt der Seite die Werkstatt-Note, die sie von jeder anderen
   Event-Dienstleisterseite unterscheidet.
   ============================================================================ */

@font-face { font-family: "Playfair Display"; src: url("fonts/PlayfairDisplay-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("fonts/PlayfairDisplay-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("fonts/PlayfairDisplay-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
/* Geladen werden nur die Schnitte, die auch eine Regel verwendet. Playfair-600 und
   Inter-400 waren deklariert, aber nie angefragt - 87 KB tote Last. */
@font-face { font-family: "Inter"; src: url("fonts/Inter-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  /* Tinte */
  --ink:        #0c0b0a;
  --ink-2:      #141210;
  --ink-3:      #1d1a17;
  /* Papier */
  --paper:      #f4efe4;
  --paper-2:    #eae3d4;
  --paper-ink:  #211d18;
  /* Gold */
  --gold:       #d9b26a;
  --gold-hell:  #f0dcb4;
  /* Dieser Ton erscheint ausschliesslich auf Papier (Beschriftungen, Kursivphrasen,
     Pflichtstern, Links im Einwilligungstext). Bei #9a7b3f lag er dort bei 3,47:1
     und war damit der letzte Rest unter dem Lesbarkeitsminimum. */
  --gold-tief:  #775c28;
  /* Text auf Tinte */
  --hell:       #efe9dd;
  --leise:      rgba(239, 233, 221, .74);   /* war .58 -> 2,71:1, unter dem Lesbarkeitsminimum */
  --sehr-leise: rgba(239, 233, 221, .58);   /* war .34 -> betraf Fusszeile, Hero-Zeile, Paketlaufzeit */
  /* Linien */
  --linie:      rgba(239, 233, 221, .12);
  --linie-hell: rgba(33, 29, 24, .18);

  --serif: "Playfair Display", Georgia, serif;
  --sans:  "Inter", system-ui, -apple-system, sans-serif;
  --mono:  ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;

  --breite: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--hell);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--breite); margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px); }

/* ---------------------------------------------------------------------------
   Typografie
   Das Verhaeltnis macht die Moderne: sehr grosse Ueberschrift, sehr kleine
   technische Beschriftung, dazwischen kaum etwas.
   --------------------------------------------------------------------------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; }

h1 {
  font-size: clamp(44px, 7.2vw, 92px);
  line-height: .97;
  letter-spacing: -.025em;
}
h1 em { font-style: italic; color: var(--gold); }

h2 {
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.02;
  letter-spacing: -.022em;
  margin-bottom: 20px;
}
h2 em { font-style: italic; color: var(--gold); }

/* Technische Beschriftung: klein, Monospace, mit Marke davor */
.kicker, .eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.kicker::before, .eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--gold);
  opacity: .55;
  flex-shrink: 0;
}

.lead {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--leise);
  max-width: 34em;
  /* Ohne oberen Abstand klebte der Text direkt an der Unterkante der Ueberschrift -
     bei einer 92px-Zeile faellt das sofort auf. */
  margin: clamp(20px, 2.2vw, 30px) 0 36px;
}

/* ---------------------------------------------------------------------------
   Kopfzeile
   --------------------------------------------------------------------------- */
header.top {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px clamp(20px, 5vw, 56px);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, padding .3s;
}
header.top.scrolled {
  background: rgba(12, 11, 10, .82);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--linie);
  padding-top: 14px; padding-bottom: 14px;
}
.brand {
  font-family: var(--serif);
  font-size: 23px; font-weight: 500;
  letter-spacing: -.015em;
  text-decoration: none; color: var(--hell);
  line-height: 1.1;
}
.brand small {
  display: block;
  font-family: var(--mono);
  font-size: 11px; font-weight: 400;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--sehr-leise);
  margin-top: 4px;
}
.top-cta {
  font-family: var(--mono);
  font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  padding: 12px 22px;
  color: var(--ink);
  background: var(--gold);
  border-radius: 2px;
  transition: background .25s, transform .25s;
}
.top-cta:hover { background: var(--gold-hell); transform: translateY(-1px); }

/* ---------------------------------------------------------------------------
   Hero
   Millimeterpapier im Hintergrund - dezent, aber es erklaert sofort, dass hier
   etwas Gezeichnetes entsteht.
   --------------------------------------------------------------------------- */
.hero {
  position: relative;
  margin-top: -88px;
  padding: clamp(150px, 17vh, 190px) 0 clamp(80px, 11vw, 150px);
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 78% 22%, rgba(217, 178, 106, .13), transparent 62%),
    var(--ink);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--linie) 1px, transparent 1px),
    linear-gradient(90deg, var(--linie) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(105% 78% at 62% 34%, #000 12%, transparent 76%);
          mask-image: radial-gradient(105% 78% at 62% 34%, #000 12%, transparent 76%);
  opacity: .5;
  pointer-events: none;
}
.hero > .wrap { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.hero-note {
  margin: 34px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--linie);
  font-family: var(--mono);
  font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--leise);
}

/* ---------------------------------------------------------------------------
   Knoepfe
   --------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 12px; letter-spacing: .13em; text-transform: uppercase;
  text-decoration: none;
  padding: 17px 32px;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn-primary { background: var(--gold); color: var(--ink); font-weight: 500; }
.btn-primary:hover { background: var(--gold-hell); transform: translateY(-2px); }
.btn-ghost { border-color: var(--linie); color: var(--hell); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

/* ---------------------------------------------------------------------------
   Abschnitte
   --------------------------------------------------------------------------- */
section { padding: clamp(76px, 10vw, 132px) 0; }

.section-head { max-width: 30em; margin-bottom: clamp(44px, 5.5vw, 72px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head p { color: var(--leise); font-size: clamp(16px, 1.3vw, 19px); margin: 0; }

/* ---------------------------------------------------------------------------
   Ablauf — nummeriert, ohne Kaesten. Hairlines statt Karten.
   --------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  counter-reset: schritt;
  border-top: 1px solid var(--linie);
}
.step {
  counter-increment: schritt;
  padding: 38px clamp(20px, 2.6vw, 40px) 8px 0;
  border-right: 1px solid var(--linie);
  position: relative;
}
.step:last-child { border-right: 0; }
.step::before {
  content: "0" counter(schritt);
  display: block;
  font-family: var(--mono);
  font-size: 12px; letter-spacing: .18em;
  color: var(--gold);
  margin-bottom: 22px;
}
.step h3 { font-size: 25px; margin-bottom: 12px; letter-spacing: -.01em; }
.step p { color: var(--leise); margin: 0; font-size: 16px; }

/* ---------------------------------------------------------------------------
   Papierband — die Galerie liegt auf echtem Papier
   --------------------------------------------------------------------------- */
.gallery-band, .contact-band {
  background: var(--paper);
  color: var(--paper-ink);
  position: relative;
}
.gallery-band h2, .contact-band h2 { color: var(--paper-ink); }
.gallery-band h2 em, .contact-band h2 em { color: var(--gold-tief); }
.gallery-band .kicker, .contact-band .kicker { color: var(--gold-tief); }
.gallery-band .kicker::before, .contact-band .kicker::before { background: var(--gold-tief); }
.gallery-band .section-head p, .contact-band .section-head p,
.contact-info p { color: rgba(33, 29, 24, .68); }

/* FEHLER, der die halbe Firmenseite unlesbar machte:
   Die Umkehr oben deckte nur h2, .kicker und .section-head p ab. Auf firmen.html
   liegt aber der ganze Leistungsblock (.occasions) INNERHALB des Papierbands -
   anders als auf index.html, wo .occasions auf Tinte steht. Dort behielten
   .occasion > p und .occasion li ihre Creme-auf-Dunkel-Farbe (--leise) und
   standen damit creme auf creme: gemessen 1,03:1. Vier Einleitungssaetze und
   alle 16 Aufzaehlungspunkte - also die komplette B2B-Argumentation inklusive
   Auftragsverarbeitungsvertrag - waren unsichtbar.
   Lehre: der Klassenname .gallery-band hat gelogen, er umschliesst hier keine
   Galerie. Deshalb schaltet die Umkehr jetzt ALLE Textrollen um, nicht einzelne. */
.gallery-band .occasion h3, .contact-band .occasion h3,
.gallery-band .step h3, .contact-band .step h3 { color: var(--paper-ink); }

.gallery-band .occasion > p, .contact-band .occasion > p,
.gallery-band .occasion li, .contact-band .occasion li,
.gallery-band .step p, .contact-band .step p { color: rgba(33, 29, 24, .68); }

.gallery-band .occasions, .contact-band .occasions,
.gallery-band .occasion, .contact-band .occasion,
.gallery-band .occasion li, .contact-band .occasion li,
.gallery-band .steps, .contact-band .steps,
.gallery-band .step, .contact-band .step { border-color: var(--linie-hell); }

.gallery-band .occasion li::before, .contact-band .occasion li::before,
.gallery-band .step::before, .contact-band .step::before { color: var(--gold-tief); }
.gallery-band .step::before, .contact-band .step::before { border-color: var(--linie-hell); }

/* Kante zwischen Tinte und Papier: eine harte, saubere Linie.
   Eine gezackte "abgerissene" Kante war der erste Versuch - mit gleichmaessigen
   Zacken sah sie aus wie ein Kamm und wirkte wie ein Fehler, nicht wie Absicht. */
.gallery-band, .contact-band { box-shadow: 0 -1px 0 rgba(255,255,255,.06); }

/* ---------------------------------------------------------------------------
   Galerie — Zeichnungen als Bloecke, leicht versetzt statt brav im Raster
   --------------------------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.8vw, 26px);
}
.gallery figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--linie-hell);
  border-radius: 2px;
  overflow: hidden;
  transition: transform .4s cubic-bezier(.2,.7,.3,1), box-shadow .4s, border-color .4s;
}
/* Jede zweite Kachel sitzt etwas tiefer: ergibt eine ruhige Wellenbewegung
   statt einer starren Reihe. */
.gallery figure:nth-child(even) { transform: translateY(26px); }
.gallery figure:hover { box-shadow: 0 26px 50px -30px rgba(33, 29, 24, .6); border-color: var(--gold-tief); }
.gallery figure:nth-child(odd):hover  { transform: translateY(-6px); }
.gallery figure:nth-child(even):hover { transform: translateY(20px); }

.gallery img {
  width: 100%; height: 250px;
  object-fit: contain;
  padding: 18px 14px 6px;
  background: #fff;
}
.gallery figcaption {
  padding: 12px 14px 14px;
  font-family: var(--mono);
  font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(33, 29, 24, .66);
  border-top: 1px solid var(--linie-hell);
}
.gallery-note {
  margin: 56px 0 0; text-align: center;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .13em; text-transform: uppercase;
  color: rgba(33, 29, 24, .66);
}

/* ---------------------------------------------------------------------------
   Anlaesse / Leistungen — Rasterlinien statt Karten
   --------------------------------------------------------------------------- */
.occasions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--linie);
}
.occasion {
  padding: clamp(32px, 4vw, 52px) clamp(24px, 3.4vw, 56px) clamp(32px, 4vw, 52px) 0;
  border-bottom: 1px solid var(--linie);
  border-right: 1px solid var(--linie);
}
.occasion:nth-child(even) { padding-left: clamp(24px, 3.4vw, 56px); border-right: 0; }
.occasion:nth-last-child(-n+2) { border-bottom: 0; }
.occasion h3 { font-size: 30px; margin-bottom: 14px; letter-spacing: -.012em; }
.occasion > p { color: var(--leise); margin: 0 0 22px; }
.occasion ul { list-style: none; margin: 0; padding: 0; }
.occasion li {
  position: relative;
  padding: 9px 0 9px 26px;
  font-size: 15.5px;
  color: var(--leise);
  border-top: 1px solid var(--linie);
}
.occasion li::before {
  content: "→";
  position: absolute; left: 0; top: 9px;
  color: var(--gold); opacity: .7;
}

/* ---------------------------------------------------------------------------
   Pakete
   --------------------------------------------------------------------------- */
.packages-band { background: var(--ink-2); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.package {
  display: flex; flex-direction: column;
  padding: clamp(30px, 3.2vw, 44px);
  background: var(--ink);
  border: 1px solid var(--linie);
  border-radius: 3px;
  transition: transform .4s cubic-bezier(.2,.7,.3,1), border-color .4s, background .4s;
}
.package:hover { transform: translateY(-6px); border-color: rgba(217, 178, 106, .45); }
.package.featured {
  background: linear-gradient(180deg, rgba(217,178,106,.09), rgba(217,178,106,.02));
  border-color: rgba(217, 178, 106, .5);
}
.package .tag {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .17em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 16px; min-height: 14px;
}
.package h3 { font-size: 30px; margin-bottom: 6px; letter-spacing: -.012em; }
.package .duration {
  font-family: var(--mono);
  font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--leise); margin: 0 0 26px;
}
.package ul { list-style: none; margin: 0 0 30px; padding: 0; flex: 1; }
.package li {
  position: relative;
  padding: 11px 0 11px 22px;
  font-size: 15px;
  color: var(--leise);
  border-top: 1px solid var(--linie);
}
.package li:first-child { border-top: 0; }
.package li::before { content: "·"; position: absolute; left: 6px; color: var(--gold); }
.package .price {
  font-family: var(--serif);
  font-size: 40px; line-height: 1;
  letter-spacing: -.02em;
  color: var(--gold-hell);
  margin: 0 0 26px;
}
.package .btn { justify-content: center; }

/* ---------------------------------------------------------------------------
   Fragen
   --------------------------------------------------------------------------- */
.faq { max-width: 880px; margin: 0 auto; border-top: 1px solid var(--linie); }
details { border-bottom: 1px solid var(--linie); }
details summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0;
  font-family: var(--serif);
  font-size: clamp(19px, 1.7vw, 23px);
  transition: color .25s;
}
details summary:hover { color: var(--gold); }
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: "+";
  font-family: var(--mono); font-size: 20px; color: var(--gold);
  flex-shrink: 0; transition: transform .3s;
}
details[open] summary::after { content: "−"; }
details p { color: var(--leise); margin: 0 0 28px; max-width: 62ch; font-size: 16px; }
details p a { color: var(--gold); }

/* ---------------------------------------------------------------------------
   Anfrage — das Formular liegt auf Papier: man fuellt einen Zettel aus
   --------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: start;
}
.contact-direct { margin-top: 32px; display: grid; gap: 10px; }
.contact-direct a {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none;
  padding: 17px 20px;
  background: #fff;
  border: 1px solid var(--linie-hell);
  border-radius: 2px;
  font-size: 16px;
  transition: border-color .25s, transform .25s;
}
.contact-direct a:hover { border-color: var(--gold-tief); transform: translateX(3px); }
.contact-direct span.label {
  display: block;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(33, 29, 24, .68);
  margin-bottom: 3px;
}

form {
  background: #fff;
  border: 1px solid var(--linie-hell);
  border-radius: 3px;
  padding: clamp(26px, 3vw, 40px);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 11.5px; letter-spacing: .15em; text-transform: uppercase;
  color: rgba(33, 29, 24, .68);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 0;
  font: inherit; font-size: 16px;
  color: var(--paper-ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--linie-hell);
  border-radius: 0;
  transition: border-color .25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--gold-tief);
  border-bottom-width: 2px;
  padding-bottom: 12px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.consent {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 13.5px; line-height: 1.5;
  color: rgba(33, 29, 24, .72);
  margin: 26px 0 24px;
}
.consent input { margin-top: 3px; flex-shrink: 0; accent-color: var(--gold-tief); }
.consent a { color: var(--gold-tief); }
form .btn-primary { width: 100%; justify-content: center; border: 0; font-family: var(--mono); cursor: pointer; }

/* ---------------------------------------------------------------------------
   Fuss
   --------------------------------------------------------------------------- */
footer {
  padding: 56px 0 48px;
  border-top: 1px solid var(--linie);
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--sehr-leise);
}
.foot-grid { display: flex; flex-wrap: wrap; gap: 20px 34px; justify-content: space-between; align-items: center; }
footer a { color: var(--leise); text-decoration: none; transition: color .25s; }
footer a:hover { color: var(--gold); }
.foot-links { display: flex; gap: 28px; flex-wrap: wrap; }

/* ============================================================================
   Bewegung
   ============================================================================ */

/* Selbstzeichnender Hero. Das SVG enthaelt die echten Wege des Roboterarms aus
   dem G-Code einer tatsaechlichen Zeichnung. Die Animation haengt im SVG an der
   Klasse .laeuft - hier wird nichts pausiert. Ein Versuch ueber
   animation-play-state scheiterte: die Kurzschreibweise "animation:" im SVG
   setzt den Zustand auf running zurueck und gewinnt per ID-Spezifitaet gegen
   jede Klassenregel von aussen. */
.hero-figure { position: relative; }
.hero-figure .kritzelSvg {
  width: 100%;
  max-height: min(560px, 62vh);
  color: var(--gold);
  --stift: #fff3d8;
  filter: drop-shadow(0 22px 46px rgba(0, 0, 0, .55));
}
.hero-figure > img { margin: 0 auto; max-height: min(560px, 62vh); width: auto; }

.zeichen-hinweis {
  margin: 20px 0 0; text-align: center;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--sehr-leise);
  opacity: 0; transition: opacity .9s ease .5s;
}
.hero-figure.laeuft .zeichen-hinweis { opacity: 1; }

/* Abschnitte gleiten beim Scrollen herein */
.zeigt-sich {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1);
}
.zeigt-sich.da { opacity: 1; transform: none; }
.gallery figure.zeigt-sich { transform: translateY(24px); }
.gallery figure.zeigt-sich.da:nth-child(even) { transform: translateY(26px); }
.gallery figure.zeigt-sich.da:nth-child(odd)  { transform: none; }
.zeigt-sich:nth-child(2) { transition-delay: .07s }
.zeigt-sich:nth-child(3) { transition-delay: .14s }
.zeigt-sich:nth-child(4) { transition-delay: .21s }
.zeigt-sich:nth-child(5) { transition-delay: .28s }
.zeigt-sich:nth-child(6) { transition-delay: .35s }

/* Glanz ueber dem Hauptknopf */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 36%, rgba(255,255,255,.5) 50%, transparent 64%);
  transform: translateX(-120%);
}
.btn-primary:hover::after { transition: transform .8s ease; transform: translateX(120%); }

/* ============================================================================
   Schmale Bildschirme
   ============================================================================ */
@media (max-width: 1000px) {
  .hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { margin-top: -84px; padding: 128px 0 72px; }
  /* Zeichnung zuerst - sie ist der Blickfang. Aber gedeckelt: mit 42vh landete
     die Ueberschrift auf dem Telefon komplett unter der Falz, man sah die
     Botschaft erst nach dem Scrollen. */
  .hero-figure { order: -1; }
  .hero-figure .kritzelSvg, .hero-figure > img { max-height: 30vh; }
  .hero-grid { gap: 26px; }
  .steps { grid-template-columns: 1fr; border-top: 0; }
  .step { border-right: 0; border-top: 1px solid var(--linie); padding-right: 0; padding-bottom: 30px; }
  .occasions { grid-template-columns: 1fr; }
  .occasion { padding-right: 0; padding-left: 0 !important; border-right: 0; }
  .occasion:nth-last-child(-n+2) { border-bottom: 1px solid var(--linie); }
  .occasion:last-child { border-bottom: 0; }
  .packages { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery figure:nth-child(even) { transform: none; }
  .gallery figure:nth-child(even):hover { transform: translateY(-6px); }
  .gallery figure.zeigt-sich.da:nth-child(even) { transform: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gallery img { height: 168px; padding: 12px 10px 4px; }
  .gallery figcaption { padding: 10px 11px 12px; font-size: 11px; }
  .brand small { display: none; }
  .top-cta { padding: 12px 16px; font-size: 11px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .package .price { font-size: 34px; }
}

/* Wer Bewegung reduziert haben will, bekommt sie nicht. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .zeigt-sich { opacity: 1; transform: none; transition: none; }
  .gallery figure, .package, .btn, .contact-direct a { transition: none; }
  .gallery figure:hover, .package:hover, .btn:hover { transform: none; }
  .btn-primary::after { display: none; }
  .zeichen-hinweis { opacity: 1; transition: none; }
}

/* ============================================================================
   Materialwirkung
   ----------------------------------------------------------------------------
   Die Koernung entsteht rechnerisch aus feTurbulence, nicht aus einer Bilddatei:
   nahtlos ohne sichtbare Kacheln, beliebig skalierbar und ein paar hundert Byte
   statt hundert Kilobyte. (Ein KI-erzeugtes Papierfoto haette Gemini ohnehin
   verweigert - eine leere Papierflaeche ist zu generisch.)
   ============================================================================ */

.gallery-band, .contact-band, .hero, .packages-band { position: relative; }

/* Papierfaser: multipliziert, damit sie im Papier liegt und nicht darauf */
.gallery-band::after, .contact-band::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
  background-size: 260px 260px;
  mix-blend-mode: multiply;
  opacity: .085;
}

/* Auf der Tinte nur ein Hauch - er bricht die Streifenbildung in den Verlaeufen */
.hero::after, .packages-band::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
  background-size: 260px 260px;
  mix-blend-mode: soft-light;
  opacity: .16;
}

/* Der Inhalt muss ueber der Koernung liegen */
.gallery-band > section, .contact-band > section,
.hero > .wrap, .packages-band > section { position: relative; z-index: 1; }

/* ---------------------------------------------------------------------------
   Technische Zeichnung des Arms
   Die Vorlage ist schwarz auf weiss. Statt sie umzufaerben wird sie invertiert
   und im Screen-Modus gemischt: Schwarz wird dadurch transparent, es bleiben nur
   die Linien - so liegt die Zeichnung wirklich auf dem Grund und nicht in einem
   weissen Kasten. Der warme Ton kommt ueber sepia/hue-rotate dazu.
   --------------------------------------------------------------------------- */
.arm-bild {
  margin: clamp(56px, 7vw, 96px) 0 0;
  text-align: center;
}
.arm-bild img {
  width: 100%;
  max-width: 880px;
  height: auto;
  margin: 0 auto;
  filter: invert(1) sepia(.42) saturate(1.9) hue-rotate(-10deg) brightness(1.05);
  mix-blend-mode: screen;
  opacity: .85;
}
.arm-bild figcaption {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--linie);
  display: inline-block;
  font-family: var(--mono);
  font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--sehr-leise);
}
@media (max-width: 640px) {
  .arm-bild { margin-top: 44px; }
  .arm-bild figcaption { font-size: 11px; letter-spacing: .1em; }
}

/* ---------------------------------------------------------------------------
   Aufnahme vom Event
   ----------------------------------------------------------------------------
   Die Filter der Illustration (invert + screen) duerfen hier NICHT greifen: das
   ist eine echte Aufnahme, keine Strichzeichnung auf Weiss. Sie bekommt nur einen
   schmalen Rahmen, damit sie auf dem dunklen Grund nicht als heller Block klebt.
   --------------------------------------------------------------------------- */
.arm-video {
  margin: clamp(56px, 7vw, 96px) 0 0;
  text-align: center;
}
.arm-video video {
  display: block;
  width: 100%;
  max-width: 880px;
  height: auto;
  margin: 0 auto;
  border: 1px solid var(--linie);
  border-radius: 3px;
  background: var(--ink-2);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .9);
}
.arm-video figcaption {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--linie);
  display: inline-block;
  font-family: var(--mono);
  font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--sehr-leise);
}
@media (max-width: 640px) {
  .arm-video { margin-top: 44px; }
  .arm-video figcaption { font-size: 11px; letter-spacing: .1em; }
}

/* ---------------------------------------------------------------------------
   Tastaturbedienung
   Vorher gab es im ganzen Stylesheet genau EINE Fokusregel (fuer Formularfelder),
   und die entfernte den Ring per outline:none. Alles andere - Knoepfe, Links,
   Galeriekacheln, FAQ-Zeilen - hing am Browserstandard, der auf Tinte kaum zu
   sehen ist. :focus-visible kam gar nicht vor.
   --------------------------------------------------------------------------- */
:where(a, button, summary, input, select, textarea):focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}
.gallery-band :where(a, button, summary):focus-visible,
.contact-band :where(a, button, summary, input, select, textarea):focus-visible {
  outline-color: var(--gold-tief);
}
/* Die Felder behalten ihre Unterstrich-Gestaltung, bekommen aber zusaetzlich
   einen sichtbaren Ring - der Unterstrich allein ist bei Tastaturbedienung
   zu leise. */
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline-offset: 2px;
}

/* Sprungmarke: bei 8.300 px Seitenlaenge muss man an der Navigation vorbeikommen */
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  padding: 12px 20px;
  background: var(--gold); color: var(--ink);
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em;
  text-transform: uppercase; text-decoration: none; border-radius: 2px;
  transition: top .2s;
}
.skip:focus { top: 12px; }

/* ---------------------------------------------------------------------------
   Kopfzeilen-Navigation
   Vorher enthielt die Kopfzeile zwei Links: Marke und Anfrage-Knopf. Wer nur den
   Preis sehen wollte, musste 4.400 px scrollen - auf einer Seite, die verkaufen soll.
   --------------------------------------------------------------------------- */
.kopf-nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); }
/* :not(.top-cta) ist hier Pflicht, nicht Kosmetik: .kopf-nav a hat eine Klasse und
   ein Element, .top-cta nur eine Klasse - die Navigationsregel gewinnt also und hat
   dem Haupt-Knopf creme auf gold verpasst (1,46:1, praktisch unlesbar). */
.kopf-nav a:not(.top-cta) {
  font-family: var(--mono);
  font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--leise); text-decoration: none;
  transition: color .2s;
}
.kopf-nav a:not(.top-cta):hover { color: var(--gold); }
@media (max-width: 780px) { .kopf-nav .nur-breit { display: none; } }

/* Beruehrziele: auf dem Telefon lagen Fusslinks bei 17 px Hoehe */
@media (max-width: 1000px) {
  .foot-links a, .contact-direct a, .consent {
    min-height: 44px;
    display: flex; align-items: center;
  }
  .consent { align-items: flex-start; }
  .top-cta { padding-top: 14px; padding-bottom: 14px; }
}
/* Die Pflicht-Checkbox war 13x13 px - das kleinste Ziel der Seite, ausgerechnet
   am Pflichtfeld vor dem Absenden. */
.consent input { width: 22px; height: 22px; }

/* Pflichtfelder waren nirgends gekennzeichnet - der Nutzer musste raten oder
   probieren. Drei Felder sind Pflicht, fuenf nicht. */
.pflicht { color: var(--gold-tief); text-decoration: none; border: 0; font-weight: 500; }
.pflicht-legende {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(33, 29, 24, .68);
  margin: 0 0 22px;
}

/* ---------------------------------------------------------------------------
   Galeriekacheln zum Vergroessern
   Auf dem Telefon sind die Kacheln 169 px breit - die Strichfuehrung, also das
   eigentliche Produkt, ist dort nicht zu erkennen. Jetzt oeffnet ein Tippen das
   Blatt gross.
   --------------------------------------------------------------------------- */
.gallery figure button.kachel {
  display: block; width: 100%;
  padding: 0; border: 0; background: none;
  font: inherit; color: inherit; text-align: inherit;
  cursor: zoom-in;
}
.gallery figure button.kachel figcaption { text-align: left; }

dialog.blatt {
  width: min(92vw, 560px);
  padding: 0;
  border: 1px solid var(--linie-hell);
  border-radius: 3px;
  background: #fff;
  color: var(--paper-ink);
}
dialog.blatt::backdrop { background: rgba(12, 11, 10, .88); }
dialog.blatt img { width: 100%; height: auto; padding: 22px 18px 6px; }
dialog.blatt .blatt-fuss {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 18px 16px;
  border-top: 1px solid var(--linie-hell);
}
dialog.blatt .blatt-titel {
  font-family: var(--mono);
  font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(33, 29, 24, .66);
}
dialog.blatt .blatt-zu {
  padding: 10px 18px; min-height: 44px;
  border: 1px solid var(--linie-hell); border-radius: 2px;
  background: none; cursor: pointer;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--paper-ink);
}
dialog.blatt .blatt-zu:hover { border-color: var(--gold-tief); color: var(--gold-tief); }

/* Kurze Telefone (iPhone SE und Verwandte): Dort lag der Haupt-Knopf 122 px unter
   der Falz - auf einer Seite, deren einziger Zweck die Anfrage ist. Zeichnung und
   Abstaende werden zusaetzlich gestrafft, sobald der Schirm niedrig ist. */
@media (max-width: 640px) and (max-height: 740px) {
  .hero { padding-top: 104px; padding-bottom: 48px; }
  .hero-figure .kritzelSvg, .hero-figure > img, .hero-figure noscript img { max-height: 21vh; }
  .hero-grid { gap: 18px; }
  h1 { font-size: 38px; }
  .lead { margin-top: 16px; margin-bottom: 22px; font-size: 16px; }
  .hero-note { margin-top: 20px; padding-top: 14px; }
  .zeichen-hinweis { margin-top: 10px; }
}
