/* ═══════════════════════════════════════════════
   mailmeister.at · main.css
   Alle Styles zentral hier bearbeiten.
   Seiten-Theme: body.page-index (dunkel) |
                 body.page-analytics (hell)
═══════════════════════════════════════════════ */

/* ── 1. GETEILTE ACCENT-FARBEN ── */
:root {
  --accent:  #2196F3;
  --accent2: #1E88E5;
  --focus:   #42A5F5;
  --green:   #16a34a;
  --orange:  #d97706;
}

/* ── 2a. DARK THEME – index.html ── */
body.page-index {
  --bg:             #0f1419;
  --bg2:            #151b24;
  --bg3:            #1a2332;
  --border:         rgba(255,255,255,0.08);
  --accent-light:   #64B5F6;
  --red:            #E53935;
  --text:           #FFFFFF;
  --text-secondary: #E0E0E0;
  --muted:          #90A4AE;
  --card:           #1a2332;
  --shadow:         0 4px 16px rgba(0,0,0,0.4);
}

/* ── 2b. LIGHT THEME – analytics.html ── */
body.page-analytics {
  --bg:             #f5f7fa;
  --bg2:            #eaecf0;
  --bg3:            #e0e3e9;
  --border:         rgba(0,0,0,0.09);
  --red:            #dc2626;
  --text:           #111827;
  --text-secondary: #374151;
  --muted:          #6b7280;
  --card:           #ffffff;
}

/* ── 3. RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a, button { transition: all 0.2s ease; }

/* Skip-Link (A11y) */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent);
  color: var(--bg);
  padding: 8px 16px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 0 0 4px 0;
}
.skip-link:focus { top: 0; }

/* Focus-Styles (A11y) */
:focus-visible {
  outline: 3px solid var(--focus, #42A5F5);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Noise-Overlay nur auf index */
body.page-index::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* ── 4. NAVIGATION ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  height: 68px;
  background: #ffffff;
  border-bottom: 3px solid #2196F3;
  box-shadow: 0 2px 16px rgba(0,0,0,0.09);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  padding: 0 2rem 0 3rem;
  flex: 1;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #2196F3, #1565C0);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(33,150,243,0.28);
}

.logo-text {
  font-size: 1.15rem;
  font-weight: 800;
  color: #111;
  letter-spacing: -0.01em;
  white-space: nowrap;
  font-family: 'Inter', -apple-system, sans-serif;
}

.logo-text .logo-accent { color: #2196F3; }

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.1rem;
  flex: 1;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.nav-menu li a {
  display: block;
  padding: 0.4rem 0.9rem;
  color: #333;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
  font-family: 'Inter', -apple-system, sans-serif;
}

.nav-menu li a:hover {
  background: rgba(33,150,243,0.09);
  color: #2196F3;
}

.nav-menu li a.nav-active {
  color: #2196F3;
  background: rgba(33,150,243,0.09);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 3rem 0 2rem;
  flex: 1;
  justify-content: flex-end;
}

.nav-email {
  font-size: 0.8rem;
  color: #555;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  font-family: 'Inter', -apple-system, sans-serif;
}

.nav-email:hover { color: #2196F3; }

.nav-cta {
  background: #2196F3;
  color: #fff !important;
  padding: 0.55rem 1.3rem;
  border-radius: 7px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  box-shadow: 0 2px 8px rgba(33,150,243,0.3);
  font-family: 'Inter', -apple-system, sans-serif;
}

.nav-cta:hover {
  background: #1565C0;
  box-shadow: 0 4px 16px rgba(33,150,243,0.4);
  transform: translateY(-1px);
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
}

.nav-burger span {
  display: block;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: all 0.25s;
}

.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 5. FOOTER ── */
.site-footer {
  border-top: 1px solid rgba(0,0,0,0.09);
  padding: 3rem 4rem;
  background: #eaecf0;
  font-family: 'Inter', -apple-system, sans-serif;
}

.site-footer .footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

.footer-brand .footer-logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 0.6rem;
}

.footer-brand .footer-tagline {
  font-size: 0.82rem;
  color: #6b7280;
  line-height: 1.7;
}

.footer-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-nav-links a:hover { color: #2196F3; }

.footer-legal p {
  font-size: 0.78rem;
  color: #6b7280;
  margin-bottom: 0.6rem;
}

.footer-contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.8rem;
}

.footer-contact-links a {
  font-size: 0.85rem;
  color: #374151;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-contact-links a:hover { color: #2196F3; }

.footer-legal-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-legal-links a {
  font-size: 0.78rem;
  color: #374151;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-legal-links a:hover { color: #2196F3; }

/* ── 6. INDEX.HTML – Komponenten ── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 4rem 4rem;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(72,196,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(72,196,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(33,150,243,0.06) 0%, transparent 70%);
  top: 50%; left: 60%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 800px;
}

.hero h1 strong { color: var(--accent); }

.hero-sub {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin-top: 1.5rem;
  line-height: 1.8;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.85rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(33,150,243,0.25);
}

.btn-ghost {
  border: 2px solid var(--border);
  color: var(--text);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--accent);
  background: rgba(33,150,243,0.1);
}

.urgency-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.8rem;
  padding: 0.55rem 1.1rem;
  background: rgba(244, 67, 54, 0.1);
  border: 1px solid rgba(244, 67, 54, 0.35);
  border-radius: 6px;
  font-size: 0.82rem;
  color: #fca5a5;
  letter-spacing: 0.02em;
}

.urgency-banner strong { color: #f87171; }

.urgency-banner a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.urgency-icon { font-size: 0.9rem; }

.section-label {
  font-family: 'Fira Mono', monospace;
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 600px;
}

.section-title strong { color: var(--accent); }

section {
  position: relative;
  padding: 6rem 4rem;
}

#produkte {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 6rem 4rem;
}

.products-intro {
  max-width: 1200px;
  margin: 0 auto 4rem;
}

.products-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.product-card {
  background: var(--card);
  padding: 3.5rem;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.product-card.red-accent::before  { background: var(--red); }
.product-card.blue-accent::before { background: var(--accent2); }

.product-card:hover {
  border-color: var(--accent);
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.product-card:hover::before  { transform: scaleX(1); }
.product-card:focus-within   { border-color: var(--focus); }

.product-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: block;
}

.product-number {
  font-family: 'Fira Mono', monospace;
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.product-card h3 {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: var(--text);
}

.product-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.product-features {
  list-style: none;
  margin-bottom: 2.5rem;
}

.product-features li {
  font-size: 0.95rem;
  color: var(--text);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.product-features li:last-child { border-bottom: none; }

.feat-check {
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(33,150,243,0.05);
  border-radius: 8px;
  border-left: 4px solid var(--accent);
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.price-label {
  font-family: 'Fira Mono', monospace;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.2;
}

.product-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #2196F3, #1976D2);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: all 0.2s;
  min-height: 44px;
  align-self: flex-start;
  cursor: pointer;
}

.product-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(33,150,243,0.3);
  gap: 1rem;
}

.product-link:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

#ablauf {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 4rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 3.5rem;
  background: var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.process-step {
  background: var(--bg);
  padding: 2.5rem;
  border: 1px solid var(--border);
}

.process-step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.process-step p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

.step-num {
  font-family: 'Fira Mono', monospace;
  font-size: 2.5rem;
  font-weight: 500;
  color: rgba(33,150,243,0.15);
  line-height: 1;
  margin-bottom: 1rem;
}

#faq {
  max-width: 900px;
  margin: 0 auto;
  padding: 6rem 4rem;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}

.faq-q {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  margin: -1rem 0 -1rem -1rem;
  border-radius: 8px;
  transition: all 0.2s;
  background: transparent;
  border: 2px solid transparent;
  width: 100%;
  text-align: left;
  min-height: 44px;
}

.faq-q:hover {
  background: rgba(33,150,243,0.05);
  border-color: var(--border);
}

.faq-q:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.faq-toggle {
  font-size: 1.5rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.3s;
  font-family: 'Fira Mono', monospace;
}

.faq-a {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.8;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s;
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding-top: 1rem;
}

.faq-item.open .faq-toggle { transform: rotate(45deg); }

#kontakt {
  padding: 6rem 4rem;
  position: relative;
}

/* 2-Spalten Layout: Info | Formular */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: start;
  max-width: 1100px;
  margin: 3rem auto 0;
}

.contact-left .section-title {
  max-width: 100%;
  margin-bottom: 1.25rem;
}

.contact-sub {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact-benefits {
  list-style: none;
  margin-bottom: 2.5rem;
}

.contact-benefits li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.5;
}

.contact-benefits li:last-child { border-bottom: none; }

.contact-benefits li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.contact-calendly-btn {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.contact-email-link,
.contact-phone-link {
  display: block;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
  margin-top: 0.5rem;
}

.contact-email-link:hover,
.contact-phone-link:hover { border-bottom-color: var(--accent); }

/* Formular-Card */
.contact-form-wrapper {
  background: var(--card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

.form-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 2rem;
  background: rgba(33,150,243,0.06);
  border-bottom: 1px solid var(--border);
}

.form-card-icon { font-size: 1.4rem; flex-shrink: 0; }

.form-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.2rem;
  font-family: 'Inter', -apple-system, sans-serif;
}

.form-card-sub {
  font-size: 0.75rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Inter', -apple-system, sans-serif;
}

.form-card-sub::before {
  content: '●';
  color: var(--green);
  font-size: 0.55rem;
}

.form-card-body { padding: 2rem; }

/* ══════════════════════════════════════════
   HUBSPOT FORM — vollständige Design-Overrides
   Matcht exakt das Website-Design
══════════════════════════════════════════ */

/* Reset HubSpot Wrapper */
.hbspt-form { font-family: 'Inter', -apple-system, sans-serif !important; }
.hbspt-form form { margin: 0 !important; padding: 0 !important; }

/* Fieldsets: volle Breite, kein HubSpot-Layout */
.hbspt-form fieldset {
  max-width: 100% !important;
  width: 100% !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.hbspt-form .form-columns-1,
.hbspt-form .form-columns-2 {
  max-width: 100% !important;
}

.hbspt-form .form-columns-2 .hs-form-field {
  width: 100% !important;
  float: none !important;
}

/* Feld-Abstand */
.hbspt-form .hs-form-field {
  margin-bottom: 1.1rem !important;
  float: none !important;
}

/* Labels */
.hbspt-form label,
.hbspt-form .hs-form-field > label {
  display: block !important;
  color: var(--muted) !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  margin-bottom: 0.45rem !important;
  font-family: 'Inter', -apple-system, sans-serif !important;
}

/* Inputs, Textarea, Select */
.hbspt-form input[type="text"],
.hbspt-form input[type="email"],
.hbspt-form input[type="tel"],
.hbspt-form input[type="number"],
.hbspt-form input[type="url"],
.hbspt-form textarea,
.hbspt-form select {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  background: var(--bg2) !important;
  color: var(--text) !important;
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  padding: 0.8rem 1rem !important;
  font-family: 'Inter', -apple-system, sans-serif !important;
  font-size: 0.88rem !important;
  line-height: 1.5 !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Placeholder */
.hbspt-form input::placeholder,
.hbspt-form textarea::placeholder {
  color: var(--muted) !important;
  opacity: 0.6 !important;
}

/* Focus-State — identisch zu :focus-visible der Website */
.hbspt-form input:focus,
.hbspt-form textarea:focus,
.hbspt-form select:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(33,150,243,0.2) !important;
  background: var(--bg3) !important;
}

/* Textarea */
.hbspt-form textarea {
  min-height: 110px !important;
  resize: vertical !important;
}

/* Select: Custom-Arrow */
.hbspt-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  padding-right: 2.5rem !important;
  cursor: pointer !important;
}

/* Input Wrapper — HubSpot-padding entfernen */
.hbspt-form .input { margin: 0 !important; }

/* Submit Button — exakt wie .btn-primary der Website */
.hbspt-form .hs-button,
.hbspt-form input[type="submit"] {
  display: block !important;
  width: 100% !important;
  background: var(--accent) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 0.9rem 2rem !important;
  font-family: 'Inter', -apple-system, sans-serif !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  cursor: pointer !important;
  min-height: 48px !important;
  margin-top: 0.5rem !important;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease !important;
  box-shadow: 0 2px 8px rgba(33,150,243,0.3) !important;
}

.hbspt-form .hs-button:hover,
.hbspt-form input[type="submit"]:hover {
  background: #1565C0 !important;
  box-shadow: 0 6px 20px rgba(33,150,243,0.4) !important;
  transform: translateY(-2px) !important;
}

.hbspt-form .hs-button:active,
.hbspt-form input[type="submit"]:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 8px rgba(33,150,243,0.3) !important;
}

/* Submit-Wrapper */
.hbspt-form .hs_submit { margin-top: 0.25rem !important; }
.hbspt-form .actions { padding: 0 !important; }

/* Error-Meldungen */
.hbspt-form .hs-error-msgs {
  list-style: none !important;
  margin: 0.35rem 0 0 !important;
  padding: 0 !important;
}

.hbspt-form .hs-error-msg {
  color: var(--red, #E53935) !important;
  font-size: 0.76rem !important;
  font-family: 'Inter', -apple-system, sans-serif !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
}

.hbspt-form .hs-error-msg::before {
  content: '⚠' !important;
  font-size: 0.7rem !important;
}

/* Fehler-Input-State */
.hbspt-form .hs-input.invalid.error,
.hbspt-form input.invalid.error {
  border-color: var(--red, #E53935) !important;
  box-shadow: 0 0 0 3px rgba(229,57,53,0.15) !important;
}

/* Globale Fehler-Rollup */
.hbspt-form .hs_error_rollup { display: none !important; }

/* Rich-Text / Helper-Text */
.hbspt-form .hs-richtext,
.hbspt-form .hs-richtext p {
  color: var(--muted) !important;
  font-size: 0.8rem !important;
  line-height: 1.6 !important;
  font-family: 'Inter', -apple-system, sans-serif !important;
  margin-bottom: 0.75rem !important;
}

/* DSGVO / Legal Consent Checkbox */
.hbspt-form .legal-consent-container { margin-top: 1rem !important; }

.hbspt-form .legal-consent-container .hs-form-boolfieldgroup {
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.6rem !important;
}

.hbspt-form .legal-consent-container input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0 !important;
  margin-top: 0.15rem !important;
  accent-color: var(--accent) !important;
  cursor: pointer !important;
}

.hbspt-form .legal-consent-container label,
.hbspt-form .legal-consent-container p {
  font-size: 0.75rem !important;
  color: var(--muted) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
}

.hbspt-form .legal-consent-container a {
  color: var(--accent) !important;
  text-decoration: underline !important;
}

/* Erfolgs-Nachricht nach Absenden */
.hbspt-form .submitted-message {
  text-align: center !important;
  padding: 2rem 1rem !important;
}

.hbspt-form .submitted-message p {
  color: var(--green, #16a34a) !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  font-family: 'Inter', -apple-system, sans-serif !important;
  line-height: 1.6 !important;
}

/* Responsive Kontakt */
@media (max-width: 960px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .form-card-body { padding: 1.5rem; }
  .form-card-header { padding: 1.25rem 1.5rem; }
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

#warum {
  background: var(--bg2);
  border-top: 1px solid var(--border);
}

.why-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.why-list {
  list-style: none;
  margin-top: 2rem;
}

.why-list li {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  align-items: start;
}

.why-list li:last-child { border-bottom: none; }

.why-icon {
  font-size: 1.2rem;
  padding-top: 0.2rem;
}

.why-list h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: var(--text);
}

.why-list p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

.why-stat-box {
  background: var(--card);
  border: 2px solid var(--border);
  padding: 3rem;
  border-radius: 12px;
}

.stat-row {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.stat-row:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.stat-num {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── 7. ANALYTICS.HTML – Komponenten ── */

.page-header {
  padding: 5rem 4rem 3rem;
  max-width: 1200px;
  margin: calc(68px + 3rem) auto 0;
}

.page-label {
  font-family: 'Fira Mono', monospace;
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}

.page-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.page-title strong { color: var(--accent); }

.page-subtitle {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 600px;
}

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem;
}

.section-divider {
  border: none;
  border-top: 1px solid var(--border);
}

.section-heading {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.section-heading .hl { color: var(--accent); }

.section-desc {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
  max-width: 680px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.8rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}

.stat-card.c-blue::before   { background: var(--accent); }
.stat-card.c-green::before  { background: var(--green); }
.stat-card.c-orange::before { background: var(--orange); }
.stat-card.c-red::before    { background: var(--red); }

.stat-label {
  font-family: 'Fira Mono', monospace;
  font-size: 0.65rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
  display: block;
}

.stat-value {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-card.c-blue .stat-value   { color: var(--accent); }
.stat-card.c-green .stat-value  { color: var(--green); }
.stat-card.c-orange .stat-value { color: var(--orange); }
.stat-card.c-red .stat-value    { color: var(--red); }

.stat-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

.bar-chart {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}

.chart-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.chart-sub {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.bar-row {
  display: grid;
  grid-template-columns: 160px 1fr 60px;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.bar-row:last-child { margin-bottom: 0; }

.bar-dept {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: right;
}

.bar-track {
  height: 32px;
  background: rgba(0,0,0,0.07);
  border-radius: 6px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 6px;
  display: flex;
  align-items: center;
  padding-left: 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: white;
  transition: width 0.8s ease;
}

.bar-fill.safe   { background: linear-gradient(90deg, #388E3C, #4CAF50); }
.bar-fill.warn   { background: linear-gradient(90deg, #E65100, #FF9800); }
.bar-fill.danger { background: linear-gradient(90deg, #C62828, #F44336); }

.bar-pct { font-size: 0.85rem; font-weight: 700; }
.bar-pct.safe   { color: var(--green); }
.bar-pct.warn   { color: var(--orange); }
.bar-pct.danger { color: var(--red); }

.link-table {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}

.link-table table { width: 100%; border-collapse: collapse; }

.link-table th {
  background: rgba(33,150,243,0.08);
  padding: 1rem 1.5rem;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--border);
}

.link-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.link-table tr:last-child td { border-bottom: none; }
.link-table tr:hover td { background: rgba(33,150,243,0.04); }

.link-name { font-weight: 600; color: var(--accent); }
.link-url  { font-family: 'Fira Mono', monospace; font-size: 0.8rem; color: var(--muted); }

.badge {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.badge-high   { background: rgba(244,67,54,0.15); color: #F44336; }
.badge-medium { background: rgba(255,152,0,0.15);  color: #FF9800; }
.badge-low    { background: rgba(76,175,80,0.15);   color: #4CAF50; }

.trend-up   { color: #F44336; }
.trend-down { color: #4CAF50; }

.dmarc-intro {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  border-left: 4px solid var(--accent);
}

.dmarc-intro h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.dmarc-intro p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.dmarc-intro p:last-child { margin-bottom: 0; }

.flow-container {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}

.flow-steps {
  display: flex;
  position: relative;
  overflow-x: auto;
}

.flow-step {
  flex: 1;
  min-width: 200px;
  position: relative;
  padding: 1.5rem;
  text-align: center;
}

.flow-step + .flow-step::before {
  content: '→';
  position: absolute;
  left: -0.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--accent);
}

.flow-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.75rem;
}

.flow-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.flow-desc {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}

.dmarc-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.dmarc-stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}

.dmarc-stat .pct {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.dmarc-stat.danger  .pct { color: var(--red); }
.dmarc-stat.warning .pct { color: var(--orange); }
.dmarc-stat.good    .pct { color: var(--green); }

.dmarc-stat .label {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.dmarc-stat .detail {
  font-size: 0.8rem;
  color: var(--muted);
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.compare-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}

.compare-box.bad  { border-color: rgba(244,67,54,0.3); }
.compare-box.good { border-color: rgba(76,175,80,0.3); }

.compare-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.compare-box.bad  .compare-title { color: var(--red); }
.compare-box.good .compare-title { color: var(--green); }

.compare-list { list-style: none; }

.compare-list li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.5;
}

.compare-list li:last-child { border-bottom: none; }

.compare-list li::before {
  flex-shrink: 0;
  font-size: 0.9rem;
  margin-top: 0.1rem;
}

.compare-box.bad  .compare-list li::before { content: '✗'; color: var(--red); }
.compare-box.good .compare-list li::before { content: '✓'; color: var(--green); }

.case-study {
  background: linear-gradient(135deg, rgba(33,150,243,0.08), rgba(21,101,192,0.08));
  border: 2px solid rgba(33,150,243,0.25);
  border-radius: 12px;
  padding: 2.5rem;
  margin-bottom: 2rem;
}

.case-tag {
  font-family: 'Fira Mono', monospace;
  font-size: 0.65rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
  display: block;
}

.case-study h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.case-study p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.case-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.case-num {
  text-align: center;
  padding: 1.2rem;
  background: rgba(33,150,243,0.06);
  border-radius: 8px;
  border: 1px solid rgba(33,150,243,0.15);
}

.case-num .big {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
}

.case-num .small {
  font-size: 0.78rem;
  color: var(--muted);
}

.final-cta {
  background: linear-gradient(135deg, #1565C0, #2196F3);
  border-radius: 16px;
  padding: 3.5rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #fff;
}

.final-cta h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.final-cta p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-white {
  background: #fff;
  color: #1565C0;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
  padding: 0.9rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
}

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

/* ── 8. ANIMATIONEN ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── 9. RESPONSIVE ── */
@media (max-width: 960px) {
  .nav-menu {
    display: none;
    position: fixed;
    top: 68px;
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 1rem 1rem;
    border-bottom: 3px solid #2196F3;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 999;
  }
  .nav-menu.open { display: flex; }
  .nav-menu li a { padding: 0.75rem 1rem; font-size: 1rem; border-radius: 8px; }
  .nav-burger { display: flex; }
  .nav-email  { display: none; }
  .logo { padding-left: 1.5rem; }
  .nav-actions { padding-right: 1.5rem; }

  .hero, section { padding-left: 1.5rem; padding-right: 1.5rem; }
  .products-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .product-card  { padding: 2rem; }
  .product-icon  { font-size: 2.5rem; }
  .price-amount  { font-size: 2rem; }
  .process-grid  { grid-template-columns: 1fr 1fr; gap: 1px; }
  .process-step  { padding: 1.5rem; }
  .why-inner     { grid-template-columns: 1fr; gap: 3rem; }
  #ablauf, #faq  { padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (max-width: 900px) {
  .site-footer { padding: 2rem 1.5rem; }
  .site-footer .footer-inner { grid-template-columns: 1fr; gap: 2rem; }

  .page-header, .section { padding: 2rem 1.5rem; }
  .stats-grid    { grid-template-columns: 1fr 1fr; }
  .dmarc-stats   { grid-template-columns: 1fr; }
  .compare-grid  { grid-template-columns: 1fr; }
  .case-numbers  { grid-template-columns: 1fr; }
  .bar-row       { grid-template-columns: 100px 1fr 50px; }
  .flow-steps    { flex-direction: column; }
  .flow-step + .flow-step::before { display: none; }
}

@media (max-width: 600px) {
  .stats-grid { grid-template-columns: 1fr; }
  .final-cta  { padding: 2rem; }
}

/* ── ACCESSIBILITY ── */
@media (prefers-contrast: more) {
  :root { --accent: #1976D2; }
  body.page-index { --border: rgba(255,255,255,0.3); --muted: #B0BEC5; }
  .product-card { border-width: 3px; }
  .btn, .product-link { border-width: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

@media (prefers-color-scheme: light) {
  body.page-index {
    --bg: #FFFFFF; --bg2: #F5F5F5; --bg3: #EEEEEE;
    --border: rgba(0,0,0,0.12);
    --text: #212121; --text-secondary: #424242; --muted: #757575;
    --card: #FAFAFA; --accent: #1976D2; --accent2: #1565C0; --accent-light: #42A5F5;
  }
  body.page-index::before { display: none; }
}

/* ── 9. BLOG ── */

body.page-blog {
  --bg: #f5f7fa; --bg2: #eaecf0; --bg3: #e0e3e9;
  --text: #111827; --text-secondary: #374151; --muted: #6b7280;
  --card: #ffffff; --border: rgba(0,0,0,0.09);
  --accent: #2196F3; --accent2: #1565C0;
  --red: #dc2626; --green: #16a34a; --orange: #d97706;
  background: var(--bg);
  color: var(--text);
}

/* ── BLOG INDEX ── */
.blog-index-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem 2.5rem;
}

.blog-index-lead {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 600px;
  margin-top: 1rem;
}

.blog-card-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 5rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.75rem;
}

.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.blog-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
}

.blog-card:hover::before { transform: scaleX(1); }

/* invisible full-card click area */
.blog-card-link {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.blog-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.blog-card-category {
  font-family: 'Fira Mono', monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
}

.blog-card-read {
  font-size: 0.72rem;
  color: var(--muted);
  white-space: nowrap;
}

.blog-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.blog-card-title a {
  color: var(--text);
  text-decoration: none;
  position: relative;
  z-index: 1;
}

.blog-card-title a:hover { color: var(--accent); }

.blog-card-excerpt {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.blog-card-date {
  font-size: 0.75rem;
  color: var(--muted);
}

.blog-card-cta {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  position: relative;
  z-index: 1;
  transition: gap 0.15s;
}

.blog-card-cta:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .blog-index-header { padding: 3rem 1.2rem 1.5rem; }
  .blog-card-grid { padding: 0 1.2rem 3rem; grid-template-columns: 1fr; }
}


.blog-main {
  max-width: 780px;
  margin: 0 auto;
  padding: 6rem 2rem 5rem;
}

.blog-article {}

.blog-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.blog-category {
  font-family: 'Fira Mono', monospace;
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blog-date {
  font-size: 0.82rem;
  color: var(--muted);
}

.blog-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
}

.blog-title strong { color: var(--accent); }

.blog-lead {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 1.8rem;
}

.blog-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  padding: 1rem 1.2rem;
  background: var(--bg2);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  font-size: 0.85rem;
}

.blog-toc-title {
  font-family: 'Fira Mono', monospace;
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  width: 100%;
}

.blog-toc a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.15s;
}
.blog-toc a:hover { opacity: 0.75; text-decoration: underline; }

.blog-section {
  margin-bottom: 3rem;
}

.blog-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.blog-section h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 1.5rem 0 0.7rem;
}

.blog-section p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.blog-list {
  margin: 0.8rem 0 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.blog-list li {
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.blog-callout {
  padding: 1rem 1.4rem;
  border-radius: 8px;
  margin: 1.5rem 0;
  font-size: 0.92rem;
  line-height: 1.65;
}

.callout-info {
  background: rgba(33,150,243,0.1);
  border-left: 3px solid var(--accent);
  color: var(--text-secondary);
}

.callout-warn {
  background: rgba(255,152,0,0.1);
  border-left: 3px solid #FF9800;
  color: var(--text-secondary);
}

code {
  font-family: 'Fira Mono', monospace;
  font-size: 0.82rem;
  background: var(--bg3);
  padding: 0.15em 0.45em;
  border-radius: 4px;
  color: var(--accent);
  word-break: break-all;
}

.code-block {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.2rem 1.4rem;
  margin: 1rem 0;
  overflow-x: auto;
}

.code-block code {
  background: none;
  padding: 0;
  font-size: 0.87rem;
  color: #a5f3fc;
  display: block;
  margin-top: 0.5rem;
}

.code-label {
  font-family: 'Fira Mono', monospace;
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  display: block;
}

.blog-table-wrap { overflow-x: auto; margin: 1.5rem 0 0.5rem; border-radius: 10px; border: 1px solid var(--border); }

.blog-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.blog-table th {
  background: var(--bg2);
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 2px solid var(--border);
  font-family: 'Fira Mono', monospace;
}

.blog-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  vertical-align: middle;
}

.blog-table tbody tr:last-child td { border-bottom: none; }
.blog-table tbody tr:hover td { background: var(--bg2); transition: background 0.15s; }

.table-avg-row td { background: rgba(33,150,243,0.04); font-weight: 600; }

/* ── Benchmark-spezifisch ── */
.rate-value {
  font-family: 'Fira Mono', monospace;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  white-space: nowrap;
}

.rate-bar {
  background: var(--bg3);
  border-radius: 4px;
  height: 10px;
  overflow: hidden;
  min-width: 100px;
}

.rate-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.6s ease;
  /* width is set inline, max scale = 40% of bar = 100% visually */
  transform: scaleX(2.5);
  transform-origin: left;
}

.rate-critical { background: linear-gradient(90deg, #dc2626, #ef4444); }
.rate-high     { background: linear-gradient(90deg, #d97706, #f59e0b); }
.rate-mid      { background: linear-gradient(90deg, #2196F3, #42A5F5); }
.rate-low      { background: linear-gradient(90deg, #16a34a, #22c55e); }
.rate-safe     { background: linear-gradient(90deg, #16a34a, #4ade80); }

.risk-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.risk-critical { background: rgba(220,38,38,0.1);  color: #dc2626; }
.risk-high     { background: rgba(217,119,6,0.1);  color: #d97706; }
.risk-mid      { background: rgba(33,150,243,0.1); color: #1976D2; }
.risk-low      { background: rgba(22,163,74,0.1);  color: #16a34a; }

.blog-table-source {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.4rem;
  margin-bottom: 1.2rem;
  font-style: italic;
}

.blog-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.blog-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  align-items: start;
}

.blog-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.blog-step h3 { margin-top: 0.6rem; }

.blog-checklist {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.2rem 0;
}

.check-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.2rem;
  background: var(--bg2);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.check-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 0.1rem; }

.check-item div { font-size: 0.92rem; line-height: 1.6; color: var(--text-secondary); }
.check-item strong { color: var(--text); }

.blog-cta {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  margin-top: 3rem;
}

.blog-cta h2 { font-size: 1.5rem; color: #fff; margin-bottom: 0.8rem; }
.blog-cta p  { color: var(--text-secondary); margin-bottom: 1.8rem; font-size: 0.97rem; }
.blog-cta .btn { display: inline-flex; width: auto; }

@media (max-width: 640px) {
  .blog-main { padding: 2rem 1.2rem 4rem; }
  .blog-step { grid-template-columns: 1fr; }
  .blog-step-num { width: 36px; height: 36px; font-size: 0.8rem; }
}

@media (max-width: 640px) {
  .blog-main { padding: 2rem 1.2rem 4rem; }
  .blog-step { grid-template-columns: 1fr; }
  .blog-step-num { width: 36px; height: 36px; font-size: 0.8rem; }
}

/* ── KALKULATOR TEASER (index.html) ── */
#kalkulator-teaser {
  padding: 0 2rem 3rem;
}

.kalk-teaser-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
  background: #ffffff;
  border: none;
  border-left: 4px solid var(--accent);
  border-radius: 16px;
  padding: 2.5rem 2.8rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

.kalk-teaser-badge {
  display: inline-block;
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.kalk-teaser-title {
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
  color: #111827;
}

.kalk-teaser-title strong { color: var(--accent); }

.kalk-teaser-sub {
  font-size: 0.88rem;
  color: #374151;
  line-height: 1.65;
  margin-bottom: 1.4rem;
  max-width: 480px;
}

.kalk-teaser-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-left: 1px solid rgba(0,0,0,0.1);
  padding-left: 2rem;
}

.kalk-teaser-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.kalk-teaser-val {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
}

.kalk-teaser-lbl {
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.4;
}

.kalk-teaser-lbl em {
  font-style: normal;
  opacity: 0.7;
  display: block;
  font-size: 0.68rem;
}

@media (max-width: 768px) {
  #kalkulator-teaser { padding: 0 1.2rem 2.5rem; }
  .kalk-teaser-inner { grid-template-columns: 1fr; padding: 2rem; }
  .kalk-teaser-stats { flex-direction: row; border-left: none; padding-left: 0; border-top: 1px solid rgba(0,0,0,0.1); padding-top: 1.2rem; }
  .kalk-teaser-stat { flex: 1; }
}

@media (max-width: 480px) {
  .kalk-teaser-stats { flex-direction: column; }
}

/* ═══════════════════════════════════════════════
   KOSTENKALKULATOR – kalkulator.html
═══════════════════════════════════════════════ */

body.page-kalkulator {
  --bg:             #f5f7fa;
  --bg2:            #eaecf0;
  --bg3:            #e0e3e9;
  --border:         rgba(0,0,0,0.09);
  --red:            #dc2626;
  --accent-light:   #1565C0;
  --text:           #111827;
  --text-secondary: #374151;
  --muted:          #6b7280;
  --card:           #ffffff;
  --shadow:         0 4px 16px rgba(0,0,0,0.08);
  background: var(--bg);
  color: var(--text);
}

/* ── HERO ── */
.kalk-hero {
  padding: 5rem 2rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.kalk-hero-inner { max-width: 860px; }

.kalk-hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 1rem 0 1.2rem;
}

.kalk-hero-title strong { color: var(--accent); }

.kalk-hero-lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 640px;
  margin-bottom: 2.5rem;
}

/* ── BENCHMARK FAKTEN ── */
.kalk-bench-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.kalk-bench-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.2rem 1.4rem;
  border-top: 3px solid var(--accent);
}

.kalk-bench-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.kalk-bench-label {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}

.kalk-bench-label em {
  display: block;
  font-style: normal;
  font-size: 0.7rem;
  margin-top: 0.25rem;
  opacity: 0.75;
}

/* ── KALKULATOR TOOL ── */
.kalk-tool {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2rem 4rem;
}

.kalk-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2rem;
  align-items: start;
}

/* ── INPUTS ── */
.kalk-inputs {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  position: sticky;
  top: 90px;
}

.kalk-inputs-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.8rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}

.kalk-inputs-badge {
  background: var(--accent);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fira Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.kalk-field { margin-bottom: 1.8rem; }

.kalk-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.kalk-value-display {
  font-family: 'Fira Mono', monospace;
  font-size: 0.95rem;
  color: var(--accent);
  font-weight: 700;
  background: rgba(33,150,243,0.1);
  padding: 0.15rem 0.6rem;
  border-radius: 4px;
}

/* ── SLIDER ── */
.kalk-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--bg3);
  outline: none;
  cursor: pointer;
  border: none;
}

.kalk-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(33,150,243,0.4);
  transition: transform 0.15s, box-shadow 0.15s;
}

.kalk-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 16px rgba(33,150,243,0.5);
}

.kalk-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: none;
}

.kalk-slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.35rem;
}

/* ── SELECT ── */
.kalk-select {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.9rem;
  padding: 0.65rem 1rem;
  cursor: pointer;
  outline: none;
  font-family: 'Inter', sans-serif;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.kalk-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(33,150,243,0.2);
}

.kalk-field-hint {
  font-size: 0.73rem;
  color: var(--muted);
  margin-top: 0.4rem;
  line-height: 1.4;
}

.kalk-disclaimer {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  background: rgba(229,57,53,0.08);
  border: 1px solid rgba(229,57,53,0.2);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-top: 0.4rem;
}

/* ── ERGEBNIS-KARTEN ── */
.kalk-results {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.kalk-cost-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.kalk-cost-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.4rem;
  border-top: 3px solid transparent;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.kalk-cost-card.c-orange  { border-top-color: var(--orange); }
.kalk-cost-card.c-red     { border-top-color: var(--red); }
.kalk-cost-card.c-blue    { border-top-color: var(--accent); }
.kalk-cost-card.c-darkred { border-top-color: #b91c1c; }

.kalk-cost-icon { font-size: 1.2rem; margin-bottom: 0.2rem; }

.kalk-cost-label {
  font-family: 'Fira Mono', monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.kalk-cost-value {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  transition: all 0.3s ease;
}

.c-orange .kalk-cost-value  { color: var(--orange); }
.c-red    .kalk-cost-value  { color: var(--red); }
.c-blue   .kalk-cost-value  { color: var(--accent); }
.c-darkred .kalk-cost-value { color: #f87171; }

.kalk-cost-note {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.45;
  margin-top: 0.15rem;
}

.kalk-cost-note em {
  font-style: normal;
  opacity: 0.75;
  display: block;
}

/* ── TOTAL BOX ── */
.kalk-total-box {
  background: var(--card);
  border: 1px solid rgba(229,57,53,0.3);
  border-radius: 14px;
  padding: 1.6rem 1.8rem;
  border-top: 4px solid var(--red);
}

.kalk-total-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.kalk-total-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.2rem;
}

.kalk-total-note {
  font-size: 0.72rem;
  color: var(--muted);
  opacity: 0.7;
}

.kalk-total-value {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--red);
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
  transition: all 0.3s ease;
}

/* ── VERGLEICHSLEISTE ── */
.kalk-compare-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg2);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.9rem;
}

.kalk-compare-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
}

.kalk-compare-label {
  font-size: 0.7rem;
  color: var(--muted);
  font-family: 'Fira Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.kalk-compare-price {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.kalk-compare-attack .kalk-compare-price  { color: var(--red); }
.kalk-compare-service .kalk-compare-price { color: var(--green); }

.kalk-compare-sep {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 700;
  padding: 0 0.5rem;
}

.kalk-roi-line {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.kalk-roi-value {
  color: var(--green);
  font-weight: 800;
}

.kalk-roi-protect {
  color: var(--red);
  font-weight: 700;
}

/* ── CTA BUTTON ── */
.kalk-cta-btn {
  width: 100%;
  margin-top: 0.5rem;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

/* ── METHODIK ── */
.kalk-method {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
  border-top: 1px solid var(--border);
}

.kalk-method-lead {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 680px;
  margin-bottom: 2.5rem;
}

.kalk-method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.kalk-method-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.8rem;
  position: relative;
}

.kalk-method-num {
  font-family: 'Fira Mono', monospace;
  font-size: 0.65rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.kalk-method-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.kalk-method-card p {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.kalk-formula {
  display: block;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  padding: 0.65rem 0.9rem;
  font-family: 'Fira Mono', monospace;
  font-size: 0.75rem;
  color: var(--accent-light, #64B5F6);
  margin: 0.8rem 0;
  white-space: pre-wrap;
  word-break: break-word;
}

.kalk-method-src {
  font-size: 0.73rem;
  color: var(--muted);
  margin-top: 0.3rem !important;
}

.kalk-method-src a {
  color: var(--accent);
  text-decoration: none;
}

.kalk-method-src a:hover { text-decoration: underline; }

/* ── BRANCHEN-TABELLE ── */
.kalk-branche-table {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.8rem;
}

.kalk-branche-table h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--text);
}

.kalk-branche-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.83rem;
}

.kalk-branche-table th {
  text-align: left;
  padding: 0.6rem 0.8rem;
  border-bottom: 2px solid var(--border);
  font-family: 'Fira Mono', monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.kalk-branche-table td {
  padding: 0.65rem 0.8rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  vertical-align: top;
}

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

.factor-high  { color: var(--red);    font-weight: 700; font-family: 'Fira Mono', monospace; }
.factor-mid   { color: var(--orange); font-weight: 700; font-family: 'Fira Mono', monospace; }
.factor-base  { color: var(--accent); font-weight: 700; font-family: 'Fira Mono', monospace; }
.factor-low   { color: var(--muted);  font-weight: 700; font-family: 'Fira Mono', monospace; }

/* ── FINAL CTA ── */
.kalk-final-cta {
  background: linear-gradient(135deg, #e3f2fd 0%, #f0f7ff 100%);
  border-top: 1px solid var(--border);
  padding: 5rem 2rem;
  text-align: center;
}

.kalk-final-inner {
  max-width: 700px;
  margin: 0 auto;
}

.kalk-final-cta h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.kalk-final-cta h2 strong { color: var(--accent); }

.kalk-final-cta p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.kalk-final-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── SCREEN READER ONLY ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .kalk-bench-grid { grid-template-columns: repeat(2, 1fr); }
  .kalk-layout { grid-template-columns: 1fr; }
  .kalk-inputs { position: static; }
  .kalk-method-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .kalk-hero { padding: 3rem 1.2rem 2rem; }
  .kalk-tool, .kalk-method { padding: 1.5rem 1.2rem 3rem; }
  .kalk-bench-grid { grid-template-columns: 1fr 1fr; }
  .kalk-cost-grid { grid-template-columns: 1fr; }
  .kalk-total-row { flex-direction: column; }
  .kalk-total-value { font-size: 2rem; }
  .kalk-compare-bar { flex-direction: column; align-items: flex-start; }
  .kalk-final-cta { padding: 3rem 1.2rem; }
  .kalk-final-actions { flex-direction: column; }
  .kalk-branche-table table { font-size: 0.75rem; }
}
