/* Zusatzstile für Landingpages (z. B. terminbuchung-ohne-abo.html).
   Baut auf style.css auf und nutzt nur dessen Farbvariablen, damit
   Hell/Dunkel ohne eigene Regeln funktioniert. */

.lp-eyebrow {
    display: inline-block;
    background: var(--accent-soft);
    color: var(--accent-ink);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 22px;
}

.lp-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.lp-secondary {
    display: inline-block;
    padding: 18px 34px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: border-color 0.2s, transform 0.2s;
}
.lp-secondary:hover {
    border-color: var(--accent-ink);
    transform: translateY(-2px);
}

.lp-trust {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    margin-top: 36px;
    color: var(--text-muted);
    font-size: 0.98rem;
}
.lp-trust span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.lp-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}
.lp-lead {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 720px;
    margin: 0 auto 40px;
}

/* Kostenvergleich als Balken */
.lp-costs {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 36px;
    max-width: 860px;
    margin: 0 auto;
}
.lp-year {
    margin-bottom: 26px;
}
.lp-year:last-of-type {
    margin-bottom: 10px;
}
.lp-year h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: var(--text-color);
}
.lp-bar-row {
    display: grid;
    grid-template-columns: 110px 1fr 90px;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 0.95rem;
}
.lp-bar-label {
    color: var(--text-muted);
}
.lp-bar-track {
    height: 14px;
    border-radius: 7px;
    background: var(--bg-color);
    overflow: hidden;
}
.lp-bar {
    height: 100%;
    border-radius: 7px;
}
.lp-bar.abo {
    background: var(--text-muted);
}
.lp-bar.planago {
    background: var(--accent-lime-green);
}
.lp-bar-value {
    text-align: right;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.lp-bar-value small {
    display: block;
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.78rem;
}
.lp-savings {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 1.15rem;
}
.lp-savings strong {
    color: var(--accent-ink);
    font-size: 1.5rem;
}
.lp-footnote {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-align: center;
    max-width: 860px;
    margin: 16px auto 0;
}
/* Link in der Fußnote: im dunklen Modus war er dunkelblau auf Schwarz */
.lp-footnote a {
    color: var(--accent-ink);
}

/* Hervorgehobener Hinweis (z. B. "Nach 24 Monaten") */
.lp-callout {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-lime-green);
    border-radius: 12px;
    padding: 28px 32px;
    max-width: 860px;
    margin: 0 auto;
}
.lp-callout h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}
.lp-callout p {
    color: var(--text-color);
    line-height: 1.7;
}
.lp-callout p + p {
    margin-top: 10px;
}
.lp-callout a {
    color: var(--accent-ink);
    font-weight: 600;
    text-decoration: none;
}

.lp-narrow {
    max-width: 860px;
    margin: 0 auto;
}
.lp-narrow > p {
    line-height: 1.7;
    margin-bottom: 30px;
}

@media (max-width: 600px) {
    .demo-tabs {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
    }
    .demo-tab {
        width: 100%;
    }
    .lp-title {
        font-size: 2rem;
    }
    .lp-costs {
        padding: 24px 18px;
    }
    .lp-bar-row {
        /* 92px: Platz für „Subscription“ auf der englischen Seite */
        grid-template-columns: 92px 1fr 78px;
        gap: 8px;
    }
    .lp-secondary,
    .lp-actions .cta-button {
        width: 100%;
        text-align: center;
    }
    /* Drei Spalten passen sonst nicht auf ein Handy – die rechte wurde abgeschnitten. */
    .comparison-table th,
    .comparison-table td {
        padding: 12px 8px;
        font-size: 0.88rem;
        /* Keine Silbentrennung (sie trennte z. B. „Webs-pace“, „Ser-ver“) und break-word statt
           anywhere: Spalten richten sich nach dem längsten Wort, nichts bricht mitten im Wort um. */
        hyphens: manual;
        overflow-wrap: break-word;
    }
}

/* Gleiche Optik wie die bisherigen Überschriften, aber mit sauberer
   Gliederung für Suchmaschinen (Kartentitel = H3, Zitat/Preis = kein Heading). */
.card .card-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--accent-ink);
}
.quote-box .lp-quote {
    font-size: 2.5rem;
    font-weight: 300;
    font-style: normal; /* Claim, kein Kundenzitat */
    margin-bottom: 20px;
}
.lp-year-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-color);
}
@media (max-width: 600px) {
    /* Die Kartentitel sind seit den SEO-Texten länger – so bleiben sie meist zweizeilig. */
    .card .card-title {
        font-size: 1.45rem;
        /* Sicherheitsnetz für lange Wörter (z. B. „Datenschutzfreundliche“) auf 320–360 px */
        overflow-wrap: break-word;
    }
    /* Weniger Innenabstand und schrumpfbare Grid-Spalte, sonst ragen die Karten über den Rand */
    .card {
        padding: 28px 22px;
        min-width: 0;
    }
}

/* Ehemals Inline-Styles in index.html, hierher ausgelagert (2026-09-24). */

.section--flush {
    padding-top: 0;
}

.lp-lead--tight {
    margin-bottom: 30px;
}

.lp-title--spaced {
    margin-bottom: 40px;
}

.table-scroll {
    overflow-x: auto;
}

.price-strike {
    opacity: 0.7;
    font-size: 0.85em;
    margin-left: 6px;
    font-weight: normal;
}

.price-footnote-inline {
    font-size: 0.8rem;
    font-weight: normal;
    opacity: 0.8;
}

.card-icon {
    margin-bottom: 15px;
}

/* Zweiter Hinweiskasten direkt unter einem ersten braucht etwas mehr Abstand. */
.lp-callout + .lp-callout {
    margin-top: 24px;
}

.pricing-box {
    text-align: center;
}

.plan-name {
    margin-bottom: 10px;
    font-size: 1.8rem;
    color: var(--text-color);
    font-weight: 700;
}

.badge-offer {
    display: inline-block;
    background: var(--accent-soft);
    color: var(--accent-ink);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.price-display {
    color: var(--accent-ink);
    font-size: 2.5rem;
    margin-bottom: 8px;
    font-weight: 700;
}
.price-display s {
    color: var(--text-muted);
    font-size: 1.5rem;
    margin-right: 10px;
}

.legal-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.feature-list {
    list-style: none;
    margin-bottom: 30px;
    line-height: 1.8;
    color: var(--text-color);
    text-align: left;
    display: inline-block;
}
.feature-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
}
.feature-list svg {
    margin: 4px 8px 0 0;
    flex-shrink: 0;
}
.feature-list li span,
.cta-button,
.kauf-intervall,
.kauf-kleingedruckt {
    text-wrap: balance;
}

.cta-buy-link {
    display: block;
    text-decoration: none;
    margin-top: 10px;
}

.support-text {
    font-size: 0.95rem;
    text-align: center;
    color: var(--text-muted);
}

.faq-page--nested {
    padding: 0;
}

/* Demo-Einbettung: Startwerte, main.js/demo-embed.js überschreiben
   iframe.style.height und wrapper.style.maxWidth danach per JS. */
#demo {
    text-align: center;
}
#demo-wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: max-width 0.4s ease;
}
#demo-iframe {
    width: 100%;
    height: 850px;
    border: none;
    display: block;
    background: var(--surface-color);
    transition: height 0.4s ease;
}

/* Kaufbereich mit zwei Varianten (Lizenz / mit Hosting) */
:is(#kaufen, #pricing).kauf-varianten {
    max-width: 1040px;
}
.kauf-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
    text-align: left;
}
.kauf-grid .pricing-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 36px 30px;
}
.kauf-grid .feature-list {
    align-self: center;
    margin-bottom: 24px;
}
.kauf-grid .cta-buy-link {
    margin-top: auto;
}
:is(#kaufen, #pricing).kauf-varianten .kauf-intervall {
    margin: 0 0 6px;
    font-size: 1rem;
    color: var(--text-color);
}
:is(#kaufen, #pricing).kauf-varianten .legal-note {
    margin-bottom: 16px;
    font-size: 0.85rem;
}
.kauf-pro {
    font-size: 1.2rem;
    font-weight: 600;
}
:is(#kaufen, #pricing).kauf-varianten .kauf-fuer {
    margin: 0 0 20px;
    font-size: 0.95rem;
    color: var(--text-muted);
}
:is(#kaufen, #pricing).kauf-varianten .kauf-kleingedruckt {
    margin: 0 0 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
}
@media (max-width: 860px) {
    .kauf-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
@media (max-width: 400px) {
    /* Auf 320 px ragten die Preis-Boxen sonst 10 px über den Rand */
    .kauf-grid .pricing-box {
        padding: 30px 18px;
    }
}


/* --- Zwischenband mit Hintergrundvideo und Parallax (Startseiten, video-parallax.js) ---
   .video-buehne: volle Breite, schneidet das Video ab. .bg-video ist oben und unten 35 % größer,
   damit beim Verschieben (translate3d per JS) keine Ränder sichtbar werden. Ein Schleier aus
   --bg-color hält den Text in Hell und Dunkel lesbar. Ohne JS bzw. auf dem Handy: nur Posterbild. */
.video-buehne {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.bg-video {
    position: absolute;
    left: 0;
    right: 0;
    top: -35%;
    bottom: -35%;
    z-index: -2;
    will-change: transform;
}
.bg-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.bg-video--still {
    top: 0;
    bottom: 0;
}
.video-buehne::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}
.video-buehne--band::before {
    background:
        linear-gradient(180deg, var(--bg-color) 0%, color-mix(in srgb, var(--bg-color) 70%, transparent) 22%, color-mix(in srgb, var(--bg-color) 70%, transparent) 78%, var(--bg-color) 100%),
        radial-gradient(ellipse 55% 60% at 50% 50%, color-mix(in srgb, var(--bg-color) 75%, transparent), transparent 100%);
}
.video-band {
    min-height: 58vh;
    min-height: 58svh;
    padding: 90px 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
}
.video-band h2 {
    font-size: 3rem;
    line-height: 1.15;
    margin: 0 0 16px;
    color: var(--text-color);
}
.video-band h2 span {
    color: var(--accent-ink);
}
.video-band p {
    font-size: 1.3rem;
    color: var(--text-color);
    margin: 0 0 32px;
    max-width: 640px;
}
.bg-video-toggle {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: color-mix(in srgb, var(--bg-color) 75%, transparent);
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: -1px;
    cursor: pointer;
    opacity: 0.75;
    z-index: 3;
    transition: opacity 0.2s, color 0.2s, border-color 0.2s;
}
.bg-video-toggle:hover,
.bg-video-toggle:focus-visible {
    opacity: 1;
    color: var(--accent-ink);
    border-color: var(--accent-ink);
}
@media (max-width: 768px) {
    .video-band h2 { font-size: 2.1rem; }
    .video-band p { font-size: 1.1rem; }
}

/* --- Hero: Video im Vollbild, das sich beim Scrollen zum Band zusammenzieht (video-parallax.js) ---
   Standard (ohne JS, Handy, "Bewegung reduzieren", Datensparmodus, zu niedriges Fenster):
   ruhiges Band über der Überschrift. Mit .hero-reveal--aktiv: Bühne bleibt unter dem Header
   stehen, das JS zieht das Video per clip-path zum Band zusammen (--p = Anteil Vollbild 1..0)
   und blendet Schleier und helle Schrift entsprechend aus. Schwarz/Weiß auf dem Video sind Absicht (Text auf Video). */
.hero-reveal__buehne {
    position: relative;
    isolation: isolate;
}
.hero-reveal__video.bg-video {
    position: relative;
    inset: auto;
    top: auto;
    bottom: auto;
    z-index: 0;
    height: 32vh;
    min-height: 180px;
    overflow: hidden;
    will-change: auto;
}
.hero-reveal__schleier {
    display: none;
}
.hero-reveal .hero {
    position: relative;
    z-index: 2;
    padding-top: 56px;
}
.hero-reveal--aktiv .hero-reveal__buehne {
    position: sticky;
    top: var(--header-h, 89px);
    height: calc(100vh - var(--header-h, 89px));
    height: calc(100svh - var(--header-h, 89px));
    overflow: hidden;
}
.hero-reveal--aktiv .hero-reveal__video.bg-video {
    position: absolute;
    inset: 0;
    height: auto;
    min-height: 0;
    clip-path: inset(0 0 var(--unten, 0px) 0);
}
.hero-reveal--aktiv .hero-reveal__video video {
    transform: translateY(var(--vy, 0px)) scale(var(--vs, 1));
    will-change: transform;
}
.hero-reveal--aktiv .hero-reveal__schleier {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.45) 55%, rgba(0, 0, 0, 0.2) 100%);
    opacity: var(--p, 0);
}
.hero-reveal--aktiv .hero {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: 1100px;
    padding: 0 5% 56px;
    transform: scale(var(--hs, 1));
    transform-origin: 50% 100%;
    text-shadow: 0 2px 18px rgba(0, 0, 0, calc(var(--p, 0) * 0.55));
}
.hero-reveal--aktiv .hero h1,
.hero-reveal--aktiv .lp-secondary {
    color: color-mix(in srgb, #ffffff calc(var(--p, 0) * 100%), var(--text-color));
}
.hero-reveal--aktiv .hero p,
.hero-reveal--aktiv .lp-trust {
    color: color-mix(in srgb, #f0f0f0 calc(var(--p, 0) * 100%), var(--text-muted));
}
.hero-reveal--aktiv .hero h1 span,
.hero-reveal--aktiv .lp-eyebrow {
    color: color-mix(in srgb, #aeea00 calc(var(--p, 0) * 100%), var(--accent-ink));
}
.hero-reveal--aktiv .lp-secondary {
    border-color: color-mix(in srgb, rgba(255, 255, 255, 0.6) calc(var(--p, 0) * 100%), var(--border-color));
}

/* Werbefilm "Planago in 20 Sekunden" (#film): Klick-Video, kein Autoplay */
.film-rahmen {
    max-width: 960px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    background: var(--surface-color);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}
.film-video {
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    background: #000;
}
.film-video:focus-visible {
    outline: 3px solid var(--accent-lime-green);
    outline-offset: -3px;
}
/* Planago mit Hosting: gleiches Grün wie die Lizenz, aufgehellt, damit beide Planago-Wege unterscheidbar bleiben */
.lp-bar.hosting {
    background: var(--accent-lime-green);
    opacity: 0.5;
}
/* Vergleichstabelle: Lizenz und Hosting in einer Zelle unterscheiden */
.vergleich-weg {
    font-weight: 700;
}
