/* =========================================================
   PRIVACY CAR CONTACT - SWISS LIFE EDITION
   HELLER HINTERGRUND · ROTE AKZENTE
   ========================================================= */

:root {
    --bg: #f5f7fa;
    --bg-soft: #ffffff;
    --card: rgba(0, 0, 0, 0.03);
    --card-hover: rgba(0, 0, 0, 0.06);
    --border: rgba(0, 0, 0, 0.10);
    --text: #1a1d24;
    --muted: #5a6370;
    --accent: #cc0a2f;
    --accent-dark: #a80824;
    --accent-light: #fce8eb;
    --danger: #cc0a2f;
    --success: #cc0a2f;
    --shadow: 0 25px 70px rgba(0, 0, 0, 0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

button,
input {
    font: inherit;
}

/* =========================================================
   HEADER
   ========================================================= */
.header {
    width: 100%;
    padding: 24px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 20;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    color: var(--text);
}

.logo-mark {
    width: 34px;
    height: 34px;
    border: 2px solid var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-mark::before {
    content: "";
    width: 13px;
    height: 13px;
    border: 2px solid var(--accent);
    border-radius: 4px;
}

.logo-text {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.7px;
    color: var(--text);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.language {
    color: var(--muted);
    font-size: 13px;
    cursor: pointer;
}

.language span {
    color: var(--text);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
    min-height: calc(100vh - 82px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 45px 20px 80px;
    position: relative;
}

.hero-content {
    width: 100%;
    max-width: 900px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    border: 1px solid rgba(204, 10, 47, 0.22);
    background: rgba(204, 10, 47, 0.06);
    border-radius: 999px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.eyebrow-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(204, 10, 47, 0.3);
}

h1 {
    font-size: clamp(42px, 7vw, 78px);
    line-height: 0.98;
    letter-spacing: -3.5px;
    font-weight: 700;
    margin-bottom: 26px;
    color: var(--text);
}

h1 span {
    color: var(--accent);
}

.hero-text {
    max-width: 620px;
    margin: 0 auto;
    color: var(--muted);
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.65;
}

/* =========================================================
   ACTION CARDS
   ========================================================= */
.actions {
    margin: 52px auto 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    max-width: 720px;
}

.action-card {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 27px;
    text-align: left;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
    color: var(--text);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.action-card:hover {
    transform: translateY(-4px);
    background: var(--card-hover);
    border-color: rgba(204, 10, 47, 0.25);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.action-card.primary {
    border-color: rgba(204, 10, 47, 0.28);
    background: linear-gradient(135deg, rgba(204, 10, 47, 0.06), rgba(255, 255, 255, 0.04));
}

.action-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 22px;
}

.action-card.primary .action-icon {
    background: rgba(204, 10, 47, 0.10);
}

.action-title {
    font-size: 18px;
    font-weight: 650;
    margin-bottom: 7px;
    color: var(--text);
}

.action-description {
    font-size: 13px;
    line-height: 1.5;
    color: var(--muted);
}

.action-arrow {
    float: right;
    color: var(--accent);
    font-size: 20px;
    margin-top: -2px;
}

/* =========================================================
   TRUST
   ========================================================= */
.trust {
    margin: 42px auto 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 26px;
    color: var(--muted);
    font-size: 12px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 7px;
}

.trust-item strong {
    color: var(--text);
    font-weight: 500;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
    text-align: center;
    padding: 30px 20px 45px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.7;
}

.footer-links {
    margin-top: 10px;
}

.footer-links span {
    margin: 0 7px;
    cursor: pointer;
}

.footer-links span:hover {
    color: var(--text);
}

/* =========================================================
   MODAL
   ========================================================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: 0.3s ease;
    z-index: 100;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal {
    width: min(560px, 100%);
    max-height: 92vh;
    overflow-y: auto;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-bottom: none;
    border-radius: 30px 30px 0 0;
    padding: 32px;
    transform: translateY(40px);
    transition: transform 0.35s ease;
    box-shadow: 0 -20px 80px rgba(0, 0, 0, 0.08);
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-close {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    color: var(--muted);
    cursor: pointer;
    float: right;
    font-size: 20px;
    transition: background 0.2s;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.10);
}

.modal-header {
    padding-right: 45px;
    margin-bottom: 28px;
}

.modal-eyebrow {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.4px;
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 10px;
}

.modal h2 {
    font-size: 30px;
    letter-spacing: -1px;
    margin-bottom: 8px;
    color: var(--text);
}

.modal-subtitle {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

/* =========================================================
   FORM
   ========================================================= */
.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    font-size: 12px;
    font-weight: 600;
}

.input {
    width: 100%;
    height: 54px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    padding: 0 16px;
    outline: none;
    transition: 0.2s ease;
}

.input::placeholder {
    color: var(--muted);
}

.input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(204, 10, 47, 0.10);
}

.code-input {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 650;
    text-align: center;
    font-size: 18px;
}

.input-hint {
    color: var(--muted);
    font-size: 11px;
    margin-top: 7px;
}

.checkbox-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 20px 0;
}

.checkbox-row input {
    margin-top: 3px;
    accent-color: var(--accent);
}

.checkbox-row label {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}

.checkbox-row a {
    color: var(--text);
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
    width: 100%;
    height: 56px;
    border: 0;
    border-radius: 15px;
    cursor: pointer;
    font-weight: 750;
    letter-spacing: 0.3px;
    transition: 0.2s ease;
}

.btn-primary {
    background: var(--accent);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

.btn-primary:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text);
    margin-top: 10px;
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.10);
}

.btn-camera {
    width: 100%;
    padding: 14px;
    background: var(--accent);
    color: #ffffff;
    border: none;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    touch-action: manipulation;
}

.btn-camera:hover {
    background: var(--accent-dark);
}

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

.btn-remove {
    background: var(--accent);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 13px;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.2s;
}

.btn-remove:hover {
    background: var(--accent-dark);
}

/* =========================================================
   PROBLEM GRID
   ========================================================= */
.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 18px;
}

.problem {
    padding: 16px 12px;
    border: 1px solid var(--border);
    background: var(--bg);
    border-radius: 14px;
    color: var(--muted);
    cursor: pointer;
    text-align: center;
    font-size: 12px;
    line-height: 1.4;
    transition: 0.2s;
}

.problem:hover,
.problem.selected {
    border-color: var(--accent);
    background: var(--accent-light);
    color: var(--accent);
}

.message-box {
    width: 100%;
    min-height: 110px;
    resize: vertical;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    padding: 15px;
    outline: none;
    font-family: inherit;
}

.message-box:focus {
    border-color: var(--accent);
}

/* =========================================================
   IMAGE PREVIEW
   ========================================================= */
.image-preview {
    margin-top: 12px;
    padding: 14px;
    background: var(--bg);
    border-radius: 14px;
    border: 1px solid var(--border);
    text-align: center;
}

.image-preview img {
    max-width: 100%;
    max-height: 250px;
    border-radius: 10px;
}

/* =========================================================
   STATUS & SUCCESS
   ========================================================= */
.status-box {
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.5;
    display: none;
}

.status-box.success {
    display: block;
    background: rgba(204, 10, 47, 0.08);
    border: 1px solid rgba(204, 10, 47, 0.20);
    color: var(--accent);
}

.status-box.error {
    display: block;
    background: rgba(204, 10, 47, 0.08);
    border: 1px solid rgba(204, 10, 47, 0.20);
    color: var(--accent);
}

.status-box.loading {
    display: block;
    background: rgba(204, 10, 47, 0.06);
    border: 1px solid rgba(204, 10, 47, 0.12);
    color: var(--accent);
}

.success {
    text-align: center;
    padding: 18px 0 5px;
}

.success-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(204, 10, 47, 0.08);
    border: 1px solid rgba(204, 10, 47, 0.20);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 22px;
}

.success h3 {
    font-size: 25px;
    margin-bottom: 10px;
    color: var(--text);
}

.success p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.link-box {
    margin: 15px 0;
    padding: 12px;
    background: var(--bg);
    border-radius: 8px;
    word-break: break-all;
}

.link-box a {
    color: var(--accent);
    text-decoration: none;
}

/* =========================================================
   DASHBOARD CARD
   ========================================================= */
.dashboard-card {
    max-width: 720px;
    margin: 20px auto 0;
    background: var(--bg-soft);
    border-radius: 22px;
    padding: 27px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

/* =========================================================
   BACKDROP DECORATION
   ========================================================= */
.glow {
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: rgba(204, 10, 47, 0.03);
    filter: blur(80px);
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

/* =========================================================
   ANIMATION
   ========================================================= */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content>* {
    animation: fadeUp 0.65s ease both;
}
.hero-content .eyebrow {
    animation-delay: 0.05s;
}
.hero-content h1 {
    animation-delay: 0.12s;
}
.hero-content .hero-text {
    animation-delay: 0.19s;
}
.hero-content .actions {
    animation-delay: 0.26s;
}
.hero-content .trust {
    animation-delay: 0.33s;
}

/* =========================================================
   CALL-TO-ACTION FÜR SCANNER (WERBUNG)
   ========================================================= */
.cta-scanner {
    max-width: 720px;
    margin: 40px auto 0;
    padding: 36px 30px 40px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

/* Kleiner Glow-Effekt */
.cta-scanner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at 30% 20%,
        rgba(204, 10, 47, 0.04) 0%,
        transparent 60%
    );
    pointer-events: none;
}

.cta-scanner-content {
    position: relative;
    z-index: 1;
}

/* Eyebrow */
.cta-eyebrow {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(204, 10, 47, 0.08);
    border: 1px solid rgba(204, 10, 47, 0.12);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

/* Headline */
.cta-scanner h2 {
    font-size: clamp(28px, 4.5vw, 42px);
    line-height: 1.05;
    letter-spacing: -2px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.cta-scanner h2 span {
    color: var(--accent);
}

.cta-text {
    color: var(--muted);
    font-size: clamp(14px, 1.2vw, 16px);
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto 24px;
}

.cta-text strong {
    color: var(--text);
}

/* Preis-Box */
.cta-price-box {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px 28px;
    margin-bottom: 28px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px 40px;
}

.cta-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.cta-price .currency {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent);
    align-self: flex-start;
    margin-top: 4px;
}

.cta-price .amount {
    font-size: 52px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -3px;
    line-height: 1;
}

.cta-price .period {
    font-size: 16px;
    font-weight: 400;
    color: var(--muted);
    margin-left: 4px;
}

.cta-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.cta-features li {
    font-size: 14px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cta-features li::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Steps */
.cta-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 24px;
    margin-bottom: 28px;
}

.cta-step {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg);
    padding: 8px 16px 8px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
}

.step-number {
    width: 28px;
    height: 28px;
    background: var(--accent);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.step-text {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
}

/* Button */
.cta-actions .btn-primary {
    max-width: 380px;
    margin: 0 auto;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 650px) {
    .header {
        padding: 20px 18px;
    }
    .hero {
        min-height: auto;
        padding: 35px 16px 50px;
    }
    h1 {
        letter-spacing: -2.3px;
    }
    .hero-text {
        font-size: 15px;
        line-height: 1.55;
    }
    .actions {
        grid-template-columns: 1fr;
        margin-top: 38px;
    }
    .action-card {
        padding: 22px;
        border-radius: 18px;
    }
    .trust {
        gap: 13px 18px;
        font-size: 11px;
    }
    .modal {
        padding: 25px 20px;
        border-radius: 25px 25px 0 0;
    }
    .modal h2 {
        font-size: 27px;
    }
    .problem-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 370px) {
    .logo-text {
        font-size: 12px;
        letter-spacing: 1.2px;
    }
    .problem-grid {
        grid-template-columns: 1fr;
    }
}