/* --- CSS Variables & Design Tokens (Dark Theme) --- */
:root {
    --primary-color: #FFFFFF;
    --primary-hover: #E0E0E0;
    --primary-glow: rgba(255, 255, 255, 0.3);
    
    --text-main: #FFFFFF;
    --text-secondary: #C0C0C0;
    --text-muted: #888888;
    
    --bg-main: #0A0A0A;
    --bg-section: #111111;
    --bg-elevated: #1A1A1A;
    
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-hover: rgba(255, 255, 255, 0.1);
    --glass-shine: rgba(255, 255, 255, 0.15);
    
    --border-color: rgba(255, 255, 255, 0.08);
    
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 12px -1px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 30px -3px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 40px rgba(255, 255, 255, 0.03);
    
    --radius-md: 12px;
    --radius-lg: 20px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base Reset & Typography --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text-main);
}

h1 { font-size: 3.5rem; margin-bottom: 1.5rem; }
h2 { font-size: 2.5rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }

p { color: var(--text-secondary); margin-bottom: 1.5rem; }

a { text-decoration: none; color: inherit; }

/* --- Utility Classes --- */
.bg-light { background-color: var(--bg-section); }
.text-center { text-align: center; }

/* --- Liquid Glass Mixin --- */
.liquid-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: 
        var(--shadow-lg),
        inset 0 1px 0 0 var(--glass-shine);
}

/* --- Buttons (Liquid Glass) --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
    position: relative;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #FFF;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Download Button — purple accent */
.btn-download-hero {
    background: rgba(138, 43, 226, 0.12) !important;
    border: 1px solid rgba(138, 43, 226, 0.35) !important;
    color: #fff !important;
    box-shadow:
        0 4px 20px rgba(138, 43, 226, 0.15),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.08) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    transition: all 0.3s ease;
}
.btn-download-hero:hover {
    background: rgba(138, 43, 226, 0.22) !important;
    border-color: rgba(138, 43, 226, 0.55) !important;
    box-shadow:
        0 8px 32px rgba(138, 43, 226, 0.25),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.12) !important;
    transform: translateY(-2px);
}
.btn-download-hero svg {
    transition: transform 0.3s ease;
}
.btn-download-hero:hover svg {
    transform: translateY(2px);
}

.btn-block {
    display: block;
    width: 100%;
}

/* --- Navbar --- */
.navbar {
    padding: 24px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: padding 0.3s ease, background-color 0.3s ease, backdrop-filter 0.3s ease, border-bottom 0.3s ease;
}

.navbar.scrolled {
    padding: 12px 0;
    background-color: rgba(10, 10, 10, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    display: flex;
    align-items: center;
}

/* --- Hero Section --- */
.hero {
    padding-top: 60px;
    padding-bottom: 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Wave / gradient background effect is now on the body */

.laptop-mockup {
    width: 100%;
    max-width: 760px;
    margin: 0;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.laptop-screen-frame {
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    border-radius: 16px 16px 0 0;
    padding: 14px 14px 22px;
    position: relative;
    box-shadow: 0 0 0 1.5px #444, 0 30px 70px rgba(0,0,0,0.9);
    border: 1px solid #3a3a3a;
    border-bottom: none;
}

.laptop-camera {
    width: 6px;
    height: 6px;
    background-color: #333;
    border-radius: 50%;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
}

.laptop-screen-content {
    background-color: #0A0A0A;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    transform: translateZ(0);
    aspect-ratio: 4 / 3;
    background-image: linear-gradient(to right, #0A0A0A 0%, rgba(10,10,10,0.9) 40%, rgba(10,10,10,0.7) 80%), url('laptop-bg.png');
    background-size: cover;
    background-position: center right;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.laptop-base {
    position: relative;
    width: 114%;
    left: -7%;
    z-index: 3;
}

.laptop-base-top {
    height: 12px;
    background: linear-gradient(to right, #555, #999, #555);
    border-radius: 8px 8px 0 0;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(255,255,255,0.3);
}

.laptop-base-top::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 4px;
    background-color: #777;
    border-radius: 0 0 4px 4px;
}

.laptop-base-bottom {
    height: 8px;
    background: linear-gradient(to right, #333, #666, #333);
    border-radius: 0 0 16px 16px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}

.hero-text h1 {
    background: linear-gradient(135deg, #FFFFFF 0%, #999999 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    max-width: 480px;
    color: var(--text-secondary);
}

/* --- Glassmorphism Package Card --- */
.glass-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.glass-card {
    background: rgba(15, 15, 15, 0.9);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 10px 40px 0 rgba(0, 0, 0, 0.8),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 14px 16px;
    position: relative;
    z-index: 1;
    width: 100%;
}

.glass-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    width: 100%;
    margin-bottom: 8px;
}

.cancellation-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cancel-bold {
    font-weight: 700;
    font-size: 0.95rem;
    color: #FFFFFF;
}

.cancel-thin {
    font-weight: 300;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.price-badge {
    font-size: 1.6rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1;
}

.price-sub {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
}

.price-monthly {
    font-size: 1.3rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1;
}

.feature-group {
    margin-bottom: 8px;
}

.feature-group:last-child {
    margin-bottom: 0;
}

.feature-group h4 {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 4px;
    font-weight: 700;
}

.feature-group ul {
    list-style: none;
}

.feature-group li {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 3px;
    display: flex;
    align-items: flex-start;
    line-height: 1.3;
}

.feature-group .check {
    color: var(--text-main);
    margin-right: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

.feature-group strong {
    font-weight: 600;
    color: #FFFFFF;
}

/* --- Laptop Internal Redesign --- */
.laptop-screen-content {
    background-color: #0A0A0A;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    transform: translateZ(0);
    aspect-ratio: 16 / 9;
    background-image: linear-gradient(135deg, #0e0e0e 0%, #161616 50%, #0a0a0a 100%), url('laptop-bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
}

/* --- Laptop Two-Zone Layout --- */
.lp-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 30px;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    flex-shrink: 0;
}
.lp-topbar-left { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; flex: 1; }
.lp-topbar-center { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 1; text-align: center; }
.lp-topbar-right { display: flex; align-items: baseline; gap: 6px; flex: 1; justify-content: flex-end; }

/* Mobile Pricing Bar — hidden on desktop */
.lp-topbar-mobile { display: none !important; }

.lp-cancel-title {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1;
    white-space: nowrap;
}
.lp-cancel-sub {
    font-size: 0.7rem;
    font-weight: 300;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0;
}

.lp-feat-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    padding: 28px 30px;
    gap: 0;
}

.lp-feat-divider {
    width: 1px;
    background: rgba(255,255,255,0.07);
    margin: 0 24px;
    align-self: stretch;
}

.lp-feat-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lp-feat-head {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.3);
    margin-bottom: 10px;
}

.lp-feat-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.45;
}
.lp-feat-item strong { color: #fff; font-weight: 600; }
.lp-chk { color: #8a2be2; font-weight: 700; flex-shrink: 0; font-size: 0.95rem; margin-top: 1px; }
.lp-pls { color: rgba(255,255,255,0.28); flex-shrink: 0; font-size: 0.95rem; }

.lp-price-card {
    background: rgba(14, 14, 14, 0.97);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 28px;
}

.lp-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.lp-price-left { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.lp-price-right { display: flex; align-items: baseline; gap: 6px; }

.lp-price-main {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.lp-price-monthly {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.lp-price-label {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.5);
    font-weight: 400;
}
.lp-badge {
    background: rgba(138,43,226,0.2);
    border: 1px solid rgba(138,43,226,0.4);
    color: #b066ff;
    font-size: 0.62rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.lp-features {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 14px 20px;
}

.lp-col { display: flex; flex-direction: column; gap: 6px; }

.lp-group-title {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.35);
    margin-bottom: 4px;
}

.lp-item {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.35;
}
.lp-item strong { color: #fff; font-weight: 600; }
.lp-check { color: #8a2be2; font-weight: 700; flex-shrink: 0; font-size: 0.78rem; }
.lp-plus { color: rgba(255,255,255,0.3); flex-shrink: 0; font-size: 0.78rem; }

/* Mini Dashboard */
.lp-dashboard {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 0.6fr 1.1fr;
    gap: 8px;
    padding: 10px 12px;
    background: #111;
    overflow: hidden;
}

.lp-dash-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.lp-dash-title {
    font-size: 0.6rem;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Bar Chart */
.lp-bar-list { display: flex; flex-direction: column; gap: 5px; }
.lp-bar-row { display: flex; align-items: center; gap: 5px; }
.lp-bar-lbl { font-size: 0.55rem; color: rgba(255,255,255,0.45); width: 42px; flex-shrink: 0; }
.lp-bar-track { flex: 1; background: rgba(255,255,255,0.08); border-radius: 3px; height: 5px; overflow: hidden; }
.lp-bar-fill { background: linear-gradient(90deg, #8a2be2, #b066ff); height: 100%; border-radius: 3px; }
.lp-bar-val { font-size: 0.5rem; color: rgba(255,255,255,0.35); width: 22px; text-align: right; flex-shrink: 0; }

/* Donut Chart */
.lp-donut-wrap { position: relative; display: flex; justify-content: center; align-items: center; margin: 4px 0; }
.lp-donut-svg { width: 70px; height: 70px; transform: rotate(-90deg); }
.lp-donut-label {
    position: absolute;
    text-align: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}
.lp-donut-label span { font-size: 0.5rem; font-weight: 400; color: rgba(255,255,255,0.45); }
.lp-donut-legend { display: flex; gap: 6px; font-size: 0.5rem; color: rgba(255,255,255,0.45); align-items: center; flex-wrap: wrap; margin-top: 4px; }
.lp-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }

/* Campaign Table */
.lp-dash-wide {}
.lp-table { width: 100%; border-collapse: collapse; font-size: 0.55rem; }
.lp-table th { color: rgba(255,255,255,0.3); font-weight: 600; text-align: left; padding: 3px 4px; border-bottom: 1px solid rgba(255,255,255,0.06); text-transform: uppercase; letter-spacing: 0.04em; }
.lp-table td { color: rgba(255,255,255,0.65); padding: 5px 4px; border-bottom: 1px solid rgba(255,255,255,0.04); }
.lp-table tr:last-child td { border-bottom: none; }
.lp-dot-g { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #22c55e; margin-right: 5px; }

.hero-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- Form Section --- */
.form-section {
    padding: 30px 0;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
}

.form-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.form-content {
    text-align: center;
}

.form-content h2 {
    margin-bottom: 0.5rem;
}

.form-content p {
    margin-bottom: 0;
}

.form-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
    padding: 28px 32px;
    border-radius: var(--radius-lg);
    width: 100%;
}

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

.form-group label {
    display: block;
    margin-bottom: 3px;
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.form-group input {
    width: 100%;
    padding: 8px 12px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    color: white;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Custom Glassmorphism Dropdown */
.custom-select-wrapper {
    position: relative;
    user-select: none;
    width: 100%;
    z-index: 100;
}

.custom-select {
    position: relative;
    display: flex;
    flex-direction: column;
}

.custom-select-trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 8px 12px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    color: white;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
}

.custom-select-trigger:after {
    content: "";
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23FFFFFF%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    transition: transform 0.3s ease;
}

.custom-select.open .custom-select-trigger:after {
    transform: rotate(180deg);
}

.custom-options {
    position: absolute;
    display: block;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    margin-top: 5px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.8);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 999;
    overflow: hidden;
}

.custom-select.open .custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.custom-option {
    position: relative;
    display: block;
    padding: 10px 12px;
    font-size: 0.9rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.custom-option:last-child {
    border-bottom: none;
}

.custom-option:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.custom-option.selected {
    color: #2EBA64;
    background-color: rgba(46, 186, 100, 0.05);
}

.form-group input::placeholder {
    color: #8a2be2;
}

.form-group input:focus, .custom-select-trigger:focus, .custom-select.open .custom-select-trigger {
    outline: none;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
    background-color: rgba(255, 255, 255, 0.06);
}

.form-disclaimer {
    margin-top: 8px;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-row.street-row {
    grid-template-columns: 3fr 1fr;
}

/* --- Gutscheincode UI --- */
.gutschein-input-row {
    position: relative;
}

.gutschein-status {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.82rem;
    font-weight: 600;
    pointer-events: none;
    transition: all 0.3s ease;
}

.gutschein-status.valid {
    color: #4ade80;
}

.gutschein-status.invalid {
    color: #f87171;
}

.gutschein-status.expired {
    color: #fbbf24;
}

/* --- Tarif-Anzeige --- */
.tarif-display {
    background: rgba(46, 186, 100, 0.06);
    border: 1px solid rgba(46, 186, 100, 0.2);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    animation: tarifSlideIn 0.4s ease-out;
}

@keyframes tarifSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
        max-height: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 300px;
    }
}

.tarif-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    color: #4ade80;
    transition: background 0.2s;
    user-select: none;
}

.tarif-header:hover {
    background: rgba(46, 186, 100, 0.04);
}

.tarif-chevron {
    transition: transform 0.3s ease;
    color: #4ade80;
}

.tarif-display.collapsed .tarif-chevron {
    transform: rotate(-90deg);
}

.tarif-display.collapsed .tarif-body {
    display: none;
}

.tarif-body {
    padding: 0 16px 14px;
}

.tarif-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.tarif-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tarif-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.4);
}

.tarif-value {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.btn-order-green {
    background: linear-gradient(135deg, #2EBA64 0%, #198741 100%);
    color: white;
    border: 1px solid #146c34;
    font-weight: 700;
    box-shadow: 0 6px 15px rgba(46, 186, 100, 0.3), inset 0 2px 2px rgba(255, 255, 255, 0.3), inset 0 -2px 2px rgba(0, 0, 0, 0.1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.btn-order-green:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 186, 100, 0.45), inset 0 2px 2px rgba(255, 255, 255, 0.4), inset 0 -2px 2px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #35cf71 0%, #1a9648 100%);
}

.btn-order-green:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(46, 186, 100, 0.3), inset 0 3px 5px rgba(0, 0, 0, 0.2);
}

.consent-group {
    margin: 16px 0 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--text-muted);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 1px;
    cursor: pointer;
    accent-color: var(--primary-color);
    flex-shrink: 0;
}

.checkbox-label a {
    color: #FFFFFF;
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,0.3);
}

.checkbox-label a:hover {
    text-decoration-color: #FFFFFF;
}

.download-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 0.82rem;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    box-shadow: inset 0 1px 0 0 rgba(255,255,255,0.05);
}

.btn-download:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}

/* --- Statistics Section --- */
.stats-section {
    padding: 100px 0 80px;
    text-align: center;
}

.stats-headline {
    margin-bottom: 56px;
}

.stats-h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.stats-h2-muted {
    color: rgba(255,255,255,0.48);
}

.stats-sub {
    font-size: 1rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}
.stats-sub strong { color: rgba(255,255,255,0.85); }

.stats-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin: 0 auto 16px auto;
    width: fit-content;
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    backdrop-filter: blur(8px);
}

.stats-rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}

.stats-row {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.person {
    width: 36px;
    height: 58px;
    flex-shrink: 0;
}

.person.grey {
    fill: #d1d5db; /* Light grey for white background */
}

.person.bright {
    fill: #374151; /* Dark grey for white background */
}

.person.purple {
    fill: #9d4edd; /* Solid purple */
    filter: drop-shadow(0 2px 4px rgba(157, 78, 221, 0.4));
}

.stats-annotation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 100%;
}

.stats-arrow {
    font-size: 1.6rem;
    color: #9d4edd;
    font-weight: 700;
    transform: translateX(156px);
}

.stats-arrow-label {
    font-size: 1rem;
    color: #8a2be2;
    text-align: center;
    font-weight: 700;
    white-space: nowrap;
}



/* --- Portfolio Section --- */
.portfolio {
    padding: 60px 0;
    overflow: hidden;
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.portfolio h2 {
    margin-bottom: 48px;
}

.slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.slider-container {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 20px 0;
}

.slider-container::-webkit-scrollbar {
    display: none;
}

.portfolio-card {
    flex: 0 0 calc(33.333% - 16px);
    min-width: 300px;
    scroll-snap-align: center;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    box-shadow: 
        var(--shadow-md),
        inset 0 1px 0 0 rgba(255,255,255,0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: visible; /* Changed to visible for aura */
    position: relative;
    transition: var(--transition);
    cursor: pointer;
}

.portfolio-card:hover {
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 0 30px rgba(255, 255, 255, 0.3),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.2);
}

.portfolio-image {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: top center;
    border-radius: inherit; /* Clip the image itself instead of the card */
}

.portfolio-image.placeholder {
    background: linear-gradient(135deg, #1a1a1a 0%, #222222 100%);
    position: relative;
}

.portfolio-image.placeholder::after {
    content: "Screenshot Platzhalter";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Lightbox --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}
.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: var(--radius-md);
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
    object-fit: contain;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}
.lightbox-close:hover {
    color: var(--text-main);
}

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    padding: 16px 24px;
    border-radius: 50%;
    z-index: 1001;
    user-select: none;
    transition: background 0.3s;
}

.lightbox-prev:hover, .lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        var(--shadow-md),
        inset 0 1px 0 0 rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    color: var(--text-main);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.prev-btn {
    left: -24px;
}

.next-btn {
    right: -24px;
}

/* --- Footer --- */
footer {
    background-color: var(--bg-main);
    color: #FFFFFF;
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color);
    letter-spacing: -1px;
}

.footer-links a {
    color: var(--text-muted);
    margin-left: 24px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #FFFFFF;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    h1 { font-size: 2.5rem; }
    
    .portfolio-card {
        flex: 0 0 calc(50% - 12px);
    }
}

/* --- iPhone Animation Section --- */
.iphone-anim-wrapper {
    position: relative;
    width: 380px;
    height: 520px;
    flex-shrink: 0;
    z-index: 5;
    pointer-events: none;
    animation: slideInRight 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    transform-origin: center center;
    margin-left: 40px;
}

@keyframes slideInRight {
    0% { opacity: 0; transform: translateX(80px) scale(0.75); }
    100% { opacity: 1; transform: translateX(0) scale(0.75); }
}

.pulse-blob {
    position: absolute;
    top: 50%; left: 50%;
    width: 1100px; height: 550px;
    margin-top: -275px; margin-left: -550px;
    background: radial-gradient(ellipse, rgba(255,255,255,0.8) 0%, rgba(200,200,200,0.5) 50%, transparent 80%);
    border-radius: 50%;
    z-index: 1;
    opacity: 0.3;
    animation: pulse 4s ease-in-out infinite alternate;
}
.pulse-blob-inner {
    position: absolute;
    top: 50%; left: 50%;
    width: 850px; height: 450px;
    margin-top: -225px; margin-left: -425px;
    background: radial-gradient(ellipse, #fff 0%, rgba(255,255,255,0.7) 60%, transparent 100%);
    border-radius: 50%;
    z-index: 1;
    opacity: 0.5;
    animation: pulse 3s ease-in-out infinite alternate-reverse;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.3; }
    100% { transform: scale(1.15); opacity: 0.6; }
}

.iphone-mockup {
    position: absolute;
    top: 50%; left: 50%;
    margin-top: -265px; margin-left: -130px;
    width: 260px; height: 530px;
    background: #fff;
    border: 10px solid #111;
    border-radius: 36px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6), inset 0 0 0 2px #333;
    z-index: 3;
    overflow: hidden;
}

.iphone-notch {
    position: absolute;
    top: -2px; left: 50%;
    transform: translateX(-50%);
    width: 120px; height: 24px;
    background: #111;
    border-radius: 0 0 16px 16px;
    z-index: 10;
}

.iphone-screen {
    width: 100%; height: 100%;
    background: #fdfdfd;
    position: relative;
    padding-top: 35px;
}

/* iPhone Inner Content */
.ip-nav { display: flex; justify-content: space-between; padding: 15px; border-bottom: 1px solid #eee; background: #fff; }
.ip-logo { font-weight: 800; font-size: 14px; color: #111; font-family: 'Inter', sans-serif; letter-spacing: -0.5px;}
.ip-hamburger { font-size: 16px; color: #111; font-weight: 800;}
.ip-content { padding: 20px 15px; }
.ip-title { font-size: 18px; font-weight: 800; text-align: center; color: #111; margin-bottom: 12px; }
.ip-desc { font-size: 10px; color: #666; text-align: center; margin-bottom: 20px; line-height: 1.4; }
.ip-btn-row { display: flex; gap: 8px; justify-content: center; margin-bottom: 30px; }
.ip-btn-primary { background: #111; color: #fff; font-size: 8px; padding: 8px 12px; border-radius: 4px; font-weight: 600; }
.ip-btn-secondary { color: #111; font-size: 8px; padding: 8px 12px; font-weight: 600; }
.ip-sub { font-size: 12px; font-weight: 800; text-align: center; color: #111; margin-bottom: 15px; }
.ip-card { background: #fff; border: 1px solid #f0f0f0; border-radius: 8px; padding: 12px; margin-bottom: 10px; display: flex; gap: 10px; align-items: center; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
.ip-circle { width: 28px; height: 28px; border-radius: 50%; background: #ccc; flex-shrink: 0; }
.ip-card strong { font-size: 11px; color: #111; display: block; margin-bottom: 4px; }
.ip-card p { font-size: 8px; color: #888; margin: 0; }

/* Floating Elements */
.floating-search, .floating-chart, .floating-stats {
    position: absolute;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    z-index: 4;
    animation: float 4s ease-in-out infinite;
    pointer-events: auto; /* Allow interaction if needed */
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.float-delay-1 { animation-delay: 0s; }
.float-delay-2 { animation-delay: 1.5s; }
.float-delay-3 { animation-delay: 3s; }

.floating-search {
    top: 8%; left: 50%;
    transform: translateX(-50%);
    padding: 12px 20px;
    display: flex; align-items: center;
    border-radius: 30px;
    font-size: 12px; font-weight: 600; color: #555;
    white-space: nowrap;
    z-index: 6;
}

.floating-chart {
    bottom: 8%; right: -30px;
    padding: 16px;
    width: 220px;
    z-index: 4;
}
.chart-title { font-size: 12px; color: #555; margin-bottom: 15px; font-weight: 600;}
.bar-row { display: flex; align-items: center; margin-bottom: 10px; font-size: 10px; color: #666; font-weight: 600;}
.bar-label { width: 55px; }
.bar-track { flex-grow: 1; background: #f0f0f0; height: 8px; border-radius: 4px; overflow: hidden; margin-left: 10px; }
.bar-fill { background: #8a2be2; height: 100%; border-radius: 4px; }

.floating-stats {
    top: 38%; right: -40px;
    padding: 14px 18px;
    border-radius: 12px;
    z-index: 4;
}
.stats-label { font-size: 12px; color: #666; margin-bottom: 5px; font-weight: 600;}
.stats-val { font-size: 26px; font-weight: 300; color: #111; display: flex; align-items: baseline; gap: 8px; }
.stats-trend { font-size: 13px; color: #22c55e; font-weight: 600; }

@media (max-width: 1200px) {
    .iphone-anim-wrapper {
        transform: scale(0.8);
        right: -50px;
    }
}

@media (max-width: 992px) {
    .iphone-anim-wrapper { display: none; }
    .laptop-mockup { transform: translateX(0); max-width: 1000px; }
}

@media (max-width: 768px) {
    .form-row, .form-row.street-row {
        grid-template-columns: 1fr;
    }
    
    .portfolio-card {
        flex: 0 0 100%;
    }
    
    .slider-btn {
        display: none;
    }
    
    .form-card {
        padding: 20px;
    }
    
    .hero::after {
        height: 80px;
    }
    
    h1 { font-size: 2rem; }
}

/* Animations & Effects */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.tilt-element {
    transition: transform 0.1s ease-out;
    will-change: transform;
    transform-style: preserve-3d;
}
.tilt-element.reset-tilt {
    transition: transform 0.6s ease-out;
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg) !important;
}

/* Flowing Background Animation */
body::before {
    content: "";
    position: fixed;
    top: -10%; left: -10%;
    width: 120%; height: 120%;
    background-image: url('wave-bg.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
    pointer-events: none;
    animation: waveFlow 9s ease-in-out infinite alternate;
}

@keyframes waveFlow {
    0% { transform: scale(1.05) translate(0, 0) rotate(0deg); }
    100% { transform: scale(1.15) translate(-4%, 4%) rotate(2deg); }
}


/* Enhanced Legibility for Hero Subtitle */
.subtitle {
    color: #FFFFFF;
    font-size: 1.15rem;
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    background: rgba(0, 0, 0, 0.35);
    padding: 12px 28px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}



/* --- Staggered Text Reveal --- */
.stagger-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    /* Filter to add a subtle blur while entering for that high-end Apple look */
    filter: blur(8px);
}
.hero-text-centered.is-visible .stagger-word {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
}

/* --- Metrics Section --- */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.metric-card {
    padding: 40px 20px;
    text-align: center;
    border-radius: var(--radius-lg);
}

.metric-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1;
    letter-spacing: -2px;
}

.metric-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Error Toast Notification --- */
.error-toast {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 10000;
    max-width: 420px;
    padding: 18px 22px 18px 20px;
    background: rgba(220, 38, 38, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(220, 38, 38, 0.4);
    border-left: 4px solid #dc2626;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(220, 38, 38, 0.25), 0 2px 8px rgba(0,0,0,0.3);
    display: flex;
    align-items: flex-start;
    gap: 14px;
    animation: toastSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    cursor: pointer;
}

.error-toast.toast-exit {
    animation: toastSlideOut 0.3s ease-in forwards;
}

.error-toast-icon {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    background: rgba(220, 38, 38, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-top: 1px;
}

.error-toast-content {
    flex: 1;
}

.error-toast-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #fca5a5;
    margin-bottom: 4px;
}

.error-toast-message {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

.error-toast-close {
    flex-shrink: 0;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}

.error-toast-close:hover {
    color: #fff;
}

@keyframes toastSlideIn {
    0% { opacity: 0; transform: translateX(100px) scale(0.9); }
    100% { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes toastSlideOut {
    0% { opacity: 1; transform: translateX(0) scale(1); }
    100% { opacity: 0; transform: translateX(100px) scale(0.9); }
}

/* ============================================================
   MOBILE RESPONSIVENESS
   ============================================================ */

/* --- Mobile Feature Carousel (base styles, hidden on desktop) --- */
.lp-feat-carousel {
    display: none;
    padding: 16px;
    position: relative;
}

.lp-carousel-track {
    position: relative;
    min-height: 160px;
}

.lp-carousel-slide {
    display: none;
    flex-direction: column;
    gap: 14px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: carouselFadeIn 0.35s ease;
}

.lp-carousel-slide.lp-carousel-active {
    display: flex;
}

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

.lp-carousel-slide .lp-feat-head {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.35);
    margin-bottom: 4px;
}

.lp-carousel-slide .lp-feat-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.45;
}
.lp-carousel-slide .lp-feat-item strong { color: #fff; font-weight: 600; }

.lp-carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 12px;
}

.lp-carousel-arrow {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    line-height: 1;
}
.lp-carousel-arrow:hover,
.lp-carousel-arrow:active {
    background: rgba(255, 255, 255, 0.18);
}

.lp-carousel-dots {
    display: flex;
    gap: 8px;
}

.lp-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
}

.lp-carousel-dot.lp-dot-active {
    background: rgba(138, 43, 226, 0.8);
    box-shadow: 0 0 6px rgba(138, 43, 226, 0.5);
}

/* --- Desktop/Mobile label toggle for pricing --- */
.lp-label-mobile { display: none; }

/* --- Tablet (max 768px) --- */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem !important;
        word-break: break-word;
    }
    h2 {
        font-size: 1.8rem;
    }
    .container {
        padding: 0 16px;
    }

    /* =============================================
       HERO SECTION — Mobile: fits viewport
       ============================================= */
    .hero {
        padding-top: 70px !important;
        padding-bottom: 0px !important;
        min-height: auto !important;
    }

    /* Hide subtitle on mobile */
    .hero-text-centered .subtitle {
        display: none !important;
    }

    .hero-text-centered {
        max-width: 100% !important;
        padding: 0 8px;
        margin-bottom: 10px !important;
    }
    .hero-text-centered h1 {
        font-size: 1.6rem !important;
        margin-bottom: 6px !important;
        line-height: 1.25 !important;
    }

    /* Hero visuals — less margin */
    .hero-visuals {
        margin-bottom: 12px !important;
    }

    /* =============================================
       LAPTOP → GLASS CARD TRANSFORMATION
       Hide all laptop chrome, show content as glass
       ============================================= */

    /* Hide decorative elements */
    .pulse-blob,
    .pulse-blob-inner {
        display: none !important;
    }

    /* Remove laptop wrapper constraints */
    .laptop-mockup {
        max-width: 100% !important;
        width: 100% !important;
        transform: none !important;
        margin: 0 !important;
    }

    /* Strip laptop frame — make it invisible */
    .laptop-screen-frame {
        background: none !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        border-radius: 0 !important;
    }

    /* Hide camera dot */
    .laptop-camera {
        display: none !important;
    }

    /* Hide entire laptop base */
    .laptop-base {
        display: none !important;
    }

    /* =============================================
       LIQUID GLASS CARD — Package Info (dark)
       ============================================= */
    .laptop-screen-content {
        background: rgba(8, 8, 12, 0.82) !important;
        background-image: none !important;
        backdrop-filter: blur(28px) !important;
        -webkit-backdrop-filter: blur(28px) !important;
        border: 1px solid rgba(255, 255, 255, 0.10) !important;
        border-radius: 18px !important;
        box-shadow:
            0 8px 32px rgba(0, 0, 0, 0.6),
            inset 0 1px 0 0 rgba(255, 255, 255, 0.06),
            0 0 0 0.5px rgba(255, 255, 255, 0.04) !important;
        aspect-ratio: unset !important;
        height: auto !important;
        overflow: visible !important;
        position: relative !important;
    }

    /* === PRICING: Desktop version hidden, Mobile version shown === */
    .lp-topbar-desktop { display: none !important; }
    .lp-topbar-mobile {
        display: block !important;
        background: rgba(255, 255, 255, 0.03);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 18px 18px 0 0;
        overflow: hidden;
    }
    .lp-mob-row {
        display: flex;
        align-items: stretch;
    }
    .lp-mob-cell {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 16px 12px 14px;
        gap: 4px;
    }
    .lp-mob-divider {
        width: 1px;
        background: rgba(255, 255, 255, 0.08);
        align-self: stretch;
        margin: 8px 0;
    }
    .lp-mob-price {
        font-size: 1.6rem;
        font-weight: 800;
        color: #fff;
        line-height: 1;
        letter-spacing: -0.02em;
    }
    .lp-mob-label {
        font-size: 0.7rem;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.45);
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }
    .lp-mob-footer {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 8px 16px 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        background: rgba(255, 255, 255, 0.015);
    }
    .lp-mob-laufzeit {
        font-size: 0.75rem;
        font-weight: 700;
        color: rgba(255, 255, 255, 0.8);
    }
    .lp-mob-kuendigung {
        font-size: 0.65rem;
        font-weight: 400;
        color: rgba(255, 255, 255, 0.35);
    }

    /* Desktop grid → stacked blocks on mobile */
    .lp-feat-desktop {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        padding: 14px 14px 16px !important;
    }

    /* Hide dividers on mobile */
    .lp-feat-divider {
        display: none !important;
    }

    /* Each feature column as a glass block */
    .lp-feat-col {
        background: rgba(255, 255, 255, 0.04) !important;
        border: 1px solid rgba(255, 255, 255, 0.06) !important;
        border-radius: 14px !important;
        padding: 14px 16px !important;
        gap: 10px !important;
    }
    .lp-feat-col .lp-feat-head {
        color: rgba(255, 255, 255, 0.4) !important;
        font-size: 0.68rem !important;
        margin-bottom: 6px !important;
    }
    .lp-feat-col .lp-feat-item {
        font-size: 0.88rem !important;
    }

    /* Hide carousel completely on mobile */
    .lp-feat-carousel {
        display: none !important;
    }

    /* =============================================
       CTA BUTTON — visible without scroll
       ============================================= */
    .hero-cta {
        margin-top: 8px !important;
        margin-bottom: 0 !important;
    }
    .btn-primary {
        padding: 12px 32px !important;
        font-size: 0.95rem !important;
        width: 80%;
    }

    /* =============================================
       OTHER SECTIONS — compact mobile
       ============================================= */

    /* Form Section — uniform spacing */
    .form-grid {
        flex-direction: column !important;
    }
    .form-row, .street-row {
        flex-direction: column !important;
    }
    /* Remove double-spacing: grid gap + margin-bottom was causing uneven gaps */
    .form-row .form-group {
        margin-bottom: 0 !important;
    }

    /* Footer */
    .footer-content {
        flex-direction: column !important;
        gap: 16px !important;
        text-align: center !important;
    }

    /* Error Toast */
    .error-toast {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    /* Navbar — compact */
    .navbar {
        padding: 8px 0 !important;
    }
    .navbar .logo a span {
        font-size: 0.95rem !important;
    }
    .navbar .logo a img {
        height: 24px !important;
    }

    /* Portfolio */
    .portfolio {
        padding: 40px 0 !important;
        overflow: hidden !important;
    }
    .portfolio .container {
        padding: 0 !important;
    }
    .portfolio h2 {
        margin-bottom: 24px !important;
        padding: 0 16px !important;
    }
    .portfolio .container > p {
        padding: 0 16px !important;
    }
    .portfolio-card {
        flex: 0 0 82vw !important;
        min-width: unset !important;
        scroll-snap-align: center !important;
    }
    .portfolio-image {
        height: 220px !important;
    }

    /* Center cards in slider on mobile — viewport-based padding */
    .slider-container {
        padding: 20px 9vw !important;
        scroll-padding-inline: 9vw !important;
    }

    /* Hide portfolio slider arrows on mobile — user scrolls natively */
    .slider-btn {
        display: none !important;
    }

    /* Metrics — compact */
    .metrics-section {
        padding: 30px 0 20px !important;
        margin-bottom: 10px !important;
    }
    .metrics-grid {
        gap: 16px !important;
    }
    .metric-card {
        padding: 24px 16px !important;
    }
    .metric-number {
        font-size: 2.5rem !important;
    }
    .metric-label {
        font-size: 0.9rem !important;
    }

    /* Form section compact */
    .form-section {
        padding: 14px 0 !important;
    }
    .form-card {
        padding: 20px;
    }

    /* Footer compact */
    footer {
        padding: 24px 0 !important;
    }
}

/* --- Phone (max 480px) --- */
@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0.6rem !important;
    }
    h2 {
        font-size: 1.4rem;
    }
    .container {
        padding: 0 12px;
    }

    /* Hero — even more compact */
    .hero {
        padding-top: 56px !important;
        padding-bottom: 0px !important;
    }
    .hero-text-centered {
        margin-bottom: 8px !important;
    }
    .hero-text-centered h1 {
        font-size: 1.35rem !important;
        margin-bottom: 4px !important;
    }
    .hero-visuals {
        margin-bottom: 8px !important;
    }

    /* Slightly smaller mobile pricing */
    .lp-mob-price {
        font-size: 1.4rem !important;
    }
    .lp-mob-cell {
        padding: 12px 10px 10px !important;
    }
    .lp-mob-footer {
        padding: 6px 12px 8px !important;
    }

    /* Glass card features */
    .lp-feat-carousel {
        padding: 8px 10px 12px !important;
    }
    .lp-carousel-slide {
        padding: 12px 14px !important;
        gap: 10px !important;
    }
    .lp-feat-head {
        font-size: 0.65rem !important;
    }
    .lp-feat-item {
        font-size: 0.82rem !important;
    }
    .lp-carousel-arrow {
        width: 26px !important;
        height: 26px !important;
        font-size: 0.9rem !important;
    }
    .lp-carousel-dot {
        width: 7px !important;
        height: 7px !important;
    }

    /* CTA */
    .hero-cta {
        margin-top: 6px !important;
    }
    .btn-primary {
        width: 90%;
        padding: 12px 20px !important;
        font-size: 0.9rem !important;
    }

    /* Portfolio */
    .portfolio-card {
        flex: 0 0 86vw !important;
        scroll-snap-align: center !important;
    }
    .portfolio-image {
        height: 200px !important;
    }

    /* Adjust slider centering for small phones */
    .slider-container {
        padding: 20px 7vw !important;
        scroll-padding-inline: 7vw !important;
    }

    /* Ensure arrows hidden on small phones too */
    .slider-btn {
        display: none !important;
    }

    /* Metrics */
    .metric-card {
        padding: 20px 12px !important;
    }
    .metric-number {
        font-size: 2.2rem !important;
    }
    .metric-label {
        font-size: 0.82rem !important;
    }

    /* Navbar Logo */
    .navbar .logo a span {
        font-size: 0.85rem !important;
    }
    .navbar .logo a img {
        height: 22px !important;
    }

    /* Form */
    .form-card {
        padding: 16px !important;
    }
    .form-content h2 {
        font-size: 1.3rem !important;
    }
}

/* --- Very small phones (max 375px / iPhone SE) --- */
@media (max-width: 375px) {
    .hero {
        padding-top: 50px !important;
    }
    .hero-text-centered h1 {
        font-size: 1.2rem !important;
    }
    .lp-mob-price {
        font-size: 1.2rem !important;
    }
    .lp-mob-label {
        font-size: 0.6rem !important;
    }
    .lp-mob-cell {
        padding: 10px 8px 8px !important;
    }
    .lp-mob-footer {
        padding: 5px 10px 6px !important;
    }
    .lp-mob-laufzeit {
        font-size: 0.65rem !important;
    }
    .lp-mob-kuendigung {
        font-size: 0.55rem !important;
    }
    .lp-carousel-slide {
        padding: 10px 12px !important;
    }
    .lp-feat-item {
        font-size: 0.78rem !important;
    }
    .btn-primary {
        padding: 10px 16px !important;
        font-size: 0.85rem !important;
    }
    .hero-cta {
        margin-top: 4px !important;
    }
    .hero-visuals {
        margin-bottom: 6px !important;
    }
}
