/* =========================================================
   Wert-der-Arbeitskraft.de – Main Stylesheet
   Design: Corporate Professional (AXA-inspired)
   ========================================================= */

/* 0. Self-hosted Inter font (DSGVO-konform, kein Google Fonts) */
@font-face {
  font-family: 'Inter';
  font-style:  normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style:  normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style:  normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style:  normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style:  normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/inter-latin-800-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style:  normal;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/inter-latin-900-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 1. Design Tokens */
:root {
  --primary:       #003781;
  --primary-dark:  #00265c;
  --primary-light: #1a52a8;
  --accent:        #00AEC7;
  --accent-dark:   #0090a6;
  --green:         #27ae60;
  --yellow:        #f39c12;
  --orange:        #e67e22;
  --red:           #e74c3c;
  --text:          #1e2d42;
  --text-light:    #6c7a8e;
  --bg:            #f4f7fb;
  --bg-card:       #ffffff;
  --border:        #dce4ef;
  --shadow-sm:     0 2px 8px rgba(0,55,129,.06);
  --shadow-md:     0 6px 24px rgba(0,55,129,.1);
  --shadow-lg:     0 16px 48px rgba(0,55,129,.14);
  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --transition:    .25s ease;
}

/* 2. Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-light); }

/* 3. Typography */
h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; color: var(--text); }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p  { line-height: 1.75; color: var(--text-light); }
.prose h2 { margin: 32px 0 14px; font-size: 1.25rem; color: var(--primary); }
.prose p, .prose ul { margin-bottom: 14px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }

/* 4. Layout */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

/* 5. Navigation */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 8px;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 900; flex-shrink: 0;
}
.logo-text { font-size: 14px; font-weight: 500; color: var(--text); line-height: 1.3; }
.logo-text strong { color: var(--primary); font-weight: 700; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--text-light); transition: color var(--transition); }
.nav-links a:hover { color: var(--primary); }
.nav-links .btn-nav {
  background: var(--primary); color: #fff !important;
  padding: 9px 20px; border-radius: var(--radius-sm);
  font-weight: 600; transition: background var(--transition);
}
.nav-links .btn-nav:hover { background: var(--primary-dark); }
.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-burger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); margin: 5px 0; border-radius: 2px;
  transition: var(--transition);
}

/* 6. Hero */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='28'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}
.hero-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.2);
  padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 500;
  margin-bottom: 22px;
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 span { color: var(--accent); }
.hero-sub { color: rgba(255,255,255,.82); font-size: 1.1rem; line-height: 1.75; margin-bottom: 36px; }
.hero-stats { display: flex; gap: 32px; margin-bottom: 36px; }
.stat { text-align: left; }
.stat-value { font-size: 1.6rem; font-weight: 800; color: #fff; }
.stat-label { font-size: 12px; color: rgba(255,255,255,.7); margin-top: 2px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: var(--accent); color: #fff;
  padding: 14px 32px; border-radius: 8px;
  font-size: 16px; font-weight: 700;
  border: none; cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none; display: inline-block;
  box-shadow: 0 4px 16px rgba(0,174,199,.4);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,174,199,.5); color: #fff; }
.btn-secondary {
  background: rgba(255,255,255,.12); color: #fff;
  padding: 14px 28px; border-radius: 8px;
  font-size: 15px; font-weight: 600;
  border: 1px solid rgba(255,255,255,.3); cursor: pointer;
  transition: background var(--transition);
  text-decoration: none; display: inline-block;
}
.btn-secondary:hover { background: rgba(255,255,255,.2); color: #fff; }
.hero-visual { display: flex; align-items: center; justify-content: center; }
.hero-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 16px; padding: 28px;
  backdrop-filter: blur(10px);
  width: 100%;
}
.hero-card-label { font-size: 12px; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.hero-card-value { font-size: 2.4rem; font-weight: 800; color: #fff; }
.hero-card-sub { font-size: 13px; color: rgba(255,255,255,.7); margin-top: 4px; }
.hero-card-bar { height: 8px; background: rgba(255,255,255,.2); border-radius: 4px; margin: 20px 0 8px; overflow: hidden; }
.hero-card-bar-fill { height: 100%; border-radius: 4px; background: var(--accent); width: 38%; }
.hero-card-bar-label { display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,.7); }
.hero-card-bar-label span:last-child { color: var(--orange); font-weight: 700; }

/* 7. Steps / How it works */
.steps-section { background: #fff; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block; background: rgba(0,55,129,.08);
  color: var(--primary); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 14px;
}
.section-header h2 { color: var(--text); margin-bottom: 12px; }
.section-header p { max-width: 560px; margin: 0 auto; }
.step-card {
  background: var(--bg); border-radius: var(--radius-md);
  padding: 32px 28px; text-align: center;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
}
.step-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; margin: 0 auto 20px;
}
.step-card h3 { margin-bottom: 10px; color: var(--text); }

/* 8. Calculator Section */
.calculator-section { background: var(--bg); padding: 80px 0; }
.calc-wrapper {
  max-width: 900px; margin: 0 auto;
}
.calc-card {
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.calc-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 32px 40px;
}
.calc-header h2 { color: #fff; margin-bottom: 6px; font-size: 1.5rem; }
.calc-header p { color: rgba(255,255,255,.8); margin: 0; font-size: 14px; }
.calc-steps-bar { display: flex; background: rgba(0,0,0,.2); }
.calc-step-tab {
  flex: 1; padding: 14px; text-align: center;
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,.5);
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
}
.calc-step-tab.active { color: #fff; border-color: var(--accent); background: rgba(255,255,255,.08); }
.calc-step-tab.done { color: rgba(255,255,255,.7); border-color: var(--green); }
.calc-body { padding: 40px; }
.calc-step { display: none; }
.calc-step.active { display: block; animation: fadeInUp .3s ease; }

/* Gender Selector */
.gender-selector { display: flex; gap: 16px; margin-bottom: 28px; }
.gender-btn {
  flex: 1; padding: 16px; border: 2px solid var(--border);
  border-radius: var(--radius-md); text-align: center;
  cursor: pointer; background: #fff;
  transition: all var(--transition); color: var(--text);
}
.gender-btn svg { display: block; margin: 0 auto 8px; }
.gender-btn span { font-size: 13px; font-weight: 600; display: block; }
.gender-btn.selected { border-color: var(--primary); background: rgba(0,55,129,.05); color: var(--primary); }
.gender-btn:hover { border-color: var(--primary); }

/* Form fields */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 600; color: var(--text);
  margin-bottom: 8px;
}
.form-group label .optional { color: var(--text-light); font-weight: 400; font-size: 12px; }
.form-group .hint { font-size: 12px; color: var(--text-light); margin-top: 6px; }
.form-control {
  width: 100%; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); padding: 12px 14px;
  font-size: 15px; color: var(--text); background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(0,55,129,.08); }
.form-control.error { border-color: var(--red); }
.input-money { position: relative; }
.input-money .currency {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  font-size: 13px; color: var(--text-light); pointer-events: none;
}
.input-money input { padding-right: 36px; }
.input-pct { position: relative; }
.input-pct .pct-sym {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  font-size: 13px; color: var(--text-light); pointer-events: none;
}
.input-pct input { padding-right: 36px; }

/* Range Slider */
.range-group { display: flex; align-items: center; gap: 14px; }
.range-group input[type=range] {
  flex: 1; -webkit-appearance: none; appearance: none;
  height: 5px; background: var(--border); border-radius: 3px;
  outline: none; border: none; padding: 0;
}
.range-group input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px;
  border-radius: 50%; background: var(--primary);
  cursor: pointer; border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,55,129,.3);
}
.range-group input[type=number] { width: 80px; text-align: center; }
.range-label { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-light); margin-top: 4px; }

/* Calc Nav buttons */
.calc-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }
.calc-nav .btn-back {
  background: none; border: 1.5px solid var(--border);
  border-radius: 8px; padding: 12px 24px;
  font-size: 14px; font-weight: 600; color: var(--text-light);
  cursor: pointer; transition: all var(--transition);
}
.calc-nav .btn-back:hover { border-color: var(--primary); color: var(--primary); }
.btn-calc {
  background: var(--primary); color: #fff;
  border: none; border-radius: 8px; padding: 14px 36px;
  font-size: 16px; font-weight: 700; cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.btn-calc:hover { background: var(--primary-dark); transform: translateY(-1px); }
.calc-disclaimer { font-size: 12px; color: var(--text-light); text-align: center; margin-top: 16px; }

/* 9. Results Section */
.results-section { background: var(--primary-dark); padding: 80px 0; display: none; }
.results-section.visible { display: block; animation: fadeInUp .4s ease; }
.results-header { text-align: center; margin-bottom: 48px; }
.results-header h2 { color: #fff; }
.results-header p { color: rgba(255,255,255,.7); }
.results-grid {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; align-items: start;
}
.person-col { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.person-svg-wrap { width: 260px; position: relative; }
.person-svg-wrap svg { width: 100%; height: auto; }
.person-label {
  text-align: center; color: rgba(255,255,255,.9); font-size: 13px; font-weight: 500;
}
.coverage-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px; border-radius: 20px; font-weight: 700; font-size: 14px;
  color: #fff;
}

/* Results cards */
.results-cards { display: flex; flex-direction: column; gap: 20px; }
.result-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md); padding: 24px 28px;
  backdrop-filter: blur(4px);
}
.result-card-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: rgba(255,255,255,.6); margin-bottom: 8px; }
.result-card-value { font-size: 2.2rem; font-weight: 800; color: #fff; margin-bottom: 4px; }
.result-card-sub { font-size: 13px; color: rgba(255,255,255,.6); }
.result-card-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.result-card.highlight { border-color: var(--accent); background: rgba(0,174,199,.12); }

/* Coverage Bar */
.coverage-bar-wrap { margin-top: 16px; }
.coverage-bar-header { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 8px; }
.coverage-bar-header span:first-child { color: rgba(255,255,255,.7); }
.coverage-bar-header span:last-child { color: #fff; font-weight: 700; }
.coverage-bar { height: 12px; background: rgba(255,255,255,.15); border-radius: 6px; overflow: hidden; }
.coverage-bar-fill { height: 100%; border-radius: 6px; transition: width 1.2s cubic-bezier(.25,.46,.45,.94); }

/* Comparison bar */
.comparison-row { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.cmp-item { display: flex; align-items: center; gap: 12px; }
.cmp-item-label { font-size: 13px; color: rgba(255,255,255,.8); min-width: 100px; }
.cmp-item-bar-wrap { flex: 1; position: relative; }
.cmp-bar { height: 10px; background: rgba(255,255,255,.12); border-radius: 5px; overflow: hidden; }
.cmp-bar-fill { height: 100%; border-radius: 5px; }
.cmp-bar-fill.user-bar { background: var(--accent); }
.cmp-bar-fill.avg-bar { background: rgba(255,255,255,.35); }
.cmp-value { font-size: 12px; color: rgba(255,255,255,.7); min-width: 80px; text-align: right; font-weight: 600; }

/* Interpretation box */
.interpretation-box {
  background: rgba(255,255,255,.06);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px; margin-top: 20px;
}
.interpretation-box p { color: rgba(255,255,255,.85); font-size: 14px; margin: 0; line-height: 1.7; }

/* 10. Person SVG Colors */
.coverage-ring { transition: stroke 0.8s ease; }
.shield-outline { transition: stroke 0.8s ease; fill: none; stroke-width: 2.5; }
.shield-fill-rect { transition: fill 0.8s ease, y 1s cubic-bezier(.25,.46,.45,.94); }

/* 11. Lead Section */
.lead-section { background: var(--bg); padding: 80px 0; display: none; }
.lead-section.visible { display: block; animation: fadeInUp .4s ease; }
.lead-card {
  max-width: 680px; margin: 0 auto;
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.lead-card-header {
  padding: 36px 44px 28px;
  border-bottom: 1px solid var(--border);
}
.lead-card-header h2 { color: var(--text); margin-bottom: 10px; font-size: 1.5rem; }
.lead-card-header p { margin: 0; font-size: 15px; }
.lead-benefits { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.benefit-item { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text); }
.benefit-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(39,174,96,.1); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
}
.lead-form-wrap { padding: 32px 44px; }
.form-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-submit-area { margin-top: 24px; }
.btn-submit {
  width: 100%; background: var(--primary); color: #fff;
  border: none; border-radius: 10px; padding: 16px;
  font-size: 16px; font-weight: 700; cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 14px rgba(0,55,129,.3);
}
.btn-submit:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,55,129,.4); }
.btn-submit:disabled { opacity: .65; cursor: not-allowed; transform: none; }
.form-privacy { font-size: 12px; color: var(--text-light); margin-top: 12px; display: flex; align-items: flex-start; gap: 8px; }
.form-privacy input[type=checkbox] { margin-top: 2px; flex-shrink: 0; }
.form-msg { padding: 14px 18px; border-radius: 8px; font-size: 14px; font-weight: 600; margin-top: 16px; display: none; }
.form-msg.error { background: rgba(231,76,60,.1); border: 1px solid rgba(231,76,60,.3); color: #c0392b; display: block; }
.form-msg.success { background: rgba(39,174,96,.1); border: 1px solid rgba(39,174,96,.3); color: #1e8449; display: block; }
.lead-separator { text-align: center; padding: 0 44px 32px; }
.lead-separator p { font-size: 14px; color: var(--text-light); font-style: italic; }

/* Thank you state */
.thankyou-box { text-align: center; padding: 60px 44px; display: none; }
.thankyou-box.visible { display: block; animation: fadeInUp .4s ease; }
.thankyou-icon { font-size: 64px; margin-bottom: 20px; }
.thankyou-box h2 { color: var(--green); margin-bottom: 12px; }
.thankyou-box p { font-size: 15px; color: var(--text-light); max-width: 420px; margin: 0 auto 24px; }

/* 12. Trust section */
.trust-section { background: #fff; padding: 72px 0; }
.trust-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-card {
  text-align: center; padding: 28px 20px;
  border: 1px solid var(--border); border-radius: var(--radius-md);
  transition: box-shadow var(--transition), transform var(--transition);
}
.trust-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.trust-icon { font-size: 32px; margin-bottom: 14px; }
.trust-card h3 { font-size: 14px; margin-bottom: 8px; color: var(--text); }
.trust-card p { font-size: 13px; margin: 0; }

/* 13. FAQ */
.faq-section { background: var(--bg); padding: 72px 0; }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: #fff; border-radius: var(--radius-md);
  border: 1px solid var(--border); margin-bottom: 12px; overflow: hidden;
}
.faq-question {
  width: 100%; text-align: left; background: none; border: none;
  padding: 20px 24px; font-size: 15px; font-weight: 600; color: var(--text);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.faq-question::after { content: '+'; font-size: 22px; color: var(--primary); flex-shrink: 0; transition: transform var(--transition); }
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 24px 20px; font-size: 14px; line-height: 1.75; color: var(--text-light); }
.faq-item.open .faq-answer { display: block; }

/* 14. Footer */
.site-footer {
  background: var(--primary-dark); padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-inner p { font-size: 13px; color: rgba(255,255,255,.5); margin: 0; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,.55); transition: color var(--transition); }
.footer-links a:hover { color: #fff; }

/* 15. Utilities */
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-green { color: var(--green); }
.text-yellow { color: var(--yellow); }
.text-orange { color: var(--orange); }
.text-red { color: var(--red); }
.bg-green { background: var(--green); }
.bg-yellow { background: var(--yellow); }
.bg-orange { background: var(--orange); }
.bg-red { background: var(--red); }
.border-green { border-color: var(--green) !important; }
.border-yellow { border-color: var(--yellow) !important; }
.border-orange { border-color: var(--orange) !important; }
.border-red { border-color: var(--red) !important; }

/* Ampel indicators */
.ampel {
  display: inline-flex; gap: 6px; align-items: center;
  padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 700; color: #fff;
}
.ampel-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .8; }

/* 16. Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: .5; }
  70%  { transform: scale(1.08); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.anim-float { animation: float 4s ease-in-out infinite; }

.count-anim { transition: none; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* 17. Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .trust-cards { grid-template-columns: 1fr 1fr; }
  .results-grid { grid-template-columns: 1fr; }
  .person-col { flex-direction: row; justify-content: center; flex-wrap: wrap; }
}
@media (max-width: 640px) {
  section { padding: 56px 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .trust-cards { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-two-col { grid-template-columns: 1fr; }
  .calc-body { padding: 24px 20px; }
  .lead-card-header { padding: 28px 24px 22px; }
  .lead-form-wrap { padding: 24px; }
  .lead-separator { padding: 0 24px 24px; }
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .hero { padding: 72px 0 60px; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
}
@media (max-width: 420px) {
  .trust-cards { grid-template-columns: 1fr; }
  .gender-selector { flex-direction: column; }
}

/* =========================================================
   18. Ratgeber Section (index.php)
   ========================================================= */
.ratgeber-section { background: #f8fafc; }

.ratgeber-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}

.ratgeber-card {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 16px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow .25s, transform .25s;
}
.ratgeber-card:hover {
  box-shadow: 0 8px 32px rgba(0,55,129,.1);
  transform: translateY(-3px);
}

.ratgeber-card-tag {
  display: inline-block;
  background: #eef3ff;
  color: #003781;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  width: fit-content;
}

.ratgeber-card h3 {
  font-size: 19px;
  line-height: 1.4;
  margin: 0;
}
.ratgeber-card h3 a {
  color: #1e2d42;
  text-decoration: none;
}
.ratgeber-card h3 a:hover { color: #003781; text-decoration: underline; }

.ratgeber-card p {
  color: #4a5568;
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

.ratgeber-topics {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ratgeber-topics li {
  font-size: 13px;
  color: #5a6a80;
  padding-left: 20px;
  position: relative;
}
.ratgeber-topics li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: #003781;
  font-weight: 700;
}

.ratgeber-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #003781;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid #e8edf3;
}
.ratgeber-link:hover { color: #00aec7; }

@media (max-width: 768px) {
  .ratgeber-cards { grid-template-columns: 1fr; }
}

/* =========================================================
   19. Article / Ratgeber Sub-Pages
   ========================================================= */
.article-page { background: #fff; }

.article-breadcrumb {
  background: #f8fafc;
  border-bottom: 1px solid #e8edf3;
  padding: 12px 0;
}
.article-breadcrumb .container {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #8a9ab0;
}
.article-breadcrumb a { color: #8a9ab0; text-decoration: none; }
.article-breadcrumb a:hover { color: #003781; }
.article-breadcrumb span.sep { color: #c5cfd8; }
.article-breadcrumb span.current { color: #1e2d42; font-weight: 500; }

.article-header {
  background: linear-gradient(135deg, #001f5c 0%, #003781 60%, #005aaa 100%);
  color: #fff;
  padding: 72px 0 64px;
}
.article-header-inner { max-width: 820px; }
.article-header .article-tag {
  display: inline-block;
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.9);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.article-header h1 {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.22;
  margin: 0 0 20px;
  color: #fff;
}
.article-header .article-intro {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255,255,255,.82);
  margin: 0 0 28px;
  max-width: 700px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: rgba(255,255,255,.6);
  flex-wrap: wrap;
}
.article-meta span { display: flex; align-items: center; gap: 6px; }

.article-body-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
  align-items: start;
  padding: 64px 0 80px;
}

.article-body { min-width: 0; }
.article-body h2 {
  font-size: 26px;
  font-weight: 700;
  color: #1e2d42;
  margin: 48px 0 16px;
  padding-top: 16px;
  border-top: 2px solid #e8edf3;
}
.article-body h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.article-body h3 {
  font-size: 19px;
  font-weight: 700;
  color: #1e2d42;
  margin: 32px 0 12px;
}
.article-body p {
  font-size: 16px;
  line-height: 1.75;
  color: #3a4a5c;
  margin: 0 0 18px;
}
.article-body ul, .article-body ol {
  padding-left: 22px;
  margin: 0 0 18px;
}
.article-body li {
  font-size: 16px;
  line-height: 1.7;
  color: #3a4a5c;
  margin-bottom: 6px;
}
.article-body strong { color: #1e2d42; }
.article-body a { color: #003781; }
.article-body a:hover { color: #00aec7; }

.article-stats-box {
  background: linear-gradient(135deg, #001f5c, #003781);
  color: #fff;
  border-radius: 16px;
  padding: 32px;
  margin: 40px 0;
}
.article-stats-box h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin: 0 0 24px;
}
.article-stats-box .stat-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.article-stats-box .stat-row:last-child { border-bottom: none; }
.article-stats-box .stat-val {
  font-size: 28px;
  font-weight: 800;
  color: #00aec7;
  min-width: 90px;
}
.article-stats-box .stat-desc {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,.8);
}

.article-highlight-box {
  border-left: 4px solid #003781;
  background: #f0f5ff;
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin: 28px 0;
  font-size: 15px;
  line-height: 1.7;
  color: #1e2d42;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 32px;
  font-size: 15px;
}
.article-table th {
  background: #003781;
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  padding: 12px 16px;
  text-align: left;
}
.article-table td {
  padding: 11px 16px;
  border-bottom: 1px solid #e8edf3;
  color: #3a4a5c;
}
.article-table tr:nth-child(even) td { background: #f8fafc; }
.article-table tr:hover td { background: #eef3ff; }

.article-cta-box {
  background: linear-gradient(135deg, #001f5c, #003781);
  color: #fff;
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  margin: 48px 0 0;
}
.article-cta-box h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 12px;
}
.article-cta-box p {
  font-size: 15px;
  color: rgba(255,255,255,.8);
  margin: 0 0 24px;
  line-height: 1.6;
}
.article-cta-box .btn-primary { display: inline-block; }

.article-sidebar {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidebar-box {
  background: #f8fafc;
  border: 1px solid #e8edf3;
  border-radius: 14px;
  padding: 24px;
}
.sidebar-box h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #8a9ab0;
  margin: 0 0 16px;
}
.sidebar-toc { list-style: none; padding: 0; margin: 0; }
.sidebar-toc li { margin-bottom: 10px; }
.sidebar-toc a {
  font-size: 14px;
  color: #4a5568;
  text-decoration: none;
  line-height: 1.5;
}
.sidebar-toc a:hover { color: #003781; }
.sidebar-cta-box {
  background: linear-gradient(135deg, #001f5c, #003781);
  border: none;
  color: #fff;
  text-align: center;
}
.sidebar-cta-box h4 { color: rgba(255,255,255,.65); }
.sidebar-cta-box p {
  font-size: 14px;
  color: rgba(255,255,255,.8);
  line-height: 1.55;
  margin: 0 0 20px;
}
.sidebar-cta-box .btn-primary { display: block; text-align: center; font-size: 14px; }

@media (max-width: 900px) {
  .article-body-wrap { grid-template-columns: 1fr; gap: 40px; }
  .article-sidebar { position: static; }
}
@media (max-width: 640px) {
  .article-header { padding: 52px 0 44px; }
  .article-stats-box .stat-val { font-size: 22px; min-width: 72px; }
}
