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

:root {
    /* macOS Glossy Colors */
    --inconet-dark: #1d1d1f;
    --inconet-blue: #48bdd7;
    --inconet-green: #34c759;
    --hornet-green: #30d158;
    --gradient-1: linear-gradient(135deg, #e0f7fa 0%, #b3e5fc 100%);
    --gradient-2: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);

    /* Glossy Plan Colors */
    --plan-1-color: #0284c7;
    --plan-2-color: #34c759;
    --plan-3-color: #ff9500;
    --plan-4-color: #af52de;
    --plan-4n-color: #af52de;

    /* macOS Design Tokens */
    --border-radius-large: 20px;
    --border-radius-medium: 15px;
    --box-shadow-glossy: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    --box-shadow-hover: 0 12px 48px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.4);
    --sticky-top-offset: 80px;
}

/* ── Inline SVG Icon System ──────────────────────── */
.ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    vertical-align: -3px;
}
.ico svg {
    width: 100%;
    height: 100%;
}
.ico-sm { width: 16px; height: 16px; vertical-align: -2px; }
.ico-lg { width: 24px; height: 24px; vertical-align: -4px; }
.ico-xl { width: 28px; height: 28px; vertical-align: -5px; }

/* Icon in quick-link / nav context */
.quick-link .ico { width: 16px; height: 16px; vertical-align: -2px; }

/* Icon in trust-icon context */
.trust-icon.ico { width: 32px; height: 32px; vertical-align: 0; }

/* Icon in category headers */
.category-header .ico { width: 18px; height: 18px; vertical-align: -3px; }

/* Footer icons */
.footer-link .ico { width: 16px; height: 16px; vertical-align: -2px; margin-right: 2px; }

/* ── Hero Section Enhancements ───────────────────── */
.hero-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3) !important;
}
.hero-section a:hover {
    transform: translateY(-1px);
}

/* Hero responsive: stack on mobile */
@media (max-width: 768px) {
    .hero-section > div:first-child {
        flex-direction: column !important;
        text-align: center !important;
    }
    .hero-section > div:first-child > div:first-child {
        text-align: center !important;
    }
    .hero-section > div:first-child > div:first-child > div:last-child {
        justify-content: center !important;
    }
}


/* ── How It Works Section ──────────────────────────── */
.how-steps-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    flex-wrap: nowrap;
}
.how-step {
    flex: 0 1 260px;
    text-align: center;
    position: relative;
    padding: 0 16px;
}
.how-step-number {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--inconet-dark);
    color: white;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.how-step-icon {
    width: 92px;
    height: 92px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    border: 1px solid rgba(255,255,255,0.6);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.8);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.how-step:hover .how-step-icon {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.8);
}
.how-step-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--inconet-dark);
    margin-bottom: 8px;
}
.how-step-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}
.how-step-connector {
    display: flex;
    align-items: center;
    padding-top: 40px;
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .how-steps-container {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    .how-step { flex: none; width: 100%; max-width: 320px; }
    .how-step-connector {
        padding-top: 0;
        transform: rotate(90deg);
    }
}

/* ── Testimonial Cards ─────────────────────────────── */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.testimonial-stars {
    display: flex;
    gap: 2px;
}
.testimonial-quote {
    font-size: 14px;
    color: #374151;
    line-height: 1.7;
    font-style: italic;
    margin: 0;
    flex: 1;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 8px;
    border-top: 1px solid #f3f4f6;
}
.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}
.testimonial-info {
    display: flex;
    flex-direction: column;
}
.testimonial-info strong {
    font-size: 14px;
    color: var(--inconet-dark);
}
.testimonial-info span {
    font-size: 12px;
    color: #6b7280;
}

/* ── Swiss Data Center Infographic ─────────────────── */
.swiss-dc-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.swiss-dc-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--inconet-dark);
    margin: 0;
}
.swiss-dc-grid {
    display: flex;
    gap: 28px;
    align-items: stretch;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 14px;
    border: 1px solid rgba(2,132,199,0.12);
    padding: 24px;
    overflow: hidden;
}
.swiss-dc-map {
    flex: 1 1 55%;
    min-width: 260px;
    min-height: 280px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.swiss-dc-map iframe {
    display: block;
    width: 100%;
    height: 100%;
}
.swiss-dc-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #0284c7;
    font-weight: 600;
    text-decoration: none;
    margin-top: 4px;
    transition: color 0.2s;
}
.swiss-dc-link:hover {
    color: #0369a1;
}
.swiss-dc-details {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 240px;
}
.swiss-dc-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: white;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}
.swiss-dc-card--featured {
    border: 1px solid rgba(220,38,38,0.2);
    background: linear-gradient(135deg, #fff 0%, #fef2f2 100%);
}
.swiss-dc-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.swiss-dc-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.swiss-dc-feat {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: white;
    border-radius: 8px;
    border: 1px solid #f3f4f6;
}
.swiss-dc-feat div {
    display: flex;
    flex-direction: column;
}
.swiss-dc-feat strong {
    font-size: 13px;
    color: var(--inconet-dark);
}
.swiss-dc-feat span {
    font-size: 11px;
    color: #6b7280;
}
.swiss-dc-feat svg {
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .swiss-dc-grid {
        flex-direction: column;
    }
    .swiss-dc-map { order: -1; }
    .swiss-dc-features { grid-template-columns: 1fr; }
}



body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #eef8fa 0%, #ddf0f5 50%, #c8e8ef 100%);
    color: #1d1d1f;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
}

/* Header - Glossy macOS Style */
.header {
    background: var(--glass-bg);
    padding: 30px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: var(--border-radius-large);
    box-shadow: var(--box-shadow-glossy);
    border: 1px solid var(--glass-border);
}

/* Glossy Sections - macOS Style */
.calculator-section, .bedarfsanalyse-section, .info-box, .comparison-section, .glossary-section, .resources-section {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-large);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--box-shadow-glossy);
    transition: all 0.3s ease;
}

.calculator-section:hover, .bedarfsanalyse-section:hover, .info-box:hover,
.comparison-section:hover, .glossary-section:hover, .resources-section:hover {
    box-shadow: var(--box-shadow-hover);
    transform: translateY(-2px);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

h1 {
    color: var(--inconet-dark);
    font-size: 28px;
    margin-bottom: 5px;
}

.subtitle {
    color: #666;
    font-size: 14px;
}

/* Partner Highlight */
.partner-highlight {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.12) 0%, rgba(255, 255, 255, 0.95) 100%);
    border: 1px solid rgba(255, 215, 0, 0.45);
    border-radius: var(--border-radius-large);
    padding: 18px 20px;
    margin-bottom: 20px;
    box-shadow: var(--box-shadow-glossy);
}

.partner-highlight-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.partner-highlight-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1 1 320px;
}

.partner-highlight-badge img {
    height: 64px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.12));
}

.partner-highlight-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: var(--inconet-dark);
}

.partner-highlight-title {
    font-weight: 700;
    font-size: 16px;
}

.partner-highlight-note {
    font-size: 14px;
    color: #555;
}

.partner-highlight-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #ffd166 0%, #f7b500 100%);
    color: #4a3200;
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.2px;
    box-shadow: 0 8px 22px rgba(247, 181, 0, 0.35);
    white-space: nowrap;
}

/* Quick Links (Sticky Navigation) - Glossy */
.quick-links {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    position: sticky;
    top: 0px;
    z-index: 999;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 10px 15px;
    border-radius: var(--border-radius-medium);
    box-shadow: var(--box-shadow-glossy);
    border: 1px solid var(--glass-border);
}

.quick-link {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--inconet-dark);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.quick-link:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--box-shadow-glossy);
    background: var(--inconet-blue);
    color: white;
    border-color: var(--inconet-blue);
}

.calculator-title {
    font-size: 24px;
    color: var(--inconet-dark);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.calculator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-weight: 600;
    color: #555;
    font-size: 14px;
}

.input-group input, .input-group select {
    padding: 12px;
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* Vorschlag: :focus-visible für bessere Accessibility */
.input-group input:focus-visible, .input-group select:focus-visible {
    outline: none;
    border-color: var(--inconet-blue);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.15), 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-1px);
}

/* Price Breakdown */
.price-breakdown {
    background: #f8f9fa;
    border-radius: var(--border-radius-medium);
    padding: 25px;
    margin-bottom: 20px;
}

.breakdown-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--inconet-dark);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e8e9ea;
}

.breakdown-row:last-child {
    border-bottom: none;
}

.breakdown-label {
    color: #666;
    font-size: 15px;
}

.breakdown-value {
    font-weight: 600;
    color: var(--inconet-dark);
    font-size: 16px;
}

.breakdown-row.total {
    padding-top: 15px;
    margin-top: 10px;
    border-top: 2px solid #d0d0d0;
}

.breakdown-row.total .breakdown-label {
    font-weight: 600;
    font-size: 16px;
    color: var(--inconet-dark);
}

.breakdown-row.total .breakdown-value {
    font-size: 20px;
    color: var(--inconet-blue);
}

/* Quiz Navigation */
.quiz-navigation {
    margin-top: 25px;
    text-align: center;
}
.back-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s;
}
.back-btn:hover {
    background: #5a6268;
}

/* Chart Toggle Switch */
.chart-toggle { display: flex; align-items: center; }
.switch { position: relative; display: inline-block; width: 50px; height: 24px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .4s; border-radius: 24px; }
.slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; }
input:checked + .slider { background-color: var(--inconet-blue); }
input:checked + .slider:before { transform: translateX(26px); }

#recommendation-details {
    text-align: left;
    max-width: 450px;
    margin: 20px auto;
    background: #f0f0f0;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}
#recommendation-details h4 { margin-bottom: 10px; color: var(--inconet-dark); }
#recommendation-details ul { list-style-position: inside; padding-left: 5px; }

/* Price Visualizer */
.price-visualizer {
    margin-top: 30px;
}
.chart-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}
.bar-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}
.bar-label {
    flex-basis: 150px;
    text-align: right;
    font-size: 14px;
    color: #555;
    flex-shrink: 0;
}
.bar {
    height: 30px;
    background-color: #f0f0f0;
    border-radius: 5px;
    transition: width 0.3s ease-in-out;
    position: relative;
    flex-grow: 1;
}
.bar-inner {
    height: 100%;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: white;
    font-size: 13px;
    font-weight: bold;
    padding: 0 10px;
    white-space: nowrap;
    overflow: hidden;
    transition: width 0.4s ease-out;
}
.bar-inner .savings {
    font-size: 11px;
    opacity: 0.8;
    margin-left: 8px;
}
.bar.plan-1 .bar-inner { background-color: var(--plan-1-color); }
.bar.plan-2 .bar-inner { background-color: var(--plan-2-color); }
.bar.plan-3 .bar-inner { background-color: var(--plan-3-color); }
.bar.plan-4 .bar-inner { background-color: var(--plan-4-color); }
.bar.plan-4n .bar-inner { background-color: var(--plan-4n-color); }

/* Price Display */
.price-display {
    background: linear-gradient(135deg, var(--inconet-blue) 0%, var(--hornet-green) 100%);
    padding: 30px;    
    border-radius: var(--border-radius-medium);
    color: white;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.price-item {
    text-align: center;
    padding: 10px;
    border-right: 1px solid rgba(255,255,255,0.2);
}

.price-item:last-child {
    border-right: none;
}

.price-label {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-value {
    font-size: 32px;
    font-weight: bold;
}

.price-currency {
    font-size: 18px;
    opacity: 0.9;
}

.artikel-info {
    background: rgba(255,255,255,0.1);
    padding: 10px 15px;
    border-radius: 8px;
    margin-top: 10px;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    margin-left: 8px;
    vertical-align: middle;
    opacity: 0.6;
    transition: opacity 0.2s, transform 0.2s;
}
.copy-btn:hover {
    opacity: 1;
}
.copy-btn:active {
    transform: scale(0.9);
}

/* Bedarfsanalyse Section */
.bedarfsanalyse-section {
    background: white;
}
.bedarfsanalyse-section .title {
    font-size: 24px;
    color: var(--inconet-dark);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.bedarfsanalyse-section .subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
}

/* Plan Finder Quiz */
.quiz-step {
    display: none;
}
.quiz-step.active {
    display: block;
}
.quiz-step .step-title {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 18px;
    font-weight: 600;
    color: var(--inconet-dark);
    margin-bottom: 10px;
}
.quiz-step .step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--inconet-blue);
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}
.question {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
}
.answers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.answer-btn {
    background-color: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    font-size: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.answer-btn:hover {
    border-color: var(--inconet-blue);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.answer-btn .rec-title {
    font-weight: bold;
    color: var(--inconet-dark);
}
.start-btn {
    background-color: var(--inconet-blue);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: block;
    margin: 0 auto;
    transition: background-color 0.2s;
}
.start-btn:hover {
    background-color: #0082b3;
}
.start-btn.secondary {
    background-color: #6c757d;
}
.start-btn.secondary:hover {
    background-color: #5a6268;
}
.result-card {
    background-color: #f8f9fa;    
    border-radius: var(--border-radius-medium);
    padding: 30px;
    text-align: center;
    border: 2px solid var(--inconet-blue);
}
.result-card h3 {
    font-size: 20px;
    color: var(--inconet-dark);
    margin-bottom: 15px;
}
.result-card .rec-plan {
    font-size: 24px;
    font-weight: bold;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
}
.result-card .rec-plan.plan-2 { background-color: var(--plan-2-color); color: white; }
.result-card .rec-plan.plan-3 { background-color: var(--plan-3-color); color: white; }
.result-card .rec-plan.plan-4 { background-color: var(--plan-4-color); color: white; }
.result-card .rec-plan.plan-4n { background-color: var(--plan-4n-color); color: white; }
.result-card p {
    font-size: 16px;
    color: #555;
    margin-bottom: 25px;
}
.result-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 25px;
    align-items: center;
}
.result-btn {
    background-color: var(--inconet-green);
    color: white;
    padding: 12px 25px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.2s;
}
.result-btn:hover {
    background-color: #76a834;
}

/* Info Box */
.info-box {
    background: #fff3cd;
    border: 2px solid #ffc107;
}

.info-box h3 {
    color: #856404; 
    margin-bottom: 15px; 
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-box ul {
    color: #856404; 
    line-height: 1.8; 
    margin-left: 20px;
    font-size: 16px;
}

/* Comparison Table */
.comparison-section {
    background: white;
}

.comparison-title {
    font-size: 24px;
    color: var(--inconet-dark);
    margin-bottom: 20px;
}

.filter-options {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    background: #f0f0f0;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 500;
}

.filter-btn:hover {
    background: #e0e0e0;
}

.filter-btn.active {
    background: var(--inconet-blue);
    color: white;
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.comparison-table th {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    color: var(--inconet-dark);
    padding: 15px 10px;
    text-align: left;
    font-size: 14px;
    font-weight: 700;
    position: sticky;
    /* Der 'top'-Wert wird dynamisch per JavaScript gesetzt. */
    top: var(--sticky-top-offset);
    z-index: 10;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.comparison-table th.plan-header {
    text-align: center;
    font-size: 13px;
    vertical-align: top;
}

.plan-price {
    display: block;
    font-size: 16px;
    margin-top: 5px;
    color: #ffd700;
}

/* Vorschlag: Spezifischere Selektoren statt !important */
.comparison-table th.plan-1 {
    background: linear-gradient(135deg, var(--plan-1-color), #0051d5);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.comparison-table th.plan-2 {
    background: linear-gradient(135deg, var(--plan-2-color), #28a745);
    box-shadow: 0 4px 12px rgba(52, 199, 89, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.comparison-table th.plan-3 {
    background: linear-gradient(135deg, var(--plan-3-color), #e88500);
    box-shadow: 0 4px 12px rgba(255, 149, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.comparison-table th.plan-4 {
    background: linear-gradient(135deg, var(--plan-4-color), #8e24aa);
    box-shadow: 0 4px 12px rgba(175, 82, 222, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.comparison-table th.plan-4n {
    background: linear-gradient(135deg, var(--plan-4n-color), #8e24aa);
    box-shadow: 0 4px 12px rgba(175, 82, 222, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.comparison-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.comparison-table tr:hover td {
    background: #f8f9fa;
}

.feature-group-header {
    font-weight: bold;
}

.feature-name {
    font-weight: 600;
    color: #333;
    cursor: help;
    position: relative;
    display: inline-block;
}

.tooltip {
    position: absolute;
    bottom: 100%;
    left: 0;
    background: var(--inconet-dark);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: normal;
    white-space: normal;
    width: 250px;
    z-index: 100;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    margin-bottom: 5px;
}
/* Vorschlag: Tooltip auch bei Fokus für Tastatur-Navigation anzeigen.
   Das HTML-Element benötigt dafür `tabindex="0"`. */
.feature-name:hover .tooltip,
.feature-name:focus .tooltip,
.feature-name:focus-within .tooltip {
    opacity: 1;
    visibility: visible;
}

.check {
    color: #2ecc71;
    font-size: 20px;
    text-align: center;
    font-weight: bold;
    /* Vorschlag: Für visuelle Konsistenz, hier ein Icon (z.B. via FontAwesome <i class="fas fa-check"></i>) anstelle von Text verwenden. */
}

.cross {
    color: #e74c3c;
    font-size: 20px;
    text-align: center;
    /* Vorschlag: Hier ein Icon (z.B. <i class="fas fa-times"></i>) verwenden. */
}

.category-header {
    background: #f8f9fa !important;
    font-weight: bold;
    color: var(--inconet-dark) !important;
    font-size: 15px;
    cursor: pointer;
    position: relative;
}

.category-header .toggle-icon {
    margin-right: 10px;
    display: inline-block;
    transition: transform 0.2s ease;
}

.category-header.collapsed .toggle-icon {
    transform: rotate(-90deg);
}

.feature-row.hidden-by-collapse {
    display: none;
}

/* Glossary */
.glossary-section {
    background: white;
}

.glossary-title {
    font-size: 24px;
    color: var(--inconet-dark);
    margin-bottom: 20px;
}

/* NEU: Kategorien für Ressourcen */
.resource-category {
    margin-bottom: 40px;
}
.resource-category:last-child {
    margin-bottom: 10px;
}
.resource-category-title {
    font-size: 20px;
    color: var(--inconet-dark);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.glossary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.glossary-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--inconet-blue);
    transition: all 0.3s;
}

.glossary-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.glossary-term {
    font-weight: bold;
    color: var(--inconet-dark);
    margin-bottom: 8px;
    font-size: 16px;
}

.glossary-definition {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

/* Resources */
.resources-section {
    background: white;
    padding: 30px;
    box-shadow: var(--box-shadow-heavy);
}

.resources-title {
    font-size: 24px;
    color: var(--inconet-dark);
    margin-bottom: 20px;
}

/* NEU: Kategorien für Ressourcen */
.resource-category {
    margin-bottom: 40px;
}
.resource-category:last-child {
    margin-bottom: 10px;
}
.resource-category-title {
    font-size: 20px;
    color: var(--inconet-dark);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.resource-card {
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    padding: 20px;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.resource-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.resource-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.resource-description {
    font-size: 14px;
    color: #666;
}

/* Quick Actions & Upgrade Styles */
.quick-scenarios {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}
.quick-scenarios button {
    background: #e9ecef;
    border: 2px solid #ced4da;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}
.quick-scenarios button:hover {
    border-color: var(--inconet-blue);
    background: #e2e6ea;
}
.upgrade-comparison {
    background: #e8f5e9; 
    padding: 20px;
    border-radius: var(--border-radius-medium);
    margin-top: 20px;
    border: 2px solid #c8e6c9;
}
.upgrade-comparison h4 {
    color: #2e7d32;
    margin-bottom: 10px;
}
.upgrade-comparison ul {
    list-style-type: none;
    padding-left: 0;
}
.upgrade-comparison li {
    margin-bottom: 5px;
}

/* Vorschlag: Visuelles Feedback & Icons */
/* 1. Loading Spinner Animation */
@keyframes spinner-border {
  to { transform: rotate(360deg); }
}

/* 2. Helper-Klasse für Ladezustände auf Buttons */
.is-loading {
    position: relative;
    color: transparent !important; /* Text ausblenden */
    pointer-events: none; /* Klicks verhindern */
    cursor: wait;
}

.is-loading::after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px; /* Grösse des Spinners */
    height: 20px;
    margin-top: -10px; /* Zentrierung */
    margin-left: -10px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.5);
    border-top-color: white;
    animation: spinner-border .8s linear infinite;
}

/* Variante für Buttons mit dunklem Text (z.B. Filter-Buttons) */
.is-loading.is-loading-dark {
    color: transparent !important;
}
.is-loading.is-loading-dark::after {
    border: 3px solid rgba(0, 0, 0, 0.2);
    border-top-color: var(--inconet-dark);
}


/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding: 0 10px 10px 10px;
    }

    .header {
        padding: 15px 12px;
        margin-top: 0;
        margin-bottom: 15px;
    }

    .logo-section {
        gap: 8px !important;
        flex-wrap: nowrap !important;
    }

    .logo-text-wrapper {
        gap: 10px !important;
        flex: 1;
        min-width: 0;
    }

    .header .subtitle {
        display: none !important;
    }

    .logo-placeholder img {
        height: 33px !important;
        margin-right: 16px !important;
    }

    .hornet-logo-container {
        flex-shrink: 0;
    }

    .hornet-logo-container img {
        height: 55px !important;
    }

    h1 {
        font-size: 16px !important;
        line-height: 1.3 !important;
        margin-bottom: 3px !important;
        word-break: break-word;
    }

    .subtitle {
        font-size: 11px !important;
    }

    .partner-highlight {
        padding: 12px 14px;
    }

    .partner-highlight-inner {
        align-items: flex-start;
        gap: 12px;
    }

    .partner-highlight-badge img {
        height: 48px;
    }

    .partner-highlight-chip {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .calculator-grid {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        font-size: 11px;
    }

    .comparison-table th, .comparison-table td {
        padding: 8px 5px;
    }

    .answers {
        grid-template-columns: 1fr;
    }

    .price-display {
        grid-template-columns: 1fr;
    }

    .price-item {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.2);
    }

    .quick-links {
        position: sticky;
        top: 0;
        margin: 0 -10px 20px -10px;
        border-radius: 0;
        padding: 8px 10px;
        gap: 5px;
    }

    .quick-link {
        font-size: 13px;
        padding: 8px 12px;
    }

    .comparison-section {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .calculator-section, .bedarfsanalyse-section, .comparison-section {
        padding: 20px 15px;
    }

    .live-plan-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .control-grid {
        grid-template-columns: 1fr !important;
    }

    .quick-scenarios-central {
        grid-template-columns: 1fr 1fr;
    }

    /* Special Note Pop-up für Mobile */
    .special-note {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        width: calc(100vw - 20px);
        padding: 12px 15px;
        font-size: 14px;
        gap: 10px;
        /* Transform muss angepasst werden für volle Breite */
        transform: translateY(calc(100% + 30px));
    }

    .special-note.visible {
        transform: translateY(0);
    }

    .special-note .note-icon {
        font-size: 20px;
    }

    .special-note .close-note-btn {
        width: 32px;
        height: 32px;
        font-size: 24px;
    }

    /* Footer Optimierungen */
    footer {
        margin-top: 40px !important;
    }

    footer .container {
        padding: 35px 15px 25px 15px !important;
    }

    footer h3 {
        font-size: 17px !important;
        margin-bottom: 18px !important;
    }

    footer ul li {
        font-size: 14px !important;
        margin-bottom: 11px !important;
    }

    footer .container > div:first-child {
        gap: 30px !important;
        margin-bottom: 30px !important;
    }
}

/* Extra kleine Bildschirme (Smartphones) */
@media (max-width: 480px) {
    body {
        padding: 0 8px 8px 8px;
    }

    .header {
        padding: 12px 10px;
        margin-bottom: 12px;
    }

    .logo-section {
        gap: 6px !important;
    }

    .logo-text-wrapper {
        gap: 8px !important;
    }

    .logo-placeholder img {
        height: 30px !important;
        margin-right: 16px !important;
    }

    .hornet-logo-container img {
        height: 48px !important;
    }

    h1 {
        font-size: 14px !important;
        line-height: 1.2 !important;
    }

    .subtitle {
        font-size: 10px !important;
    }

    .calculator-section, .bedarfsanalyse-section, .comparison-section {
        padding: 15px 12px;
        margin-bottom: 15px;
    }

    .quick-links {
        margin: 0 -8px 15px -8px;
        padding: 6px 8px;
        gap: 4px;
    }

    .quick-link {
        font-size: 12px;
        padding: 6px 10px;
    }

    /* Footer auf kleinen Smartphones */
    footer .container {
        padding: 30px 15px 20px 15px !important;
    }

    footer h3 {
        font-size: 16px !important;
        margin-bottom: 15px !important;
    }

    footer ul li {
        font-size: 13px !important;
        margin-bottom: 10px !important;
    }
}

/* Print styles */
@media print {
    body {
        background: white;
    }
    
    .quick-links, .filter-options, .quick-scenarios {
        display: none;
    }
}

/* Navigation Fixes for better mobile and compact display */
.quick-links {
    scrollbar-width: none;
    -ms-overflow-style: none;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.quick-links::-webkit-scrollbar {
    display: none;
}

.quick-link {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 14px;
}

/* Plan Selector für flexiblen Vergleich */
.plan-selector {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: var(--box-shadow-glossy);
    transition: all 0.3s ease;
}

.plan-selector-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--inconet-dark);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    user-select: none;
}

.plan-selector-title .toggle-arrow {
    transition: transform 0.3s ease;
    font-size: 14px;
}

.plan-selector.collapsed .toggle-arrow {
    transform: rotate(-90deg);
}

.plan-checkboxes {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    max-height: 500px;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 1;
}

.plan-selector.collapsed .collapsible-content {
    max-height: 0;
    opacity: 0;
    margin-bottom: 0;
}

.plan-checkbox {
    display: flex;
    align-items: center;
    background: white;
    padding: 12px 20px;
    border-radius: 10px;
    border: 2px solid #dee2e6;
    cursor: pointer;
    transition: all 0.3s;
    user-select: none;
}

.plan-checkbox:hover {
    border-color: var(--inconet-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.plan-checkbox.selected {
    border-color: var(--inconet-blue);
    background: linear-gradient(135deg, rgba(0,163,224,0.1) 0%, rgba(140,198,63,0.1) 100%);
}

.plan-checkbox input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.plan-checkbox label {
    cursor: pointer;
    font-weight: 500;
    color: var(--inconet-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.plan-checkbox .plan-price-tag {
    font-size: 12px;
    color: #6c757d;
    margin-left: 5px;
}

.comparison-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.compare-btn {
    background: var(--inconet-blue);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.compare-btn:hover:not(:disabled) {
    background: #0082b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,163,224,0.3);
}

.compare-btn:disabled {
    background: #ced4da;
    cursor: not-allowed;
    opacity: 0.6;
}

.preset-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.preset-btn:hover {
    background: #5a6268;
}

.comparison-info {
    font-size: 14px;
    color: #6c757d;
    margin-left: auto;
}

/* Hide columns in comparison table */
.comparison-table th.plan-hidden,
.comparison-table td.plan-hidden {
    display: none !important;
}

/* Preisvergleich Erweiterung */
.comparison-mode-toggle {
    display: none;
    text-align: center;
    margin-bottom: 20px;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

#toggle-comparison-mode {
    background: linear-gradient(135deg, var(--inconet-blue), #0051d5);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 122, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

#toggle-comparison-mode:hover {
    background: linear-gradient(135deg, #0051d5, var(--inconet-blue));
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 122, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

#toggle-comparison-mode.active {
    background: linear-gradient(135deg, var(--hornet-green), #28a745);
    box-shadow: 0 4px 16px rgba(52, 199, 89, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.price-period-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.period-btn {
    background: rgba(108, 117, 125, 0.5);
    backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.period-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.period-btn.active {
    opacity: 1;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

#btn-yearly.active {
    background: linear-gradient(135deg, var(--plan-3-color), #e88500);
}

#btn-both.active {
    background: linear-gradient(135deg, var(--plan-2-color), #28a745);
}

#btn-monthly.active {
    background: linear-gradient(135deg, var(--plan-1-color), #0051d5);
}

#comparison-calculation-mode {
    display: none;
}

.comparison-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.quick-compare-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.quick-compare-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.quick-compare-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

#add-comparison-plan {
    background: var(--inconet-green);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

#add-comparison-plan:hover {
    background: #76a834;
}

#sync-values-btn {
    background: #17a2b8;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

#sync-values-btn:hover {
    background: #138496;
}

.comparison-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.comparison-plan-card {
    background: white;
    border-radius: 12px;
    border-left: 4px solid var(--inconet-blue);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s;
}

.comparison-plan-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

/* Plan-spezifische Farben für Vergleichskarten */
.comparison-plan-card.plan-1 {
    border-left-color: var(--plan-1-color);
}
.comparison-plan-card.plan-2 {
    border-left-color: var(--plan-2-color);
}
.comparison-plan-card.plan-3 {
    border-left-color: var(--plan-3-color);
}
.comparison-plan-card.plan-4 {
    border-left-color: var(--plan-4-color);
}
.comparison-plan-card.plan-4n {
    border-left-color: var(--plan-4n-color);
}

.comparison-plan-header {
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e9ecef;
}

.comparison-plan-header h4 {
    margin: 0;
    font-size: 13px;
    color: var(--inconet-dark);
    font-weight: 700;
}

.remove-plan-btn {
    background: none;
    border: none;
    color: #dc3545;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.remove-plan-btn:hover {
    background: #dc3545;
    color: white;
}

.comparison-plan-inputs {
    padding: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.comp-input-group {
    display: flex;
    flex-direction: column;
}

.comp-input-group label {
    font-size: 10px;
    color: #6c757d;
    margin-bottom: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.comp-input-group input,
.comp-input-group select {
    padding: 6px 8px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 13px;
    transition: all 0.2s;
    width: 100%;
    box-sizing: border-box;
}

.comp-input-group input:focus,
.comp-input-group select:focus {
    outline: none;
    border-color: var(--inconet-blue);
    box-shadow: 0 0 0 3px rgba(0,163,224,0.1);
}

.comparison-plan-result {
    background: #f8f9fa;
    padding: 12px;
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8px 0;
    font-size: 12px;
    border-bottom: 1px solid #e9ecef;
    gap: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.result-row span:last-child {
    text-align: right;
    white-space: nowrap;
}


.result-row:last-child {
    border-bottom: none;
}

.result-row.total {
    font-weight: bold;
    font-size: 16px;
    padding-top: 12px;
    margin-top: 8px;
    border-top: 2px solid #dee2e6;
}

.result-row.best-price {
    background: linear-gradient(90deg, rgba(46,204,113,0.1), rgba(46,204,113,0.05));
    margin: 0 -15px;
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 6px;
}

.result-row.best-price::after {
    content: "✨";
    margin-left: 8px;
}

#comparison-summary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 15px;
    margin-top: 30px;
}

#comparison-summary h4 {
    margin: 0 0 20px 0;
    font-size: 20px;
}

.summary-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.summary-item {
    background: rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 10px;
}

.summary-item.highlight {
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.3);
}

.savings-detail {
    font-size: 14px;
    margin-top: 5px;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .comparison-plans-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-plan-inputs {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   VERSIONIERUNG & CHANGELOG STYLES
   ============================================ */

/* Header Right Section (Version + Changelog Button) */
.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.version-info {
    text-align: right;
}

.version-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--inconet-blue), var(--inconet-green));
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 163, 224, 0.3);
}

.last-update {
    font-size: 11px;
    color: #666;
    margin-top: 3px;
}

.changelog-btn {
    background: white;
    border: 2px solid var(--inconet-blue);
    color: var(--inconet-blue);
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.changelog-btn:hover {
    background: var(--inconet-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 163, 224, 0.3);
}

.changelog-btn.has-update {
    animation: pulse-attention 2s infinite;
    border-color: #e74c3c;
    color: #e74c3c;
}

.changelog-btn.has-update:hover {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
}

@keyframes pulse-attention {
    0%, 100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(231, 76, 60, 0); }
}

/* Changelog Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    max-width: 700px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    background: linear-gradient(135deg, var(--inconet-dark) 0%, #1a3550 100%);
    color: white;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 24px;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    border-radius: 50%;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
    max-height: calc(80vh - 160px);
    overflow-y: auto;
}

.modal-footer {
    padding: 20px 30px;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn-primary {
    background: var(--inconet-blue);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: #0082b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 163, 224, 0.3);
}

/* Changelog Content */
.changelog-release {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #dee2e6;
    transition: all 0.3s;
}

.changelog-release:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.changelog-release.latest {
    background: linear-gradient(135deg, rgba(0, 163, 224, 0.05) 0%, rgba(140, 198, 63, 0.05) 100%);
    border-left-color: var(--inconet-blue);
}

.changelog-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.changelog-version {
    background: var(--inconet-dark);
    color: white;
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 15px;
}

.changelog-date {
    color: #666;
    font-size: 14px;
}

.changelog-badge {
    background: var(--inconet-green);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.changelog-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.changelog-list li {
    padding: 10px 0;
    padding-left: 30px;
    color: #555;
    line-height: 1.6;
    position: relative;
}

.changelog-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 18px;
    height: 18px;
    background: var(--inconet-blue);
    border-radius: 50%;
    opacity: 0.2;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 20px;
    }
    
    .header-right {
        width: 100%;
        align-items: center;
    }
    
    .version-info {
        text-align: center;
    }
    
    .changelog-btn {
        width: 100%;
        justify-content: center;
    }
    
    .modal-content {
        margin: 10% 10px;
        max-height: 85vh;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-header h2 {
        font-size: 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .changelog-header {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* ============================================
   ZENTRALER VERGLEICHSMODUS - NEUE FEATURES
   ============================================ */

/* Mode Selector */
.comparison-mode-selector {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
    padding: 5px;
    background: #f8f9fa;
    border-radius: 12px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.mode-selector-btn {
    background: transparent;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    color: #666;
}

.mode-selector-btn.active {
    background: white;
    color: var(--inconet-blue);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.mode-selector-btn:hover:not(.active) {
    background: rgba(255,255,255,0.5);
}

#central-comparison-mode,
#individual-comparison-mode {
    display: none;
}

/* Zentrale Steuerung */
.central-controls {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.central-controls h4 {
    color: var(--inconet-dark);
    margin-bottom: 25px;
    font-size: 20px;
    text-align: center;
}

.control-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 25px;
    align-items: end;
}

.control-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.control-item label {
    font-weight: 600;
    color: #555;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.control-item .value-display {
    font-size: 24px;
    font-weight: bold;
    color: var(--inconet-blue);
    text-align: center;
}

/* Slider + manuelles Eingabefeld nebeneinander */
.license-input-row {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
}

.license-input-row .license-slider {
    flex: 1;
    min-width: 0;
}

.value-display-input {
    width: 90px;
    flex-shrink: 0;
    padding: 6px 10px;
    border: 1.5px solid #d0d7de;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.85);
    -moz-appearance: textfield;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.value-display-input::-webkit-outer-spin-button,
.value-display-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.value-display-input:hover {
    border-color: var(--inconet-blue);
}

.value-display-input:focus {
    outline: none;
    border-color: var(--inconet-blue);
    box-shadow: 0 0 0 3px rgba(0, 163, 224, 0.18);
}

@media (max-width: 480px) {
    .license-input-row {
        flex-wrap: wrap;
        gap: 10px;
    }
    .license-input-row .license-slider {
        flex: 1 1 100%;
        order: 2;
    }
    .value-display-input {
        order: 1;
        width: 100%;
    }
}

/* Custom Slider */
.license-slider {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: linear-gradient(to right, 
        var(--inconet-blue) 0%, 
        var(--inconet-blue) var(--slider-progress, 0%), 
        #e0e0e0 var(--slider-progress, 0%), 
        #e0e0e0 100%);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.license-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--inconet-blue);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,163,224,0.4);
    transition: all 0.2s;
}

.license-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(0,163,224,0.6);
}

.license-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--inconet-blue);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(0,163,224,0.4);
    transition: all 0.2s;
}

.license-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(0,163,224,0.6);
}

/* Year Buttons */
.year-buttons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.year-btn {
    padding: 8px 12px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
    text-align: center;
}

.year-btn:hover {
    border-color: var(--inconet-blue);
    transform: translateY(-2px);
}

.year-btn.active {
    background: var(--inconet-blue);
    color: white;
    border-color: var(--inconet-blue);
}

/* Quick Scenario Buttons */
.quick-scenarios-central {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.scenario-btn {
    background: white;
    border: 2px solid #dee2e6;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.scenario-btn:hover {
    border-color: var(--inconet-blue);
    background: rgba(0,163,224,0.05);
    transform: translateY(-2px);
}

/* Live Plan Cards */
.live-plan-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.live-plan-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.live-plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--inconet-blue);
}

.live-plan-card.plan-1::before { background: var(--plan-1-color); }
.live-plan-card.plan-2::before { background: var(--plan-2-color); }
.live-plan-card.plan-3::before { background: var(--plan-3-color); }
.live-plan-card.plan-4::before { background: var(--plan-4-color); }
.live-plan-card.plan-4n::before { background: var(--plan-4n-color); }

.live-plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.live-plan-card.best-value {
    border: 3px solid var(--inconet-green);
    transform: scale(1.05);
}

.live-plan-card.best-value::after {
    content: '✨ Beste Wahl';
    position: absolute;
    top: 15px;
    right: -35px;
    background: var(--inconet-green);
    color: white;
    padding: 5px 40px;
    font-size: 12px;
    font-weight: bold;
    transform: rotate(45deg);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.plan-card-header {
    margin-bottom: 15px;
}

.plan-card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--inconet-dark);
    margin-bottom: 5px;
}

.plan-card-subtitle {
    font-size: 13px;
    color: #666;
}

.plan-card-price {
    text-align: center;
    margin: 20px 0;
}

.price-large {
    font-size: 32px;
    font-weight: bold;
    color: var(--inconet-blue);
}

.price-period {
    font-size: 14px;
    color: #666;
    display: block;
    margin-top: 5px;
}

.price-details {
    background: #f8f9fa;
    padding: 18px;
    border-radius: 8px;
    margin-top: 15px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid #e9ecef;
    gap: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.price-row:last-child {
    border-bottom: none;
    font-weight: bold;
    color: var(--inconet-dark);
    padding-top: 12px;
    margin-top: 8px;
    border-top: 2px solid #dee2e6;
}

.price-display .price-label {
    color: rgba(255, 255, 255, 0.95);
}

.price-amount {
    font-weight: 600;
    flex-shrink: 0;
    text-align: right;
    white-space: nowrap;
}

.price-label {
    flex: 1;
    min-width: 0;
    line-height: 1.4;
    word-break: keep-all;
    overflow-wrap: normal;
}

/* Savings Badge */
.savings-badge {
    display: inline-block;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    margin-left: 8px;
    animation: pulse-savings 2s infinite;
}

@keyframes pulse-savings {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Wachstums-Rechner */
.growth-calculator {
    background: linear-gradient(135deg, rgba(46,204,113,0.1), rgba(46,204,113,0.05));
    border: 2px solid #2ecc71;
    border-radius: 15px;
    padding: 25px;
    margin-top: 30px;
}

.growth-calculator h4 {
    color: #27ae60;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
}

.growth-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 15px;
    align-items: end;
    margin-bottom: 20px;
}

.growth-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.growth-input-group label {
    font-size: 13px;
    font-weight: 600;
    color: #555;
}

.growth-input-group input {
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
}

.calculate-growth-btn {
    background: #2ecc71;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
    height: fit-content;
}

.calculate-growth-btn:hover {
    background: #27ae60;
    transform: translateY(-2px);
}

.growth-results {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.growth-results.active {
    display: grid;
}

.growth-result-card {
    background: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}

.growth-result-card.highlight {
    background: linear-gradient(135deg, #fff5e6, #ffe6cc);
    border: 2px solid #f39c12;
}

.growth-result-card .label {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.growth-result-card .value {
    font-size: 20px;
    font-weight: bold;
    color: var(--inconet-dark);
}

.growth-result-card .subvalue {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .control-grid {
        grid-template-columns: 1fr;
    }
    
    .year-buttons {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .live-plan-cards {
        grid-template-columns: 1fr;
    }
    
    .growth-inputs {
        grid-template-columns: 1fr;
    }
    
    .comparison-mode-selector {
        flex-direction: column;
        width: 100%;
    }
}
/* ============================================
   CENTRAL TABLE VIEW
   ============================================ */

.central-table-view {
    display: none;
    margin-bottom: 30px;
}

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.central-comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

.central-comparison-table thead {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    color: var(--inconet-dark);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.central-comparison-table th {
    padding: 15px 20px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.central-comparison-table tbody tr {
    border-bottom: 1px solid #e9ecef;
    transition: all 0.2s;
}

.central-comparison-table tbody tr:hover {
    background: #f8f9fa;
}

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

.central-comparison-table td {
    padding: 15px 20px;
    font-size: 14px;
}

.central-comparison-table .plan-name-cell {
    font-weight: 600;
    color: var(--inconet-dark);
}

.central-comparison-table .plan-subtitle {
    font-size: 12px;
    color: #666;
    font-weight: normal;
    margin-top: 3px;
}

.central-comparison-table .total-cell {
    background: #f8f9fa;
    font-size: 16px;
    color: var(--inconet-blue);
}

/* Plan-spezifische Farben für Table Rows */
.central-comparison-table tbody tr.plan-1 {
    border-left: 4px solid var(--plan-1-color);
}
.central-comparison-table tbody tr.plan-2 {
    border-left: 4px solid var(--plan-2-color);
}
.central-comparison-table tbody tr.plan-3 {
    border-left: 4px solid var(--plan-3-color);
}
.central-comparison-table tbody tr.plan-4 {
    border-left: 4px solid var(--plan-4-color);
}
.central-comparison-table tbody tr.plan-4n {
    border-left: 4px solid var(--plan-4n-color);
}

/* Toggle Button für View */
#toggle-central-view {
    background: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    margin-left: auto;
}

#toggle-central-view:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .comparison-table-wrapper {
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
    }
    
    .central-comparison-table {
        min-width: 600px;
    }
    
    .central-comparison-table th,
    .central-comparison-table td {
        padding: 12px 15px;
        font-size: 13px;
    }
}

/* ============================================
   MODAL POPUP SYSTEM
   ============================================ */

/* Modal Overlay */
.modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Modal Content Box */
.modal-content {
    background: var(--glass-bg);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-large);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.4s ease;
}

/* Modal Header */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.95);
}

.modal-header h2 {
    margin: 0;
    color: var(--inconet-dark);
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-close {
    background: rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 0, 0, 0.15);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    color: #333;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-weight: bold;
}

.modal-close:hover {
    background: rgba(175, 82, 222, 0.2);
    border-color: var(--plan-4-color);
    color: var(--plan-4-color);
    transform: scale(1.15) rotate(90deg);
}

/* Modal Body */
.modal-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}

/* Changelog Entries */
.changelog-entry {
    background: white;
    border-radius: var(--border-radius-medium);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border-left: 4px solid var(--inconet-blue);
    transition: all 0.3s ease;
}

.changelog-entry:hover {
    box-shadow: var(--box-shadow-glossy);
    transform: translateX(5px);
}

.changelog-entry h3 {
    color: var(--inconet-dark);
    margin-bottom: 8px;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.changelog-version {
    background: var(--inconet-blue);
    color: white;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

.changelog-date {
    color: #666;
    font-size: 13px;
    font-weight: normal;
}

.changelog-entry ul {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.changelog-entry li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #495057;
    line-height: 1.6;
}

.changelog-entry li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--inconet-green);
    font-weight: bold;
}

/* Special Pricing Note (Toast Notification) */
.special-note {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-left: 4px solid var(--inconet-blue);
    padding: 18px 22px;
    border-radius: 12px;
    display: none;
    align-items: center;
    gap: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    z-index: 10000;
    font-size: 15px;
    color: var(--inconet-dark);
    max-width: min(420px, calc(100vw - 40px));
    transform: translateX(calc(100% + 30px));
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.special-note.visible {
    display: flex;
    transform: translateX(0);
}

.special-note .note-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.special-note .note-content {
    flex: 1;
}

.special-note .note-content strong {
    display: block;
    margin-bottom: 5px;
    color: var(--inconet-dark);
    font-size: 16px;
}

.special-note .note-content p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.special-note .close-note-btn {
    background: rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 0, 0, 0.15);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #333;
    padding: 0;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    font-weight: bold;
}

.special-note .close-note-btn:hover {
    background: rgba(175, 82, 222, 0.2);
    border-color: var(--plan-4-color);
    color: var(--plan-4-color);
    transform: scale(1.15);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive für Vergleichskarten */
@media (min-width: 1401px) {
    /* Sehr kompakte Darstellung für 5 Karten nebeneinander */
    .comparison-plan-header h4 {
        font-size: 12px;
    }

    .comp-input-group label {
        font-size: 9px;
    }

    .comp-input-group input,
    .comp-input-group select {
        font-size: 12px;
        padding: 5px 6px;
    }
}

@media (max-width: 1400px) {
    .comparison-plans-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 12px;
    }
}

@media (max-width: 1200px) {
    .comparison-plans-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 992px) {
    .comparison-plans-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .comparison-plans-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .modal-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-header h2 {
        font-size: 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .changelog-entry {
        padding: 15px;
    }
    
    .special-note {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: calc(100vw - 20px);
        padding: 15px;
        font-size: 14px;
    }
    
    .special-note .note-icon {
        font-size: 24px;
    }
    
    .special-note .note-content strong {
        font-size: 15px;
    }
    
    .special-note .note-content p {
        font-size: 13px;
    }
}

/* ============================================
   EVENT SECTION STYLES
   ============================================ */

.event-section {
    background: linear-gradient(135deg, rgba(175, 82, 222, 0.05) 0%, rgba(0, 163, 224, 0.05) 100%);
    position: relative;
    overflow: hidden;
    margin-bottom: 50px;
}

.event-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(175, 82, 222, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.event-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 2px solid rgba(175, 82, 222, 0.15);
}

.event-icon {
    font-size: 64px;
    line-height: 1;
    filter: drop-shadow(0 4px 12px rgba(175, 82, 222, 0.3));
}

.event-title-group {
    flex: 1;
}

.event-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--inconet-dark);
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--plan-4n-color) 0%, var(--inconet-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.event-subtitle {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

.event-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.event-description {
    font-size: 16px;
    line-height: 1.7;
    color: #495057;
    background: rgba(255, 255, 255, 0.6);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--plan-4n-color);
}

.event-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.event-detail-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    display: flex;
    gap: 15px;
}

.event-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(175, 82, 222, 0.15);
    border-color: var(--plan-4n-color);
}

.detail-icon {
    font-size: 36px;
    line-height: 1;
    min-width: 36px;
}

.detail-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--inconet-dark);
    margin-bottom: 12px;
}

.detail-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-content ul li {
    font-size: 14px;
    color: #495057;
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.detail-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--inconet-green);
    font-weight: bold;
}

.event-cta {
    background: linear-gradient(135deg, var(--plan-4n-color) 0%, #8b3ec9 100%);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(175, 82, 222, 0.25);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.cta-content {
    flex: 1;
    min-width: 250px;
}

.cta-content p {
    color: white;
    margin: 0 0 8px 0;
    font-size: 16px;
    line-height: 1.6;
}

.cta-content strong {
    font-size: 20px;
    font-weight: 700;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
}

.cta-button.primary {
    background: white;
    color: var(--plan-4n-color);
    border: 2px solid white;
}

.cta-button.primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.95);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

/* Mobile Responsive for Event Section */
@media (max-width: 768px) {
    .event-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .event-icon {
        font-size: 48px;
    }
    
    .event-title {
        font-size: 22px;
    }
    
    .event-subtitle {
        font-size: 14px;
    }
    
    .event-details-grid {
        grid-template-columns: 1fr;
    }
    
    .event-detail-card {
        flex-direction: column;
        text-align: center;
    }
    
    .event-cta {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }
    
    .cta-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
    }
}
/* === UPGRADE CALCULATOR CSS === */
/* ============================================
   UPGRADE-RECHNER - DEDICATED SECTION
   ============================================ */

/* Upgrade Calculator Section */
.upgrade-calculator-section {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-large);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--box-shadow-glossy);
    transition: all 0.3s ease;
}

.upgrade-calculator-section:hover {
    box-shadow: var(--box-shadow-hover);
    transform: translateY(-2px);
}

.upgrade-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--inconet-dark);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.upgrade-subtitle {
    font-size: 15px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Upgrade Input Grid */
.upgrade-input-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.upgrade-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.upgrade-input-group label {
    font-weight: 600;
    color: var(--inconet-dark);
    font-size: 14px;
}

.upgrade-input-group select,
.upgrade-input-group input {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    background: white;
    transition: all 0.3s ease;
}

.upgrade-input-group select:focus,
.upgrade-input-group input:focus {
    outline: none;
    border-color: var(--inconet-blue);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

/* Calculate Upgrade Button */
.calculate-upgrade-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--inconet-blue) 0%, #0051d5 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3);
    margin-bottom: 30px;
}

.calculate-upgrade-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.4);
}

.calculate-upgrade-btn:active {
    transform: translateY(0);
}

/* Reset Upgrade Button */
.reset-upgrade-btn:hover {
    border-color: #dc3545;
    color: #dc3545;
    background: rgba(220, 53, 69, 0.05);
}

/* Upgrade Comparison Container */
.upgrade-comparison-container {
    display: none; /* Hidden until calculation */
}

.upgrade-comparison-container.active {
    display: block;
    animation: slideInUp 0.5s ease;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Multi-Upgrade Grid */
.multi-upgrade-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.multi-upgrade-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.multi-upgrade-table th,
.multi-upgrade-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.multi-upgrade-table thead th {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    font-weight: 700;
    color: var(--inconet-dark);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.multi-upgrade-table tbody tr:hover {
    background: #f8f9fa;
}

.multi-upgrade-table tbody tr:last-child td {
    border-bottom: none;
}

.multi-upgrade-table td.current-plan {
    background: rgba(0, 0, 0, 0.02);
    font-weight: 600;
}

.multi-upgrade-table td.upgrade-plan {
    background: rgba(0, 122, 255, 0.03);
}

.multi-upgrade-table .plan-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    margin-left: 8px;
}

.multi-upgrade-table .badge-current {
    background: #e0e0e0;
    color: #666;
}

.multi-upgrade-table .badge-upgrade {
    background: var(--inconet-blue);
    color: white;
}

.multi-upgrade-table .price-cell {
    font-size: 18px;
    font-weight: 700;
    color: var(--inconet-blue);
}

.multi-upgrade-table .difference-cell {
    font-size: 16px;
    font-weight: 700;
}

.multi-upgrade-table .difference-positive {
    color: #dc3545;
}

.multi-upgrade-table .difference-neutral {
    color: #666;
}

.multi-upgrade-table .select-btn {
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--inconet-blue) 0%, #0051d5 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.multi-upgrade-table .select-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

/* Feature Tabs */
.multi-feature-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.feature-tab {
    padding: 10px 20px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
}

.feature-tab:hover {
    border-color: var(--inconet-blue);
    background: rgba(0, 122, 255, 0.05);
}

.feature-tab.active {
    background: var(--inconet-blue);
    color: white;
    border-color: var(--inconet-blue);
}

/* Two-Column Comparison */
.upgrade-comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.upgrade-plan-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.upgrade-plan-card.current {
    border: 2px solid #e0e0e0;
}

.upgrade-plan-card.new {
    border: 3px solid var(--inconet-blue);
    position: relative;
}

.upgrade-plan-card.new::before {
    content: "✨ UPGRADE";
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--inconet-blue);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.upgrade-plan-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.upgrade-plan-header {
    margin-bottom: 20px;
}

.upgrade-plan-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
    margin-bottom: 5px;
}

.upgrade-plan-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--inconet-dark);
    margin-bottom: 15px;
}

.upgrade-plan-price {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.upgrade-price-main {
    font-size: 32px;
    font-weight: 800;
    color: var(--inconet-blue);
}

.upgrade-price-period {
    font-size: 14px;
    color: #666;
}

/* Cost Breakdown Card */
.upgrade-cost-breakdown {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
}

.upgrade-cost-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--inconet-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.upgrade-cost-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.upgrade-cost-row:last-child {
    border-bottom: none;
    margin-top: 10px;
    padding-top: 15px;
    border-top: 2px solid rgba(0, 122, 255, 0.3);
}

.upgrade-cost-label {
    font-size: 15px;
    color: #333;
}

.upgrade-cost-label.highlight {
    font-weight: 700;
    font-size: 16px;
}

.upgrade-cost-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--inconet-blue);
}

.upgrade-cost-value.positive {
    color: #28a745;
}

.upgrade-cost-value.negative {
    color: #dc3545;
}

.upgrade-cost-value.highlight {
    font-size: 20px;
}

/* Feature Differences */
.upgrade-features-section {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
}

.upgrade-features-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--inconet-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.upgrade-features-grid {
    display: grid;
    gap: 12px;
}

.upgrade-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid var(--inconet-green);
    transition: all 0.3s ease;
}

.upgrade-feature-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.upgrade-feature-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.upgrade-feature-content {
    flex: 1;
}

.upgrade-feature-name {
    font-weight: 700;
    font-size: 15px;
    color: var(--inconet-dark);
    margin-bottom: 4px;
}

.upgrade-feature-description {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* Upgrade Recommendation Banner */
.upgrade-recommendation {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 20px 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.upgrade-recommendation-icon {
    font-size: 32px;
}

.upgrade-recommendation-content {
    flex: 1;
}

.upgrade-recommendation-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}

.upgrade-recommendation-text {
    font-size: 14px;
    opacity: 0.95;
}

/* Action Buttons */
.upgrade-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.upgrade-action-btn {
    flex: 1;
    min-width: 200px;
    padding: 16px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.upgrade-action-btn.primary {
    background: linear-gradient(135deg, var(--inconet-blue) 0%, #0051d5 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3);
}

.upgrade-action-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.4);
}

.upgrade-action-btn.secondary {
    background: white;
    color: var(--inconet-dark);
    border: 2px solid #e0e0e0;
}

.upgrade-action-btn.secondary:hover {
    border-color: var(--inconet-blue);
    background: rgba(0, 122, 255, 0.05);
}

/* Empty State */
.upgrade-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.upgrade-empty-state-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.upgrade-empty-state-text {
    font-size: 16px;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .upgrade-comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .upgrade-input-grid {
        grid-template-columns: 1fr;
    }
    
    .upgrade-actions {
        flex-direction: column;
    }
    
    .upgrade-action-btn {
        width: 100%;
        min-width: auto;
    }
    
    .upgrade-plan-card.new::before {
        right: 10px;
        font-size: 11px;
    }
}

/* Print Styles */
@media print {
    .upgrade-actions {
        display: none;
    }
    
    .calculate-upgrade-btn {
        display: none;
    }
    
    .upgrade-calculator-section {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* ============================================================
   REFACTORING: Component-Klassen (ersetzt inline styles)
   ============================================================ */

/* ---- Whitespace: Section-Padding erhöhen ---- */
.calculator-section,
.bedarfsanalyse-section,
.info-box,
.comparison-section,
.glossary-section,
.resources-section {
    padding: 40px;
}

/* ---- A) Intro-Sektion ---- */
.intro-content {
    font-size: 16px;
    line-height: 1.6;
    color: #495057;
}

.hero-stats-box {
    background: linear-gradient(135deg, #00a3e0 0%, #0078b4 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 163, 224, 0.3);
}

.hero-stats-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    text-align: center;
    margin-top: 20px;
}

.stat-number {
    font-size: 32px;
    font-weight: bold;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
}

.feature-articles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.feature-article {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.feature-article h3 {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ---- B) Trust-Sektion ---- */
.trust-section {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    padding: 25px;
    border-radius: 15px;
    margin-top: 30px;
    box-shadow: var(--box-shadow-glossy);
}

.trust-section > h3 {
    margin-bottom: 20px;
    color: var(--inconet-dark);
    font-weight: 700;
    font-size: 22px;
    text-align: center;
}

.trust-grid {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--inconet-dark);
    padding: 15px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
}

.trust-item--gold {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 255, 255, 0.6) 100%);
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.trust-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.trust-body {
    min-width: 0;
}

.trust-title {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.trust-desc {
    font-size: 14px;
    color: #666;
}

.linkedin-link {
    color: #0077b5;
    text-decoration: none;
    font-size: 13px;
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
    transition: opacity 0.2s;
}

.linkedin-link:hover {
    opacity: 0.7;
}

.section-cta-wrapper {
    margin-top: 40px;
    text-align: center;
}

.section-cta {
    background: var(--inconet-blue);
    color: white;
    padding: 18px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(0, 163, 224, 0.3);
    transition: transform 0.2s;
}

.section-cta:hover {
    transform: translateY(-3px);
}

/* ---- C) Executive Summary Plan-Karten ---- */
.exec-summary-intro {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.exec-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-bottom: 30px;
}

.exec-plan-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.exec-plan-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}

.exec-plan-card--p1 { border: 3px solid var(--plan-1-color); }
.exec-plan-card--p2 { border: 3px solid var(--plan-2-color); }
.exec-plan-card--p3 { border: 3px solid var(--plan-3-color); }
.exec-plan-card--p4 { border: 3px solid var(--plan-4-color); }

.exec-plan-card--featured {
    transform: scale(1.03);
    box-shadow: 0 16px 48px rgba(175, 82, 222, 0.22);
    background: linear-gradient(160deg, #fff 80%, rgba(175, 82, 222, 0.06) 100%);
}

.exec-plan-card--featured:hover {
    transform: scale(1.03) translateY(-3px);
    box-shadow: 0 22px 56px rgba(175, 82, 222, 0.28);
}

.exec-plan-badge {
    position: absolute;
    top: -13px;
    right: 20px;
    color: white;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    animation: pulse-attention 2.5s ease-in-out infinite;
}

.exec-plan-header {
    text-align: center;
    margin-bottom: 15px;
}

.exec-plan-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.exec-plan-title {
    margin: 0;
    font-size: 24px;
}

.exec-plan-subtitle {
    color: #666;
    font-size: 14px;
    margin-top: 5px;
}

.exec-plan-price {
    font-size: 32px;
    font-weight: bold;
    color: var(--inconet-dark);
    margin: 10px 0;
}

.exec-plan-per-user {
    font-size: 13px;
    color: #888;
}

.exec-plan-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.exec-plan-item {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.exec-plan-item:last-child {
    border-bottom: none;
}

.exec-plan-check {
    font-size: 18px;
    flex-shrink: 0;
    line-height: 1.4;
}

.exec-plan-check--muted {
    color: #ddd;
}

.exec-plan-item-text {
    font-size: 14px;
}

.exec-plan-item-text--muted {
    color: #999;
}

.exec-plan-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px solid #f0f0f0;
    text-align: center;
    font-size: 13px;
    color: #666;
}

.exec-plan-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    margin-top: 15px;
    transition: opacity 0.2s;
}

.exec-plan-link:hover {
    opacity: 0.7;
}

/* ---- D) Kontakt-Formular ---- */
.form-message {
    display: none;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
    text-align: center;
}

.form-message--success {
    background: rgba(34, 197, 94, 0.2);
    border: 2px solid rgba(34, 197, 94, 0.5);
}

.form-message--error {
    background: rgba(239, 68, 68, 0.2);
    border: 2px solid rgba(239, 68, 68, 0.5);
}

.form-message__icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.form-message__title {
    color: white;
    margin-bottom: 10px;
}

.form-body {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.form-field--full {
    grid-column: 1 / -1;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 15px;
    transition: border-color 0.3s, background 0.3s;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.15);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.kontakt-btn {
    background: linear-gradient(135deg, #fff 0%, #e0f7ff 100%);
    color: var(--inconet-blue);
    padding: 16px 40px;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 17px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.kontakt-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

/* ---- Persönlich-Sektion ---- */
.persoenlich-section {
    background: #f8fafc;
}

.persoenlich-wrapper {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.persoenlich-wrapper .section-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--inconet-blue);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.persoenlich-wrapper .section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: #0d2233;
    margin-bottom: 16px;
    line-height: 1.15;
}

.persoenlich-wrapper .section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 520px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

.person-card {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.person-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border: 4px solid white;
    margin-bottom: 20px;
}

.person-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.person-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0d2233;
    margin-bottom: 4px;
}

.person-role {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 20px;
}

.person-contacts {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.person-contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #334155;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}

.person-contact-link:hover {
    color: var(--inconet-blue);
}

.person-contact-link svg {
    flex-shrink: 0;
    color: var(--inconet-blue);
}

/* ---- Kontakt-Sektion ---- */
.kontakt-section {
    background: linear-gradient(135deg, #00a3e0 0%, #0078b4 100%);
    color: white;
}

/* Voller Breite Titel über dem Grid */
.kontakt-header {
    max-width: 1020px;
    margin: 0 auto 40px;
    text-align: center;
}

.kontakt-header__title {
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
    line-height: 1.2;
}

.kontakt-header__sub {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.6;
}

/* 2-Spalten-Grid: Person links, Formular rechts */
.kontakt-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    max-width: 1020px;
    margin: 0 auto;
    align-items: center;
}

/* Person Card im blauen Kontext */
.kontakt-person {
    text-align: center;
    padding-right: 52px;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.kontakt-person__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 10px;
}

.kontakt-person__title {
    font-size: 1.55rem;
    font-weight: 800;
    color: white;
    margin-bottom: 32px;
    line-height: 1.2;
}

.kontakt-person .person-photo {
    width: 200px;
    height: 200px;
    margin: 0 auto 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.85);
}

.kontakt-person .person-name {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.kontakt-person .person-role {
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 20px;
}

.kontakt-person .person-contacts {
    align-items: center;
    gap: 12px;
}

.kontakt-person .person-contact-link {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.88rem;
}

.kontakt-person .person-contact-link:hover {
    color: white;
}

.kontakt-person .person-contact-link svg {
    color: rgba(255, 255, 255, 0.6);
}

/* Form rechts: padding links statt gap */
.kontakt-grid .form-wrapper {
    padding-left: 52px;
}

/* Success-State: volle Breite, zentriert */
.kontakt-grid--success {
    grid-template-columns: 1fr;
}
.kontakt-grid--success .form-wrapper {
    padding-left: 0;
}

/* Mobile: untereinander */
@media (max-width: 720px) {
    .kontakt-grid {
        grid-template-columns: 1fr;
    }
    .kontakt-person {
        padding-right: 0;
        padding-bottom: 40px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    }
    .kontakt-grid .form-wrapper {
        padding-left: 0;
    }
}

.form-wrapper {
    max-width: none;
    margin: 0;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header__title {
    font-size: 32px;
    margin-bottom: 20px;
    color: white;
}

.form-header__sub {
    font-size: 18px;
    opacity: 0.95;
}

.form-message__text {
    opacity: 0.9;
    margin: 0 0 15px;
}

.form-label-optional {
    opacity: 0.7;
    font-weight: 400;
}

textarea.form-input {
    resize: vertical;
}

/* Beratungsart Toggle-Buttons */
.beratungsart-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.beratungsart-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.beratungsart-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}

.beratungsart-btn:hover {
    border-color: rgba(255, 255, 255, 0.6);
    color: white;
    background: rgba(255, 255, 255, 0.15);
}

.beratungsart-input:checked + .beratungsart-btn {
    background: white;
    border-color: white;
    color: var(--inconet-blue);
}

/* Datenschutz Checkbox */
.form-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 24px;
    cursor: pointer;
}

.form-check-input {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: white;
    cursor: pointer;
}

.form-check-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.form-check-link {
    color: white;
    font-weight: 600;
    text-underline-offset: 2px;
}

.form-check-link:hover {
    opacity: 0.8;
}

.form-submit-row {
    text-align: center;
    margin-top: 35px;
}

.form-submit-note {
    margin-top: 20px;
    font-size: 13px;
    opacity: 0.8;
}

/* ---- Footer ---- */
.site-footer {
    background: #2c3e50;
    color: white;
}

.footer-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 50px 20px 30px;
}

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

.footer-heading {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--inconet-blue);
}

.footer-text {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 15px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}

.social-link:hover {
    background: rgba(0, 163, 224, 0.8);
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 12px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--inconet-blue);
}

.footer-contact-item {
    margin-bottom: 12px;
    font-size: 14px;
    opacity: 0.9;
}

.footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    opacity: 0.7;
}

/* ---- Scroll-to-Top Button ---- */
.scroll-to-top {
    position: fixed;
    bottom: 80px;
    right: 32px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--inconet-dark);
    border: 1px solid rgba(0,0,0,0.08);
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 999;
    transition: opacity 0.3s, visibility 0.3s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    background: white;
}
@media (max-width: 480px) {
    .scroll-to-top {
        bottom: 72px;
        right: 24px;
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

/* ---- Mobile: Section-Padding zurücksetzen ---- */
@media (max-width: 768px) {
    .calculator-section,
    .bedarfsanalyse-section,
    .info-box,
    .comparison-section,
    .glossary-section,
    .resources-section {
        padding: 20px;
    }

    .feature-articles {
        grid-template-columns: 1fr;
    }

    .exec-plan-card--featured {
        transform: none;
    }

    .exec-plan-card--featured:hover {
        transform: translateY(-3px);
    }

    .form-body {
        padding: 24px;
    }
}

