/* ==========================================
   WEBSAYDE DESIGN SYSTEM & STYLESHEET
   ========================================== */

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

:root {
    --bg-dark: #0f172a;
    --bg-darker: #080d1a;
    --bg-card: rgba(255, 255, 255, 0.04);
    --border-color: rgba(255, 255, 255, 0.1);
    --primary: #fbbf24;
    --primary-blue: #3b82f6;
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --success: #10b981;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

section {
    padding: 90px 0;
    position: relative;
    border-top: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.section-tag {
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* Header & Nav */
header {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
}

.logo span {
    color: var(--primary);
}

.nav-cta {
    background-color: var(--primary-blue);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.nav-cta:hover {
    background-color: #2563eb;
}

/* Hero Sektion */
.hero {
    padding: 100px 24px 110px;
    text-align: center;
    background: var(--bg-dark);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 6px 16px;
    border-radius: 99px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--success);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.text-gradient {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.25s ease;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: white;
}

.btn-primary:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: white;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

/* ==========================================
   100% ECHTE VOLLBREITE & SCROLL-STAPEL
   ========================================== */
.on-klick-section-full {
    background-color: #ffffff !important;
    color: #0f172a;
    width: 100vw !important;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    padding: 120px 0 180px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    box-sizing: border-box;
}

.on-klick-grid {
    width: 100%;
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 4vw;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 4vw;
    box-sizing: border-box;
}

.on-klick-left-sticky {
    flex: 1.2;
    position: sticky;
    top: 130px;
    display: flex;
    align-items: center;
    gap: 3vw;
}

.on-klick-content {
    flex: 1;
    max-width: 540px;
}

.on-klick-content .tagline {
    font-size: clamp(3rem, 4.5vw, 4.2rem);
    font-weight: 300;
    letter-spacing: -0.03em;
    color: #000;
    display: block;
    margin-bottom: 16px;
    line-height: 1;
}

.on-klick-content h2 {
    font-size: clamp(1.15rem, 1.6vw, 1.4rem);
    font-weight: 800;
    line-height: 1.35;
    color: #000;
    margin-bottom: 20px;
}

.on-klick-content .desc {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 14px;
}

.on-klick-content .desc-sub {
    font-size: 0.875rem;
    color: #64748b;
}

.vertical-divider-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-weight: 700;
    font-size: 1.15rem;
    color: #0f172a;
    white-space: nowrap;
    padding: 10px 0;
    border-right: 3px solid #cbd5e1;
    line-height: 1.5;
    letter-spacing: 0.02em;
}

.on-klick-right-scroll {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 460px;
    width: 100%;
    padding-bottom: 150px;
}

.scroll-stack-card {
    position: sticky;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 36px 32px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 260px;
    width: 100%;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-stack-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.card-step-1 { top: 130px; z-index: 1; }
.card-step-2 { top: 155px; z-index: 2; }
.card-step-3 { top: 180px; z-index: 3; }
.card-step-4 { top: 205px; z-index: 4; }
.card-step-5 { 
    top: 230px; 
    z-index: 5; 
    background: #0f172a !important; 
    color: #ffffff !important; 
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.card-num-side {
    font-size: 2rem;
    font-weight: 800;
    color: #94a3b8;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.card-inner-content h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.card-inner-content p {
    color: #64748b;
    font-size: 0.925rem;
    line-height: 1.5;
}

.card-icon-amber {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.dark-trophy-card h3 {
    color: #ffffff !important;
}

.dark-trophy-card p {
    color: #94a3b8 !important;
}

.trophy-emoji {
    font-size: 3.5rem;
    margin-bottom: 12px;
}

@media (max-width: 1024px) {
    .on-klick-grid {
        flex-direction: column;
        padding: 0 24px;
    }
    .on-klick-left-sticky {
        position: relative;
        top: 0;
        flex-direction: column;
        max-width: 100%;
        margin-bottom: 40px;
    }
    .vertical-divider-text {
        writing-mode: horizontal-tb;
        transform: none;
        border-right: none;
        border-bottom: 2px solid #e2e8f0;
        margin-bottom: 20px;
        width: 100%;
        text-align: center;
        font-size: 1rem;
        white-space: normal;
    }
    .on-klick-right-scroll {
        max-width: 100%;
        gap: 20px;
    }
    .scroll-stack-card {
        position: relative;
        top: 0 !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ==========================================
   3-SPALTEN BEREICH MIT STRICHEN
   ========================================== */
.three-col-section {
    background-color: #0b0f19;
    padding: 80px 0;
}

.three-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    align-items: stretch;
}

.three-col-item {
    padding: 0 40px;
    text-align: center;
    position: relative;
}

.three-col-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background-color: var(--border-color);
}

.col-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.three-col-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.ad-acta-box {
    text-align: center;
    max-width: 800px;
    margin: 60px auto 0;
    padding-top: 40px;
    border-top: 1px dashed var(--border-color);
}

.ad-acta-box h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.ad-acta-box p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

@media (max-width: 850px) {
    .three-col-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .three-col-item {
        padding: 0;
    }
    .three-col-item:not(:last-child)::after {
        display: none;
    }
}

/* ==========================================
   FULL-WIDTH PROMO BANNER
   ========================================== */
.promo-bg-section {
    background: linear-gradient(rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.88)), 
                url('../images/office-6.jpg') center/cover no-repeat;
    padding: 100px 0;
    text-align: center;
}

.promo-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 50px;
}

.promo-cards-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.promo-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 28px 20px;
    width: 220px;
    text-align: center;
}

.promo-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

.promo-card p {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.4;
}

/* ==========================================
   PREISE & INTERAKTIVER KONFIGURATOR
   ========================================== */
.pricing-section-full {
    background-color: #ffffff !important;
    color: #0f172a;
    width: 100vw !important;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    padding: 120px 0;
    border-top: 1px solid #e2e8f0;
    box-sizing: border-box;
}

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

.pricing-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.price-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    position: relative;
    border: 3px solid transparent;
    cursor: pointer;
}

.price-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
}

.price-card.active-package {
    border-color: #0f172a;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.15);
}

.starter-card {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    color: #ffffff;
}

.business-card {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    color: #ffffff;
}

.premium-card {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #0f172a;
}

.card-badge-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.price-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.price-amount {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.card-desc {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.5;
    min-height: 45px;
}

.btn-price {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    width: 100%;
}

.active-package .btn-price {
    background: #ffffff !important;
    color: #0f172a !important;
}

.premium-card .btn-price {
    background: #0f172a;
    color: #ffffff;
    border: none;
}

/* Konfigurator Zusatzbox */
.configurator-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.configurator-box h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.config-subtitle {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.config-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.config-checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.config-checkbox-item:hover {
    border-color: #94a3b8;
}

.config-checkbox-item input {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: #0f172a;
    cursor: pointer;
}

.config-label-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.config-label-text strong {
    font-size: 1rem;
    color: #0f172a;
}

.config-label-text span {
    font-size: 0.85rem;
    color: #64748b;
}

/* Live Total Bar */
.config-total-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0f172a;
    border-radius: 16px;
    padding: 24px 32px;
    color: #ffffff;
    flex-wrap: wrap;
    gap: 20px;
}

.total-left {
    display: flex;
    flex-direction: column;
}

.total-label {
    font-size: 0.875rem;
    color: #94a3b8;
}

.total-sum {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fbbf24;
    letter-spacing: -0.02em;
}

.btn-checkout {
    background-color: #3b82f6;
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 700;
}

.btn-checkout:hover {
    background-color: #2563eb;
}

/* Vergleichstabelle */
.comparison-table-wrapper {
    overflow-x: auto;
    background: #f8fafc;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    padding: 20px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.comparison-table th, 
.comparison-table td {
    padding: 18px 24px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 1rem;
}

.comparison-table th {
    font-weight: 800;
    color: #0f172a;
    background: #f1f5f9;
    border-radius: 10px;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    font-weight: 700;
    color: #334155;
}

.comparison-table td:not(:first-child),
.comparison-table th:not(:first-child) {
    text-align: center;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table .check {
    color: #10b981;
    font-weight: 900;
    font-size: 1.2rem;
}

.comparison-table .cross {
    color: #ef4444;
    font-weight: 900;
    font-size: 1.2rem;
}

@media (max-width: 900px) {
    .pricing-cards-grid {
        grid-template-columns: 1fr;
    }
    .config-total-bar {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
}

/* Info-Boxen & Zusatzpakete */
.info-section {
    background-color: var(--bg-dark);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.info-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 36px;
}

.info-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary);
}

.info-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

/* FAQ Akkordeon */
.faq-section {
    background-color: #0b0f19;
}

.faq-grid {
    max-width: 800px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: #fff;
    padding: 20px 24px;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

/* Auf- und Zuklappen: siehe Abschnitt „FAQ: weiches Auf- und Zuklappen“ weiter unten */

.faq-answer p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Footer */
footer {
    background-color: #060913;
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1.2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* ==========================================
   STARTSEITE: ZUSÄTZLICHE BEREICHE
   ========================================== */

/* Hauptmenü */
.main-nav {
    display: flex;
    gap: 28px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
}
.main-nav a:hover { color: #fff; }

.section-intro {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-top: 16px;
}

/* Text + Bild nebeneinander */
.intro-section { background-color: var(--bg-darker); }
.audience-section { background-color: var(--bg-dark); }

.split-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}
.split-reverse .split-text { order: 2; }
.split-reverse .split-image { order: 1; }

.split-text h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 24px;
}
.split-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 16px;
}
.split-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.check-list {
    list-style: none;
    margin: 0 0 20px;
    display: grid;
    gap: 10px;
}
.check-list li {
    position: relative;
    padding-left: 30px;
    color: #e2e8f0;
}
.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 800;
}

/* Baukasten-Nachteile: Zwischenüberschriften */
.three-col-item h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

/* Leistungen */
.features-section { background-color: #0b0f19; }
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    transition: transform 0.25s ease, border-color 0.25s ease;
}
.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(251, 191, 36, 0.4);
}
.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* FAQ zweispaltig */
.faq-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
    align-items: start;
    margin-top: 40px;
}
.faq-columns .faq-grid {
    max-width: none;
    margin: 0;
}
.faq-question span {
    color: var(--primary);
    font-size: 1.3rem;
    margin-left: 16px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}
.faq-item.active .faq-question span { transform: rotate(45deg); }
.faq-more {
    text-align: center;
    color: var(--text-muted);
    margin-top: 40px;
}
.faq-more a, .footer-col a:hover { color: var(--primary); }

.footer-col h4 span { color: var(--primary); }

@media (max-width: 1024px) {
    .main-nav { display: none; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 850px) {
    .split-grid { grid-template-columns: 1fr; gap: 36px; }
    .split-reverse .split-text, .split-reverse .split-image { order: 0; }
    .split-image img { max-height: 380px; }
    .faq-columns { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .feature-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .nav-cta { font-size: 0.85rem; padding: 8px 14px; }
}

/* ==========================================
   RECHTSSEITEN (Impressum, Datenschutz, AGB)
   ========================================== */
.legal-page { padding: 70px 0 90px; border-top: none; }
.legal-content { max-width: 820px; margin: 0 auto; overflow-wrap: break-word; hyphens: auto; }
.legal-content a { overflow-wrap: anywhere; }
.legal-content h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}
.legal-content .legal-stand { color: var(--text-muted); margin-bottom: 40px; }
.legal-content h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    margin: 40px 0 14px;
}
.legal-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #e2e8f0;
    margin: 24px 0 10px;
}
.legal-content p, .legal-content li {
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.75;
}
.legal-content p { margin-bottom: 14px; }
.legal-content ul, .legal-content ol { margin: 0 0 16px 22px; }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.legal-todo {
    background: rgba(251, 191, 36, 0.12);
    border: 1px dashed var(--primary);
    color: #fde68a;
    padding: 2px 6px;
    border-radius: 4px;
}

/* Kleiner Footer für Unterseiten ohne großen Footer */
.mini-footer {
    padding: 28px 24px;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    background-color: #060913;
}
.mini-footer a { color: var(--text-muted); margin: 0 10px; }
.mini-footer a:hover { color: var(--primary); }

/* ==========================================
   STARTSEITE: MODERNE EFFEKTE
   ========================================== */

/* Lesefortschritt */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 2000; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--progress, 0)); background: linear-gradient(90deg, var(--primary-blue), var(--primary)); }

/* Schwebende Menüleiste */
.site-header-home {
    background: transparent;
    border-bottom: 1px solid transparent;
    backdrop-filter: none;
    transition: background 0.35s ease, border-color 0.35s ease, padding 0.35s ease;
}
.site-header-home.scrolled {
    background: rgba(8, 13, 26, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom-color: var(--border-color);
    padding: 12px 0;
}
.pill-nav {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 8px 10px;
    border-radius: 99px;
    gap: 4px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.pill-nav a { padding: 7px 16px; border-radius: 99px; transition: background 0.25s ease, color 0.25s ease; }
.pill-nav a:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.nav-cta { border-radius: 99px; }

/* Hero mit Leuchten */
.hero-home { overflow: hidden; padding: 70px 0 0; border-top: none; }
.hero-glow {
    position: absolute;
    inset: -20% -10% 30%;
    background:
        radial-gradient(40% 50% at 30% 30%, rgba(59, 130, 246, 0.35), transparent 70%),
        radial-gradient(35% 45% at 70% 35%, rgba(251, 191, 36, 0.22), transparent 70%),
        radial-gradient(50% 60% at 50% 80%, rgba(16, 185, 129, 0.12), transparent 70%);
    filter: blur(20px);
    animation: glow-drift 18s ease-in-out infinite alternate;
    pointer-events: none;
}
@keyframes glow-drift {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(3%, 2%, 0) scale(1.06); }
    100% { transform: translate3d(-3%, -1%, 0) scale(1.02); }
}
.hero-home .container { position: relative; z-index: 1; }
.hero-title { font-size: clamp(2.3rem, 5.6vw, 4.6rem); line-height: 1.08; letter-spacing: -0.035em; }
.hero-line { display: block; }

/* Einblenden beim Laden, nacheinander */
.hero-in { opacity: 0; transform: translateY(28px); animation: hero-in 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; animation-delay: calc(var(--d, 0) * 0.12s + 0.1s); }
@keyframes hero-in { to { opacity: 1; transform: none; } }

/* Fünf Beispielseiten im Bogen */
.showcase-arc {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 64px;
    padding: 0 12px;
    perspective: 1400px;
}
.arc-card {
    --offset: calc(var(--i) - 2);
    flex: 0 0 auto;
    width: clamp(150px, 19vw, 280px);
    margin: 0 -1.6vw;
    border-radius: 26px;
    overflow: hidden;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
    transform-origin: 50% 120%;
    /* --spread wird beim Scrollen per JavaScript gesetzt (0 bis 1) */
    transform:
        translateY(calc((var(--offset) * var(--offset)) * 22px - var(--spread, 0) * 50px * (1 - (var(--offset) * var(--offset)) / 4)))
        rotate(calc(var(--offset) * (6deg + var(--spread, 0) * 4deg)))
        translateX(calc(var(--offset) * var(--spread, 0) * 30px));
    z-index: calc(10 - (var(--offset) * var(--offset)));
    opacity: 0;
    animation: card-rise 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(0.55s + (var(--offset) * var(--offset)) * 0.12s);
    transition: box-shadow 0.4s ease;
    position: relative;
}
.arc-center { width: clamp(170px, 22vw, 320px); }
.arc-card img { display: block; width: 100%; height: auto; transition: transform 0.6s ease; }
.arc-card { display: block; text-decoration: none; cursor: pointer; }
.arc-label, .arc-open {
    position: absolute;
    bottom: 12px;
    background: rgba(8, 13, 26, 0.8);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 99px;
    backdrop-filter: blur(6px);
}
.arc-label { left: 12px; }
.arc-open { right: 12px; background: var(--primary); color: #0f172a; opacity: 0; transform: translateY(6px); transition: opacity 0.3s ease, transform 0.3s ease; }
.arc-card:hover .arc-open, .arc-card:focus-visible .arc-open { opacity: 1; transform: none; }
.arc-card:focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; }
.arc-card figcaption {
    position: absolute;
    left: 12px;
    bottom: 12px;
    background: rgba(8, 13, 26, 0.8);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 99px;
    backdrop-filter: blur(6px);
}
.arc-card:hover { box-shadow: 0 40px 90px rgba(59, 130, 246, 0.35); z-index: 20; }
.arc-card:hover img { transform: scale(1.04); }
@keyframes card-rise { from { opacity: 0; margin-top: 120px; } to { opacity: 1; margin-top: 0; } }
.showcase-note { position: relative; z-index: 1; text-align: center; color: var(--text-muted); font-size: 0.85rem; margin: 18px 0 0; padding-bottom: 60px; }

/* Laufband */
.marquee { overflow: hidden; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); background: #0b0f19; padding: 18px 0; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { font-weight: 700; font-size: 1.05rem; color: #e2e8f0; white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.marquee-track span::after { content: "✦"; color: var(--primary); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Zahlen */
.facts-section { padding: 70px 0; background: var(--bg-darker); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.fact { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 24px; padding: 28px; }
.fact-num { font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; color: #fff; }
.fact-unit { font-size: 1.1rem; font-weight: 700; color: var(--primary); margin-left: 6px; }
.fact p { color: var(--text-muted); margin-top: 8px; font-size: 0.95rem; }

/* Allgemeines Einblenden auf der Startseite */
.js-home .reveal-home { opacity: 0; transform: translateY(60px); transition: opacity 1s ease, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
.js-home .reveal-home.in-view { opacity: 1; transform: none; }
.js-home .facts-grid .reveal-home:nth-child(2) { transition-delay: 0.12s; }
.js-home .facts-grid .reveal-home:nth-child(3) { transition-delay: 0.24s; }
.js-home .facts-grid .reveal-home:nth-child(4) { transition-delay: 0.36s; }

/* Lichtschein, der der Maus folgt */
.feature-card, .promo-card, .fact { position: relative; overflow: hidden; }
.feature-card::before, .promo-card::before, .fact::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(251, 191, 36, 0.13), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.feature-card:hover::before, .promo-card:hover::before, .fact:hover::before { opacity: 1; }
.feature-card:hover { transform: translateY(-6px); }

/* Für wen: Karten fächern sich beim Scrollen auf */
.audience-fan { background: var(--bg-dark); }
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.audience-text h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 20px; }
.audience-text p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.75; margin-bottom: 16px; }
.fan-stage { position: relative; height: 420px; }
.fan-card {
    --o: calc(var(--n) - 2);
    position: absolute;
    left: 50%;
    top: 50%;
    width: 230px;
    height: 300px;
    margin: -150px 0 0 -115px;
    border-radius: 28px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 6px;
    color: #0f172a;
    background: linear-gradient(160deg, #fef3c7, #fde68a);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
    transform-origin: 50% 140%;
    /* --fan wird beim Scrollen gesetzt (0 = Stapel, 1 = aufgefächert) */
    transform: rotate(calc(var(--o) * var(--fan, 0) * 13deg)) translateX(calc(var(--o) * var(--fan, 0) * 26px)) translateY(calc(var(--n) * (1 - var(--fan, 0)) * -4px));
    z-index: calc(5 - var(--n));
    transition: transform 0.15s linear;
}
.fan-card:nth-child(2) { background: linear-gradient(160deg, #dbeafe, #93c5fd); }
.fan-card:nth-child(3) { background: linear-gradient(160deg, #d1fae5, #6ee7b7); }
.fan-card:nth-child(4) { background: linear-gradient(160deg, #e2e8f0, #cbd5e1); }
.fan-card:nth-child(5) { background: linear-gradient(160deg, #fce7f3, #f9a8d4); }
.fan-emoji { font-size: 2.6rem; margin-bottom: auto; }
.fan-card strong { font-size: 1.4rem; }
.fan-card span:last-child { font-size: 0.9rem; opacity: 0.8; }

@media (max-width: 1024px) {
    .facts-grid { grid-template-columns: repeat(2, 1fr); }
    .audience-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
    .hero-home { padding-top: 40px; }
    .hero-title { font-size: clamp(1.75rem, 8vw, 2.2rem); }
    .hero-home p { font-size: 1rem; line-height: 1.6; }
    .hero-home .badge { font-size: 0.78rem; }
    .showcase-arc { margin-top: 80px; }
    .arc-card { width: 34vw; margin: 0 -7vw; border-radius: 18px; }
    .arc-center { width: 40vw; }
    .arc-card:nth-child(1), .arc-card:nth-child(5) { display: none; }
    .arc-card { display: block; text-decoration: none; cursor: pointer; }
.arc-label, .arc-open {
    position: absolute;
    bottom: 12px;
    background: rgba(8, 13, 26, 0.8);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 99px;
    backdrop-filter: blur(6px);
}
.arc-label { left: 12px; }
.arc-open { right: 12px; background: var(--primary); color: #0f172a; opacity: 0; transform: translateY(6px); transition: opacity 0.3s ease, transform 0.3s ease; }
.arc-card:hover .arc-open, .arc-card:focus-visible .arc-open { opacity: 1; transform: none; }
.arc-card:focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; }
.arc-card figcaption { display: none; }
    .fan-stage { height: 360px; }
    .fan-card { width: 190px; height: 250px; margin: -125px 0 0 -95px; }
    .marquee-track span { font-size: 0.95rem; }
}
@media (max-width: 480px) {
    .facts-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-in, .arc-card { animation: none; opacity: 1; }
    .hero-glow, .marquee-track { animation: none; }
    .js-home .reveal-home { opacity: 1; transform: none; transition: none; }
    .fan-card { --fan: 1 !important; transition: none; }
}

/* Hover nach dem Einblenden wieder erlauben */
.js-home .feature-card.in-view:hover,
.js-home .price-card.in-view:hover,
.js-home .promo-card.in-view:hover { transform: translateY(-6px); }

/* Für wen: Beim Überfahren fächern sich die Karten weiter auf,
   die Karte unter der Maus (oder angetippt) kommt nach vorn */
.fan-card { cursor: pointer; transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease; }
.fan-stage:hover .fan-card {
    transform: rotate(calc(var(--o) * 15deg)) translateX(calc(var(--o) * 78px)) translateY(calc(var(--o) * var(--o) * 6px));
}
.fan-stage .fan-card:hover,
.fan-stage .fan-card.is-front {
    z-index: 20;
    transform: rotate(calc(var(--o) * 4deg)) translateX(calc(var(--o) * 78px)) translateY(-26px) scale(1.06);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.55);
}
@media (max-width: 700px) {
    .fan-stage:hover .fan-card { transform: rotate(calc(var(--o) * 12deg)) translateX(calc(var(--o) * 44px)); }
    .fan-stage .fan-card:hover, .fan-stage .fan-card.is-front { transform: rotate(0deg) translateX(calc(var(--o) * 30px)) translateY(-20px) scale(1.04); }
}

/* ---------- Anpassungen Startseite ---------- */
.nowrap { white-space: nowrap; }
.showcase-note { margin-top: 48px; }
.card-value { font-size: 0.82rem; font-weight: 700; margin-top: 10px; opacity: 0.9; }
.card-popular { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary-blue); color: #fff; font-size: 0.75rem; font-weight: 800; padding: 4px 14px; border-radius: 99px; letter-spacing: 0.04em; text-transform: uppercase; }
.price-card, .price-card * { cursor: pointer; }

/* FAQ: weiches Auf- und Zuklappen ohne Ruckeln */
.faq-answer { display: grid; grid-template-rows: 0fr; max-height: none !important; padding: 0 24px !important; transition: grid-template-rows 0.35s ease; }
.faq-item.active .faq-answer { grid-template-rows: 1fr; }
.faq-answer-inner { overflow: hidden; min-height: 0; }
.faq-answer-inner p { padding-bottom: 22px; }

/* Für wen: Karten sind Links zu den Beispielseiten */
a.fan-card { text-decoration: none; }
.fan-open { font-size: 0.78rem !important; font-weight: 700; margin-top: 8px; opacity: 0; transition: opacity 0.3s ease; }
.fan-card:hover .fan-open, .fan-card.is-front .fan-open, .fan-card:focus-visible .fan-open { opacity: 1; }
.fan-card:focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; z-index: 20; }
/* Platz unter dem Bogen: äußere Karten sind schräg nach unten versetzt */
.showcase-arc { padding-bottom: 120px; }
.showcase-note { margin-top: 0; }
@media (max-width: 700px) { .showcase-arc { padding-bottom: 50px; } }

/* "So funktioniert es" im Bereich "Was ist websay.de?" */
.how-box { background: rgba(251, 191, 36, 0.06); border: 1px solid rgba(251, 191, 36, 0.25); border-radius: 16px; padding: 22px 24px; margin: 8px 0 18px; }
.how-box h3 { font-size: 1.15rem; font-weight: 800; color: #fbbf24; margin-bottom: 10px; }
.how-box p { margin-bottom: 12px; }
.how-box ol { list-style: none; counter-reset: how; display: flex; flex-direction: column; gap: 12px; padding: 0; margin: 0; }
.how-box li { counter-increment: how; position: relative; padding-left: 42px; color: var(--text-muted); font-size: 1rem; line-height: 1.65; }
.how-box li::before { content: counter(how); position: absolute; left: 0; top: 1px; width: 28px; height: 28px; border-radius: 50%; background: #fbbf24; color: #0f172a; font-weight: 800; font-size: 0.9rem; display: flex; align-items: center; justify-content: center; }
.faq-answer-inner a { color: #fbbf24; text-decoration: underline; text-underline-offset: 2px; }

/* Links auf SAY Media Consulting: dezent unterstrichen, damit sie auch im grauen Footer als Link erkennbar sind */
a.say-link { color: inherit; text-decoration: underline; text-decoration-color: rgba(251, 191, 36, 0.55); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 0.2s ease; }
a.say-link:hover, a.say-link:focus-visible { color: #fbbf24; text-decoration-color: #fbbf24; }
