/* Die Internetseite einer Marke — der einzige Ort, der WIRBT (backend/webseite.py).

   Bauart von kickitliga übernommen (Liga/static/willkommen.css): Aufmacher, dann Szenen als
   Text-und-Bild im Wechsel, drei Karten für „so läuft es", Pakete, Schluss. Die Farben sind die
   der Anwendung (seiten.css), damit Werbung und Werkzeug nicht aussehen wie zwei Häuser. */

/* Platz der Scrollleiste immer frei halten: sonst rückt der Kopf zwischen kurzen und langen Seiten seitlich (01.10.2026). */
html { scrollbar-gutter: stable; }
body.w-seite { background: var(--bg); color: var(--text); font-size: 15px; }
.w-innen { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.w-schmal { max-width: 720px; }

/* ── Kopf ──────────────────────────────────────────────────────────────── */
.w-kopf { position: sticky; top: 0; z-index: 5; background: rgba(28,28,30,.85); backdrop-filter: blur(12px);
          border-bottom: 1px solid var(--divider); }
.w-kopf-innen { display: flex; align-items: center; justify-content: space-between; height: 58px; gap: 16px; }
.w-wort { font-size: 18px; font-weight: 800; letter-spacing: -.02em; color: #fff; text-decoration: none; display: inline-flex; align-items: center; }
.w-logo { height: 36px; width: auto; display: block; }
.w-nav { display: flex; align-items: center; gap: 4px; }
.w-nav a { color: var(--text2); text-decoration: none; font-size: 13px; padding: 7px 11px; border-radius: 8px; }
.w-nav a:hover { color: #fff; background: var(--surface2); }
.knopf { display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 14px; border-radius: 9px;
         font-size: 13px; font-weight: 600; text-decoration: none; border: 1px solid var(--divider); color: var(--text); }
.w-nav a.knopf { color: var(--text); }
.knopf.haupt { background: #fff; color: #000; border-color: #fff; }
.knopf.haupt:hover { opacity: .88; }
.knopf.gross { height: 46px; padding: 0 22px; font-size: 14px; border-radius: 12px; }
@media (max-width: 640px) { .w-nav a:not(.knopf) { display: none; } }

/* ── Aufmacher ─────────────────────────────────────────────────────────── */
.w-held { padding: 84px 0 80px; border-bottom: 1px solid var(--divider);
  background: radial-gradient(1100px 480px at 10% -10%, rgba(242,148,0,.16), transparent 62%),
              radial-gradient(900px 420px at 95% 0%, rgba(48,209,88,.10), transparent 58%); }
.w-marke { display: inline-flex; margin: 0 0 20px; padding: 6px 13px; border-radius: 999px; background: var(--surface);
           border: 1px solid var(--divider); color: var(--text2); font-size: 11px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; }
.w-held h1 { margin: 0 0 20px; font-size: clamp(2.3rem, 6vw, 4rem); line-height: 1.04; letter-spacing: -.03em; font-weight: 800; color: #fff; }
.w-held h1 span { color: var(--accent); }
.w-lead { max-width: 640px; margin: 0 0 30px; font-size: clamp(1.02rem, 2vw, 1.2rem); line-height: 1.6; color: var(--text2); }
.w-knoepfe { display: flex; flex-wrap: wrap; gap: 11px; }
.w-klein { margin: 16px 0 0; font-size: 12px; color: var(--text3); line-height: 1.6; }

/* ── Abschnitte ────────────────────────────────────────────────────────── */
.w-abschnitt { padding: 68px 0; }
.w-hell { background: var(--surface); border-block: 1px solid var(--divider); }
.w-abschnitt h2 { margin: 0 0 14px; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; letter-spacing: -.02em; font-weight: 750; color: #fff; }
.w-unter { max-width: 640px; margin: 0 0 34px; color: var(--text2); line-height: 1.6; }
.w-fliess { color: var(--text2); line-height: 1.7; font-size: 16px; }
.w-etikett { margin: 0 0 10px; color: var(--accent); font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .09em; }

.w-zwei { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 46px; align-items: center; }
.w-gedreht .w-text { order: 2; }
.w-text p { margin: 0 0 14px; color: var(--text2); line-height: 1.65; }
.w-liste { list-style: none; margin: 18px 0 0; padding: 0; }
.w-liste li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; margin-bottom: 11px; color: var(--text2); line-height: 1.5; }
.w-hak { width: 16px; height: 16px; border-radius: 50%; background: var(--accent); margin-top: 3px; position: relative; }
.w-hak::after { content: ''; position: absolute; left: 5px; top: 3px; width: 4px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

.w-bild { margin: 0; }
.w-bild img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--divider);
              box-shadow: 0 18px 44px rgba(0,0,0,.35); background: var(--bg); object-fit: cover; }
.w-bild figcaption { margin-top: 9px; font-size: 11px; color: var(--text3); }
.w-bild figcaption a { color: var(--text3); }

/* ── Drei Karten ───────────────────────────────────────────────────────── */
.w-drei { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.w-karte { display: block; padding: 22px; border-radius: 14px; background: var(--surface); border: 1px solid var(--divider); color: inherit; text-decoration: none; }
.w-hell .w-karte { background: var(--bg); }
.w-karte h3 { margin: 12px 0 8px; font-size: 16px; font-weight: 700; color: #fff; }
.w-karte p { margin: 0; color: var(--text2); line-height: 1.55; font-size: 14px; }
/* Die Funktionsliste: sechs Karten mit Aufzählungen, Häkchen statt Punkte. */
.w-funktionen { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.w-funktionen .w-karte h3 { margin-top: 0; }
.w-funktionen ul { margin: 0; padding: 0; list-style: none; }
.w-funktionen li { position: relative; padding-left: 22px; margin: 0 0 8px; color: var(--text2); font-size: 13.5px; line-height: 1.5; }
.w-funktionen li b { color: var(--text); font-weight: 600; display: block; }
.w-funktionen .w-detail { display: block; font-size: 12.5px; color: var(--text3); line-height: 1.5; margin-top: 2px; }
.w-funktionen .w-karte-fuss { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; margin-top: 10px; }
.w-funktionen .w-mehr { display: inline-block; margin-top: 0; }
/* Zugeklappt: nur die ersten drei Punkte, der Knopf nennt die Gesamtzahl */
.w-funktionen .w-karte.w-zu li:nth-child(n+4) { display: none; }
.w-funktionen .w-klapp { position: relative; padding: 0 0 0 16px; border: 0; background: none; font: inherit; font-size: 13px; font-weight: 650; color: var(--text2); cursor: pointer; }
.w-funktionen .w-klapp:hover { color: var(--text); }
.w-funktionen .w-klapp::before { content: ''; position: absolute; left: 2px; top: 5px; width: 6px; height: 6px;
  border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform .15s; }
.w-funktionen .w-klapp[aria-expanded="true"]::before { top: 8px; transform: rotate(135deg); }
.w-funktionen li::before { content: ''; position: absolute; left: 0; top: 7px; width: 10px; height: 6px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.w-klickbar:hover { border-color: var(--accent); }
.w-mehr { display: inline-block; margin-top: 12px; color: var(--accent); font-weight: 650; font-size: 13px; }
.w-preis { font-size: 28px !important; font-weight: 800; color: #fff !important; letter-spacing: -.02em; margin: 0 0 8px !important; }
.w-preis small { font-size: 13px; font-weight: 400; color: var(--text2); letter-spacing: 0; }
.w-jahr { font-size: 12px !important; color: var(--text3) !important; margin: -4px 0 10px !important; }
/* Monatlich / Jährlich — ein Umschalter für alle Preiskarten (15.09.2026) */
.w-zeitwahl { display: flex; width: max-content; max-width: 100%; gap: 2px; padding: 3px; margin: 0 0 22px; background: var(--surface); border: 1px solid var(--divider); border-radius: 999px; }
.w-hell .w-zeitwahl { background: var(--bg); }
.w-zeitwahl button { border: 0; background: transparent; color: var(--text2); font: inherit; font-size: 13px; font-weight: 650; padding: 7px 16px; border-radius: 999px; cursor: pointer; }
.w-zeitwahl button.aktiv { background: #fff; color: #000; }
.w-zeitwahl button small { font-size: 11px; font-weight: 750; color: #30d158; margin-left: 4px; }
.w-zeitwahl button.aktiv small { color: #0a7a2f; }
[data-zeit][hidden] { display: none; }
/* Die Zahlarten unter den Preiskarten — flache Chips, keine Fremdlogos (15.09.2026) */
.w-zahlarten { display: flex !important; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 0 !important; color: var(--text2) !important; font-size: 13px !important; }
.w-chip { display: inline-flex; align-items: center; gap: 5px; color: var(--text); font-size: 13px; font-weight: 500; }
.w-chip + .w-chip::before { content: '·'; color: var(--text3); margin-right: 8px; }
.w-chip .ic { color: var(--text2); }
/* Die Gerätesymbole — gezeichnet, nicht geladen: drei Rechtecke in den Proportionen von
   iPhone, Laptop und iPad. */
.w-symbol { display: block; width: 40px; height: 40px; position: relative; }
.w-symbol::before { content: ''; position: absolute; border: 2px solid var(--accent); border-radius: 4px; }
.w-symbol-iphone::before { left: 13px; top: 4px; width: 14px; height: 30px; border-radius: 4px; }
.w-symbol-ipad::before { left: 7px; top: 6px; width: 26px; height: 28px; border-radius: 4px; }
.w-symbol-laptop::before { left: 3px; top: 9px; width: 34px; height: 20px; border-radius: 3px 3px 0 0; }
.w-symbol-laptop::after { content: ''; position: absolute; left: 0; top: 31px; width: 40px; height: 3px; background: var(--accent); border-radius: 2px; }

.w-schluss { text-align: center; padding: 84px 0; }
.w-schluss .w-unter { margin-left: auto; margin-right: auto; }
/* Häufige Fragen — Klappliste, eine Frage je Zeile; die erste steht offen. */
.w-faq { border-top: 1px solid var(--divider); }
.w-frage { border-bottom: 1px solid var(--divider); }
.w-frage summary { cursor: pointer; list-style: none; padding: 16px 32px 16px 0; font-weight: 650; color: #fff; position: relative; line-height: 1.4; }
.w-frage summary::-webkit-details-marker { display: none; }
.w-frage summary::after { content: '+'; position: absolute; right: 4px; top: 12px; font-size: 22px; font-weight: 400; color: var(--text2); transition: transform .15s; }
.w-frage[open] summary::after { transform: rotate(45deg); }
.w-frage p { margin: -4px 0 18px; padding-right: 32px; color: var(--text2); line-height: 1.65; max-width: 720px; }
.w-schluss .w-knoepfe { justify-content: center; }

/* ── Fuss ──────────────────────────────────────────────────────────────── */
.w-fuss { border-top: 1px solid var(--divider); padding: 28px 0; font-size: 12px; color: var(--text3); }
.w-fuss-innen { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.w-fuss b { color: var(--text2); }
.w-fuss nav { display: flex; gap: 6px 14px; flex-wrap: wrap; }
.w-fuss a { color: var(--text2); text-decoration: none; }
.w-fuss a:hover { color: #fff; }

/* ── Rechtstexte ───────────────────────────────────────────────────────── */
.w-unterseite { padding: 44px 0 76px; }
.w-unterseite h1 { margin: 0 0 16px; font-size: clamp(1.9rem, 4.6vw, 2.6rem); line-height: 1.12; letter-spacing: -.025em; font-weight: 800; color: #fff; }
.w-rechtstext p { margin: 0 0 13px; color: var(--text2); line-height: 1.68; }
.w-rechtstext b { color: var(--text); }
.w-rechtstext .w-h2 { margin: 34px 0 10px; font-size: 1.16rem; font-weight: 750; color: #fff; }
.w-rechtstext a { color: var(--accent); }
.w-anschrift { white-space: pre-line; }
.w-zurueck { display: inline-flex; gap: 6px; color: var(--accent); text-decoration: none; margin-bottom: 24px; font-size: 13px; }
.w-stand { margin-top: 30px; color: var(--text3); font-size: 13px; }
/* Formulare ohne Anmeldung: Kündigen und Widerrufen (backend/verbraucher.py, 01.10.2026) */
.w-formular { display: grid; gap: 14px; max-width: 560px; margin: 18px 0 8px; }
.w-formular label { display: grid; gap: 6px; font-size: 13.5px; color: var(--text2); }
.w-formular input[type=text], .w-formular input[type=email], .w-formular input[type=date], .w-formular textarea {
  font: inherit; font-size: 15px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--divider);
  background: color-mix(in srgb, var(--text) 5%, transparent); color: var(--text); width: 100%; box-sizing: border-box; }
.w-formular .w-wahl { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.w-formular .w-wahl label { display: inline-flex; align-items: center; gap: 7px; color: var(--text); }
.w-formular button { justify-self: start; margin-top: 6px; }
.w-formular .w-falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.w-fehler { color: #ff6b6b; font-size: 14px; margin: 8px 0; }
.w-bestaetigung { border: 1px solid var(--divider); border-radius: 12px; padding: 16px 18px; margin: 18px 0; }
.w-bestaetigung dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 10px 0 0; font-size: 14px; }
.w-bestaetigung dt { color: var(--text3); }
.w-bestaetigung dd { margin: 0; color: var(--text); }
@media print { .w-kopf, .w-fuss, .w-zurueck, .w-druck { display: none !important; } }
.w-entwurf { margin: 0 0 24px; padding: 10px 14px; border-radius: 10px; background: color-mix(in srgb, var(--orange) 12%, transparent); border: 1px solid color-mix(in srgb, var(--orange) 35%, transparent); color: #ffb340; font-size: 13px; }

@media (max-width: 860px) {
  .w-zwei { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .w-gedreht .w-text { order: 0; }
  .w-drei { grid-template-columns: minmax(0, 1fr); }
  .w-held { padding: 56px 0 60px; }
  .w-abschnitt { padding: 48px 0; }
}

/* ── „So geht's" ───────────────────────────────────────────────────────────
   Ein Thema, ein Beispiel, Schritt für Schritt: Text links, das echte System rechts. Das
   Bildschirmfoto bekommt einen angedeuteten Fensterrahmen, das Foto keinen. */
.w-weiter { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 650; text-decoration: none; margin-top: 6px; }
.w-weiter:hover { text-decoration: underline; }
.w-schau { max-width: 1000px; }
.w-schau h1 { margin: 0 0 12px; }
.w-beispiel-hinweis { margin: 0 0 40px; padding: 12px 16px; border-radius: 10px; background: var(--surface); border: 1px solid var(--divider); color: var(--text2); font-size: 13px; line-height: 1.55; }
.w-beispiel-hinweis b { color: var(--text); }
.w-schritt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 36px; align-items: start; padding: 32px 0; border-top: 1px solid var(--divider); }
.w-schritt-text { position: relative; padding-left: 46px; }
.w-nr { position: absolute; left: 0; top: 2px; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--accent-text); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; }
.w-schritt h2 { margin: 4px 0 10px; font-size: 20px; letter-spacing: -.015em; }
.w-schritt p { margin: 0; color: var(--text2); line-height: 1.65; }
.w-rahmen img { border-radius: 10px; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.w-handy img { max-width: 260px; margin: 0 auto; border-radius: 26px; border: 8px solid #2c2c2e; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.w-schritt-handy { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.w-merke { margin: 32px 0 0; padding: 14px 16px; border-radius: 10px; background: var(--accent-bg); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); color: var(--text2); line-height: 1.6; }
.w-merke b { color: #fff; }
.w-weiter-titel { margin: 48px 0 12px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--text3); font-weight: 700; }
.w-weiter-liste { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.w-weiter-liste .w-karte h3 { margin-top: 0; font-size: 15px; }
@media (max-width: 760px) { .w-schritt, .w-schritt-handy { grid-template-columns: minmax(0, 1fr); gap: 18px; } }

/* Der Monitor: ein 16:10-Schirm mit Rand und Fuss; das Panel steht rechts darauf, wie in
   Premiere angedockt. Die Fläche links bleibt dunkel — das ist die Timeline, um die es nicht geht. */
.w-monitor-schirm { position: relative; aspect-ratio: 16 / 10; border-radius: 12px; border: 10px solid #2a2a2c;
  background: radial-gradient(900px 400px at 30% 30%, #26262a, #141416); box-shadow: 0 24px 60px rgba(0,0,0,.45); overflow: hidden; }
.w-monitor-schirm::before { content: ''; position: absolute; left: 3%; top: 6%; width: 58%; height: 88%; border-radius: 6px;
  background: repeating-linear-gradient(90deg, #1d1d20 0 40px, #202024 40px 41px); opacity: .7; }
.w-monitor-schirm img { position: absolute; right: 3%; top: 4%; height: 92%; width: auto; border-radius: 6px;
  border: 1px solid rgba(255,255,255,.12); box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.w-monitor-fuss { width: 26%; height: 14px; margin: 0 auto; background: linear-gradient(#2a2a2c, #1a1a1c); border-radius: 0 0 8px 8px; }
.w-monitor-fuss::after { content: ''; display: block; width: 160%; margin-left: -30%; height: 6px; background: #2a2a2c; border-radius: 6px; }

/* Störer auf der Paketkachel — die Aktion, die gerade läuft (backend/preise.py stoerer). Sitzt
   schräg in der Ecke, damit sie nach Aktion aussieht und nicht nach Preis. */
.w-karte { position: relative; overflow: hidden; }
.w-karte.w-aktion { box-shadow: 0 0 0 2px var(--w-akzent, #e8590c) inset; }
.w-stoerer { position: absolute; top: 22px; right: -52px; width: 200px; transform: rotate(35deg); background: var(--w-akzent, #e8590c); color: #fff;
  font-weight: 700; font-size: 12px; line-height: 1.15; padding: 5px 0; text-align: center; letter-spacing: .02em;
  box-shadow: 0 2px 8px rgba(0,0,0,.25); pointer-events: none; }
.w-stoerer small { display: block; font-weight: 500; font-size: 10px; opacity: .9; }
.w-karte.w-aktion h3 { padding-right: 84px; }
.w-karte.w-aktion > p:not(.w-preis) { padding-right: 56px; }
/* Die Preiskacheln teilen sich die Zeilen (Subgrid), damit Name, Preis und Text in allen auf gleicher Höhe stehen. */
.w-preise .w-drei > .w-karte { display: grid; grid-template-rows: subgrid; grid-row: span 6; align-content: start; }   /* 6 Zeilen: Name, Preis, Jahreszeile, Aktionshinweis, Text, „Was drin ist" */
.w-aktion-hinweis { margin: 0 !important; }
.w-aktion-hinweis:not(:empty) { margin: 0 0 10px !important; padding: 7px 10px; border-radius: 8px; background: rgba(232, 89, 12, .14);
  border: 1px solid rgba(232, 89, 12, .5); color: #ffb48a !important; font-size: 13px !important; line-height: 1.4; font-weight: 600; }
.w-preise .w-drei > .w-karte .w-mehr { align-self: end; }
.w-band { margin: 6px auto 18px; max-width: 720px; padding: 10px 16px; border-radius: 10px; background: rgba(232, 89, 12, .1);
  color: inherit; font-size: 15px; text-align: center; border: 1px solid rgba(232, 89, 12, .45); }

/* ── Hauptmenü mit „Funktionen" zum Aufklappen, Logo im Fuss (Lars, 24.09.2026) ── */
.w-nav a.aktiv { color: #fff; }
.w-nav-auf { position: relative; display: flex; }
.w-nav-pfeil { font-size: 10px; opacity: .7; margin-left: 2px; }
.w-nav-liste { position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); min-width: 290px;
  background: var(--surface); border: 1px solid var(--divider); border-radius: 12px; padding: 6px;
  box-shadow: 0 16px 40px rgba(0,0,0,.45); display: none; flex-direction: column; z-index: 20; }
.w-nav-liste::before { content: ''; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }   /* Brücke: die Maus verliert die Liste nicht */
.w-nav-auf:hover .w-nav-liste, .w-nav-auf:focus-within .w-nav-liste { display: flex; }
.w-nav-liste a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 13px; color: var(--text2); white-space: normal; }
.w-nav-liste a:hover, .w-nav-liste a.aktiv { background: var(--surface2); color: #fff; }
.w-nav-liste .w-nav-alle { color: var(--accent); font-weight: 600; border-bottom: 1px solid var(--divider); border-radius: 8px 8px 0 0; margin-bottom: 4px; }
@media (max-width: 640px) { .w-nav-auf { display: none; } }
.w-fuss-marke { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.w-fuss-logo img { height: 30px; width: auto; display: block; }
/* Logo für Hell/Dunkel (die Preisseite kennt beides; die übrigen Seiten sind dunkel). */
html.hell .w-fuss .nur-dunkel, html:not(.hell) .w-fuss .nur-hell { display: none !important; }
.w-ohne-nr .w-schritt-text { padding-left: 0; }
