/* oldie.de — Verkaufsseite
   Warmes Papier, ein Akzent, selbst gehostete Schriften. */

/* ---------- Schriften, lokal ausgeliefert (SIL Open Font License) ---------- */

@font-face {
  font-family: 'Bricolage';
  src: url('/fonts/bricolage-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bricolage';
  src: url('/fonts/bricolage-latin-ext.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Figtree';
  src: url('/fonts/figtree-latin.woff2') format('woff2');
  font-weight: 300 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Figtree';
  src: url('/fonts/figtree-latin-ext.woff2') format('woff2');
  font-weight: 300 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

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

:root {
  color-scheme: light;

  --paper:      #F5EFE4;
  --paper-deep: #ECE2D2;
  --ink:        #1A1713;
  --ink-soft:   #423A30;
  --muted:      #6B6255;
  --rust:       #B23A22;
  --rust-deep:  #97301B;
  --rust-light: #E9765C;
  --ocher:      #B8790F;
  --line:       rgba(26, 23, 19, .15);
  --line-soft:  rgba(26, 23, 19, .09);

  --display: 'Bricolage', 'Figtree', 'Segoe UI', system-ui, sans-serif;
  --text:    'Figtree', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --gutter: clamp(20px, 5.5vw, 104px);
  --rhythm: clamp(60px, 8.5vw, 124px);
  --radius: 14px;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--rust);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .45;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
}

header, main, footer { position: relative; z-index: 1; }

::selection { background: var(--rust); color: var(--paper); }

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--paper-deep); }
::-webkit-scrollbar-thumb { background: rgba(26, 23, 19, .3); border: 3px solid var(--paper-deep); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: rgba(26, 23, 19, .5); }
* { scrollbar-color: rgba(26, 23, 19, .3) var(--paper-deep); scrollbar-width: thin; }

h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -.02em; }
p { margin: 0; }

a { color: var(--rust); text-decoration-thickness: 1px; text-underline-offset: .2em; text-decoration-color: rgba(178, 58, 34, .38); transition: color .16s ease, text-decoration-color .16s ease; }
a:hover { color: var(--rust-deep); text-decoration-color: var(--rust-deep); }
a.plain { text-decoration: none; }

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

.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--gutter); top: 14px; z-index: 30; background: var(--ink); color: var(--paper); padding: 12px 18px; text-decoration: none; border-radius: 8px; }

.shell { max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Kopf ---------- */

.masthead { border-bottom: 1px solid var(--line); background: var(--paper); }
.masthead-in { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 74px; }

.mark { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.mark-name { font-family: var(--display); font-weight: 700; font-size: 23px; letter-spacing: -.025em; }
.mark:hover { color: var(--rust); }

.masthead nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 28px); }
.masthead nav a { font-size: 15px; font-weight: 500; color: var(--ink-soft); text-decoration: none; white-space: nowrap; }
.masthead nav a:hover { color: var(--rust); }
/* Spezifität: .masthead nav a würde sonst die Knopffarbe überschreiben */
.masthead nav a.act, .masthead nav a.act:hover { color: #FFF6EC; }
.masthead nav a[aria-current='page'] { color: var(--rust); }

/* ---------- Knöpfe ---------- */

.act {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: 999px;
  background: var(--rust); color: #FFF6EC; border: 1px solid var(--rust);
  font-family: var(--text); font-size: 16px; font-weight: 600; letter-spacing: .005em;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 1px 2px rgba(26, 23, 19, .12), 0 10px 24px -12px rgba(178, 58, 34, .55);
  transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.act:hover { background: var(--rust-deep); border-color: var(--rust-deep); color: #FFF6EC; transform: translateY(-1px); box-shadow: 0 2px 4px rgba(26, 23, 19, .14), 0 16px 30px -14px rgba(178, 58, 34, .6); }
.act:active { transform: translateY(0) scale(.985); }
.act svg { flex: none; }
.act-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.act-lg { min-height: 62px; padding: 0 34px; font-size: 17.5px; }
.act-quiet { background: transparent; color: var(--ink); border-color: var(--line); box-shadow: none; }
.act-quiet:hover { background: rgba(26, 23, 19, .05); color: var(--ink); border-color: var(--ink); box-shadow: none; }

/* ---------- Verkaufs-Siegel ---------- */

.seal { position: absolute; z-index: 2; width: clamp(116px, 15vw, 178px); display: block; transition: transform .25s cubic-bezier(.16, 1, .3, 1); }
.seal:hover { transform: scale(1.045); }
.seal svg { display: block; width: 100%; height: auto; }
.seal-rotor { transform-origin: 100px 100px; }

/* ---------- Bühne ---------- */

.stage { position: relative; overflow: hidden; }
.stage-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(300px, 33vw, 440px);
  align-items: center;
  gap: clamp(22px, 4vw, 56px);
  padding-block: clamp(40px, 6vw, 84px) clamp(48px, 7vw, 92px);
}

.wordmark { font-size: clamp(56px, 10.2vw, 130px); line-height: .92; letter-spacing: -.045em; font-weight: 800; }
.wordmark .tld { color: var(--rust); }

.claim {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(23px, 2.7vw, 35px);
  line-height: 1.16; letter-spacing: -.022em;
  color: var(--ink-soft);
  margin-top: clamp(14px, 1.8vw, 22px);
  max-width: 19ch;
}

.stage p.say { margin-top: 18px; max-width: 46ch; font-size: clamp(16.5px, 1.3vw, 18.5px); color: var(--ink-soft); }
.stage-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 3vw, 34px); }

.ledger-line {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px clamp(18px, 2.4vw, 34px);
  margin-top: clamp(26px, 3.2vw, 40px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14.5px; color: var(--muted);
}
.ledger-line b { font-weight: 700; color: var(--ink); }

.disc-wrap { position: relative; justify-self: end; width: 100%; max-width: 440px; }
.disc-wrap .seal { top: -14px; left: -34px; }
.disc svg { display: block; width: 100%; height: auto; overflow: visible; }
.disc-turn { transform-origin: 250px 250px; }

@keyframes turn { to { transform: rotate(360deg); } }
@keyframes settle { from { transform: translateY(20px); } to { transform: none; } }
@keyframes rise { from { transform: translateY(12px); } to { transform: none; } }
@keyframes drop { from { transform: rotate(-15deg); } to { transform: none; } }

/* Bewusst ohne Deckkraft und ohne Maske: bleibt eine Animation aus,
   steht der Inhalt trotzdem vollständig da. */
@media (prefers-reduced-motion: no-preference) {
  .stage .wordmark { animation: settle 1s cubic-bezier(.16, 1, .3, 1) both; }
  .stage .claim    { animation: rise .9s cubic-bezier(.16, 1, .3, 1) .08s both; }
  .stage .say      { animation: rise .9s cubic-bezier(.16, 1, .3, 1) .16s both; }
  .stage-cta       { animation: rise .9s cubic-bezier(.16, 1, .3, 1) .24s both; }
  .ledger-line     { animation: rise .9s cubic-bezier(.16, 1, .3, 1) .32s both; }
  .tonearm         { transform-origin: 452px 88px; animation: drop 1.3s cubic-bezier(.16, 1, .3, 1) .5s both; }
  .disc-turn       { animation: turn 48s linear infinite; }
  .seal-rotor      { animation: turn 26s linear infinite; }
}

/* ---------- Abschnitte ---------- */

.band { border-top: 1px solid var(--line); }
.band-deep { background: var(--paper-deep); }
.section { padding-block: var(--rhythm); }
.section-tight { padding-block: clamp(44px, 6vw, 78px); }

.title { font-size: clamp(31px, 4vw, 50px); line-height: 1.06; letter-spacing: -.028em; text-wrap: balance; }
.lede { margin-top: 16px; max-width: 60ch; font-size: clamp(16.5px, 1.3vw, 18.5px); color: var(--ink-soft); }

/* Drei Lesarten */
.readings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(26px, 3.2vw, 48px); margin-top: clamp(34px, 4.4vw, 58px); }
.reading { border-top: 2px solid var(--ink); padding-top: 22px; }
.reading svg { display: block; height: 44px; width: auto; margin-bottom: 20px; }
.reading h3 { font-size: clamp(22px, 2.1vw, 27px); line-height: 1.14; letter-spacing: -.024em; }
.reading p { margin-top: 12px; font-size: 16.5px; color: var(--ink-soft); }
.reading .field { margin-top: 14px; font-size: 14.5px; color: var(--muted); }

/* Datenblatt */
.sheet { margin-top: clamp(28px, 3.4vw, 42px); border-top: 1px solid var(--line); font-variant-numeric: tabular-nums lining-nums; }
.sheet > div { display: flex; justify-content: space-between; align-items: baseline; gap: 28px; padding: 16px 2px; border-bottom: 1px solid var(--line-soft); }
.sheet dt { flex: none; font-size: 15px; color: var(--muted); }
.sheet dd { margin: 0; text-align: right; font-size: 16.5px; font-weight: 500; }

/* Ablauf */
.route { margin: clamp(28px, 3.4vw, 42px) 0 0; padding: 0; list-style: none; counter-reset: step; }
.route li { counter-increment: step; display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 18px; padding: 22px 0; border-top: 1px solid var(--line-soft); }
.route li:first-child { border-top: 1px solid var(--line); }
.route li::before { content: counter(step, decimal-leading-zero); font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--rust); line-height: 1.5; }
.route h3 { font-size: 19px; letter-spacing: -.018em; }
.route p { margin-top: 6px; font-size: 16.5px; color: var(--ink-soft); max-width: 62ch; }

/* Fragen */
.asks { margin-top: clamp(28px, 3.4vw, 42px); }
.asks > div { padding: 24px 0; border-top: 1px solid var(--line-soft); }
.asks > div:first-child { border-top: 1px solid var(--line); }
.asks h3 { font-size: 21px; line-height: 1.24; letter-spacing: -.022em; }
.asks p { margin-top: 8px; font-size: 16.5px; color: var(--ink-soft); max-width: 68ch; }

/* ---------- Abschluss: das Angebot ---------- */

.offer { background: var(--ink); color: var(--paper); }
.offer-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 72px); align-items: center; padding-block: clamp(52px, 7vw, 96px); }
.offer .price { font-family: var(--display); font-weight: 800; font-size: clamp(38px, 5.6vw, 74px); line-height: 1; letter-spacing: -.04em; }
.offer .price em { font-style: normal; color: var(--rust-light); }
.offer p { color: rgba(245, 239, 228, .78); margin-top: 18px; max-width: 42ch; font-size: clamp(16.5px, 1.3vw, 18.5px); }
.offer .act { margin-top: 30px; }
.offer .direct { margin-top: 20px; font-size: 15.5px; color: rgba(245, 239, 228, .62); }
.offer .direct a { color: #F5EFE4; text-decoration-color: rgba(245, 239, 228, .45); }
.offer .direct a:hover { color: #FFF; text-decoration-color: #FFF; }

.vcard { font-style: normal; font-size: 16.5px; line-height: 1.75; color: rgba(245, 239, 228, .78); border-left: 1px solid rgba(245, 239, 228, .2); padding-left: clamp(22px, 3vw, 38px); }
.vcard .who { display: block; color: var(--paper); font-weight: 700; font-family: var(--display); font-size: 19px; letter-spacing: -.02em; margin-bottom: 4px; }
.vcard a { color: #F5EFE4; }

/* Fuß */
.foot { border-top: 1px solid var(--line); padding-block: 34px 44px; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; }
.foot-row nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.foot-row nav a { font-size: 15px; color: var(--muted); text-decoration: none; padding: 6px 0; }
.foot-row nav a:hover { color: var(--rust); }
.fine { margin-top: 20px; font-size: 13px; line-height: 1.6; color: var(--muted); max-width: 92ch; }

/* Recht */
.legal { max-width: 860px; }
.legal h1 { font-size: clamp(40px, 6.5vw, 68px); line-height: 1.02; letter-spacing: -.035em; }
.legal-block { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 12px 40px; padding: 28px 0; border-top: 1px solid var(--line-soft); }
.legal-block:first-of-type { border-top: 1px solid var(--line); }
.legal-block h2 { font-family: var(--display); font-size: 17px; font-weight: 700; letter-spacing: -.015em; color: var(--ink); }
.legal-block p { font-size: 16.5px; color: var(--ink-soft); }
.legal-block p + p { margin-top: 12px; }
.legal-block ul { margin: 12px 0 0; padding-left: 20px; color: var(--ink-soft); font-size: 16.5px; }
.legal-block li { margin-bottom: 6px; }
.legal-block .strong { color: var(--ink); font-weight: 600; }
.todo { color: var(--rust); font-weight: 700; font-size: .93em; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.legal-nav a { font-size: 15px; font-weight: 500; text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; color: var(--ink-soft); }
.legal-nav a:hover { border-color: var(--rust); color: var(--rust); }
.legal-nav a[aria-current='page'] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* ---------- Schmale Fenster ---------- */

@media (max-width: 1000px) {
  .stage-in { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .disc-wrap { justify-self: start; max-width: 360px; }
  .disc-wrap .seal { top: -10px; left: auto; right: -18px; }
  .readings { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .offer-in { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .vcard { border-left: 0; border-top: 1px solid rgba(245, 239, 228, .2); padding-left: 0; padding-top: 26px; }
  .legal-block { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 680px) {
  body { font-size: 16.5px; }
  .masthead-in { height: 64px; }
  .masthead nav .hide-sm { display: none; }
  .readings { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .reading { padding-block: 26px 6px; }
  .reading svg { margin-bottom: 16px; }
  .sheet > div { flex-direction: column; gap: 3px; padding: 14px 2px; }
  .sheet dd { text-align: left; }
  .stage-cta { gap: 10px; }
  .stage-cta .act { width: 100%; }
  .stage-in { padding-block: 34px 44px; }
  .disc-wrap { max-width: 300px; margin-inline: auto; justify-self: center; }
  /* links, damit das Siegel den Tonarm nicht verdeckt */
  .disc-wrap .seal { left: -12px; right: auto; top: -14px; }
  .offer .act { width: 100%; }
  .route li { grid-template-columns: 38px minmax(0, 1fr); gap: 14px; }
}
