/* =========================================================
   DirektKlar · schnelleaufenthalts.com – Telefonische Hilfe für Aufenthaltsfragen
   Pure HTML/CSS/JS – Static landing focused on conversion
   ========================================================= */

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

:root {
    --color-bg: #f7f8fb;
    --color-bg-alt: #ffffff;
    --color-bg-dark: #0f1b2d;
    --color-bg-soft: #eef2f8;

    --color-primary: #15467a;
    --color-primary-dark: #0e3258;
    --color-primary-soft: #e8eff8;

    --color-accent: #f59e0b;
    --color-accent-dark: #d97706;

    --color-success: #1f7a4d;
    --color-success-soft: #e6f4ec;

    --color-text: #1a2332;
    --color-text-muted: #5a6678;
    --color-text-light: #8896a8;
    --color-border: #e3e8ef;
    --color-border-soft: #eef1f6;

    --shadow-sm: 0 1px 2px rgba(15, 27, 45, 0.06);
    --shadow-md: 0 4px 12px rgba(15, 27, 45, 0.08);
    --shadow-lg: 0 12px 32px rgba(15, 27, 45, 0.10);
    --shadow-xl: 0 20px 60px rgba(15, 27, 45, 0.14);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 22px;

    --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;

    --container: 1180px;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-base);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---------- Google Ads Compliance Banner ---------- */
.compliance-banner {
    background-color: var(--color-bg-dark);
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    z-index: 100;
    position: relative;
}
.compliance-banner strong {
    color: #fff;
    font-weight: 600;
}

img,
svg {
    max-width: 100%;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: 0;
    background: transparent;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 16px;
    line-height: 1.2;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    box-shadow: var(--shadow-lg);
}

.btn-accent {
    background: var(--color-accent);
    color: #1a1a1a;
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.30);
}

.btn-accent:hover {
    background: var(--color-accent-dark);
    color: #fff;
    box-shadow: 0 10px 22px rgba(217, 119, 6, 0.40);
}

.btn-lg {
    padding: 18px 32px;
    font-size: 17px;
}

.btn-block {
    width: 100%;
}

.btn-phone-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* --- Big call CTA (icon + label + number) --- */
.btn-call {
    padding: 16px 26px;
    gap: 14px;
    align-items: center;
}

.btn-call .btn-call-pulse {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
}

.btn-call .btn-call-pulse::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    animation: ring-pulse 2s ease-out infinite;
}

.btn-call .btn-phone-icon {
    width: 20px;
    height: 20px;
    position: relative;
    z-index: 1;
}

.btn-call .btn-call-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    text-align: left;
}

.btn-call .btn-call-label {
    font-size: 13px;
    font-weight: 600;
    opacity: 0.85;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.btn-call .btn-call-number {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.3px;
}

@keyframes ring-pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    80% {
        transform: scale(1.8);
        opacity: 0;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn-call .btn-call-pulse::before,
    .mobile-cta-icon::before {
        animation: none;
    }
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--color-border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.brand:hover {
    text-decoration: none;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #2b6cb0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.5px;
    box-shadow: var(--shadow-sm);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-name {
    font-size: 19px;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.3px;
}

.brand-tagline {
    font-size: 12px;
    color: var(--color-text-muted);
    font-weight: 500;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav a {
    color: var(--color-text);
    font-weight: 500;
    font-size: 15px;
    padding: 6px 2px;
    position: relative;
}

.main-nav a:hover {
    color: var(--color-primary);
    text-decoration: none;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--color-bg-soft);
    align-items: center;
    justify-content: center;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--color-text);
    position: relative;
    display: block;
    border-radius: 2px;
}

.nav-toggle span::before,
.nav-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
}

.nav-toggle span::before {
    top: -6px;
}

.nav-toggle span::after {
    top: 6px;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 64px 0 80px;
    background:
        radial-gradient(ellipse at top right, rgba(43, 108, 176, 0.10) 0%, transparent 55%),
        radial-gradient(ellipse at bottom left, rgba(245, 158, 11, 0.08) 0%, transparent 55%),
        linear-gradient(180deg, #ffffff 0%, var(--color-bg) 100%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 56px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    border-radius: 999px;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.2px;
    margin-bottom: 22px;
}

.hero-badge::before {
    content: "";
    width: 7px;
    height: 7px;
    background: var(--color-primary);
    border-radius: 50%;
}

.hero h1 {
    font-size: clamp(30px, 4.4vw, 46px);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.8px;
    color: var(--color-text);
    margin-bottom: 20px;
}

.hero-sub {
    font-size: 17px;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 580px;
}

.hero-cta-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
}

.hero-cta-wrap .btn {
    align-self: flex-start;
}

.price-line {
    font-size: 14px;
    color: var(--color-text);
    font-weight: 600;
}

.price-note {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.hero-disclaimer {
    margin-top: 22px;
    padding: 12px 16px;
    background: #fff7ed;
    border-left: 3px solid var(--color-accent);
    border-radius: 6px;
    font-size: 13px;
    color: #7c4a03;
    line-height: 1.5;
}

/* Trust strip */
.trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 22px;
    padding: 0;
}

.trust-strip li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--color-success);
    background: var(--color-success-soft);
    padding: 6px 12px;
    border-radius: 999px;
}

.trust-strip svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* Hero visual card */
.hero-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--color-border-soft);
    position: relative;
}

.hero-card-visual {
    display: flex;
    justify-content: center;
    margin: -6px 0 14px;
}

.hero-card-visual img {
    width: min(200px, 72%);
    height: auto;
    max-height: 140px;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(21, 70, 122, 0.12));
}

.hero-card::before {
    content: "";
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(21, 70, 122, 0.06), rgba(245, 158, 11, 0.06));
    z-index: -1;
}

.hero-card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-card-title::before {
    content: "";
    width: 32px;
    height: 2px;
    background: var(--color-primary);
}

.topic-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.topic-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--color-bg-soft);
    border-radius: var(--radius-md);
    font-weight: 500;
    color: var(--color-text);
    transition: transform 0.15s ease, background 0.2s ease;
}

.topic-list li:hover {
    background: var(--color-primary-soft);
    transform: translateX(3px);
}

.topic-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 9px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 14px;
    box-shadow: var(--shadow-sm);
}

/* ---------- Sections common ---------- */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--color-bg-alt);
}

.section-head {
    text-align: center;
    margin-bottom: 50px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.section-eyebrow {
    display: inline-block;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 12px;
}

.section h2 {
    font-size: clamp(26px, 3.4vw, 36px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text);
    letter-spacing: -0.5px;
    margin-bottom: 14px;
}

.section-sub {
    font-size: 17px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

#hinweis .hinweis-lead {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

#hinweis .hinweis-lead + .hinweis-lead {
    margin-top: 1rem;
}

/* ---------- Topic cards (6) ---------- */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.topic-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
}

.topic-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary-soft);
}

.topic-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.topic-card-icon svg {
    width: 24px;
    height: 24px;
}

.topic-card h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-text);
    letter-spacing: -0.2px;
}

.topic-card p {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.55;
    margin-bottom: 16px;
}

.topic-card ul {
    border-top: 1px dashed var(--color-border);
    padding-top: 16px;
    margin-top: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
}

.topic-card ul li {
    font-size: 13.5px;
    color: var(--color-text);
    padding-left: 18px;
    position: relative;
    line-height: 1.4;
}

.topic-card ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-primary-soft);
    border: 2px solid var(--color-primary);
}

/* ---------- Benefits (Warum) ---------- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.benefit-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: left;
    border: 1px solid var(--color-border);
}

.benefit-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 16px;
}

.benefit-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-text);
}

.benefit-card p {
    font-size: 14.5px;
    color: var(--color-text-muted);
    line-height: 1.55;
}

/* ---------- Process steps ---------- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
}

.step-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    border: 1px solid var(--color-border);
    position: relative;
}

.step-num {
    position: absolute;
    top: -16px;
    left: 24px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--color-primary), #2b6cb0);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 17px;
    box-shadow: var(--shadow-md);
}

.step-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 14px 0 8px;
    color: var(--color-text);
}

.step-card p {
    font-size: 14.5px;
    color: var(--color-text-muted);
    line-height: 1.55;
}

/* ---------- Notice section ---------- */
.notice {
    background: var(--color-bg-soft);
    border-left: 5px solid var(--color-primary);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    box-shadow: var(--shadow-sm);
}

.notice h2 {
    color: var(--color-text);
    font-size: 24px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.notice-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--color-primary-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
}

.notice p {
    color: var(--color-text-muted);
    font-size: 15.5px;
    line-height: 1.7;
}

/* ---------- Final CTA ---------- */
.cta-final {
    background:
        radial-gradient(ellipse at top right, rgba(43, 108, 176, 0.35) 0%, transparent 60%),
        radial-gradient(ellipse at bottom left, rgba(245, 158, 11, 0.20) 0%, transparent 60%),
        linear-gradient(135deg, var(--color-bg-dark) 0%, #1a2c47 100%);
    color: #fff;
    padding: 90px 0;
    text-align: center;
}

.cta-final h2 {
    color: #fff;
    font-size: clamp(26px, 3.4vw, 36px);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.cta-final p.section-sub {
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 30px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.cta-final .btn {
    margin-bottom: 18px;
}

.cta-final .price-line {
    color: #fff;
    font-size: 15px;
}

.cta-final .price-note {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    border-radius: 999px;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 22px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cta-badge::before {
    content: "";
    width: 7px;
    height: 7px;
    background: var(--color-accent);
    border-radius: 50%;
}

/* ---------- Footer ---------- */
.site-footer {
    background: #0c1623;
    color: rgba(255, 255, 255, 0.72);
    padding: 64px 0 28px;
    font-size: 14.5px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .brand-name {
    color: #fff;
    font-size: 22px;
}

.footer-brand .brand-tagline {
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
}

.footer-brand .brand-mark {
    box-shadow: 0 6px 16px rgba(43, 108, 176, 0.35);
}

.footer-brand-text {
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.6;
    max-width: 380px;
}

.footer-col h4 {
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
    font-weight: 600;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a,
.footer-col button {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: 14.5px;
    font-family: inherit;
    padding: 0;
    text-align: left;
}

.footer-col a:hover,
.footer-col button:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-contact-line {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}

.footer-contact-line strong {
    color: #fff;
    font-weight: 600;
}

.footer-disclaimer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    background: #fff;
    border-top: 1px solid var(--color-border);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -10px 28px rgba(15, 27, 45, 0.14);
}

.mobile-cta-link {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 13px 16px;
    background: linear-gradient(135deg, var(--color-accent) 0%, #fb923c 100%);
    color: #1a1a1a;
    border-radius: 14px;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
    transition: transform 0.15s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

.mobile-cta-link:hover,
.mobile-cta-link:active {
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(245, 158, 11, 0.45);
}

.mobile-cta-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    flex-shrink: 0;
}

.mobile-cta-icon::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    animation: ring-pulse 2s ease-out infinite;
}

.mobile-cta-icon svg {
    width: 22px;
    height: 22px;
    position: relative;
    z-index: 1;
}

.mobile-cta-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    flex: 1;
    min-width: 0;
}

.mobile-cta-label {
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6b3a02;
}

.mobile-cta-number {
    font-size: 21px;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.3px;
    white-space: nowrap;
}

.mobile-cta-arrow {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mobile-cta-arrow svg {
    width: 16px;
    height: 16px;
    color: #1a1a1a;
}

.mobile-cta-note {
    text-align: center;
    font-size: 11.5px;
    color: var(--color-text-muted);
    margin-top: 6px;
    font-weight: 500;
}

/* ---------- Floating desktop CTA ---------- */
.float-cta {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 80;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: #fff;
    padding: 14px 16px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--color-border);
    max-width: 220px;
}

.float-cta .btn {
    padding: 12px 22px;
    font-size: 15px;
    width: 100%;
}

.float-cta-note {
    font-size: 11.5px;
    color: var(--color-text-muted);
    text-align: center;
    line-height: 1.35;
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 200;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--color-border);
    padding: 12px 16px;
    max-width: 400px;
    display: none;
}

.cookie-banner.is-visible {
    display: block;
}

.cookie-banner h3 {
    font-size: 14px;
    margin-bottom: 4px;
    color: var(--color-text);
}

.cookie-banner p {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-bottom: 10px;
    line-height: 1.4;
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.cookie-actions .btn {
    padding: 6px 10px;
    font-size: 12px;
    flex: 1 1 auto;
}

.cookie-btn-secondary {
    background: var(--color-bg-soft);
    color: var(--color-text);
}

.cookie-btn-secondary:hover {
    background: var(--color-border);
}

.cookie-link {
    font-size: 11px;
    color: var(--color-text-muted);
}

.cookie-link a {
    color: var(--color-primary);
}

/* Cookie settings modal */
.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 300;
    background: rgba(15, 27, 45, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal.is-visible {
    display: flex;
}

.cookie-modal-inner {
    background: #fff;
    border-radius: var(--radius-lg);
    max-width: 560px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px;
    box-shadow: var(--shadow-xl);
}

.cookie-modal h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.cookie-modal > p {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    line-height: 1.55;
}

.cookie-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-top: 1px solid var(--color-border);
}

.cookie-row:last-of-type {
    border-bottom: 1px solid var(--color-border);
}

.cookie-row h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.cookie-row p {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.cookie-modal-actions {
    margin-top: 22px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-modal-actions .btn {
    flex: 1 1 auto;
}

/* Switch */
.switch {
    position: relative;
    width: 46px;
    height: 26px;
    flex-shrink: 0;
    margin-top: 2px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    inset: 0;
    background: #cbd5e0;
    border-radius: 999px;
    transition: background 0.2s ease;
    cursor: pointer;
}

.switch-slider::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.switch input:checked + .switch-slider {
    background: var(--color-primary);
}

.switch input:checked + .switch-slider::before {
    transform: translateX(20px);
}

.switch input:disabled + .switch-slider {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ---------- Legal pages ---------- */
.legal-hero {
    background: linear-gradient(180deg, #ffffff 0%, var(--color-bg) 100%);
    padding: 50px 0 30px;
    border-bottom: 1px solid var(--color-border);
}

.legal-hero h1 {
    font-size: clamp(28px, 3.6vw, 38px);
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.legal-hero p {
    color: var(--color-text-muted);
    font-size: 15.5px;
}

.legal {
    padding: 50px 0 80px;
}

.legal-content {
    max-width: 820px;
    margin: 0 auto;
    background: #fff;
    padding: 44px 48px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.legal-content h2 {
    font-size: 22px;
    margin: 32px 0 12px;
    color: var(--color-text);
    letter-spacing: -0.3px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 17px;
    margin: 22px 0 8px;
    color: var(--color-text);
}

.legal-content p,
.legal-content li {
    font-size: 15px;
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 12px;
}

.legal-content ul,
.legal-content ol {
    padding-left: 20px;
    margin-bottom: 16px;
}

.legal-content ul li,
.legal-content ol li {
    list-style: disc;
    margin-bottom: 6px;
}

.legal-content ol li {
    list-style: decimal;
}

.legal-content a {
    color: var(--color-primary);
    word-break: break-word;
}

.legal-content .data-block {
    background: var(--color-bg-soft);
    border-radius: var(--radius-md);
    padding: 18px 22px;
    margin: 14px 0 18px;
    font-size: 14.5px;
    line-height: 1.7;
}

.legal-content .data-block strong {
    display: inline-block;
    min-width: 130px;
}

.legal-content .highlight {
    background: #fff7ed;
    border-left: 3px solid var(--color-accent);
    padding: 14px 18px;
    border-radius: 6px;
    font-size: 14.5px;
    color: #7c4a03;
    margin: 16px 0;
    line-height: 1.6;
}

.back-home {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 30px;
    padding: 10px 18px;
    background: var(--color-bg-soft);
    border-radius: 8px;
    font-size: 14px;
    color: var(--color-text);
}

.back-home:hover {
    background: var(--color-border);
    text-decoration: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .topics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 720px) {
    .main-nav {
        position: absolute;
        top: 100%;
        right: 16px;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 22px;
        border-radius: var(--radius-md);
        border: 1px solid var(--color-border);
        box-shadow: var(--shadow-lg);
        gap: 14px;
        min-width: 200px;
        display: none;
    }

    .main-nav.is-open {
        display: flex;
    }

    .nav-toggle {
        display: inline-flex;
    }

    /* Header móvil: botón de llamada SIEMPRE visible, compacto */
    .header-inner {
        padding: 10px 0;
    }

    .header-cta .btn {
        padding: 10px 14px;
        font-size: 14px;
        gap: 6px;
    }

    .header-cta .btn .btn-phone-icon {
        width: 17px;
        height: 17px;
    }

    .hero {
        padding: 28px 0 50px;
    }

    /* En móvil: contenido del hero compacto + CTA arriba; la tarjeta de temas se ve DESPUÉS */
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hero-content {
        order: 1;
    }

    .hero-card {
        order: 2;
        padding: 22px 20px;
    }

    .hero-badge {
        margin-bottom: 16px;
        font-size: 12px;
        padding: 5px 11px;
    }

    .hero h1 {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 14px;
    }

    .hero-sub {
        font-size: 15.5px;
        margin-bottom: 22px;
    }

    .hero-cta-wrap .btn {
        align-self: stretch;
        width: 100%;
    }

    .btn-call {
        padding: 14px 18px;
        gap: 12px;
        justify-content: flex-start;
    }

    .btn-call .btn-call-pulse {
        width: 36px;
        height: 36px;
    }

    .btn-call .btn-call-number {
        font-size: 19px;
    }

    .btn-call .btn-call-label {
        font-size: 12px;
    }

    .trust-strip {
        gap: 6px 10px;
        margin-top: 18px;
    }

    .trust-strip li {
        font-size: 12.5px;
        padding: 5px 10px;
    }

    .hero-disclaimer {
        font-size: 12.5px;
        padding: 10px 14px;
        margin-top: 18px;
    }

    .section {
        padding: 48px 0;
    }

    .section-head {
        margin-bottom: 32px;
    }

    .topics-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .topic-card {
        padding: 22px 20px;
    }

    .topic-card ul {
        grid-template-columns: 1fr 1fr;
    }

    .benefit-card,
    .step-card {
        padding: 22px 20px;
    }

    .notice {
        padding: 24px 20px;
    }

    .notice h2 {
        font-size: 20px;
    }

    .legal-content {
        padding: 28px 22px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .mobile-cta {
        display: block;
    }

    .float-cta {
        display: none;
    }

    .cta-final {
        padding: 56px 0 80px;
    }

    .cta-final .btn-call {
        width: 100%;
        justify-content: flex-start;
    }

    /* Espacio para el sticky bottom CTA — aprox. 86px + safe-area */
    body {
        padding-bottom: 96px;
    }
}

@media (max-width: 480px) {
    .header-inner {
        gap: 8px;
    }

    .brand-tagline {
        display: none;
    }

    .brand-name {
        font-size: 17px;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    /* En pantallas muy pequeñas: el texto "Anrufen" se oculta, queda solo el icono pero como botón claro */
    .header-call .header-call-text {
        display: none;
    }

    .header-call {
        padding: 10px 12px;
    }

    .hero h1 {
        font-size: 25px;
    }

    .hero-card-title {
        font-size: 13px;
    }

    .topic-list li {
        padding: 12px 14px;
        font-size: 14.5px;
    }

    .topic-card ul {
        grid-template-columns: 1fr;
    }

    .mobile-cta-link {
        padding: 12px 14px;
        gap: 12px;
    }

    .mobile-cta-icon {
        width: 40px;
        height: 40px;
    }

    .mobile-cta-number {
        font-size: 19px;
    }

    .cookie-banner {
        left: 10px;
        right: 10px;
        padding: 10px 12px;
    }
}

/* On desktop the floating CTA is shown, on mobile hidden */
@media (min-width: 721px) {
    .mobile-cta {
        display: none !important;
    }
}

/* ---------- Immediate Call Popup ---------- */
.call-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(15, 27, 45, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.call-popup-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.call-popup-box {
    background: #fff;
    width: 100%;
    max-width: 440px;
    border-radius: var(--radius-xl);
    padding: 40px 32px 32px;
    position: relative;
    text-align: center;
    box-shadow: var(--shadow-xl);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.call-popup-overlay.is-active .call-popup-box {
    transform: translateY(0) scale(1);
}

.call-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-bg-soft);
    color: var(--color-text-muted);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background 0.2s, color 0.2s;
}

.call-popup-close:hover {
    background: var(--color-border);
    color: var(--color-text);
}

.call-popup-icon {
    width: 64px;
    height: 64px;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.call-popup-icon svg {
    width: 32px;
    height: 32px;
}

.call-popup-box h3 {
    font-size: 22px;
    color: var(--color-text);
    margin-bottom: 12px;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

.call-popup-box p {
    font-size: 15px;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    line-height: 1.5;
}

.call-popup-btn {
    font-size: 18px;
    padding: 16px;
    margin-bottom: 12px;
}

.call-popup-note {
    font-size: 12px;
    color: var(--color-text-light);
}
