/* ==========================================================================
   Landing Page — Cinematic Luxury Noir (Dark/Gold)
   Prefix: .landing-* um Konflikte mit App-Styles zu vermeiden
   Fonts: Lokal gehostet (DSGVO-konform, kein Google-Server-Kontakt)
   Lizenzen: OFL (Open Font License) — siehe docs/reference/third-party-licenses.md
   ========================================================================== */

/* --- Local Font Faces --- */
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/cormorant-garamond-300-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/cormorant-garamond-300-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/cormorant-garamond-700-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/cormorant-garamond-700-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/dm-sans-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/dm-sans-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- Base & Typography --- */
body:has(.landing-page) {
    background-color: #0a0f1a;
}

.landing-page {
    background: #0a0f1a;
    color: #e8e8e8;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Noise texture overlay */
.landing-page::before {
    content: '';
    position: fixed;
    inset: 0;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px;
    pointer-events: none;
    z-index: 0;
}

.landing-page > * {
    position: relative;
    z-index: 1;
}

/* --- Scroll Reveal Animations --- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-60px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(60px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes growLine {
    0%   { width: 0; }
    30%  { width: 60px; }
    100% { width: 60px; }
}

/* Linie waechst zur Login-Box */
@keyframes lineToCard {
    0%   { width: 60px; }
    100% { width: calc(100% + 120px); }
}

/* Login-Card leuchtet auf wenn Linie ankommt */
@keyframes cardActivate {
    0%   { background: rgba(12, 18, 32, 0.9); border-color: rgba(255, 255, 255, 0.06); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
    40%  { background: linear-gradient(170deg, rgba(35, 45, 70, 0.94), rgba(25, 35, 58, 0.9)); border-color: rgba(201, 168, 76, 0.5); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), 0 0 40px rgba(201, 168, 76, 0.1); }
    100% { background: linear-gradient(170deg, rgba(30, 40, 65, 0.92), rgba(22, 32, 55, 0.88)); border-color: rgba(201, 168, 76, 0.2); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(15px) scale(0.95); }
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.04; }
    50% { opacity: 0.08; }
}

@keyframes borderGlow {
    0%, 100% { border-color: rgba(201, 168, 76, 0.2); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); }
    50% { border-color: rgba(201, 168, 76, 0.4); box-shadow: 0 20px 60px rgba(201, 168, 76, 0.08), 0 0 40px rgba(201, 168, 76, 0.05); }
}

/* Reveal classes */
[x-reveal] {
    opacity: 0;
}

[x-reveal].revealed {
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

[x-reveal-left].revealed {
    animation: slideInLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

[x-reveal-right].revealed {
    animation: slideInRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Delivery Scene -> siehe landing-delivery.css */


/* --- Cargo Background Elements (triggered by package impact) --- */
@keyframes cargoSlideRight {
    0%   { transform: translateX(-120px); opacity: 0; }
    15%  { opacity: 0.12; }
    100% { transform: translateX(0); opacity: 0.07; }
}

@keyframes cargoSlideLeft {
    0%   { transform: translateX(120px); opacity: 0; }
    15%  { opacity: 0.12; }
    100% { transform: translateX(0); opacity: 0.07; }
}

@keyframes cargoFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

.landing-cargo-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.landing-cargo-item {
    position: absolute;
    color: #C9A84C;
    opacity: 0;
    filter: blur(0.5px);
}

/* Package top-left */
.landing-cargo-1 {
    top: 65%;
    left: 8%;
    animation: cargoSlideRight 1.5s ease-out 2.9s forwards, cargoFloat 6s ease-in-out 4.4s infinite;
}

/* Pallet bottom-center-left */
.landing-cargo-2 {
    top: 78%;
    left: 22%;
    animation: cargoSlideRight 1.5s ease-out 3.1s forwards, cargoFloat 7s ease-in-out 4.6s infinite;
    animation-delay: 3.1s, 4.6s;
}

/* Truck right side */
.landing-cargo-3 {
    top: 70%;
    right: 6%;
    animation: cargoSlideLeft 1.8s ease-out 3.0s forwards, cargoFloat 8s ease-in-out 4.8s infinite;
}

/* Package small right */
.landing-cargo-4 {
    top: 60%;
    right: 18%;
    animation: cargoSlideLeft 1.5s ease-out 3.3s forwards, cargoFloat 5.5s ease-in-out 4.8s infinite;
}

/* Pallet far left */
.landing-cargo-5 {
    top: 82%;
    left: 35%;
    animation: cargoSlideRight 1.6s ease-out 3.4s forwards, cargoFloat 7.5s ease-in-out 5s infinite;
}

/* Container right-center */
.landing-cargo-6 {
    top: 75%;
    right: 32%;
    animation: cargoSlideLeft 1.7s ease-out 3.2s forwards, cargoFloat 6.5s ease-in-out 4.7s infinite;
}

/* --- Navigation --- */
.landing-nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: background 0.5s ease, backdrop-filter 0.5s ease, box-shadow 0.5s ease;
}

.landing-nav-wrapper.scrolled {
    background: rgba(8, 8, 8, 0.85);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(201, 168, 76, 0.1);
}

.landing-nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 40px;
    max-width: 1200px;
    margin: 0 auto;
    transition: padding 0.3s ease;
}

.landing-nav-wrapper.scrolled .landing-nav-inner {
    padding: 16px 40px;
}

.landing-logo {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #C9A84C;
    letter-spacing: 3px;
    text-decoration: none;
    transition: text-shadow 0.3s;
}

.landing-logo:hover {
    text-shadow: 0 0 30px rgba(201, 168, 76, 0.3);
}

.landing-nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.landing-nav-links a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.3s;
    position: relative;
}

.landing-nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #C9A84C;
    transition: width 0.3s ease;
}

.landing-nav-links a:hover {
    color: #fff;
}

.landing-nav-links a:hover::after {
    width: 100%;
}

.landing-nav-register {
    padding: 10px 24px !important;
    border: 1px solid rgba(201, 168, 76, 0.4) !important;
    border-radius: 0 !important;
    color: #C9A84C !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    position: relative;
    overflow: hidden;
}

.landing-nav-register::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.landing-nav-register:hover {
    border-color: #C9A84C !important;
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.15);
}

.landing-nav-register:hover::before {
    opacity: 1;
}

.landing-nav-register::after {
    display: none !important;
}

/* Mobile Menu */
.landing-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #C9A84C;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px;
}

/* --- Alte Sterne entfernt --- */
/* --- Rotierende Weltkugel (SVG) --- */
@keyframes globeSpin {
    0%   { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes globeAppear {
    0%   { opacity: 0; }
    100% { opacity: 0.9; }
}

.landing-globe-wrap {
    position: absolute;
    top: 42%;
    left: 28%;
    transform: translate(-50%, -50%);
    width: 650px;
    height: 650px;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    animation: globeAppear 2.5s ease 3s forwards;
}

#globe-canvas {
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease;
}

/* Blitz-Klassen: Linie und Box leuchten synchron auf */
.landing-hero-line.line-flash {
    background: linear-gradient(90deg, #C9A84C, rgba(255, 255, 255, 0.8)) !important;
    box-shadow: 0 0 12px rgba(201, 168, 76, 0.6);
}

.landing-login-card.card-flash {
    border-color: rgba(201, 168, 76, 0.6) !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), 0 0 40px rgba(201, 168, 76, 0.12) !important;
}

/* Leuchtpunkt: startet bei 88%, erreicht Box bei 94% */
/* --- Floating Orbs (Background) --- */
.landing-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
}

.landing-orb-1 {
    width: 600px;
    height: 600px;
    top: -10%;
    right: -5%;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
    animation: float 12s ease-in-out infinite;
}

.landing-orb-2 {
    width: 400px;
    height: 400px;
    bottom: 10%;
    left: -8%;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.04) 0%, transparent 70%);
    animation: float2 15s ease-in-out infinite;
}

.landing-orb-3 {
    width: 300px;
    height: 300px;
    top: 40%;
    left: 50%;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.03) 0%, transparent 70%);
    animation: pulse-glow 8s ease-in-out infinite, float 20s ease-in-out infinite;
}

/* --- Hero --- */
.landing-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Decorative grid lines */
.landing-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(201, 168, 76, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 168, 76, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black, transparent);
    pointer-events: none;
}

.landing-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 40px 80px;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

/* Hero left - entrance animation */
.landing-hero-content {
    animation: slideInLeft 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.landing-hero-badge {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid rgba(201, 168, 76, 0.3);
    font-size: 0.7rem;
    color: #C9A84C;
    font-weight: 600;
    margin-bottom: 32px;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.landing-hero-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.1), transparent);
    animation: shimmer 4s ease-in-out infinite;
}

.landing-hero-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #C9A84C, rgba(201, 168, 76, 0.2));
    margin-bottom: 32px;
    position: relative;
    overflow: visible;
    animation:
        growLine 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both,
        lineToCard 1.2s cubic-bezier(0.4, 0, 0.2, 1) 1.6s forwards;
}

.landing-hero h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 4rem;
    font-weight: 300;
    line-height: 1.1;
    color: #fff;
    margin: 0 0 24px;
    letter-spacing: -1px;
}

.landing-hero h1 strong {
    font-weight: 700;
    color: #C9A84C;
    text-shadow: 0 0 60px rgba(201, 168, 76, 0.2);
}

.landing-hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.9;
    margin-bottom: 36px;
    max-width: 480px;
}

/* Stats */
.landing-stats {
    display: none;
    gap: 40px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.landing-stats.visible { display: flex; }
.landing-stat-num { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 2rem; font-weight: 700; color: #C9A84C; }
.landing-stat-label { font-size: 0.75rem; color: rgba(255, 255, 255, 0.35); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

/* --- Login Card --- */
.landing-login-card {
    background: rgba(12, 18, 32, 0.9);
    border-radius: 4px;
    padding: 44px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    position: relative;
    animation:
        slideInRight 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both,
        cardActivate 1s ease 2.8s forwards;
    backdrop-filter: blur(20px);
    overflow: hidden;
}

/* Animated corner accents */
.landing-login-card::before,
.landing-login-card::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border-color: rgba(201, 168, 76, 0.3);
    border-style: solid;
    transition: border-color 0.5s;
}

.landing-login-card::before {
    top: -1px;
    left: -1px;
    border-width: 1px 0 0 1px;
}

.landing-login-card::after {
    bottom: -1px;
    right: -1px;
    border-width: 0 1px 1px 0;
}

.landing-login-card:hover::before,
.landing-login-card:hover::after {
    border-color: rgba(201, 168, 76, 0.6);
}

.landing-login-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: #C9A84C;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.landing-login-card .landing-form-group {
    margin-bottom: 20px;
}

.landing-login-card label {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.landing-login-card input[type="email"],
.landing-login-card input[type="password"] {
    width: 100%;
    padding: 15px 18px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 3px;
    font-size: 0.95rem;
    font-family: 'DM Sans', sans-serif;
    color: #fff;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}

.landing-login-card input[type="email"]:focus,
.landing-login-card input[type="password"]:focus {
    border-color: #C9A84C;
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.1);
}

.landing-login-card input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.landing-btn-login {
    width: 100%;
    padding: 16px;
    background: #C9A84C;
    color: #0a0f1a;
    border: none;
    border-radius: 3px;
    font-size: 0.85rem;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.landing-btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.landing-btn-login:hover {
    background: #dfc06a;
    box-shadow: 0 0 30px rgba(201, 168, 76, 0.3);
}

.landing-btn-login:hover::before {
    left: 100%;
}

.landing-login-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
}

.landing-login-footer a { color: #C9A84C; text-decoration: none; transition: text-shadow 0.3s; }
.landing-login-footer a:hover { text-shadow: 0 0 10px rgba(201, 168, 76, 0.4); }

.landing-forgot-link { display: block; text-align: right; margin-top: 6px; font-size: 0.8rem; }
.landing-forgot-link a { color: rgba(255, 255, 255, 0.3); text-decoration: none; transition: color 0.3s; }
.landing-forgot-link a:hover { color: #C9A84C; }

/* Alerts */
.landing-alert { padding: 12px 16px; font-size: 0.875rem; margin-bottom: 16px; }
.landing-alert-success { background: rgba(39, 174, 96, 0.1); border: 1px solid rgba(39, 174, 96, 0.2); color: #27ae60; }
.landing-alert-error { background: rgba(231, 76, 60, 0.1); border: 1px solid rgba(231, 76, 60, 0.2); color: #e74c3c; }

/* --- Section Divider --- */
.landing-divider {
    width: 100%;
    max-width: 200px;
    height: 1px;
    margin: 0 auto;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.3), transparent);
}

/* --- Features --- */
.landing-features {
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 40px;
    position: relative;
}

/* Kleine Navigations-Pfeile (oben/unten) in Sektionen */
.landing-section-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: rgba(201, 168, 76, 0.55);
    border: 1px solid rgba(201, 168, 76, 0.25);
    background: rgba(10, 15, 26, 0.4);
    text-decoration: none;
    transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
    z-index: 5;
}
.landing-section-nav:hover {
    color: #dfc06a;
    border-color: rgba(201, 168, 76, 0.7);
    background: rgba(10, 15, 26, 0.7);
}
.landing-section-nav.up {
    top: 24px;
}
.landing-section-nav.up:hover {
    transform: translateX(-50%) translateY(-2px);
}
.landing-section-nav.down {
    bottom: 24px;
}
.landing-section-nav.down:hover {
    transform: translateX(-50%) translateY(2px);
}

.landing-section-title {
    text-align: center;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.4rem;
    color: #fff;
    margin: 0 0 16px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.landing-section-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.35);
    font-size: 1rem;
    margin: 0 0 64px;
    letter-spacing: 0.5px;
}

.landing-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.landing-feature-card {
    background: rgba(30, 42, 66, 0.85);
    padding: 36px 32px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

/* Hover glow effect */
.landing-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0), transparent);
    transition: background 0.5s;
}

.landing-feature-card:hover {
    border-color: rgba(201, 168, 76, 0.3);
    background: rgba(38, 52, 80, 0.92);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(201, 168, 76, 0.08);
}

.landing-feature-card:hover::before {
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.4), transparent);
}

.landing-feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.12), rgba(201, 168, 76, 0.04));
    border: 1px solid rgba(201, 168, 76, 0.22);
    color: #dfc06a;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}
.landing-feature-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(201, 168, 76, 0.08);
    transform: translate(3px, 3px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.landing-feature-card:hover .landing-feature-icon {
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.22), rgba(201, 168, 76, 0.08));
    border-color: rgba(201, 168, 76, 0.5);
    box-shadow: 0 0 25px rgba(201, 168, 76, 0.15), inset 0 0 12px rgba(201, 168, 76, 0.08);
    color: #f0d88a;
}
.landing-feature-card:hover .landing-feature-icon::after {
    transform: translate(5px, 5px);
    border-color: rgba(201, 168, 76, 0.2);
}

.landing-feature-card h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.05rem;
    margin: 0 0 10px;
    color: #fff;
    font-weight: 600;
}

.landing-feature-card p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.7;
    margin: 0;
}

/* Staggered card reveal */
.landing-feature-card:nth-child(1) { animation-delay: 0s; }
.landing-feature-card:nth-child(2) { animation-delay: 0.1s; }
.landing-feature-card:nth-child(3) { animation-delay: 0.2s; }
.landing-feature-card:nth-child(4) { animation-delay: 0.3s; }
.landing-feature-card:nth-child(5) { animation-delay: 0.4s; }
.landing-feature-card:nth-child(6) { animation-delay: 0.5s; }

/* --- How It Works --- */
.landing-how {
    background: rgba(255, 255, 255, 0.015);
    padding: 100px 40px;
    position: relative;
}

.landing-how-steps {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: center;
    position: relative;
}

/* Connector line between steps */
.landing-how-steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(16.67% + 28px);
    right: calc(16.67% + 28px);
    height: 1px;
    background: linear-gradient(90deg, rgba(201, 168, 76, 0.1), rgba(201, 168, 76, 0.3), rgba(201, 168, 76, 0.1));
}

.landing-step-num {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 auto 24px;
    background: #0a0f1a;
    border: 1px solid rgba(201, 168, 76, 0.3);
    color: #C9A84C;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
}

.landing-how-steps > div:hover .landing-step-num {
    border-color: #C9A84C;
    box-shadow: 0 0 30px rgba(201, 168, 76, 0.15);
    background: rgba(201, 168, 76, 0.05);
}

.landing-how-steps h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.05rem;
    margin: 0 0 8px;
    color: #fff;
    font-weight: 600;
}

.landing-how-steps p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.7;
    margin: 0;
}

/* --- Dual CTA --- */
.landing-dual-cta {
    max-width: 1000px;
    margin: 0 auto;
    padding: 100px 40px;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.landing-cta-box {
    padding: 48px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.landing-cta-box:hover {
    transform: translateY(-4px);
}

.landing-cta-box h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.4rem;
    margin: 0 0 14px;
    color: #fff;
    font-weight: 600;
}

.landing-cta-box p {
    font-size: 0.9rem;
    margin: 0 0 28px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.4);
}

.landing-cta-customer {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.landing-cta-provider {
    background: rgba(201, 168, 76, 0.03);
    border: 1px solid rgba(201, 168, 76, 0.12);
}

.landing-cta-provider:hover {
    border-color: rgba(201, 168, 76, 0.25);
    box-shadow: 0 20px 40px rgba(201, 168, 76, 0.05);
}

.landing-cta-btn {
    display: inline-block;
    padding: 14px 36px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    text-decoration: none;
    cursor: pointer;
    border: none;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.landing-cta-btn-outline {
    background: transparent;
    color: #C9A84C;
    border: 1px solid rgba(201, 168, 76, 0.4);
}

.landing-cta-btn-outline:hover {
    background: rgba(201, 168, 76, 0.1);
    border-color: #C9A84C;
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.15);
}

.landing-cta-btn-solid {
    background: #C9A84C;
    color: #0a0f1a;
}

.landing-cta-btn-solid::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s;
}

.landing-cta-btn-solid:hover {
    background: #dfc06a;
    box-shadow: 0 0 30px rgba(201, 168, 76, 0.3);
}

.landing-cta-btn-solid:hover::before {
    left: 100%;
}

/* --- Footer --- */
.landing-footer {
    background: #070b14;
    color: rgba(255, 255, 255, 0.25);
    padding: 48px 40px;
    text-align: center;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.landing-footer a {
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    margin: 0 16px;
    transition: color 0.3s;
}

.landing-footer a:hover { color: #C9A84C; }

.landing-footer-links { margin-top: 16px; }

.landing-footer-top {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 20px;
}

.landing-footer-note {
    max-width: 760px;
    margin: 0 auto;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.7;
}
.landing-footer-note a {
    margin-left: 0;
    color: rgba(201, 168, 76, 0.85);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .landing-hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
        padding-top: 140px;
    }

    .landing-hero-inner > div:last-child {
        max-width: 440px;
        margin: 0 auto;
        width: 100%;
    }

    .landing-hero h1 { font-size: 3rem; }

    .landing-features-grid { grid-template-columns: repeat(2, 1fr); }
    .landing-dual-cta { grid-template-columns: 1fr; }
    .landing-how-steps::before { display: none; }
}

@media (max-width: 640px) {
    .landing-nav-inner { padding: 16px 20px; }

    .landing-nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(8, 8, 8, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid rgba(201, 168, 76, 0.1);
    }

    .landing-nav-links.open { display: flex; }
    .landing-menu-toggle { display: block; }

    .landing-hero-inner { padding: 120px 24px 48px; }
    .landing-hero h1 { font-size: 2.4rem; }
    .landing-features { padding: 72px 24px; }
    .landing-features-grid { grid-template-columns: 1fr; }
    .landing-how { padding: 72px 24px; }
    .landing-how-steps { grid-template-columns: 1fr; gap: 40px; }
    .landing-how-steps::before { display: none; }
    .landing-dual-cta { padding: 72px 24px; }
}

/* --- Kontakt-Sektion --- */
.landing-contact {
    position: relative;
    max-width: 1320px;
    margin: 0 auto;
    padding: 100px 40px;
}
.landing-contact-inner {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 64px;
    align-items: start;
}
.landing-contact-heading {
    max-width: 780px;
    margin: 0 auto 64px;
    text-align: center;
    position: relative;
}
.landing-contact-heading .landing-section-title {
    text-align: center;
    line-height: 1.25;
    margin-bottom: 24px;
}
.landing-contact-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    margin: 32px auto 0;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.5), transparent);
}
.landing-contact-statement {
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin: 0;
}
.landing-contact-statement strong {
    color: #dfc06a;
    font-weight: 600;
}

.landing-contact-subheading {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.4rem;
    color: #fff;
    font-weight: 600;
    margin: 0 0 24px;
    letter-spacing: -0.3px;
}
.landing-contact-facts {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.landing-contact-facts li {
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}
.landing-contact-facts svg {
    flex-shrink: 0;
    color: #C9A84C;
    opacity: 0.85;
}

.landing-contact-form-wrap {
    background: rgba(30, 42, 66, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    padding: 44px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
}
/* Gold-Ecken wie bei der Login-Card */
.landing-contact-form-wrap::before,
.landing-contact-form-wrap::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border-color: rgba(201, 168, 76, 0.3);
    border-style: solid;
    transition: border-color 0.5s;
    pointer-events: none;
}
.landing-contact-form-wrap::before {
    top: -1px;
    left: -1px;
    border-width: 1px 0 0 1px;
}
.landing-contact-form-wrap::after {
    bottom: -1px;
    right: -1px;
    border-width: 0 1px 1px 0;
}
.landing-contact-form-wrap:hover::before,
.landing-contact-form-wrap:hover::after {
    border-color: rgba(201, 168, 76, 0.6);
}

.landing-contact-form .landing-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.landing-contact-form .landing-form-group {
    margin-bottom: 18px;
}
.landing-contact-form label {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
}
.landing-contact-form input,
.landing-contact-form textarea {
    width: 100%;
    padding: 15px 18px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 3px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    color: #fff;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}
.landing-contact-form input:focus,
.landing-contact-form textarea:focus {
    border-color: #C9A84C;
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.1);
}
.landing-contact-form input::placeholder,
.landing-contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.2);
}
.landing-contact-form textarea {
    resize: vertical;
    min-height: 140px;
    font-family: inherit;
}
.landing-contact-form input:disabled,
.landing-contact-form textarea:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}
.landing-contact-form .landing-btn-login {
    margin-top: 8px;
}

/* DSGVO-Consent-Checkbox */
.landing-form-consent {
    margin: 6px 0 20px;
}
.landing-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}
.landing-consent-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}
.landing-consent-box {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(0, 0, 0, 0.25);
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    transition: all 0.25s ease;
    margin-top: 1px;
}
.landing-consent-label:hover .landing-consent-box {
    border-color: rgba(201, 168, 76, 0.5);
}
.landing-consent-label input[type="checkbox"]:checked + .landing-consent-box {
    background: #C9A84C;
    border-color: #C9A84C;
    color: #0a0f1a;
}
.landing-consent-label input[type="checkbox"]:focus-visible + .landing-consent-box {
    outline: 2px solid rgba(201, 168, 76, 0.6);
    outline-offset: 2px;
}
.landing-consent-text {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.55;
}
.landing-consent-text a {
    color: #dfc06a;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.landing-consent-text a:hover {
    color: #C9A84C;
}

/* Success-State */
.landing-contact-success {
    text-align: center;
    padding: 40px 20px;
}
.landing-contact-success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.4);
    color: #C9A84C;
}
.landing-contact-success h4 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.6rem;
    color: #fff;
    margin: 0 0 10px;
    font-weight: 600;
}
.landing-contact-success p {
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 24px;
    font-size: 0.95rem;
}

@media (max-width: 860px) {
    .landing-contact { padding: 72px 24px; }
    .landing-contact-inner { grid-template-columns: 1fr; gap: 40px; }
    .landing-contact-intro .landing-section-title,
    .landing-contact-intro .landing-section-subtitle { text-align: center; }
    .landing-contact-form-wrap { padding: 28px; }
    .landing-contact-form .landing-form-row { grid-template-columns: 1fr; gap: 0; }
}

/* --- Static-Page-Sektion (Impressum, Datenschutz, AGB) --- */
.landing-static {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    padding: 140px 40px 100px;
}
.landing-static-heading {
    text-align: center;
    margin-bottom: 48px;
}
.landing-static-heading .landing-section-title {
    line-height: 1.25;
    margin-bottom: 0;
}
.landing-static-card {
    position: relative;
    background: rgba(30, 42, 66, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    padding: 56px 64px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    overflow: hidden;
}
.landing-static-card::before,
.landing-static-card::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border-color: rgba(201, 168, 76, 0.3);
    border-style: solid;
    transition: border-color 0.5s;
    pointer-events: none;
}
.landing-static-card::before {
    top: -1px;
    left: -1px;
    border-width: 1px 0 0 1px;
}
.landing-static-card::after {
    bottom: -1px;
    right: -1px;
    border-width: 0 1px 1px 0;
}
.landing-static-card:hover::before,
.landing-static-card:hover::after {
    border-color: rgba(201, 168, 76, 0.6);
}

.landing-static-content {
    color: rgba(232, 232, 232, 0.88);
    font-size: 0.98rem;
    line-height: 1.75;
}
/* Inline-Styles aus Rich-Text-Editor (Quill) neutralisieren —
   die DB-Inhalte enthalten "color: black" / "background: white" was auf
   dem dunklen Landing-Hintergrund unlesbar waere. */
.landing-static-content [style*="color"] {
    color: inherit !important;
}
.landing-static-content [style*="background"] {
    background: transparent !important;
}
.landing-static-content font[color] {
    color: inherit !important;
}
.landing-static-content h1,
.landing-static-content h2,
.landing-static-content h3,
.landing-static-content h4 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    color: #fff;
    font-weight: 600;
    letter-spacing: -0.3px;
    margin: 40px 0 16px;
    line-height: 1.3;
}
.landing-static-content h1 { font-size: 2rem; margin-top: 0; }
.landing-static-content h2 { font-size: 1.6rem; }
.landing-static-content h3 { font-size: 1.3rem; }
.landing-static-content h4 { font-size: 1.1rem; }
.landing-static-content p {
    margin: 0 0 18px;
}
.landing-static-content a {
    color: #C9A84C;
    text-decoration: none;
    border-bottom: 1px solid rgba(201, 168, 76, 0.4);
    transition: border-color 0.2s, color 0.2s;
}
.landing-static-content a:hover {
    color: #e5c878;
    border-bottom-color: #e5c878;
}
.landing-static-content ul,
.landing-static-content ol {
    margin: 0 0 18px;
    padding-left: 24px;
}
.landing-static-content li {
    margin-bottom: 8px;
}
.landing-static-content strong {
    color: #fff;
    font-weight: 600;
}
.landing-static-content hr {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 32px 0;
}
.landing-static-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 18px;
}
.landing-static-content th,
.landing-static-content td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.landing-static-content th {
    color: #fff;
    font-weight: 600;
}

.landing-static-back {
    margin-top: 48px;
    text-align: center;
}

/* Sekundaer-Button fuer Back-Navigation auf Static-Pages.
   Ohne Shimmer (im Gegensatz zu .landing-btn-login), Outline-Style, zurueckhaltend.
   Passt zum Cinematic Luxury Noir Stil, wirkt aber nicht wie der Haupt-CTA. */
.landing-btn-back {
    display: inline-block;
    padding: 14px 32px;
    background: transparent;
    color: #C9A84C;
    border: 1px solid rgba(201, 168, 76, 0.45);
    border-radius: 2px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.landing-btn-back:hover {
    background: rgba(201, 168, 76, 0.08);
    border-color: #C9A84C;
    color: #dfc06a;
}

@media (max-width: 860px) {
    .landing-static { padding: 110px 20px 72px; }
    .landing-static-card { padding: 32px 24px; }
    .landing-static-content { font-size: 0.94rem; }
    .landing-static-content h1 { font-size: 1.7rem; }
    .landing-static-content h2 { font-size: 1.4rem; }
    .landing-btn-back { padding: 12px 24px; font-size: 12px; }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
