/* ==========================================================================
   vivekaweb.net — Grundlage der Premium-Fassung (14.10.2026)
   Schriften, Tokens, Grundlage, Schrift-Bausteine, Knöpfe und Textlinks. Lädt auf jeder Seite zuerst
   (auf der Startseite direkt nach szene.css, damit die Reihenfolge der Regeln gleich bleibt wie vorher in premium.css).
   Danach je nach Seite: premium.css (Startseite und Verkaufsseiten, mit unterseiten.css) oder kasse.css
   (Formular /check-start und Danke-Seiten, ohne die 100 KB der Verkaufsseiten).
   ========================================================================== */

/* ---------- Schriften (self-hosted) ---------- */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/instrument-serif-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url('fonts/instrument-serif-italic-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Tokens ---------- */
:root {
    color-scheme: only light;   /* Chromium kehrt die Seite sonst um (Android «Dunkles Design auf Websites», Handy-Analyse 20.10.2026) */
    --font-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
    --font-display-weight: 400;
    --font-text: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --navy: #0A1F3D;          /* Bühne, Galerie, Schluss, Titel auf Papier (15,4 : 1) */
    --navy-hoch: #102846;     /* gehobene Fläche auf Navy: Rahmenleiste */
    --tiefe: #06142A;         /* Fusszeile: Navy, nicht Fast-Schwarz */
    --papier: #F6F7F9;
    --platte: #FFFFFF;
    --text: #142036;          /* 15,2 : 1 auf Papier */
    --neben: #556173;         /* 5,9 : 1 */
    --leise: #66707F;         /* 4,7 : 1 */
    --linie: #DCE2EA;         /* Haarlinie, dekorativ */
    --linie-stark: #B9C3D0;
    --feldrand: #7D8898;      /* Rand von Eingabefeldern, 3,5 : 1 auf Weiss */
    --linie-hell: rgba(255, 255, 255, 0.14);
    --lime: #C4F052;          /* Signal: Hauptknopf, Messpunkt, Messlinie. Nie Fläche, nie Glow */
    --lime-hell: #D4F578;
    --lime-text: #4F6A0C;     /* Lime als Text auf Papier, 5,8 : 1 */

    /* Namen, die szene.css, hinweis.css und site.js erwarten */
    --blue: var(--navy); --white: #FFFFFF; --bg: var(--papier); --text-muted: var(--neben); --text-light: #9CA3AF;
    --border: var(--linie); --lime-light: var(--lime-hell); --lime-dark: #A8D635; --blue-500: #1A3158; --blue-50: #F0F4FA; --blue-100: #D8E2EF;

    --wrap: 1200px;           /* inklusive Rand; Inhalt 1120 px. szene.js rechnet mit denselben Werten */
    --rand: 40px;
    --abschnitt: clamp(5.5rem, 4rem + 6vw, 9.5rem);
    --radius: 6px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
@media (max-width: 640px) { :root { --rand: 20px; } }

/* ---------- Grundlage ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
    font-family: var(--font-text); font-size: 1.0625rem; line-height: 1.65; color: var(--text);
    background: var(--papier); overflow-x: hidden;
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.15; letter-spacing: -0.015em; }
h1, h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.012em; line-height: 1.02; }
::selection { background: var(--lime); color: var(--navy); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible {
    outline: 3px solid var(--lime); outline-offset: 0; box-shadow: 0 0 0 6px var(--navy); border-radius: 4px;
}
.skip-link { position: absolute; top: -60px; left: 1rem; z-index: 10001; padding: 0.6rem 1.25rem; background: var(--navy); color: #fff; border-radius: 0 0 6px 6px; font-size: 0.875rem; font-weight: 500; transition: top 0.2s; }
.skip-link:focus { top: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--rand); }
.dunkel { background: var(--navy); color: #fff; }

/* ---------- Schrift-Bausteine ---------- */
.titel {
    font-family: var(--font-display); font-weight: 400; color: var(--navy);
    font-size: clamp(2.5rem, 1.55rem + 3.3vw, 4.25rem); line-height: 1.02; letter-spacing: -0.012em;
    max-width: 15em; text-wrap: balance;
}
.dunkel .titel { color: #fff; }
.titel em { font-style: italic; }
.lead { font-size: clamp(1.0625rem, 0.98rem + 0.35vw, 1.25rem); line-height: 1.62; color: var(--neben); max-width: 34em; text-wrap: pretty; }
.dunkel .lead { color: rgba(255, 255, 255, 0.72); }

/* Abschnittskopf: Titel links, Einleitung rechts auf der Grundlinie (kein Eyebrow, nicht zentriert) */
.kopf { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: start; margin-bottom: clamp(3rem, 2rem + 4vw, 5.5rem); }
.kopf .titel { grid-column: 1 / span 7; }
.kopf .lead { grid-column: 8 / -1; padding-top: 0.55rem; }

/* ---------- Knöpfe und Textlinks ---------- */
.knopf {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.7rem;
    min-height: 56px; padding: 0 1.45rem 0 1.65rem; border-radius: var(--radius);
    background: var(--lime); color: var(--navy); font-size: 1rem; font-weight: 600; letter-spacing: -0.005em; line-height: 1.2;
    box-shadow: inset 0 -1px 0 rgba(10, 31, 61, 0.14);
    transition: background-color 0.25s var(--ease);
}
.knopf:hover { background: var(--lime-hell); }
.knopf--navy { background: var(--navy); color: #fff; box-shadow: none; }
.knopf--navy:hover { background: #16305A; }
.knopf--rand { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); transition: background-color 0.25s var(--ease), color 0.25s; }
.knopf--rand:hover { background: var(--navy); color: #fff; }
.knopf--hell { background: #fff; color: var(--navy); box-shadow: none; }
.knopf--hell:hover { background: var(--blue-100); }
.pfeil { width: 18px; height: 18px; flex: none; transition: transform 0.35s var(--ease); }
.knopf:hover .pfeil, .textlink:hover .pfeil { transform: translateX(3px); }
.textlink:hover .pfeil--raus { transform: translate(2px, -2px); }

.textlink {
    display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 500; color: inherit;
    text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.42em;
    text-decoration-color: color-mix(in srgb, currentColor 38%, transparent);
    transition: text-decoration-color 0.25s;
}
.textlink:hover { text-decoration-color: currentColor; }
.textlink .pfeil { width: 16px; height: 16px; }

/* Schmale Handys (Handy-Analyse 20.10.2026): weniger Polster, unter 340 und 315 px auch kleinere Schrift, damit die
   Beschriftungen einzeilig bleiben (360 px «Business-Briefing starten», 312–320 px alle langen). Kein nowrap, sonst
   läuft der Knopf aus der Karte. Leiter-Karten und Pakete ziehen in premium.css und unterseiten.css nach */
@media (max-width: 380px) { .knopf { padding-inline: 1.1rem 1rem; gap: 0.5rem; } }
@media (max-width: 340px) { .knopf { font-size: 0.9375rem; padding-inline: 0.9rem; } }
@media (max-width: 315px) { .knopf { font-size: 0.875rem; } }
