/* ============================================================
   Horos Consulting – zentrale Stildatei
   Stand 2: Dezente Design-Politur (Typografie, Tiefe, Details)
   Farben & Schriften übernommen vom Original-Design
   ============================================================ */

:root {
  --navy:        #0D1F3C;   /* Haupt-Dunkelblau */
  --navy-light:  #1E2D4E;
  --blue:        #3AABF0;   /* Akzent-Blau (Hero-Highlight) */
  --amber:       #D4820A;   /* Gold/Amber-Akzent (Buttons) */
  --amber-dark:  #BE7100;
  --off-white:   #FAF9F6;
  --text:        #17263D;
  --text-muted:  #5A6A82;
  --border:      #E3E6EC;
  --radius: .625rem;
  --font-head: 'Raleway', sans-serif;
  --font-body: 'Lato', sans-serif;
  /* Gestaffelte, weiche Schatten für Karten & Bilder */
  --shadow-sm: 0 1px 2px rgba(13,31,60,.05), 0 2px 8px rgba(13,31,60,.05);
  --shadow-md: 0 2px 4px rgba(13,31,60,.05), 0 10px 24px rgba(13,31,60,.09);
  --shadow-lg: 0 4px 8px rgba(13,31,60,.06), 0 22px 48px rgba(13,31,60,.14);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
html, body { overflow-x: hidden; max-width: 100%; }
a { color: inherit; }
::selection { background: rgba(58,171,240,.25); }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; letter-spacing: -.015em; }

/* Sichtbarer Fokusring für Tastaturbedienung */
:focus-visible { outline: 3px solid rgba(58,171,240,.55); outline-offset: 2px; border-radius: 4px; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Abschnitts-Grundgerüst ---------- */
section { padding: 5.5rem 0; }
/* Fixe Navbar überdeckt Anker-Ziele nicht */
section[id], div[id] { scroll-margin-top: 84px; }

.section-tag {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--font-body);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}
.section-tag::before { content: ""; width: 2.2rem; height: 2px; background: var(--amber); border-radius: 2px; flex: none; }
.section-title { font-size: clamp(1.8rem, 3.6vw, 2.55rem); font-weight: 800; margin-bottom: 1.1rem; }
.section-intro { color: var(--text-muted); max-width: 46rem; font-size: 1.07rem; }

/* ---------- Navigation ---------- */
.navbar {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.navbar.scrolled { box-shadow: 0 4px 20px rgba(13,31,60,.08); border-color: var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 74px; flex-wrap: nowrap; }
.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.brand img, .brand-logo { height: 44px; width: auto; flex: none; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: var(--navy); letter-spacing: .02em; }
.nav-links { display: flex; gap: 1.5rem; list-style: none; white-space: nowrap; }
.nav-links a {
  position: relative;
  text-decoration: none; font-size: .94rem; font-weight: 600;
  color: var(--navy); opacity: .85; transition: opacity .2s, color .2s;
  padding: .35rem 0;
}
/* Feiner Unterstrich, der beim Überfahren hereinwächst */
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--amber); border-radius: 2px;
  transition: right .25s ease;
}
.nav-links a:hover { opacity: 1; color: var(--navy); }
.nav-links a:hover::after { right: 0; }
.nav-cta { margin-left: 1rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .5rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .3s; border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: .82rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-body); font-weight: 700; font-size: .97rem;
  letter-spacing: .01em;
  text-decoration: none; border: 2px solid transparent;
  cursor: pointer; transition: all .22s ease;
}
.btn-amber {
  background: linear-gradient(180deg, #E08F14, var(--amber));
  color: #fff;
  box-shadow: 0 2px 6px rgba(212,130,10,.28), 0 8px 20px rgba(212,130,10,.18);
}
.btn-amber:hover {
  background: linear-gradient(180deg, var(--amber), var(--amber-dark));
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(212,130,10,.32), 0 12px 26px rgba(212,130,10,.22);
}
.btn-amber:active { transform: translateY(0); }
.btn-outline-light { border-color: rgba(255,255,255,.55); color: #fff; background: rgba(255,255,255,.04); }
.btn-outline-light:hover { background: rgba(255,255,255,.14); border-color: #fff; transform: translateY(-2px); }
.btn-outline-navy { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline-navy:hover { background: var(--navy); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: center;
  background: var(--navy);
  padding: 9rem 0 4.5rem;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: url('img/hero.webp') center/cover no-repeat;
  opacity: .4;
  animation: heroZoom 22s ease-out forwards;
}
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 15% 110%, rgba(212,130,10,.16), transparent 46%),
    linear-gradient(100deg, rgba(13,31,60,.94) 28%, rgba(13,31,60,.6) 72%, rgba(13,31,60,.38));
}
.hero .container { position: relative; z-index: 2; }
.hero-badge {
  display: inline-block; padding: .5rem 1.15rem;
  max-width: 100%; overflow-wrap: break-word;
  border: 1px solid rgba(212,130,10,.55); border-radius: 999px;
  color: #EBB268; font-size: .76rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  margin-bottom: 1.7rem;
  background: rgba(13,31,60,.5);
  backdrop-filter: blur(4px);
}
.hero h1 {
  overflow-wrap: break-word;
  color: #fff; font-size: clamp(2.2rem, 5.2vw, 3.55rem);
  font-weight: 900; max-width: 46rem; margin-bottom: 1.5rem;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.hero h1 .hl { color: var(--blue); }
.hero p.lead { color: rgba(255,255,255,.85); max-width: 40rem; font-size: 1.14rem; margin-bottom: 2.2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3.4rem; }
.hero-features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.1rem; max-width: 62rem;
}
.hero-feature {
  border-left: 3px solid var(--amber);
  padding: .3rem 0 .3rem 1rem;
  border-radius: 0 6px 6px 0;
  transition: background .25s, transform .25s;
}
.hero-feature:hover { background: rgba(255,255,255,.06); transform: translateX(3px); }
.hero-feature strong { display: block; color: #fff; font-family: var(--font-head); font-size: .96rem; margin-bottom: .1rem; }
.hero-feature span { color: rgba(255,255,255,.66); font-size: .85rem; }
.hero-note { margin-top: 1.8rem; color: rgba(255,255,255,.72); font-size: .9rem; }
.hero-note::before { content: "● "; color: #4ade80; }

/* Sanfter Übergang vom Hero in den nächsten Abschnitt */
.hero .fade-bottom { position: absolute; left: 0; right: 0; bottom: 0; height: 90px; z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(13,31,60,.55)); pointer-events: none; }

/* ---------- TrustBar (Leistungs-Schnellüberblick) ---------- */
.trustbar { background: var(--off-white); padding: 4rem 0; border-bottom: 1px solid var(--border); }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; }
.trust-card {
  background: #fff; border: 1px solid var(--border); border-radius: calc(var(--radius) * 1.4);
  padding: 1.7rem 1.5rem;
  border-top: 3px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.trust-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-top-color: var(--amber); }
.trust-card .icon {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(212,130,10,.16), rgba(212,130,10,.08));
  color: var(--amber-dark);
  margin-bottom: 1rem;
}
.trust-card .icon svg { width: 23px; height: 23px; }
.trust-card:hover .icon { background: var(--amber); color: #fff; transition: background .25s, color .25s; }
.trust-card h3 { font-size: 1.03rem; margin-bottom: .55rem; hyphens: manual; }
.trust-card p { color: var(--text-muted); font-size: .9rem; line-height: 1.65; }

/* ---------- Zweispalter mit Bild ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.8rem; align-items: center; }
.split .img-wrap {
  border-radius: calc(var(--radius) * 2); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.split .img-wrap:hover img { transform: scale(1.03); }
/* Bild füllt die volle Spaltenhöhe, wenn die Textseite lang ist (kein Leerraum daneben) */
#lohnoptimierung .img-wrap, #compliance .img-wrap { align-self: stretch; display: flex; }
#lohnoptimierung .img-wrap img, #compliance .img-wrap img { flex: 1; min-height: 320px; }

.promise-box {
  margin-top: 1.9rem; padding: 1.5rem 1.7rem;
  background: var(--off-white); border-left: 4px solid var(--amber);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-sm);
}
.promise-box .label { font-size: .78rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--amber); }
.promise-box h3 { margin: .35rem 0 .5rem; font-size: 1.22rem; }
.promise-box p { color: var(--text-muted); font-size: .95rem; }

/* ---------- Benefits-Karten ---------- */
.benefits { background: var(--off-white); }
.benefit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 2.8rem; }
.benefit-card {
  background: #fff; border: 1px solid var(--border); border-radius: calc(var(--radius) * 1.4);
  padding: 1.7rem; display: flex; flex-direction: column; gap: .6rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.benefit-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.benefit-card .kicker {
  align-self: flex-start;
  font-size: .72rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--amber-dark);
  background: rgba(212,130,10,.1);
  padding: .28rem .7rem; border-radius: 999px;
}
.benefit-card h3 { font-size: 1.13rem; }
.benefit-card p { color: var(--text-muted); font-size: .92rem; flex: 1; }
.benefit-meta { border-top: 1px dashed var(--border); padding-top: .85rem; font-size: .85rem; display: grid; gap: .3rem; }
.benefit-meta div { display: flex; justify-content: space-between; gap: 1rem; }
.benefit-meta dt { color: var(--text-muted); }
.benefit-meta dd { font-weight: 700; color: var(--navy); text-align: right; }
.benefit-law { font-size: .74rem; color: var(--text-muted); font-style: italic; }

/* ---------- Checkliste ---------- */
.checklist { list-style: none; display: grid; gap: .75rem; margin-top: 1.4rem; }
.checklist li { padding-left: 2rem; position: relative; color: var(--text); font-size: .98rem; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 1.35rem; height: 1.35rem; border-radius: 50%;
  background: linear-gradient(135deg, rgba(212,130,10,.2), rgba(212,130,10,.1));
  color: var(--amber-dark);
  font-weight: 800; font-size: .78rem;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Ergebnis-Box (Lohnoptimierung) ---------- */
.result-box {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: #fff; border-radius: calc(var(--radius) * 2);
  padding: 2.1rem; margin-top: 2rem;
  border: 1px solid rgba(58,171,240,.22);
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.result-box::after {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 190px; height: 190px; border-radius: 50%;
  background: radial-gradient(circle, rgba(58,171,240,.18), transparent 70%);
}
.result-box .label { font-size: .78rem; letter-spacing: .17em; text-transform: uppercase; color: #EBB268; font-weight: 700; }
.result-box .big { font-family: var(--font-head); font-size: 2.5rem; font-weight: 900; margin: .3rem 0; color: var(--blue); letter-spacing: -.02em; }
.result-box p { color: rgba(255,255,255,.82); font-size: .95rem; }

/* ---------- Coaching-Angebote ---------- */
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.offer-card {
  border: 1px solid var(--border); border-left: 4px solid var(--amber);
  border-radius: var(--radius); padding: 1.6rem; background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.offer-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.offer-card h3 { font-size: 1.09rem; margin-bottom: .5rem; }
.offer-card p { color: var(--text-muted); font-size: .92rem; }
.quote {
  font-family: var(--font-head); font-size: 1.4rem; font-weight: 700;
  color: var(--navy); border-left: 4px solid var(--blue);
  padding-left: 1.25rem; margin: 2rem 0 0;
  letter-spacing: -.01em;
}

/* ---------- Über uns ---------- */
.about { background: var(--off-white); }
/* Oben: Foto neben Vorstellungstext, mittig ausgerichtet */
.about-top { align-items: center; }
/* Foto etwas nach unten versetzt, optisch mittig zum Textblock */
.about-top .portrait-wrap { margin-top: 3.5rem; }
/* Unten: Stationen-Karten neben Grundsätzen, volle Breite */
.about-bottom {
  display: grid; grid-template-columns: 1.35fr 1fr;
  gap: 3rem; margin-top: 3.5rem; align-items: start;
}
.about-sub { font-size: 1.15rem; margin-bottom: 1.2rem; }
.stations-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.station-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.4);
  padding: 1.3rem 1.4rem; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.station-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.station-card .num {
  display: block; font-family: var(--font-head); font-weight: 900;
  font-size: .85rem; color: var(--amber); letter-spacing: .1em;
  margin-bottom: .4rem;
}
.station-card strong { display: block; font-family: var(--font-head); font-size: 1rem; color: var(--navy); margin-bottom: .35rem; }
.station-card p { color: var(--text-muted); font-size: .86rem; line-height: 1.6; }
.principles-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.4);
  padding: 1.7rem; box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--amber);
}
.principles-card .checklist { margin-top: 0; }
.portrait-wrap { position: relative; }
.portrait-wrap img { border-radius: calc(var(--radius) * 2); box-shadow: var(--shadow-lg); }
.exp-badge {
  position: absolute; right: -14px; bottom: -14px;
  background: linear-gradient(180deg, #E08F14, var(--amber));
  color: #fff; text-align: center;
  border-radius: calc(var(--radius) * 1.2); padding: 1rem 1.3rem;
  box-shadow: 0 10px 26px rgba(13,31,60,.28);
}
.exp-badge .num { font-family: var(--font-head); font-size: 1.8rem; font-weight: 900; line-height: 1; }
.exp-badge .lbl { font-size: .74rem; letter-spacing: .05em; }
.about-name { margin-top: 1.6rem; }
.about-name strong { font-family: var(--font-head); font-size: 1.18rem; color: var(--navy); display: block; }
.about-name span { color: var(--text-muted); font-size: .9rem; }
.timeline { list-style: none; margin-top: 1.5rem; display: grid; gap: 1.15rem; }
.timeline li { padding-left: 1.7rem; border-left: 2px solid var(--border); position: relative; transition: border-color .3s; }
.timeline li:hover { border-left-color: var(--amber); }
.timeline li::before {
  content: ""; position: absolute; left: -6px; top: .38rem;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(212,130,10,.15);
}
.timeline strong { display: block; font-family: var(--font-head); font-size: 1rem; color: var(--navy); }
.timeline span { color: var(--text-muted); font-size: .9rem; }
.principles h3 { margin-top: 2.2rem; font-size: 1.12rem; }

/* ---------- Kontakt ---------- */
.contact {
  background:
    radial-gradient(ellipse at 85% 0%, rgba(58,171,240,.10), transparent 50%),
    var(--navy);
  color: #fff;
}
.contact .section-title, .contact h3 { color: #fff; }
.contact .section-intro { color: rgba(255,255,255,.78); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; margin-top: 2.8rem; align-items: start; }
/* Vier kompakte Info-Kacheln im 2er-Raster */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.contact-info-card {
  display: block;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  padding: 1.05rem 1.2rem;
  text-decoration: none;
  transition: background .25s, border-color .25s, transform .25s;
}
a.contact-info-card:hover { background: rgba(255,255,255,.09); border-color: rgba(58,171,240,.45); transform: translateY(-2px); }
.contact-info-card .lbl {
  display: block;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: #EBB268; font-weight: 700; margin-bottom: .35rem;
}
.contact-info-card .val { color: #fff; font-weight: 600; font-size: .95rem; line-height: 1.45; overflow-wrap: break-word; }
.contact-info-card .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; margin-right: .45rem; }
.topic-chips { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1rem; }
.topic-chips span {
  padding: .38rem .95rem; border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px; font-size: .82rem; color: rgba(255,255,255,.88);
  transition: border-color .25s, background .25s;
}
.topic-chips span:hover { border-color: var(--blue); background: rgba(58,171,240,.12); }
.contact-availability { margin-top: 1.5rem; color: rgba(255,255,255,.72); font-size: .9rem; }
.contact-availability::before { content: "● "; color: #4ade80; }

/* Formular — passt sich der Inhaltshöhe an, statt sich zu strecken */
.form-card {
  align-self: start;
  background: #fff; border-radius: calc(var(--radius) * 2);
  padding: 2.2rem; color: var(--text);
  box-shadow: 0 24px 60px rgba(0,0,0,.32);
}
.form-card h3 { color: var(--navy); margin-bottom: 1.3rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.05rem; }
.form-field { display: flex; flex-direction: column; gap: .38rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: .85rem; font-weight: 700; color: var(--navy); }
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--font-body); font-size: .95rem;
  padding: .72rem .95rem; border: 1.5px solid var(--border); border-radius: var(--radius);
  background: var(--off-white); color: var(--text);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--amber); background: #fff;
  box-shadow: 0 0 0 3.5px rgba(212,130,10,.14);
}
.form-note { font-size: .8rem; color: var(--text-muted); margin-top: .8rem; }
.form-status { margin-top: 1rem; padding: .95rem 1.15rem; border-radius: var(--radius); font-size: .92rem; display: none; }
.form-status.ok  { display: block; background: #E8F7EE; color: #14683A; border: 1px solid #B5E3C8; }
.form-status.err { display: block; background: #FDECEC; color: #8E2323; border: 1px solid #F3BFBF; }

/* ---------- Footer ---------- */
.footer { background: #0A1830; color: rgba(255,255,255,.75); padding: 3rem 0 2.4rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.footer .brand-name { color: #fff; }
.footer-logo { height: 34px; width: auto; margin-bottom: .5rem; }
.footer .tagline { font-size: .85rem; color: rgba(255,255,255,.55); }
.footer-links { display: flex; gap: 1.4rem; flex-wrap: wrap; list-style: none; }
.footer-links a { color: rgba(255,255,255,.72); text-decoration: none; font-size: .88rem; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer .copyright {
  font-size: .8rem; width: 100%; text-align: center;
  margin-top: 1.6rem; padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.09);
  color: rgba(255,255,255,.45);
}

/* ---------- Cookie-Banner ---------- */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 200;
  max-width: 720px; margin: 0 auto;
  background: #fff; border: 1px solid var(--border); border-radius: calc(var(--radius) * 2);
  box-shadow: 0 18px 50px rgba(13,31,60,.3);
  padding: 1.6rem; display: none;
}
.cookie-banner.visible { display: block; animation: bannerIn .45s ease; }
@keyframes bannerIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.cookie-banner h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.cookie-banner p { font-size: .88rem; color: var(--text-muted); margin-bottom: 1rem; }
.cookie-banner p a { color: var(--amber-dark); }
.cookie-actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.cookie-actions .btn { padding: .55rem 1.2rem; font-size: .88rem; }

/* ---------- Rechtsseiten ---------- */
.legal-hero {
  background:
    radial-gradient(ellipse at 90% 10%, rgba(58,171,240,.12), transparent 55%),
    var(--navy);
  padding: 8rem 0 3.2rem;
}
.legal-hero .section-tag { color: #EBB268; }
.legal-hero .section-tag::before { background: #EBB268; }
.legal-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.legal-content { padding: 3.5rem 1.25rem 5rem; max-width: 800px; }
.legal-content h2 { font-size: 1.35rem; margin: 2.4rem 0 .8rem; padding-top: 1.2rem; border-top: 1px solid var(--border); }
.legal-content h2:first-of-type { border-top: 0; padding-top: 0; }
.legal-content h3 { font-size: 1.08rem; margin: 1.6rem 0 .5rem; }
.legal-content p, .legal-content li { color: var(--text); font-size: .97rem; margin-bottom: .8rem; }
.legal-content ul { padding-left: 1.3rem; margin-bottom: 1rem; }
.legal-content .muted { color: var(--text-muted); font-size: .88rem; }
.legal-content address { font-style: normal; margin-bottom: 1rem; line-height: 1.8; }
.legal-content a { color: var(--amber-dark); }

/* ---------- Einblend-Animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in { opacity: 1; transform: none; }
/* Karten im Raster leicht versetzt einblenden */
.trust-grid .reveal:nth-child(2), .benefit-grid .reveal:nth-child(2), .offer-grid .reveal:nth-child(2) { transition-delay: .08s; }
.trust-grid .reveal:nth-child(3), .benefit-grid .reveal:nth-child(3), .offer-grid .reveal:nth-child(3) { transition-delay: .16s; }
.trust-grid .reveal:nth-child(4), .benefit-grid .reveal:nth-child(4) { transition-delay: .24s; }
.benefit-grid .reveal:nth-child(5) { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero::before { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
/* Etwas engere Abstände, bevor das Menü einklappt */
@media (max-width: 1240px) {
  .nav-links { gap: 1.1rem; }
  .nav-links a { font-size: .9rem; }
}
/* Menü klappt früh genug ein, damit nichts umbricht oder überlappt */
@media (max-width: 1080px) {
  .nav-links {
    position: fixed; top: 74px; left: 0; right: 0;
    background: #fff; flex-direction: column; gap: 0;
    border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
    white-space: normal;
  }
  .nav-links.open { max-height: 520px; box-shadow: 0 14px 30px rgba(13,31,60,.12); }
  .nav-links li { border-top: 1px solid var(--border); }
  .nav-links a { display: block; padding: .95rem 1.4rem; font-size: .95rem; }
  .nav-links a::after { display: none; }
  .nav-links .menu-cta a { color: var(--amber-dark); font-weight: 700; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
}
@media (min-width: 1081px) {
  .nav-links .menu-cta { display: none; } /* CTA-Menüpunkt nur im eingeklappten Menü */
}
@media (max-width: 900px) {
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split .img-wrap { order: -1; align-self: auto; }
  #lohnoptimierung .img-wrap img, #compliance .img-wrap img { min-height: 0; }
  .form-grid { grid-template-columns: 1fr; }
  section { padding: 3.8rem 0; }
  .exp-badge { right: 8px; bottom: 8px; }
  .about-bottom { grid-template-columns: 1fr; gap: 2rem; }
  .stations-grid { grid-template-columns: 1fr; }
  .portrait-wrap { order: -1; }
  .about-top .portrait-wrap { margin-top: 0; }
}
/* Auf schmalen Bildschirmen: Kacheln untereinander in voller Breite */
@media (max-width: 640px) {
  .info-grid { grid-template-columns: 1fr; }
  /* Hero auf schmalen Bildschirmen */
  .hero { min-height: auto; padding: 7rem 0 3.5rem; }
  .hero-badge { font-size: .62rem; letter-spacing: .1em; padding: .45rem .9rem; }
  .hero-features { grid-template-columns: 1fr; gap: .9rem; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .section-title, .hero h1 { hyphens: auto; }
  .contact-info-card { padding: .95rem 1.15rem; }
}
