/* ==========================================================================
   Schmidtsons Belegschmiede – Website-Designsystem
   Palette: Stahl #1d2b33 · Glut #ff9a3c→#e04e1b · Teal #0e7c86 (Produkt-CI)
            Papier #f6f4ef · Tinte #22313a · Linie #dad5cb
   Typo:    Display = Georgia (Prägung), Body = System, Zahlen = Monospace
   ========================================================================== */
:root {
  --stahl: #1d2b33;
  --stahl-tief: #152027;
  --glut-a: #ff9a3c;
  --glut-b: #e04e1b;
  --teal: #0e7c86;
  --teal-dunkel: #0a5d65;
  --papier: #f6f4ef;
  --papier-karte: #fffdf9;
  --tinte: #22313a;
  --tinte-hell: #5b6b76;
  --linie: #dad5cb;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, "Segoe UI", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0; background: var(--papier); color: var(--tinte);
  font-family: var(--sans); font-size: 16.5px; line-height: 1.65;
}
img { max-width: 100%; height: auto; }
a { color: var(--teal); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--glut-a); outline-offset: 2px;
}
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.schmal { max-width: 780px; }

/* --------------------------- Navigation ---------------------------------- */
.kopf {
  background: var(--stahl); color: #eef2f3;
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.kopf .wrap { display: flex; align-items: center; gap: 26px; min-height: 62px; }
.marke {
  font-family: var(--serif); font-size: 21px; letter-spacing: .04em;
  color: #fff; text-decoration: none; font-weight: 700; white-space: nowrap;
}
.marke span { color: var(--glut-a); }
.nav { display: flex; gap: 20px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.nav a { color: #cfd9dc; text-decoration: none; font-size: 15px; }
.nav a:hover { color: #fff; }
.nav .btn { margin: 0; }

/* ------------------------------ Knöpfe ----------------------------------- */
.btn {
  display: inline-block; background: var(--teal); color: #fff;
  padding: 12px 24px; border-radius: 6px; border: 0; cursor: pointer;
  font-size: 16px; font-weight: 600; text-decoration: none;
  transition: box-shadow .25s, transform .15s, background .2s;
}
.btn:hover { background: var(--teal-dunkel); box-shadow: 0 0 0 3px rgba(255,154,60,.35); }
.btn.glut { background: linear-gradient(135deg, var(--glut-a), var(--glut-b)); }
.btn.glut:hover { box-shadow: 0 4px 18px rgba(224,78,27,.45); transform: translateY(-1px); }
.btn.leise { background: transparent; border: 1.5px solid #7d939b; color: #e6ecee; }
.btn.leise:hover { border-color: #fff; color: #fff; box-shadow: none; }
.btn.gross { padding: 15px 32px; font-size: 17.5px; }

/* ------------------------------- Hero ------------------------------------ */
.held {
  background:
    radial-gradient(1200px 500px at 85% 115%, rgba(224,78,27,.18), transparent 60%),
    linear-gradient(180deg, var(--stahl) 0%, var(--stahl-tief) 100%);
  color: #eef2f3; padding: 72px 0 84px; overflow: hidden;
}
.held .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.vorzeile {
  font-family: var(--mono); font-size: 13px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--glut-a); margin: 0 0 14px;
}
.held h1 {
  font-family: var(--serif); font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.12; margin: 0 0 18px; color: #fff; font-weight: 700;
}
.held p.unter { font-size: 19px; color: #c8d3d7; max-width: 34em; margin: 0 0 30px; }
.held .cta-reihe { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.held .klein-unter { font-size: 13.5px; color: #9fb0b6; margin-top: 14px; }

/* Der geschmiedete Beleg (Signature) */
.beleg {
  background: #fffdf8; color: var(--tinte); border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
  padding: 26px 26px 22px; position: relative;
  font-family: var(--mono); font-size: 13px; line-height: 1.55;
  transform: rotate(1.5deg); max-width: 420px; margin-left: auto;
}
.beleg::before {
  content: ""; position: absolute; inset: -3px -3px auto -3px; height: 7px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(90deg, var(--glut-b), var(--glut-a) 45%, #ffd9a1 70%, var(--glut-b));
  filter: blur(.5px);
  animation: abkuehlen 2.4s ease-out forwards;
}
@keyframes abkuehlen {
  0%   { opacity: 1;   box-shadow: 0 0 26px 6px rgba(255,154,60,.75); }
  100% { opacity: .85; box-shadow: 0 0 10px 1px rgba(255,154,60,.35); }
}
.beleg .b-kopf { display: flex; justify-content: space-between; align-items: baseline;
  border-bottom: 1.5px solid var(--tinte); padding-bottom: 8px; margin-bottom: 12px; }
.beleg .b-kopf strong { font-family: var(--serif); font-size: 16px; letter-spacing: .02em; }
.beleg table { width: 100%; border-collapse: collapse; }
.beleg td { padding: 3px 0; }
.beleg td:last-child { text-align: right; }
.beleg .summe td { border-top: 1.5px solid var(--tinte); font-weight: 700; padding-top: 6px; }
.beleg .stempel {
  position: absolute; right: 18px; bottom: 16px;
  border: 2px solid var(--teal); color: var(--teal); border-radius: 5px;
  padding: 3px 9px; font-size: 11px; font-weight: 700; letter-spacing: .08em;
  transform: rotate(-7deg); background: rgba(255,255,255,.85);
}

/* ------------------------- Fakten-/Esse-Leiste ---------------------------- */
.esse { height: 3px; background: linear-gradient(90deg, transparent, var(--glut-a) 30%, var(--glut-b) 60%, transparent); opacity: .8; }
.fakten { background: var(--stahl-tief); color: #cfd9dc; }
.fakten .wrap { display: flex; gap: 10px 38px; flex-wrap: wrap; justify-content: center;
  padding-top: 15px; padding-bottom: 15px; font-family: var(--mono); font-size: 13.5px; }
.fakten b { color: var(--glut-a); font-weight: 700; }

/* ----------------------------- Sektionen ---------------------------------- */
section { padding: 66px 0; }
section.karten-grund { background: #efece4; }
.sek-vorzeile { font-family: var(--mono); font-size: 12.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--glut-b); margin: 0 0 8px; }
h2 { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 36px); line-height: 1.2;
  margin: 0 0 14px; color: var(--tinte); }
.einleitung { font-size: 18px; color: var(--tinte-hell); max-width: 44em; margin: 0 0 34px; }

.raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.raster.zwei { grid-template-columns: repeat(2, 1fr); }
.karte {
  background: var(--papier-karte); border: 1px solid var(--linie); border-radius: 8px;
  padding: 24px 24px 22px;
}
.karte h3 { font-family: var(--serif); font-size: 19px; margin: 0 0 8px; }
.karte p { margin: 0; font-size: 15px; color: var(--tinte-hell); }
.karte .mono-kopf { font-family: var(--mono); font-size: 12px; color: var(--glut-b);
  letter-spacing: .1em; text-transform: uppercase; display: block; margin-bottom: 10px; }

/* ------------------------------ Countdown --------------------------------- */
.frist { background: var(--stahl); color: #e8eef0; }
.frist h2 { color: #fff; }
.frist .einleitung { color: #b9c7cc; }
.uhren { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 30px; }
.uhr { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px; padding: 22px 24px; }
.uhr .wer { font-size: 14.5px; color: #b9c7cc; margin: 0 0 10px; }
.uhr .zahl { font-family: var(--mono); font-size: clamp(26px, 3.6vw, 40px); font-weight: 700;
  color: var(--glut-a); letter-spacing: .02em; }
.uhr .datum { font-family: var(--mono); font-size: 13px; color: #8fa2a9; margin-top: 8px; }

/* ------------------------------- Schritte --------------------------------- */
.schritte { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.schritt { position: relative; padding: 22px 22px 20px 22px; background: var(--papier-karte);
  border: 1px solid var(--linie); border-radius: 8px; }
.schritt::before {
  counter-increment: s; content: counter(s);
  font-family: var(--serif); font-weight: 700; font-size: 30px; color: var(--glut-b);
  display: block; margin-bottom: 6px;
}
.schritt h3 { font-size: 17px; margin: 0 0 6px; }
.schritt p { margin: 0; font-size: 14.5px; color: var(--tinte-hell); }

/* -------------------------------- Preise ---------------------------------- */
.preis-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: 24px; justify-content: center; }
.preis {
  background: var(--papier-karte); border: 1.5px solid var(--linie); border-radius: 10px;
  padding: 30px 30px 26px; text-align: center; position: relative;
}
.preis.empfohlen { border-color: var(--teal); box-shadow: 0 10px 34px rgba(14,124,134,.14); }
.preis .band {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--teal); color: #fff; font-size: 12.5px; font-weight: 700;
  padding: 4px 14px; border-radius: 12px; letter-spacing: .05em; white-space: nowrap;
}
.preis h3 { font-family: var(--serif); font-size: 21px; margin: 0 0 6px; }
.preis .betrag { font-family: var(--mono); font-size: 44px; font-weight: 700; color: var(--tinte); }
.preis .betrag small { font-size: 16px; color: var(--tinte-hell); font-weight: 400; }
.preis .vergleich { font-size: 13.5px; color: var(--glut-b); font-family: var(--mono); margin: 4px 0 14px; }
.preis ul { list-style: none; padding: 0; margin: 0 0 22px; font-size: 14.5px; color: var(--tinte-hell); }
.preis li { padding: 5px 0; border-bottom: 1px dashed var(--linie); }
.preis li:last-child { border-bottom: 0; }
.endet { font-family: var(--mono); font-size: 13px; color: var(--teal-dunkel);
  background: #e7f2f3; border-radius: 6px; padding: 8px 12px; display: inline-block; margin-top: 18px; }

/* --------------------------------- FAQ ------------------------------------ */
.faq details { border-bottom: 1px solid var(--linie); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 16.5px; padding: 12px 0; list-style: none; position: relative; padding-right: 30px; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px;
  font-family: var(--mono); font-size: 20px; color: var(--glut-b); }
.faq details[open] summary::after { content: "–"; }
.faq .faq-text { padding: 0 0 16px; color: var(--tinte-hell); font-size: 15.5px; max-width: 48em; }

/* ------------------------------ Ratgeberseiten ----------------------------- */
.artikel h1 { font-family: var(--serif); font-size: clamp(30px, 4vw, 42px); line-height: 1.15; margin: 0 0 12px; }
.artikel .stand { font-family: var(--mono); font-size: 13px; color: var(--tinte-hell); margin-bottom: 26px; }
.artikel h2 { font-size: clamp(22px, 2.6vw, 27px); margin-top: 40px; }
.artikel p, .artikel li { font-size: 16.5px; }
.artikel .kasten { background: var(--papier-karte); border: 1px solid var(--linie);
  border-left: 4px solid var(--glut-b); border-radius: 6px; padding: 16px 20px; margin: 26px 0; }
.artikel .kasten p { margin: 0; font-size: 15.5px; }
.brotkrumen { font-size: 13.5px; color: var(--tinte-hell); padding-top: 22px; }
.brotkrumen a { color: var(--tinte-hell); }
.cta-block { background: var(--stahl); color: #e8eef0; border-radius: 10px;
  padding: 30px 32px; margin: 46px 0 10px; }
.cta-block h2 { color: #fff; margin-top: 0; font-size: 24px; }
.cta-block p { color: #b9c7cc; }

/* ------------------------------- Formular ---------------------------------- */
form.bestell label { display: block; font-weight: 600; font-size: 14.5px; margin: 16px 0 5px; }
form.bestell input[type=text], form.bestell input[type=email], form.bestell select {
  width: 100%; padding: 11px 12px; border: 1.5px solid var(--linie); border-radius: 6px;
  font-size: 15.5px; background: #fff; font-family: var(--sans);
}
form.bestell .check { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0; font-weight: 400; font-size: 14.5px; }
form.bestell .check input { margin-top: 4px; width: auto; }
.pflichthinweis { font-size: 13px; color: var(--tinte-hell); }
.formfehler { background: #fbe3e3; color: #a02020; border-radius: 6px; padding: 10px 14px; margin: 14px 0; display: none; }
.formfehler.sichtbar { display: block; }

/* -------------------------------- Fußzeile --------------------------------- */
.fuss { background: var(--stahl-tief); color: #9fb0b6; font-size: 14px; margin-top: 40px; }
.fuss .wrap { padding-top: 34px; padding-bottom: 34px; display: grid;
  grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; }
.fuss h4 { color: #e6ecee; font-size: 14.5px; margin: 0 0 10px; font-family: var(--mono);
  text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.fuss a { color: #9fb0b6; text-decoration: none; display: block; padding: 3px 0; }
.fuss a:hover { color: #fff; }
.fuss .unterste { border-top: 1px solid rgba(255,255,255,.08); }
.fuss .unterste .wrap { display: block; padding: 16px 22px; font-size: 13px; }

/* ------------------------------- Responsive --------------------------------- */
@media (max-width: 900px) {
  .held .wrap { grid-template-columns: 1fr; gap: 40px; }
  .beleg { margin: 0 auto; transform: rotate(0deg); }
  .raster, .schritte { grid-template-columns: 1fr 1fr; }
  .fuss .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .raster, .raster.zwei, .schritte, .uhren, .preis-raster, .fuss .wrap { grid-template-columns: 1fr; }
  .kopf .wrap { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  .nav { gap: 14px; }
  section { padding: 48px 0; }
}

/* Utility-Klassen (CSP: keine Inline-Styles) */
.nachsatz { margin-top: 26px; margin-bottom: 0; }
.cta-absatz { margin-top: 34px; }
.block-oben { display: block; margin-top: 10px; }
.hp-feld { position: absolute; left: -9999px; height: 1px; width: 1px; opacity: 0; }
.code { font-family: var(--mono); font-size: .93em; background: #efece4; padding: 1px 6px; border-radius: 4px; }
.uebersicht { background: #e7f2f3; border: 1px solid #bcd9dc; border-radius: 6px; padding: 11px 14px; font-size: 14.5px; color: var(--teal-dunkel); margin-top: 20px; }
