/* ==========================================================================
   Nord BSA Bauservice GmbH — Design System
   Farben nach Firmenlogo: Navy #1B3A8F · Orange-Verlauf #F49038 → #E8542B
   ========================================================================== */

@import url("fonts.css");

/* ---------- Tokens ---------- */
:root {
  /* Marke */
  --navy:        #1b3a8f;
  --navy-600:    #22459f;
  --navy-800:    #142c6e;
  --navy-900:    #0d1f4f;
  --ink:         #0a1633;

  --orange:      #e8542b;
  --orange-400:  #f49038;
  --orange-600:  #bf3812;
  --grad-orange: linear-gradient(135deg, #f49038 0%, #e8542b 100%);
  /* Kontraststarke Variante fuer Flaechen mit weisser Schrift (WCAG AA) */
  --grad-orange-solid: linear-gradient(135deg, #d3441d 0%, #bf3812 100%);
  --orange-text: #c33d15;
  --grad-navy:   linear-gradient(160deg, #1b3a8f 0%, #0d1f4f 100%);

  /* Neutral */
  --white:       #ffffff;
  --sand:        #f7f5f2;
  --sand-200:    #efece7;
  --grey-100:    #f2f4f8;
  --grey-200:    #e4e8f0;
  --grey-300:    #cdd4e2;
  --grey-500:    #7a869f;
  --grey-700:    #43506b;
  --text:        #1e2740;
  --text-soft:   #5a6683;

  /* Layout */
  --wrap:        1240px;
  --wrap-narrow: 820px;
  --gutter:      clamp(1.25rem, 4vw, 2.5rem);
  --sec-y:       clamp(4.5rem, 9vw, 8rem);
  --radius:      18px;
  --radius-sm:   12px;
  --radius-lg:   28px;

  /* Effekte */
  --shadow-sm:   0 2px 8px rgba(13, 31, 79, .06);
  --shadow:      0 12px 32px -12px rgba(13, 31, 79, .18);
  --shadow-lg:   0 32px 70px -28px rgba(13, 31, 79, .34);
  --ring:        0 0 0 3px rgba(232, 84, 43, .35);
  --ease:        cubic-bezier(.22, .61, .36, 1);
  --header-h:    84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}
body {
  font-family: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--navy); color: #fff; }

/* ---------- Typografie ---------- */
h1, h2, h3, h4, h5 {
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.022em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.9vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2.1vw, 1.6rem); letter-spacing: -.015em; }
h4 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
p  { text-wrap: pretty; }
strong { font-weight: 700; color: var(--ink); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange-text);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 3px;
  background: var(--grad-orange);
  border-radius: 3px;
}
.eyebrow--light { color: var(--orange-400); }
.eyebrow--center { justify-content: center; }

.lead {
  font-size: clamp(1.06rem, 1.5vw, 1.22rem);
  color: var(--text-soft);
  line-height: 1.72;
}
.muted { color: var(--text-soft); }

/* ---------- Layout ---------- */
.wrap {
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
}
.wrap--narrow { max-width: var(--wrap-narrow); }
.section { padding-block: var(--sec-y); position: relative; }
.section--sand { background: var(--sand); }
.section--grey { background: var(--grey-100); }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 1.1rem; }

.grid { display: grid; gap: clamp(1.25rem, 2.4vw, 1.9rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(292px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--grad-orange-solid);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.7rem;
  border: 0;
  border-radius: 999px;
  background: var(--btn-bg);
  color: #fff;
  font-weight: 700;
  font-size: .97rem;
  letter-spacing: .005em;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-shadow: 0 10px 24px -10px rgba(232, 84, 43, .7);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: var(--orange-600);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(232, 84, 43, .8); }
.btn:hover::after { opacity: 1; }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--navy { --btn-bg: var(--navy); box-shadow: 0 10px 24px -10px rgba(27, 58, 143, .6); }
.btn--navy::after { background: var(--navy-800); }
.btn--navy:hover { box-shadow: 0 16px 30px -12px rgba(27, 58, 143, .7); }

.btn--ghost {
  --btn-bg: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--grey-300);
}
.btn--ghost::after { background: var(--ink); }
.btn--ghost:hover { color: #fff; box-shadow: inset 0 0 0 2px var(--ink); }

.btn--light {
  --btn-bg: rgba(255,255,255,.1);
  color: #fff;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.35);
  backdrop-filter: blur(6px);
}
.btn--light::after { background: #fff; }
.btn--light:hover { color: var(--ink); box-shadow: inset 0 0 0 2px #fff; }

.btn--sm { padding: .7rem 1.3rem; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  font-size: .95rem;
  color: var(--navy);
}
.link-arrow svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: .72rem; }
.logo__mark { width: 44px; height: 40px; flex: none; }
.logo__type {
  font-family: "Montserrat", "Manrope", sans-serif;
  line-height: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.logo__name {
  font-weight: 700;
  font-size: 1.24rem;
  letter-spacing: .085em;
  color: var(--navy);
  white-space: nowrap;
}
.logo__name b { color: var(--orange); font-weight: 700; }
.logo__sub {
  font-weight: 700;
  font-size: .5rem;
  letter-spacing: .3em;
  color: var(--navy);
  opacity: .78;
  white-space: nowrap;
}
.logo--light .logo__name,
.logo--light .logo__sub { color: #fff; }
.logo--light .logo__name b { color: var(--orange-400); }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--ink);
  color: rgba(255,255,255,.82);
  font-size: .84rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 42px;
  flex-wrap: wrap;
}
.topbar__list { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.topbar__list a, .topbar__item {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: color .25s var(--ease);
}
.topbar__list a:hover { color: var(--orange-400); }
.topbar svg { width: 15px; height: 15px; color: var(--orange-400); flex: none; }
.topbar__note { display: inline-flex; align-items: center; gap: .5rem; }
@media (max-width: 900px) { .topbar__note { display: none; } }
@media (max-width: 560px) {
  .topbar { font-size: .8rem; }
  .topbar__inner { justify-content: center; min-height: 38px; }
  .topbar__list { gap: 1.1rem; }
  .topbar__list li:nth-child(2) { display: none; }
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--grey-200);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.header.is-stuck { box-shadow: 0 8px 30px -18px rgba(13,31,79,.5); background: rgba(255,255,255,.97); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}
.nav { display: flex; align-items: center; gap: .35rem; }
.nav__link {
  position: relative;
  padding: .6rem .95rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: .96rem;
  color: var(--grey-700);
  transition: color .25s var(--ease), background .25s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: .95rem; right: .95rem; bottom: .3rem;
  height: 2px;
  background: var(--grad-orange);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--navy); }
.header__cta { display: flex; align-items: center; gap: .8rem; }

.burger {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--grey-200);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  place-items: center;
  align-content: center;
}
.burger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.burger span + span { margin-top: 5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1040px) {
  .nav, .header__cta .btn { display: none; }
  .burger { display: grid; }
}

/* Mobiles Menü */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--ink);
  padding: calc(var(--header-h) + 2.5rem) var(--gutter) 2.5rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .42s var(--ease), visibility .42s;
  overflow-y: auto;
}
.mobile-nav.is-open { transform: translateX(0); visibility: visible; }
.mobile-nav a {
  color: #fff;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -.02em;
  padding: .85rem 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.mobile-nav a.is-active { color: var(--orange-400); }
.mobile-nav__foot { margin-top: auto; padding-top: 2.5rem; color: rgba(255,255,255,.7); font-size: .95rem; }
.mobile-nav__foot .btn { width: 100%; margin-bottom: 1.4rem; }
body.no-scroll { overflow: hidden; }
body.no-scroll .header { background: #fff; box-shadow: none; }

/* ---------- Blueprint-Muster ---------- */
.blueprint {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 80%);
  pointer-events: none;
}

/* ---------- Hero (Startseite) ---------- */
.hero {
  position: relative;
  background: var(--grad-navy);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  /* Diagonale Logo-Anmutung */
  content: "";
  position: absolute;
  right: -8%; top: -30%;
  width: 62%; aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%, rgba(232,84,43,.32), transparent 62%);
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  position: relative;
  z-index: 2;
}
.hero h1 { color: #fff; }
.hero h1 em {
  font-style: normal;
  background: var(--grad-orange);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__text > p {
  margin-top: 1.5rem;
  max-width: 54ch;
  color: rgba(255,255,255,.8);
  font-size: clamp(1.02rem, 1.4vw, 1.16rem);
}
.hero .btn-row { margin-top: 2.3rem; }
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 2.6rem;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .95rem;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  font-size: .84rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
}
.hero__badge svg { width: 15px; height: 15px; color: var(--orange-400); }

.hero__media { position: relative; }
.hero__frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__stat {
  position: absolute;
  left: -1.5rem; bottom: 2rem;
  background: #fff;
  border-radius: var(--radius);
  padding: 1.15rem 1.5rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: .95rem;
  max-width: 300px;
}
.hero__stat-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--grad-orange-solid);
  display: grid; place-items: center;
  flex: none;
}
.hero__stat-icon svg { width: 22px; height: 22px; color: #fff; }
.hero__stat b { display: block; font-size: 1.05rem; color: var(--ink); line-height: 1.25; }
.hero__stat span { display: block; font-size: .84rem; line-height: 1.45; color: var(--text-soft); margin-top: .15rem; }

@media (max-width: 940px) {
  .hero__inner { grid-template-columns: 1fr; padding-block: clamp(2.75rem, 7vw, 4rem); }
  .hero__media { max-width: 520px; margin-top: 2.5rem; }
  .hero__frame { aspect-ratio: 16 / 11; }
  .hero__stat {
    position: static;
    max-width: none;
    margin-top: 1rem;
    box-shadow: var(--shadow);
  }
  .hero__badges { margin-top: 2rem; }
}

/* ---------- Kennzahlen ---------- */
.stats {
  background: var(--ink);
  color: #fff;
  position: relative;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  background: rgba(255,255,255,.1);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  background: var(--ink);
  padding: 2rem 1.6rem;
  text-align: center;
}
.stat__num {
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  background: var(--grad-orange);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__label { margin-top: .6rem; font-size: .92rem; color: rgba(255,255,255,.72); }

/* ---------- Page-Hero (Unterseiten) ---------- */
.page-hero {
  position: relative;
  background: var(--grad-navy);
  color: #fff;
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -5%; bottom: -60%;
  width: 45%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(232,84,43,.3), transparent 65%);
  pointer-events: none;
}
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero p { margin-top: 1.15rem; max-width: 62ch; color: rgba(255,255,255,.8); }
.page-hero__inner { position: relative; z-index: 2; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  font-size: .87rem;
  color: rgba(255,255,255,.62);
  margin-bottom: 1.5rem;
}
.crumbs a { transition: color .25s var(--ease); }
.crumbs a:hover { color: var(--orange-400); }
.crumbs svg { width: 13px; height: 13px; opacity: .55; }
.crumbs [aria-current] { color: #fff; font-weight: 600; }

/* ---------- Karten ---------- */
.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--grey-100); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 1.6rem 1.6rem 1.75rem; display: flex; flex-direction: column; gap: .75rem; flex: 1; }
.card__body h3 a { transition: color .25s var(--ease); }
.card:hover .card__body h3 a { color: var(--navy); }
.card__body p { color: var(--text-soft); font-size: .97rem; }
.card__foot { margin-top: auto; padding-top: .85rem; }
.card__tag {
  position: absolute;
  left: 1rem; top: 1rem;
  padding: .38rem .8rem;
  border-radius: 999px;
  background: rgba(10,22,51,.72);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.card__date {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
.card__date svg { width: 14px; height: 14px; color: var(--orange); }
.stretched { position: absolute; inset: 0; z-index: 1; }

/* Leistungskarte mit Nummer */
.svc {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 2rem 1.75rem 1.9rem;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.svc::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 3px;
  background: var(--grad-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc:hover::before { transform: scaleX(1); }
.svc__num {
  position: absolute;
  right: 1.2rem; top: .9rem;
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -.05em;
  color: var(--grey-100);
  line-height: 1;
  transition: color .4s var(--ease);
}
.svc:hover .svc__num { color: rgba(232,84,43,.1); }
.svc__icon {
  width: 54px; height: 54px;
  border-radius: 15px;
  background: linear-gradient(150deg, rgba(27,58,143,.1), rgba(232,84,43,.12));
  display: grid; place-items: center;
  margin-bottom: 1.3rem;
  position: relative;
  transition: background .4s var(--ease);
}
.svc__icon svg { width: 27px; height: 27px; color: var(--navy); transition: color .4s var(--ease); }
.svc:hover .svc__icon { background: var(--grad-orange-solid); }
.svc:hover .svc__icon svg { color: #fff; }
.svc h3 { position: relative; }
.svc p { margin-top: .7rem; color: var(--text-soft); font-size: .97rem; position: relative; }
.svc .link-arrow { margin-top: auto; padding-top: 1.15rem; position: relative; align-self: flex-start; }

/* Vorteil-/Feature-Kachel */
.feature {
  display: flex;
  gap: 1.15rem;
  padding: 1.6rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--grey-200);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature__icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--grad-navy);
  display: grid; place-items: center;
  flex: none;
}
.feature__icon svg { width: 22px; height: 22px; color: #fff; }
.feature h4 { margin-bottom: .35rem; }
.feature p { font-size: .95rem; color: var(--text-soft); }
.feature--plain { background: transparent; border: 0; padding: 0; }
.feature--plain:hover { transform: none; box-shadow: none; }

/* ---------- Split-Sektion ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.25rem, 5vw, 4.5rem);
  align-items: center;
}
.split--media-right .split__media { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--media-right .split__media { order: 0; } }

.split__media { position: relative; }
.split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.split__accent {
  position: absolute;
  right: -1.25rem; bottom: -1.25rem;
  width: 58%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 6px solid #fff;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
}
.split__accent img { border-radius: 0; box-shadow: none; aspect-ratio: 16/10; }
@media (max-width: 560px) { .split__accent { display: none; } }

.checklist { display: grid; gap: .85rem; margin-top: 1.9rem; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; font-size: 1rem; }
.checklist svg {
  width: 22px; height: 22px; flex: none;
  color: var(--orange);
  margin-top: .18rem;
}
.checklist b { display: block; }
.checklist span { color: var(--text-soft); font-size: .94rem; }

/* ---------- Prozess ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(228px, 1fr)); gap: 1.6rem; }
.step { position: relative; padding-top: 2.9rem; }
.step::before {
  content: "";
  position: absolute;
  left: 0; top: 27px;
  width: 100%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--grey-300) 0 7px, transparent 7px 14px);
}
.step:last-child::before { display: none; }
.step__num {
  position: absolute;
  left: 0; top: 0;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--grey-200);
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--navy);
  z-index: 1;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.step:hover .step__num { background: var(--grad-orange-solid); color: #fff; border-color: transparent; }
.step h4 { margin-bottom: .45rem; }
.step p { font-size: .95rem; color: var(--text-soft); }
@media (max-width: 700px) { .step::before { display: none; } }

/* ---------- CTA-Band ---------- */
.cta {
  position: relative;
  background: var(--grad-navy);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.cta::before {
  content: "";
  position: absolute;
  left: 50%; top: -40%;
  width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(232,84,43,.3), transparent 62%);
  pointer-events: none;
}
.cta__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.cta h2 { color: #fff; max-width: 20ch; }
.cta p { margin-top: .9rem; color: rgba(255,255,255,.78); max-width: 48ch; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.info-list { display: grid; gap: 1rem; }
.info-item {
  display: flex;
  gap: 1.1rem;
  padding: 1.4rem 1.5rem;
  background: #fff;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.info-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.info-item__icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--grad-orange-solid);
  display: grid; place-items: center;
  flex: none;
}
.info-item__icon svg { width: 21px; height: 21px; color: #fff; }
.info-item h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-soft); font-weight: 800; margin-bottom: .3rem; }
.info-item a, .info-item p { font-size: 1.04rem; font-weight: 600; color: var(--ink); }
.info-item a:hover { color: var(--orange); }

.form-card {
  background: #fff;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.5rem);
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 700; color: var(--grey-700); }
.field label span { color: var(--orange); }
.field input, .field textarea, .field select {
  padding: .85rem 1rem;
  border: 1px solid var(--grey-300);
  border-radius: var(--radius-sm);
  background: var(--grey-100);
  font-size: .97rem;
  transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--orange);
  background: #fff;
  box-shadow: var(--ring);
}
.field textarea { resize: vertical; min-height: 140px; }
.field--check { flex-direction: row; gap: .7rem; align-items: flex-start; }
.field--check input { width: 20px; height: 20px; flex: none; margin-top: .15rem; accent-color: var(--orange); padding: 0; }
.field--check label { font-weight: 500; font-size: .9rem; color: var(--text-soft); line-height: 1.55; }
.field--check a { color: var(--navy); text-decoration: underline; }
.form-note { margin-top: 1rem; font-size: .84rem; color: var(--text-soft); }
.form-error {
  margin-bottom: 1.4rem;
  padding: .9rem 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(232, 84, 43, .09);
  border: 1px solid rgba(232, 84, 43, .3);
  color: #a82f0d;
  font-size: .92rem;
  font-weight: 600;
}
.form-error[hidden] { display: none; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

/* Karte mit Consent (2-Klick-Lösung) */
.map-consent {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-900);
  min-height: 380px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2.5rem;
  color: #fff;
}
.map-consent__bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 44px 44px;
}
.map-consent__inner { position: relative; max-width: 420px; }
.map-consent h3 { color: #fff; font-size: 1.3rem; }
.map-consent p { color: rgba(255,255,255,.72); font-size: .93rem; margin: .75rem 0 1.5rem; }
.map-consent iframe { border: 0; }
.map-loaded { display: block; padding: 0; min-height: 0; }
.map-loaded iframe { width: 100%; height: 420px; display: block; }

/* ---------- Artikel / Detailseiten ---------- */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2.5rem, 5vw, 4rem); align-items: start; }
@media (max-width: 980px) { .article { grid-template-columns: 1fr; } }

.prose { max-width: 72ch; }
.prose > * + * { margin-top: 1.25rem; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); margin-top: 2.8rem; }
.prose h3 { font-size: 1.25rem; margin-top: 2rem; }
.prose p { color: var(--text-soft); }
.prose ul { display: grid; gap: .7rem; }
.prose ul li { display: flex; gap: .75rem; color: var(--text-soft); }
.prose ul li::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--grad-orange);
  flex: none;
  margin-top: .62rem;
}
.prose img { border-radius: var(--radius); width: 100%; }
.prose blockquote {
  border-left: 4px solid var(--orange);
  padding: .3rem 0 .3rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
}
.prose a:not(.btn):not(.link-arrow) { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }

.hero-img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.aside { display: grid; gap: 1.5rem; position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 980px) { .aside { position: static; } }
.aside__box {
  background: var(--grey-100);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.aside__box h4 { margin-bottom: 1rem; }
.aside__box--navy { background: var(--grad-navy); border: 0; color: #fff; }
.aside__box--navy h4 { color: #fff; }
.aside__box--navy p { color: rgba(255,255,255,.75); font-size: .93rem; margin-bottom: 1.25rem; }
.aside__box--navy .btn { width: 100%; }
.aside__list { display: grid; gap: .1rem; }
.aside__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .75rem .25rem;
  font-size: .95rem;
  font-weight: 600;
  color: var(--grey-700);
  border-bottom: 1px solid var(--grey-200);
  transition: color .25s var(--ease), padding-left .25s var(--ease);
}
.aside__list a:last-child { border-bottom: 0; }
.aside__list a:hover { color: var(--navy); padding-left: .6rem; }
.aside__list a.is-active { color: var(--orange); }
.aside__list svg { width: 15px; height: 15px; flex: none; opacity: .5; }

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--grey-200);
  font-size: .89rem;
  color: var(--text-soft);
}
.meta-row span { display: inline-flex; align-items: center; gap: .45rem; }
.meta-row svg { width: 15px; height: 15px; color: var(--orange); }

/* Fakten-Kacheln in Detailseiten */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--grey-200); border: 1px solid var(--grey-200); border-radius: var(--radius); overflow: hidden; }
.fact { background: #fff; padding: 1.35rem 1.4rem; }
.fact dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; color: var(--text-soft); }
.fact dd { margin: .35rem 0 0; font-weight: 700; color: var(--ink); font-size: 1.02rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .85rem; }
.faq details {
  background: #fff;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.faq details[open] { border-color: var(--grey-300); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 3.4rem 1.25rem 1.5rem;
  font-weight: 700;
  font-size: 1.03rem;
  color: var(--ink);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 1.4rem; top: 50%;
  width: 11px; height: 11px;
  border-right: 2.5px solid var(--orange);
  border-bottom: 2.5px solid var(--orange);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq p { padding: 0 1.5rem 1.4rem; color: var(--text-soft); font-size: .97rem; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.68); padding-top: clamp(3.5rem, 7vw, 5rem); }
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: 3rem;
}
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; } }
.footer p { font-size: .95rem; line-height: 1.75; }
.footer__brand .logo { margin-bottom: 1.35rem; }
.footer__brand .logo__mark { width: 54px; height: 49px; }
.footer__brand .logo__name { font-size: 1.4rem; }
.footer__brand .logo__sub { font-size: .55rem; }
.footer h4 {
  color: #fff;
  font-size: .84rem;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-weight: 800;
  margin-bottom: 1.35rem;
}
.footer__links { display: grid; gap: .7rem; }
.footer__links a { font-size: .95rem; transition: color .25s var(--ease), padding-left .25s var(--ease); }
.footer__links a:hover { color: var(--orange-400); padding-left: .35rem; }
.footer__contact { display: grid; gap: 1rem; }
.footer__contact li { display: flex; gap: .8rem; align-items: flex-start; font-size: .95rem; }
.footer__contact svg { width: 18px; height: 18px; color: var(--orange-400); flex: none; margin-top: .2rem; }
.footer__contact a:hover { color: var(--orange-400); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  align-items: center;
  justify-content: space-between;
  font-size: .87rem;
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer__bottom a:hover { color: var(--orange-400); }

.to-top {
  position: fixed;
  right: 1.5rem; bottom: 1.5rem;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--grad-orange-solid);
  display: grid; place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  box-shadow: var(--shadow);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  z-index: 90;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 20px; height: 20px; color: #fff; }

/* ---------- Reveal-Animationen ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .09s; }
[data-reveal-delay="2"] { transition-delay: .18s; }
[data-reveal-delay="3"] { transition-delay: .27s; }
[data-reveal-delay="4"] { transition-delay: .36s; }
[data-reveal-delay="5"] { transition-delay: .45s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Hilfsklassen ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px;
  z-index: 200;
  background: var(--orange-600); color: #fff;
  padding: .75rem 1.25rem; border-radius: 0 0 10px 10px;
  font-weight: 700;
  transition: top .25s var(--ease);
}
.skip-link:focus { top: 0; }
.center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
