/* Wagenbauer – gemeinsame Gestaltung der Unterseiten (04.11.2026), gleiche Sprache wie die Startseite /uhr-entwurf/:
   dunkler Grund, Gold als einziger Akzent, Erode (Überschriften) + Work Sans (Text). Je Seite ein eigener Effekt in der Seite selbst. */
@font-face { font-family: "Erode"; src: url(/wp-content/themes/wagenbauer/assets/schrift/erode-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url(/wp-content/themes/wagenbauer/assets/kino/schrift/worksans-var.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
:root { --grund: #121316; --karte: #16171b; --gold: #c9a45c; --gold-hell: #f3dfae; --papier: #efeae1; --leise: rgba(239,234,225,.72);
  --aus: cubic-bezier(0.23, 1, 0.32, 1); --rand: clamp(20px, 6vw, 96px); }
* { box-sizing: border-box; margin: 0; }
html, body { overflow-x: clip; background: var(--grund); color: var(--papier); font: 400 17px/1.6 "Work Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Kopf */
.kopf { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px clamp(16px, 4vw, 44px);
  transition: background 300ms ease, backdrop-filter 300ms ease; }
.kopf.fest { background: rgba(14,15,18,.88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(239,234,225,.06); }
.kopf .marke { display: grid; gap: 5px; font: 500 13px/1 "Work Sans"; letter-spacing: .34em; text-decoration: none; }
.kopf .marke .gmbh { font-size: 10px; letter-spacing: .2em; color: var(--gold); }
.kopf .marke small { font: 500 10px/1 "Work Sans"; letter-spacing: .26em; text-transform: uppercase; color: rgba(239,234,225,.55); }
@media (max-width: 700px) { .kopf .marke small { display: none; } }
.kopf nav { display: flex; gap: 26px; font-size: 13px; letter-spacing: .18em; color: rgba(239,234,225,.7); }
.kopf nav a { text-decoration: none; padding: 8px 0; }
.kopf nav a[aria-current="page"] { color: var(--gold); }
.kopf .termin { border: 1px solid rgba(201,164,92,.6); color: var(--gold); padding: 10px 16px; letter-spacing: .14em; font-size: 13px; text-decoration: none; white-space: nowrap; }
@media (max-width: 1000px) { .kopf nav { display: none; } }

/* Seitenkopf */
.seitenkopf { position: relative; padding: clamp(150px, 22vh, 220px) var(--rand) clamp(60px, 9vh, 100px); }
.seitenkopf h1 { font: 500 clamp(46px, 6.4vw, 108px)/0.96 "Erode", Georgia, serif; letter-spacing: -0.025em; max-width: 15ch; }
.seitenkopf h1 i, .abschnitt h2 i, .abschluss h2 i { color: var(--gold); }
.seitenkopf .einleitung { margin-top: 28px; }

/* Abschnitte */
.abschnitt { position: relative; padding: clamp(80px, 12vh, 140px) var(--rand); }
.abschnitt.hell { background: var(--papier); color: #17181c; }
.abschnitt.hell i { color: #8f6d31; }
.kopfzeile { display: flex; align-items: center; gap: 14px; font: 500 13px/1 "Work Sans"; letter-spacing: .3em; color: rgba(239,234,225,.62); margin-bottom: 24px; text-transform: uppercase; }
.hell .kopfzeile { color: rgba(23,24,28,.6); }
.kopfzeile .linie { width: 56px; height: 1px; background: var(--gold); }
.abschnitt h2, .abschluss h2 { font: 500 clamp(36px, 4.2vw, 68px)/1 "Erode", Georgia, serif; letter-spacing: -0.02em; max-width: 17ch; }
.einleitung { max-width: 52ch; font-size: 18px; line-height: 1.65; color: var(--leise); }
.hell .einleitung { color: rgba(23,24,28,.74); }
.text { max-width: 62ch; margin-top: 26px; display: grid; gap: 18px; color: var(--leise); }
.hell .text { color: rgba(23,24,28,.78); }
.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
@media (max-width: 900px) { .zwei { grid-template-columns: 1fr; } }
.hinweis { margin-top: 26px; padding-left: 18px; border-left: 1px solid var(--gold); font-size: 15px; color: rgba(239,234,225,.6); max-width: 62ch; }
.hell .hinweis { color: rgba(23,24,28,.62); }

/* Nummerierte Prüfliste */
.liste-nr { list-style: none; padding: 0; margin-top: 48px; display: grid; gap: 0; counter-reset: nr; max-width: 980px; }
.liste-nr li { counter-increment: nr; display: grid; grid-template-columns: 90px 1fr; gap: 20px; padding: 28px 0; border-top: 1px solid rgba(239,234,225,.12); }
.hell .liste-nr li { border-color: rgba(23,24,28,.14); }
.liste-nr li::before { content: "0" counter(nr); font: 500 44px/1 "Erode", Georgia, serif; color: var(--gold); }
.hell .liste-nr li::before { color: #8f6d31; }
.liste-nr b { display: block; font: 500 24px/1.2 "Erode", Georgia, serif; margin-bottom: 8px; }
.liste-nr span { color: var(--leise); }
.hell .liste-nr span { color: rgba(23,24,28,.74); }
@media (max-width: 600px) { .liste-nr li { grid-template-columns: 56px 1fr; } .liste-nr li::before { font-size: 32px; } }

/* Häufige Fragen */
.fragen { margin-top: 40px; max-width: 900px; }
.fragen details { border-top: 1px solid rgba(239,234,225,.12); }
.fragen details:last-child { border-bottom: 1px solid rgba(239,234,225,.12); }
.fragen summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 26px 0; font: 500 22px/1.25 "Erode", Georgia, serif; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: "+"; color: var(--gold); font: 300 30px/1 "Work Sans"; transition: transform 220ms var(--aus); }
.fragen details[open] summary::after { transform: rotate(45deg); }
.fragen details p { padding: 0 0 26px; max-width: 62ch; color: var(--leise); }

/* Knöpfe */
.knopf-gold { display: inline-block; padding: 18px 26px; background: var(--gold); color: #15130f; font: 600 13px/1 "Work Sans"; letter-spacing: .16em; text-decoration: none;
  transition: transform 160ms var(--aus); }
.knopf-gold:active { transform: scale(0.97); }
.goldlink { display: inline-flex; gap: 12px; align-items: center; padding-bottom: 6px; border-bottom: 1px solid var(--gold); color: var(--gold);
  font: 600 13px/1 "Work Sans"; letter-spacing: .16em; text-decoration: none; transition: gap 200ms var(--aus); }
@media (hover: hover) and (pointer: fine) { .goldlink:hover { gap: 18px; } }

/* Abschluss: Erstgespräch */
.abschluss { text-align: center; padding: clamp(100px, 16vh, 180px) var(--rand); background: radial-gradient(60% 80% at 50% 100%, rgba(201,164,92,.12), transparent 70%); }
.abschluss h2 { margin: 0 auto; max-width: 18ch; }
.abschluss .einleitung { margin: 22px auto 36px; }
.abschluss .tel { display: block; margin-top: 22px; color: var(--leise); text-decoration: none; }

/* Fuß */
.fuss { padding: 48px var(--rand); border-top: 1px solid rgba(239,234,225,.1); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 14px; color: rgba(239,234,225,.55); }
.fuss .risiko { flex-basis: 100%; max-width: 80ch; }

/* Einblenden beim Scrollen (Klasse .da setzt seiten.js) */
[data-ein] { opacity: 0; transform: translateY(24px); transition: opacity 800ms var(--aus), transform 900ms var(--aus); }
[data-ein].da { opacity: 1; transform: none; }
.kopfzeile[data-ein] .linie { transform: scaleX(0); transform-origin: 0 50%; transition: transform 900ms var(--aus) 150ms; }
.kopfzeile[data-ein].da .linie { transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-ein] { opacity: 1; transform: none; transition: none; }
  .kopfzeile[data-ein] .linie { transform: none; }
}
