/* ==========================================================================
   KI Reiseplaner – Premium Design System
   ========================================================================== */

:root {
    --space-section: 36px;
    --space-block: 24px;
    --space-card: 20px;
    --navy-950: #0a1628;
    --navy-900: #0f172a;
    --navy-800: #1e293b;
    --navy-700: #334155;
    --blue-600: #2563eb;
    --blue-500: #3b82f6;
    --gold-500: #d4af37;
    --gold-400: #e8c547;
    --gold-600: #b8962e;
    --surface: #ffffff;
    --surface-muted: #f8fafc;
    --border: #e2e8f0;
    --text: #0f172a;
    --text-muted: #64748b;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --shadow-soft: 0 4px 24px rgba(15, 23, 42, 0.06);
    --shadow-card: 0 20px 50px rgba(15, 23, 42, 0.12);
    --shadow-glow: 0 0 0 1px rgba(212, 175, 55, 0.2), 0 12px 40px rgba(37, 99, 235, 0.15);
    --font-sans: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
}

body.premium-app {
    font-family: var(--font-sans);
    background: var(--navy-950);
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(37, 99, 235, 0.35), transparent),
        radial-gradient(ellipse 60% 40% at 100% 50%, rgba(212, 175, 55, 0.08), transparent),
        radial-gradient(ellipse 50% 30% at 0% 80%, rgba(37, 99, 235, 0.12), transparent);
    min-height: 100vh;
    margin: 0;
    padding: 0;
    display: block;
    align-items: stretch;
    justify-content: flex-start;
    color: var(--text);
}

body.premium-app::before {
    content: '';
    position: fixed;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* --- Site header --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0 24px;
}

.site-header-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 72px;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    flex-shrink: 0;
}

.site-brand-logo {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.site-logo-img,
.footer-logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-brand-row {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.footer-logo {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    flex-shrink: 0;
}

.site-brand-text strong {
    display: block;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.site-brand-text span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.top-nav {
    position: static;
    flex-direction: row;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.top-nav .nav-btn {
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    box-shadow: none;
    text-align: center;
    white-space: nowrap;
}

.top-nav .nav-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.2);
}

.top-nav .nav-btn.active:not(.nav-btn-premium) {
    background: linear-gradient(135deg, var(--blue-600), #1d4ed8);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.45);
}

.top-nav .nav-btn-premium {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.35), rgba(212, 175, 55, 0.12));
    border-color: rgba(212, 175, 55, 0.55);
    color: var(--gold-400);
    font-weight: 700;
}

.top-nav .nav-btn-premium:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.45), rgba(212, 175, 55, 0.2));
    color: #fff;
    border-color: var(--gold-500);
}

.top-nav .nav-btn-premium.active {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    color: var(--navy-900);
    border-color: var(--gold-500);
    box-shadow: 0 4px 24px rgba(212, 175, 55, 0.45);
}

.top-nav .nav-btn-premium .nav-price {
    display: inline-block;
    margin-left: 4px;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--navy-900);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.top-nav .nav-btn-premium.active .nav-price {
    background: rgba(15, 23, 42, 0.12);
    color: var(--navy-900);
}

/* --- Main layout --- */
.app-main {
    position: relative;
    z-index: 1;
    padding: 32px 20px 0;
}

/* --- Seite verlassen (Premium-Käufe) --- */
.leave-confirm-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10070;
    align-items: center;
    justify-content: center;
    padding: max(20px, env(safe-area-inset-top, 0px)) 20px max(20px, env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
    background: rgba(8, 15, 30, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.leave-confirm-overlay.active {
    display: flex;
    animation: welcomeOverlayIn 0.3s ease;
}

.leave-confirm-card {
    width: 100%;
    max-width: min(440px, calc(100vw - 40px));
    padding: 26px 22px 22px;
    border-radius: var(--radius-lg);
    border: 2px solid rgba(212, 175, 55, 0.45);
    background: linear-gradient(165deg, #0f172a 0%, #1e293b 55%, #0f172a 100%);
    box-shadow:
        0 0 0 1px rgba(212, 175, 55, 0.12),
        0 24px 56px rgba(0, 0, 0, 0.55);
    animation: welcomeCardIn 0.38s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
    box-sizing: border-box;
}

.leave-confirm-eyebrow {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(212, 175, 55, 0.85);
}

.leave-confirm-card h2 {
    margin: 0 0 14px;
    font-size: 1.35rem;
    font-weight: 700;
    color: #f8fafc;
    line-height: 1.3;
}

.leave-confirm-text {
    margin: 0 0 22px;
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(226, 232, 240, 0.92);
}

.leave-confirm-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
}

.leave-confirm-card .btn-leave-stay,
.leave-confirm-card .btn-leave-go {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    white-space: normal;
    box-sizing: border-box;
    cursor: pointer;
    transform: none;
    opacity: 1;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.leave-confirm-card .btn-leave-stay:hover,
.leave-confirm-card .btn-leave-go:hover {
    transform: none;
    opacity: 1;
}

.leave-confirm-card .btn-leave-stay {
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.06);
    color: #f1f5f9;
}

.leave-confirm-card .btn-leave-stay:hover {
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(212, 175, 55, 0.45);
}

.leave-confirm-card .btn-leave-go {
    border: 1px solid rgba(248, 113, 113, 0.45);
    background: rgba(127, 29, 29, 0.35);
    color: #fecaca;
}

.leave-confirm-card .btn-leave-go:hover {
    background: rgba(153, 27, 27, 0.5);
    border-color: rgba(248, 113, 113, 0.65);
}

/* --- App-Infobox (PDF, E-Mail, Sitzung) --- */
.app-notify-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10075;
    align-items: center;
    justify-content: center;
    padding: max(20px, env(safe-area-inset-top, 0px)) 20px max(20px, env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
    background: rgba(8, 15, 30, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.app-notify-overlay.active {
    display: flex;
    animation: welcomeOverlayIn 0.3s ease;
}

.app-notify-card {
    width: 100%;
    max-width: min(460px, calc(100vw - 40px));
    padding: 26px 22px 22px;
    border-radius: var(--radius-lg);
    border: 2px solid rgba(212, 175, 55, 0.45);
    background: linear-gradient(165deg, #0f172a 0%, #1e293b 55%, #0f172a 100%);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.55);
    animation: welcomeCardIn 0.38s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
    box-sizing: border-box;
    text-align: center;
}

.app-notify-card--success {
    border-color: rgba(52, 211, 153, 0.55);
}

.app-notify-card--warning {
    border-color: rgba(251, 191, 36, 0.55);
}

.app-notify-card--info {
    border-color: rgba(96, 165, 250, 0.55);
}

.app-notify-eyebrow {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(212, 175, 55, 0.85);
}

.app-notify-card--success .app-notify-eyebrow {
    color: rgba(52, 211, 153, 0.9);
}

.app-notify-card--warning .app-notify-eyebrow {
    color: rgba(251, 191, 36, 0.95);
}

.app-notify-card--info .app-notify-eyebrow {
    color: rgba(147, 197, 253, 0.95);
}

.app-notify-card h2 {
    margin: 0 0 12px;
    font-size: 1.35rem;
    font-weight: 700;
    color: #f8fafc;
    line-height: 1.3;
}

.app-notify-text {
    margin: 0 0 22px;
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(226, 232, 240, 0.92);
    text-align: left;
}

.app-notify-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
}

.app-notify-actions .btn-app-notify-ok,
.app-notify-actions .btn-app-notify-reset {
    display: block;
    width: 100%;
    margin: 0;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    white-space: normal;
    box-sizing: border-box;
    cursor: pointer;
    transform: none;
    opacity: 1;
}

.btn-app-notify-ok {
    border: 1px solid rgba(212, 175, 55, 0.55);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.35), rgba(212, 175, 55, 0.15));
    color: #fef9e7;
    font-weight: 700;
}

.btn-app-notify-ok:hover {
    border-color: rgba(212, 175, 55, 0.75);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.5), rgba(212, 175, 55, 0.22));
}

.btn-app-notify-reset {
    border: 1px solid rgba(248, 113, 113, 0.45);
    background: rgba(127, 29, 29, 0.35);
    color: #fecaca;
}

.btn-app-notify-reset:hover {
    background: rgba(153, 27, 27, 0.5);
    border-color: rgba(248, 113, 113, 0.65);
}

#app-notify-reset[hidden] {
    display: none !important;
}

body.premium-app .app-info-banner {
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
    border-left-color: #2563eb;
    color: #1e3a8a;
}

body.premium-app .app-info-banner .icon {
    color: #2563eb;
}

body.premium-app .app-success-banner {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    border-left-color: #10b981;
    color: #065f46;
}

body.premium-app .app-success-banner .icon {
    color: #10b981;
}

/* --- Willkommens-Popup --- */
.welcome-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10060;
    align-items: center;
    justify-content: center;
    padding: max(20px, env(safe-area-inset-top, 0px)) 20px max(20px, env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
    background: rgba(8, 15, 30, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.welcome-modal-overlay.active {
    display: flex;
    animation: welcomeOverlayIn 0.35s ease;
}

.welcome-modal-overlay.is-closing {
    animation: welcomeOverlayOut 0.4s ease forwards;
}

.welcome-modal-card {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: min(92vh, 720px);
    overflow-y: auto;
    padding: 28px 28px 26px;
    border-radius: var(--radius-lg);
    border: 2px solid rgba(212, 175, 55, 0.45);
    background: linear-gradient(165deg, #0f172a 0%, #1e293b 55%, #0f172a 100%);
    box-shadow:
        0 0 0 1px rgba(212, 175, 55, 0.15),
        0 28px 64px rgba(0, 0, 0, 0.55);
    animation: welcomeCardIn 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.welcome-modal-overlay.is-closing .welcome-modal-card {
    animation: welcomeCardOut 0.38s ease forwards;
}

.welcome-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.welcome-modal-close span {
    display: block;
    font-family: var(--font-sans);
    font-size: 26px;
    font-weight: 300;
    line-height: 1;
    transform: translateY(-1px);
}

.welcome-modal-close:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(212, 175, 55, 0.5);
}

.welcome-modal-top {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 18px;
    padding-right: 28px;
}

.welcome-modal-photo {
    flex-shrink: 0;
    width: 128px;
    height: 128px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(212, 175, 55, 0.65);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.welcome-modal-head {
    min-width: 0;
}

.welcome-modal-eyebrow {
    margin: 0 0 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-400);
}

.welcome-modal-top h2 {
    margin: 0 0 4px;
    font-family: var(--font-display);
    font-size: clamp(22px, 4vw, 28px);
    color: #fff;
    line-height: 1.2;
}

.welcome-modal-sub {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
}

.welcome-modal-lead {
    margin: 0 0 22px;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
}

.welcome-modal-lead strong {
    color: #fff;
}

.welcome-modal-tagline {
    margin: -8px 0 20px;
    font-family: var(--font-display);
    font-size: 17px;
    font-style: italic;
    font-weight: 600;
    line-height: 1.4;
    color: var(--gold-400);
    text-align: center;
}

.welcome-modal-globe {
    display: inline-block;
    margin-left: 4px;
    font-size: 1.15em;
    font-style: normal;
    vertical-align: middle;
    line-height: 1;
}

.btn-welcome-start {
    display: block;
    width: 100%;
    margin: 0 0 14px;
    padding: 16px 22px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--navy-900);
    cursor: pointer;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-welcome-start:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
    filter: brightness(1.03);
}

.welcome-modal-more {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: none;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.72);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.welcome-modal-more:hover {
    color: var(--gold-400);
}

@keyframes welcomeOverlayIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes welcomeOverlayOut {
    to { opacity: 0; }
}

@keyframes welcomeCardIn {
    from { opacity: 0; transform: translateY(20px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes welcomeCardOut {
    to { opacity: 0; transform: translateY(-12px) scale(0.98); }
}

/* --- Über-mich Modal (Foto) --- */
.about-modal-hero {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0 0 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.about-modal-photo {
    flex-shrink: 0;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(212, 175, 55, 0.5);
    box-shadow: var(--shadow-soft);
}

.about-modal-hero-text {
    min-width: 0;
}

.about-modal-eyebrow {
    margin: 0 0 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue-600);
}

.about-modal-hero-text h2 {
    margin: 0 0 6px;
}

.about-modal-meta {
    margin: 0;
    font-size: 14px;
    color: var(--text-muted);
}

body.premium-app .info-modal-content-about {
    max-width: 560px;
}

.glass-container {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 0;
    box-shadow: var(--shadow-card);
    max-width: 920px;
    margin: 0 auto 0;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: clip;
}

.screen {
    padding: 0 40px 40px;
}

.screen.active {
    animation: premiumFadeIn 0.45s ease;
}

@keyframes premiumFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Hero sections --- */
.view-hero {
    background: linear-gradient(135deg, var(--navy-900) 0%, #1e3a8a 50%, var(--navy-800) 100%);
    color: #fff;
    padding: 44px 40px 28px;
    margin: 0 -40px 0;
    position: relative;
    overflow: visible;
}

.planner-hero-compact,
.dossier-hero-compact,
.result-hero {
    padding: 28px 32px 22px;
}

.planner-hero-compact h1,
.dossier-hero-compact h2 {
    font-size: clamp(22px, 3.5vw, 28px);
    margin-bottom: 8px;
}

.hero-lead-compact {
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin-bottom: 14px !important;
    max-width: 100%;
}

.hero-cta-compact {
    margin-top: 4px;
}

#planner-form-anchor {
    scroll-margin-top: 88px;
}

.funnel-path-compact {
    margin-bottom: 16px;
}

.funnel-path-compact .funnel-step {
    padding: 12px 10px;
}

.step-progress-wrap {
    margin-bottom: 16px;
}

.how-it-works-collapsed {
    margin-top: 20px;
    padding: 16px 18px;
}

.how-it-works-steps-compact .how-step {
    padding: 10px 12px;
}

.how-it-works-steps-compact .how-step p {
    font-size: 12px;
}

.trust-strip-compact {
    padding: 14px 16px;
    margin-top: 0;
}

.view-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}

.view-hero h1,
.view-hero h2 {
    font-family: var(--font-display);
    color: #fff;
    margin: 0 0 10px;
    font-size: clamp(26px, 4vw, 34px);
    font-weight: 700;
    line-height: 1.2;
}

.view-hero .hero-lead {
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 16px;
    max-width: 540px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.hero-eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-400);
    margin: 0 0 12px;
    line-height: 1.4;
}

.hero-pricing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 20px 0 4px;
    max-width: 560px;
}

.price-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    text-align: left;
}

.price-card-premium,
.price-card-standalone {
    border-color: rgba(212, 175, 55, 0.45);
    background: rgba(212, 175, 55, 0.08);
}

.price-card-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 4px;
}

.price-card-amount {
    display: block;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.price-card-free .price-card-amount {
    color: var(--gold-400);
}

.price-card-note,
.price-card-strike {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 4px;
}

.price-card-strike s {
    opacity: 0.7;
}

.price-card-strike em {
    font-style: normal;
    color: #86efac;
    font-weight: 600;
    margin-left: 4px;
}

.hero-cta-row {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    color: var(--navy-900);
    border: none;
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
    transition: all 0.2s;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(212, 175, 55, 0.5);
}

.btn-hero-secondary {
    background: transparent;
    color: var(--gold-400);
    border: 1px solid rgba(212, 175, 55, 0.5);
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-hero-secondary:hover {
    background: rgba(212, 175, 55, 0.15);
    color: #fff;
}

/* --- So funktioniert's --- */
.how-it-works {
    margin-bottom: 28px;
    padding: 24px 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.how-it-works-title {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--navy-900);
    margin: 0 0 6px;
}

.how-it-works-lead {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0 0 20px;
    line-height: 1.5;
}

.how-it-works-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.how-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px;
    background: var(--surface-muted);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.how-step-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-900);
    color: var(--gold-500);
    font-weight: 700;
    border-radius: 50%;
    font-size: 15px;
}

.how-step strong {
    display: block;
    color: var(--navy-900);
    font-size: 15px;
    margin-bottom: 4px;
}

.how-step p {
    margin: 0;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.55;
}

.how-step p strong {
    display: inline;
    color: var(--blue-600);
}

.how-it-works-compact {
    margin-bottom: 20px;
    padding: 16px 18px;
}

.how-it-works-compact .how-step {
    padding: 12px;
}

/* --- Step progress --- */
.step-progress-wrap {
    margin-bottom: 28px;
}

.step-progress-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.step-progress-meta strong {
    color: var(--navy-900);
}

.step-progress-track {
    height: 6px;
    background: var(--border);
    border-radius: 999px;
    overflow: hidden;
}

.step-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--blue-600), var(--gold-500));
    border-radius: 999px;
    transition: width 0.4s ease;
    width: 16.66%;
}

.step-dots {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    gap: 4px;
}

.step-dot {
    flex: 1;
    text-align: center;
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.step-dot.active {
    color: var(--blue-600);
}

.step-dot.done {
    color: var(--gold-600);
}

/* --- Form card --- */
.form-card {
    background: var(--surface-muted);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
}

body.premium-app .form-step {
    scroll-margin-top: 88px;
    scroll-margin-bottom: 32px;
}

body.premium-app .form-step.active {
    flex-direction: column;
    justify-content: center;
    min-height: min(380px, calc(100vh - 240px));
    box-sizing: border-box;
}

.form-step h1,
.form-step h2 {
    font-family: var(--font-display);
    color: var(--navy-900);
    font-size: 24px;
    margin-bottom: 4px;
}

.form-step .subtitle {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
}

/* --- Typography --- */
h1, h2 {
    color: var(--navy-900);
}

.subtitle {
    color: var(--text-muted);
}

label {
    color: var(--navy-800);
    font-size: 14px;
}

/* --- Inputs premium --- */
input[type="text"],
input[type="number"],
select,
textarea {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--blue-600);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* --- Buttons --- */
.btn-primary {
    background: linear-gradient(135deg, var(--blue-600), #1d4ed8);
    color: #fff;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.45);
    transform: translateY(-2px);
    opacity: 1;
}

.btn-secondary {
    background: var(--surface);
    color: var(--navy-700);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--surface-muted);
    border-color: #94a3b8;
}

.form-step > .btn-primary.next-btn {
    width: 100%;
    margin-top: 8px;
    font-size: 17px;
    padding: 16px;
}

#submit-btn {
    width: 100%;
    font-size: 17px;
    padding: 16px;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    color: var(--navy-900);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

#submit-btn:hover {
    box-shadow: 0 6px 28px rgba(212, 175, 55, 0.5);
}

/* --- Loading --- */
#loading-screen.screen-loading {
    padding: 0 0 40px;
    text-align: inherit;
}

.loading-top-block {
    margin: 0 0 24px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    background: transparent;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#loading-screen .loading-hero {
    margin: 0;
    border-radius: 0;
    padding: 44px 44px 28px 56px;
}

#loading-screen .loading-hero .hero-eyebrow,
#loading-screen .loading-hero h2,
#loading-screen .loading-hero-lead {
    padding-left: 4px;
    max-width: 100%;
}

#loading-screen .loading-hero h2 {
    font-family: var(--font-display);
    font-size: clamp(24px, 4vw, 30px);
}

.loading-spinner {
    width: 56px;
    height: 56px;
    margin: 28px auto 20px;
    border: 3px solid var(--border);
    border-top-color: var(--gold-500);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-plane-wrap {
    margin-top: 32px;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 8px;
}

.plane-animation {
    display: inline-block;
    font-size: 44px;
    line-height: 1;
    filter: drop-shadow(0 8px 16px rgba(37, 99, 235, 0.2));
    animation: planeFloat 2.4s ease-in-out infinite alternate;
}

@keyframes planeFloat {
    from { transform: translateX(-12px) rotate(-4deg); }
    to { transform: translateX(12px) rotate(4deg); }
}

/* --- Results --- */
#result-screen > h2 {
    font-family: var(--font-display);
    font-size: 28px;
    margin-bottom: 20px;
}

.result-card {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border);
    overflow: hidden;
}

.premium-upsell-banner {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid var(--gold-500);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin: 24px 0;
    text-align: center;
}

/* --- Lexikon --- */
.lexicon-toolbar {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.lexicon-toolbar .search-bar {
    flex: 1;
    margin-bottom: 0 !important;
}

.country-grid {
    gap: 16px;
}

.country-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-soft);
}

.country-card:hover {
    border-color: var(--blue-600);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.country-card h3 {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--navy-900);
    margin-bottom: 8px;
}

#dossier-view.screen {
    padding: 0 40px 40px;
}

/* --- Dossier --- */
#dossier-view .dossier-hero {
    margin: 0 0 16px;
    background: linear-gradient(135deg, var(--navy-900) 0%, #312e81 40%, var(--navy-800) 100%);
}

#form-screen .planner-hero {
    margin: 0 0 16px;
}

.product-path-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 24px;
}

.product-path-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: var(--shadow-soft);
}

.product-path-card-featured {
    border-color: var(--blue-600);
    background: linear-gradient(180deg, #eff6ff 0%, #fff 100%);
}

.path-card-badge {
    display: inline-block;
    align-self: flex-start;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--blue-600);
    color: #fff;
}

.path-card-badge-alt {
    background: var(--navy-800);
    color: var(--gold-400);
}

.product-path-card h3 {
    margin: 4px 0 0;
    font-family: var(--font-display);
    font-size: 17px;
    color: var(--navy-900);
}

.product-path-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-muted);
    flex: 1;
}

.product-path-grid-compact {
    gap: 12px;
    margin-bottom: 18px;
}

.product-path-grid-compact .product-path-card {
    padding: 14px 16px;
}

.path-value-list {
    margin: 0;
    padding-left: 18px;
    font-size: 12px;
    line-height: 1.55;
    color: var(--navy-700);
    flex: 1;
}

.path-value-list li {
    margin-bottom: 6px;
}

.path-value-list strong {
    color: var(--navy-900);
}

.product-path-grid-compact .path-card-price {
    font-size: 20px;
    margin: 8px 0 6px;
}

.product-path-grid-compact h3 {
    font-size: 16px;
}

.path-card-price {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--navy-900);
    margin: 4px 0;
}

.path-card-btn {
    width: 100%;
    margin-top: 4px;
}

.setup-variant-hint {
    font-size: 13px;
    line-height: 1.5;
    color: var(--navy-700);
    margin: 0 0 14px;
}

.setup-variant-hint strong {
    color: var(--navy-900);
}

.top-nav .nav-tag {
    font-size: 9px;
    font-weight: 700;
    margin-left: 4px;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(212, 175, 55, 0.25);
    color: var(--gold-400);
    vertical-align: middle;
}

.top-nav .nav-tag-free {
    font-size: 9px;
    font-weight: 700;
    margin-left: 4px;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(16, 185, 129, 0.25);
    color: #6ee7b7;
    vertical-align: middle;
}

.top-nav .nav-btn.active .nav-tag-free {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.top-nav .nav-btn.active .nav-tag {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* --- Sales landing (Premium first) --- */
.dossier-hero-sales {
    text-align: center;
    padding: 28px 28px 22px;
}

.dossier-hero-sales h2 {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.hero-price-inline {
    color: var(--gold-400);
    font-size: 1.15em;
}

.product-path-grid-sales {
    margin-bottom: 16px;
}

.product-path-card-route {
    border-color: #93c5fd;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.path-card-badge-route {
    background: #3b82f6;
    color: #fff;
}

.free-route-bonus {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    border: 1px solid #6ee7b7;
    border-radius: var(--radius-md);
}

.free-route-bonus-icon {
    font-size: 28px;
    line-height: 1;
}

.free-route-bonus-body {
    flex: 1;
    min-width: 200px;
}

.free-route-bonus-body strong {
    display: block;
    color: #047857;
    font-size: 14px;
    margin-bottom: 4px;
}

.free-route-bonus-body p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #065f46;
}

.free-route-bonus-btn {
    flex-shrink: 0;
}

.sales-upsell-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid var(--gold-500);
    border-radius: var(--radius-md);
}

.sales-upsell-strip-planner {
    margin-top: 0;
}

.upsell-strip-text {
    flex: 1;
    min-width: 220px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--navy-800);
    margin: 0;
}

.upsell-free {
    color: #047857;
    font-weight: 700;
}

.upsell-inline-link {
    background: none;
    border: none;
    padding: 0;
    color: var(--blue-600);
    font-weight: 700;
    font-size: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.btn-upsell-gold {
    flex-shrink: 0;
    padding: 10px 18px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    color: var(--navy-900);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.35);
}

.btn-hero-gold-outline {
    border-color: rgba(212, 175, 55, 0.6) !important;
    color: var(--gold-400) !important;
}

.btn-hero-gold-outline:hover {
    background: rgba(212, 175, 55, 0.15) !important;
    color: #fff !important;
}

.tab-free-pill {
    display: block;
    font-size: 9px;
    font-weight: 700;
    color: #6ee7b7;
    margin-top: 2px;
}

.hero-pricing-dual {
    grid-template-columns: repeat(3, 1fr);
}

.price-card-variant .price-card-note {
    font-size: 11px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.75);
}

.price-card-variant .price-card-note strong {
    color: #fff;
}

@keyframes premiumPopIn {
    0% {
        opacity: 0;
        transform: translateY(24px) scale(0.96);
    }
    70% {
        transform: translateY(-4px) scale(1.01);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.premium-reveal-pop {
    animation: premiumPopIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

#standalone-configurator-container {
    scroll-margin-top: 96px;
}

.dossier-setup-card {
    background: var(--surface-muted);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
    margin-bottom: 28px;
}

.dossier-setup-card h3 {
    font-family: var(--font-display);
    margin-top: 0;
    color: var(--navy-900);
}

.dossier-setup-card .btn-primary-action {
    width: 100%;
    margin-top: 12px;
    padding: 16px;
    font-size: 16px;
    background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.dossier-setup-card .btn-primary-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25);
}

/* --- Addon / checkout premium --- */
.addon-container {
    background: linear-gradient(180deg, var(--surface-muted) 0%, var(--surface) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-top: 32px;
    padding: 28px;
}

.addon-item.selected {
    border-color: var(--blue-600);
    background: linear-gradient(135deg, #eff6ff, #fff);
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.2);
}

.checkout-summary {
    background: var(--navy-900);
    color: #fff;
    border-radius: var(--radius-md);
    padding: 24px;
}

.checkout-summary .price-total {
    color: var(--gold-400);
    font-size: 32px;
    font-family: var(--font-display);
    font-weight: 700;
}

.checkout-summary .checkout-panel-title {
    font-family: var(--font-display);
}

.discount-banner {
    background: linear-gradient(135deg, #fef9c3, #fde047);
    border-color: var(--gold-500);
}

.discount-banner-prominent {
    text-align: center;
    padding: 20px 24px !important;
    border-width: 2px !important;
}

.discount-banner-prices {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 8px 14px;
    margin-bottom: 8px;
}

.discount-banner-label {
    width: 100%;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--navy-800);
}

.discount-banner-prominent .price-deal {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--navy-900);
}

.discount-banner-prominent .price-save {
    font-size: 14px;
    font-weight: 700;
}

.discount-banner-hint {
    margin: 0;
    font-size: 13px;
    color: var(--navy-700);
}

.premium-price-ribbon {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--navy-900), #1e3a8a);
    border-radius: var(--radius-sm);
    color: #fff;
}

.ribbon-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.7);
}

.ribbon-price {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--gold-400);
    line-height: 1.1;
}

.ribbon-right {
    text-align: right;
}

.ribbon-strike {
    display: block;
    font-size: 14px;
    opacity: 0.75;
}

.ribbon-save {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #86efac;
}

.dossier-price-hero {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px 16px;
    margin: 16px 0;
    padding: 14px 20px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: var(--radius-sm);
}

.dossier-price-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold-400);
}

.dossier-price-amount {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: #fff;
}

.dossier-price-meta {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    width: 100%;
}

/* --- Result screen layout --- */
.screen-result {
    padding-bottom: 32px;
}

.result-top-block {
    margin: 0 0 24px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.result-hero,
.loading-hero,
.result-top-block .view-hero,
.loading-top-block .view-hero {
    margin: 0;
}

.result-hero {
    padding: 44px 40px 24px;
}

.result-hero-lead {
    margin-bottom: 14px !important;
}

.result-hero-cta {
    margin-top: 4px;
    margin-bottom: 0;
}

.result-actions-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 14px 40px 16px;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.result-actions-bar .btn-secondary {
    flex: 1 1 auto;
    min-width: 140px;
    max-width: 220px;
    margin: 0;
    text-align: center;
}

.result-warnings:empty {
    display: none;
}

.results-container {
    margin-top: 0;
}

.results-container .result-card {
    margin-top: 0;
}

/* --- Loading screen --- */
.screen-loading {
    padding-bottom: 48px;
}

.loading-body {
    text-align: center;
    padding: 12px 40px 28px;
    background: rgba(15, 23, 42, 0.55);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.loading-subtitle {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    margin: 0 auto;
    max-width: 280px;
    line-height: 1.5;
}

body.premium-app .loading-spinner {
    border-color: rgba(255, 255, 255, 0.14);
    border-top-color: var(--gold-500);
}

/* --- Premium FAB (Route → PDF) --- */
.premium-fab {
    position: fixed;
    right: max(16px, env(safe-area-inset-right, 0px));
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    z-index: 850;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 58px;
    height: 58px;
    padding: 6px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--gold-500) 0%, var(--gold-600) 100%);
    color: var(--navy-900);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.28), 0 0 0 4px rgba(212, 175, 55, 0.25);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.premium-fab.is-visible {
    display: flex;
    animation: fabEnter 0.45s ease, fabPulse 2.5s ease-in-out 0.6s infinite;
}

.premium-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.32), 0 0 0 5px rgba(212, 175, 55, 0.35);
}

.premium-fab-icon {
    font-size: 22px;
    line-height: 1;
}

.premium-fab-label {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
}

@keyframes fabEnter {
    from { opacity: 0; transform: scale(0.6) translateY(12px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes fabPulse {
    0%, 100% { box-shadow: 0 10px 28px rgba(15, 23, 42, 0.28), 0 0 0 4px rgba(212, 175, 55, 0.25); }
    50% { box-shadow: 0 12px 32px rgba(15, 23, 42, 0.32), 0 0 0 8px rgba(212, 175, 55, 0.18); }
}

/* --- Form step navigation (premium) --- */
body.premium-app .form-card .step-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
    margin-top: 24px;
}

body.premium-app .form-card .step-navigation .btn-secondary,
body.premium-app .form-card .step-navigation .btn-primary {
    flex: 1 1 140px;
    max-width: 100%;
}

body.premium-app .form-card .step-navigation .btn-primary:only-child,
body.premium-app .form-card .step-navigation .next-btn:only-of-type {
    width: 100%;
    flex: 1 1 100%;
}

.top-nav .nav-btn-premium .nav-price {
    font-size: 10px;
    font-weight: 800;
    color: var(--navy-900);
    background: rgba(255, 255, 255, 0.92);
}

.btn-select-all,
.btn-select-all-gold {
    border-radius: var(--radius-sm);
}

/* --- Footer --- */
.site-footer {
    max-width: 920px;
    margin: 40px auto 32px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.6);
    padding: 28px;
}

.site-footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
    margin-bottom: 16px;
}

.footer-link-btn {
    background: none;
    border: none;
    padding: 4px 0;
    color: var(--gold-400);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-link-btn:hover {
    color: #fff;
}

/* --- Trust strip --- */
.trust-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    padding: 20px;
    background: var(--surface-muted);
    border-top: 1px solid var(--border);
    margin: 0 -40px;
    margin-bottom: 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy-700);
}

.trust-item span:first-child {
    font-size: 18px;
}

/* --- Funnel path --- */
.funnel-path {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}

.funnel-step {
    text-align: center;
    padding: 16px 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    position: relative;
}

.funnel-step.active {
    border-color: var(--blue-600);
    background: #eff6ff;
}

.funnel-step-num {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    background: var(--navy-900);
    color: var(--gold-500);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
}

.funnel-step strong {
    display: block;
    font-size: 13px;
    color: var(--navy-900);
}

.funnel-step span {
    font-size: 11px;
    color: var(--text-muted);
}

/* --- In-app warning --- */
#in-app-warning {
    border-radius: 0 !important;
}

/* --- Responsive (Tablet only – Mobile nutzt 768px-Block ohne negative Ränder) --- */
@media (max-width: 900px) and (min-width: 769px) {
    .site-header-inner {
        flex-wrap: wrap;
        padding: 12px 0;
        min-height: auto;
    }

    .top-nav {
        width: 100%;
        justify-content: center;
    }

    .funnel-path {
        grid-template-columns: 1fr;
    }

    .screen,
    .view-hero:not(.loading-hero) {
        margin-left: -24px;
        margin-right: -24px;
        padding-left: 24px;
        padding-right: 24px;
    }

    .view-hero:not(.loading-hero) {
        padding: 40px 24px 24px;
    }

    .result-top-block,
    .loading-top-block {
        margin-left: 0;
        margin-right: 0;
    }

    .result-actions-bar {
        padding: 12px 24px 14px;
    }

    .result-actions-bar .btn-secondary {
        flex: 1 1 calc(50% - 6px);
        max-width: none;
    }

    .glass-container .screen {
        padding: 0 24px 32px;
    }

    #loading-screen.screen-loading {
        padding: 0 0 32px;
    }

    .loading-body {
        padding: 12px 28px 24px;
    }

    #loading-screen .loading-hero {
        padding: 36px 32px 26px 36px;
    }

    .form-card {
        padding: 20px;
    }
}

/* --- Mobile App Experience --- */
.mobile-tab-bar {
    display: none;
}

@media (max-width: 768px) {
    body.premium-app {
        padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
        --mobile-pad: 20px;
        --mobile-text-inset: calc(var(--mobile-pad) + env(safe-area-inset-left, 0px));
        --mobile-text-inset-r: calc(var(--mobile-pad) + env(safe-area-inset-right, 0px));
    }

    .site-header {
        padding: 0 max(16px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
    }

    .site-header-inner {
        min-height: 56px;
        gap: 8px;
    }

    .site-header .top-nav {
        display: none;
    }

    .site-brand-logo {
        width: 38px;
        height: 38px;
    }

    .app-main {
        padding: 10px max(12px, env(safe-area-inset-left, 0px)) 0 max(12px, env(safe-area-inset-right, 0px));
    }

    .welcome-modal-card {
        padding: 22px 20px 20px;
    }

    .welcome-modal-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-right: 0;
        gap: 14px;
    }

    .welcome-modal-photo {
        width: 112px;
        height: 112px;
    }

    .welcome-modal-head {
        text-align: center;
    }

    .about-modal-hero {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .about-modal-photo {
        width: 140px;
        height: 140px;
    }

    .about-modal-hero-text {
        text-align: center;
    }

    .glass-container {
        border-radius: 16px;
        max-width: 100%;
        overflow: visible;
    }

    .screen {
        padding: 0 var(--mobile-pad) 28px;
        box-sizing: border-box;
    }

    /* Keine negativen Ränder auf Mobile – verhindert Abschneiden durch overflow:clip */
    .view-hero,
    .tab-hero,
    #loading-screen .loading-hero,
    .result-hero,
    .planner-hero-compact,
    .dossier-hero-compact {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding-top: 28px;
        padding-bottom: 22px;
        padding-left: var(--mobile-text-inset) !important;
        padding-right: var(--mobile-text-inset-r) !important;
        overflow: visible;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .view-hero {
        border-radius: 14px;
    }

    #loading-screen .loading-hero {
        border-radius: 0;
    }

    #loading-screen .loading-hero .hero-eyebrow,
    #loading-screen .loading-hero h2,
    #loading-screen .loading-hero-lead,
    .view-hero h1,
    .view-hero h2,
    .view-hero .hero-lead,
    .hero-eyebrow,
    .hero-lead,
    .hero-lead-compact,
    .loading-hero-lead,
    .hero-personal {
        padding-left: 0;
        padding-right: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .loading-top-block,
    .result-top-block {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100%;
        max-width: 100%;
        overflow: visible;
        box-sizing: border-box;
        border-radius: 14px;
    }

    .loading-top-block {
        margin-bottom: 0;
    }

    .loading-body {
        padding: 16px var(--mobile-text-inset-r) 24px var(--mobile-text-inset);
        box-sizing: border-box;
    }

    .result-top-block {
        margin-bottom: 20px;
    }

    .loading-plane-wrap {
        margin-top: 28px;
        min-height: 64px;
    }

    .plane-animation {
        font-size: 38px;
    }

    .premium-fab {
        right: max(12px, env(safe-area-inset-right, 0px));
        bottom: calc(80px + env(safe-area-inset-bottom, 0px));
        width: 54px;
        height: 54px;
    }

    .view-hero h1,
    .view-hero h2,
    #loading-screen .loading-hero h2 {
        font-size: 20px;
        line-height: 1.3;
    }

    .hero-eyebrow {
        font-size: 10px;
        margin-bottom: 8px;
        letter-spacing: 0.06em;
    }

    .hero-lead,
    .hero-lead-compact,
    .loading-hero-lead {
        font-size: 13px !important;
        line-height: 1.55 !important;
        max-width: 100%;
    }

    .hero-cta-row {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .hero-pricing,
    .hero-pricing-dual {
        grid-template-columns: 1fr;
    }

    .product-path-grid {
        grid-template-columns: 1fr;
    }

    .funnel-path {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .form-card {
        padding: 16px;
        border-radius: 12px;
    }

    .step-dots {
        display: none;
    }

    .step-progress-meta {
        font-size: 12px;
    }

    .how-it-works {
        padding: 16px;
        margin-bottom: 20px;
    }

    .how-step {
        padding: 12px;
    }

    .result-top-block {
        margin-left: 0;
        margin-right: 0;
        border-radius: 14px;
        overflow: visible;
    }

    .result-actions-bar {
        padding: 14px var(--mobile-text-inset-r) 16px var(--mobile-text-inset);
        flex-direction: column;
        box-sizing: border-box;
    }

    .result-actions-bar .btn-secondary {
        width: 100%;
        max-width: none;
    }

    #dossier-view.screen {
        padding: 0 var(--mobile-pad) 28px;
    }

    #dossier-view .dossier-hero {
        margin-left: 0;
        margin-right: 0;
    }

    .dossier-setup-card {
        padding: 18px;
    }

    .lexicon-toolbar {
        flex-direction: column;
    }

    .lexicon-toolbar .btn-secondary {
        width: 100%;
    }

    .country-grid {
        grid-template-columns: 1fr !important;
    }

    .addon-grid {
        grid-template-columns: 1fr !important;
    }

    .addon-item {
        min-height: 52px;
        padding: 14px;
    }

    .checkout-summary {
        padding: 16px;
    }

    .trust-strip {
        margin-left: 0;
        margin-right: 0;
        flex-direction: column;
        gap: 10px;
        padding: 14px 18px;
        border-radius: 12px;
    }

    .site-footer {
        margin: 24px 10px 16px;
        padding: 20px 16px;
        font-size: 13px;
    }

    .mobile-tab-bar {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 2000;
        background: rgba(10, 22, 40, 0.96);
        backdrop-filter: blur(12px);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: 6px 8px calc(8px + env(safe-area-inset-bottom, 0px));
        justify-content: space-around;
        gap: 4px;
        box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
    }

    .mobile-tab-btn {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        padding: 8px 4px;
        border: none;
        border-radius: 12px;
        background: transparent;
        color: rgba(255, 255, 255, 0.55);
        font-size: 11px;
        font-weight: 600;
        cursor: pointer;
        transition: background 0.2s, color 0.2s;
        min-height: 48px;
    }

    .mobile-tab-btn .tab-icon {
        font-size: 18px;
        line-height: 1;
    }

    .mobile-tab-btn.active {
        background: rgba(37, 99, 235, 0.35);
        color: #fff;
    }

    .mobile-tab-premium.active {
        background: rgba(212, 175, 55, 0.35);
        color: var(--gold-400);
    }

    .mobile-tab-premium .tab-icon {
        filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.5));
    }

    .mobile-tab-btn:active {
        transform: scale(0.97);
    }

    button,
    .form-select,
    input[type="text"],
    input[type="number"],
    input[type="email"],
    textarea {
        min-height: 48px;
        font-size: 16px;
    }

    .btn-primary,
    .btn-secondary,
    #submit-btn,
    .btn-primary-action {
        min-height: 48px;
    }
}

@media (max-width: 600px) {
    .site-brand-text span {
        display: none;
    }
}

/* --- Override legacy style.css (sidebar / bottom nav) --- */
body.premium-app .glass-container {
    margin-left: auto !important;
    margin-bottom: 0 !important;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

@media (max-width: 1050px) {
    body.premium-app .glass-container {
        padding: 0 !important;
        margin-bottom: 0 !important;
    }

    body.premium-app .site-header .top-nav {
        position: static !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        width: auto !important;
    }
}

body.premium-app .top-nav .nav-badge {
    background: rgba(212, 175, 55, 0.35);
    color: var(--gold-400);
    border-radius: 6px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

/* --- Modals --- */
body.premium-app .modal-content,
body.premium-app .info-modal-content,
body.premium-app .preview-modal-content {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    padding: 32px 36px;
}

body.premium-app .info-modal-content h2,
body.premium-app .preview-modal-content > h2,
body.premium-app .modal-content h2 {
    font-family: var(--font-display);
    color: var(--navy-900);
}

body.premium-app .preview-pdf-sample .module-hero h2 {
    color: #fff;
}

body.premium-app .modal-section h4 {
    color: var(--blue-600);
    font-size: 12px;
    letter-spacing: 0.08em;
}

body.premium-app .modal-cta-row .btn-primary {
    background: linear-gradient(135deg, var(--blue-600), #1d4ed8);
}

body.premium-app .cta-price-tag {
    display: inline-block;
    margin-left: 6px;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.2);
    vertical-align: middle;
}

body.premium-app .modal-cta-premium .cta-price-tag {
    background: rgba(15, 23, 42, 0.12);
}

body.premium-app .modal-cta-premium {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600)) !important;
    color: var(--navy-900) !important;
    font-weight: 700;
}

/* --- Result & itinerary --- */
body.premium-app .results-container .result-card {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin-bottom: 32px;
    overflow: visible;
}

body.premium-app .result-card .result-image-container {
    margin: 0;
    width: 100%;
    height: clamp(180px, 32vw, 260px);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

body.premium-app .result-route-body {
    background: var(--surface);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    padding: 24px 28px 28px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
    border-top: none;
    border-left-width: 4px;
    border-left-style: solid;
}

body.premium-app .result-card .addon-container.premium-zone {
    margin-top: 24px;
}

body.premium-app .result-card .affiliate-grid {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

body.premium-app .result-card .affiliate-label {
    color: rgba(255, 255, 255, 0.72);
    grid-column: 1 / -1;
}

body.premium-app .result-actions-bar .btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.92);
}

body.premium-app .result-actions-bar .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(212, 175, 55, 0.45);
    color: #fff;
}

body.premium-app .result-card .card-header h3 {
    font-family: var(--font-display);
    color: var(--navy-900);
}

body.premium-app .lexicon-details-box {
    background: linear-gradient(135deg, #eff6ff, #fff);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--radius-sm);
}

body.premium-app .lexicon-details-btn {
    background: var(--navy-900);
    color: var(--gold-400);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

body.premium-app .itinerary-stop {
    border-left-color: var(--gold-500);
}

body.premium-app .location-link {
    color: var(--blue-600);
    font-weight: 700;
}

body.premium-app .cost-total {
    font-family: var(--font-display);
    font-size: 1.15rem;
}

body.premium-app .premium-zone,
body.premium-app .addon-container.premium-zone {
    background: transparent;
    border: 2px solid rgba(212, 175, 55, 0.5) !important;
    border-radius: var(--radius-md);
    box-shadow:
        0 0 0 1px rgba(212, 175, 55, 0.12),
        0 20px 48px rgba(0, 0, 0, 0.35);
    padding: 24px 24px 28px;
}

body.premium-app .premium-hero-mini h3 {
    font-family: var(--font-display);
    color: #fff;
}

body.premium-app .premium-trust-line {
    color: rgba(255, 255, 255, 0.72);
}

body.premium-app .how-it-works {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin-bottom: 24px;
}

body.premium-app .how-it-works-title {
    color: #fff;
}

body.premium-app .how-it-works-lead {
    color: rgba(255, 255, 255, 0.72);
}

body.premium-app .step-progress-meta {
    color: rgba(255, 255, 255, 0.65);
}

body.premium-app .step-progress-meta strong {
    color: #fff;
}

body.premium-app .step-progress-track {
    background: rgba(255, 255, 255, 0.14);
}

body.premium-app .step-dot {
    color: rgba(255, 255, 255, 0.45);
}

body.premium-app .step-dot.active {
    color: var(--gold-400);
}

body.premium-app .step-dot.done {
    color: #86efac;
}

body.premium-app .form-card {
    background: var(--surface);
    box-shadow: var(--shadow-card);
}

body.premium-app .dossier-setup-card {
    background: var(--surface);
    box-shadow: var(--shadow-card);
}

body.premium-app .dossier-usps {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

body.premium-app #dossier-view .dossier-hero .hero-lead {
    color: rgba(255, 255, 255, 0.82);
    max-width: 560px;
}

body.premium-app .value-card {
    color: var(--navy-800) !important;
    background: #fff !important;
}

body.premium-app .value-card strong {
    color: var(--navy-900);
}

body.premium-app .value-card-route {
    border: 1px solid #3b82f6 !important;
    background: #eff6ff !important;
}

body.premium-app .value-card-standalone {
    border: 1px solid #94a3b8 !important;
    background: #f8fafc !important;
}

body.premium-app .value-card-alt {
    margin-top: 12px;
}

body.premium-app .premium-dual-offer {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

body.premium-app .value-card-cta {
    margin-top: 10px;
    width: 100%;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--blue-600);
    background: #fff;
    color: var(--blue-600);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
}

body.premium-app .value-card-cta:hover {
    background: #eff6ff;
}

body.premium-app .addon-price {
    font-weight: 700;
    color: var(--navy-900);
    font-size: 15px;
}

body.premium-app .addon-item {
    cursor: pointer;
    user-select: none;
    box-shadow: var(--shadow-soft);
}

body.premium-app .addon-item .addon-checkbox {
    pointer-events: none;
    flex-shrink: 0;
}

body.premium-app .info-modal-overlay {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    z-index: 10080;
}

body.premium-app .info-modal-overlay.active {
    display: flex !important;
}

body.premium-app .info-modal-content {
    max-height: min(85vh, 720px);
    -webkit-overflow-scrolling: touch;
}

body.premium-app .planner-hero {
    margin-bottom: 0;
}

body.premium-app #form-screen > .funnel-path {
    margin-top: 28px;
}

body.premium-app #form-screen > .funnel-path,
body.premium-app #form-screen > .step-progress-wrap,
body.premium-app #form-screen > .how-it-works {
    margin-left: 0;
    margin-right: 0;
}

body.premium-app .trust-strip {
    margin-left: 0;
    margin-right: 0;
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

body.premium-app .trust-item {
    color: rgba(255, 255, 255, 0.85);
}

body.premium-app .premium-zone,
body.premium-app #premium-konfigurator,
body.premium-app #sa-premium-konfigurator {
    scroll-margin-top: 88px;
}

body.premium-app .addon-container.premium-zone {
    margin-top: 32px;
}

body.premium-app .checkout-summary {
    margin-top: 8px;
}

body.premium-app .payment-methods-wrap {
    margin-top: 4px;
}

body.premium-app #stripe-button-container,
body.premium-app [id$="stripe-button-container"] {
    min-height: 0;
    margin-top: 6px;
}

body.premium-app .btn-stripe-checkout {
    border-radius: var(--radius-sm);
    border-color: var(--gold-600);
    box-shadow: 0 6px 20px rgba(184, 150, 46, 0.28);
}

body.premium-app .btn-stripe-checkout:hover {
    border-color: #8a6f1f;
    box-shadow: 0 12px 32px rgba(184, 150, 46, 0.38);
}

body.premium-app .btn-stripe-checkout-main {
    background: linear-gradient(145deg, var(--gold-600) 0%, var(--gold-500) 38%, var(--gold-400) 100%);
    color: var(--navy-900);
}

body.premium-app .btn-stripe-checkout-label {
    font-family: var(--font-sans);
}

body.premium-app .btn-stripe-checkout-amount {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
}

body.premium-app .btn-stripe-checkout-meta {
    background: var(--surface-muted);
    border-top-color: rgba(212, 175, 55, 0.35);
}

body.premium-app .payment-trust {
    margin-top: 12px;
}

body.premium-app .dossier-usps li {
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

body.premium-app .form-hint a {
    color: var(--blue-600);
    font-weight: 600;
}

/* --- Legal consent (checkout) --- */
.legal-consent-block {
    margin: 18px 0 14px;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-align: left;
}

.legal-consent-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.legal-consent-text {
    margin: 0;
    font-size: 12px;
    line-height: 1.55;
    color: var(--navy-800);
    cursor: pointer;
    flex: 1;
}

.legal-consent-checkbox {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--blue-600);
    cursor: pointer;
}

.legal-inline-link {
    display: inline;
    padding: 0;
    margin: 0;
    border: none;
    background: none;
    color: var(--blue-600);
    font-weight: 600;
    font-size: inherit;
    text-decoration: underline;
    cursor: pointer;
    vertical-align: baseline;
}

.legal-inline-link:hover {
    color: #1d4ed8;
}

.legal-consent-hint,
.payment-blocked-hint {
    margin: 10px 0 0;
    font-size: 12px;
    color: #b45309;
    font-weight: 600;
}

.payment-methods-wrap.payment-methods-disabled #stripe-button-container,
.payment-methods-wrap.payment-methods-disabled [id$="stripe-button-container"] {
    display: none !important;
}

.payment-methods-wrap:not(.payment-methods-disabled) .payment-blocked-hint {
    display: none !important;
}

/* Stripe Checkout Popup – Hinweis auf der Hauptseite */
.stripe-checkout-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10050;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
}

.stripe-checkout-overlay.is-visible {
    display: flex;
}

.stripe-checkout-overlay-card {
    max-width: 360px;
    background: #fff;
    border-radius: 16px;
    padding: 24px 28px;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.2);
    text-align: center;
    border: 1px solid rgba(99, 91, 255, 0.2);
}

.stripe-checkout-overlay-title {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--navy-900, #0f172a);
}

.stripe-checkout-overlay-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #475569;
}

body.premium-app .info-modal-content .legal-list {
    margin: 0 0 12px;
    padding-left: 20px;
    color: #475569;
    line-height: 1.6;
}

body.premium-app .info-modal-content .legal-list li {
    margin-bottom: 6px;
}

/* --- Unified tab heroes (Premium / Route / Lexikon) --- */
.tab-hero {
    margin-bottom: var(--space-section);
    border-radius: var(--radius-lg);
}

.tab-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(24px, 4vw, 32px);
    margin: 0 0 12px;
}

.tab-hero .hero-lead {
    max-width: 620px;
    margin-bottom: 12px;
}

.hero-personal {
    max-width: 620px;
    margin: 0 0 var(--space-block);
    padding: 12px 16px;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
}

.hero-personal-dossier {
    border-left: 3px solid var(--gold-500);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.hero-personal-route {
    border-left: 3px solid #60a5fa;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.hero-personal strong {
    color: var(--gold-400);
}

.hero-personal-route strong {
    color: #93c5fd;
}

.travel-style-choices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 8px;
}

.travel-style-card {
    position: relative;
    cursor: pointer;
    margin: 0;
    display: block;
}

.travel-style-card input {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
}

.travel-style-card-inner {
    position: relative;
    z-index: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 14px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    min-height: 72px;
    pointer-events: none;
}

.travel-style-card-inner strong {
    font-size: 15px;
    color: var(--navy-900);
}

.travel-style-card-inner span {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

.travel-style-card input:checked + .travel-style-card-inner {
    border-color: var(--blue-600);
    background: #eff6ff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-label-block {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--navy-800);
}

.is-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.path-card-btn-route {
    background: linear-gradient(135deg, var(--blue-600), #1d4ed8) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
}

.path-card-btn-route:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(37, 99, 235, 0.45);
}

.tab-hero .funnel-path {
    margin: var(--space-block) 0;
    max-width: 720px;
}

.tab-hero .funnel-step {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    padding: 14px 10px;
}

.tab-hero .funnel-step.active {
    background: rgba(212, 175, 55, 0.22);
    border-color: var(--gold-500);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
}

.tab-hero .funnel-step strong {
    color: #fff;
}

.tab-hero .funnel-step span {
    color: rgba(255, 255, 255, 0.72);
}

.section-spaced {
    margin-top: var(--space-section);
    margin-bottom: var(--space-section);
}

#form-screen .form-card {
    margin-top: var(--space-block);
}

#form-screen .step-progress-wrap {
    margin-bottom: var(--space-block);
}

#form-screen .trust-strip {
    margin-top: var(--space-section);
}

.lexicon-toolbar {
    margin-top: var(--space-block);
    margin-bottom: var(--space-block);
}

.country-grid {
    gap: var(--space-card);
}

.dossier-setup-card {
    margin-top: var(--space-section);
    padding: var(--space-block);
}

.product-path-grid-sales {
    gap: var(--space-card);
}

/* --- Searchable combobox --- */
.combobox {
    position: relative;
    width: 100%;
}

.combobox-field {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
}

.combobox-field .combobox-input {
    grid-column: 1;
    grid-row: 1;
}

.combobox-clear {
    grid-column: 1;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    position: relative;
    right: 10px;
    width: 28px;
    height: 28px;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 50%;
    background: #e2e8f0;
    color: #475569;
    font-size: 22px;
    line-height: 28px;
    text-align: center;
    cursor: pointer;
    z-index: 2;
    transform: none;
    top: auto;
    transition: background-color 0.15s, color 0.15s;
    -webkit-tap-highlight-color: transparent;
}

.combobox-clear:hover,
.combobox-clear:focus {
    background: #cbd5e1;
    color: #0f172a;
    transform: none;
}

.combobox-clear[hidden] {
    display: none !important;
}

.combobox-native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    overflow: hidden !important;
}

.combobox-input {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 44px 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-family: var(--font-sans);
    background: #fff;
    color: var(--text);
    min-height: 52px;
}

.combobox-input:focus {
    outline: none;
    border-color: var(--blue-600);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.combobox-list {
    position: absolute;
    z-index: 500;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    max-height: 260px;
    overflow-y: auto;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-card);
}

.combobox-group-label {
    padding: 8px 14px 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.combobox-option {
    padding: 12px 16px;
    font-size: 15px;
    cursor: pointer;
    color: var(--text);
}

.combobox-option:hover,
.combobox-option.is-highlighted {
    background: #eff6ff;
    color: var(--navy-900);
}

.combobox-empty {
    padding: 12px 16px;
    color: var(--text-muted);
    font-size: 14px;
}

.form-group {
    margin-bottom: var(--space-block);
}

/* --- Mobile app polish --- */
@media (max-width: 768px) {
    body.premium-app {
        padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
    }

    body.premium-app .glass-container {
        border-radius: 0;
        box-shadow: none;
    }

    .screen {
        padding: 0 var(--mobile-pad, 22px) 32px;
    }

    .tab-hero {
        margin-bottom: 24px;
        border-radius: 18px;
    }

    .tab-hero .funnel-path {
        gap: 10px;
    }

    .tab-hero .funnel-step {
        padding: 12px 8px;
    }

    .hero-personal {
        font-size: 12px;
        padding: 10px 12px;
    }

    .travel-style-choices {
        grid-template-columns: 1fr;
    }

    .section-spaced {
        margin-top: 28px;
        margin-bottom: 28px;
    }

    .form-card {
        padding: 22px max(20px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
        margin-top: 20px;
    }

    #form-screen .form-card,
    #form-screen .step-progress-wrap,
    #form-screen .trust-strip,
    #form-screen .how-it-works {
        box-sizing: border-box;
        max-width: 100%;
    }

    body.premium-app .result-route-body {
        padding: 20px max(20px, env(safe-area-inset-left, 0px)) 22px max(20px, env(safe-area-inset-right, 0px));
        border-radius: 0 0 14px 14px;
    }

    body.premium-app .result-card .result-image-container {
        border-radius: 14px 14px 0 0;
    }

    .result-top-block,
    .loading-top-block {
        border-radius: 14px;
    }

    .premium-zone,
    .preview-sneak-peek {
        margin-left: 0;
        margin-right: 0;
    }

    .preview-sneak-inner {
        padding: 18px max(16px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px)) 20px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .combobox-list {
        max-height: min(50vh, 280px);
    }

    .mobile-tab-bar {
        padding: 10px 12px calc(12px + env(safe-area-inset-bottom, 0px));
        border-top: 1px solid rgba(212, 175, 55, 0.2);
    }

    .mobile-tab-btn {
        min-height: 56px;
        padding: 10px 6px;
        border-radius: 14px;
        font-size: 10px;
    }

    .mobile-tab-btn .tab-icon {
        font-size: 22px;
    }

    .tab-free-pill {
        font-size: 8px;
        padding: 2px 6px;
        border-radius: 4px;
        background: rgba(16, 185, 129, 0.25);
    }

    .product-path-card {
        padding: 22px 18px;
    }

    .dossier-setup-card {
        padding: 22px 18px;
    }

    .country-grid .country-card {
        padding: 18px;
        border-radius: 14px;
    }

    .premium-zone .addon-item {
        padding: 16px;
        border-radius: 14px;
    }

    .checkout-summary {
        padding: 20px 18px;
        border-radius: 16px;
    }
}

/* Sehr schmale Displays (Instagram In-App, iPhone SE) */
@media (max-width: 390px) {
    body.premium-app {
        --mobile-pad: 18px;
        --mobile-text-inset: calc(var(--mobile-pad) + env(safe-area-inset-left, 0px));
        --mobile-text-inset-r: calc(var(--mobile-pad) + env(safe-area-inset-right, 0px));
    }

    .view-hero,
    .tab-hero,
    #loading-screen .loading-hero,
    .result-hero {
        padding-left: var(--mobile-text-inset) !important;
        padding-right: var(--mobile-text-inset-r) !important;
    }

    .view-hero h1,
    .view-hero h2,
    #loading-screen .loading-hero h2 {
        font-size: 19px;
        hyphens: auto;
    }

    .hero-lead,
    .hero-lead-compact,
    .loading-hero-lead {
        font-size: 12.5px !important;
    }
}
