/* ── Lokale Fonts (DSGVO-konform, keine Google-Fonts-CDN) ─────────────── */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300; font-display: swap; src: url('fonts/inter-300.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/inter-700.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/inter-800.woff2') format('woff2'); }

/* ── Zitzelsberger Design System ────────────────────────────────────── */
:root {
    --primary: #00A7B7;
    --primary-dark: #008fa0;
    --secondary: #0c4da2;
    --secondary-dark: #0a3f87;
    --white: #ffffff;
    --light: #f4f8fb;
    --gray: #6b7280;
    --dark: #1a2332;
    --text: #2d3748;
    --border: #e2e8f0;
    --shadow: 0 4px 24px rgba(0,0,0,0.10);
    --shadow-lg: 0 8px 48px rgba(0,0,0,0.15);
    --radius: 10px;
    --radius-lg: 18px;
    --transition: all 0.28s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ──────────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* ── Header ─────────────────────────────────────────────────────────── */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: 72px;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    transition: var(--transition);
}
.header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 72px;
}
.logo img { height: 46px; }
.nav {
    display: flex; gap: 4px;
}
.nav li a {
    padding: 8px 16px; border-radius: 8px;
    font-size: 0.9rem; font-weight: 500; color: var(--dark);
    transition: var(--transition);
}
.nav li a:hover { background: var(--light); color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.phone-link {
    font-size: 0.88rem; font-weight: 600; color: var(--dark);
    display: none;
}
@media (min-width: 1024px) { .phone-link { display: block; } }

/* Hamburger */
.hamburger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
    width: 24px; height: 2px; background: var(--dark);
    transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
    .nav { display: none; }
    .hamburger { display: flex; }
    .phone-link { display: none !important; }
}

/* Mobile Nav */
.mobile-nav {
    position: fixed; top: 72px; left: 0; right: 0; z-index: 999;
    background: var(--white); padding: 16px 24px;
    box-shadow: var(--shadow);
    transform: translateY(-110%); transition: var(--transition);
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav a {
    display: block; padding: 12px 0;
    font-weight: 500; color: var(--dark);
    border-bottom: 1px solid var(--border);
}

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 28px; border-radius: var(--radius);
    font-family: inherit; font-size: 0.95rem; font-weight: 600;
    cursor: pointer; border: 2px solid transparent;
    transition: var(--transition); text-align: center;
}
.btn-sm { padding: 8px 20px; font-size: 0.88rem; }
.btn-lg { padding: 17px 36px; font-size: 1rem; }
.btn-primary {
    background: var(--primary); color: var(--white); border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,167,183,0.3); }
.btn-outline {
    background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-white {
    background: var(--white); color: var(--primary); border-color: var(--white);
}
.btn-white:hover { background: var(--light); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero {
    position: relative; min-height: 100vh; padding-top: 72px;
    display: flex; align-items: center;
    overflow: hidden;
}
.hero-video {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: 0;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0,167,183,0.88) 0%, rgba(0,143,160,0.82) 40%, rgba(26,35,50,0.9) 100%);
    z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 720px; padding: 60px 0; }
.hero-content .section-label { color: rgba(255,255,255,0.7); }
.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800;
    color: var(--white); line-height: 1.15; margin: 16px 0 20px;
}
.hero-accent { color: rgba(255,255,255,0.85); font-weight: 300; }
.hero-subtitle {
    font-size: 1.15rem; color: rgba(255,255,255,0.85);
    max-width: 560px; margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 40px; }
.stat { text-align: center; }
.stat-number { display: block; font-size: 1.6rem; font-weight: 800; color: var(--white); }
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.05em; }

/* ── Sections ───────────────────────────────────────────────────────── */
.section { padding: 88px 0; }
.section--light { background: var(--light); }
.section--dark { background: var(--primary); }
.section--primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #006d78 100%);
}
.section-label {
    font-size: 0.78rem; font-weight: 700; color: var(--primary);
    text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 8px;
}
.section-title {
    font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 800;
    color: var(--dark); line-height: 1.2; margin-bottom: 12px;
}
.section-subtitle {
    font-size: 1.05rem; color: var(--gray); max-width: 600px; margin-bottom: 48px;
}

/* ── Grids ──────────────────────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 1024px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3 { grid-template-columns: 1fr; } }

/* ── Pain Cards ─────────────────────────────────────────────────────── */
.pain-card {
    background: var(--white); padding: 32px; border-radius: var(--radius-lg);
    border: 1px solid var(--border); transition: var(--transition);
}
.pain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary); }
.pain-icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: var(--primary); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}
.pain-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.pain-card p { font-size: 0.95rem; color: var(--gray); }

/* ── Service Cards ──────────────────────────────────────────────────── */
.card {
    background: var(--white); padding: 36px; border-radius: var(--radius-lg);
    border: 1px solid var(--border); text-align: center;
    transition: var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.card-icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: var(--primary); color: var(--white);
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}
.card-icon svg { stroke: var(--white) !important; width: 28px; height: 28px; }
.card h3 { font-size: 1.2rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.card p { font-size: 0.95rem; color: var(--gray); }

/* ── Video Section ──────────────────────────────────────────────────── */
.video-wrapper {
    max-width: 900px; margin: 0 auto;
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative; padding-bottom: 56.25%; height: 0;
}
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* ── Process Timeline ───────────────────────────────────────────────── */
.process-timeline { max-width: 700px; margin: 0 auto; }
.process-step {
    display: flex; gap: 24px; margin-bottom: 40px;
    position: relative;
}
.process-step:not(:last-child)::after {
    content: ''; position: absolute; left: 27px; top: 56px; bottom: -40px;
    width: 2px; background: var(--border);
}
.step-number {
    width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
    background: var(--primary); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; font-weight: 800;
}
.step-content h3 { font-size: 1.2rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.step-content p { font-size: 0.95rem; color: var(--gray); margin-bottom: 6px; }

/* ── Benefit Cards ──────────────────────────────────────────────────── */
.benefit-card {
    text-align: center; padding: 40px 28px;
    background: var(--white); border-radius: var(--radius-lg);
    border: 1px solid var(--border); transition: var(--transition);
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary); }
.benefit-icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: var(--primary); color: var(--white);
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}
.benefit-icon svg { stroke: var(--white) !important; width: 28px; height: 28px; }
.benefit-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.benefit-card p { font-size: 0.95rem; color: var(--gray); }

/* ── Testimonials ───────────────────────────────────────────────────── */
.testimonial-card {
    background: var(--white); padding: 32px; border-radius: var(--radius-lg);
    border: 1px solid var(--border); transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.testimonial-stars { color: #f59e0b; font-size: 1.2rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-text {
    font-size: 0.98rem; color: var(--text); line-height: 1.7;
    margin-bottom: 20px; font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(0,167,183,0.1); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.85rem;
}
.testimonial-author strong { display: block; font-size: 0.95rem; color: var(--dark); }
.testimonial-author span { font-size: 0.82rem; color: var(--gray); }

/* ── Contact Form ───────────────────────────────────────────────────── */
.contact-form {
    max-width: 800px; margin: 0 auto;
    background: rgba(255,255,255,0.08); backdrop-filter: blur(8px);
    padding: 40px; border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.15);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block; font-size: 0.88rem; font-weight: 600; color: var(--white);
    margin-bottom: 6px;
}
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 12px 16px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: var(--radius);
    color: var(--white); font-family: inherit; font-size: 0.95rem;
    transition: var(--transition);
}
.form-group input::placeholder, .form-group textarea::placeholder {
    color: rgba(255,255,255,0.45);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: var(--white);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.18);
}

/* Checkboxes */
.checkbox-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
@media (max-width: 640px) { .checkbox-grid { grid-template-columns: 1fr; } }
.checkbox-label {
    display: flex; align-items: center; gap: 10px;
    cursor: pointer; font-size: 0.9rem; color: rgba(255,255,255,0.9);
    padding: 8px 12px; border-radius: 8px;
    transition: var(--transition);
}
.checkbox-label:hover { background: rgba(255,255,255,0.08); }
.checkbox-label input[type="checkbox"] {
    width: 18px; height: 18px; accent-color: var(--white);
    flex-shrink: 0;
}
.form-privacy { margin-top: 8px; }
.form-privacy a { color: var(--white); text-decoration: underline; }
.btn-submit { width: 100%; margin-top: 8px; }

/* Form Success */
.form-success { text-align: center; padding: 40px; }
.success-icon { margin-bottom: 20px; }
.form-success h3 { font-size: 1.5rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.form-success p { font-size: 1.05rem; color: rgba(255,255,255,0.85); }

/* ── Footer ─────────────────────────────────────────────────────────── */
.footer { background: #0d1520; padding: 64px 0 24px; color: rgba(255,255,255,0.6); }
.footer-grid {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
    margin-bottom: 40px;
}
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { margin: 12px 0 20px; font-size: 0.92rem; }
.social-links { display: flex; gap: 10px; }
.social-links a {
    width: 36px; height: 36px; border-radius: 8px;
    background: rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.6); transition: var(--transition);
}
.social-links a:hover { background: var(--primary); color: var(--white); }
.footer-col h4 { font-size: 0.95rem; font-weight: 700; color: var(--white); margin-bottom: 16px; }
.footer-col li { margin-bottom: 8px; font-size: 0.88rem; }
.footer-col a { transition: var(--transition); }
.footer-col a:hover { color: var(--primary); padding-left: 4px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px;
    font-size: 0.82rem; text-align: center;
}

/* ── Animations ─────────────────────────────────────────────────────── */
.fade-in {
    opacity: 0; transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── Zusaetzlicher Button-Stil: Primary-Outline (Header-CTA-Differenzierung) ── */
.btn-primary-outline {
    background: var(--white); color: var(--primary); border-color: var(--primary);
}
.btn-primary-outline:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,167,183,0.25); }

/* Header-CTA-Buttons: Text nicht umbrechen (sonst werden Buttons hoeher) */
.header-actions .btn { white-space: nowrap; flex-shrink: 0; }

/* ── Cookie-Consent-Banner (TDDDG-konform, gleichwertiger Ablehnen-Button) ── */
#zb-consent-banner {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 10000;
    background: #0d1520; color: rgba(255,255,255,0.92);
    border-top: 3px solid var(--primary);
    box-shadow: 0 -8px 40px rgba(0,0,0,0.3);
    padding: 20px 0;
    font-family: 'Inter', system-ui, sans-serif;
}
#zb-consent-banner .zb-consent-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
#zb-consent-banner .zb-consent-text strong { display: block; font-size: 0.95rem; margin-bottom: 6px; color: #fff; }
#zb-consent-banner .zb-consent-text p { font-size: 0.82rem; line-height: 1.55; color: rgba(255,255,255,0.75); margin: 0; }
#zb-consent-banner .zb-consent-text a { color: var(--primary); text-decoration: underline; }
#zb-consent-banner .zb-consent-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
#zb-consent-banner .zb-btn { padding: 11px 22px; border-radius: 8px; font-size: 0.88rem; font-weight: 600; border: none; cursor: pointer; font-family: inherit; transition: transform 0.15s, box-shadow 0.15s; min-width: 150px; text-align: center; }
#zb-consent-banner .zb-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,0.25); }
#zb-consent-banner .zb-btn-accept { background: var(--primary); color: #fff; }
#zb-consent-banner .zb-btn-decline { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.25); }
#zb-consent-banner .zb-btn-link { background: transparent; color: rgba(255,255,255,0.7); border: none; cursor: pointer; font-size: 0.82rem; text-decoration: underline; font-family: inherit; }
#zb-consent-banner .zb-btn-link:hover { color: #fff; }
@media (max-width: 720px) {
    #zb-consent-banner .zb-consent-inner { grid-template-columns: 1fr; }
    #zb-consent-banner .zb-consent-actions { justify-content: stretch; }
    #zb-consent-banner .zb-btn { flex: 1; min-width: 0; }
}

#zb-consent-modal { position: fixed; inset: 0; z-index: 10001; display: flex; align-items: center; justify-content: center; font-family: 'Inter', system-ui, sans-serif; }
#zb-consent-modal .zb-consent-modal-backdrop { position: absolute; inset: 0; background: rgba(13,21,32,0.7); backdrop-filter: blur(4px); cursor: pointer; }
#zb-consent-modal .zb-consent-modal-box { position: relative; background: #fff; color: var(--dark); max-width: 560px; width: calc(100% - 32px); max-height: 90vh; overflow-y: auto; border-radius: 16px; padding: 32px; box-shadow: 0 24px 60px rgba(0,0,0,0.4); }
#zb-consent-modal h3 { font-size: 1.3rem; font-weight: 700; color: var(--dark); margin: 0 0 10px; }
#zb-consent-modal .zb-consent-modal-box > p { font-size: 0.88rem; color: var(--gray); margin-bottom: 22px; line-height: 1.6; }
#zb-consent-modal .zb-consent-cat { border: 1px solid #e2e8f0; border-radius: 10px; padding: 16px; margin-bottom: 12px; }
#zb-consent-modal .zb-consent-cat label { display: flex; align-items: center; gap: 10px; font-size: 0.93rem; color: var(--dark); cursor: pointer; }
#zb-consent-modal .zb-consent-cat label span { font-size: 0.8rem; color: var(--gray); font-weight: 400; }
#zb-consent-modal .zb-consent-cat p { font-size: 0.8rem; color: var(--gray); margin: 8px 0 0 26px; line-height: 1.55; }
#zb-consent-modal .zb-consent-modal-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
#zb-consent-modal .zb-btn { padding: 11px 18px; border-radius: 8px; font-size: 0.86rem; font-weight: 600; border: none; cursor: pointer; font-family: inherit; flex: 1; min-width: 130px; }
#zb-consent-modal .zb-btn-decline { background: #f4f8fb; color: var(--dark); border: 1px solid #e2e8f0; }
#zb-consent-modal .zb-btn-accept { background: rgba(0,167,183,0.15); color: var(--primary-dark); }
#zb-consent-modal .zb-btn-accept-all { background: var(--primary); color: #fff; }

/* ── Video Click-to-Load Placeholder ─────────────────────────────────── */
.video-placeholder { position: relative; aspect-ratio: 16/9; background: linear-gradient(135deg, #2a3c4f, #1a2332); border-radius: 18px; overflow: hidden; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 32px; color: #fff; }
.video-placeholder h4 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.video-placeholder p { font-size: 0.9rem; color: rgba(255,255,255,0.75); max-width: 460px; margin: 0 auto 18px; line-height: 1.55; }
.video-placeholder a { color: var(--primary); text-decoration: underline; }
.video-placeholder .play-btn { background: var(--primary); color: #fff; border: none; padding: 12px 26px; border-radius: 10px; font-size: 0.95rem; font-weight: 700; cursor: pointer; margin-top: 4px; }
.video-placeholder .play-btn:hover { background: var(--primary-dark); }
.video-placeholder .play-icon { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; background: rgba(255,255,255,0.18); margin-bottom: 18px; }
.video-placeholder .play-icon svg { width: 24px; height: 24px; fill: #fff; margin-left: 3px; }
