/* ============================================
   Barrierefreies Bad - Modern Landing Page
   ============================================ */

:root {
    --primary: #1a56db;
    --primary-dark: #1340a8;
    --primary-light: #e8f0fe;
    --accent: #059669;
    --accent-light: #d1fae5;
    --dark: #0f172a;
    --dark-600: #1e293b;
    --dark-500: #334155;
    --gray-100: #f8fafc;
    --gray-200: #f1f5f9;
    --gray-300: #e2e8f0;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --white: #ffffff;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 40px -12px rgba(0,0,0,0.12);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.18);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

a:hover { color: var(--primary-dark); }

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    pointer-events: none;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    font-family: var(--font);
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1.4;
    white-space: nowrap;
}

.btn-sm { padding: 8px 20px; font-size: 14px; }
.btn-lg { padding: 16px 36px; font-size: 17px; }
.btn-full { width: 100%; justify-content: center; }

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}
.btn-white:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--primary);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
    color: var(--white);
}

/* ---- Navbar ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(255,255,255,0.97);
    box-shadow: var(--shadow-sm);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 150px;
}

.logo-img {
    height: 140px;
    width: auto;
    padding: 4px 0;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--dark);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.logo-text strong {
    font-weight: 800;
    color: var(--primary);
}

.logo-text .logo-dot {
    font-weight: 400;
    color: var(--gray-400);
}

.logo-text-light {
    color: rgba(255,255,255,0.9);
}

.logo-text-light strong {
    color: #60a5fa;
}

.logo-text-light .logo-dot {
    color: rgba(255,255,255,0.4);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--dark-500);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: -0.01em;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition);
}

.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-phone {
    font-weight: 600;
    font-size: 14px;
    color: var(--dark);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: all var(--transition);
    border-radius: 2px;
}

/* ---- Hero ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(26, 86, 219, 0.65) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    background: rgba(5, 150, 105, 0.15);
    color: #34d399;
    padding: 8px 20px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 24px;
    border: 1px solid rgba(52, 211, 153, 0.25);
    backdrop-filter: blur(8px);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, #60a5fa, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 36px;
    line-height: 1.7;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-trust {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    font-weight: 500;
}

.trust-item svg { stroke: #34d399; flex-shrink: 0; }

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

.section-light { background: var(--gray-100); }
.section-white { background: var(--white); }
.section-dark { background: var(--dark); color: var(--white); }

.section-gradient {
    background: linear-gradient(135deg, var(--dark) 0%, #1e3a6e 50%, var(--primary-dark) 100%);
    color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.section-tag-light {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.9);
}

.section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.section-header-light h2 { color: var(--white); }

.section-desc {
    color: var(--gray-500);
    font-size: 1.1rem;
    max-width: 580px;
    margin: 0 auto;
}

.section-header-light .section-desc {
    color: rgba(255,255,255,0.7);
}

/* ---- Steps ---- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.step-card {
    text-align: center;
    padding: 32px 20px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow);
    position: relative;
    transition: all var(--transition);
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 8px auto 16px;
    color: var(--primary);
}

.step-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.5;
}

/* ---- Services ---- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: all var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.service-img-wrapper {
    height: 220px;
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-img {
    transform: scale(1.08);
}

.service-body {
    padding: 28px;
    position: relative;
}

.service-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
}

.service-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-body p {
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-badge {
    display: inline-block;
    margin-top: 12px;
    background: var(--accent-light);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}

/* ---- Conversion Form Embed ---- */
.form-embed-wrapper {
    max-width: 640px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: var(--white);
}

.form-embed-wrapper .card {
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.form-embed-wrapper .card-body {
    padding: 32px 28px;
}

.form-embed-wrapper .card-footer {
    background: var(--gray-100);
    border-top: 1px solid var(--gray-200);
    padding: 16px;
    font-size: 13px;
}

/* ---- Before/After Gallery ---- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);
}

.ba-compare {
    position: relative;
    overflow: hidden;
    aspect-ratio: 7/10;
}

.ba-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: col-resize;
    user-select: none;
}

.ba-before, .ba-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ba-after {
    clip-path: inset(0 50% 0 0);
}

.ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: var(--white);
    transform: translateX(-50%);
    z-index: 10;
    box-shadow: 0 0 8px rgba(0,0,0,0.3);
}

.ba-handle::before {
    content: '\2194';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--dark);
    box-shadow: var(--shadow-lg);
}

.ba-compare::before,
.ba-compare::after {
    position: absolute;
    top: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--white);
    background: rgba(0,0,0,0.5);
    padding: 4px 10px;
    border-radius: 6px;
    z-index: 5;
    pointer-events: none;
}

.ba-compare::before {
    content: attr(data-after);
    left: 12px;
}

.ba-compare::after {
    content: attr(data-before);
    right: 12px;
}

.gallery-caption {
    padding: 16px 20px;
    font-size: 0.9rem;
    color: var(--gray-600);
    font-weight: 500;
    text-align: center;
}

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

.benefit-card {
    padding: 32px;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    transition: all var(--transition);
}

.benefit-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
}

.benefit-icon {
    width: 52px;
    height: 52px;
    background: rgba(96,165,250,0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #60a5fa;
}

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

.benefit-card p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
}

/* ---- Testimonials ---- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    padding: 32px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 0.95rem;
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--gray-400);
}

/* ---- CTA ---- */
.section-cta {
    background: linear-gradient(135deg, var(--primary) 0%, #2563eb 50%, var(--accent) 100%);
    padding: 80px 0;
}

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

.cta-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--white);
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-content p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---- Contact ---- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    align-items: start;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-item svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item strong {
    display: block;
    margin-bottom: 4px;
}

.contact-item a {
    color: var(--dark);
    font-weight: 500;
}

.contact-item a:hover { color: var(--primary); }

.contact-form {
    background: var(--gray-100);
    padding: 36px;
    border-radius: var(--radius-lg);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: var(--font);
    background: var(--white);
    transition: all var(--transition);
    color: var(--dark);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

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

.form-status {
    margin-top: 16px;
    text-align: center;
    font-weight: 500;
    font-size: 14px;
}

.form-status.success { color: var(--accent); }
.form-status.error { color: #ef4444; }

/* ---- Footer ---- */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 64px 0 32px;
}

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

.footer-logo {
    height: 100px;
    margin-bottom: 24px;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.footer-links a,
.footer-contact a {
    display: block;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    margin-bottom: 10px;
    transition: color var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
}

.footer-note {
    margin-top: 8px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

/* ---- Animations ---- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta .nav-phone { display: none; }
    .hamburger { display: flex; }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 150px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow-lg);
        border-bottom: 1px solid var(--gray-200);
    }

    .hero { min-height: auto; padding: 120px 0 60px; }
    .hero h1 { font-size: 2rem; }
    .hero-actions { flex-direction: column; }
    .hero-trust { flex-direction: column; gap: 12px; }

    .section { padding: 60px 0; }
    .section-header { margin-bottom: 40px; }

    .steps-grid { grid-template-columns: 1fr; gap: 16px; }
    .services-grid { grid-template-columns: 1fr; }
    .benefits-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }

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

    .conversion-form-iframe { height: 600px; }

    .cta-actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero h1 { font-size: 1.75rem; }
    .btn-lg { padding: 14px 28px; font-size: 16px; }
    .contact-form { padding: 24px; }
}

/* ============================================
   Unterseiten (Impressum, Datenschutz, Danke)
   ============================================ */

/* ---- Seitenkopf statt Hero ---- */
.page-hero {
    background: linear-gradient(135deg, var(--dark) 0%, #1e3a6e 50%, var(--primary-dark) 100%);
    color: var(--white);
    /* 150px Navbar-Höhe + Abstand */
    padding: 200px 0 64px;
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 12px;
}

.page-hero p {
    color: rgba(255,255,255,0.72);
    font-size: 1.05rem;
    max-width: 620px;
    margin: 0 auto;
}

/* ---- Fließtext-/Rechtstext-Seiten ---- */
.legal {
    max-width: 860px;
}

.legal h2 {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.3;
    margin: 56px 0 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-300);
    scroll-margin-top: 170px;
}

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

.legal h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-600);
    margin: 34px 0 10px;
}

.legal h4 {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--dark-500);
    margin: 24px 0 8px;
}

.legal p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 14px;
}

.legal ul {
    margin: 0 0 16px 22px;
    color: var(--gray-600);
    font-size: 0.95rem;
}

.legal li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.legal address {
    font-style: normal;
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.9;
    margin-bottom: 14px;
}

.legal a {
    /* lange URLs dürfen umbrechen statt das Layout zu sprengen */
    overflow-wrap: anywhere;
}

/* Hervorgehobener Rechtshinweis (z. B. Widerspruchsrecht) */
.legal-note {
    background: var(--gray-100);
    border-left: 3px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 18px 22px;
    font-size: 0.85rem;
    line-height: 1.7;
}

/* Karte für abgesetzte Blöcke (Anbieterangaben) */
.legal-card {
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    margin-bottom: 8px;
}

.legal-card h2 { margin-top: 0; }
.legal-card h3 { margin-top: 20px; }
.legal-card > *:last-child { margin-bottom: 0; }

/* Inhaltsverzeichnis */
.legal-toc {
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 24px 28px 8px;
    margin-bottom: 48px;
}

.legal-toc h2 {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-500);
    border: none;
    margin: 0 0 12px;
    padding: 0;
}

.legal-toc ol {
    margin: 0;
    padding-left: 20px;
    columns: 2;
    column-gap: 32px;
}

.legal-toc li {
    font-size: 0.9rem;
    margin-bottom: 8px;
    break-inside: avoid;
    color: var(--gray-500);
}

.legal-back {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-300);
    font-weight: 600;
}

/* ---- Danke-Seite ---- */
.thanks-section {
    /* 150px Navbar-Höhe + Abstand */
    padding: 200px 0 100px;
}

.thanks-card {
    max-width: 640px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 56px 48px;
    text-align: center;
}

.thanks-icon {
    width: 84px;
    height: 84px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.thanks-card h1 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 16px;
}

.thanks-lead {
    color: var(--gray-600);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.thanks-lead strong { color: var(--dark); }

.thanks-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: left;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    margin-bottom: 32px;
    font-size: 0.95rem;
    color: var(--gray-600);
}

.thanks-phone svg { color: var(--primary); flex-shrink: 0; }
.thanks-phone strong { display: block; color: var(--dark); }
.thanks-phone a { font-weight: 700; white-space: nowrap; }

.thanks-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .page-hero { padding: 180px 0 48px; }
    .legal h2 { margin-top: 40px; font-size: 1.3rem; }
    .legal-toc ol { columns: 1; }
    .thanks-section { padding: 180px 0 60px; }
    .thanks-card { padding: 40px 24px; }
    .thanks-phone { flex-direction: column; text-align: center; gap: 10px; }
    .thanks-actions .btn { width: 100%; justify-content: center; }
}
