/* =========================================================
   StandortKOMPASS – OnePager
   ========================================================= */

/* ---------- Fonts (selbst gehostet, DSGVO-konform) ---------- */
@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/titillium-web-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/titillium-web-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/titillium-web-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/titillium-web-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/titillium-web-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/titillium-web-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/titillium-web-900-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/titillium-web-900-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Design Tokens ---------- */
:root {
  --navy: #223c7b;
  --navy-600: #1c3268;
  --navy-700: #16264d;
  --navy-800: #101c3a;
  --orange: #f36e22;
  --orange-600: #e05c12;

  --ink: #16264d;
  --body: #4d5a75;
  --muted: #7a869e;

  --bg: #ffffff;
  --bg-soft: #f4f6fb;
  --line: #e4e9f2;

  --shell: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 2px 10px rgba(22, 38, 77, .06);
  --shadow: 0 14px 40px rgba(22, 38, 77, .10);
  --shadow-lg: 0 30px 70px rgba(22, 38, 77, .22);

  --header-h: 76px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Titillium Web', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--navy); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--orange); }

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 .6em;
  font-weight: 700;
  letter-spacing: -.01em;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(3.75rem, 7vw, 7rem);
}

.section--soft { background: var(--bg-soft); }

.section--navy {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-700) 60%, var(--navy-800) 100%);
  color: rgba(255, 255, 255, .82);
}
.section--navy h2, .section--navy h3 { color: #fff; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--orange);
  color: #fff;
  padding: .75rem 1.25rem;
  font-weight: 700;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Typo helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--orange);
}

.headline {
  font-size: clamp(1.75rem, 1.15rem + 2.6vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -.005em;
  line-height: 1.08;
  margin-bottom: .55em;
}
.headline .accent { color: var(--orange); display: block; }
.section--navy .headline { color: #fff; }

.lead {
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  max-width: 62ch;
}

.section-intro { max-width: 700px; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--orange);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.7rem;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover {
  background: var(--orange-600);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(243, 110, 34, .35);
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
}
.btn--ghost:hover {
  background: #fff;
  border-color: #fff;
  color: var(--navy);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .18);
}

.btn--outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn--outline:hover { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 10px 26px rgba(34, 60, 123, .3); }

.btn--sm { padding: .6rem 1.25rem; font-size: .9375rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .875rem;
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: transparent;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s var(--ease);
}
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(16, 28, 58, .55), transparent);
  opacity: 1;
  transition: opacity .3s var(--ease);
  pointer-events: none;
}
.site-header.is-stuck,
body.has-solid-header .site-header {
  background: var(--navy-700);
  box-shadow: 0 6px 26px rgba(16, 28, 58, .28);
}
.site-header.is-stuck::before,
body.has-solid-header .site-header::before { opacity: 0; }

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand { display: block; flex: none; }
.brand img {
  width: clamp(150px, 15vw, 186px);
  height: auto;
  transition: width .3s var(--ease);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}
.nav a {
  color: rgba(255, 255, 255, .88);
  font-weight: 600;
  font-size: .9375rem;
  position: relative;
  padding-block: .35rem;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width .25s var(--ease);
}
.nav a:hover { color: #fff; }
.nav a:hover::after { width: 100%; }
.nav .btn { color: #fff; }
.nav .btn::after { display: none; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, .12);
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 50%;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform .25s var(--ease), opacity .2s var(--ease), top .25s var(--ease);
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before,
.nav-toggle span::after { content: ''; left: 0; transform: none; top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: calc(100% + .5rem);
    left: var(--gutter);
    right: var(--gutter);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem;
    background: var(--navy-700);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav a {
    padding: .85rem 1rem;
    border-radius: 8px;
    font-size: 1rem;
  }
  .nav a::after { display: none; }
  .nav a:hover { background: rgba(255, 255, 255, .08); }
  .nav .btn { margin-top: .5rem; justify-content: center; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  isolation: isolate;
  padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 6.5rem));
  padding-bottom: clamp(3.5rem, 8vw, 7rem);
  color: rgba(255, 255, 255, .88);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(16, 28, 58, .96) 0%, rgba(22, 38, 77, .88) 34%, rgba(34, 60, 123, .55) 62%, rgba(34, 60, 123, .28) 100%),
    linear-gradient(to bottom, rgba(16, 28, 58, .5), rgba(16, 28, 58, .1) 40%, rgba(16, 28, 58, .75));
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.hero__tagline {
  font-size: clamp(.9375rem, .9rem + .2vw, 1.0625rem);
  font-weight: 600;
  color: rgba(255, 255, 255, .82);
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 3px solid var(--orange);
}

.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 1.1rem + 4vw, 3.6rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.06;
  letter-spacing: -.01em;
  margin-bottom: .55em;
}
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--orange); }

.hero__text {
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.1875rem);
  max-width: 46ch;
  margin-bottom: 2rem;
}

.hero .btn-row { margin-bottom: 2.25rem; }

.hero__flag {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  line-height: 1.35;
  padding: .9rem 1.4rem;
  border-radius: 4px 14px 14px 4px;
  border-left: 4px solid #fff;
  max-width: 30rem;
  box-shadow: 0 16px 40px rgba(243, 110, 34, .3);
}

/* Versprechen-Karte im Hero */
.promise-card {
  background: rgba(255, 255, 255, .96);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.75rem);
  box-shadow: var(--shadow-lg);
  color: var(--body);
}
@supports (backdrop-filter: blur(12px)) {
  .promise-card {
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(14px);
  }
}
.promise-card h2 {
  font-size: clamp(1.35rem, 1.15rem + .7vw, 1.75rem);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.promise-list { display: grid; gap: .9rem; }
.promise-list li {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}
.promise-list svg {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: .1em;
  color: var(--orange);
}

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__bg img { object-position: 55% center; }
}

/* =========================================================
   Plattform / Screens
   ========================================================= */
.showcase__grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.showcase__media {
  position: relative;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .45));
}
.showcase__media img { width: 100%; }
.showcase p { color: rgba(255, 255, 255, .8); }

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.stats dt {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
  order: 2;
}
.stats dd {
  margin: 0 0 .15rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  order: 1;
}
.stats > div { display: flex; flex-direction: column; }

@media (max-width: 980px) {
  .showcase__grid { grid-template-columns: 1fr; }
  .showcase__media { order: -1; }
}

/* =========================================================
   Warum / Gründe
   ========================================================= */
.reasons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  counter-reset: reason;
}
.reason {
  position: relative;
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.reason:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.reason__num {
  flex: none;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1;
}
.reason h3 {
  font-size: 1.0625rem;
  text-transform: uppercase;
  letter-spacing: .01em;
  margin-bottom: .3rem;
}
.reason p { font-size: .9688rem; }

/* =========================================================
   Leistungen / Feature-Kacheln
   ========================================================= */
.features-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.features-head .section-intro { margin-bottom: 0; }

.service-badge {
  flex: none;
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  line-height: 1.25;
  font-size: .9375rem;
  transform: rotate(-12deg);
  box-shadow: 0 18px 40px rgba(243, 110, 34, .35);
}

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(.875rem, 1.6vw, 1.25rem);
}
@media (min-width: 30rem) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 56rem) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  min-height: 190px;
  padding: 1.75rem 1.25rem;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-600) 100%);
  color: #fff;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(34, 60, 123, .32);
}
.feature svg {
  width: 44px;
  height: 44px;
  color: #fff;
  stroke-width: 1.5;
}
.feature h3 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

/* =========================================================
   CTA
   ========================================================= */
.cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 55%, var(--navy-800) 100%);
  color: rgba(255, 255, 255, .85);
}
.cta::after {
  content: '';
  position: absolute;
  right: -12%;
  top: -60%;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 110, 34, .35) 0%, rgba(243, 110, 34, 0) 68%);
  pointer-events: none;
}
.cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.cta h2 {
  color: #fff;
  font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.6rem);
  text-transform: uppercase;
}
.cta .lead { color: rgba(255, 255, 255, .85); }

.contact-card {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: grid;
  gap: 1rem;
}
.contact-card a {
  display: flex;
  align-items: center;
  gap: .9rem;
  color: #fff;
  font-weight: 600;
  font-size: 1.0625rem;
  word-break: break-word;
}
.contact-card a:hover { color: var(--orange); }
.contact-card svg {
  width: 40px;
  height: 40px;
  flex: none;
  padding: 9px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  stroke-width: 2;
}

@media (max-width: 900px) {
  .cta__inner { grid-template-columns: 1fr; }
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--navy-800);
  color: rgba(255, 255, 255, .62);
  padding-block: clamp(3rem, 6vw, 4.5rem) 0;
  font-size: .9375rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 3rem;
}
.site-footer h3 {
  color: #fff;
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer__brand img { width: 190px; margin-bottom: 1.25rem; }
.site-footer address { font-style: normal; line-height: 1.8; }
.site-footer a { color: rgba(255, 255, 255, .8); }
.site-footer a:hover { color: var(--orange); }
.footer__links { display: grid; gap: .65rem; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-block: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.75rem;
  align-items: center;
  justify-content: space-between;
  font-size: .875rem;
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; }

@media (max-width: 760px) {
  .footer__grid { grid-template-columns: 1fr; gap: 2.25rem; }
}

/* =========================================================
   Legal-Seiten (Impressum / Datenschutz)
   ========================================================= */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%);
  color: rgba(255, 255, 255, .8);
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem));
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.page-header h1 {
  color: #fff;
  font-size: clamp(1.9rem, 1.2rem + 3vw, 3rem);
  text-transform: uppercase;
  margin-bottom: .35em;
}
.page-header p { max-width: 60ch; }

.legal { max-width: 780px; }
.legal h2 {
  font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem);
  text-transform: uppercase;
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 2px solid var(--line);
}
.legal > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal h3 {
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  margin-top: 2.25rem;
}
.legal h4 {
  font-size: 1rem;
  color: var(--navy);
  margin-top: 1.75rem;
  margin-bottom: .4em;
}
.legal ul {
  list-style: disc;
  padding-left: 1.35rem;
  margin: 0 0 1.1em;
}
.legal li { margin-bottom: .65rem; }
.legal a { text-decoration: underline; text-underline-offset: .18em; overflow-wrap: anywhere; }

.legal-caps {
  background: var(--bg-soft);
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  font-size: .9375rem;
}
.legal-source {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: .875rem;
  color: var(--muted);
}

/* =========================================================
   Reveal-Animationen
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

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

/* Anker unter dem fixierten Header */
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ---------- Print ---------- */
@media print {
  .site-header, .nav-toggle, .btn, .cta::after { display: none !important; }
  body { color: #000; }
  .hero, .section--navy, .cta, .site-footer { background: none !important; color: #000 !important; }
}
