/* Runde 2: gemeinsame Bausteine der drei Landingpage-Entwürfe.
   Farben aus dem Farbkit von dream-direction.de (key1 #E20613, key2 #111111, dark #0E0E0E, light #F5F5F5). */

:root {
  --weiss: #FFFFFF;
  --hell: #F5F5F5;
  --text: #111111;
  --fliess: #444444;
  --leise: #8A8A8F;
  --dunkel: #0E0E0E;
  --dunkel-2: #17171A;
  --rot: #E20613;
  --rot-tief: #B8050F;
  --rot-hell: #FF5A63;
  --rot-hauch: #FDECEE;
  --linie: #E8E8EA;
  --linie-dunkel: #26262A;
  --rand: clamp(16px, 4vw, 48px);
  --schatten: 0 1px 2px rgba(17, 17, 26, .05), 0 10px 30px rgba(17, 17, 26, .08);
  --schatten-gross: 0 2px 6px rgba(17, 17, 26, .06), 0 40px 90px rgba(17, 17, 26, .18);
  --folgt-rand: #d6d6d6;
}

body { background: var(--weiss); color: var(--text); font: 400 1.0625rem/1.6 Figtree, system-ui, sans-serif; }
.rahmen { width: min(1240px, 100% - 2 * var(--rand)); margin-inline: auto; }
.rahmen-breit { width: min(1400px, 100% - 2 * var(--rand)); margin-inline: auto; }
.symbol { width: 20px; height: 20px; flex: none; }

/* Kopfleiste */
.kopf {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .84);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s;
}
.kopf.gescrollt { border-bottom-color: var(--linie); }
.kopf-innen { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: block; }
.logo img { height: 32px; width: auto; }
.hauptnav { display: flex; gap: 26px; margin-left: auto; font-size: .94rem; }
.hauptnav a { color: var(--text); text-decoration: none; opacity: .78; transition: opacity .2s; }
.hauptnav a:hover { opacity: 1; }

/* Knöpfe */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 10px;
  font-weight: 600; font-size: .97rem; text-decoration: none; white-space: nowrap;
  transition: background .2s, color .2s, box-shadow .2s, transform .2s;
}
.knopf .symbol { width: 16px; height: 16px; transition: transform .2s; }
.knopf:hover .symbol { transform: translateX(3px); }
.knopf-rot { background: var(--rot); color: #fff; box-shadow: 0 10px 24px rgba(226, 6, 19, .26); }
.knopf-rot:hover { background: var(--rot-tief); }
.knopf-rahmen { background: #fff; color: var(--text); box-shadow: inset 0 0 0 1.5px #d8d8dc; }
.knopf-rahmen:hover { box-shadow: inset 0 0 0 1.5px var(--text); }
.knopf-glas { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.knopf-glas:hover { background: rgba(255, 255, 255, .16); }
.knopf-klein { min-height: 40px; padding: 0 16px; font-size: .9rem; border-radius: 9px; }

/* Schilder */
.schild {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px;
  background: var(--rot); color: #fff; font: 600 .8rem/1 Figtree, sans-serif; white-space: nowrap;
}
.schild .symbol { width: 13px; height: 13px; }
.schild-hauch { background: var(--rot-hauch); color: var(--rot-tief); }
.schild-grau { background: var(--hell); color: var(--fliess); }
.schild-dunkel { background: rgba(226, 6, 19, .14); color: var(--rot-hell); box-shadow: inset 0 0 0 1px rgba(226, 6, 19, .4); }
.schild-umriss { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; }

/* Abschnitte */
.abschnitt { padding-block: clamp(72px, 9vw, 120px); position: relative; }
.hell { background: var(--hell); }
.dunkel { background: var(--dunkel); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.dunkel::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: -12%; top: -30%; width: 70%; height: 110%;
  background: radial-gradient(closest-side, rgba(226, 6, 19, .32), rgba(226, 6, 19, 0));
}
.titel { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; margin-bottom: clamp(40px, 5vw, 64px); }
.titel h2 {
  font: 700 clamp(2rem, 3.5vw, 3rem)/1.08 'Albert Sans', sans-serif; letter-spacing: -.028em;
  max-width: 24ch; text-wrap: balance;
}
.titel p { color: var(--fliess); max-width: 62ch; font-size: 1.1rem; text-wrap: pretty; }
.dunkel .titel p { color: #A9A9B0; }
.titel-links { align-items: flex-start; text-align: left; }

/* Logo-Laufband: Liste doppelt im HTML, damit die Schleife nahtlos ist */
.laufband { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.laufband { display: flex; }
.laufband ul { display: flex; flex: none; gap: 60px; list-style: none; margin: 0; padding: 0 60px 0 0; animation: laufen 48s linear infinite; }
.laufband li { font: 700 1.4rem/1 'Albert Sans', sans-serif; letter-spacing: -.01em; white-space: nowrap; color: #A1A1A7; }
.laufband:hover ul { animation-play-state: paused; }
@keyframes laufen { to { transform: translateX(-100%); } }

/* Glas-Chips, schweben über Bildern */
.glas {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px;
  background: rgba(255, 255, 255, .78); color: var(--text);
  -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 12px 30px rgba(17, 17, 26, .14);
  font-size: .86rem; line-height: 1.25; white-space: nowrap;
}
.glas b { display: block; font: 700 1.05rem/1.1 'Albert Sans', sans-serif; letter-spacing: -.01em; }
.glas small { color: var(--fliess); font-size: .78rem; }
.glas .punkt-rot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--rot); color: #fff; flex: none; }
.glas .punkt-rot .symbol { width: 18px; height: 18px; }
.glas-dunkel { background: rgba(20, 20, 22, .72); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 12px 30px rgba(0, 0, 0, .4); }
.glas-dunkel small { color: #A9A9B0; }

/* Browserfenster mit echter Brand-Desk-Ansicht */
.browser { border-radius: 14px; overflow: hidden; background: #0b0b0c; box-shadow: var(--schatten-gross); }
.browser-leiste { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #1b1b1e; }
.browser-leiste i { width: 10px; height: 10px; border-radius: 50%; background: #3b3b40; }
.browser-leiste span { margin: 0 auto; padding: 3px 14px; border-radius: 6px; background: #26262b; color: #9d9da4; font-size: .72rem; }
.browser img { width: 100%; height: auto; display: block; }

/* Handy mit Deal-Desk-Ansicht (erfundene Marken) */
.handy {
  position: relative; width: 248px; aspect-ratio: 9 / 19; flex: none;
  background: #fff; color: var(--text); border-radius: 42px; padding: 46px 14px 14px;
  box-shadow: 0 0 0 9px #121214, 0 0 0 10px #2a2a2e, var(--schatten-gross);
  display: flex; flex-direction: column; gap: 10px; overflow: hidden;
}
.handy::before { content: ""; position: absolute; top: 12px; left: 50%; width: 76px; height: 22px; margin-left: -38px; border-radius: 999px; background: #121214; }
.app-kopf { display: flex; align-items: center; justify-content: space-between; padding: 0 4px; }
.app-kopf b { font: 800 1.15rem/1 'Albert Sans', sans-serif; letter-spacing: -.02em; }
.app-kopf small { display: block; color: var(--leise); font-size: .72rem; margin-top: 4px; }
.app-kopf .zaehler { font-size: .7rem; font-weight: 700; color: #fff; background: var(--rot); border-radius: 999px; padding: 4px 8px; }
.app-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.app-liste li { display: grid; grid-template-columns: 36px minmax(0, 1fr) 18px; align-items: center; gap: 10px; padding: 9px; border-radius: 14px; background: var(--hell); font-size: .8rem; line-height: 1.25; }
.app-liste b { display: block; font-weight: 650; }
.app-liste small { color: var(--leise); font-size: .72rem; }
.app-liste .mk { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; font: 800 .82rem/1 'Albert Sans', sans-serif; }
.app-liste .merk { width: 16px; height: 16px; color: #cfcfd3; }
.app-liste .merk.an { color: var(--rot); }
.app-meldung { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 14px; background: var(--text); color: #fff; font-size: .76rem; line-height: 1.3; }
.app-meldung .symbol { width: 16px; height: 16px; color: var(--rot-hell); }

/* Management-OS-Fenster (erfundene Daten) */
.os { background: #fff; color: var(--text); border-radius: 14px; overflow: hidden; box-shadow: var(--schatten-gross); display: grid; grid-template-columns: 52px minmax(0, 1fr); }
.os-leiste { background: var(--dunkel); display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 14px 0; }
.os-leiste img { width: 20px; }
.os-leiste .symbol { width: 18px; height: 18px; color: #6c6c73; }
.os-leiste .symbol.an { color: #fff; }
.os-inhalt { padding: 16px 18px 18px; min-width: 0; }
.os-kopf { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.os-kopf b { font: 700 1rem/1 'Albert Sans', sans-serif; }
.os-kopf small { color: var(--leise); font-size: .76rem; }
.os-liste { list-style: none; margin: 0; padding: 0; }
.os-liste li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--linie); font-size: .8rem; }
.os-liste li b { font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.os-liste li span { grid-column: 1; color: var(--fliess); font-size: .76rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.os-liste mark { grid-row: 1 / span 2; grid-column: 2; font-size: .7rem; padding: 4px 9px; border-radius: 999px; background: var(--hell); color: var(--fliess); white-space: nowrap; }
.os-liste mark.rot { background: var(--rot-hauch); color: var(--rot-tief); }
.os-entwurf { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--hell); font-size: .78rem; line-height: 1.45; }
.os-entwurf small { display: flex; align-items: center; gap: 6px; color: var(--rot-tief); font-weight: 600; font-size: .72rem; margin-bottom: 4px; }
.os-entwurf small .symbol { width: 12px; height: 12px; }

/* Story-Karten mit echten Kampagnen */
.story { margin: 0; position: relative; border-radius: 20px; overflow: hidden; background: var(--hell); aspect-ratio: 9 / 16; box-shadow: var(--schatten); }
.story img { width: 100%; height: 100%; object-fit: cover; }
.story figcaption { position: absolute; left: 10px; right: 10px; bottom: 10px; }

/* Häufige Fragen */
.fragen { max-width: 860px; margin-inline: auto; display: flex; flex-direction: column; gap: 10px; }
.fragen details { border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--linie); transition: box-shadow .2s; }
.fragen details[open] { box-shadow: inset 0 0 0 1px #d4d4d8, var(--schatten); }
.fragen summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.04rem; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary .symbol { width: 18px; height: 18px; color: var(--rot); transition: transform .25s; }
.fragen details[open] summary .symbol { transform: rotate(45deg); }
.fragen details p { padding: 0 22px 20px; color: var(--fliess); max-width: 70ch; }
.fragen-gruppe { margin: 18px 0 2px; color: var(--leise); font-size: .88rem; font-weight: 600; }
.fragen-gruppe:first-child { margin-top: 0; }

/* Fußzeile */
.fuss { background: var(--dunkel); color: #CFCFD4; padding-block: 64px 36px; font-size: .94rem; }
.fuss-raster { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.fuss-marke img { height: 30px; width: auto; }
.fuss-marke p { margin-top: 16px; max-width: 34ch; color: #9a9aa1; }
.fuss h3 { font: 600 .95rem/1.2 Figtree, sans-serif; color: #fff; margin-bottom: 14px; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.fuss a { color: #CFCFD4; text-decoration: none; }
.fuss a:hover { color: #fff; }
.fuss-unten { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--linie-dunkel); color: #7d7d84; font-size: .86rem; }
.sozial { display: flex; gap: 10px; }
.sozial a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: #1b1b1e; }
.sozial .symbol { width: 18px; height: 18px; }

/* Erscheinen beim Scrollen: nur einmal, nur leicht */
/* nur mit JavaScript ausgeblendet, damit ohne Skript alles sichtbar bleibt */
.js .zeigen { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .zeigen.da { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .laufband ul { animation: none; flex-wrap: wrap; flex: 1; justify-content: center; row-gap: 18px; padding: 0; }
  .laufband ul[aria-hidden] { display: none; }
  .js .zeigen { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .hauptnav { display: none; }
  .kopf .knopf { margin-left: auto; }
  .fuss-raster { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .kopf-innen { height: 64px; gap: 14px; }
  .logo img { height: 27px; }
  .kopf .knopf { min-height: 40px; padding: 0 14px; font-size: .88rem; }
  .fuss-raster { grid-template-columns: 1fr; }
  .laufband li { font-size: 1.15rem; }
}
