/* ==========================================================================
   Krypto-Teufel — Design System
   ========================================================================== */

:root {
  /* Farben */
  --bg:          #08090b;
  --bg-soft:     #0d0f13;
  --surface:     #111419;
  --surface-2:   #161a21;
  --line:        rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  --text:        #e9ebef;
  --text-dim:    #a2a9b5;
  --text-faint:  #6f7783;

  --accent:      #f7931a;   /* Bitcoin-Orange */
  --accent-soft: rgba(247, 147, 26, 0.12);
  --ember:       #d1391c;   /* Teufel-Rot, sparsam eingesetzt */
  --up:          #34c98a;
  --down:        #e0574c;

  /* Typo */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", Menlo,
          Consolas, monospace;

  /* Maße */
  --wrap: 1140px;
  --radius: 14px;
  --radius-lg: 20px;
}

/* --- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.15;
  letter-spacing: -0.022em;
  font-weight: 650;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.1rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -0.03em; }
h3 { font-size: 1.16rem; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

/* --- Layout --------------------------------------------------------------- */
.wrap { width: min(100% - 3rem, var(--wrap)); margin-inline: auto; }
@media (max-width: 640px) { .wrap { width: min(100% - 2.2rem, var(--wrap)); } }

section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; position: relative; }
.section-head { max-width: 660px; margin-bottom: 3rem; }
.section-head p { color: var(--text-dim); font-size: 1.05rem; margin: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: var(--accent); opacity: .6;
}

.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .82rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: .95rem; font-weight: 600;
  text-decoration: none; cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.btn-primary {
  background: var(--accent); color: #17120a;
  box-shadow: 0 8px 26px -12px rgba(247, 147, 26, .85);
}
.btn-primary:hover { background: #ffa733; box-shadow: 0 12px 32px -12px rgba(247, 147, 26, .95); }

.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--text-dim); background: rgba(255,255,255,.04); }

.btn-sm { padding: .58rem 1.15rem; font-size: .88rem; }

/* --- Header --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(8, 9, 11, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); background: rgba(8, 9, 11, .9); }
.header-inner { display: flex; align-items: center; gap: 2rem; height: 70px; }

.logo { display: flex; align-items: center; gap: .65rem; text-decoration: none; font-weight: 700; letter-spacing: -.02em; }
.logo-mark {
  width: 30px; height: 30px; flex: none;
  display: grid; place-items: center;
  border-radius: 9px;
  background: linear-gradient(145deg, var(--accent), var(--ember));
  color: #150d05; font-size: .95rem; font-weight: 800;
}
.logo span { font-size: 1.02rem; }
.logo span b { font-weight: 700; }
.logo span i { font-style: normal; color: var(--text-faint); font-weight: 500; }

.menu { display: flex; align-items: center; margin-left: auto; }
.nav { display: flex; gap: 1.7rem; }
.nav a {
  text-decoration: none; color: var(--text-dim); font-size: .93rem; font-weight: 500;
  transition: color .16s ease;
}
.nav a:hover { color: var(--text); }
.header-cta { margin-left: 1.4rem; }

.nav-toggle {
  display: none; margin-left: auto;
  background: none; border: 1px solid var(--line-strong); border-radius: 10px;
  width: 42px; height: 40px; color: var(--text); cursor: pointer;
}
@media (max-width: 900px) {
  .menu { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .site-header.nav-open .menu {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; inset: 70px 0 auto;
    padding: .5rem 1.5rem 1.4rem;
    background: rgba(8, 9, 11, .98);
    border-bottom: 1px solid var(--line);
    max-height: calc(100vh - 70px); overflow-y: auto;
  }
  .site-header.nav-open .nav { flex-direction: column; gap: 0; }
  .site-header.nav-open .nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .site-header.nav-open .header-cta { margin-top: 1.2rem; }
}

/* --- Bildplätze -----------------------------------------------------------
   Jeder Bildplatz zeigt als Hintergrund eine erzeugte Grafik. Liegt unter
   dem in data-photo genannten Pfad ein echtes Foto, legt app.js es darüber.
   Fehlt das Foto, bleibt die Grafik stehen — nie ein kaputtes Bildsymbol.  */
.media { position: relative; overflow: hidden; background-size: cover; background-position: center; background-color: var(--bg-soft); }
.media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* --- Hero-Aufteilung ------------------------------------------------------ */
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 2.4rem; } }

/* --- Drehende Bitcoin-Münze ------------------------------------------------
   Reines CSS: keine zusätzlichen Kilobytes, scharf auf jedem Bildschirm und
   flüssig auch dort, wo die Punkte-Animation bewusst nicht geladen wird.   */
.hero-coin {
  display: grid; place-items: center;
  perspective: 1400px;
  padding: clamp(1rem, 4vw, 3rem) 0;
  position: relative;
}
.hero-coin::before {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 120%; aspect-ratio: 1; transform: translate(-50%, -55%);
  background: radial-gradient(circle, rgba(247, 147, 26, .22) 0%, transparent 62%);
  pointer-events: none;
}

.coin {
  --gr: clamp(190px, 25vw, 310px);
  --dicke: 1.4px;          /* Abstand der Randscheiben */
  width: var(--gr); height: var(--gr);
  position: relative; transform-style: preserve-3d;
  animation: muenze-drehen 26s linear infinite;
}
@keyframes muenze-drehen {
  from { transform: rotateX(13deg) rotateY(0deg); }
  to   { transform: rotateX(13deg) rotateY(360deg); }
}

/* Randscheiben: gestapelt entlang der Tiefenachse ergeben sie die Dicke.
   Der wiederholte Kegelverlauf erzeugt Rillen rund um den Umfang — von der
   Seite gesehen ist das die Riffelung einer echten Münze. */
.coin i {
  position: absolute; inset: 0; border-radius: 50%;
  transform: translateZ(calc((var(--i) - 9.5) * var(--dicke)));
  background: repeating-conic-gradient(from 0deg,
    #6d400b 0deg 1.4deg, #c98a22 1.4deg 2.6deg,
    #f0c476 2.6deg 3.2deg, #8a5410 3.2deg 4.5deg);
}
/* Oberste und unterste Scheibe etwas dunkler: das setzt die Kante ab. */
.coin i:first-child, .coin i:last-child { filter: brightness(.72); }

.coin-face {
  position: absolute; inset: 0; border-radius: 50%;
  backface-visibility: hidden;
  overflow: hidden;
  box-shadow: 0 0 calc(var(--gr) * .06) rgba(0, 0, 0, .45);
}
.coin-face svg { width: 100%; height: 100%; display: block; }
.coin-front { transform: translateZ(15px); }
.coin-back  { transform: rotateY(180deg) translateZ(15px); }

/* Wanderndes Glanzlicht: lässt das Metall aufblitzen, wenn die Seite
   zum Betrachter dreht. Gleiche Dauer wie die Drehung, sonst wirkt es
   losgelöst von der Bewegung. */
.coin-face::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: linear-gradient(118deg,
    transparent 26%, rgba(255, 255, 255, .5) 43%,
    rgba(255, 255, 255, .12) 52%, transparent 66%);
  mix-blend-mode: soft-light;
  animation: muenze-glanz 26s linear infinite;
}
.coin-back::after { animation-delay: -13s; }
@keyframes muenze-glanz {
  0%   { opacity: .15; }
  22%  { opacity: .95; }
  45%  { opacity: .2; }
  70%  { opacity: .55; }
  100% { opacity: .15; }
}

/* Weicher Schatten am Boden, damit die Münze nicht schwebt. */
.coin-boden {
  position: absolute; bottom: clamp(.4rem, 2vw, 1.4rem); left: 50%;
  width: clamp(150px, 19vw, 240px); height: 26px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(0, 0, 0, .55) 0%, transparent 70%);
  filter: blur(6px); pointer-events: none;
}

/* Ohne Bewegung: angekippt stehen lassen, damit die Dicke sichtbar bleibt. */
@media (prefers-reduced-motion: reduce) {
  .coin { animation: none; transform: rotateX(14deg) rotateY(-26deg); }
}

/* --- Animierter Punkte-Hintergrund (Vanta) --------------------------------
   Liegt hinter dem Hero-Inhalt, blendet sich nach dem Laden sanft ein.
   Bewusst KEIN pointer-events:none — so reagieren die Punkte auf die Maus,
   während Klicks auf Text und Knöpfe weiterhin oben ankommen.             */
.hero-vanta {
  position: absolute; inset: 0; z-index: 0;
  opacity: 0; transition: opacity 1.4s ease;
}
.hero-vanta.aktiv { opacity: 1; }
.hero > .wrap { position: relative; z-index: 2; }
/* Läuft die Animation, wäre das statische Raster darunter zu unruhig. */
.hero.vanta-an::after { display: none; }
.hero.vanta-an::before { z-index: 1; }

/* --- Hero ----------------------------------------------------------------- */
.hero { padding: clamp(4rem, 9vw, 7rem) 0 clamp(3.5rem, 7vw, 5.5rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -30% 0 auto -10%;
  height: 720px; pointer-events: none; z-index: -1;
  background:
    radial-gradient(620px 420px at 18% 22%, rgba(247,147,26,.13), transparent 68%),
    radial-gradient(520px 420px at 82% 8%, rgba(209,57,28,.10), transparent 66%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(720px 460px at 50% 0%, #000 10%, transparent 78%);
  -webkit-mask-image: radial-gradient(720px 460px at 50% 0%, #000 10%, transparent 78%);
  opacity: .55;
}
.hero-copy { max-width: 620px; }
.hero h1 { margin-bottom: 1.3rem; font-size: clamp(2.2rem, 4.4vw, 3.5rem); }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--accent), #ffb85c 55%, var(--ember));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { font-size: clamp(1.05rem, 1.9vw, 1.28rem); color: var(--text-dim); max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.1rem; }
.hero-note { margin-top: 1.15rem; font-size: .87rem; color: var(--text-faint); }

.badge-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.badge {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .34rem .8rem; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(255,255,255,.03);
  font-size: .78rem; color: var(--text-dim); font-weight: 500;
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--up); flex: none; }

/* --- Kurs-Ticker ---------------------------------------------------------- */
.ticker {
  margin-top: 3rem;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface), rgba(17,20,25,.4));
  padding: .35rem;
}
.ticker-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px) { .ticker-grid { grid-template-columns: repeat(2, 1fr); } }
.ticker-item { padding: 1.05rem 1.25rem; border-right: 1px solid var(--line); }
.ticker-item:last-child { border-right: 0; }
@media (max-width: 760px) {
  .ticker-item:nth-child(2n) { border-right: 0; }
  .ticker-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
.ticker-sym { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); font-weight: 600; }
.ticker-price { font-family: var(--mono); font-size: 1.22rem; font-weight: 600; margin-top: .3rem; font-variant-numeric: tabular-nums; }
.ticker-change { font-size: .82rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.ticker-change.up   { color: var(--up); }
.ticker-change.down { color: var(--down); }
.ticker-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: .55rem 1.25rem .7rem; font-size: .75rem; color: var(--text-faint);
  border-top: 1px solid var(--line); flex-wrap: wrap;
}
.is-loading { color: var(--text-faint); }

/* --- Trust-Leiste --------------------------------------------------------- */
.trust { padding: 2.2rem 0; border-block: 1px solid var(--line); background: var(--bg-soft); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
@media (max-width: 860px) { .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; } }
.trust-item { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--text-dim); }
.trust-item svg { flex: none; margin-top: 2px; color: var(--accent); }
.trust-item b { color: var(--text); font-weight: 600; display: block; font-size: .93rem; }

/* --- Leistungen ----------------------------------------------------------- */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
@media (max-width: 940px) { .pillars { grid-template-columns: 1fr; } }

.pillar {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface), var(--bg-soft));
  padding: 2rem 1.9rem 1.9rem;
  position: relative; overflow: hidden;
}
.pillar::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 2px; z-index: 3;
  background: linear-gradient(90deg, var(--accent), transparent 70%);
}
.pillar-media {
  margin: -2rem -1.9rem 0; height: 168px;
}
.pillar-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(17, 20, 25, .25) 0%, rgba(17, 20, 25, .55) 45%, var(--surface) 100%);
}
.pillar .pillar-icon { position: relative; z-index: 2; margin-top: -2.7rem; }
.pillar.it::before { background: linear-gradient(90deg, #4d8dff, transparent 70%); }
.pillar-icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 1.1rem;
}
.pillar.it .pillar-icon { background: rgba(77,141,255,.13); color: #79a8ff; }
.pillar h3 { font-size: 1.42rem; letter-spacing: -.025em; }
.pillar > p { color: var(--text-dim); font-size: .97rem; }

.svc-list { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .15rem; }
.svc-list li { padding: .9rem 0; border-top: 1px solid var(--line); }
.svc-list b { display: block; font-weight: 600; font-size: .98rem; margin-bottom: .18rem; }
.svc-list span { color: var(--text-dim); font-size: .89rem; line-height: 1.55; }

/* --- Leistungskarten ------------------------------------------------------ */
.svc-band {
  height: clamp(150px, 20vw, 230px); border-radius: var(--radius-lg);
  border: 1px solid var(--line); margin-bottom: 1.6rem;
}
.svc-band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 9, 11, .18) 0%, rgba(8, 9, 11, .55) 100%);
}

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
@media (max-width: 960px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .svc-grid { grid-template-columns: 1fr; } }

.svc-card {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface), var(--bg-soft));
  padding: 1.8rem 1.6rem 1.7rem;
  transition: border-color .18s ease, transform .18s ease;
}
.svc-card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent 70%);
}
.svc-card:hover { border-color: rgba(247, 147, 26, .3); transform: translateY(-2px); }
.svc-icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 1.1rem;
}
.svc-card h3 { font-size: 1.12rem; margin-bottom: .55rem; }
.svc-card p { color: var(--text-dim); font-size: .93rem; margin: 0; }

/* --- Preise --------------------------------------------------------------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; align-items: start; }
@media (max-width: 940px) { .price-grid { grid-template-columns: 1fr; max-width: 480px; } }

.price-card {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface); padding: 1.9rem 1.7rem;
  display: flex; flex-direction: column; height: 100%;
}
.price-card.featured {
  border-color: rgba(247,147,26,.42);
  background: linear-gradient(180deg, rgba(247,147,26,.07), var(--surface) 55%);
  box-shadow: 0 24px 60px -40px rgba(247,147,26,.7);
}
.price-tag {
  position: absolute; top: 1.2rem; right: 1.2rem;
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700;
  color: var(--accent); background: var(--accent-soft); padding: .28rem .6rem; border-radius: 999px;
}
.price-card { position: relative; }
.price-card h3 { font-size: 1.12rem; margin-bottom: .35rem; }
.price-card .desc { color: var(--text-dim); font-size: .89rem; min-height: 2.6em; margin-bottom: 1.3rem; }
.price { display: flex; align-items: baseline; gap: .4rem; margin-bottom: 1.4rem; }
.price .amount { font-size: 2.1rem; font-weight: 700; letter-spacing: -.03em; }
.price .unit { color: var(--text-faint); font-size: .86rem; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 1.7rem; display: grid; gap: .6rem; }
.price-card li { display: flex; gap: .6rem; font-size: .9rem; color: var(--text-dim); align-items: flex-start; }
.price-card li svg { flex: none; margin-top: 4px; color: var(--accent); }
.price-card .btn { margin-top: auto; width: 100%; }
.price-foot { margin-top: 1.8rem; font-size: .84rem; color: var(--text-faint); }

/* --- Ablauf --------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { padding-top: 1.5rem; border-top: 2px solid var(--line); position: relative; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--mono); font-size: .78rem; color: var(--accent); font-weight: 600;
  position: absolute; top: -1.65rem; left: 0;
}
.step:first-child { border-top-color: var(--accent); }
.step h3 { font-size: 1.03rem; margin-bottom: .4rem; }
.step p { font-size: .89rem; color: var(--text-dim); }

/* --- Über mich ------------------------------------------------------------ */
.about { background: var(--bg-soft); border-block: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 340px 1fr; gap: 3.5rem; align-items: start; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 2.2rem; } }

.about-card {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface); padding: 1.6rem; position: sticky; top: 96px;
}
@media (max-width: 900px) { .about-card { position: static; } }
.portrait {
  aspect-ratio: 1; border-radius: var(--radius); margin-bottom: 1.2rem;
  background:
    radial-gradient(120% 120% at 30% 20%, rgba(247,147,26,.22), transparent 60%),
    var(--surface-2);
  border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--text-faint); font-size: .82rem; text-align: center; padding: 1rem;
  object-fit: cover;
}
.about-card .name { font-weight: 650; font-size: 1.08rem; }
.about-card .role { color: var(--text-dim); font-size: .88rem; margin-bottom: 1.1rem; }
.fact-list { list-style: none; margin: 0; padding: 1.1rem 0 0; border-top: 1px solid var(--line); display: grid; gap: .7rem; }
.fact-list li { display: flex; justify-content: space-between; gap: 1rem; font-size: .86rem; }
.fact-list span { color: var(--text-faint); }
.fact-list b { font-weight: 600; text-align: right; }
.about-text p { color: var(--text-dim); }
.about-text p strong { color: var(--text); font-weight: 600; }
.quote {
  margin: 2rem 0 0; padding: 1.3rem 1.5rem;
  border-left: 2px solid var(--accent); background: rgba(247,147,26,.05);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.02rem; color: var(--text);
}

/* --- FAQ ------------------------------------------------------------------ */
.faq { max-width: 800px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.25rem 2.5rem 1.25rem 0;
  font-weight: 600; font-size: 1.02rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .4rem; top: 1.65rem;
  width: 10px; height: 10px; border-right: 2px solid var(--text-faint); border-bottom: 2px solid var(--text-faint);
  transform: rotate(45deg); transition: transform .22s ease, border-color .22s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); border-color: var(--accent); }
.faq details p { color: var(--text-dim); font-size: .95rem; padding-bottom: 1.35rem; margin: 0; max-width: 68ch; }

/* --- Aktuelles ------------------------------------------------------------ */
.news-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 2rem; flex-wrap: wrap; margin-bottom: 2.6rem;
}
.news-head > div { max-width: 660px; }
.news-head p { color: var(--text-dim); font-size: 1.02rem; margin: 0; }
.news-stand {
  font-size: .78rem; color: var(--text-faint); font-family: var(--mono);
  white-space: nowrap; padding-bottom: .3rem;
}

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 980px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .news-grid { grid-template-columns: 1fr; } }

.news-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); padding: 1.4rem 1.35rem 1.2rem;
  text-decoration: none; color: inherit;
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}
.news-card:hover { border-color: var(--line-strong); transform: translateY(-2px); background: var(--surface-2); }
.news-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.news-meta { display: flex; align-items: center; gap: .6rem; margin-bottom: .85rem; flex-wrap: wrap; }
.news-cat {
  font-size: .68rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  padding: .24rem .55rem; border-radius: 6px;
  background: rgba(255,255,255,.06); color: var(--text-dim);
}
.news-cat[data-k="Sicherheit"]  { background: rgba(224,87,76,.14);  color: #ff9c92; }
.news-cat[data-k="Regulierung"] { background: rgba(77,141,255,.14); color: #8fb6ff; }
.news-cat[data-k="Technik"]     { background: rgba(139,110,255,.14); color: #b3a0ff; }
.news-cat[data-k="Markt"]       { background: rgba(247,147,26,.14);  color: #ffb45c; }
.news-cat[data-k="Zahlungen"]   { background: rgba(52,201,138,.14);  color: #6fdcb0; }
.news-date { font-size: .75rem; color: var(--text-faint); font-variant-numeric: tabular-nums; }

.news-card h3 { font-size: 1.04rem; line-height: 1.3; margin-bottom: .55rem; }
.news-card .teaser { font-size: .89rem; color: var(--text-dim); margin: 0 0 1rem; }
.news-why {
  font-size: .85rem; color: var(--text); margin: 0 0 1.2rem;
  padding-left: .85rem; border-left: 2px solid var(--accent);
}
.news-why b { display: block; font-size: .7rem; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: .2rem; }
.news-src {
  margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: .6rem;
  font-size: .8rem; color: var(--text-faint);
}
.news-card:hover .news-src span:last-child { color: var(--accent); }

.news-note { grid-column: 1 / -1; color: var(--text-faint); font-size: .92rem; margin: 0; padding: 2rem 0; text-align: center; }
.news-foot { margin-top: 1.8rem; font-size: .8rem; color: var(--text-faint); }

/* --- Newsletter ----------------------------------------------------------- */
.newsletter-box {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background:
    radial-gradient(700px 300px at 85% 0%, rgba(247,147,26,.10), transparent 62%),
    var(--surface);
  padding: clamp(2rem, 4vw, 3rem);
  display: grid; grid-template-columns: 1fr 420px; gap: 2.5rem; align-items: center;
}
@media (max-width: 900px) { .newsletter-box { grid-template-columns: 1fr; gap: 1.8rem; } }
.newsletter-box h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.newsletter-box p { color: var(--text-dim); font-size: .96rem; margin: 0; }

.form-row { display: flex; gap: .6rem; }
@media (max-width: 460px) { .form-row { flex-direction: column; } }
input[type="email"], input[type="text"], textarea {
  width: 100%; padding: .82rem 1rem;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--line-strong); border-radius: 12px;
  font: inherit; font-size: .95rem;
  transition: border-color .16s ease, box-shadow .16s ease;
}
input:focus, textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(247,147,26,.16);
}
input::placeholder { color: var(--text-faint); }
.consent { display: flex; gap: .6rem; align-items: flex-start; margin-top: .9rem; font-size: .8rem; color: var(--text-faint); }
.consent input { margin-top: .2rem; accent-color: var(--accent); flex: none; }
.consent a { color: var(--text-dim); }
.form-msg { margin-top: .9rem; font-size: .88rem; min-height: 1.3em; }
.form-msg.ok  { color: var(--up); }
.form-msg.err { color: var(--down); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* --- Bildband mit Handlungsaufforderung ----------------------------------- */
.cta-band {
  position: relative; padding: clamp(4rem, 8vw, 6.5rem) 0;
  border-block: 1px solid var(--line); overflow: hidden;
}
.cta-media { position: absolute; inset: 0; }
.cta-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg) 8%, rgba(8, 9, 11, .82) 45%, rgba(8, 9, 11, .45) 100%);
}
@media (max-width: 720px) {
  .cta-media::after { background: linear-gradient(0deg, var(--bg) 22%, rgba(8, 9, 11, .78) 70%); }
}
.cta-inner { position: relative; max-width: 620px; }
.cta-inner h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.cta-inner p { color: var(--text-dim); font-size: 1.02rem; margin-bottom: 1.9rem; }

/* --- Kontakt / Buchung ---------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 3rem; align-items: start; }
@media (max-width: 940px) { .contact-grid { grid-template-columns: 1fr; gap: 2.2rem; } }

.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .35rem; }
.contact-list li { border-top: 1px solid var(--line); }
.contact-list a, .contact-list .static {
  display: flex; align-items: center; gap: .9rem; padding: 1rem .2rem;
  text-decoration: none; color: var(--text); transition: color .16s ease;
}
.contact-list a:hover { color: var(--accent); }
.contact-list svg { flex: none; color: var(--text-faint); }
.contact-list small { display: block; color: var(--text-faint); font-size: .76rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.contact-list .val { font-weight: 550; font-size: .97rem; }

.cal-embed {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface); min-height: 520px; overflow: hidden; position: relative;
}
.cal-placeholder {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 2rem;
}
.cal-placeholder .inner { max-width: 380px; }
.cal-placeholder h3 { font-size: 1.1rem; }
.cal-placeholder p { color: var(--text-dim); font-size: .89rem; }

/* --- Footer --------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 3.5rem 0 2rem; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 1rem; font-weight: 600; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-grid a { color: var(--text-dim); text-decoration: none; }
.footer-grid a:hover { color: var(--text); }
.footer-about p { color: var(--text-dim); font-size: .88rem; margin-top: 1rem; max-width: 34ch; }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  color: var(--text-faint); font-size: .82rem;
}
.disclaimer {
  margin-top: 1.8rem; padding: 1.1rem 1.3rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(255,255,255,.02); color: var(--text-faint); font-size: .8rem; line-height: 1.6;
}

/* --- Wissensbereich: Seitenkopf ------------------------------------------
   Warmer Goldverlauf mit zentriertem Text. Liegt ein Foto vor, legt app.js
   es darüber; der dunkle Schleier hält die Schrift in beiden Fällen lesbar. */
.page-hero {
  position: relative;
  display: grid; place-items: center; text-align: center;
  min-height: clamp(320px, 40vw, 440px);
  padding: clamp(4.5rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 4.5rem);
  background-size: cover; background-position: center;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 12, 3, .52) 0%, rgba(14, 9, 3, .62) 100%);
}
.page-hero-inner { position: relative; z-index: 2; max-width: 820px; }
.page-hero h1 {
  color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); margin: 1.1rem 0 .9rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .45);
}
.page-hero-sub {
  color: rgba(255, 255, 255, .88); font-size: clamp(1rem, 1.6vw, 1.15rem);
  margin: 0 auto; max-width: 62ch; text-shadow: 0 1px 14px rgba(0, 0, 0, .4);
}

/* --- Kategorie-Marke ------------------------------------------------------ */
.kat-chip {
  display: inline-block; text-decoration: none;
  font-size: .72rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase;
  padding: .34rem .78rem; border-radius: 999px;
  background: rgba(255, 255, 255, .07); color: var(--text-dim);
}
.kat-chip[data-k="grundlagen"] { background: rgba(247, 147, 26, .15); color: #ffb45c; }
.kat-chip[data-k="wallet"]     { background: rgba(224, 87, 76, .15);  color: #ff9c92; }
.kat-chip[data-k="kaufen"]     { background: rgba(52, 201, 138, .14); color: #6fdcb0; }
.kat-chip[data-k="steuern"]    { background: rgba(139, 110, 255, .15); color: #b3a0ff; }
.kat-chip.hell {
  background: rgba(255, 255, 255, .17); color: #fff;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
a.kat-chip.hell:hover { background: rgba(255, 255, 255, .28); }

/* --- Wissen: Übersicht ---------------------------------------------------- */
.wissen-body { padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(4rem, 8vw, 6rem); }
.wissen-gruppe { margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.wissen-gruppe-kopf { margin-bottom: 1.8rem; }
.wissen-gruppe-kopf h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: .8rem 0 0; }

.wissen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 940px) { .wissen-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .wissen-grid { grid-template-columns: 1fr; } }

.wissen-card {
  display: flex; flex-direction: column; gap: .7rem;
  padding: 1.5rem 1.45rem 1.35rem;
  border: 1px solid var(--line); border-radius: 16px;
  background: var(--surface); text-decoration: none; color: inherit;
  transition: border-color .18s ease, transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.wissen-card:hover {
  border-color: rgba(247, 147, 26, .38); transform: translateY(-3px);
  background: var(--surface-2); box-shadow: 0 18px 40px -28px rgba(247, 147, 26, .7);
}
.wissen-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wissen-card .kat-chip { align-self: flex-start; }
.wissen-card h3 { font-size: 1.06rem; line-height: 1.35; margin: 0; }
.wissen-card p { font-size: .89rem; color: var(--text-dim); margin: 0; }
.wissen-more {
  margin-top: auto; padding-top: .8rem; font-size: .85rem; font-weight: 600; color: var(--accent);
}

/* --- Wissen: Artikelseite ------------------------------------------------- */
.artikel { padding: clamp(2.5rem, 5vw, 3.5rem) 0 clamp(4rem, 8vw, 6rem); }
.artikel .wrap { max-width: 740px; }

.brotkrumen { font-size: .82rem; color: var(--text-faint); margin-bottom: 2rem; }
.brotkrumen a { color: var(--text-dim); text-decoration: none; }
.brotkrumen a:hover { color: var(--accent); }
.brotkrumen span { margin: 0 .35rem; }

.kurz-box {
  border: 1px solid rgba(247, 147, 26, .28); border-radius: 16px;
  background: linear-gradient(180deg, rgba(247, 147, 26, .09), rgba(247, 147, 26, .03));
  padding: 1.5rem 1.6rem; margin-bottom: 2.8rem;
}
.kurz-box b {
  display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .55rem;
}
.kurz-box p { margin: 0; color: var(--text); font-size: 1.03rem; line-height: 1.7; }

.artikel h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin: 2.9rem 0 1rem; letter-spacing: -.02em;
}
.artikel p { font-size: 1.05rem; line-height: 1.8; color: var(--text-dim); margin-bottom: 1.15rem; }
.artikel p b, .artikel p strong { color: var(--text); font-weight: 650; }
.artikel p em { color: var(--text); font-style: italic; }

.artikel-cta {
  margin: 3.5rem 0 0; padding: 2.2rem 2rem; border-radius: 20px; text-align: center;
  border: 1px solid rgba(247, 147, 26, .3);
  background:
    radial-gradient(600px 240px at 50% 0%, rgba(247, 147, 26, .16), transparent 70%),
    var(--surface);
}
.artikel-cta.gross { margin-top: 1rem; padding: clamp(2.4rem, 5vw, 3.4rem) 2rem; }
.artikel-cta h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.artikel-cta p { color: var(--text-dim); font-size: .98rem; max-width: 48ch; margin: 0 auto 1.6rem; }

.verwandt-titel { margin-top: 3.5rem !important; }
.artikel-fuss {
  margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--line);
  font-size: .82rem !important; line-height: 1.65 !important; color: var(--text-faint) !important;
}

/* --- Wissen-Anriss auf der Startseite ------------------------------------- */
.wissen-teaser { background: var(--bg-soft); border-block: 1px solid var(--line); }
.wissen-teaser .section-head { max-width: 640px; }

/* --- Rechtsseiten --------------------------------------------------------- */
.legal { padding: clamp(3rem, 6vw, 5rem) 0 5rem; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.7rem); margin-bottom: 2rem; }
.legal h2 { font-size: 1.32rem; margin-top: 2.6rem; }
.legal h3 { font-size: 1.05rem; margin-top: 1.8rem; }
.legal p, .legal li { color: var(--text-dim); font-size: .96rem; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .4rem; }
.legal address { font-style: normal; color: var(--text); line-height: 1.9; }
.legal a { color: var(--accent); }
.back-link { display: inline-flex; align-items: center; gap: .5rem; color: var(--text-dim); text-decoration: none; font-size: .9rem; margin-bottom: 2rem; }
.back-link:hover { color: var(--text); }

.todo {
  display: inline-block; padding: .1rem .5rem; border-radius: 6px;
  background: rgba(224,87,76,.15); color: #ff9a90; font-family: var(--mono); font-size: .82rem;
}

/* ==========================================================================
   Scroll-Effekte
   Alles läuft über CSS-Variablen, die app.js beim Scrollen setzt. So bleibt
   die Arbeit beim Kompositor und nicht im JavaScript.
   ========================================================================== */

/* --- Fortschrittsbalken im Kopf ------------------------------------------- */
.scroll-balken {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%;
  transform: scaleX(var(--fortschritt, 0)); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--accent), var(--ember));
  pointer-events: none;
}

/* --- Münze dreht beim Scrollen mit ---------------------------------------- */
.coin-3d {
  transform-style: preserve-3d;
  transform: rotateY(var(--scroll-dreh, 0deg));
}

/* --- Parallaxe in den Bildbändern ----------------------------------------- */
[data-parallax] > img,
[data-parallax] { will-change: transform; }
[data-parallax] > img {
  transform: translate3d(0, var(--py, 0px), 0) scale(1.22);
}
/* Ohne Foto wandert stattdessen der Hintergrund. */
[data-parallax] { background-position: center calc(50% + var(--py, 0px)); }

/* --- Überschriften bauen sich wortweise auf ------------------------------- */
/* Die Hülle schneidet ab, damit das Wort von unten hereinfährt. Ohne den
   zusätzlichen Rand unten würden Unterlängen wie bei „gemeinsam“ oder
   „Hype“ abgeschnitten — die Zeilenhöhe der Überschriften ist eng. */
.wort {
  display: inline-block; overflow: hidden; vertical-align: bottom;
  padding-bottom: .16em; margin-bottom: -.16em;
}
.wort > i {
  display: inline-block; font-style: inherit;
  transform: translateY(105%);
  transition: transform .85s cubic-bezier(.16, .84, .28, 1);
  transition-delay: calc(var(--w) * 42ms);
}
.visible .wort > i, .wort.visible > i { transform: none; }

/* --- Laufband ------------------------------------------------------------- */
.laufband {
  overflow: hidden; border-block: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 1.15rem 0;
  transform: skewY(var(--neigung, 0deg));
  transition: transform .5s ease-out;
}
.laufband-spur {
  display: flex; width: max-content;
  transform: translate3d(var(--lauf, 0px), 0, 0);
  will-change: transform;
}
.laufband-satz { display: flex; align-items: center; gap: 2.2rem; padding-right: 2.2rem; }
.laufband-satz span {
  font-size: clamp(1.1rem, 2.2vw, 1.7rem); font-weight: 650;
  letter-spacing: -.02em; color: var(--text-dim); white-space: nowrap;
}
.laufband-satz b { color: var(--accent); font-size: 1.1rem; opacity: .8; }

/* Keine Bewegung gewünscht: alles ruhig stellen. */
@media (prefers-reduced-motion: reduce) {
  .laufband { transform: none; }
  .laufband-spur { transform: none; }
  .coin-3d { transform: none; }
  .wort > i { transform: none; transition: none; }
  [data-parallax] > img { transform: scale(1.05); }
}

/* --- Reveal-Animation ----------------------------------------------------- */
/* Ohne JavaScript ist alles sofort sichtbar — Inhalt darf nie verborgen bleiben. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
