/* ============================================================
   MPU FORMULARE – SHARED STYLESHEET
   Corporate Colors: Primary #0C5669 | Accent #B83D38
   ============================================================ */

/* Google Fonts loaded in each HTML head */

:root {
  --primary:       #0C5669;
  --primary-dark:  #083d4a;
  --primary-light: #1a7a93;
  --accent:        #B83D38;
  --accent-dark:   #8f2e2a;
  --white:         #ffffff;
  --off-white:     #f5f8fa;
  --light-gray:    #e8eff3;
  --mid-gray:      #6b8591;
  --text:          #1a2e35;
  --text-light:    #4a6673;

  --font-display: 'DM Serif Display', serif;
  --font-body:    'DM Sans', sans-serif;

  --radius:    12px;
  --radius-lg: 20px;
  --shadow:    0 4px 24px rgba(12,86,105,0.10);
  --shadow-lg: 0 12px 48px rgba(12,86,105,0.18);
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
  --max-w: 1200px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.65; }
img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font-body); }
ul { list-style: none; }

/* ── UTILITY ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
/* Erster Content-Abschnitt der Unterseiten (enthält .info-grid) direkt nach
   der Trust-Bar: oben kompakter, damit der Text harmonisch am Anfang des
   Body-Bereichs beginnt */
.trust-bar + .section:has(.info-grid) { padding-top: 44px; }
.section-sm { padding: 48px 0; }
.tag {
  display: inline-block; font-size: 12px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary-light); margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.8vw, 42px);
  color: var(--primary-dark); line-height: 1.2; margin-bottom: 16px;
}
.section-sub {
  font-size: 18px; color: var(--text-light);
  max-width: 600px; margin-bottom: 40px;
}
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 8px; font-weight: 600;
  font-size: 15px; border: 2px solid transparent;
  transition: var(--transition); white-space: nowrap; cursor: pointer;
}
.btn-primary { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(184,61,56,.35); }
.btn-outline  { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover  { background: var(--primary); color: var(--white); transform: translateY(-2px); }
.btn-white    { background: var(--white); color: var(--accent); border-color: var(--white); font-weight: 700; }
.btn-white:hover { background: var(--off-white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.15); }
.btn-lg { padding: 18px 36px; font-size: 17px; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ── TOP BAR ── */
.top-bar {
  background: var(--primary-dark);
  border-bottom: 1px solid rgba(255,255,255,.08);
  position: fixed; top: 0; left: 0; right: 0; z-index: 1100;
  height: 42px; display: flex; align-items: center;
}
.top-bar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; gap: 12px;
}
.top-bar-left { display: flex; align-items: center; gap: 6px; }
.top-bar-link {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,.8);
  padding: 4px 12px; border-radius: 6px;
  transition: var(--transition);
}
.top-bar-link:hover { background: rgba(255,255,255,.1); color: #fff; }
.top-bar-link svg { width: 14px; height: 14px; stroke: currentColor; }
.top-bar-divider { width: 1px; height: 18px; background: rgba(255,255,255,.15); }
.top-bar-right { display: flex; align-items: center; gap: 8px; }
.search-wrap { position: relative; }
.search-btn {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  border-radius: 6px; padding: 4px 10px;
  transition: var(--transition);
}
.search-btn:hover { background: rgba(255,255,255,.18); color: #fff; }
.search-btn svg { width: 13px; height: 13px; stroke: currentColor; }
.search-dropdown {
  display: none; position: absolute; top: calc(100% + 6px); right: 0;
  background: var(--white); border: 1px solid var(--light-gray);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 12px; width: 280px; z-index: 200;
}
.search-wrap.open .search-dropdown { display: block; }
.search-input-wrap { display: flex; gap: 6px; margin-bottom: 10px; }
.search-input-wrap input {
  flex: 1; padding: 8px 12px; border: 1.5px solid var(--light-gray);
  border-radius: 6px; font-size: 14px; font-family: var(--font-body);
  outline: none; transition: var(--transition);
}
.search-input-wrap input:focus { border-color: var(--primary); }
.search-results { display: flex; flex-direction: column; gap: 4px; max-height: 200px; overflow-y: auto; }
.search-result-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 6px; font-size: 14px;
  color: var(--text); transition: var(--transition);
}
.search-result-item:hover { background: var(--off-white); color: var(--primary); }
.search-result-item svg { width: 14px; height: 14px; stroke: var(--mid-gray); flex-shrink: 0; }
.no-results { font-size: 13px; color: var(--mid-gray); padding: 6px 10px; }

/* ── HEADER / NAV ── */
.site-header {
  position: fixed; top: 42px; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--light-gray);
  transition: var(--transition);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 40px; height: 40px; background: var(--primary);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
}
.logo-mark svg { width: 22px; height: 22px; fill: var(--white); }
.logo-text { font-family: var(--font-display); font-size: 21px; color: var(--primary-dark); line-height: 1.1; }
.logo-text span { display: block; font-family: var(--font-body); font-size: 11px; font-weight: 500; color: var(--mid-gray); letter-spacing: .08em; text-transform: uppercase; }

.nav-menu { display: flex; align-items: center; gap: 2px; }
.nav-link {
  padding: 8px 13px; font-size: 14px; font-weight: 500;
  color: var(--text); border-radius: 6px; transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover { background: var(--off-white); color: var(--primary); }
.nav-link.active { color: var(--primary); font-weight: 600; }

.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  display: none; position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white); border: 1px solid var(--light-gray);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 8px; min-width: 230px; z-index: 100;
}
/* Unsichtbare Brücke schließt die 8px-Luecke zwischen Link und Menü,
   damit das Menü beim Wechsel mit der Maus nicht zuklappt */
.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -10px; left: 0; right: 0; height: 12px;
  background: transparent;
}
/* Menü öffnet sich bei Hover über Link UND bleibt offen, solange Maus
   im Dropdown-Bereich ist (inkl. Brücke). :focus-within hält es zudem
   für Tastaturnutzer offen. */
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown-menu:hover { display: block; }
.nav-dropdown-menu a {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; font-size: 14px; color: var(--text);
  border-radius: 6px; transition: var(--transition);
}
.nav-dropdown-menu a:hover { background: var(--off-white); color: var(--primary); }
.nav-dropdown-menu a svg { width: 14px; height: 14px; stroke: var(--mid-gray); flex-shrink: 0; }
.nav-dropdown-menu .divider { height: 1px; background: var(--light-gray); margin: 4px 0; }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--primary-dark); border-radius: 2px; transition: var(--transition); }

/* Mobile nav overlay */
.mobile-nav {
  display: none; position: fixed; inset: 0;
  background: var(--white); z-index: 999;
  padding: 118px 24px 24px; overflow-y: auto;
  flex-direction: column; gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 14px 16px; font-size: 15px; font-weight: 500; color: var(--text); border-bottom: 1px solid var(--light-gray); border-radius: 6px; }
.mobile-nav a:hover { color: var(--primary); background: var(--off-white); }
.mobile-nav .mob-section { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mid-gray); padding: 16px 16px 6px; border-bottom: none; }
.mobile-nav .btn { margin-top: 16px; text-align: center; justify-content: center; }
.mobile-close { position: absolute; top: 50px; right: 20px; background: none; border: none; font-size: 28px; color: var(--primary-dark); cursor: pointer; }

/* body offset for fixed header */
body { padding-top: 118px; }

/* ── HERO (Landing pages) ── */
.lp-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 100%);
  padding: 64px 0 56px; position: relative; overflow: hidden;
}
.lp-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 75% 50%, rgba(26,122,147,.25) 0%, transparent 60%);
}
.lp-hero-inner {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px;
  align-items: start; position: relative; z-index: 1;
}
.lp-breadcrumb { font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 14px; }
.lp-breadcrumb a { color: rgba(255,255,255,.6); transition: var(--transition); }
.lp-breadcrumb a:hover { color: #fff; }
.lp-breadcrumb span { color: rgba(255,255,255,.4); margin: 0 6px; }
.lp-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  color: #fff; line-height: 1.12; margin-bottom: 16px;
}
.lp-sub { font-size: 17px; color: rgba(255,255,255,.82); line-height: 1.7; margin-bottom: 24px; }
.lp-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  border-radius: 100px; padding: 5px 14px;
  color: rgba(255,255,255,.88); font-size: 13px; font-weight: 500;
}
.lp-badge svg { width: 13px; height: 13px; }

/* ── FORM BOX ── */
.lp-form-box {
  background: #fff; border-radius: var(--radius-lg); padding: 32px 28px;
  box-shadow: var(--shadow-lg); position: relative; z-index: 2;
}
.form-title { font-family: var(--font-display); font-size: 22px; color: var(--primary-dark); margin-bottom: 6px; }
.form-sub   { font-size: 14px; color: var(--text-light); margin-bottom: 24px; }
.form-step-title {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--primary);
  border-bottom: 2px solid var(--light-gray); padding-bottom: 7px;
  margin-bottom: 16px; margin-top: 6px;
}
.form-group { margin-bottom: 14px; }
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; color: var(--text); margin-bottom: 5px; letter-spacing: .03em; }
.form-group select,
.form-group input,
.form-group textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--light-gray); border-radius: 8px;
  font-family: var(--font-body); font-size: 14px; color: var(--text);
  background: var(--off-white); transition: var(--transition); outline: none; appearance: none;
}
.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(12,86,105,.1); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-privacy { font-size: 11px; color: var(--mid-gray); margin-top: 10px; line-height: 1.6; }
.form-privacy a { color: var(--primary); text-decoration: underline; }
.form-submit { width: 100%; justify-content: center; margin-top: 6px; }

/* ── TRUST BAR ── */
.trust-bar { background: var(--off-white); border-bottom: 1px solid var(--light-gray); padding: 18px 0; }
.trust-bar-inner { display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 9px; color: var(--mid-gray); font-size: 13px; font-weight: 500; }
.trust-item svg { width: 18px; height: 18px; stroke: var(--primary-light); }

/* ── SERVICE TILES ── */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
@media (max-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .services-grid { grid-template-columns: 1fr; } }
.service-tile {
  background: var(--off-white); border: 1px solid var(--light-gray);
  border-radius: var(--radius); padding: 26px 22px; cursor: pointer;
  transition: var(--transition); display: flex; flex-direction: column; gap: 10px;
  text-decoration: none; color: inherit;
}
.service-tile:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-tile:hover .tile-icon { background: rgba(255,255,255,.15); }
.service-tile:hover .tile-icon svg { stroke: #fff; }
.service-tile:hover h3,
.service-tile:hover p,
.service-tile:hover .tile-arrow { color: rgba(255,255,255,.9); }
.tile-icon { width: 46px; height: 46px; background: rgba(12,86,105,.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.tile-icon svg { width: 22px; height: 22px; stroke: var(--primary); transition: var(--transition); }
.service-tile h3 { font-size: 15px; font-weight: 700; color: var(--primary-dark); transition: var(--transition); }
.service-tile p  { font-size: 13px; color: var(--text-light); line-height: 1.5; transition: var(--transition); flex: 1; }
.tile-arrow { font-size: 17px; color: var(--mid-gray); transition: var(--transition); align-self: flex-end; }

/* ── STEPS ── */
.steps-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin-top: 48px; position: relative; }
.steps-grid::before { content: ''; position: absolute; top: 31px; left: calc(12.5% + 12px); right: calc(12.5% + 12px); height: 2px; background: rgba(255,255,255,.12); }
.step { text-align: center; padding: 0 20px; position: relative; }
.step-num { width: 62px; height: 62px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; font-family: var(--font-display); color: #fff; margin: 0 auto 18px; position: relative; z-index: 1; box-shadow: 0 4px 20px rgba(184,61,56,.4); }
.step h3 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.step p  { font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.6; }

/* ── ADVANTAGES ── */
.adv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.adv-list { display: flex; flex-direction: column; gap: 18px; }
.adv-item { display: flex; gap: 14px; align-items: flex-start; }
.adv-icon { width: 42px; height: 42px; background: var(--primary); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.adv-icon svg { width: 20px; height: 20px; stroke: #fff; }
.adv-item h4 { font-size: 15px; font-weight: 700; color: var(--primary-dark); margin-bottom: 3px; }
.adv-item p  { font-size: 14px; color: var(--text-light); line-height: 1.6; }
.adv-visual  { background: var(--primary); border-radius: var(--radius-lg); padding: 44px 34px; color: #fff; }
.stat-block  { margin-bottom: 28px; }
.stat-block:last-child { margin-bottom: 0; }
.stat-num    { font-family: var(--font-display); font-size: 52px; color: #fff; line-height: 1; margin-bottom: 5px; }
.stat-label  { font-size: 15px; color: rgba(255,255,255,.7); }
.stat-divider { height: 1px; background: rgba(255,255,255,.15); margin: 24px 0; }

/* ── HERO IMAGE ── */
.hero-image-block { border-radius: var(--radius-lg); overflow: hidden; }
.hero-image-block img { width: 100%; height: 380px; object-fit: cover; display: block; }

/* ── TESTIMONIALS ── */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 44px; }
.testi-card {
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  min-width: 0;
}
.testi-card::before { content: '"'; font-family: var(--font-display); font-size: 70px; color: var(--primary); opacity: .12; position: absolute; top: 10px; left: 22px; line-height: 1; }
.testi-stars { color: #f59e0b; font-size: 15px; margin-bottom: 14px; line-height: 1; }
.testi-text  { font-size: 14px; color: var(--text-light); line-height: 1.7; margin: 0 0 24px; font-style: italic; flex: 1 1 auto; }
.testi-author { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.testi-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 14px; flex-shrink: 0; }
.testi-name  { font-weight: 700; font-size: 14px; line-height: 1.3; }
.testi-case  { font-size: 12px; color: var(--mid-gray); line-height: 1.3; }

/* ── CTA BANNER ── */
.cta-banner { background: linear-gradient(120deg, var(--accent) 0%, var(--accent-dark) 100%); padding: 72px 0; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(255,255,255,.06) 0%, transparent 70%); }
.cta-inner  { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; position: relative; }
.cta-text h2 { font-family: var(--font-display); font-size: clamp(26px,3.2vw, 38px); color: #fff; line-height: 1.2; margin-bottom: 14px; }
.cta-text p  { font-size: 16px; color: rgba(255,255,255,.82); line-height: 1.7; }
.cta-channels  { display: flex; flex-direction: column; gap: 12px; }
.cta-channel   { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); padding: 14px 18px; color: #fff; transition: var(--transition); }
.cta-channel:hover { background: rgba(255,255,255,.2); transform: translateX(4px); }
.cta-channel svg { width: 20px; height: 20px; flex-shrink: 0; }
.cta-channel-text strong { display: block; font-size: 14px; font-weight: 700; }
.cta-channel-text span   { font-size: 12px; opacity: .75; }

/* ── INFO LAYOUT ── */
.info-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; align-items: start; }
.info-content h2 { font-family: var(--font-display); font-size: 28px; color: var(--primary-dark); margin: 32px 0 12px; }
.info-content h2:first-child { margin-top: 0; }
.info-content h3 { font-family: var(--font-display); font-size: 22px; color: var(--primary-dark); margin: 28px 0 10px; }
.info-content p  { font-size: 15px; color: var(--text-light); line-height: 1.8; margin-bottom: 14px; }
.info-content ul { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.info-content ul li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text-light); }
.info-content ul li::before { content: '✓'; color: var(--primary); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

.info-sidebar { position: sticky; top: 126px; }
.sidebar-card  { background: var(--off-white); border: 1px solid var(--light-gray); border-radius: var(--radius); padding: 26px; margin-bottom: 18px; }
.sidebar-card h4 { font-size: 15px; font-weight: 700; color: var(--primary-dark); margin-bottom: 14px; }
.sidebar-link { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--light-gray); font-size: 13px; color: var(--text); transition: var(--transition); }
.sidebar-link:last-child { border-bottom: none; }
.sidebar-link:hover { color: var(--primary); }
.sidebar-link::after { content: '→'; }

/* ── PROBLEM BLOCK ── */
.problem-block { background: #fff; border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; padding: 0 0 0 24px; margin-bottom: 28px; }
.problem-block h3 { font-family: var(--font-display); font-size: 20px; color: var(--primary-dark); margin: 0 0 10px; }
.problem-block p  { font-size: 15px; color: var(--text-light); line-height: 1.75; margin: 0; }

/* ── FAQ ── */
.faq-grid { max-width: 760px; margin: 44px auto 0; }
.faq-item { border-bottom: 1px solid var(--light-gray); }
.faq-question { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 0; font-size: 15px; font-weight: 600; color: var(--text); cursor: pointer; background: none; border: none; width: 100%; text-align: left; font-family: var(--font-body); transition: var(--transition); }
.faq-question:hover { color: var(--primary); }
.faq-icon { width: 26px; height: 26px; background: var(--light-gray); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 17px; font-weight: 700; transition: var(--transition); }
.faq-item.open .faq-question .faq-icon { background: var(--primary); color: #fff; transform: rotate(45deg); }
.faq-item.open .faq-question { color: var(--primary); }
.faq-answer { display: none; padding: 0 0 18px; font-size: 14px; color: var(--text-light); line-height: 1.75; }
.faq-item.open .faq-answer { display: block; }

/* ── CONTENT IMAGE ── */
.content-image { border-radius: var(--radius); overflow: hidden; margin: 28px 0; }
.content-image img { width: 100%; height: 280px; object-fit: cover; object-position: center; }
.content-image-caption { font-size: 12px; color: var(--mid-gray); padding: 8px 0; }
/* Bildausschnitt-Feinjustierung: Porträt der Frau am Laptop höher anschneiden,
   damit der obere Kopfbereich vollständig sichtbar bleibt */
.content-image img[src*="mpu-vorbereitung"] { object-position: center top; }
/* Bildausschnitt mpu-umgehen: oberer Kopfbereich vollständig sichtbar –
   Höhe auf 420 px erhöht + !important sichert Override gegen jede andere Regel */
.content-image img[src*="mpu-umgehen"] { height: 520px !important; object-position: 50% 0% !important; }
/* Bildausschnitt mpu-durchgefallen: Crop nach oben verschoben,
   damit mehr von den Köpfen der abgebildeten Personen sichtbar ist */
.content-image img[src*="mpu-durchgefallen"] { object-position: center top; }

/* ── WHATSAPP FLOAT ── */
.wa-float { position: fixed; bottom: 26px; right: 26px; z-index: 500; width: 56px; height: 56px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,.5); transition: var(--transition); }
.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,.6); }
.wa-float svg { width: 26px; height: 26px; fill: #fff; }

/* ── FOOTER ── */
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,.75); }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding: 60px 0 44px; }
.footer-logo .logo-text { color: #fff; }
.footer-logo .logo-text span { color: rgba(255,255,255,.45); }
.footer-slogan { font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.7; margin: 14px 0 22px; }
.footer-socials { display: flex; gap: 8px; }
.social-btn { width: 36px; height: 36px; background: rgba(255,255,255,.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.social-btn:hover { background: var(--accent); }
.social-btn svg { width: 16px; height: 16px; stroke: rgba(255,255,255,.8); }
.footer-col h5 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.38); margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,.6); transition: var(--transition); }
.footer-links a:hover { color: #fff; }
.footer-contact-item { display: flex; align-items: center; gap: 9px; font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 10px; }
.footer-contact-item svg { width: 14px; height: 14px; stroke: var(--primary-light); flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,.6); transition: var(--transition); }
.footer-contact-item a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); padding: 22px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.footer-bottom-text { font-size: 12px; color: rgba(255,255,255,.38); }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,.38); transition: var(--transition); }
.footer-legal a:hover { color: #fff; }

/* ── HOMEPAGE HERO ── */
.home-hero { min-height: calc(100vh - 118px); display: flex; align-items: center; background: linear-gradient(135deg, #083d4a 0%, #0C5669 48%, #1a7a93 100%); position: relative; overflow: hidden; padding: 80px 0 60px; }
.home-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(26,122,147,.3) 0%, transparent 60%), radial-gradient(ellipse 40% 40% at 20% 80%, rgba(184,61,56,.12) 0%, transparent 50%); }
.home-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 100px; padding: 6px 16px; color: rgba(255,255,255,.9); font-size: 13px; font-weight: 500; margin-bottom: 22px; }
.hero-badge::before { content: ''; width: 8px; height: 8px; background: #4debb5; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.8)} }
.home-hero-title { font-family: var(--font-display); font-size: clamp(34px,5vw,60px); color: #fff; line-height: 1.1; margin-bottom: 18px; }
.home-hero-title em { font-style: italic; color: rgba(255,255,255,.72); }
.home-hero-sub { font-size: 17px; color: rgba(255,255,255,.8); margin-bottom: 32px; max-width: 500px; line-height: 1.7; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; align-items: flex-end; }
.hero-stat strong { display: block; font-size: 38px; font-weight: 700; color: #fff; font-family: var(--font-display); line-height: 1.05; margin-bottom: 4px; }
.hero-stat span   { font-size: 13px; color: rgba(255,255,255,.72); letter-spacing: .02em; }
.hero-image-wrap  { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-image-wrap img { width: 100%; height: 440px; object-fit: cover; }

/* ── HOW (dark bg) ── */
.how { background: var(--primary-dark); }
.how .section-title { color: #fff; }
.how .tag { color: rgba(255,255,255,.55); }

/* ── REVEAL ANIMATION ── */
@keyframes fadeUp { from{opacity:0;transform:translateY(22px)} to{opacity:1;transform:translateY(0)} }
.animate   { animation: fadeUp .6s ease both; }
.animate-d1 { animation-delay:.1s; }
.animate-d2 { animation-delay:.2s; }
.animate-d3 { animation-delay:.3s; }
.animate-d4 { animation-delay:.4s; }
.reveal { opacity:0; transform:translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width:1024px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; }
  .home-hero-grid { grid-template-columns: 1fr; }
  .hero-image-wrap { display: none; }
  .adv-grid { grid-template-columns: 1fr; }
  .adv-visual { order: -1; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .steps-grid::before { display: none; }
  .cta-inner { grid-template-columns: 1fr; }
  .info-grid  { grid-template-columns: 1fr; }
  .info-sidebar { position: static; }
  .lp-hero-inner { grid-template-columns: 1fr; }
}
@media (max-width:768px) {
  body { padding-top: 114px; }
  .top-bar { height: 38px; }
  .site-header { top: 38px; }
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  .home-hero { padding: 60px 0 40px; }
  .hero-stats { flex-direction: column; gap: 14px; }
  .testi-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .form-row   { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 24px; }
  .lp-form-box { padding: 24px 18px; }
  .top-bar-link span { display: none; }
}
@media (max-width:480px) {
  .trust-bar-inner { gap: 16px; }
}

/* ── MULTI-STEP FORM ── */
.form-step { display: none; }
.form-step.active { display: block; }

.form-progress {
  display: flex; align-items: center; gap: 0;
  margin-bottom: 24px;
}
.form-progress-step {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; color: var(--mid-gray);
  flex: 1;
}
.form-progress-step.active  { color: var(--primary); }
.form-progress-step.done    { color: var(--primary-light); }
.form-progress-num {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--light-gray); color: var(--mid-gray);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; flex-shrink: 0;
  transition: var(--transition);
}
.form-progress-step.active .form-progress-num  { background: var(--primary); color: #fff; }
.form-progress-step.done   .form-progress-num  { background: var(--primary-light); color: #fff; }
.form-progress-line {
  flex: 1; height: 2px; background: var(--light-gray);
  margin: 0 8px; transition: background var(--transition);
}
.form-progress-line.done { background: var(--primary-light); }

.form-nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-top: 16px;
}
.btn-next {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 8px; font-weight: 600;
  font-size: 15px; background: var(--primary); color: #fff;
  border: 2px solid var(--primary); cursor: pointer;
  font-family: var(--font-body); transition: var(--transition);
  width: 100%; justify-content: center;
}
.btn-next:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); }
.btn-back {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 18px; border-radius: 8px; font-weight: 600;
  font-size: 14px; background: transparent; color: var(--mid-gray);
  border: 2px solid var(--light-gray); cursor: pointer;
  font-family: var(--font-body); transition: var(--transition);
}
.btn-back:hover { border-color: var(--primary); color: var(--primary); }

/* ── LEGALE WEGE CARDS (mpu-umgehen) ── */
.legal-ways-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px; margin: 16px 0 24px;
}
.legal-way-card {
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.legal-way-card h4 {
  font-size: 14px; font-weight: 700;
  color: var(--primary-dark); margin-bottom: 6px;
  display: flex; align-items: center; gap: 8px;
}
.legal-way-card h4 .lw-icon {
  width: 22px; height: 22px; background: var(--primary);
  border-radius: 5px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.legal-way-card h4 .lw-icon svg { width: 12px; height: 12px; stroke: #fff; }
.legal-way-card p { font-size: 13px; color: var(--text-light); line-height: 1.55; }

/* ── MYTH LIST (mpu-umgehen) ── */
.myth-list { display: flex; flex-direction: column; gap: 10px; margin: 16px 0 24px; }
.myth-item {
  display: flex; align-items: flex-start; gap: 12px;
  background: #fff8f8; border: 1px solid #f5c6c6;
  border-radius: var(--radius); padding: 14px 16px;
}
.myth-x {
  width: 22px; height: 22px; background: var(--accent);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.myth-x svg { width: 12px; height: 12px; stroke: #fff; stroke-width: 3; }
.myth-item p { font-size: 14px; color: var(--text); line-height: 1.55; margin: 0; }
.myth-item strong { color: var(--accent-dark); }

@media (max-width: 640px) {
  .legal-ways-grid { grid-template-columns: 1fr; }
}

/* ── LOGO IMAGE ── */

/* Header nav logo – prominent size, vertically centred in 70px nav-inner */
.logo-img {
  display: block;
  height: 62px;          /* fills ~89 % of the 70px nav – clearly visible */
  width: auto;
  max-width: 240px;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
}

/* ── FOOTER LOGO: white pill behind logo for contrast ── */
/* The white container sits on the dark footer, giving the teal/red
   logo a clean, high-contrast surface without distorting the image. */
.logo-footer-wrap {
  display: inline-flex;               /* shrinks to logo width */
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 10px;                /* soft corners, matches brand radius */
  padding: 10px 18px;                 /* breathing room around logo */
  margin-bottom: 4px;                 /* small gap before slogan text */
  box-shadow: 0 2px 12px rgba(0,0,0,.18); /* subtle lift from footer bg */
}

.logo-img-footer {
  display: block;
  height: 44px;                       /* logo render height inside the pill */
  width: auto;
  max-width: 190px;
  object-fit: contain;
  object-position: left center;
  /* No filter needed – logo sits on white, colors are accurate as-is */
}

/* Tablet (769–1024 px) */
@media (max-width: 1024px) {
  .logo-img          { height: 56px;  max-width: 210px; }
  .logo-footer-wrap  { padding: 9px 16px; }
  .logo-img-footer   { height: 40px;  max-width: 176px; }
}

/* Mobile (≤768 px) */
@media (max-width: 768px) {
  .logo-img          { height: 48px;  max-width: 192px; }
  .logo-footer-wrap  { padding: 8px 14px; }
  .logo-img-footer   { height: 34px;  max-width: 155px; }
}

/* Small mobile (≤480 px) */
@media (max-width: 480px) {
  .logo-img          { height: 40px;  max-width: 168px; }
  .logo-footer-wrap  { padding: 7px 12px; border-radius: 8px; }
  .logo-img-footer   { height: 30px;  max-width: 138px; }
}

/* ============================================================
   INTRO BLOCK (before "Alle MPU-Themen")
   ============================================================ */
.themes-intro {
  background: linear-gradient(135deg, var(--off-white) 0%, #ffffff 100%);
  border: 1px solid var(--light-gray);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  max-width: 920px;
  margin: 0 auto 56px;
  box-shadow: 0 4px 20px rgba(12,86,105,0.06);
}
.themes-intro h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 28px);
  color: var(--primary-dark);
  line-height: 1.25;
  margin-bottom: 14px;
}
.themes-intro p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.75;
  margin: 0;
}
@media (max-width: 768px) {
  .themes-intro { padding: 26px 22px; margin-bottom: 40px; }
  .themes-intro p { font-size: 15px; }
}

/* ============================================================
   TESTIMONIAL SLIDER
   ============================================================ */
.testi-slider {
  position: relative;
  margin-top: 44px;
  padding: 0 56px; /* room for arrows */
}
.testi-slider-viewport {
  overflow: hidden;
  border-radius: var(--radius);
}
.testi-slider-track {
  display: flex;
  align-items: stretch; /* explicit – force every card to the height of the tallest */
  gap: 20px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.testi-slider .testi-card {
  flex: 0 0 calc((100% - 40px) / 3); /* 3 cards visible, 2 gaps of 20px */
  width: calc((100% - 40px) / 3);    /* explicit width to lock the box */
  max-width: calc((100% - 40px) / 3);
  min-height: 280px;                 /* visual baseline for short testimonials */
  box-sizing: border-box;
}
.testi-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  color: var(--primary-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  transition: var(--transition);
  z-index: 2;
  box-shadow: 0 2px 12px rgba(12,86,105,0.10);
}
.testi-arrow:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-50%) scale(1.08); }
.testi-arrow:active { transform: translateY(-50%) scale(0.95); }
.testi-arrow.prev { left: 4px; }
.testi-arrow.next { right: 4px; }
.testi-arrow svg { width: 18px; height: 18px; stroke: currentColor; }

.testi-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.testi-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--light-gray);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}
.testi-dot.active { background: var(--primary); transform: scale(1.2); }

@media (max-width: 1024px) {
  .testi-slider { padding: 0 48px; }
  .testi-slider .testi-card {
    flex: 0 0 calc((100% - 20px) / 2);
    width: calc((100% - 20px) / 2);
    max-width: calc((100% - 20px) / 2);
  }
}
@media (max-width: 640px) {
  .testi-slider { padding: 0 40px; }
  .testi-slider .testi-card {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    min-height: 240px;
  }
  .testi-arrow { width: 38px; height: 38px; }
}

/* ============================================================
   HERO STATS – mobile adjustment
   ============================================================ */
@media (max-width: 768px) {
  .hero-stats { gap: 24px; }
  .hero-stat strong { font-size: 30px; }
}

/* ============================================================
   COST-FACTORS DEFINITION LIST (mpu-kosten)
   ============================================================ */
.cost-factors {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 0;
  margin: 24px 0 32px;
  border-top: 1px solid var(--light-gray);
  border-bottom: 1px solid var(--light-gray);
}
.cost-factors dt {
  padding: 18px 24px 18px 0;
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 15px;
  line-height: 1.4;
  border-top: 1px solid var(--light-gray);
  align-self: start;
}
.cost-factors dt:first-of-type { border-top: none; }
.cost-factors dd {
  margin: 0;
  padding: 18px 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-light);
  border-top: 1px solid var(--light-gray);
}
.cost-factors dd:first-of-type { border-top: none; }
@media (max-width: 720px) {
  .cost-factors { grid-template-columns: 1fr; }
  .cost-factors dt {
    padding: 16px 0 4px;
    font-size: 15px;
    border-top: 1px solid var(--light-gray);
  }
  .cost-factors dd {
    padding: 0 0 16px;
    border-top: none;
  }
  .cost-factors dt:first-of-type { border-top: none; }
}

/* ── SPRACH-UMSCHALTER (MPU Rumänien) ── */
.lang-switch-bar {
  background: var(--off-white);
  border-bottom: 1px solid var(--light-gray);
  padding: 10px 0;
}
.lang-switch-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}
.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  background: #fff;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}
.lang-switch-btn:hover {
  background: var(--primary);
  color: #fff;
}
.lang-switch-btn .flag {
  display: inline-flex;
  width: 22px;
  height: 16px;
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(0,0,0,.1);
}
.lang-switch-btn .flag svg { width: 100%; height: 100%; display: block; }
@media (max-width: 600px) {
  .lang-switch-btn { padding: 8px 14px; font-size: 13px; }
  .lang-switch-inner { justify-content: center; }
}
