/* =========================================================
   Griffeltape · griffeltape.de
   Palette 3 (Frech-Modern Bayerisch) + Pergament aus dem Greta-Master
   ========================================================= */
:root {
  --creme: #F7F2EA;
  --pergament: #E5DCC1;   /* Hintergrundton des Master-Bilds */
  --tuerkis: #1FA2A8;
  --tief: #1B5E63;
  --nacht: #123F43;
  --karamell: #C68B3D;
  --rot: #E53935;
  --tinte: #1F2A2B;
  --grau: #5B6566;
  --linie: #D3C6A6;

  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 44px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--creme); color: var(--tinte);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: var(--tief); }
:focus-visible { outline: 3px solid var(--rot); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.05; margin: 0 0 .4em; letter-spacing: -.015em; }
h2 { font-size: clamp(2.2rem, 5.5vw, 4rem); color: var(--tief); }
h3 { font-size: 1.25rem; line-height: 1.2; }
p { margin: 0 0 1em; max-width: 60ch; }
.nur-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Wortmarke ---------- */
.wortmarke { font-family: var(--serif); font-weight: 700; font-size: 1.55rem; text-decoration: none; letter-spacing: -.01em; white-space: nowrap; }
.wortmarke .g { color: var(--tief); }
.wortmarke .t { color: var(--karamell); font-style: italic; }

/* ---------- Header ---------- */
.kopf { position: sticky; top: 0; z-index: 30; background: rgba(229, 220, 193, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.kopf nav { display: flex; gap: 24px; align-items: center; }
.kopf nav a { text-decoration: none; color: var(--tinte); font-size: .95rem; font-weight: 600; }
.kopf nav a:hover { color: var(--tief); }
@media (max-width: 760px) { .kopf nav a:not(.knopf) { display: none; } }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; font-weight: 700; font-size: 1rem; cursor: pointer;
  background: var(--tief); color: var(--creme) !important;
  padding: 15px 28px; border-radius: 999px; border: 2px solid var(--tief);
  transition: background .15s, border-color .15s, transform .15s;
}
.knopf:hover { background: var(--tuerkis); border-color: var(--tuerkis); }
.knopf:active { transform: translateY(1px); }
.knopf.klein { padding: 8px 18px; font-size: .9rem; }
.knopf.rot { background: var(--rot); border-color: var(--rot); }
.knopf.rot:hover { background: #c62828; border-color: #c62828; }
.knopf.rahmen { background: transparent; color: var(--tief) !important; }
.knopf.rahmen:hover { background: var(--tief); color: var(--creme) !important; }
.knopf.hell { background: var(--creme); border-color: var(--creme); color: var(--tief) !important; }
.knopf.hell:hover { background: var(--karamell); border-color: var(--karamell); color: var(--creme) !important; }

/* =========================================================
   HERO
   ========================================================= */
.hero { background: var(--pergament); position: relative; overflow-x: clip; padding-top: clamp(24px, 4vw, 48px); }
.hero-raster {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: end;
  gap: 0; position: relative;
}
.hero-text { position: relative; z-index: 2; padding-bottom: clamp(56px, 8vw, 110px); }
.hero h1 {
  font-size: clamp(2.9rem, 6.6vw, 5.6rem); color: var(--tief); line-height: .95;
  margin-bottom: .32em;
}
.hero h1 span { display: block; }
.hero h1 .zeile-3 { color: var(--tinte); }
.hero .unterzeile { font-size: clamp(1.08rem, 1.8vw, 1.25rem); max-width: 36ch; margin-bottom: 28px; }
.hero .aktionen { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .fakten { margin-top: 22px; font-size: .9rem; color: #4d5657; }

.hero-buehne { position: relative; align-self: stretch; min-height: 520px; }
.hero-buehne picture, .hero-buehne .hero-loop {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero-buehne img, .hero-buehne .hero-loop {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 18%, #000 100%), linear-gradient(to bottom, transparent 0, #000 12%, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
  mask-image: linear-gradient(to right, transparent 0, #000 18%, #000 100%), linear-gradient(to bottom, transparent 0, #000 12%, #000 82%, transparent 100%);
}
.hero-buehne .hero-loop { opacity: 0; transition: opacity .6s; }
.hero-buehne.hat-loop .hero-loop { opacity: 1; }

/* Sprechblase */
.blase {
  position: absolute; z-index: 3; left: -2%; top: 16%;
  background: var(--creme); color: var(--tinte);
  font-family: var(--serif); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.5rem); line-height: 1.15;
  padding: 16px 20px; border-radius: 22px; border: 3px solid var(--tinte);
  box-shadow: 6px 6px 0 var(--tinte); max-width: 220px;
  transform-origin: 90% 100%;
}
.blase::after {
  content: ""; position: absolute; right: 28px; bottom: -16px; width: 22px; height: 22px;
  background: var(--creme); border-right: 3px solid var(--tinte); border-bottom: 3px solid var(--tinte);
  transform: skewX(30deg) rotate(45deg);
}

/* Stempel */
.stempel-rund {
  position: absolute; z-index: 4; right: 4%; bottom: 14%;
  width: 132px; height: 132px; border-radius: 50%;
  background: var(--rot); color: #fff; display: grid; place-items: center; text-align: center;
  font-family: var(--serif); font-weight: 700; font-size: 1.15rem; line-height: 1.05;
  transform: rotate(-12deg); box-shadow: 0 0 0 5px var(--pergament), 0 0 0 7px var(--rot);
}

/* ---------- Das Tape-Band (das eine große Markenelement) ---------- */
.tapeband {
  position: relative; z-index: 5; margin: -38px -4vw 0; transform: rotate(-2.2deg);
  background: var(--tuerkis); border-top: 5px solid var(--tief); border-bottom: 5px solid var(--tief);
  overflow: hidden; padding: 14px 0;
  background-image: repeating-linear-gradient(90deg, rgba(27,94,99,.18) 0 2px, transparent 2px 7px);
  box-shadow: 0 14px 24px -12px rgba(18, 63, 67, .5);
}
.tapeband .laufband { display: flex; width: max-content; animation: laufen 38s linear infinite; }
.tapeband .laufband span {
  font-family: var(--serif); font-weight: 700; font-style: italic; font-size: clamp(1.3rem, 2.6vw, 2rem);
  color: var(--creme); white-space: nowrap; padding: 0 22px; display: inline-flex; align-items: center; gap: 44px;
}
.tapeband .laufband span::after {
  content: ""; width: 16px; height: 16px; background: var(--karamell); transform: rotate(45deg); display: inline-block;
}
@keyframes laufen { to { transform: translateX(-50%); } }

/* Ladesequenz: der eine orchestrierte Moment */
@media (prefers-reduced-motion: no-preference) {
  .tapeband { animation: bandRein .9s cubic-bezier(.2,.8,.2,1) .15s both; }
  .blase { animation: blasePop .5s cubic-bezier(.3,1.6,.5,1) .9s both; }
  .stempel-rund { animation: stempeln .45s cubic-bezier(.3,1.5,.5,1) 1.2s both; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tapeband .laufband { animation: none; }
}
@keyframes bandRein { from { transform: translateX(-110%) rotate(-2.2deg); } to { transform: translateX(0) rotate(-2.2deg); } }
@keyframes blasePop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
@keyframes stempeln { from { opacity: 0; transform: scale(2.2) rotate(-30deg); } to { opacity: 1; transform: scale(1) rotate(-12deg); } }

@media (max-width: 860px) {
  .hero-raster { grid-template-columns: 1fr; }
  .hero-buehne { order: -1; min-height: 0; aspect-ratio: 1 / 1; margin: 0 calc(-1 * var(--gutter)); }
  .hero-buehne img { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 10%, #000 78%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 10%, #000 78%, transparent 100%); }
  .blase { left: var(--gutter); top: 8%; font-size: 1.05rem; max-width: 170px; }
  .stempel-rund { width: 100px; height: 100px; font-size: .92rem; right: var(--gutter); bottom: 10%; }
  .hero-text { padding-top: 8px; padding-bottom: 72px; }
}

/* =========================================================
   ABSCHNITTE allgemein
   ========================================================= */
.abschnitt { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.kopfzeile { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.kopfzeile p { color: var(--grau); margin: 0; }

/* =========================================================
   DIE GRIFFEL-CHRONIKEN
   ========================================================= */
.chroniken { background: var(--nacht); color: var(--creme); padding-top: clamp(110px, 13vw, 170px); overflow-x: clip; }
.chroniken h2 { color: var(--creme); }
.chroniken .reihe { font-family: var(--serif); font-style: italic; color: var(--karamell); font-size: 1.25rem; margin-bottom: 8px; }
.chroniken .intro { color: #C9DCDA; font-size: 1.1rem; max-width: 52ch; }
.chroniken .steuerung { display: flex; align-items: center; gap: 14px; }
.chroniken .zaehler { color: #9FBDBA; font-size: .9rem; margin-right: 6px; }
.pfeil {
  width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--creme); background: transparent;
  color: var(--creme); font-size: 1.3rem; cursor: pointer; display: grid; place-items: center;
}
.pfeil:hover { background: var(--creme); color: var(--nacht); }

.spur {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 23vw, 270px); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: var(--gutter);
  padding: 8px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 26px;
  scrollbar-width: thin; scrollbar-color: var(--tuerkis) transparent;
}
.folge {
  position: relative; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; scroll-snap-align: start;
  background: #0d2f32; color: var(--creme); text-align: left; border: 0; padding: 0; font: inherit;
  display: block; text-decoration: none;
}
.folge-bild { position: absolute; inset: 0; background: center / cover no-repeat; }
.folge::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(18,63,67,.1) 30%, rgba(13,40,43,.94) 78%); }
.folge.gesperrt .folge-bild { filter: grayscale(.85) blur(2px) brightness(.8); transform: scale(1.06); }
.folge-nr {
  position: absolute; z-index: 2; top: 12px; left: 14px;
  font-family: var(--serif); font-weight: 700; font-size: 3.4rem; line-height: 1; color: var(--creme);
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.folge-stempel {
  position: absolute; z-index: 2; top: 22px; right: -34px; transform: rotate(32deg);
  background: var(--karamell); color: var(--nacht); font-weight: 800; font-size: .78rem;
  padding: 5px 40px; text-align: center;
}
.folge-play {
  position: absolute; z-index: 2; top: 38%; left: 50%; width: 68px; height: 68px; margin-left: -34px;
  border-radius: 50%; background: var(--rot); box-shadow: 0 0 0 6px rgba(229,57,53,.3);
}
.folge-play::before { content: ""; position: absolute; left: 27px; top: 21px; border-left: 20px solid #fff; border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.folge.live { cursor: pointer; }
.folge.live:hover .folge-play { transform: scale(1.08); }
.folge-text { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 16px; }
.folge-text h3 { color: var(--creme); font-size: 1.2rem; margin-bottom: 6px; }
.folge-text p { font-size: .88rem; line-height: 1.4; color: #CFE0DE; margin: 0; }
.folge.mitmachen { background: var(--tuerkis); border: 3px dashed var(--creme); }
.folge.mitmachen::after { display: none; }
.folge.mitmachen .folge-nr { font-size: 6rem; color: var(--nacht); text-shadow: none; }
.folge.mitmachen h3 { color: var(--nacht); font-size: 1.5rem; }
.folge.mitmachen p { color: var(--nacht); }
.folge.mitmachen:hover { background: var(--karamell); }

/* Kino-Dialog */
.kino { border: 0; padding: 0; background: transparent; max-width: min(420px, 92vw); width: 100%; }
.kino::backdrop { background: rgba(10, 30, 32, .88); }
.kino video { width: 100%; aspect-ratio: 9 / 16; background: #000; border-radius: 18px; }
.kino-leiste { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--creme); margin-top: 12px; }
.kino-leiste h3 { margin: 0; font-size: 1.05rem; color: var(--creme); }
.kino-zu { background: var(--creme); color: var(--nacht); border: 0; border-radius: 999px; padding: 8px 16px; font-weight: 700; cursor: pointer; }
.kino-leiste a { color: var(--karamell); font-size: .9rem; }

/* =========================================================
   DUELL
   ========================================================= */
.duell { background: var(--creme); }
.duell .ansage { font-size: 1.15rem; max-width: 50ch; color: var(--grau); }
.tabelle-huelle { overflow-x: auto; margin-top: 20px; padding-top: 24px; }
.duell table { width: 100%; min-width: 560px; border-collapse: separate; border-spacing: 0; font-size: 1rem; }
.duell th, .duell td { padding: 18px 16px; text-align: left; border-bottom: 1px solid var(--linie); vertical-align: middle; }
.duell thead th { font-family: var(--serif); font-size: 1.25rem; color: var(--tinte); border-bottom: 3px solid var(--tinte); }
.duell tbody th { font-weight: 600; color: var(--tinte); width: 34%; }
.duell td { color: var(--grau); }
.duell .sieger { background: var(--tief); color: var(--creme); font-weight: 700; }
.duell thead .sieger { color: var(--creme); border-bottom-color: var(--tief); border-radius: 16px 16px 0 0; position: relative; }
.duell tbody tr:last-child .sieger { border-radius: 0 0 16px 16px; }
.duell .sieger .wortmarke { font-size: 1.25rem; }
.duell .sieger .wortmarke .g { color: var(--creme); }
.krone {
  position: absolute; top: -18px; right: 10px; background: var(--rot); color: #fff; font-family: var(--sans);
  font-size: .78rem; font-weight: 800; padding: 4px 12px; border-radius: 999px; transform: rotate(6deg);
}
.ja::before, .nein::before { display: inline-block; width: 1.4em; font-weight: 800; }
.ja::before { content: "✓"; color: var(--tuerkis); }
.sieger.ja::before { color: var(--karamell); }
.nein::before { content: "✕"; color: var(--rot); }
.duell .fussnote { font-size: .85rem; color: var(--grau); margin-top: 18px; }

/* =========================================================
   EINSATZORTE
   ========================================================= */
.einsatz { background: var(--pergament); }
.orte { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
.orte li { padding: 26px 0; border-top: 2px solid var(--tinte); display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; align-items: baseline; }
.orte .wo { font-family: var(--serif); font-weight: 700; font-size: clamp(1.6rem, 3.2vw, 2.4rem); color: var(--tief); line-height: 1.05; grid-column: 1 / -1; }
.orte p { grid-column: 1 / -1; margin: 0; color: #4d5657; }
@media (max-width: 760px) { .orte { grid-template-columns: 1fr; } }

/* Drei Handgriffe */
.handgriffe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 64px; counter-reset: h; }
.handgriffe div { counter-increment: h; background: var(--creme); border-radius: 18px; padding: 26px; border: 2px solid var(--tinte); box-shadow: 6px 6px 0 var(--tinte); }
.handgriffe h3::before { content: counter(h) ". "; color: var(--karamell); }
.handgriffe p { margin: 0; color: var(--grau); font-size: .98rem; }
@media (max-width: 760px) { .handgriffe { grid-template-columns: 1fr; } }

/* =========================================================
   PACKS
   ========================================================= */
.packs-abschnitt { background: var(--creme); }
.packs { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: stretch; }
.pack { border: 2px solid var(--tinte); border-radius: 22px; padding: 34px; display: flex; flex-direction: column; background: #FFFDF8; }
.pack h3 { font-size: 1.6rem; color: var(--tinte); }
.pack .preis { font-family: var(--serif); font-weight: 700; font-size: clamp(3rem, 6vw, 4.2rem); line-height: 1; margin: 14px 0 6px; color: var(--tief); }
.pack .grundpreis { font-size: .84rem; color: var(--grau); margin-bottom: 20px; }
.pack ul { padding-left: 1.1em; margin: 0 0 26px; }
.pack li { margin-bottom: 6px; }
.pack .knopf { margin-top: auto; }
.pack.held { background: var(--tief); color: var(--creme); border-color: var(--tief); position: relative; box-shadow: 10px 10px 0 var(--karamell); }
.pack.held h3, .pack.held .preis { color: var(--creme); }
.pack.held .grundpreis { color: #B9D3D1; }
.pack.held .marke {
  position: absolute; top: -20px; right: 26px; background: var(--rot); color: #fff; font-weight: 800; font-size: .88rem;
  padding: 8px 16px; border-radius: 999px; transform: rotate(4deg);
}
.packs-hinweis { font-size: .85rem; color: var(--grau); margin-top: 26px; }
@media (max-width: 760px) { .packs { grid-template-columns: 1fr; } .pack.held { order: -1; } }

/* =========================================================
   FAQ
   ========================================================= */
.fragen { background: var(--creme); padding-top: 0; }
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--linie); padding: 20px 0; }
.faq summary { cursor: pointer; font-family: var(--serif); font-weight: 700; font-size: 1.2rem; color: var(--tief); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--karamell); font-size: 1.6rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--grau); }

/* =========================================================
   SCHLUSS
   ========================================================= */
.schluss { background: var(--tuerkis); color: var(--nacht); overflow: hidden; }
.schluss .wrap { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: center; }
.schluss .portrait { width: 260px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 6px solid var(--creme); box-shadow: 10px 10px 0 var(--nacht); }
.schluss .portrait img { width: 100%; height: 100%; object-fit: cover; }
.schluss h2 { color: var(--nacht); font-size: clamp(3rem, 8vw, 6rem); margin-bottom: .2em; }
.schluss p { font-size: 1.2rem; }
.schluss .aktionen { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.schluss .knopf { background: var(--nacht); border-color: var(--nacht); }
.schluss .knopf:hover { background: var(--rot); border-color: var(--rot); }
.schluss .knopf.rahmen { background: transparent; color: var(--nacht) !important; }
.schluss .knopf.rahmen:hover { background: var(--nacht); color: var(--creme) !important; }
@media (max-width: 760px) { .schluss .wrap { grid-template-columns: 1fr; } .schluss .portrait { width: 160px; } }

/* =========================================================
   FOOTER
   ========================================================= */
.fuss { background: var(--tinte); color: #B9C3C3; font-size: .9rem; padding: 52px 0 38px; }
.fuss .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; }
.fuss .wortmarke .g { color: var(--creme); }
.fuss a { color: #E7EFEE; }
.fuss .links { display: flex; flex-wrap: wrap; gap: 18px; justify-content: flex-end; align-items: flex-start; }
.fuss .disclaimer { grid-column: 1 / -1; border-top: 1px solid #3A4647; padding-top: 22px; font-size: .82rem; max-width: none; }
@media (max-width: 760px) { .fuss .wrap { grid-template-columns: 1fr; } .fuss .links { justify-content: flex-start; } }

/* Rechtstexte */
.recht { padding: 60px 0 90px; }
.recht h1 { font-size: 2.4rem; color: var(--tief); }
.recht h2 { font-size: 1.4rem; margin-top: 1.6em; }
.recht .todo { background: #FFF3CD; border-left: 4px solid var(--karamell); padding: 10px 14px; font-size: .9rem; }
