*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --primary: #2563eb; --primary-dark: #1d4ed8; --primary-light: #eff6ff;
  --success: #16a34a; --warning: #d97706; --danger: #dc2626;
  --gray-50: #f8fafc; --gray-100: #f1f5f9; --gray-200: #e2e8f0;
  --gray-400: #94a3b8; --gray-600: #475569; --gray-700: #334155; --gray-900: #0f172a;
  --radius: 12px; --shadow: 0 1px 3px rgb(0 0 0/0.08), 0 1px 2px rgb(0 0 0/0.04);
  --shadow-lg: 0 10px 25px -5px rgb(0 0 0/0.1), 0 8px 10px -6px rgb(0 0 0/0.05);
}
body { font-family: 'Inter', system-ui, sans-serif; color: var(--gray-900); background: #fff; line-height: 1.6; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 760px; }
.container--form { max-width: 860px; }

/* Header */
.header { background: #fff; border-bottom: 1px solid var(--gray-200); position: sticky; top: 0; z-index: 100; }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.header__logo-text { font-size: 1.1rem; font-weight: 700; color: var(--gray-900); display: flex; align-items: center; gap: 8px; }
.logo-icon { font-size: 1.4rem; }
.header__nav { display: flex; gap: 24px; align-items: center; }
.nav-link { color: var(--gray-600); font-size: 0.9rem; font-weight: 500; transition: color .2s; }
.nav-link:hover, .nav-link--active { color: var(--primary); text-decoration: none; }
.nav-link--subtle { color: var(--gray-400); font-size: 0.82rem; }
.header__menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.header__menu-toggle span { display: block; width: 22px; height: 2px; background: var(--gray-700); border-radius: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 20px; border-radius: 8px; font-size: 0.9rem; font-weight: 600; cursor: pointer; border: none; transition: all .2s; text-decoration: none; }
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); }
.btn--outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn--outline:hover { background: var(--primary-light); }
.btn--lg { padding: 14px 28px; font-size: 1rem; border-radius: 10px; }
.btn--sm { padding: 6px 14px; font-size: 0.82rem; }
.btn--full { width: 100%; }
.btn--danger { background: var(--danger); color: #fff; }
.btn--danger:hover { background: #b91c1c; }
.btn__spinner { display: inline-block; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Sections */
.section { padding: 72px 0; }
.section__title { font-size: 2rem; font-weight: 800; text-align: center; margin-bottom: 12px; }
.section__sub { color: var(--gray-600); text-align: center; margin-bottom: 48px; font-size: 1.05rem; }
.section--analyse { background: var(--gray-50); }
.section--pakete { background: #fff; }
.section--addons { background: var(--gray-50); }
.section--roi { background: #fff; }
.section--karte { background: var(--gray-50); }

/* Hero */
.hero { padding: 80px 0; background: linear-gradient(135deg, #eff6ff 0%, #fff 60%); }
.hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero__badge { display: inline-block; background: var(--primary-light); color: var(--primary); font-size: 0.8rem; font-weight: 700; padding: 4px 12px; border-radius: 20px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .05em; }
.hero__title { font-size: 2.6rem; font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.hero__sub { color: var(--gray-600); font-size: 1.1rem; margin-bottom: 32px; max-width: 480px; }
.ampel-demo { background: #1e293b; border-radius: 16px; padding: 32px; text-align: center; max-width: 280px; margin: 0 auto; }
.ampel-demo p { color: #94a3b8; font-size: 0.85rem; margin-top: 16px; }
.ampel-dot { width: 60px; height: 60px; border-radius: 50%; margin: 8px auto; opacity: 0.2; }
.ampel-dot--gruen { background: #22c55e; }
.ampel-dot--gelb { background: #f59e0b; }
.ampel-dot--rot { background: #ef4444; }
.ampel-dot.active { opacity: 1; box-shadow: 0 0 20px currentColor; }

/* Analyse */
.analyse-box { max-width: 680px; margin: 0 auto; }
.analyse-form__input-wrap { display: flex; gap: 12px; }
.analyse-form__input { flex: 1; padding: 14px 18px; border: 2px solid var(--gray-200); border-radius: 10px; font-size: 1rem; outline: none; transition: border .2s; }
.analyse-form__input:focus { border-color: var(--primary); }
.analyse-form__hint { color: var(--gray-400); font-size: 0.82rem; margin-top: 8px; text-align: center; }
.analyse-result { margin-top: 28px; background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-lg); }
.ampel-indicator { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.ampel-circle { width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0; }
.ampel-circle--gruen { background: #22c55e; }
.ampel-circle--gelb { background: #f59e0b; }
.ampel-circle--rot { background: #ef4444; }
.score-text { font-size: 1.5rem; font-weight: 800; }
.checks-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-bottom: 20px; }
.check-item { padding: 12px 16px; border-radius: 8px; background: var(--gray-50); font-size: 0.85rem; }
.check-item--pass { border-left: 4px solid #22c55e; }
.check-item--fail { border-left: 4px solid #ef4444; }
.check-item--warn { border-left: 4px solid #f59e0b; }
.todos-list { list-style: none; }
.todos-list li { padding: 8px 0; border-bottom: 1px solid var(--gray-100); font-size: 0.88rem; display: flex; gap: 8px; }
.prio-badge { font-size: 0.72rem; font-weight: 700; padding: 2px 8px; border-radius: 20px; flex-shrink: 0; }
.prio-badge--kritisch { background: #fee2e2; color: #b91c1c; }
.prio-badge--hoch { background: #fef3c7; color: #92400e; }
.prio-badge--mittel { background: #eff6ff; color: #1d4ed8; }
.prio-badge--niedrig { background: #f1f5f9; color: #475569; }

/* Pakete */
.pakete-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.paket-card { border: 2px solid var(--gray-200); border-radius: 16px; padding: 28px; position: relative; transition: transform .2s, box-shadow .2s; }
.paket-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.paket-card--highlight { border-color: var(--primary); box-shadow: 0 0 0 4px #eff6ff; }
.paket-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 3px 14px; border-radius: 20px; white-space: nowrap; }
.paket-icon { font-size: 2rem; margin-bottom: 12px; }
.paket-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; }
.paket-price__setup { color: var(--gray-600); font-size: 0.85rem; margin-bottom: 4px; }
.paket-price__monthly { display: flex; align-items: baseline; gap: 4px; margin-bottom: 8px; }
.paket-price__amount { font-size: 1.8rem; font-weight: 800; color: var(--primary); }
.paket-price__period { color: var(--gray-600); font-size: 0.85rem; }
.paket-price__note { font-size: 0.78rem; color: var(--gray-400); margin-bottom: 12px; }
.paket-features { list-style: none; margin-bottom: 20px; }
.paket-features li { padding: 5px 0; font-size: 0.88rem; color: var(--gray-700); }

/* Addons */
.addons-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.addon-card { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); position: relative; }
.addon-card--booster { border-top: 3px solid var(--warning); }
.addon-badge { position: absolute; top: 12px; right: 12px; background: #fef3c7; color: #92400e; font-size: 0.72rem; font-weight: 700; padding: 2px 8px; border-radius: 20px; }
.addon-name { font-size: 0.95rem; font-weight: 600; margin-bottom: 8px; }
.addon-price { color: var(--gray-600); font-size: 0.82rem; margin-bottom: 12px; display: flex; flex-direction: column; gap: 2px; }

/* ROI */
.roi-card { background: var(--gray-50); border-radius: 16px; padding: 28px; }
.roi-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.roi-inputs label { display: flex; flex-direction: column; gap: 6px; font-size: 0.88rem; font-weight: 500; }
.roi-result { margin-top: 20px; background: #fff; border-radius: 12px; padding: 20px; }
.roi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.roi-item { background: var(--gray-50); border-radius: 8px; padding: 14px; }
.roi-item--full { grid-column: 1/-1; }
.roi-label { display: block; font-size: 0.8rem; color: var(--gray-600); margin-bottom: 4px; }
.roi-value { font-size: 1.1rem; font-weight: 700; }
.roi-value--green { color: var(--success); }
.roi-hint { font-size: 0.78rem; color: var(--gray-400); margin-top: 12px; }

/* Karte */
.karte-container { display: grid; grid-template-columns: 320px 1fr; gap: 24px; align-items: start; }
.karte-search { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.karte-map { height: 420px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); z-index: 0; }
.vip-result { border-radius: 8px; padding: 12px 16px; font-size: 0.88rem; }
.vip-result--ok { background: #dcfce7; color: #166534; }
.vip-result--conflict { background: #fee2e2; color: #991b1b; }

/* Angebot-Form */
.form-section { border: none; margin-bottom: 28px; background: var(--gray-50); border-radius: var(--radius); padding: 24px; }
.form-section__title { font-size: 1rem; font-weight: 700; margin-bottom: 16px; display: block; }
.paket-auswahl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.paket-option { cursor: pointer; }
.paket-option input { display: none; }
.paket-option__inner { border: 2px solid var(--gray-200); border-radius: 10px; padding: 14px; text-align: center; transition: all .2s; }
.paket-option input:checked + .paket-option__inner { border-color: var(--primary); background: var(--primary-light); }
.paket-option__name { font-weight: 700; font-size: 0.9rem; }
.paket-option__price { font-size: 0.78rem; color: var(--gray-600); margin-top: 4px; }
.addons-check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.addon-check { cursor: pointer; }
.addon-check input { display: none; }
.addon-check__inner { border: 2px solid var(--gray-200); border-radius: 8px; padding: 12px; transition: all .2s; }
.addon-check input:checked + .addon-check__inner { border-color: var(--primary); background: var(--primary-light); }
.addon-check__name { font-size: 0.88rem; font-weight: 600; display: block; margin-bottom: 4px; }
.addon-check__price { font-size: 0.78rem; color: var(--gray-600); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-label { display: flex; flex-direction: column; gap: 6px; font-size: 0.88rem; font-weight: 500; color: var(--gray-700); }
.input { padding: 10px 14px; border: 1.5px solid var(--gray-200); border-radius: 8px; font-size: 0.9rem; outline: none; transition: border .2s; width: 100%; font-family: inherit; }
.input:focus { border-color: var(--primary); }
textarea.input { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.consent-group { display: flex; flex-direction: column; gap: 12px; }
.consent-check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; cursor: pointer; }
.consent-check input[type="checkbox"] { margin-top: 2px; flex-shrink: 0; }
.preis-summary { background: #fff; border: 2px solid var(--primary); border-radius: var(--radius); padding: 20px; margin-bottom: 24px; }
.preis-summary h3 { font-size: 1rem; font-weight: 700; margin-bottom: 12px; }
.preis-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--gray-100); font-size: 0.9rem; }
.preis-row--total { font-weight: 700; font-size: 1rem; border-bottom: none; padding-top: 12px; }
.preis-note { font-size: 0.78rem; color: var(--gray-400); margin-top: 8px; }
.form-hint { text-align: center; font-size: 0.8rem; color: var(--gray-400); margin-top: 10px; }
.hidden { display: none !important; }
.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-size: 0.88rem; }
.alert--error { background: #fee2e2; color: #991b1b; }
.alert--success { background: #dcfce7; color: #166534; }
.alert--warning { background: #fef3c7; color: #92400e; }

/* Footer */
.footer { background: var(--gray-900); color: var(--gray-400); padding: 32px 0; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; }
.footer__links { display: flex; gap: 20px; }
.footer__links a { color: var(--gray-400); font-size: 0.85rem; }
.footer__links a:hover { color: #fff; }
.footer__copy { font-size: 0.85rem; }

/* Cookie Banner */
#cookieBanner { position: fixed; bottom: 20px; left: 20px; right: 20px; max-width: 600px; background: #1e293b; color: #e2e8f0; padding: 20px 24px; border-radius: 12px; box-shadow: 0 20px 40px rgb(0 0 0/0.3); z-index: 9999; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
#cookieBanner p { flex: 1; font-size: 0.85rem; min-width: 200px; }
#cookieBanner a { color: #93c5fd; }
.cookie-btn--accept { background: var(--primary); color: #fff; border: none; padding: 8px 20px; border-radius: 6px; cursor: pointer; font-weight: 600; font-size: 0.85rem; }
.cookie-btn--decline { background: transparent; color: #94a3b8; border: 1px solid #475569; padding: 8px 16px; border-radius: 6px; cursor: pointer; font-size: 0.85rem; }

/* Responsive */
@media (max-width: 1024px) { .pakete-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 768px) {
  .hero__inner { grid-template-columns: 1fr; } .hero__title { font-size: 1.8rem; }
  .pakete-grid { grid-template-columns: 1fr; } .paket-auswahl { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; } .roi-inputs { grid-template-columns: 1fr; }
  .karte-container { grid-template-columns: 1fr; } .karte-map { height: 280px; }
  .analyse-form__input-wrap { flex-direction: column; }
  .header__nav { display: none; } .header__menu-toggle { display: flex; }
  .footer__inner { flex-direction: column; gap: 12px; text-align: center; }
}
