/* Orbitron fuer Ueberschriften, Navigation, Knoepfe im Kopf und Footer.
   Gilt auf der Startseite und auf allen Modulseiten (Kristina 07.11.2026).
   Fliesstext bleibt in Inter. Die Schrift selbst: vendor/orbitron/orbitron.css. */

/* Alle Ueberschriften der Landingpage in Orbitron (Plan: h1 bis h3, nie im Fliesstext). */
:is(.landing-body, .blog-body) h1,
:is(.landing-body, .blog-body) h2,
:is(.landing-body, .blog-body) h3 {
    font-family: 'Orbitron', 'Inter', 'Segoe UI', sans-serif;
}

/* Navigation, Knoepfe und Footer in Orbitron (Kristina 07.11.2026). Orbitron ist breit,
   deshalb etwas kleinere Schrift als vorher. Fliesstext bleibt in Inter. */
:is(.landing-body, .blog-body) .lp-nav-link,
:is(.landing-body, .blog-body) .lp-nav-login,
:is(.landing-body, .blog-body) .lp-nav-demo,
:is(.landing-body, .blog-body) .lp-lang-switch a,
:is(.landing-body, .blog-body) .lp-drawer-links a,
:is(.landing-body, .blog-body) .lp-footer-col h4,
:is(.landing-body, .blog-body) .lp-footer-col ul li a,
:is(.landing-body, .blog-body) .lp-lang-switch-footer a {
    font-family: 'Orbitron', 'Inter', 'Segoe UI', sans-serif;
    letter-spacing: .03em;
}
:is(.landing-body, .blog-body) .lp-nav-link { font-size: 12.5px; padding: 8px 10px; }
:is(.landing-body, .blog-body) .lp-nav-login,
:is(.landing-body, .blog-body) .lp-nav-demo { font-size: 12px; }
:is(.landing-body, .blog-body) .lp-footer-col ul li a { font-size: 13px; }

/* Alle CTA-Knoepfe, Karten-Links und Kennzeichen (Badges) in Orbitron; der Text darum
   bleibt in der bisherigen Schrift (Kristina 07.11.2026). Orbitron ist breit: etwas kleiner
   und mit Luft zwischen den Buchstaben, Knoepfe duerfen umbrechen statt ueberzulaufen. */
:is(.landing-body, .blog-body) .lp-btn,
:is(.landing-body, .blog-body) .lp-bp-card-link,
:is(.landing-body, .blog-body) .lp-badge,
:is(.landing-body, .blog-body) .lpi-replay,
:is(.landing-body, .blog-body) .lpi-module-detail-link,
:is(.landing-body, .blog-body) .lpi-ki-hinweis {
    font-family: 'Orbitron', 'Inter', 'Segoe UI', sans-serif;
    letter-spacing: .04em;
}
:is(.landing-body, .blog-body) .lp-btn { font-size: 13px; font-weight: 700; line-height: 1.3; text-align: center; white-space: normal; }
:is(.landing-body, .blog-body) .lp-btn-lg,
:is(.landing-body, .blog-body) .lp-bp-final-btn { font-size: 14px; }
:is(.landing-body, .blog-body) .lp-bp-card-link { font-weight: 700; }
:is(.landing-body, .blog-body) .lp-badge { font-weight: 700; }

/* Primaere CTA-Knoepfe pulsieren: ein goldener Ring waechst nach aussen und verblasst (Kristina 07.11.2026).
   Nur transform und opacity werden animiert: das erledigt die Grafikkarte, es muss nichts neu gezeichnet werden
   (frueher: animierter Schatten, der die Seite ruckeln liess). Bei Hover und "reduzierte Bewegung" ruhig. */
:is(.landing-body, .blog-body) .lp-btn-primary { position: relative; animation: none; }
:is(.landing-body, .blog-body) .lp-btn-primary::after {
    content: ""; position: absolute; inset: -2px; border-radius: inherit; pointer-events: none;
    border: 2px solid #C9A961; opacity: 0; will-change: transform, opacity;
    animation: lpi-cta-ring 2s ease-out infinite;
}
:is(.landing-body, .blog-body) .lp-btn-primary:hover::after,
:is(.landing-body, .blog-body) .lp-btn-primary:focus-visible::after { animation: none; }
@keyframes lpi-cta-ring {
    0%   { transform: scale(1);    opacity: .85; }
    70%  { transform: scale(1.16, 1.5); opacity: 0; }
    100% { transform: scale(1.16, 1.5); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    :is(.landing-body, .blog-body) .lp-btn-primary::after { animation: none; }
}

/* Hero-Ueberschrift tippt sich ab: Buchstaben erst unsichtbar (Platz bleibt), dann einzeln sichtbar. */
.lpi-tip-wort { display: inline-block; white-space: nowrap; }
.lpi-tippt .lpi-tip-z { opacity: 0; }
.lpi-tippt .lpi-tip-z.ist-da { opacity: 1; }
.lpi-tippt .lpi-tip-caret { position: relative; }
.lpi-tippt .lpi-tip-caret::after {
    content: ""; position: absolute; right: -.14em; top: .12em; bottom: .08em; width: .08em;
    background: var(--lp-accent-glow, #D4BC7A); box-shadow: 0 0 10px rgba(201,169,97,.8);
    animation: lpi-blink .6s steps(2, start) infinite;
}
@keyframes lpi-blink { to { visibility: hidden; } }

/* Modul-Karten: Beim Daraufgehen wippt die Karte und das goldene Symbol dreht sich (Kristina 07.11.2026). */
/* Der Hover gilt dem feststehenden Rahmen (.lpi-module-slot), damit nichts zittert, wenn sich die Karte unter
   dem Mauszeiger wegbewegt. Nur transform wird animiert: das erledigt die Grafikkarte. */
.lpi-module-slot:hover .lpi-module-card,
.lpi-module-card:focus-visible {
    transform: none;
    will-change: transform;
    animation: lpi-wippen .9s ease-in-out infinite;
}
.lpi-module-slot:hover .lpi-module-mono,
.lpi-module-card:focus-visible .lpi-module-mono {
    display: inline-block;
    animation: lpi-dreh 1.1s ease-in-out;
}
@keyframes lpi-wippen {
    0%, 100% { transform: translateY(-4px) rotate(0deg); }
    25%      { transform: translateY(-6px) rotate(-2deg); }
    75%      { transform: translateY(-6px) rotate(2deg); }
}
@keyframes lpi-dreh {
    from { transform: rotateY(0deg); }
    to   { transform: rotateY(360deg); }
}
@media (prefers-reduced-motion: reduce) {
    .lpi-module-slot:hover .lpi-module-card,
    .lpi-module-card:focus-visible { animation: none; transform: translateY(-2px); }
    .lpi-module-slot:hover .lpi-module-mono,
    .lpi-module-card:focus-visible .lpi-module-mono { animation: none; }
}


/* ── Goldenes Sechseck-Muster auf hellen Abschnitten ───────────────────────────────────────────────
   Jedes Sechseck ist eine eigene Grafik mit eigener Ebene (will-change). Bewegt werden nur transform und opacity der
   ganzen Ebene: das erledigt die Grafikkarte, es wird nichts neu gezeichnet und nichts flimmert. Das Linienzeichnen
   (stroke-dashoffset) passiert nur im ersten Viertel des Kreislaufs. Ausserhalb des Bildes ist alles angehalten. */
.lpi-hex-sektion { position: relative; overflow: hidden; overflow: clip; isolation: isolate; }
/* Mitlaufende Ebene: bleibt beim Scrollen im sichtbaren Bereich, damit das Muster auch in sehr hohen Abschnitten
   (z. B. Modulseiten) immer dort ist, wo man sich gerade aufhaelt. Belegt keinen Platz (negativer Abstand unten). */
.lpi-hex-spur {
    position: sticky; top: 0; z-index: -1; pointer-events: none;
    height: 100vh; height: 100svh; margin-bottom: -100vh; margin-bottom: -100svh;
}
.lpi-hex-hell {
    position: absolute; top: -30px; z-index: -1; pointer-events: none;
    height: min(90%, 560px); width: auto; aspect-ratio: 500 / 580;
    opacity: 0; will-change: transform, opacity; contain: layout paint; transform-origin: 50% 50%;
    /* Deckkraft im zusammengesetzten Zustand, Startlage (verstreut), Endlage beim Auseinanderfallen */
    --hex-o: .6; --sx: -60px; --sy: 40px; --sr: -14deg; --dx: -26px; --dy: -32px; --dr: 12deg;
}
.lpi-hex-l { left: 0; translate: -30% 0; }
.lpi-hex-r { right: 0; translate: 30% 0; }
.lpi-hexp { fill: none; stroke: #C9A961; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.lpi-hexp-1, .lpi-hexp-3 { stroke-width: 2.2; }
.lpi-hexp-2, .lpi-hexp-4 { stroke-width: 1.5; }
.lpi-hex-n1 { --hex-o: .7; --sx: -70px; --sy: 46px;  --sr: -16deg; --dx: -28px; --dy: -34px; --dr: 12deg; }
.lpi-hex-n2 { --hex-o: .5; --sx: 54px;  --sy: -40px; --sr: 18deg;  --dx: 24px;  --dy: 36px;  --dr: -14deg; }
.lpi-hex-n3 { --hex-o: .7; --sx: 70px;  --sy: 46px;  --sr: 16deg;  --dx: 28px;  --dy: -34px; --dr: -12deg; }
.lpi-hex-n4 { --hex-o: .5; --sx: -54px; --sy: -40px; --sr: -18deg; --dx: -24px; --dy: 36px;  --dr: 14deg; }
.lpi-hex-an .lpi-hex-hell { animation: lpi-hex-ebene 16s ease-in-out infinite; }
.lpi-hex-an .lpi-hex-hell .lpi-hexp { animation: lpi-hex-zeichnen 16s linear infinite; }
.lpi-hex-an .lpi-hex-n2, .lpi-hex-an .lpi-hex-n2 .lpi-hexp { animation-delay: .4s; }
.lpi-hex-an .lpi-hex-n3, .lpi-hex-an .lpi-hex-n3 .lpi-hexp { animation-delay: .2s; }
.lpi-hex-an .lpi-hex-n4, .lpi-hex-an .lpi-hex-n4 .lpi-hexp { animation-delay: .6s; }
/* Nur animieren, solange der Abschnitt im Bild ist (spart Rechenleistung). */
.lpi-hex-sektion:not(.lpi-hex-im-bild) .lpi-hex-hell,
.lpi-hex-sektion:not(.lpi-hex-im-bild) .lpi-hexp { animation-play-state: paused; }
@keyframes lpi-hex-ebene {
    0%   { opacity: 0;            transform: translate(var(--sx), var(--sy)) rotate(var(--sr)) scale(.92); }
    6%   { opacity: var(--hex-o); }
    26%  { opacity: var(--hex-o); transform: translate(0, 0) rotate(0deg) scale(1); }
    52%  { opacity: var(--hex-o); transform: translate(0, 0) rotate(0deg) scale(1); }
    80%  { opacity: 0;            transform: translate(var(--dx), var(--dy)) rotate(var(--dr)) scale(1.08); }
    100% { opacity: 0;            transform: translate(var(--dx), var(--dy)) rotate(var(--dr)) scale(1.08); }
}
@keyframes lpi-hex-zeichnen {
    0%   { stroke-dashoffset: 1; }
    6%   { stroke-dashoffset: .8; }
    26%  { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .lpi-hex-hell { opacity: var(--hex-o); }
    .lpi-hexp { stroke-dashoffset: 0; }
    .lpi-hex-an .lpi-hex-hell, .lpi-hex-an .lpi-hex-hell .lpi-hexp { animation: none; }
}

/* Formulare (Kontakt, Partner werden, Termin, Infomaterial): Absende-Knoepfe wie alle CTA-Knoepfe in Orbitron,
   Ueberschriften der Fenster ueber die h2-Regel oben (Kristina 07.11.2026). Kein Dauer-Puls: spart Rechenleistung. */
:is(.landing-body, .blog-body) .kt-submit-btn,
:is(.landing-body, .blog-body) .booking-submit,
:is(.landing-body, .blog-body) .im-submit-btn {
    font-family: 'Orbitron', 'Inter', 'Segoe UI', sans-serif;
    letter-spacing: .04em; font-weight: 700;
}

/* Handy und kleines Tablet (Kristina 07.11.2026): Orbitron ist breit. Ueberschriften etwas kleiner und
   lange Woerter (z. B. "Telekommunikationskosten") duerfen umbrechen, damit nichts abgeschnitten wird.
   Beim Abtippen bleibt jedes Wort sonst zusammen, hier darf es mitten im Wort umbrechen. */
@media (max-width: 767px) {
    :is(.landing-body, .blog-body) h1,
    :is(.landing-body, .blog-body) h2,
    :is(.landing-body, .blog-body) h3 { overflow-wrap: anywhere; hyphens: manual; }
    /* Silbentrennung nur in der Hauptueberschrift (lange Woerter): Safari trennte sonst auch kurze Woerter
       wie "sagen" zu "sa-gen" (Safari-Test 07.11.2026). */
    :is(.landing-body, .blog-body) h1 { hyphens: auto; }
    :is(.landing-body, .blog-body) .pd-hero h1,
    :is(.landing-body, .blog-body) .zs-hero h1,
    :is(.landing-body, .blog-body) .blog-hero h1,
    :is(.landing-body, .blog-body) .imp-page h1 { font-size: clamp(1.45rem, 7vw, 2.1rem); line-height: 1.2; }
    .lpi-tip-wort { display: inline; white-space: normal; }
}
@media (max-width: 380px) {
    :is(.landing-body, .blog-body) .pd-hero h1,
    :is(.landing-body, .blog-body) .zs-hero h1 { font-size: 1.35rem; }
}

/* Goldenes Muster auf Handy und kleinem Tablet: kleiner und blasser, damit es Text nicht stoert. */
@media (max-width: 767px) {
    .lpi-hex-hell { height: min(55%, 360px); top: 0; }
    .lpi-hex-n1, .lpi-hex-n3 { --hex-o: .38; }
    .lpi-hex-n2, .lpi-hex-n4 { --hex-o: .26; }
}

/* Funktionskarten auf Funktionen/Über IIA: wie die Modul-Karten der Startseite, Navy mit goldenem Rand,
   beim Daraufgehen dreht sich das Symbol (Kristina 07.11.2026). Nur transform: laeuft ruhig. */
.zs-funktion {
    background: var(--lp-navy); color: #EAF2FB;
    border: 1px solid rgba(201,169,97,.25);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.zs-funktion:hover, .zs-funktion:focus-within {
    border-color: var(--lp-accent);
    box-shadow: 0 0 0 1px var(--lp-accent), 0 0 24px rgba(201,169,97,.35);
}
.zs-funktion h3 { color: var(--lp-accent-glow); text-shadow: 0 0 10px rgba(201,169,97,.45); }
.zs-funktion p { color: #EAF2FB; }
.zs-funktion .lp-feature-icon {
    background: rgba(201,169,97,.14);
    box-shadow: 0 0 14px rgba(201,169,97,.35);
}
.zs-funktion:hover .lp-feature-icon, .zs-funktion:focus-within .lp-feature-icon {
    animation: lpi-icon-dreh 1.1s ease-in-out;
}
@keyframes lpi-icon-dreh { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.zs-funktion-module { border-top-color: rgba(201,169,97,.25); }
.zs-funktion-module li { color: #EAF2FB; }
.zs-funktion-module a { color: var(--lp-accent-glow); }
.zs-funktion-module a:hover { color: #fff; }
@media (prefers-reduced-motion: reduce) {
    .zs-funktion:hover .lp-feature-icon, .zs-funktion:focus-within .lp-feature-icon { animation: none; }
}

/* App-Store-Knopf bei IIA ToGo (Kristina 07.11.2026, die App ist im Store). */
.lpi-store-badge { display: inline-block; margin-top: 18px; line-height: 0; transition: transform .2s ease, opacity .2s ease; }
.lpi-store-badge img { display: block; width: 200px; height: auto; }
.lpi-store-badge:hover, .lpi-store-badge:focus-visible { transform: translateY(-2px); opacity: .85; }

/* Funktionskarten wippen beim Daraufgehen wie die Modul-Karten. Der Hover gilt dem feststehenden Rahmen
   (.zs-funktion-slot), damit am Rand nichts zittert. Nur transform: laeuft ruhig. */
.zs-funktion-slot { display: flex; }
.zs-funktion-slot > .zs-funktion { flex: 1; min-width: 0; }
.zs-funktion-slot:hover > .zs-funktion {
    will-change: transform;
    animation: lpi-wippen .9s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
    .zs-funktion-slot:hover > .zs-funktion { animation: none; transform: translateY(-2px); }
}

/* Cookie-Abfrage: mittig auf der Seite, mit abgedunkeltem Hintergrund, der die Seite sperrt, bis eine Wahl
   getroffen ist (Kristina 07.11.2026). Die Seite soll nicht ohne Auswahl benutzbar sein. */
.lp-cookie-banner.is-open {
    align-items: center; justify-content: center;
    background: rgba(8, 18, 38, .72);
    pointer-events: auto;
    padding: 16px;
}
.lp-cookie-banner.is-open .lp-cookie-banner-card {
    width: min(560px, 100%);
    border-radius: 14px;
    border: 1px solid rgba(201,169,97,.55);
    box-shadow: 0 0 0 1px rgba(201,169,97,.25), 0 18px 60px rgba(0,0,0,.45);
    padding: 22px 24px;
}
.lp-cookie-banner.is-open .lp-cookie-actions { flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 560px) {
    .lp-cookie-banner.is-open { padding: 10px; }
    .lp-cookie-banner.is-open .lp-cookie-banner-card { padding: 16px; }
}

/* Badge ohne Link (bis die App-Store-Adresse hinterlegt ist): kein Zeiger, keine Bewegung. */
.lpi-store-badge-ohne-link { cursor: default; }
.lpi-store-badge-ohne-link:hover { transform: none; opacity: 1; }

/* Alles eine Spur kleiner (Kristina 08.11.2026: "springt einen an"). Orbitron ist breit, deshalb Ueberschriften,
   Knoepfe, Karten und Abstaende am Desktop etwa 10 Prozent zurueckgenommen. Handy bleibt wie es ist. */
@media (min-width: 768px) {
    :is(.landing-body, .blog-body) .lp-hero-h1 { font-size: clamp(30px, 3.9vw, 45px); }
    :is(.landing-body, .blog-body) .lp-bp-hero p { font-size: 16px; }
    :is(.landing-body, .blog-body) .lp-section-header h2 { font-size: clamp(23px, 2.8vw, 32px); }
    :is(.landing-body, .blog-body) .pd-hero h1 { font-size: clamp(1.65rem, 3.9vw, 2.6rem); }
    :is(.landing-body, .blog-body) .zs-hero h1 { font-size: clamp(27px, 3.8vw, 44px); }
    :is(.landing-body, .blog-body) .lp-section,
    :is(.landing-body, .blog-body) .lp-section-alt { padding-top: 66px; padding-bottom: 66px; }
    :is(.landing-body, .blog-body) .lp-feature-card { padding: 24px 22px; }
    :is(.landing-body, .blog-body) .lp-feature-card h3 { font-size: 15px; }
    :is(.landing-body, .blog-body) .lp-feature-card p { font-size: 13.5px; }
    :is(.landing-body, .blog-body) .lp-btn { font-size: 12.5px; }
    :is(.landing-body, .blog-body) .lp-btn-primary { padding: 12px 24px; }
    :is(.landing-body, .blog-body) .lp-bp-final-btn { font-size: 13px; }
    :is(.landing-body, .blog-body) .lp-bp-road { padding: 18px 18px; }
    :is(.landing-body, .blog-body) .lp-bp-road h3 { font-size: 19px; }
    :is(.landing-body, .blog-body) .lpi-modules h2 { font-size: 21px; }
    :is(.landing-body, .blog-body) .lpi-module-card { padding: 15px; }
}

/* Markenname im Kopf: "IIA Analysis - Intelligent Invoice Assistent". Am Handy untereinander, ohne Trennstrich. */
@media (max-width: 768px) {
    :is(.landing-body, .blog-body) .lp-logo-brand { max-width: 190px; font-size: 11px; line-height: 1.25; }
    :is(.landing-body, .blog-body) .lp-logo-sep { display: none; }
    :is(.landing-body, .blog-body) .lp-logo-claim { display: block; font-size: 9px; opacity: .8; }
}
