/* ============================================================
   MaliTech Solutions — Landing Page Styles
   Brand: Deep Navy + Gold + Brand Blue
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=clash-display@400,500,600,700&f[]=satoshi@400,500,700&display=swap');

:root {
  /* Core brand */
  --color-deep-navy: #000926;
  --color-deep-navy-2: #050d33;
  --color-ice-blue: #D6E6F3;
  --color-powder-blue: #A6C5D7;
  --color-sapphire: #0F52BA;
  --color-gold: #FFB703;
  --color-brand: #2563EB;
  --color-brand-hover: #1565D8;
  --color-glow: rgba(255, 183, 3, 0.4);
  --color-danger: #ff4d4f;

  /* Semantic */
  --color-bg: #000926;
  --color-text: #FFFFFF;
  --color-text-secondary: rgba(255, 255, 255, 0.85);
  --color-text-muted: rgba(255, 255, 255, 0.6);
  --color-text-light: #D6E6F3;
  --color-border: rgba(255, 255, 255, 0.1);
  --color-border-strong: rgba(255, 255, 255, 0.18);
  --color-surface-card: rgba(255, 255, 255, 0.03);
  --color-surface-elevated: rgba(255, 255, 255, 0.05);

  /* Shadows */
  --shadow-glow: 0 0 50px rgba(255, 183, 3, 0.25);
  --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.4);
  --shadow-header: 0 4px 30px rgba(0, 0, 0, 0.2);
  --shadow-brand: 0 4px 15px rgba(15, 82, 186, 0.3);
  --shadow-brand-hover: 0 8px 25px rgba(15, 82, 186, 0.5);

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;
  --spacing-4xl: 8rem;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 32px;
  --radius-pill: 100px;

  /* Type */
  --font-headline: 'Clash Display', 'Outfit', -apple-system, sans-serif;
  --font-body: 'Satoshi', 'Outfit', -apple-system, sans-serif;
  --font-ui: 'Outfit', -apple-system, sans-serif;

  /* Transitions */
  --t-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --t-base: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --container: 1320px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body {
  /* Subtle ambient grid */
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(15, 82, 186, 0.25), transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 30%, rgba(255, 183, 3, 0.08), transparent 60%);
  background-attachment: fixed;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-headline);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ============= HEADER ============= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 8px 0;
  background: rgba(0, 9, 38, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img { height: 56px; width: auto; display: block; }
.nav {
  display: flex;
  gap: 36px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
}
.nav a:hover { color: var(--color-gold); }
html { scroll-behavior: smooth; }
section[id="risiko"], section[id="preis"] { scroll-margin-top: 96px; }
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ============= BUTTONS ============= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  transition: all var(--t-base);
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-gold);
  color: #1a0e00;
  box-shadow: 0 4px 20px rgba(255, 183, 3, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 183, 3, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-brand {
  background: var(--color-brand);
  color: white;
  box-shadow: var(--shadow-brand);
}
.btn-brand:hover { background: var(--color-brand-hover); transform: translateY(-2px); box-shadow: var(--shadow-brand-hover); }
.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border-strong);
}
.btn-ghost:hover { background: var(--color-surface-elevated); border-color: var(--color-gold); color: var(--color-gold); }
.btn-lg { padding: 18px 36px; font-size: 16px; }

/* ============= HERO ============= */
.hero {
  position: relative;
  padding: 180px 0 120px;
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 30%, transparent 75%);
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 183, 3, 0.15), transparent 60%);
  top: -100px; right: -150px;
  filter: blur(40px);
  pointer-events: none;
}
.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 183, 3, 0.08);
  border: 1px solid rgba(255, 183, 3, 0.25);
  color: var(--color-gold);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-gold);
  box-shadow: 0 0 10px var(--color-gold);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.6;transform:scale(0.85)} }

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  margin: 24px 0 24px;
  font-weight: 600;
}
.hero h1 .accent {
  color: var(--color-gold);
  display: inline-block;
  position: relative;
}
.hero h1 .accent::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  height: 12px;
  background: rgba(255, 183, 3, 0.18);
  z-index: -1;
}
.hero h1 .strike {
  position: relative;
  color: var(--color-text-muted);
}
.hero h1 .strike::after {
  content: '';
  position: absolute;
  left: -4px; right: -4px; top: 52%;
  height: 6px;
  background: var(--color-danger);
  transform: rotate(-2deg);
  border-radius: 3px;
}
.hero p.lead {
  font-size: 19px;
  color: var(--color-text-secondary);
  max-width: 560px;
  margin-bottom: 36px;
}

/* Hero H2 dropdown disclosure */
.hero-disclosure {
  max-width: 620px;
  margin: 0 0 36px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.hero-disclosure-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-headline);
  color: var(--color-text);
  transition: color var(--t-fast);
}
.hero-disclosure-trigger:hover { color: var(--color-gold); }
.hero-disclosure-trigger h2 {
  margin: 0;
  font-family: var(--font-headline);
  font-weight: 500;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: inherit;
}
.hero-disclosure-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--color-border-strong);
  color: var(--color-gold);
  transition: transform var(--t-base), background var(--t-fast), border-color var(--t-fast);
}
.hero-disclosure.is-open .hero-disclosure-icon {
  transform: rotate(180deg);
  background: rgba(255, 183, 3, 0.1);
  border-color: rgba(255, 183, 3, 0.4);
}
.hero-disclosure-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease, padding 0.35s ease;
  padding: 0;
  overflow: hidden;
}
.hero-disclosure-panel-inner { min-height: 0; overflow: hidden; }
.hero-disclosure.is-open .hero-disclosure-panel {
  grid-template-rows: 1fr;
  padding: 0 0 22px;
}
.hero-disclosure-panel p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  text-wrap: pretty;
}
.hero-disclosure-panel p:last-child { margin-bottom: 0; }
.hero-disclosure-panel strong { color: var(--color-gold); font-weight: 600; }
.hero-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-trust {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
  flex-wrap: wrap;
}
.hero-trust .stat {
  display: flex;
  flex-direction: column;
}
.hero-trust .stat-value {
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 28px;
  color: var(--color-gold);
  line-height: 1;
}
.hero-trust .stat-label {
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Hero card visual */
.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--color-border-strong);
  padding: 36px 32px;
  margin-top: 8px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
  align-self: start;
}
.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hero-card-header .live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4ade80;
}
.hero-card-header .live::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse 1.5s infinite;
}
.audit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--color-border);
  margin-bottom: 10px;
  font-family: var(--font-ui);
  font-size: 15px;
}
.audit-row .check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.audit-row .badge {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.badge-pass { background: rgba(74, 222, 128, 0.15); color: #4ade80; border: 1px solid rgba(74, 222, 128, 0.3); }
.badge-fail { background: rgba(255, 77, 79, 0.15); color: #ff8e8f; border: 1px solid rgba(255, 77, 79, 0.3); }
.badge-warn { background: rgba(255, 183, 3, 0.15); color: var(--color-gold); border: 1px solid rgba(255, 183, 3, 0.3); }

.hero-card-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-ui);
  font-size: 14px;
}
.hero-card-footer .score {
  font-family: var(--font-headline);
  font-size: 38px;
  font-weight: 600;
  color: var(--color-gold);
}

/* ============= SECTION COMMONS ============= */
.section {
  padding: 120px 0;
  position: relative;
}
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 72px;
}
.section-head .eyebrow { margin-bottom: 20px; }
.section-head h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  margin-bottom: 20px;
}
.section-head p {
  font-size: 18px;
  color: var(--color-text-secondary);
}

/* ============= PROBLEM AGITATION ============= */
.problem-section {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255, 77, 79, 0.08), transparent 60%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.problem-card {
  position: relative;
  padding: 36px 32px;
  border-radius: var(--radius-md);
  background: var(--color-surface-card);
  border: 1px solid var(--color-border);
  transition: all var(--t-base);
}
.problem-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 77, 79, 0.35);
  background: rgba(255, 77, 79, 0.04);
}
.problem-card .num {
  font-family: var(--font-headline);
  font-size: 56px;
  line-height: 1;
  font-weight: 600;
  color: rgba(255, 77, 79, 0.4);
  margin-bottom: 16px;
}
.problem-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}
.problem-card p { color: var(--color-text-secondary); font-size: 15px; }
.problem-card .quote {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px dashed var(--color-border);
  font-style: italic;
  color: var(--color-text-muted);
  font-size: 14px;
}
.problem-banner {
  margin-top: 56px;
  padding: 32px 40px;
  border-radius: var(--radius-md);
  background: linear-gradient(90deg, rgba(255, 77, 79, 0.08), rgba(255, 183, 3, 0.06));
  border: 1px solid rgba(255, 183, 3, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.problem-banner .text {
  font-family: var(--font-headline);
  font-size: 22px;
  font-weight: 500;
  max-width: 720px;
}
.problem-banner .text strong { color: var(--color-gold); }

/* ============= POSITIONING / VS TABLE ============= */
.vs-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.vs-cell {
  padding: 24px 28px;
  font-family: var(--font-ui);
  font-size: 15px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 12px;
}
.vs-cell.vs-head {
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.025);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
}
.vs-cell.vs-malitech {
  background: linear-gradient(180deg, rgba(255, 183, 3, 0.06), rgba(255, 183, 3, 0.02));
  border-left: 1px solid rgba(255, 183, 3, 0.3);
  border-right: 1px solid rgba(255, 183, 3, 0.3);
}
.vs-cell.vs-malitech.vs-head {
  background: linear-gradient(180deg, rgba(255, 183, 3, 0.18), rgba(255, 183, 3, 0.06));
  color: var(--color-gold);
  border-bottom-color: rgba(255, 183, 3, 0.3);
}
.vs-cell.vs-feature {
  background: rgba(255, 255, 255, 0.015);
  font-weight: 500;
  color: var(--color-text);
}
.vs-cell.vs-divider {
  width: 1px;
  padding: 0;
  border-bottom: none;
  background: var(--color-border);
}
.vs-icon { width: 18px; height: 18px; flex-shrink: 0; }
.vs-icon.no { color: rgba(255, 77, 79, 0.7); }
.vs-icon.yes { color: #4ade80; }
.vs-icon.partial { color: var(--color-gold); }
.vs-grid > .vs-cell:last-child,
.vs-grid > .vs-cell:nth-last-child(2),
.vs-grid > .vs-cell:nth-last-child(3),
.vs-grid > .vs-cell:nth-last-child(4) { border-bottom: none; }

/* ============= SOLUTION CARDS ============= */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.solution-card {
  padding: 36px 32px;
  border-radius: var(--radius-md);
  background: var(--color-surface-card);
  border: 1px solid var(--color-border);
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
}
.solution-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(255, 183, 3, 0.08), transparent 50%);
  opacity: 0;
  transition: opacity var(--t-base);
  pointer-events: none;
}
.solution-card:hover { transform: translateY(-4px); border-color: rgba(255, 183, 3, 0.3); }
.solution-card:hover::before { opacity: 1; }
.solution-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 183, 3, 0.18), rgba(255, 183, 3, 0.05));
  border: 1px solid rgba(255, 183, 3, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  margin-bottom: 24px;
}
.solution-card h3 { font-size: 22px; margin-bottom: 12px; }
.solution-card .desc { color: var(--color-text-secondary); font-size: 15px; margin-bottom: 24px; }
.outcome-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.outcome-list li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  font-family: var(--font-ui);
  color: var(--color-text-light);
}
.outcome-list li::before {
  content: '';
  width: 18px; height: 18px;
  flex-shrink: 0;
  background: var(--color-gold);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
  margin-top: 3px;
}

/* ============= 5 STEP PROCESS ============= */
.process-section {
  background: linear-gradient(180deg, transparent, rgba(15, 82, 186, 0.06), transparent);
}
.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.process-track::before {
  content: '';
  position: absolute;
  top: 38px;
  left: 46px;
  right: calc((100% - 64px) / 5 - 46px);
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-brand), var(--color-gold));
  opacity: 0.3;
  z-index: 0;
}
.process-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 0 8px;
}
.process-step .num-circle {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--color-deep-navy);
  border: 2px solid rgba(255, 183, 3, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headline);
  font-size: 28px;
  font-weight: 600;
  color: var(--color-gold);
  box-shadow: 0 0 0 6px rgba(0, 9, 38, 1), 0 0 30px rgba(255, 183, 3, 0.2);
  transition: all var(--t-base);
}
.process-step:hover .num-circle {
  background: var(--color-gold);
  color: var(--color-deep-navy);
  border-color: var(--color-gold);
  transform: scale(1.05);
}
.process-step h4 {
  font-size: 19px;
  font-family: var(--font-headline);
  font-weight: 600;
}
.process-step p {
  font-size: 14px;
  color: var(--color-text-muted);
  font-family: var(--font-ui);
}
.process-step .duration {
  margin-top: auto;
  font-size: 12px;
  font-family: var(--font-ui);
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* ============= CALCULATORS COMMON ============= */
.calc-shell {
  border-radius: var(--radius-lg);
  overflow: visible;
  border: 1px solid var(--color-border-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  box-shadow: var(--shadow-card);
}
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.calc-inputs {
  padding: 48px;
  border-right: 1px solid var(--color-border);
  background: rgba(0, 0, 0, 0.2);
  border-top-left-radius: var(--radius-lg);
  border-bottom-left-radius: var(--radius-lg);
}
.calc-output {
  padding: 48px;
  position: relative;
  border-top-right-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
}
@media (max-width: 980px) {
  .calc-inputs {
    border-top-right-radius: var(--radius-lg);
    border-bottom-left-radius: 0;
  }
  .calc-output {
    border-top-right-radius: 0;
    border-bottom-left-radius: var(--radius-lg);
  }
}

/* Sticky right column — two separate cards for pricing calculator */
.calc-shell--sticky {
  border: none;
  background: none;
  box-shadow: none;
  border-radius: 0;
}
.calc-shell--sticky .calc-grid {
  gap: 24px;
}
.calc-shell--sticky .calc-inputs,
.calc-shell--sticky .calc-output {
  border: 1px solid var(--color-border-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-lg);
}
.calc-shell--sticky .calc-inputs {
  border-right: 1px solid var(--color-border-strong);
}
@media (min-width: 981px) {
  .calc-shell--sticky .calc-output {
    position: sticky;
    /* Bündig direkt unter der Funnel-Statusleiste (header 73px + funnel-nav 87px) */
    top: 160px;
    align-self: start;
    padding: 28px;
    max-height: calc(100dvh - 180px);
    /* Natürlicher Block-Flow + Page-Scroll, kein inner-scroll-Trick mehr.
       Bei sehr vielen Optionen scrollt die ganze Box als Einheit. */
    display: block;
    overflow-y: auto;
    scrollbar-width: thin;
  }
  .calc-shell--sticky .calc-output::-webkit-scrollbar { width: 6px; }
  .calc-shell--sticky .calc-output::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 3px;
  }
}

/* ── COCKPIT-LAYOUT (Schlankes Pricing-Panel) ──────────────────────────── */
.pricing-summary .ps-block--main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  margin-bottom: 8px;
}
.pricing-summary .ps-label {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.pricing-summary .ps-amount {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: clamp(36px, 4.5vw, 48px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-gold);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.pricing-summary .ps-secondary {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 16px;
  padding: 14px 16px 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.18);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}
.pricing-summary .ps-secondary-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  font-family: var(--font-ui);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.pricing-summary .ps-secondary-item:last-child { border-bottom: none; }
.pricing-summary .ps-secondary-label {
  font-size: 13px;
  color: var(--color-text-secondary);
}
.pricing-summary .ps-secondary-value {
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 15px;
  color: var(--color-text);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.pricing-summary .ps-secondary-total {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 183, 3, 0.3);
  border-bottom: none;
}
.pricing-summary .ps-secondary-total .ps-secondary-label {
  color: var(--color-gold);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.pricing-summary .ps-secondary-total .ps-secondary-value {
  color: var(--color-gold);
  font-size: 17px;
  font-weight: 700;
}

/* Collapsible "Alle Positionen anzeigen" */
.pricing-details {
  margin-bottom: 0;
}
.pricing-details-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-secondary);
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
  -webkit-tap-highlight-color: transparent;
}
.pricing-details-summary::-webkit-details-marker { display: none; }
.pricing-details-summary::marker { display: none; }
.pricing-details-summary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--color-text);
}
.pricing-details-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.pricing-details[open] .pricing-details-summary {
  border-color: rgba(255, 183, 3, 0.3);
  background: rgba(255, 183, 3, 0.05);
  color: var(--color-text);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.pricing-details[open] .pricing-details-chevron { transform: rotate(180deg); }
.pricing-details[open] .pricing-rows {
  margin-top: 0;
  margin-bottom: 18px;
  border-top: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/* CTA-Button + Caption */
.pricing-cta { margin-top: 18px; }
.pricing-cta-note {
  text-align: center;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 10px;
  font-family: var(--font-ui);
}
@media (max-width: 980px) {
  .calc-shell--sticky .calc-inputs,
  .calc-shell--sticky .calc-output {
    border-radius: var(--radius-lg);
  }
}
.calc-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 12px;
}
.calc-h3 {
  font-size: 28px;
  margin-bottom: 32px;
  font-weight: 600;
}
.input-group {
  margin-bottom: 24px;
}
.input-label {
  display: block;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-light);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.input-text, .input-number {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border-strong);
  color: var(--color-text);
  font-family: var(--font-ui);
  font-size: 15px;
  transition: all var(--t-fast);
  outline: none;
}
.input-text:focus, .input-number:focus {
  border-color: var(--color-gold);
  background: rgba(255, 183, 3, 0.04);
  box-shadow: 0 0 0 3px rgba(255, 183, 3, 0.15);
}
.input-prefix {
  position: relative;
}
.input-prefix .prefix {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  font-family: var(--font-ui);
  font-size: 15px;
  pointer-events: none;
}
.input-prefix .input-text { padding-left: 38px; }

/* Yes/No toggle */
.yn-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 4px;
}
.yn-toggle button {
  padding: 10px 16px;
  border-radius: 6px;
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 14px;
  transition: all var(--t-fast);
}
.yn-toggle button.active.yes {
  background: rgba(74, 222, 128, 0.15);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.4);
}
.yn-toggle button.active.no {
  background: rgba(255, 77, 79, 0.15);
  color: #ff8e8f;
  border: 1px solid rgba(255, 77, 79, 0.4);
}

/* Slider */
.slider-wrap { display: flex; align-items: center; gap: 16px; }
.range-input {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  outline: none;
}
.range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--color-gold);
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(255, 183, 3, 0.2);
}
.range-input::-moz-range-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--color-gold);
  cursor: pointer;
  border: none;
}
.range-value {
  width: 140px;
  flex-shrink: 0;
  text-align: right;
  font-family: var(--font-headline);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-size: 18px;
  color: var(--color-gold);
}

/* Risk output */
.risk-total {
  text-align: center;
  margin-bottom: 32px;
  padding: 32px 24px;
  border-radius: var(--radius-md);
  background: radial-gradient(ellipse at center, rgba(255, 77, 79, 0.18), rgba(255, 77, 79, 0.04));
  border: 1px solid rgba(255, 77, 79, 0.4);
  position: relative;
}
.risk-total::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  background: radial-gradient(circle at 30% 50%, rgba(255, 77, 79, 0.2), transparent 50%);
  animation: warn 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes warn { 0%,100%{opacity:0.5} 50%{opacity:1} }
.risk-total .label {
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  color: #ff8e8f;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
}
.risk-total .amount {
  font-family: var(--font-headline);
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 700;
  line-height: 1;
  color: #ff8e8f;
  letter-spacing: -0.04em;
  text-shadow: 0 0 40px rgba(255, 77, 79, 0.4);
  position: relative;
}
.risk-total .sublabel {
  margin-top: 12px;
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--color-text-secondary);
  position: relative;
}
.risk-breakdown {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
}

/* Cyber-Report CTA + Infobox */
.report-info {
  position: relative;
  margin-top: 24px;padding: 18px 20px;
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 183, 3, 0.06), rgba(255, 183, 3, 0.015));
  border: 1px solid rgba(255, 183, 3, 0.22);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: var(--font-ui);
}
.report-info-head { display: flex; gap: 12px; align-items: flex-start; }
.report-info-doc { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.report-info-doc-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  opacity: 0.9;
}
.report-info-doc-title {
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.25;
  color: var(--color-text);
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.report-info-doc-sub {
  font-size: 12px;
  line-height: 1.4;
  color: var(--color-text-secondary);
  text-wrap: pretty;
}
.report-info-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.report-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--color-text-secondary);
}
.report-info-list li {
  position: relative;
  padding-left: 16px;
  text-wrap: pretty;
}
.report-info-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
  opacity: 0.7;
}
.report-info-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}
.report-info-foot svg {
  color: var(--color-gold);
  opacity: 0.8;
}

/* ── Collapsible variant (<details><summary>) ─────────────────────────── */
.report-info--collapsible {
  padding: 0;
  overflow: hidden;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.report-info--collapsible:hover {
  background: linear-gradient(180deg, rgba(255, 183, 3, 0.12), rgba(255, 183, 3, 0.04));
  border-color: rgba(255, 183, 3, 0.5);
  box-shadow: 0 6px 24px rgba(255, 183, 3, 0.12);
}
.report-info--collapsible[open] {
  background: linear-gradient(180deg, rgba(255, 183, 3, 0.05), rgba(0, 0, 0, 0.18));
  border-color: rgba(255, 183, 3, 0.25);
}
.report-info--collapsible[open]:hover {
  border-color: rgba(255, 183, 3, 0.45);
}
.report-info-summary {
  list-style: none; /* hide default arrow (Firefox) */
  cursor: pointer;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  user-select: none;
  border-radius: inherit; /* hover fills the rounded card corners cleanly */
  transition: background var(--t-fast);
  -webkit-tap-highlight-color: transparent;
}
.report-info-summary::-webkit-details-marker { display: none; } /* hide default arrow (Webkit) */
.report-info-summary::marker { display: none; }
.report-info-summary:hover,
.report-info-summary:focus-visible {
  outline: none;
}
.report-info-summary:hover .report-info-chevron,
.report-info-summary:focus-visible .report-info-chevron {
  background: rgba(255, 183, 3, 0.2);
  border-color: rgba(255, 183, 3, 0.5);
  color: var(--color-gold);
  transform: translateY(-1px);
}
.report-info--collapsible[open] .report-info-summary:hover .report-info-chevron,
.report-info--collapsible[open] .report-info-summary:focus-visible .report-info-chevron {
  transform: rotate(180deg) translateY(1px);
}
.report-info-summary:hover .report-info-doc-title {
  color: var(--color-gold);
}
.report-info-doc-title {
  transition: color var(--t-fast);
}
.report-info-summary .report-info-doc {
  flex: 1 1 auto;
  min-width: 0;
}
.report-info-doc-hint {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
  opacity: 0.85;
}
.report-info--collapsible[open] .report-info-doc-hint::after {
  content: '';
}
.report-info--collapsible:not([open]) .report-info-doc-hint::after {
  content: ' →';
}
.report-info--collapsible[open] .report-info-doc-hint {
  opacity: 0;
  pointer-events: none;
  margin-top: 0;
  height: 0;
  overflow: hidden;
}
.report-info-chevron {
  flex-shrink: 0;
  width: 32px; height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  background: rgba(255, 183, 3, 0.08);
  border: 1px solid rgba(255, 183, 3, 0.25);
  border-radius: 50%;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), background var(--t-fast);
}
.report-info--collapsible[open] .report-info-chevron {
  transform: rotate(180deg);
  background: rgba(255, 183, 3, 0.18);
}
.report-info-body {
  padding: 4px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: report-expand 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}
.report-info-body > .report-info-doc-sub {
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.report-info-body > .report-info-label {
  margin: 0;
  padding: 0;
  border-top: none;
}
@keyframes report-expand {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .report-info-chevron,
  .report-info-body { transition: none; animation: none; }
}
.risk-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--color-border);
  font-family: var(--font-ui);
  font-size: 14px;
}
.risk-row .desc { display: flex; align-items: center; gap: 10px; }
.risk-row .icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(255, 77, 79, 0.12);
  color: #ff8e8f;
  display: flex; align-items: center; justify-content: center;
}
.risk-row .val {
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 16px;
  color: var(--color-text);
}
.score-meter {
  margin-bottom: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
}
.score-meter-head {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-ui);
  font-size: 13px;
  margin-bottom: 8px;
  color: var(--color-text-secondary);
}
.score-meter-head .lvl { font-weight: 700; }
.score-meter-head .lvl.high { color: #ff8e8f; }
.score-meter-head .lvl.med { color: var(--color-gold); }
.score-meter-head .lvl.low { color: #4ade80; }
.score-bar {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.score-fill {
  height: 100%;
  border-radius: 4px;
  transition: width var(--t-base), background var(--t-base);
}

/* Pricing output */
.pricing-summary {
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(15, 82, 186, 0.18), rgba(15, 82, 186, 0.04));
  border: 1px solid rgba(15, 82, 186, 0.4);
  padding: 28px 28px;
  margin-bottom: 24px;
}
.pricing-mrr {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}
.pricing-mrr .amt {
  font-family: var(--font-headline);
  font-size: clamp(48px, 6vw, 64px);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1;
  letter-spacing: -0.03em;
}
.pricing-mrr .per {
  font-family: var(--font-ui);
  color: var(--color-text-muted);
  font-size: 16px;
}
.pricing-sub {
  font-family: var(--font-ui);
  color: var(--color-text-secondary);
  font-size: 14px;
}
.pricing-rows {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
}
.pricing-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
  font-family: var(--font-ui);
  font-size: 14px;
  border: 1px solid var(--color-border);
}
.pricing-row .label { color: var(--color-text-secondary); }
.pricing-row .val { font-family: var(--font-headline); font-weight: 600; }
.pricing-row.subtotal {
  border-top: 1px solid var(--color-border-strong);
  margin-top: 8px;
  padding-top: 18px;
  background: transparent;
  border: none;
  border-top: 1px dashed var(--color-border-strong);
  border-radius: 0;
}
.pricing-row.subtotal .label { color: var(--color-text); font-weight: 600; }
.pricing-row.subtotal .val { color: var(--color-gold); font-size: 18px; }

/* Tier card */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 4px;
}
.tier-card {
  padding: 14px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--color-border);
  text-align: center;
  font-family: var(--font-ui);
}
.tier-card.active {
  background: rgba(255, 183, 3, 0.1);
  border-color: var(--color-gold);
}
.tier-card .tier-name {
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 14px;
  color: var(--color-text);
}
.tier-card .tier-range {
  font-size: 11px;
  color: var(--color-text-muted);
  margin-top: 4px;
}
.tier-card.active .tier-range { color: var(--color-gold); }

/* Add-ons */
.addon-list { display: flex; flex-direction: column; gap: 8px; }
.addon {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: all var(--t-fast);
  font-family: var(--font-ui);
}
.addon:hover { border-color: var(--color-border-strong); }
.addon.checked { background: rgba(255, 183, 3, 0.06); border-color: rgba(255, 183, 3, 0.4); }
.addon-info { display: flex; flex-direction: column; gap: 2px; }
.addon-info .name { font-weight: 600; font-size: 14px; }
.addon-info .meta { font-size: 12px; color: var(--color-text-muted); }
.addon-right { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--color-text-muted); }

/* KI-Rezeptionist · Minutenpaket-Dropdown */
.ai-minutes-wrap {
  margin: -4px 0 0;
  padding: 14px 16px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 183, 3, 0.04);
  border: 1px solid rgba(255, 183, 3, 0.25);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--font-ui);
}
.ai-minutes-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ai-minutes-select {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  background: rgba(0, 9, 38, 0.6);
  border: 1px solid var(--color-border-strong);
  color: var(--color-text);
  font-family: var(--font-ui);
  font-size: 14px;
  cursor: pointer;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--color-gold) 50%), linear-gradient(135deg, var(--color-gold) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 36px;
}
.ai-minutes-select:focus { outline: none; border-color: var(--color-gold); }
.ai-minutes-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--color-text-secondary);
  padding-top: 4px;
}
.ai-minutes-detail strong { color: var(--color-gold); font-weight: 600; }
.ai-minutes-detail.muted { color: var(--color-text-muted); font-style: italic; font-size: 12px; }
.checkbox-fake {
  width: 22px; height: 22px;
  border-radius: 6px;
  border: 1.5px solid var(--color-border-strong);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all var(--t-fast);
}
.addon.checked .checkbox-fake {
  background: var(--color-gold);
  border-color: var(--color-gold);
}
.addon.checked .checkbox-fake svg { color: var(--color-deep-navy); }

/* Term toggle */
.term-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 4px;
}
.term-toggle button {
  padding: 12px 16px;
  border-radius: 6px;
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.term-toggle button.active {
  background: var(--color-brand);
  color: white;
}
.term-toggle button .meta { font-size: 11px; opacity: 0.8; font-weight: 500; }
.term-toggle button.active .meta { opacity: 0.95; }

/* ============= TRUST / STATS ============= */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-card {
  padding: 36px 28px;
  border-radius: var(--radius-md);
  background: var(--color-surface-card);
  border: 1px solid var(--color-border);
  text-align: center;
  transition: all var(--t-base);
}
.stat-card:hover { border-color: rgba(255, 183, 3, 0.3); transform: translateY(-2px); }
.stat-card .v {
  font-family: var(--font-headline);
  font-size: 48px;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-card .l {
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-top: 12px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.testimonial {
  padding: 32px;
  border-radius: var(--radius-md);
  background: var(--color-surface-card);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testimonial .stars { color: var(--color-gold); letter-spacing: 2px; font-size: 14px; }
.testimonial .quote {
  font-family: var(--font-headline);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-text);
}
.testimonial .meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-brand), var(--color-sapphire));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-headline);
  font-weight: 600;
  color: white;
}
.testimonial .name { font-weight: 600; font-size: 14px; }
.testimonial .role { font-size: 12px; color: var(--color-text-muted); }

/* ============= GOOGLE REVIEWS CAROUSEL ============= */
.testimonial-grid:has(.google-reviews) {
  display: block;
  grid-template-columns: none;
}
.google-reviews {
  width: 100%;
  font-family: var(--font-ui);
}
.gr-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
}
.gr-header-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.gr-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-headline);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.gr-brand span { color: var(--color-text); }
.gr-rating-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.gr-stars {
  color: var(--color-gold);
  letter-spacing: 2px;
  line-height: 1;
}
.gr-rating-score {
  font-family: var(--font-headline);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text);
}
.gr-rating-count {
  font-size: 13px;
  color: var(--color-text-muted);
}
.gr-nav {
  display: inline-flex;
  gap: 10px;
}
.gr-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border-strong);
  color: var(--color-text);
  cursor: pointer;
  transition: all var(--t-fast);
}
.gr-nav-btn:hover {
  background: rgba(255, 183, 3, 0.1);
  border-color: rgba(255, 183, 3, 0.4);
  color: var(--color-gold);
  transform: translateY(-1px);
}
.gr-nav-btn:active { transform: translateY(0); }

.gr-track-wrap {
  position: relative;
  margin: 0 -8px;
}
.gr-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
  padding: 4px 8px 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.gr-track::-webkit-scrollbar { display: none; }
.gr-card {
  scroll-snap-align: start;
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--color-surface-card);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 260px;
  transition: transform var(--t-base), border-color var(--t-fast), background var(--t-fast);
}
.gr-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 183, 3, 0.3);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), var(--color-surface-card));
}
.gr-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.gr-card-date {
  font-size: 12px;
  color: var(--color-text-muted);
}
.gr-card-quote {
  font-family: var(--font-headline);
  font-size: 16px;
  line-height: 1.55;
  color: var(--color-text);
  margin: 0;
  flex-grow: 1;
  text-wrap: pretty;
}
.gr-card-author {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
}
.gr-avatar-img,
.gr-avatar-fb {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, var(--color-brand), var(--color-sapphire));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 14px;
}
.gr-author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.gr-author-info strong {
  font-size: 14px;
  color: var(--color-text);
  font-weight: 600;
}
.gr-author-info span {
  font-size: 12px;
  color: var(--color-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.gr-author-info span svg { width: 13px; height: 13px; }

/* Skeleton */
.gr-card-skeleton { gap: 10px; }
.gr-skel {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  background-size: 200% 100%;
  animation: gr-shimmer 1.6s linear infinite;
  border-radius: 6px;
}
.gr-skel-row { height: 14px; width: 70%; }
.gr-skel-row.short { width: 40%; }
.gr-skel-block { height: 80px; width: 100%; }
@keyframes gr-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@media (max-width: 980px) {
  .gr-track { grid-auto-columns: calc((100% - 24px) / 2); }
}
@media (max-width: 640px) {
  .gr-track { grid-auto-columns: 86%; gap: 16px; }
  .gr-card { padding: 22px; min-height: 240px; }
  .gr-header { gap: 16px; }
  .gr-nav-btn { width: 40px; height: 40px; }
}

/* ============= FINAL CTA ============= */
.final-cta {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(255, 183, 3, 0.12), transparent 60%);
  pointer-events: none;
}
.cta-card {
  position: relative;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    var(--color-deep-navy-2);
  border: 1px solid rgba(255, 183, 3, 0.25);
  padding: 64px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), var(--shadow-glow);
}
.cta-card h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 24px;
}
.cta-card .lead {
  color: var(--color-text-secondary);
  font-size: 17px;
  margin-bottom: 32px;
}
.cta-checks {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-left: 0;
  margin-left: 0;
  list-style: none;
}
.cta-checks li {
  display: flex;
  gap: 14px;
  font-family: var(--font-ui);
  font-size: 15px;
  color: var(--color-text);
}
.cta-checks li::before {
  content: '';
  width: 22px; height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-gold);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000926' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/14px no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/14px no-repeat;
}

.cta-form {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cta-form h3 { font-size: 22px; margin-bottom: 4px; }
.cta-form .form-b2b-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
  margin: 4px 0 12px;
}
.cta-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cta-form input, .cta-form textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border-strong);
  color: var(--color-text);
  font-family: var(--font-ui);
  font-size: 14px;
  outline: none;
  transition: all var(--t-fast);
}
.cta-form input:focus, .cta-form textarea:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(255, 183, 3, 0.12);
}
.cta-form .privacy {
  font-size: 12px;
  color: var(--color-text-muted);
  font-family: var(--font-ui);
  line-height: 1.5;
}
.cta-form .success {
  text-align: center;
  padding: 24px 0;
}
.cta-form .success .check-big {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.15);
  border: 2px solid #4ade80;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #4ade80;
}

/* ============= FOOTER ============= */
.site-footer {
  padding: 80px 0 28px;
  border-top: 1px solid var(--color-border);
  font-family: var(--font-ui);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.25));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 64px;
  margin-bottom: 56px;
}
.footer-brand-col { max-width: 320px; }
.footer-logo { height: 48px; width: auto; }
.footer-brand-text {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-top: 24px;
  line-height: 1.7;
}
.footer-tagline {
  margin-top: 24px;
  color: var(--color-gold);
  font-family: var(--font-headline);
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 14px;
  text-transform: uppercase;
}
.footer-col h5 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-text-muted);
  font-weight: 700;
  margin-bottom: 24px;
  font-family: var(--font-ui);
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-col li a {
  font-size: 14px;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color var(--t-fast);
}
.footer-col li a:hover { color: var(--color-gold); }

.footer-contact-block {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.footer-address {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}
.footer-address strong {
  color: var(--color-text);
  font-weight: 600;
  margin-bottom: 4px;
}
.footer-phone { font-size: 14px; color: var(--color-text-secondary); }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  transition: all var(--t-fast);
  text-decoration: none;
}
.footer-socials a:hover {
  color: var(--color-gold);
  border-color: rgba(255, 183, 3, 0.4);
  background: rgba(255, 183, 3, 0.06);
}
.footer-email {
  font-size: 14px;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--color-gold);
  padding-bottom: 4px;
  align-self: flex-start;
  transition: color var(--t-fast);
}
.footer-email:hover { color: var(--color-gold); }

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 28px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr; /* identisch zu .footer-grid → vertikal aligned mit Brand|Menü|Rechtliches|Kontakt */
  align-items: center;
  gap: 16px 64px; /* column-gap muss exakt wie footer-grid (64px) sein, damit Spalten 1:1 fluchten */
  color: var(--color-text-muted);
  font-size: 13px;
}
.footer-bottom-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
  grid-column: 1 / span 2; /* Brand- + Menü-Spalte einnehmen */
}
.footer-b2b-hint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  font-style: italic;
}
.footer-bottom .footer-fw-btn {
  grid-column: 3 / span 1; /* unter "Rechtliches" */
  justify-self: start;
}
.footer-bottom .systems-online {
  grid-column: 4 / span 1; /* unter "Kontakt" */
  justify-self: start;
}
.systems-online {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}
.dot-online {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.6);
  animation: pulse-online 2s ease-in-out infinite;
}
@keyframes pulse-online {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ============= NAV ACTIVE ============= */
.nav a.nav-active { color: var(--color-gold); position: relative; }
.nav a.nav-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -8px;
  height: 2px; background: var(--color-gold); border-radius: 2px;
}

/* ============= FUNNEL STEP NAV ============= */
.funnel-nav {
  position: sticky;
  top: 73px;
  z-index: 20;
  background: rgba(0, 9, 38, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  padding: 18px 0;
}
.funnel-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.funnel-step {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--color-text-muted);
  transition: all var(--t-fast);
}
.funnel-step .fs-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 13px;
}
.funnel-step.current {
  background: rgba(255, 183, 3, 0.1);
  border-color: rgba(255, 183, 3, 0.4);
  color: var(--color-gold);
}
.funnel-step.current .fs-num {
  background: var(--color-gold);
  color: var(--color-deep-navy);
}
.funnel-step.done { color: var(--color-text); }
.funnel-step.done .fs-num { background: #4ade80; color: var(--color-deep-navy); }
.fs-bar {
  width: 32px; height: 1px;
  background: var(--color-border-strong);
}

/* ============= KONTAKT INFO GRID ============= */
.kontakt-info-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ki-card {
  padding: 20px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--color-border);
  font-family: var(--font-ui);
}
.ki-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255, 183, 3, 0.12);
  color: var(--color-gold);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.ki-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  font-weight: 700;
  margin-bottom: 6px;
}
.ki-val {
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 16px;
  color: var(--color-text);
}
.ki-meta { font-size: 12px; color: var(--color-text-muted); margin-top: 4px; }

/* ============= BOOKING LAYOUT (TidyCal) ============= */
.booking-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: start;
}
.booking-info {
  position: sticky;
  top: 100px;
}
.booking-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  padding: 32px;
  box-shadow: var(--shadow-card);
}
.booking-head { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--color-border); }
.tidycal-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}
.tidycal-wrap .tidycal-embed {
  display: block;
  width: 100%;
  min-height: 600px;
}
.tidycal-wrap iframe {
  width: 100% !important;
  border: 0 !important;
  display: block !important;
}
.tidycal-loading {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 40px;
  pointer-events: none;
}
.tidycal-loading a { pointer-events: auto; text-decoration: none; font-weight: 600; }
.tidycal-loading a:hover { text-decoration: underline; }
.tidycal-spinner {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255, 183, 3, 0.2);
  border-top-color: var(--color-gold);
  animation: tidy-spin 0.8s linear infinite;
}
@keyframes tidy-spin { to { transform: rotate(360deg); } }

@media (max-width: 980px) {
  .booking-layout { grid-template-columns: 1fr; }
  .booking-info { position: static; }
}

/* ============= CALENDAR MOCK (legacy, kept for safety) ============= */
.calendar-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  padding: 48px;
  box-shadow: var(--shadow-card);
}
.calendar-head { text-align: center; margin-bottom: 32px; }
.calendar-head h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; }
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.cal-day {
  padding: 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--color-border);
  transition: all var(--t-fast);
}
.cal-day.active { border-color: rgba(255, 183, 3, 0.35); background: rgba(255, 183, 3, 0.04); }
.cal-day-head { text-align: center; padding-bottom: 12px; border-bottom: 1px solid var(--color-border); margin-bottom: 12px; }
.cal-day-name { font-family: var(--font-headline); font-weight: 600; font-size: 18px; }
.cal-day-date { font-size: 12px; color: var(--color-text-muted); font-family: var(--font-ui); margin-top: 2px; }
.cal-slots { display: flex; flex-direction: column; gap: 8px; }
.cal-slot {
  padding: 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--t-fast);
}
.cal-slot:hover { border-color: var(--color-border-strong); background: rgba(255, 255, 255, 0.06); }
.cal-slot.picked {
  background: var(--color-gold);
  color: var(--color-deep-navy);
  border-color: var(--color-gold);
  font-weight: 700;
}
.cal-confirm {
  grid-column: 1 / -1;
  margin-top: 12px;
  padding: 24px 28px;
  border-radius: var(--radius-md);
  background: linear-gradient(90deg, rgba(255, 183, 3, 0.08), rgba(15, 82, 186, 0.08));
  border: 1px solid rgba(255, 183, 3, 0.25);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* ============= RESPONSIVE ============= */
@media (max-width: 980px) {
  .hero-content { grid-template-columns: 1fr; }
  .problem-grid, .solution-grid, .stats-strip, .testimonial-grid, .kontakt-info-grid { grid-template-columns: 1fr 1fr; }
  .calendar-grid { grid-template-columns: repeat(2, 1fr); }
  .calendar-card { padding: 28px; }
  .calc-grid { grid-template-columns: 1fr; }
  .calc-inputs { border-right: none; border-bottom: 1px solid var(--color-border); }
  .process-track { grid-template-columns: repeat(2, 1fr); }
  .process-track::before { display: none; }
  .cta-card { grid-template-columns: 1fr; padding: 40px; }
  .vs-grid { grid-template-columns: 1fr; }
  .vs-cell.vs-divider { display: none; }
  .nav { display: none; }
}
@media (max-width: 640px) {
  .section { padding: 80px 0; }
  .hero { padding: 140px 0 80px; }
  .problem-grid, .solution-grid, .stats-strip, .testimonial-grid, .process-track { grid-template-columns: 1fr; }
  .cta-form .field-row { grid-template-columns: 1fr; }
  .calc-inputs, .calc-output { padding: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .footer-bottom-left,
  .footer-bottom .footer-fw-btn,
  .footer-bottom .systems-online {
    grid-column: 1 / -1;
  }
  .container { padding: 0 20px; }

  /* === Hero typography for narrow viewports === */
  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.6rem);
    line-height: 1.1;
    word-break: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    margin: 20px 0 20px;
  }
  .eyebrow {
    font-size: 11px;
    padding: 7px 14px;
    letter-spacing: 0.06em;
  }
  .hero-disclosure-trigger h2 { font-size: 16px; }

  /* === Trust strip 2x2 grid === */
  .hero-trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
    margin-top: 36px;
    padding-top: 24px;
  }
  .hero-trust .stat-value { font-size: 26px; }

  /* === Compliance card sized down === */
  .hero-card { padding: 22px 20px; margin-top: 4px; }
  .hero-card-header { margin-bottom: 16px; font-size: 11px; }
  .audit-row {
    padding: 13px 14px;
    font-size: 13px;
    margin-bottom: 8px;
  }
  .audit-row .check { gap: 8px; }
  .audit-row .badge { font-size: 10px; padding: 3px 8px; }
  .hero-card-footer { margin-top: 16px; padding-top: 14px; font-size: 13px; }
  .hero-card-footer .score { font-size: 30px; }

  /* === Header CTA more compact === */
  .header-cta {
    padding: 10px 14px;
    font-size: 13px;
  }

  /* === Funnel stepper: scroll horizontally if too wide === */
  .funnel-steps {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .funnel-steps::-webkit-scrollbar { display: none; }
  .funnel-step { flex-shrink: 0; font-size: 12px; padding: 8px 14px; }

  /* === CTA buttons full-width to feel tappable === */
  .hero-cta-row .btn { width: 100%; justify-content: center; }
  .hero-cta-row { gap: 12px; }
}


/* ============= INFO TIP ============= */
.info-tip {
  position: relative;
  display: inline-flex;
  vertical-align: middle;
  align-items: center;
  margin-left: 6px;
  cursor: help;
}
.info-tip .info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255, 183, 3, 0.12);
  color: var(--color-gold);
  border: 1px solid rgba(255, 183, 3, 0.35);
  transition: all var(--t-fast);
}
.info-tip:hover .info-icon,
.info-tip.open .info-icon {
  background: var(--color-gold);
  color: #1a0e00;
  border-color: var(--color-gold);
}
.info-tip .info-bubble {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  width: 260px;
  max-width: 80vw;
  padding: 12px 14px;
  background: #0d1942;
  border: 1px solid rgba(255, 183, 3, 0.35);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  text-transform: none;
  letter-spacing: normal;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 183, 3, 0.12);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--t-fast), transform var(--t-fast);
  z-index: 1000;
  white-space: normal;
}
.info-tip .info-bubble::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(255, 183, 3, 0.35);
}
.info-tip:hover .info-bubble,
.info-tip.open .info-bubble {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
@media (max-width: 720px) {
  .info-tip .info-bubble { width: 240px; }
}

/* ============= INSURANCE INCLUDED ============= */
.insurance-included {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  margin: 18px 0 16px;
  background: linear-gradient(135deg, rgba(255, 183, 3, 0.12), rgba(255, 183, 3, 0.04));
  border: 1px solid rgba(255, 183, 3, 0.4);
  border-radius: var(--radius-md);
  font-family: var(--font-ui);
}
.insurance-included .ii-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-gold);
  color: #1a0e00;
}
.insurance-included .ii-body { flex: 1; min-width: 0; }
.insurance-included .ii-title {
  font-size: 14px;
  line-height: 1.4;
  color: var(--color-text);
  display: block;
}
.insurance-included .ii-title strong { color: var(--color-gold); }
.insurance-included .ii-title .info-tip { margin-left: 4px; }
.insurance-included .ii-meta {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 3px;
}
.insurance-included .ii-badge {
  background: var(--color-gold);
  color: #1a0e00;
  font-weight: 700;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

/* ============= SUPPORT INCLUDED LINE ============= */
.support-included {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px dashed var(--color-border-strong);
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-size: 13px;
  line-height: 1.45;
  color: var(--color-text-secondary);
}
.support-included > svg { color: var(--color-gold); flex-shrink: 0; margin-top: 2px; }
.support-included strong { color: var(--color-text); font-weight: 600; }
.support-included > span { flex: 1; min-width: 0; }
.support-included .info-tip { display: inline-flex; }

/* ============= SUPPORT COMPARE ============= */
.support-compare {
  margin: 18px 0 22px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-ui);
}
.support-compare .sc-head {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}
.support-compare .sc-head svg { color: var(--color-gold); }
.support-compare .sc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 520px) {
  .support-compare .sc-grid { grid-template-columns: 1fr; }
}
.support-compare .sc-cell {
  padding: 14px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: all var(--t-fast);
}
.support-compare .sc-cell.sc-active {
  border-color: var(--color-gold);
  background: rgba(255, 183, 3, 0.06);
  box-shadow: 0 0 0 1px rgba(255, 183, 3, 0.3);
}
.support-compare .sc-label {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: 10px;
  line-height: 1.3;
}
.support-compare .sc-save {
  display: inline-block;
  margin-top: 6px;
  background: rgba(74, 222, 128, 0.18);
  color: #4ade80;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
}
.support-compare .sc-rate {
  font-family: var(--font-headline);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
  line-height: 1;
}
.support-compare .sc-rate span {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-muted);
  margin-left: 4px;
}
.support-compare .sc-meta {
  font-size: 11.5px;
  color: var(--color-text-muted);
  margin-top: 8px;
  line-height: 1.4;
}
.support-compare .sc-rate { margin-bottom: 4px; }

/* ============= ADDON RECOMMENDED BADGE ============= */
.addon-rec {
  display: inline-block;
  margin-left: 8px;
  background: rgba(74, 222, 128, 0.15);
  color: #4ade80;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  vertical-align: middle;
}

/* ============= PARTNER LIST ============= */
.partner-list .addon.partner {
  background: rgba(255, 255, 255, 0.015);
  border-style: dashed;
}
.partner-list .addon.partner:hover { border-style: solid; }
.partner-list .addon.partner.checked {
  border-style: solid;
  background: rgba(255, 183, 3, 0.04);
  border-color: rgba(255, 183, 3, 0.5);
}
.addon-right.partner-price,
.pricing-row .val.partner-price {
  font-style: italic;
  color: var(--color-text-muted);
  font-size: 12px;
}
.pricing-row.partner-line {
  background: linear-gradient(90deg, rgba(255, 183, 3, 0.05), transparent);
  border-top: 1px dashed rgba(255, 183, 3, 0.2);
}
.pricing-row.partner-line .label em {
  font-style: normal;
  color: var(--color-gold);
  font-weight: 600;
  font-size: 13px;
}

/* ============= FERNWARTUNG MODAL ============= */
.footer-fw-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 183, 3, 0.1);
  border: 1px solid rgba(255, 183, 3, 0.35);
  color: var(--color-gold);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--t-fast);
}
.footer-fw-btn:hover {
  background: var(--color-gold);
  color: #1a0e00;
  border-color: var(--color-gold);
  box-shadow: 0 4px 16px rgba(255, 183, 3, 0.35);
}
.fw-modal { max-width: 560px; padding: 40px 36px; }
.fw-modal-head { text-align: center; margin-bottom: 28px; }
.fw-modal-head h3 { font-size: 24px; margin: 14px 0 10px; }
.fw-modal-head p { font-family: var(--font-ui); font-size: 14px; color: var(--color-text-secondary); max-width: 440px; margin: 0 auto; line-height: 1.55; }
.fw-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 520px) { .fw-modal-grid { grid-template-columns: 1fr; } }
.fw-os-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-strong);
  background: rgba(255, 255, 255, 0.025);
  text-decoration: none;
  color: inherit;
  text-align: center;
  transition: all var(--t-base);
}
.fw-os-card:hover {
  border-color: var(--color-gold);
  background: rgba(255, 183, 3, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}
.fw-os-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255, 183, 3, 0.12);
  color: var(--color-gold);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.fw-os-name { font-family: var(--font-headline); font-weight: 600; font-size: 20px; }
.fw-os-meta { font-family: var(--font-ui); font-size: 12px; color: var(--color-text-muted); }
.fw-os-cta { font-family: var(--font-ui); font-size: 13px; font-weight: 600; color: var(--color-gold); margin-top: 6px; }
.fw-modal-foot { font-family: var(--font-ui); font-size: 12px; color: var(--color-text-muted); text-align: center; margin: 24px 0 0; }

/* ============= LEAD MODAL ============= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 4, 18, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
  overflow-y: auto;
}
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
.modal-card {
  position: relative;
  width: 100%;
  max-width: 540px;
  background: linear-gradient(180deg, #0d1942, #060e2e);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 183, 3, 0.06);
  padding: 36px 32px 32px;
  animation: modalIn 0.25s cubic-bezier(.2,.7,.3,1);
  margin: auto;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(0.97) } to { opacity: 1; transform: none } }
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 22px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
  transition: all var(--t-fast);
}
.modal-close:hover { background: rgba(255, 77, 79, 0.15); border-color: rgba(255, 77, 79, 0.4); color: #ff8e8f; }

.modal-head { margin-bottom: 22px; }
.modal-head .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 183, 3, 0.1);
  border: 1px solid rgba(255, 183, 3, 0.3);
  color: var(--color-gold);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-ui);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.modal-head h3 {
  font-family: var(--font-headline);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
  color: var(--color-text);
}
.modal-head p {
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.5;
}

.modal-summary {
  background: rgba(255, 183, 3, 0.06);
  border: 1px solid rgba(255, 183, 3, 0.25);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 18px;
  font-family: var(--font-ui);
  font-size: 13px;
}
.modal-summary .ms-row {
  display: flex; justify-content: space-between;
  padding: 4px 0;
}
.modal-summary .ms-row span { color: var(--color-text-muted); }
.modal-summary .ms-row strong { color: var(--color-text); }

.modal-form { display: flex; flex-direction: column; gap: 14px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .form-grid-2 { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 6px; }
.field > span {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.field input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-family: var(--font-ui);
  font-size: 15px;
  outline: none;
  transition: all var(--t-fast);
}
.field input:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(255, 183, 3, 0.15);
}
.field em {
  font-style: normal;
  font-size: 11.5px;
  color: #ff8e8f;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-family: var(--font-ui);
  font-size: 12.5px;
  color: var(--color-text-muted);
  line-height: 1.5;
  padding: 8px 0;
  cursor: pointer;
}
.consent-optional {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  opacity: 0.92;
}
.consent-optional span {
  font-size: 12.5px !important;
  color: rgba(255, 255, 255, 0.65) !important;
}
.consent-optional span strong { color: var(--color-gold); font-weight: 700; }

.consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 2px;
  accent-color: var(--color-gold);
  cursor: pointer;
}
.consent.err span { color: #ff8e8f; }

.modal-success {
  text-align: center;
  padding: 16px 0 8px;
}
.modal-success .success-circle {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--color-gold);
  color: #1a0e00;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 32px rgba(255, 183, 3, 0.4);
}
.modal-success h3 {
  font-family: var(--font-headline);
  font-size: 24px;
  margin: 0 0 12px;
}
.modal-success p {
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--color-text-secondary);
  margin: 0 auto;
  max-width: 380px;
  line-height: 1.55;
}

/* ============= CALC HEADING WITH TIP ============= */
.calc-h3 {
  /* Keep as normal block heading — the InfoTip sits inline-flex naturally
     after the text. Flex container here would put dev-mode text wrappers
     (e.g. __om-t) on their own row and push the tip below. */
  display: block;
}
.calc-h3 .info-tip {
  vertical-align: middle;
  margin-left: 6px;
}

/* ============= CUSTOM TIER TILE (50+ User) ============= */
.tier-custom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 12px;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(15, 82, 186, 0.18), rgba(255, 183, 3, 0.08));
  border: 1px solid rgba(255, 183, 3, 0.4);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: all var(--t-base);
  box-shadow: 0 8px 30px rgba(15, 82, 186, 0.18);
  animation: tierCustomPop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.tier-custom:hover {
  transform: translateY(-2px);
  border-color: var(--color-gold);
  box-shadow: 0 14px 40px rgba(255, 183, 3, 0.22);
}
@keyframes tierCustomPop {
  0%   { opacity: 0; transform: translateY(-8px) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.tier-custom-left { flex: 1; min-width: 0; }
.tier-custom-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 6px;
}
.tier-custom-name {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 22px;
  color: var(--color-text);
  margin-bottom: 4px;
}
.tier-custom-desc {
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}
.tier-custom-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  background: var(--color-gold);
  color: #1a0e00;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(255, 183, 3, 0.35);
}
@media (max-width: 720px) {
  .tier-custom { flex-direction: column; align-items: flex-start; }
  .tier-custom-cta { width: 100%; justify-content: center; }
}

/* ============= PROJEKT-PORTAL ============= */
.portal-shell {
  max-width: 980px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  box-shadow: var(--shadow-card);
  padding: 48px;
}
@media (max-width: 720px) { .portal-shell { padding: 28px 22px; } }
.portal-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 14px;
}
.portal-h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}
.portal-lead {
  font-size: 17px;
  color: var(--color-text-secondary);
  max-width: 720px;
  margin-bottom: 32px;
}
.portal-section {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border);
}
.portal-section:first-of-type {
  margin-top: 28px;
  padding-top: 0;
  border-top: none;
}
.portal-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 18px;
  color: var(--color-text);
  margin-bottom: 18px;
}
.portal-section-title .portal-step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255, 183, 3, 0.15);
  border: 1px solid rgba(255, 183, 3, 0.4);
  color: var(--color-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-ui);
}
.portal-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 720px) { .portal-grid-2 { grid-template-columns: 1fr; } }
.portal-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-ui);
}
.portal-field > span {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-secondary);
}
.portal-field > span em {
  font-style: normal;
  color: var(--color-text-muted);
  font-weight: 400;
  margin-left: 6px;
}
.portal-field input[type="text"],
.portal-field input[type="email"],
.portal-field input[type="tel"],
.portal-field input[type="number"],
.portal-field textarea,
.portal-field select {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.portal-field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.portal-field input:focus,
.portal-field textarea:focus,
.portal-field select:focus {
  border-color: var(--color-gold);
  background: rgba(255, 255, 255, 0.06);
}
.portal-field em.err {
  font-style: normal;
  font-size: 12px;
  color: var(--color-danger);
}

.portal-users {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  background: rgba(255, 183, 3, 0.05);
  border: 1px solid rgba(255, 183, 3, 0.2);
  border-radius: var(--radius-sm);
}
.portal-users .range-input { flex: 1; }
.portal-users .portal-users-val {
  min-width: 80px;
  text-align: right;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 24px;
  color: var(--color-gold);
}

.portal-radio-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.portal-radio {
  flex: 1;
  min-width: 120px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-strong);
  background: rgba(255, 255, 255, 0.025);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  text-align: center;
  cursor: pointer;
  transition: all var(--t-fast);
}
.portal-radio:hover { border-color: var(--color-border-strong); background: rgba(255, 255, 255, 0.05); }
.portal-radio.active {
  background: rgba(255, 183, 3, 0.12);
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.portal-upload {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1.5px dashed var(--color-border-strong);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast);
  font-family: var(--font-ui);
}
.portal-upload:hover { border-color: var(--color-gold); background: rgba(255, 183, 3, 0.04); }
.portal-upload .pu-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255, 183, 3, 0.12);
  color: var(--color-gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.portal-upload .pu-label { font-weight: 600; font-size: 14px; color: var(--color-text); }
.portal-upload .pu-meta { font-size: 12px; color: var(--color-text-muted); margin-top: 2px; }
.portal-upload input[type="file"] { display: none; }

.portal-submit-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border);
}
.portal-submit-row .privacy {
  font-size: 12px;
  color: var(--color-text-muted);
  font-family: var(--font-ui);
  text-align: center;
}

.portal-success {
  text-align: center;
  padding: 40px 20px;
}
.portal-success .success-circle {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.15);
  border: 1px solid rgba(74, 222, 128, 0.4);
  color: #4ade80;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}

/* ============================================================================
 * AIVA CHAT-ASSISTANT
 * ========================================================================= */
.aiva-root {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9000;
  font-family: var(--font-ui);
}

/* ── Floating Launcher ─────────────────────────────────────────────── */
.aiva-launcher {
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, #FFB703, #FF8C00);
  color: #000926;
  border: none;
  border-radius: 100px;
  padding: 12px;
  cursor: pointer;
  box-shadow: 0 12px 40px rgba(255, 183, 3, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: var(--font-ui);
  position: relative;
}
.aiva-launcher:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(255, 183, 3, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}
.aiva-launcher-open {
  background: #173061;
  color: #fff;
  box-shadow: 0 12px 40px rgba(15, 82, 186, 0.5);
  padding: 14px;
}
.aiva-launcher-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ff4d4f;
  color: #fff;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  min-width: 20px;
  text-align: center;
  border: 2px solid #000926;
}

/* ── Aiva Avatar (Gradient-Icon) ───────────────────────────────────── */
.aiva-avatar {
  flex-shrink: 0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.aiva-avatar svg { display: block; }
.aiva-avatar-animated::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #FFB703;
  opacity: 0;
  animation: aiva-pulse 2.5s ease-out infinite;
}
@keyframes aiva-pulse {
  0% { transform: scale(0.95); opacity: 0.6; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ── Panel (Container) ─────────────────────────────────────────────── */
.aiva-panel {
  position: absolute;
  bottom: calc(100% + 14px);
  right: 0;
  width: 380px;
  height: 600px;
  max-height: calc(100vh - 80px);
  background: #0a1530;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 183, 3, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: aiva-slide-up 0.25s ease-out;
}
@keyframes aiva-slide-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* ── Header ────────────────────────────────────────────────────────── */
.aiva-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(15, 82, 186, 0.2), rgba(255, 183, 3, 0.08));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.aiva-header-left {
  display: flex; align-items: center; gap: 12px;
}
.aiva-header-name {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-headline);
  letter-spacing: 0.01em;
}
.aiva-header-role {
  display: flex; align-items: center; gap: 6px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 3px;
  font-family: var(--font-ui);
}
.aiva-header-sep {
  color: rgba(255, 255, 255, 0.3);
  margin: 0 2px;
}
.aiva-online-dot {
  width: 6px; height: 6px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 8px #4ade80;
}
.aiva-close {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 32px; height: 32px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.aiva-close:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }

/* ── Messages-Liste ────────────────────────────────────────────────── */
.aiva-messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}
.aiva-messages::-webkit-scrollbar { width: 6px; }
.aiva-messages::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 3px; }

.aiva-msg {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.aiva-msg-assistant { justify-content: flex-start; }
.aiva-msg-user { justify-content: flex-end; }
.aiva-msg-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: calc(100% - 36px);
}

/* Bubble-Variante */
.aiva-msg-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
  word-wrap: break-word;
  font-family: var(--font-ui);
}
.aiva-msg-bubble-assistant {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.95);
  border-bottom-left-radius: 4px;
}
.aiva-msg-bubble-user {
  background: linear-gradient(135deg, #FFB703, #FF9500);
  color: #000926;
  border-bottom-right-radius: 4px;
  font-weight: 500;
  max-width: 280px;
}

/* Typing-Indikator */
.aiva-typing {
  display: inline-flex; gap: 4px; padding: 4px 0;
}
.aiva-typing span {
  width: 6px; height: 6px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: aiva-typing-bounce 1.2s infinite ease-in-out;
}
.aiva-typing span:nth-child(2) { animation-delay: 0.15s; }
.aiva-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes aiva-typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* ── Contact-Fallback-Card ─────────────────────────────────────────── */
.aiva-contact-card {
  background: linear-gradient(135deg, rgba(15, 82, 186, 0.15), rgba(255, 183, 3, 0.05));
  border: 1px solid rgba(255, 183, 3, 0.3);
  border-radius: 12px;
  padding: 14px;
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.aiva-cc-title {
  font-size: 12px;
  font-weight: 600;
  color: #FFB703;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.aiva-cc-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  transition: background 0.15s;
}
.aiva-cc-row:hover { background: rgba(255, 255, 255, 0.08); }
.aiva-cc-row svg { color: #FFB703; flex-shrink: 0; }
.aiva-cc-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.aiva-cc-val {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
.aiva-cc-meta {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  margin-top: 2px;
}

/* ── Quick-Replies ─────────────────────────────────────────────────── */
.aiva-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 16px 12px;
}
.aiva-chip {
  background: rgba(255, 183, 3, 0.08);
  border: 1px solid rgba(255, 183, 3, 0.3);
  color: #FFB703;
  font-size: 12.5px;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 100px;
  cursor: pointer;
  font-family: var(--font-ui);
  transition: all 0.15s;
}
.aiva-chip:hover {
  background: rgba(255, 183, 3, 0.15);
  border-color: #FFB703;
  transform: translateY(-1px);
}

/* ── Input-Zeile ───────────────────────────────────────────────────── */
.aiva-input-row {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.2);
}
.aiva-input-row input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 100px;
  outline: none;
  font-family: var(--font-ui);
  transition: border-color 0.15s, background 0.15s;
}
.aiva-input-row input:focus {
  border-color: #FFB703;
  background: rgba(255, 255, 255, 0.08);
}
.aiva-input-row input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.aiva-send {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, #FFB703, #FF9500);
  color: #000926;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 0.15s, opacity 0.15s;
}
.aiva-send:hover:not(:disabled) { transform: scale(1.06); }
.aiva-send:disabled { opacity: 0.4; cursor: not-allowed; }
.aiva-disclaimer {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  padding: 0 16px 12px;
  font-family: var(--font-ui);
}
.aiva-disclaimer a { color: #FFB703; text-decoration: none; }
.aiva-disclaimer a:hover { text-decoration: underline; }

/* ── Mobile ────────────────────────────────────────────────────────── */
@media (max-width: 520px) {
  .aiva-root { bottom: 16px; right: 16px; left: 16px; }
  .aiva-panel {
    width: auto;
    height: calc(100vh - 100px);
    left: 0;
    right: 0;
  }
}


/* ============================================================================
 * LEGAL PAGES (Impressum, Datenschutz, AGB)
 * ========================================================================= */
.legal-hero {
  padding: 160px 0 60px;
  position: relative;
  overflow: hidden;
}
.legal-hero .container {
  position: relative;
  max-width: 1100px; /* matches .legal-grid width below — left edge aligns with TOC */
  margin: 0 auto;
}
.legal-h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin: 20px 0 16px;
  font-family: var(--font-headline);
  letter-spacing: -0.01em;
}
.legal-intro {
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text-secondary);
  max-width: 720px;
  margin: 0 0 18px;
  font-family: var(--font-ui);
}
.legal-stand {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
  background: rgba(255, 183, 3, 0.08);
  border: 1px solid rgba(255, 183, 3, 0.25);
  padding: 6px 14px;
  border-radius: 100px;
  font-family: var(--font-ui);
  font-weight: 600;
}

.legal-body {
  padding: 40px 0 100px;
}
.legal-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 64px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Sidebar TOC */
.legal-toc {
  position: sticky;
  top: 100px;
  align-self: start;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  font-family: var(--font-ui);
  scrollbar-width: thin;
}
.legal-toc::-webkit-scrollbar { width: 4px; }
.legal-toc::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.08); border-radius: 2px; }
.legal-toc-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}
.legal-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.legal-toc li a {
  display: block;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--color-text-secondary);
  text-decoration: none;
  padding: 7px 12px;
  border-radius: 6px;
  border-left: 2px solid transparent;
  transition: all var(--t-fast);
}
.legal-toc li a:hover {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.03);
}
.legal-toc li.active a {
  color: var(--color-gold);
  border-left-color: var(--color-gold);
  background: rgba(255, 183, 3, 0.06);
  font-weight: 600;
}

/* Content */
.legal-content {
  min-width: 0;
  font-family: var(--font-body);
}
.legal-section {
  padding: 28px 0;
  border-bottom: 1px solid var(--color-border);
  scroll-margin-top: 110px;
}
.legal-section:last-of-type { border-bottom: none; }
.legal-section h2 {
  font-size: 22px;
  font-family: var(--font-headline);
  margin: 0 0 18px;
  color: var(--color-gold);
  letter-spacing: -0.005em;
}
.legal-section h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 22px 0 10px;
  color: var(--color-text);
  font-family: var(--font-ui);
  letter-spacing: 0.01em;
}
.legal-section-body {
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-text-secondary);
}
.legal-section-body p { margin: 0 0 14px; }
.legal-section-body p:last-child { margin-bottom: 0; }
.legal-section-body strong { color: var(--color-text); font-weight: 600; }
.legal-section-body a {
  color: var(--color-gold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.legal-section-body a:hover { text-decoration-thickness: 2px; }
.legal-section-body code {
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 13px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color: var(--color-text);
}

/* Listen — ol mit Paragraph-Nummern */
.legal-section-body ol {
  padding-left: 0;
  margin: 0 0 14px;
  list-style: none;
  counter-reset: legalcounter;
}
.legal-section-body ol > li {
  counter-increment: legalcounter;
  position: relative;
  padding: 6px 0 6px 36px;
  margin-bottom: 6px;
}
.legal-section-body ol > li::before {
  content: "(" counter(legalcounter) ")";
  position: absolute;
  left: 0;
  top: 6px;
  width: 30px;
  color: var(--color-text-muted);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  font-size: 14px;
}
.legal-section-body ul {
  padding-left: 22px;
  margin: 8px 0 14px;
}
.legal-section-body ul li {
  padding: 3px 0;
}
.legal-section-body ul li::marker {
  color: var(--color-gold);
}

/* Definition list (dl) */
.legal-dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 4px 16px;
  margin: 8px 0 14px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.025);
  border-left: 2px solid rgba(255, 183, 3, 0.3);
  border-radius: 0 6px 6px 0;
}
.legal-dl dt {
  font-weight: 600;
  color: var(--color-text);
  font-size: 13.5px;
  font-family: var(--font-ui);
}
.legal-dl dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-text-secondary);
}

/* Adressen */
.legal-address {
  font-style: normal;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 8px 0 12px;
  font-size: 14.5px;
  line-height: 1.7;
  display: block;
}
.legal-address strong { display: inline-block; margin-bottom: 4px; }

/* Footer note */
.legal-footer-note {
  margin-top: 48px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--color-border);
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--color-text-muted);
  text-align: center;
  font-family: var(--font-ui);
}
.legal-footer-note strong { color: var(--color-text); }

/* Responsive */
@media (max-width: 900px) {
  .legal-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .legal-toc {
    position: static;
    max-height: none;
    padding: 16px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--color-border);
    border-radius: 8px;
  }
  .legal-hero { padding: 140px 0 40px; }
}
@media (max-width: 520px) {
  .legal-section { padding: 20px 0; }
  .legal-section h2 { font-size: 19px; }
  .legal-dl { grid-template-columns: 1fr; gap: 2px; padding: 10px 12px; }
  .legal-dl dt { margin-top: 8px; }
  .legal-dl dt:first-child { margin-top: 0; }
}


/* ============================================================================
 * BLOG
 * ========================================================================= */
.blog-hero {
  padding: 160px 0 50px;
  position: relative;
  overflow: hidden;
}
.blog-hero .container {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
}
.blog-h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  margin: 20px 0 16px;
  font-family: var(--font-headline);
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 30%, #FFB703);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.blog-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  max-width: 640px;
  margin: 0 0 28px;
  font-family: var(--font-ui);
}
.blog-demo-notice {
  display: inline-flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255, 183, 3, 0.06);
  border: 1px solid rgba(255, 183, 3, 0.25);
  border-radius: 10px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--color-text-secondary);
  font-family: var(--font-ui);
  max-width: 720px;
}
.blog-demo-notice svg { color: var(--color-gold); margin-top: 2px; flex-shrink: 0; }
.blog-demo-notice strong { color: var(--color-gold); }
.blog-demo-notice code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12.5px;
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--color-text);
}

.blog-section { padding-top: 30px; padding-bottom: 100px; }
.blog-section-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-gold);
  margin-bottom: 24px;
  font-family: var(--font-ui);
}

/* Featured: Hero-Card */
.blog-featured-wrap { margin-bottom: 0; }
.blog-card--featured {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}
.blog-card--featured:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 183, 3, 0.4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.blog-card--featured .blog-card-image { min-height: 360px; aspect-ratio: auto; }
.blog-card--featured .blog-card-body { padding: 48px; }
.blog-card--featured .blog-card-title { font-size: 30px; line-height: 1.15; }
.blog-card--featured .blog-card-excerpt { font-size: 16px; max-width: none; }

/* Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

/* Standard Card */
.blog-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  font-family: var(--font-ui);
  transition: transform var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}
.blog-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 183, 3, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.blog-card-image {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #0F52BA, #173061);
  position: relative;
  overflow: hidden;
}
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card-image-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0F52BA 0%, #173061 60%, #000926 100%);
  font-family: var(--font-headline);
  font-size: 72px;
  font-weight: 800;
  color: rgba(255, 183, 3, 0.6);
  letter-spacing: -0.02em;
}
.blog-card-image-fallback::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.06) 1px, transparent 0);
  background-size: 20px 20px;
}
.blog-card-image-fallback span { position: relative; z-index: 1; }

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}
.blog-card-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 2px;
}
.blog-card-cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  background: color-mix(in oklab, var(--cat-color, #FFB703) 12%, transparent);
  color: var(--cat-color, #FFB703);
  border: 1px solid color-mix(in oklab, var(--cat-color, #FFB703) 35%, transparent);
}
.blog-card-title {
  font-size: 19px;
  line-height: 1.3;
  font-family: var(--font-headline);
  margin: 4px 0 6px;
  color: var(--color-text);
  letter-spacing: -0.005em;
}
.blog-card:hover .blog-card-title { color: var(--color-gold); }
.blog-card-excerpt {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--color-text-secondary);
  margin: 0 0 14px;
  flex: 1;
}
.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--color-text-muted);
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
  margin-top: auto;
}
.blog-card-meta .dot { opacity: 0.5; }

@media (max-width: 720px) {
  .blog-card--featured { grid-template-columns: 1fr; }
  .blog-card--featured .blog-card-image { min-height: 220px; aspect-ratio: 16/9; }
  .blog-card--featured .blog-card-body { padding: 28px; }
  .blog-card--featured .blog-card-title { font-size: 24px; }
}


/* ============================================================================
 * FORM SUBMIT STATES
 * ========================================================================= */
.form-error {
  padding: 12px 16px;
  background: rgba(255, 77, 79, 0.08);
  border: 1px solid rgba(255, 77, 79, 0.3);
  border-left: 3px solid #ff4d4f;
  border-radius: 8px;
  color: var(--color-text);
  font-size: 13.5px;
  line-height: 1.55;
  font-family: var(--font-ui);
  margin: 4px 0 8px;
}
.form-error strong { color: #ff4d4f; }
.form-error a { color: var(--color-gold); text-decoration: underline; }

.upload-progress {
  position: relative;
  width: 100%;
  height: 32px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 12px;
  font-family: var(--font-ui);
}
.upload-progress-bar {
  position: absolute;
  inset: 0 auto 0 0;
  background: linear-gradient(90deg, var(--color-gold), #FF8C00);
  transition: width 0.2s;
}
.upload-progress-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-deep-navy);
  mix-blend-mode: difference;
  filter: invert(1);
}


/* ============================================================================
 * COOKIE CONSENT BANNER
 * ========================================================================= */

/* Layer & Z-Indizes:
   - Bar:    10000
   - Overlay/Modal: 10001
   - Toast:  10010 */

#cookie-consent-root {
  font-family: var(--font-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
}

/* ── 1) Bottom Bar ─────────────────────────────────────────────────── */
.cc-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 10000;
  background: rgba(0, 9, 38, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
  animation: cc-slide-up 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  color: #fff;
}
@keyframes cc-slide-up {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.cc-bar-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.cc-bar-text h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.005em;
}
.cc-bar-text p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
  max-width: 720px;
}
.cc-bar-link {
  background: none; border: none; padding: 0;
  font: inherit;
  color: #FFB703;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  margin-left: 4px;
}
.cc-bar-link:hover { color: #FFCC4D; }
.cc-bar-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

/* ── 2) Overlay & Modal ────────────────────────────────────────────── */
.cc-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: rgba(0, 9, 38, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: cc-fade 0.2s ease-out;
}
@keyframes cc-fade { from { opacity: 0; } to { opacity: 1; } }
.cc-modal {
  width: 100%;
  max-width: 800px;
  max-height: calc(100vh - 48px);
  background: #050a1f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 183, 3, 0.05);
  color: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: cc-pop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes cc-pop {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.cc-modal-head {
  padding: 20px 28px;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.cc-modal-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.005em;
}
.cc-modal-close {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  width: 36px; height: 36px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
}
.cc-modal-close:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }

.cc-modal-body {
  padding: 24px 28px;
  overflow-y: auto;
  flex: 1;
}
.cc-modal-body::-webkit-scrollbar { width: 6px; }
.cc-modal-body::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 3px; }
.cc-intro {
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}
.cc-intro a {
  color: #FFB703;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Kategorie-Card */
.cc-cat {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 12px;
}
.cc-cat-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.cc-cat-text { flex: 1; min-width: 0; }
.cc-cat-text h4 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.cc-cat-text p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
}
.cc-cat-control { flex-shrink: 0; }

.cc-always {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.25);
  padding: 6px 12px;
  border-radius: 100px;
  white-space: nowrap;
}

/* Toggle */
.cc-toggle {
  width: 46px;
  height: 26px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  position: relative;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.cc-toggle:hover { background: rgba(255, 255, 255, 0.12); }
.cc-toggle-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), background 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.cc-toggle-on {
  background: #0F52BA;
  border-color: #0F52BA;
}
.cc-toggle-on:hover { background: #1764D9; }
.cc-toggle-on .cc-toggle-knob {
  transform: translateX(20px);
  background: #fff;
}
.cc-toggle-locked {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Details / Akkordeon */
.cc-details-btn {
  background: none;
  border: none;
  padding: 8px 0 0;
  margin-top: 8px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s;
}
.cc-details-btn:hover { color: #FFB703; }
.cc-details-btn svg {
  transition: transform 0.2s;
}
.cc-details-open svg { transform: rotate(180deg); color: #FFB703; }
.cc-details-open { color: #FFB703; }

.cc-details {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease, margin 0.3s ease;
}
.cc-details-visible {
  max-height: 1200px;
  opacity: 1;
  margin-top: 10px;
}
.cc-details-inner {
  padding: 16px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}
.cc-details-meta {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 4px 16px;
  margin: 0 0 12px;
  font-size: 12.5px;
}
.cc-details-meta dt {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}
.cc-details-meta dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}
.cc-services-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  margin: 12px 0 8px;
}
.cc-services table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
.cc-services th {
  text-align: left;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 8px;
}
.cc-services td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding: 8px;
  color: rgba(255, 255, 255, 0.65);
  vertical-align: top;
  line-height: 1.4;
}
.cc-services tr:last-child td { border-bottom: none; }

/* Modal Footer */
.cc-modal-foot {
  padding: 16px 28px;
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ── Buttons ──────────────────────────────────────────────────────── */
.cc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.cc-btn-sm { padding: 9px 14px; font-size: 13px; }
.cc-btn-primary {
  background: #0F52BA;
  color: #fff;
  border-color: #0F52BA;
}
.cc-btn-primary:hover {
  background: #1764D9;
  border-color: #1764D9;
  box-shadow: 0 4px 16px rgba(15, 82, 186, 0.3);
}

/* ── DSGVO-konforme "gleichrangige" Button-Variante ──────────────────────
   Alle Cookie-Banner-Buttons (Akzeptieren / Ablehnen / Einstellungen / etc.)
   müssen optisch gleichwertig sein. "Akzeptieren" darf nicht hervorgehoben
   sein gegenüber "Ablehnen" (Dark-Pattern-Verbot — siehe LG München 2024,
   KG Berlin Az. 5 U 65/22, EDSA Guidelines 03/2022). */
.cc-btn-neutral {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  font-weight: 600;
}
.cc-btn-neutral:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.32);
}
.cc-btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.15);
}
.cc-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}
.cc-btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  border-color: rgba(255, 255, 255, 0.12);
}
.cc-btn-ghost:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

/* ── 3) Toast ─────────────────────────────────────────────────────── */
.cc-toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10010;
  background: #059669;
  color: #fff;
  padding: 12px 20px;
  border-radius: 100px;
  box-shadow: 0 12px 32px rgba(5, 150, 105, 0.4);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  animation: cc-toast-in 0.4s cubic-bezier(0.16, 1, 0.3, 1), cc-toast-out 0.4s ease-in 2.6s forwards;
}
@keyframes cc-toast-in {
  from { transform: translate(-50%, -120%); opacity: 0; }
  to   { transform: translate(-50%, 0);     opacity: 1; }
}
@keyframes cc-toast-out {
  to { transform: translate(-50%, -120%); opacity: 0; }
}

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .cc-bar-content {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px 20px;
  }
  .cc-bar-actions { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .cc-overlay {
    padding: 0;
    align-items: flex-end;
  }
  .cc-modal {
    max-width: 100%;
    max-height: 92vh;
    border-radius: 16px 16px 0 0;
    animation: cc-slide-up 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .cc-modal-head { padding: 16px 20px; }
  .cc-modal-body { padding: 20px; }
  .cc-modal-foot { padding: 14px 20px; }
  .cc-modal-foot .cc-btn { flex: 1; }
  .cc-bar-actions .cc-btn { flex: 1; }
  .cc-cat-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cc-services table { font-size: 11.5px; }
  .cc-services th, .cc-services td { padding: 6px 4px; }
}


/* ============================================================================
 * CONSENT GATE — Platzhalter für nicht-zugestimmte Drittanbieter
 * ========================================================================= */
.consent-gate {
  width: 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px dashed rgba(255, 183, 3, 0.3);
  border-radius: var(--radius-md, 12px);
  padding: 32px;
  font-family: var(--font-ui);
}
.consent-gate-inner {
  max-width: 480px;
  text-align: center;
  color: var(--color-text);
}
.consent-gate-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  background: rgba(255, 183, 3, 0.08);
  border: 1px solid rgba(255, 183, 3, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
}
.consent-gate-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  font-family: var(--font-headline);
  letter-spacing: 0.005em;
}
.consent-gate-desc {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-text-secondary);
}
.consent-gate-note {
  margin: 0 0 20px;
  font-size: 12.5px;
  color: var(--color-text-muted);
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.025);
  border-radius: 100px;
  display: inline-block;
}
.consent-gate-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 8px 0 16px;
}
.consent-gate-actions .btn {
  font-size: 14px;
  padding: 10px 18px;
}
.consent-gate-fallback {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--color-gold);
  text-decoration: none;
  padding: 6px 0;
}
.consent-gate-fallback:hover { text-decoration: underline; }
.consent-gate-legal {
  margin: 12px 0 0;
  font-size: 11.5px;
  color: var(--color-text-muted);
}
.consent-gate-legal a { color: var(--color-text-muted); text-decoration: underline; }
.consent-gate-legal a:hover { color: var(--color-gold); }

@media (max-width: 520px) {
  .consent-gate { min-height: 280px; padding: 24px 18px; }
  .consent-gate-title { font-size: 16px; }
  .consent-gate-actions .btn { width: 100%; }
}


/* ============================================================================
 * COMPLIANCE STATUS CARD — Animationen
 * ========================================================================= */
.audit-row .badge-animated {
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes badge-pulse {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}
.audit-row .badge-animated.badge-warn,
.audit-row .badge-animated.badge-pass {
  animation: badge-pulse 0.5s ease-out;
}

/* Score-Farbe abhängig vom Wert */
.hero-card-footer .score {
  transition: color 0.4s ease;
}
.hero-card-footer .score.score-bad  { color: #ff8e8f; }
.hero-card-footer .score.score-warn { color: var(--color-gold); }
.hero-card-footer .score.score-good { color: #4ade80; }
