/* ============================================================
   SMART-PDF — deine-dokumente.de
   Gestaltungsidee: „Amtliches Dokument, neu gedacht" —
   Papierweiß, Tintenschwarz, Siegel-Weinrot. Formular-Linien,
   Stempel, Aktenzeichen. Fraunces (Display-Serif) + Schibsted
   Grotesk (Text), lokal gehostet (DSGVO).
   ============================================================ */

:root {
  --paper: #faf7f1;
  --paper-deep: #f3eee5;
  --ink: #191512;
  --ink-soft: #55504a;
  --seal: #900008;
  --seal-bright: #b41220;
  --seal-wash: #f6e7e5;
  --hairline: rgba(25, 21, 18, 0.16);
  --hairline-strong: rgba(25, 21, 18, 0.4);
  --serif: "Fraunces", "Georgia", serif;
  --grotesk: "Schibsted Grotesk", "Helvetica Neue", sans-serif;
  --measure: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--grotesk);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* Feine Papierstruktur */
  background-image:
    radial-gradient(rgba(25, 21, 18, 0.028) 1px, transparent 1px);
  background-size: 5px 5px;
}

::selection { background: var(--seal); color: #fff; }

.shell { max-width: var(--measure); margin: 0 auto; padding: 0 28px; }

/* ---------- Kopfzeile ---------- */

.masthead {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}

/* Lese-Fortschritt als feine Siegellinie unter der Kopfzeile */
.progress {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 0;
  background: var(--seal); z-index: 51; pointer-events: none;
}

.masthead .shell {
  display: flex; align-items: center; gap: 22px;
  padding-top: 14px; padding-bottom: 14px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand img { width: 40px; height: 40px; border-radius: 9px; box-shadow: 0 1px 4px rgba(0,0,0,.18); }
.brand b { font-family: var(--serif); font-size: 1.22rem; font-weight: 700; letter-spacing: -0.01em; }
.brand b span { color: var(--seal); }

.masthead nav { display: flex; gap: 26px; margin-left: auto; }
.masthead nav a {
  color: var(--ink-soft); text-decoration: none; font-size: .95rem; font-weight: 500;
  border-bottom: 2px solid transparent; padding-bottom: 2px;
}
.masthead nav a:hover,
.masthead nav a.active { color: var(--seal); border-bottom-color: var(--seal); }

.lang-switch {
  font-size: .85rem; font-weight: 700; letter-spacing: .06em;
  color: var(--ink); text-decoration: none;
  border: 1.5px solid var(--hairline-strong); border-radius: 999px;
  padding: 5px 14px; white-space: nowrap;
}
.lang-switch:hover { border-color: var(--seal); color: var(--seal); }

/* Mobil: Navigation bleibt erreichbar — zweite Zeile, seitlich scrollbar */
@media (max-width: 860px) {
  .masthead .shell { flex-wrap: wrap; gap: 8px 16px; padding-bottom: 10px; }
  .brand { margin-right: auto; }
  .masthead nav {
    order: 3; flex: 1 1 100%; margin-left: 0; gap: 20px;
    overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .masthead nav::-webkit-scrollbar { display: none; }
  .masthead nav a { flex: 0 0 auto; font-size: .88rem; }
}

/* ---------- Rubrik-Marker (Brücke zur Store-Serie) ---------- */

.kicker {
  display: block; line-height: 1.9;
  font-size: .82rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--seal);
}
.kicker::before {
  content: ""; display: inline-block; width: 34px; height: 12px;
  background: var(--seal); margin-right: 14px; vertical-align: -1px;
}
.kicker em { font-style: normal; color: var(--ink-soft); letter-spacing: .1em; white-space: nowrap; }
@media (max-width: 620px) {
  .kicker { font-size: .74rem; letter-spacing: .15em; }
}

/* ---------- Hero ---------- */

.hero { position: relative; overflow: hidden; }
.hero .shell {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 40px; align-items: center;
  padding-top: 84px; padding-bottom: 40px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.3rem, 11vw, 5.4rem);
  line-height: 1.02; font-weight: 700; letter-spacing: -0.025em;
  margin: 26px 0 24px;
  overflow-wrap: break-word;
}
.hero h1 .turn { color: var(--seal); font-style: italic; }

.hero .lede { font-size: 1.18rem; color: var(--ink-soft); max-width: 34em; margin-bottom: 34px; }
.hero .lede strong { color: var(--ink); }

.store-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.store-row img.badge { height: 54px; display: block; }
.store-row .note { font-size: .88rem; color: var(--ink-soft); line-height: 1.45; }
.store-row .note b { color: var(--ink); }

/* Bewertung unter dem Store-Badge */
.rating { margin-top: 16px; font-size: .9rem; color: var(--ink-soft); }
.rating b { color: var(--ink); }
.rating .stars {
  font-size: 1rem; letter-spacing: 2px; margin-right: 6px; vertical-align: -1px;
  background: linear-gradient(90deg, var(--seal) 94%, var(--hairline-strong) 94%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Telefon-Bühne */
.hero-stage { position: relative; display: flex; justify-content: center; }
.hero-stage img {
  width: min(340px, 78%); height: auto; position: relative;
  transform: translate3d(0, var(--py, 0px), 0) rotate(2.5deg);
  filter: drop-shadow(0 30px 45px rgba(25, 21, 18, .28));
}

/* Stempel */
.stamp {
  position: absolute; right: 4%; bottom: 8%; z-index: 2;
  transform: translate3d(0, var(--py, 0px), 0) rotate(-8deg);
  border: 2.5px solid var(--seal); border-radius: 10px;
  outline: 2px solid var(--seal); outline-offset: 3px;
  color: var(--seal); background: color-mix(in srgb, var(--paper) 82%, transparent);
  font-weight: 800; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  padding: 10px 16px; line-height: 1.35; text-align: center;
}

@media (max-width: 860px) {
  .hero .shell { grid-template-columns: 1fr; padding-top: 54px; }
  .hero-stage { margin-top: 12px; }
  .stamp { right: 10%; }
}

/* ---------- Geschenk-Gutschein (ferngesteuert über gift.json) ---------- */

.gift .shell { padding-top: 4px; padding-bottom: 34px; }
.coupon {
  display: flex; max-width: 880px; margin: 0 auto; position: relative;
  border: 1.5px solid var(--seal); background: var(--paper);
  box-shadow: 0 14px 30px rgba(25, 21, 18, .10);
}
html.js .coupon { opacity: 0; transform: translateY(14px) rotate(-.4deg); animation: hero-in .7s cubic-bezier(.22, .61, .36, 1) .5s forwards; }
.coupon-main { flex: 1 1 auto; padding: 24px 28px 22px; }
.coupon-kicker {
  font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: var(--seal); margin-bottom: 4px;
}
.coupon-title {
  font-family: var(--serif); font-weight: 700; letter-spacing: -0.015em;
  font-size: 1.45rem; margin-bottom: 8px;
}
.coupon-fine { font-size: .82rem; line-height: 1.5; color: var(--ink-soft); max-width: 44em; }
.coupon-stub {
  flex: 0 0 auto; display: flex; flex-direction: column; justify-content: center;
  align-items: center; gap: 12px; text-align: center;
  padding: 22px 26px; position: relative;
  background: var(--seal-wash); border-left: 2px dashed var(--seal);
}
/* Perforations-Kerben am Abriss */
.coupon-stub::before, .coupon-stub::after {
  content: ""; position: absolute; left: -9px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--paper);
}
.coupon-stub::before { top: -9px; box-shadow: inset 0 -2px 0 -1px var(--seal); }
.coupon-stub::after { bottom: -9px; box-shadow: inset 0 2px 0 -1px var(--seal); }
.coupon-stub code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .84rem; font-weight: 700;
  color: var(--seal); background: var(--paper);
  border: 1px dashed var(--seal); border-radius: 5px; padding: 4px 10px;
}
.gift-cta {
  background: var(--seal); color: #fff; text-decoration: none; white-space: nowrap;
  font-weight: 700; font-size: .9rem; padding: 11px 20px; border-radius: 999px;
}
.gift-cta:hover { background: var(--seal-bright); }

@media (max-width: 640px) {
  .coupon { flex-direction: column; }
  .coupon-stub { border-left: none; border-top: 2px dashed var(--seal); }
  .coupon-stub::before { top: -9px; left: -9px; box-shadow: inset -2px 0 0 -1px var(--seal); }
  .coupon-stub::after { top: -9px; bottom: auto; left: auto; right: -9px; box-shadow: inset 2px 0 0 -1px var(--seal); }
}

/* ---------- Wortfolge (einmalige Stempel-Animation) ---------- */

.wordline {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px;
  padding: 44px 28px 0; font-family: var(--serif); font-style: italic;
  font-size: 1.08rem; color: var(--ink-soft);
}
.wordline b { color: var(--seal); font-style: normal; font-weight: 700; }
/* Container selbst nicht per Reveal verschieben — nur die Wörter animieren */
html.js .wordline.reveal { opacity: 1; transform: none; transition: none; }
html.js .wordline > * { opacity: 0; }
html.js .wordline.on > * { animation: word-stamp .38s cubic-bezier(.2, .7, .3, 1.25) forwards; }
html.js .wordline.on > :nth-child(2)  { animation-delay: .09s; }
html.js .wordline.on > :nth-child(3)  { animation-delay: .18s; }
html.js .wordline.on > :nth-child(4)  { animation-delay: .27s; }
html.js .wordline.on > :nth-child(5)  { animation-delay: .36s; }
html.js .wordline.on > :nth-child(6)  { animation-delay: .45s; }
html.js .wordline.on > :nth-child(7)  { animation-delay: .54s; }
html.js .wordline.on > :nth-child(8)  { animation-delay: .63s; }
html.js .wordline.on > :nth-child(9)  { animation-delay: .72s; }
html.js .wordline.on > :nth-child(10) { animation-delay: .81s; }
html.js .wordline.on > :nth-child(11) { animation-delay: .90s; }
@keyframes word-stamp {
  from { opacity: 0; transform: scale(1.6); }
  to   { opacity: 1; transform: scale(1); }
}

/* ---------- Abschnitts-Gerüst ---------- */

section { padding: 92px 0 0; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head h2 {
  font-family: var(--serif); font-weight: 700; letter-spacing: -0.02em;
  font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.08; margin-top: 20px;
}
.section-head p { color: var(--ink-soft); margin-top: 16px; font-size: 1.08rem; }

/* ---------- „Neu in 4.0" — Tintenblock ---------- */

.v4 { background: var(--ink); color: var(--paper); margin-top: 92px; padding: 92px 0; }
.v4 .kicker { color: var(--seal-bright); }
.v4 .kicker em { color: rgba(250, 247, 241, .55); }
.v4 h2 { color: var(--paper); }
.v4 .section-head p { color: rgba(250, 247, 241, .72); }

.v4-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: rgba(250, 247, 241, .16); border: 1px solid rgba(250, 247, 241, .16);
}
.v4-grid article { background: var(--ink); padding: 30px 26px 34px; position: relative; }
.v4-grid article:hover { background: #221d19; }
.v4-grid .no {
  font-family: var(--serif); font-style: italic; font-weight: 600;
  color: var(--seal-bright); font-size: 1.5rem; display: block; margin-bottom: 14px;
}
.v4-grid h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.v4-grid p { font-size: .95rem; color: rgba(250, 247, 241, .68); line-height: 1.55; }

@media (max-width: 960px) { .v4-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .v4-grid { grid-template-columns: 1fr; } }

/* ---------- Feature-Spotlights (Bild + Text, dezent animiert) ---------- */

.spots { padding-top: 24px; }
.spot {
  display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  gap: 56px; align-items: center; padding: 56px 0;
}
.spot + .spot { border-top: 1px dashed var(--hairline); }
.spot:nth-child(even) .spot-stage { order: 2; }

.spot-stage { position: relative; display: flex; justify-content: center; }

/* Scan-Strahl über dem Benennungs-Screenshot */
.scanline {
  position: absolute; left: 10%; right: 10%; top: 8%; height: 3px;
  border-radius: 2px; opacity: 0; z-index: 2;
  background: linear-gradient(90deg, transparent, var(--seal-bright), transparent);
}
html.js .spot.on .scanline { animation: scan 2.4s ease-in-out .6s 2; }
@keyframes scan {
  0%   { top: 8%;  opacity: 0; }
  12%  { opacity: .9; }
  88%  { opacity: .9; }
  100% { top: 86%; opacity: 0; }
}

/* Etiketten über den Screenshots */
.spot-tag {
  position: absolute; bottom: 9%; left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  background: var(--paper); border: 2px solid var(--seal); border-radius: 8px;
  color: var(--seal); font-weight: 700; font-size: .78rem; letter-spacing: .02em;
  padding: 6px 10px; white-space: nowrap;
  box-shadow: 0 8px 16px rgba(25, 21, 18, .18);
}
/* …der Dateiname „tippt sich selbst“ */
html.js .spot.on .spot-tag-type { animation: typed 1.6s steps(30, end) 2.6s backwards; }
@keyframes typed {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}
/* …blinkende Einfügemarke bei der Suche */
.spot-tag-caret::after {
  content: ""; display: inline-block; width: 2px; height: 1em;
  background: var(--seal); margin-left: 2px; vertical-align: -2px;
}
html.js .spot.on .spot-tag-caret::after { animation: caret 1.1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
/* …die Erinnerung pendelt kurz */
html.js .spot.on .spot-tag-swing { animation: swing 2.6s ease-in-out .6s 2; }
@keyframes swing {
  0%, 100% { transform: translateX(-50%) rotate(-3deg); }
  50%      { transform: translateX(-50%) rotate(3.5deg); }
}

@media (max-width: 780px) {
  .spot { grid-template-columns: 1fr; gap: 30px; padding: 40px 0; }
  .spot:nth-child(even) .spot-stage { order: 0; }
}

/* ---------- Funktionen als Inhaltsverzeichnis ---------- */

.toc { border-top: 1px solid var(--hairline-strong); }
.toc-row {
  display: grid; grid-template-columns: 110px minmax(0, .95fr) minmax(0, 1.4fr);
  gap: 28px; align-items: baseline;
  padding: 30px 0; border-bottom: 1px solid var(--hairline);
}
.toc-row:hover { background: color-mix(in srgb, var(--seal-wash) 45%, transparent); }
.toc-row .idx {
  font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: 1.7rem; color: var(--seal);
}
.toc-row h3 {
  font-family: var(--serif); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.015em;
}
.toc-row p { color: var(--ink-soft); font-size: 1rem; }
.toc-row p b { color: var(--ink); font-weight: 600; }

@media (max-width: 780px) {
  .toc-row { grid-template-columns: 56px 1fr; }
  .toc-row p { grid-column: 2; }
}

/* ---------- Privatsphäre-Manifest ---------- */

.privacy { text-align: center; padding-bottom: 40px; }
.privacy .kicker { text-align: center; }
.privacy .kicker::before { display: none; }
.privacy h2 {
  font-family: var(--serif); font-weight: 700; letter-spacing: -0.03em;
  font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1.04; margin: 26px auto 22px;
  transform: translate3d(0, var(--py, 0px), 0);
}
.privacy h2 em { font-style: italic; color: var(--seal); }
.privacy p { max-width: 44em; margin: 0 auto; color: var(--ink-soft); font-size: 1.12rem; }

.privacy .seals {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 38px;
}
.privacy .seals span {
  border: 1.5px solid var(--hairline-strong); border-radius: 999px;
  padding: 9px 20px; font-size: .9rem; font-weight: 600; background: var(--paper);
}
.privacy .seals span b { color: var(--seal); }

/* ---------- Galerie ---------- */

.gallery { padding-bottom: 0; }
.gallery-strip {
  display: flex; gap: 34px; overflow-x: auto; padding: 26px 28px 34px;
  scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--seal) transparent;
}
.gallery-strip figure { scroll-snap-align: center; flex: 0 0 auto; text-align: center; }
.gallery-strip img {
  width: min(270px, 74vw); height: auto; display: block;
  filter: drop-shadow(0 18px 28px rgba(25, 21, 18, .22));
  transition: transform .35s ease;
}
.gallery-strip figure:nth-child(odd) img { transform: rotate(-1.6deg); }
.gallery-strip figure:nth-child(even) img { transform: rotate(1.6deg); }
.gallery-strip figure:hover img { transform: rotate(0) scale(1.025); }
.gallery-strip figcaption {
  margin-top: 14px; font-family: var(--serif); font-style: italic;
  color: var(--ink-soft); font-size: 1rem;
}

/* ---------- Stimmen (Zitat-Karussell) ---------- */

.voices { padding-bottom: 10px; }
.voice-stage { max-width: 760px; }
.voice-stack { display: grid; }
.voice {
  grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden;
  transition: opacity .6s ease, visibility .6s;
}
.voice.active { opacity: 1; visibility: visible; }
.voice p {
  font-family: var(--serif); font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  line-height: 1.4; letter-spacing: -0.01em; color: var(--ink);
}
.voice footer {
  margin-top: 18px; font-size: .92rem; color: var(--ink-soft);
  background: none; padding: 0;
}
.voice footer b { color: var(--ink); }
.voice-stars {
  color: var(--seal); letter-spacing: 2px; margin-right: 10px; font-size: .95rem;
}
.voice-dots { display: flex; gap: 10px; margin-top: 26px; }
.voice-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--seal);
  background: transparent; padding: 0; cursor: pointer;
}
.voice-dots button[aria-selected="true"] { background: var(--seal); }

/* ---------- Tarife ---------- */

.plans-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: stretch; }
.plan {
  border: 1.5px solid var(--hairline-strong); background: var(--paper);
  padding: 38px 34px 42px; position: relative;
}
.plan.premium { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.plan .plan-name {
  font-family: var(--serif); font-weight: 700; font-size: 1.9rem; letter-spacing: -0.02em;
}
.plan .plan-price {
  font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: 1.18rem; color: var(--seal); margin-top: 2px;
}
.plan.premium .plan-price { color: var(--seal-bright); }
.plan .plan-sub { color: var(--ink-soft); margin: 6px 0 26px; font-size: .98rem; }
.plan.premium .plan-sub { color: rgba(250, 247, 241, .65); }

.plan ul { list-style: none; }
.plan li {
  padding: 11px 0 11px 30px; position: relative;
  border-bottom: 1px dashed var(--hairline); font-size: .99rem;
}
.plan.premium li { border-bottom-color: rgba(250, 247, 241, .18); }
.plan li::before {
  content: "✓"; position: absolute; left: 0; top: 10px;
  color: var(--seal); font-weight: 800;
}
.plan.premium li::before { color: var(--seal-bright); }
.plan li.minus::before { content: "—"; color: var(--ink-soft); }

.plan .plan-foot { margin-top: 26px; font-size: .88rem; color: var(--ink-soft); }
.plan.premium .plan-foot { color: rgba(250, 247, 241, .6); }

.plan .flag {
  position: absolute; top: -14px; right: 26px;
  background: var(--seal); color: #fff; font-size: .74rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; padding: 6px 14px;
}

@media (max-width: 780px) { .plans-grid { grid-template-columns: 1fr; } }

/* ---------- Abschluss / CTA ---------- */

.outro { text-align: center; padding-top: 64px; padding-bottom: 60px; }
.outro .icon {
  width: 108px; height: 108px; border-radius: 24px;
  box-shadow: 0 16px 34px rgba(144, 0, 8, .25);
  transform: translate3d(0, var(--py, 0px), 0);
}
.outro h2 {
  font-family: var(--serif); font-weight: 700; letter-spacing: -0.02em;
  font-size: clamp(2rem, 4.6vw, 3.2rem); margin: 26px 0 12px;
}
.outro p { color: var(--ink-soft); margin-bottom: 30px; }
.outro img.badge { height: 58px; }

/* ---------- Fußzeile ---------- */

footer { background: var(--ink); color: rgba(250, 247, 241, .78); padding: 54px 0 40px; }
.foot-grid { display: flex; flex-wrap: wrap; gap: 34px; justify-content: space-between; align-items: flex-start; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand img { width: 34px; height: 34px; border-radius: 8px; }
.foot-brand b { font-family: var(--serif); font-size: 1.05rem; color: var(--paper); }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer a { color: rgba(250, 247, 241, .78); text-decoration: none; font-size: .92rem; }
footer a:hover { color: #fff; text-decoration: underline; }
.foot-line {
  border-top: 1px solid rgba(250, 247, 241, .16); margin-top: 34px; padding-top: 22px;
  font-size: .84rem; color: rgba(250, 247, 241, .5);
  display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between;
}

/* ---------- Rechtliches (Unterseite) ---------- */

.legal { padding: 60px 0 90px; }
.legal article { max-width: 780px; margin: 0 auto 70px; }
.legal h1 {
  font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700; letter-spacing: -0.02em; margin: 18px 0 40px;
}
.legal h2 {
  font-family: var(--serif); font-size: 1.8rem; font-weight: 700;
  margin: 0 0 22px; padding-top: 26px; border-top: 3px solid var(--seal);
}
.legal h3 { font-size: 1.15rem; margin: 26px 0 8px; }
.legal h4 { font-size: 1.02rem; margin: 20px 0 6px; }
.legal p { margin-bottom: 12px; color: var(--ink-soft); }
.legal strong { color: var(--ink); }
.legal a { color: var(--seal); }
.legal .backlink { font-weight: 600; text-decoration: none; color: var(--seal); }

/* ---------- FAQ (faq.html) ---------- */

.legal details { border-bottom: 1px solid var(--hairline); }
.legal summary {
  cursor: pointer; list-style: none; display: flex; gap: 12px; align-items: baseline;
  padding: 14px 0; font-weight: 600; color: var(--ink);
}
.legal summary::-webkit-details-marker { display: none; }
.legal summary::before {
  content: "+"; flex: 0 0 auto;
  font-family: var(--serif); font-weight: 700; font-size: 1.2rem; color: var(--seal);
}
.legal details[open] summary::before { content: "\2013"; }
.legal details > p { margin: 0 0 16px 30px; }

/* ---------- Presse (presse.html) ---------- */

.press-facts { width: 100%; border-collapse: collapse; margin: 6px 0 10px; }
.press-facts td {
  padding: 9px 12px 9px 0; border-bottom: 1px dashed var(--hairline);
  vertical-align: top; color: var(--ink-soft);
}
.press-facts td:first-child { font-weight: 600; color: var(--ink); padding-right: 26px; white-space: nowrap; }
.dl-row { display: flex; gap: 14px; flex-wrap: wrap; margin: 14px 0 6px; }
.dl-btn {
  display: inline-block; background: var(--seal); color: #fff; text-decoration: none;
  font-weight: 700; font-size: .92rem; padding: 12px 22px; border-radius: 999px;
}
.dl-btn:hover { background: var(--seal-bright); color: #fff; }
.dl-btn.ghost { background: transparent; color: var(--seal); border: 1.5px solid var(--seal); }
.dl-btn.ghost:hover { background: var(--seal); color: #fff; }

/* ---------- Einblend-Animationen ---------- */

/* Nur aktiv, wenn JS läuft (html.js) — ohne JS bleibt alles sichtbar. */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
html.js .reveal.on { opacity: 1; transform: none; }

/* Hero-Auftritt beim Laden: Text gestaffelt, Telefon danach */
html.js .hero .shell > div:first-child > * {
  opacity: 0; animation: hero-in .7s cubic-bezier(.22, .61, .36, 1) forwards;
}
html.js .hero .shell > div:first-child > *:nth-child(2) { animation-delay: .08s; }
html.js .hero .shell > div:first-child > *:nth-child(3) { animation-delay: .16s; }
html.js .hero .shell > div:first-child > *:nth-child(4) { animation-delay: .24s; }
html.js .hero .shell > div:first-child > *:nth-child(5) { animation-delay: .32s; }
html.js .hero-stage { opacity: 0; animation: hero-in .9s cubic-bezier(.22, .61, .36, 1) .2s forwards; }
@keyframes hero-in {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

/* Der Stempel schlägt ein, sobald das Telefon steht */
html.js .stamp { opacity: 0; animation: stamp-slam .45s cubic-bezier(.2, .7, .3, 1.25) 1.05s forwards; }
@keyframes stamp-slam {
  from { opacity: 0; transform: translate3d(0, var(--py, 0px), 0) rotate(-14deg) scale(2.1); }
  70%  { opacity: 1; }
  to   { opacity: 1; transform: translate3d(0, var(--py, 0px), 0) rotate(-8deg) scale(1); }
}

/* Rubrik-Balken wächst, wenn der Abschnitt erscheint */
html.js .reveal .kicker::before { width: 0; transition: width .55s ease .25s; }
html.js .reveal.on .kicker::before { width: 34px; }

/* Gestaffelte Reveals: „Neu in 4.0“-Karten und Galerie */
html.js .v4-grid .reveal:nth-child(2) { transition-delay: .07s; }
html.js .v4-grid .reveal:nth-child(3) { transition-delay: .14s; }
html.js .v4-grid .reveal:nth-child(4) { transition-delay: .21s; }
html.js .v4-grid .reveal:nth-child(5) { transition-delay: .28s; }
html.js .v4-grid .reveal:nth-child(6) { transition-delay: .35s; }
html.js .gallery-strip figure.reveal:nth-child(2) { transition-delay: .08s; }
html.js .gallery-strip figure.reveal:nth-child(3) { transition-delay: .16s; }
html.js .gallery-strip figure.reveal:nth-child(4) { transition-delay: .24s; }
html.js .gallery-strip figure.reveal:nth-child(5) { transition-delay: .32s; }
html.js .gallery-strip figure.reveal:nth-child(6) { transition-delay: .40s; }
/* Mobil: großzügige Abschnittsabstände abschmelzen */
@media (max-width: 620px) {
  section { padding-top: 60px; }
  .v4 { padding: 60px 0; margin-top: 60px; }
  .section-head { margin-bottom: 36px; }
  .gallery-strip { padding-bottom: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html.js .spot.on .scanline,
  html.js .spot.on .spot-tag-type,
  html.js .spot.on .spot-tag-caret::after,
  html.js .spot.on .spot-tag-swing { animation: none; }
  html.js .hero .shell > div:first-child > *,
  html.js .hero-stage,
  html.js .stamp,
  html.js .coupon { opacity: 1; animation: none; }
  html.js .wordline > * { opacity: 1; animation: none; }
  .voice { transition: none; }
  html.js .reveal .kicker::before { width: 34px; transition: none; }
  html.js .v4-grid .reveal, html.js .gallery-strip figure.reveal { transition-delay: 0s; }
  .progress { display: none; }
  [data-para] { --py: 0px !important; }
}
