/* =========================================================
   avercon Versicherungsmakler e.K. – Design-System
   Farb-CI: Navy #0A192F / Akzent #2563EB / Schrift: Outfit
   ========================================================= */

/* ---------- CSS-Variablen (Design-Tokens) ---------- */
:root {
  --primary: #0A192F;
  --primary-light: #172A45;
  --accent: #2563EB;
  --accent-light: rgba(37, 99, 235, 0.10);
  --accent-hover: #1D4ED8;

  --bg-color: #FAFCFF;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F1F5F9;

  --text-main: #1E293B;
  --text-muted: #64748B;
  --text-light: rgba(255, 255, 255, 0.80);

  --border: rgba(10, 25, 47, 0.08);
  --border-dark: rgba(10, 25, 47, 0.14);

  --font: 'Outfit', 'Inter', system-ui, sans-serif;

  --shadow-xs: 0 2px 8px rgba(10, 25, 47, 0.06);
  --shadow-sm: 0 4px 15px rgba(10, 25, 47, 0.07);
  --shadow-md: 0 8px 24px rgba(10, 25, 47, 0.09);
  --shadow-lg: 0 20px 40px rgba(10, 25, 47, 0.10);

  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4,
h5 {
  color: var(--primary);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
  hyphens: auto;
  word-wrap: break-word;
}

p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

strong {
  color: var(--text-main);
}

ul,
ol {
  padding-left: 1.5rem;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.section {
  padding: 7rem 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2.25rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: normal;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(10, 25, 47, 0.18);
}

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-light {
  background: #fff;
  color: var(--primary);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(10, 25, 47, 0.14);
}

.btn-light:hover {
  background: var(--bg-subtle);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.25);
}

.btn-accent:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35);
}

/* ---------- Abzeichen / Badge ---------- */
.badge {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 1.25rem;
}

/* ---------- Header & Navigation ---------- */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 200;
  background: rgba(250, 252, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
  transition: padding var(--transition), box-shadow var(--transition);
}

header.scrolled {
  padding: 0.85rem 0;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.04em;
  display: flex;
  align-items: center;
}

.logo-dot {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a.nav-item {
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding-bottom: 2px;
}

.nav-links a.nav-item::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
  border-radius: 2px;
}

.nav-links a.nav-item:hover {
  color: var(--accent);
}

.nav-links a.nav-item:hover::after,
.nav-links a.nav-item.aktiv::after {
  width: 100%;
}

.nav-links a.nav-item.aktiv {
  color: var(--accent);
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  width: 26px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---------- Hero (Startseite) ---------- */
.hero {
  min-height: 100vh;
  padding-top: 130px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg-accent {
  position: absolute;
  top: -15%;
  right: -8%;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.07) 0%, rgba(250, 252, 255, 0) 68%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 968px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .hero-ctas {
    justify-content: center;
  }
}

.hero-content {
  animation: fadeSlideUp 0.9s ease-out forwards;
}

.hero h1 {
  font-size: 4.2rem;
  margin-bottom: 1.5rem;
  line-height: 1.08;
}

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

.hero .lead {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-bullets {
  list-style: none;
  padding: 0;
  margin-bottom: 2.5rem;
}

.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 0.6rem;
  font-weight: 500;
}

.hero-bullets li svg {
  color: var(--accent);
  flex-shrink: 0;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image-wrapper {
  position: relative;
  height: 580px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: fadeSlideLeft 1.1s ease-out forwards;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-badge-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.hero-badge strong {
  color: var(--primary);
  font-size: 1.1rem;
  display: block;
  line-height: 1.2;
}

.hero-badge span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ---------- Value-Cards (Startseite – Leistungs-Teaser) ---------- */
.value-section {
  background: var(--bg-surface);
  position: relative;
  z-index: 10;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: -5rem;
}

.value-card {
  background: var(--bg-surface);
  padding: 2.75rem 2.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.value-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.value-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.value-card .mehr {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.75rem;
}

/* ---------- Problem→Lösung Block ---------- */
.problem-section {
  background: var(--bg-subtle);
  padding: 6rem 0;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}



.problem-liste {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
}

.problem-liste li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1rem;
  font-size: 1.05rem;
  color: var(--text-main);
}

.problem-liste li svg {
  flex-shrink: 0;
  margin-top: 3px;
}

/* ---------- Prozess-Schritte ---------- */
.prozess-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.prozess-karte {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.prozess-karte:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.prozess-nummer {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
  background: linear-gradient(135deg, var(--accent) 0%, #3B82F6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.prozess-karte h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

/* ---------- Split-Sektion (Bild + Text) ---------- */
.split-section {
  padding: 8rem 0;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

@media (max-width: 968px) {
  .split-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.split-grid.reverse {
  direction: rtl;
}

.split-grid.reverse>* {
  direction: ltr;
}

.split-bild {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 500px;
}

.split-bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- FAQ – Akkordeon ---------- */
.faq-section {
  background: var(--bg-subtle);
  padding: 6rem 0;
}

.faq-container {
  max-width: 800px;
  margin: 3rem auto 0;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.85rem;
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.faq-item.offen {
  box-shadow: var(--shadow-sm);
}

.faq-frage {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 1.75rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--primary);
  gap: 1rem;
  user-select: none;
  transition: color var(--transition);
}

.faq-frage:hover {
  color: var(--accent);
}

.faq-frage:hover .faq-icon {
  border-color: var(--accent);
  color: var(--accent);
}

.faq-icon {
  width: 32px;
  height: 32px;
  border: 2px solid var(--border-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  transition: all var(--transition);
  font-size: 1.2rem;
  line-height: 1;
}

.faq-item.offen .faq-icon {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: rotate(45deg);
}

.faq-antwort {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-antwort-innen {
  padding: 0 1.75rem 1.5rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.faq-item.offen .faq-antwort {
  max-height: 400px;
}

/* ---------- Social Proof / Statistiken ---------- */
.stats-leiste {
  display: flex;
  justify-content: center;
  gap: 5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.stat-block {
  text-align: center;
}

.stat-zahl {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-karte {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.testimonial-karte:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.sterne {
  display: flex;
  gap: 3px;
  margin-bottom: 1rem;
  color: #F59E0B;
  font-size: 1.1rem;
}

.testimonial-zitat {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-main);
  flex-grow: 1;
  margin-bottom: 1.5rem;
  line-height: 1.65;
}

.testimonial-zitat::before {
  content: '„';
}

.testimonial-zitat::after {
  content: '"';
}

.testimonial-autor {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  margin-top: auto;
}

.autor-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.autor-info strong {
  display: block;
  color: var(--primary);
  font-size: 0.95rem;
}

.autor-info span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Großes Testimonial (Featured) */
.testimonial-featured {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}

.testimonial-featured::before {
  content: '"';
  position: absolute;
  top: -1rem;
  left: 2rem;
  font-size: 12rem;
  font-weight: 800;
  color: rgba(37, 99, 235, 0.2);
  line-height: 1;
  pointer-events: none;
}

.testimonial-featured .zitat-text {
  font-size: 1.35rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.testimonial-featured .autor-info strong {
  color: rgba(255, 255, 255, 0.95);
}

.testimonial-featured .autor-info span {
  color: rgba(255, 255, 255, 0.65);
}

.testimonial-featured .autor-avatar {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* Mini-Cases */
.mini-case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.mini-case {
  background: var(--bg-subtle);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 2rem;
}

.mini-case .ergebnis {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.3rem;
  display: block;
}

.mini-case h4 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.mini-case p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ---------- Trust-Siegel ---------- */
.trust-leiste {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.65rem 1.4rem;
  box-shadow: var(--shadow-xs);
}

.trust-item svg {
  color: var(--accent);
}

/* ---------- Leistungsseite ---------- */
.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.leistung-karte {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.leistung-karte:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.leistung-icon {
  width: 60px;
  height: 60px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.leistung-karte h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.leistung-karte p {
  flex-grow: 1;
}

.leistung-liste {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 1.75rem;
}

.leistung-liste li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.97rem;
  color: var(--text-main);
  margin-bottom: 0.65rem;
}

.leistung-liste li svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Vergleichstabelle */
.vergleich-wrapper {
  overflow-x: auto;
  margin-top: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.vergleich-tabelle {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-surface);
  font-size: 0.97rem;
}

.vergleich-tabelle th {
  background: var(--primary);
  color: #fff;
  padding: 1.1rem 1.5rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.vergleich-tabelle th:first-child {
  border-radius: var(--radius) 0 0 0;
}

.vergleich-tabelle th:last-child {
  border-radius: 0 var(--radius) 0 0;
}

.vergleich-tabelle td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-main);
  vertical-align: top;
}

.vergleich-tabelle tr:last-child td {
  border-bottom: none;
}

.vergleich-tabelle tr:nth-child(even) td {
  background: var(--bg-subtle);
}

.vergleich-tabelle .check {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
}

.vergleich-tabelle .kategorie {
  font-weight: 700;
  color: var(--primary);
}

/* ---------- Jobangebote ---------- */
.job-karte {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 2rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.job-karte:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.job-kopf {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.job-titel h3 {
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
}

.job-tags {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.job-tag {
  background: var(--accent-light);
  color: var(--accent);
  padding: 0.25rem 0.85rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
}

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

.job-abschnitt h4 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.85rem;
}

.job-aufgaben {
  list-style: none;
  padding: 0;
}

.job-aufgaben li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.97rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.job-aufgaben li svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

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

.benefit-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.benefit-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.benefit-item .benefit-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.benefit-item h4 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.benefit-item p {
  font-size: 0.9rem;
  margin: 0;
}

/* ---------- Seiten-Hero (Unterseiten) ---------- */
.page-hero {
  padding-top: 160px;
  padding-bottom: 5rem;
  background: var(--bg-color);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.04;
  background-size: cover;
  background-position: center;
  pointer-events: none;
  z-index: 0;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: 3.4rem;
  margin-bottom: 1.25rem;
}

.page-hero .lead {
  max-width: 760px;
  margin: 0 auto 2rem;
  font-size: 1.2rem;
}

/* ---------- Eleganter CTA-Block ---------- */
.elegant-cta {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 7rem 3rem;
  border-radius: var(--radius-lg);
  margin: 0 2.5rem 5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.elegant-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.elegant-cta h2,
.elegant-cta h3 {
  color: #fff;
  font-size: 2.8rem;
  margin-bottom: 1.25rem;
}

.elegant-cta p {
  color: var(--text-light);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  font-size: 1.15rem;
}

.elegant-cta .kontaktdaten {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2.5rem;
  font-size: 1rem;
  line-height: 1.8;
}

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

/* ---------- Rechtliche Seiten ---------- */
.page-wrapper {
  padding-top: 160px;
  padding-bottom: 7rem;
  max-width: 820px;
  margin: 0 auto;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.page-title {
  font-size: 3.2rem;
  margin-bottom: 0.75rem;
}

.page-divider {
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 3rem;
}

.legal-content h2 {
  font-size: 1.6rem;
  margin: 2.75rem 0 1.25rem;
  color: var(--primary);
}

.legal-content p,
.legal-content li {
  font-size: 1rem;
}

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
}

/* ---------- Footer ---------- */
footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 5rem 0 2.25rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

h4.footer-titel {
  font-size: 0.85rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 1.5rem;
}

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

.footer-links a {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

/* ---------- Animationen ---------- */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideLeft {
  from {
    opacity: 0;
    transform: translateX(28px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Trennlinien & Sektions-Titel ---------- */
.section-head {
  text-align: center;
  margin-bottom: 1rem;
}

.section-head h2 {
  font-size: 2.8rem;
  margin-bottom: 0.75rem;
}

.section-head p {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {

  .hero-grid,
  .split-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-image-wrapper {
    height: 400px;
  }

  .value-grid {
    grid-template-columns: 1fr;
    margin-top: 3rem;
  }

  .prozess-grid {
    grid-template-columns: 1fr;
  }

  .leistungen-grid {
    grid-template-columns: 1fr;
  }

  .problem-section .problem-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 3rem !important;
  }

  .testimonial-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mini-case-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --font-base: 15px;
  }

  h1,
  .hero h1 {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
    hyphens: auto;
  }

  h2,
  .section-head h2 {
    font-size: clamp(1.6rem, 6vw, 2rem);
  }

  .page-hero h1 {
    font-size: 2.4rem;
  }

  .container {
    padding: 0 1.25rem;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-sm);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.38s ease-in-out;
    gap: 1.5rem;
  }

  .nav-links.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .job-grid {
    grid-template-columns: 1fr;
  }

  .stats-leiste {
    gap: 2.5rem;
  }

  .elegant-cta {
    margin: 0 1rem 3.5rem;
    padding: 4.5rem 1.5rem;
  }

  .elegant-cta h2,
  .elegant-cta h3 {
    font-size: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.85rem;
    text-align: center;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 5rem 0;
  }
}