/* =====================================================================
   IMPULSE plus – Seminare · Coaching · Mediation
   Relaunch 2026 · Onepager
   Gehring:Frank · Büro für Grafik, Layout & Produktion
   --------------------------------------------------------------------
   Keine Frameworks, keine externen Schriften (DSGVO), keine Tracker.
   ===================================================================== */

/* ---------- 1. Design-Tokens ---------- */
:root {
  /* Blau – aus dem Logo (#31478F) abgeleitet */
  --blau-900: #16203D;
  --blau-800: #1D2B53;
  --blau-700: #24356B;
  --blau-600: #31478F;   /* Logo-Blau */
  --blau-400: #6479B9;
  --blau-100: #DDE3F1;

  /* Beige / Sand */
  --sand-50:  #F6EBC6;
  --sand-100: #F1E2B4;
  --sand-200: #F0E3BF;
  --sand-300: #E2CE9E;

  /* Akzente aus dem Logo */
  --gold:      #C39400;   /* Flächen, Buttons, Linien */
  --gold-text: #7E6000;   /* Gold als Textfarbe – AA-sicher auch auf dem satteren Gelb */
  --gold-hell: #DAB500;   /* Gold auf dunklem Grund */
  --gruen:     #006216;
  --rot:       #A32B14;

  /* Text */
  --text:   #22262F;
  --text-2: #545B69;
  --weiss:  #FFFFFF;

  /* Hero: klareres, satteres Blau als die übrigen dunklen Flächen –
     das Logistikmotiv soll darunter kühl wirken, nicht grau */
  --hero-dunkel: #0A1E4B;
  --hero-blau:   #0E2866;

  /* Flächen */
  --bg:      #FAF2D6;   /* helle Sektionen – auf Kundenwunsch satter im Gelb */
  --bg-alt:  var(--sand-50);
  --linie:   #E6D7AF;

  /* Typografie */
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --fs-hero:  clamp(1.95rem, 1.2rem + 2.9vw, 3.5rem);
  --fs-h2:    clamp(1.65rem, 1.2rem + 1.8vw, 2.5rem);
  --fs-h3:    clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
  --fs-lead:  clamp(1.05rem, 1rem + 0.45vw, 1.3rem);
  --fs-body:  1.0625rem;

  /* Maße */
  --wrap: 1200px;
  --wrap-schmal: 760px;
  --radius: 14px;
  --radius-s: 8px;
  --header-h: 112px;      /* Höhe der Kopfleiste */
  --header-h-klein: 92px; /* Höhe nach dem Scrollen – Basis für die Sprungmarken */
  --logo-luft: 16px;      /* Abstand Logo zu Ober-/Unterkante */
  --schatten: 0 3px 10px rgba(22, 32, 61, .10), 0 18px 44px rgba(22, 32, 61, .15);
  --schatten-s: 0 2px 6px rgba(22, 32, 61, .09), 0 10px 26px rgba(22, 32, 61, .11);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Reset / Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.18;
  color: var(--blau-800);
  margin: 0 0 .6em;
  letter-spacing: -.015em;
  text-wrap: balance;
}

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

a { color: var(--blau-600); }
a:hover { color: var(--blau-700); }

ul { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: .35em; }

strong { color: var(--blau-800); }

/* Sichtbarer, kräftiger Fokus für Tastaturbedienung */
:focus-visible {
  outline: 3px solid var(--blau-700);
  outline-offset: 3px;
  border-radius: 3px;
}
/* Auf dunklem Grund heller Fokusring */
.hero :focus-visible,
.sektion--blau :focus-visible,
.seitenkopf :focus-visible,
.footer :focus-visible,
.motto :focus-visible { outline-color: var(--gold-hell); }

::selection { background: var(--blau-100); color: var(--blau-800); }

/* ---------- 3. Hilfsklassen ---------- */
.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}
.wrap--schmal { width: min(100% - 2.5rem, var(--wrap-schmal)); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--blau-700); color: var(--weiss);
  padding: .75rem 1.25rem; border-radius: 0 0 var(--radius-s) var(--radius-s);
  font-weight: 600; text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; color: var(--weiss); }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .9rem 1.6rem;
  border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  border: 2px solid transparent;
  transition: transform .2s var(--ease), background-color .2s var(--ease),
              color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

.btn--primaer {
  background: var(--gold);
  color: var(--blau-900);
  box-shadow: 0 6px 18px rgba(195, 148, 0, .3);
}
.btn--primaer:hover, .btn--primaer:focus-visible {
  background: var(--gold-hell); color: var(--blau-900);
  transform: translateY(-2px);
}

.btn--blau {
  background: var(--blau-600); color: var(--weiss);
  box-shadow: 0 6px 18px rgba(49, 71, 143, .28);
}
.btn--blau:hover, .btn--blau:focus-visible {
  background: var(--blau-700); color: var(--weiss); transform: translateY(-2px);
}

.btn--outline {
  border-color: rgba(255, 255, 255, .7); color: var(--weiss);
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(4px);
}
.btn--outline:hover, .btn--outline:focus-visible {
  background: var(--weiss); color: var(--blau-800); border-color: var(--weiss);
  transform: translateY(-2px);
}

.btn--gross { padding: 1.05rem 2rem; font-size: 1.05rem; }

/* ---------- 5. Header / Navigation ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--weiss);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease), background-color .25s var(--ease);
}
.header.ist-gescrollt {
  box-shadow: 0 1px 0 rgba(22, 32, 61, .06), 0 10px 30px rgba(22, 32, 61, .07);
  border-bottom-color: var(--linie);
}

.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
  transition: height .25s var(--ease);
}

/* Beim Scrollen wird die Leiste – und damit das Logo – etwas kompakter */
.header.ist-gescrollt { --header-h: 92px; }

.header__logo { display: block; flex: none; }
.header__logo img {
  height: calc(var(--header-h) - var(--logo-luft));
  width: auto;
  transition: height .25s var(--ease);
}

.nav { display: flex; align-items: center; gap: .15rem; }
.nav__link {
  position: relative;
  padding: .55rem .85rem;
  font-size: .97rem; font-weight: 600;
  color: var(--blau-800); text-decoration: none;
  border-radius: var(--radius-s);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .3rem;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; border-radius: 2px;
  transition: transform .25s var(--ease);
}
.nav__link:hover { color: var(--blau-600); background: var(--sand-50); }
.nav__link.ist-aktiv { color: var(--blau-600); }
.nav__link.ist-aktiv::after { transform: scaleX(1); }

.nav__cta {
  margin-left: .75rem; padding: .65rem 1.25rem; font-size: .95rem;
  white-space: nowrap;
}
@media (max-width: 1150px) and (min-width: 961px) {
  .nav__link { padding: .55rem .6rem; font-size: .92rem; }
  .nav__link::after { left: .6rem; right: .6rem; }
  .nav__cta { margin-left: .4rem; padding: .6rem 1rem; }
}

/* Burger */
.burger {
  display: none;
  width: 48px; height: 48px;
  border: 1px solid var(--linie); background: var(--weiss);
  border-radius: var(--radius-s); cursor: pointer;
  padding: 0;
  align-content: center; justify-items: center;
  gap: 5px;
}
.burger span {
  display: block; width: 22px; height: 2px; background: var(--blau-800);
  border-radius: 2px; margin: 0;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.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: 960px) {
  :root { --header-h: 88px; --header-h-klein: 76px; --logo-luft: 28px; }
  .header.ist-gescrollt { --header-h: 76px; }
  .burger { display: grid; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--weiss);
    border-bottom: 1px solid var(--linie);
    box-shadow: var(--schatten);
    padding: .75rem 1.25rem 1.5rem;
    max-height: 72dvh;
    overflow-y: auto;
    transform: translateY(-14px); opacity: 0; visibility: hidden;
    transition: transform .25s var(--ease), opacity .25s var(--ease), visibility .25s;
  }
  .nav.ist-offen { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav__link { padding: .95rem .5rem; font-size: 1.05rem; border-bottom: 1px solid var(--sand-100); border-radius: 0; }
  .nav__link::after { display: none; }
  .nav__link.ist-aktiv { background: var(--sand-50); }
  .nav__cta { margin: 1rem .5rem 0; justify-content: center; }
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(520px, 78vh, 760px);
  display: grid; align-items: center;
  isolation: isolate;
  background: var(--hero-blau);
  overflow: hidden;
}
.hero__bild {
  position: absolute; inset: 0; z-index: -2;
  overflow: hidden;
}
/* picture ist von Haus aus inline und gibt die Höhe nicht weiter –
   sonst rechnet das Bild seine 100 % gegen eine unbekannte Höhe */
.hero__bild picture { display: block; width: 100%; height: 100%; }
.hero__bild img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 62% center;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(105deg, rgba(10, 30, 75, .88) 0%, rgba(14, 40, 102, .70) 40%,
                    rgba(14, 40, 102, .26) 66%, rgba(14, 40, 102, .08) 100%);
}
.hero__inner { padding: clamp(4rem, 10vw, 7rem) 0; max-width: 42rem; }

.hero__kicker {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-hell);
  margin-bottom: 1.4rem;
}
.hero__kicker::before {
  content: ""; width: 34px; height: 2px; background: var(--gold-hell); border-radius: 2px;
}

.hero h1 {
  font-size: var(--fs-hero);
  color: var(--weiss);
  margin-bottom: .4em;
  letter-spacing: -.025em;
}
.hero h1 em { font-style: normal; color: var(--gold-hell); }

/* Zweite Zeile der Hauptüberschrift – trägt die Suchbegriffe mit */
.hero__deck {
  display: block;
  font-size: clamp(1.1rem, .95rem + .9vw, 1.65rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: rgba(255, 255, 255, .88);
  margin-top: .5em;
}

/* Leitsatz unter der Überschrift */
.hero__motto {
  font-size: clamp(1rem, .95rem + .45vw, 1.2rem);
  font-style: italic;
  line-height: 1.45;
  /* helles Gold: der Hero-Verlauf ist jetzt heller, kräftiges Gold
     käme auf dem Bild nicht mehr auf die nötigen 4,5:1 */
  color: #F7E7B0;
  border-left: 2px solid var(--gold-hell);
  padding-left: 1rem;
  margin: 0 0 1.5rem;
  max-width: 30rem;
}

.hero__lead {
  font-size: var(--fs-lead);
  color: rgba(255, 255, 255, .9);
  max-width: 34rem;
  margin-bottom: 2.2rem;
}

.hero__aktionen { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero__marken {
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem;
  margin-top: 2.8rem; padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, .28);
  font-size: 1.12rem; font-weight: 600; letter-spacing: .01em;
  color: var(--weiss);
}
.hero__marken span { display: inline-flex; align-items: center; gap: .6rem; }
.hero__marken span::before {
  content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--gold-hell);
}
.hero__marken span:nth-child(2)::before { background: var(--gruen); }
.hero__marken span:nth-child(3)::before { background: var(--rot); }

/* Auf schmalen Displays steht das Bild als eigener Streifen über dem Text.
   So bleibt das Motiv gut sichtbar und der Text liegt auf ruhigem Blau,
   statt beides übereinanderzulegen. */
@media (max-width: 760px) {
  .hero {
    display: block; min-height: auto;
    background: var(--hero-blau);
  }
  .hero__bild {
    position: relative; z-index: 0;
    height: clamp(210px, 54vw, 300px);
  }
  .hero__bild img { object-position: 64% 58%; }
  .hero::after {
    inset: 0 0 auto 0; z-index: 1;
    height: clamp(210px, 54vw, 300px);
    background:
      linear-gradient(180deg, rgba(10, 30, 75, .15) 0%, rgba(10, 30, 75, .08) 40%,
                      rgba(14, 40, 102, .32) 66%, rgba(14, 40, 102, .82) 88%,
                      var(--hero-blau) 100%);
  }
  .hero .wrap { position: relative; z-index: 2; }
  .hero__inner { padding: 2.25rem 0 3.25rem; }
  .hero__kicker { font-size: .68rem; letter-spacing: .09em; gap: .55rem; }
  .hero__kicker::before { width: 24px; }
  .hero__aktionen .btn { width: 100%; justify-content: center; }
}


/* ---------- 7. Sektionen ---------- */
.sektion { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.sektion--sand { background: var(--sand-50); }
.sektion--sand-kraeftig { background: var(--sand-100); }
.sektion--blau { background: var(--blau-700); color: rgba(255, 255, 255, .88); }
.sektion--blau h2, .sektion--blau h3 { color: var(--weiss); }
.sektion--blau strong, .seitenkopf strong { color: var(--weiss); }

/* Beim Sprung ist die Kopfleiste immer schon geschrumpft – deshalb die
   kleine Höhe als Basis, sonst bleibt ein Streifen der vorigen Sektion stehen */
[id] { scroll-margin-top: calc(var(--header-h-klein) - 1px); }

.sektion__kopf { max-width: 44rem; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.sektion__kopf--zentriert { margin-inline: auto; text-align: center; }

.kicker {
  display: block;
  font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-text); margin-bottom: .9rem;
}
.sektion--blau .kicker { color: var(--gold-hell); }

.sektion__kopf h2 { font-size: var(--fs-h2); margin-bottom: .45em; }

.lead { font-size: var(--fs-lead); color: var(--text-2); line-height: 1.6; }
.sektion--blau .lead { color: rgba(255, 255, 255, .82); }

/* ---------- 8. Kurzportrait ---------- */
.portrait {
  display: grid; gap: clamp(2.5rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
}
@media (max-width: 860px) { .portrait { grid-template-columns: 1fr; } }

.portrait__figur { position: relative; }
.portrait__figur img,
.portrait__platzhalter {
  width: 100%; border-radius: var(--radius);
  box-shadow: var(--schatten);
}
.portrait__platzhalter {
  aspect-ratio: 4 / 5;
  display: grid; place-content: center; text-align: center; gap: .6rem;
  padding: 2rem;
  background:
    repeating-linear-gradient(135deg, var(--sand-100) 0 14px, var(--sand-200) 14px 28px);
  color: var(--blau-700); font-size: .92rem; font-weight: 600;
}
.portrait__platzhalter svg { width: 46px; height: 46px; margin-inline: auto; opacity: .5; }

.portrait__figur figcaption {
  margin-top: 1rem; font-size: .92rem; color: var(--text-2); text-align: center;
}

.portrait__inhalt h2 { font-size: var(--fs-h2); }
.portrait__rolle {
  font-size: var(--fs-lead); color: var(--gold-text);
  font-weight: 600; margin-bottom: 1.5rem;
}

.daten { display: grid; gap: 1.75rem; margin-top: 2.25rem; }
@media (min-width: 620px) { .daten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.daten__block h3 {
  font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-2); margin-bottom: .8rem;
  padding-bottom: .6rem; border-bottom: 1px solid var(--linie);
}
.daten__block ul { list-style: none; padding: 0; margin: 0; }
.daten__block li {
  position: relative; padding-left: 1.4rem; margin-bottom: .5rem;
  font-size: .98rem;
}
.daten__block li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--blau-400);
}
.daten__block p { font-size: .98rem; }

/* ---------- 9. Werte / Selbstverständnis ---------- */
.werte {
  display: flex; flex-wrap: wrap; gap: .7rem;
  margin: 0 0 3rem; padding: 0; list-style: none;
}
.werte li {
  margin: 0;
  background: var(--weiss);
  border: 1px solid var(--sand-200);
  border-radius: 999px;
  padding: .6rem 1.25rem;
  font-weight: 600; font-size: .97rem; color: var(--blau-700);
  box-shadow: 0 1px 2px rgba(22, 32, 61, .04);
  transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.werte li:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: var(--schatten-s);
}

.besonders {
  display: grid;
  /* Auf Kundenwunsch stehen die drei Boxen immer nebeneinander,
     kein 2+1-Umbruch. Erst unter 860 px untereinander. */
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.1rem, 2vw, 2rem);
}
@media (max-width: 860px) {
  .besonders { grid-template-columns: 1fr; }
}
.besonders__karte {
  display: flex; flex-direction: column;
  background: var(--weiss);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius);
  /* mitwachsendes Innenmaß: bei drei schmalen Spalten bleibt mehr
     Platz für den Text */
  padding: clamp(1.3rem, 2.2vw, 2rem);
  box-shadow: var(--schatten-s);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              border-color .25s var(--ease);
}
.besonders__karte:hover {
  transform: translateY(-4px);
  box-shadow: var(--schatten);
  border-color: var(--sand-300);
}
/* zwei Zeilen Platz, damit der Fließtext in allen drei Boxen
   auf derselben Höhe beginnt */
.besonders__karte h3 {
  font-size: var(--fs-h3); margin-bottom: .8rem;
  min-height: calc(2 * 1.18em);
}
/* pretty verhindert einzelne Schlusszeilen mit nur einem Wort */
.besonders__karte p { color: var(--text-2); margin: 0; text-wrap: pretty; }

/* Motto / Zitat */
.motto {
  position: relative;
  margin: clamp(3rem, 6vw, 4.5rem) auto 0;
  max-width: 46rem; text-align: center;
  padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3rem);
  background: var(--blau-800);
  border-radius: var(--radius);
  color: var(--weiss);
  overflow: hidden;
}
.motto::before {
  content: "„";
  position: absolute; top: -.25em; left: .1em;
  font-size: 9rem; line-height: 1; color: rgba(218, 181, 0, .22);
  font-family: Georgia, "Times New Roman", serif;
}
.motto p {
  position: relative;
  font-size: clamp(1.2rem, 1rem + 1vw, 1.65rem);
  line-height: 1.45; font-weight: 600; margin: 0 0 1rem;
  text-wrap: balance;
}
.motto cite {
  font-style: normal; font-size: .9rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold-hell); font-weight: 700;
}

/* ---------- 10. Seminare (Karten) ---------- */
.karten {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
}
.karte {
  display: flex; flex-direction: column;
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--schatten-s);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.karte:hover {
  transform: translateY(-4px);
  box-shadow: var(--schatten);
  border-color: var(--sand-300);
}
.karte__icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--blau-100); color: var(--blau-600);
  margin-bottom: 1.35rem; flex: none;
}
.karte__icon svg { width: 26px; height: 26px; }
.karte h3 { font-size: var(--fs-h3); margin-bottom: .6rem; }
.karte ul { list-style: none; padding: 0; margin: 0; }
.karte li {
  position: relative; padding-left: 1.5rem; margin-bottom: .55rem;
  font-size: .98rem; color: var(--text-2);
}
.karte li:last-child { margin-bottom: 0; }
.karte li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--gold); transform: rotate(45deg);
}

.hinweis {
  margin-top: 2.5rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  background: var(--blau-100);
  border-left: 4px solid var(--blau-600);
  border-radius: var(--radius-s);
  padding: 1.4rem 1.75rem;
}
.hinweis p { margin: 0; font-weight: 600; color: var(--blau-800); }

/* ---------- 11. Leistungs-Blöcke (Coaching / Mediation) ---------- */
.block {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  align-items: center;
}
.block + .block { margin-top: clamp(3.5rem, 7vw, 6rem); }
.block--gedreht > :first-child { order: 2; }
@media (max-width: 800px) { .block--gedreht > :first-child { order: 0; } }

.block__inhalt h2 { font-size: var(--fs-h2); }
.block__inhalt .lead { margin-bottom: 1.5rem; }

.block__punkte { list-style: none; padding: 0; margin: 1.5rem 0 2rem; }
.block__punkte li {
  position: relative; padding-left: 2rem; margin-bottom: .8rem;
  color: var(--text-2);
}
.block__punkte li::before {
  content: ""; position: absolute; left: 0; top: .35em;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--blau-100);
}
.block__punkte li::after {
  content: ""; position: absolute; left: 6px; top: .72em;
  width: 8px; height: 4px;
  border-left: 2px solid var(--blau-600); border-bottom: 2px solid var(--blau-600);
  transform: rotate(-45deg);
}

.block__visual {
  position: relative;
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3rem);
  background: linear-gradient(140deg, var(--sand-100), var(--sand-200));
  min-height: 260px;
  display: grid; align-content: center; gap: 1.25rem;
}
.sektion--sand .block__visual {
  background: linear-gradient(140deg, var(--weiss), var(--sand-100));
  border: 1px solid var(--sand-200);
}
.block__visual .kennzahl {
  font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem);
  font-weight: 700; line-height: 1; color: var(--blau-700);
  letter-spacing: -.03em;
}
.block__visual .kennzahl span {
  display: block; font-size: .95rem; font-weight: 600; letter-spacing: 0;
  color: var(--text-2); margin-top: .5rem;
}
.block__visual hr { border: 0; border-top: 1px solid var(--sand-300); margin: 0; }

/* ---------- 12. Kontakt ---------- */
.kontakt { display: grid; gap: clamp(2.5rem, 5vw, 4rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }

.kontakt__karte {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 2.5rem);
}
.kontakt__karte h3 { font-size: var(--fs-h3); margin-bottom: 1rem; }

.kontakt__liste { list-style: none; padding: 0; margin: 0 0 2rem; }
.kontakt__liste li {
  display: flex; gap: 1rem; align-items: flex-start;
  margin-bottom: 1rem; line-height: 1.55;
}
.kontakt__liste svg {
  width: 20px; height: 20px; flex: none; margin-top: .28em; color: var(--gold-hell);
}
.kontakt__liste a { color: var(--weiss); text-decoration: underline; text-underline-offset: 3px; }
.kontakt__liste a:hover { color: var(--gold-hell); }

.mail-hinweis { font-size: .9rem; color: rgba(255, 255, 255, .65); margin-top: 1rem; }

/* ---------- 13. Footer ---------- */
.footer {
  /* eine Spur über blau-900, damit der Abschluss nicht zufällt –
     bleibt aber klar dunkler als der Kontaktbereich darüber */
  background: #1B2848;
  color: rgba(255, 255, 255, .7);
  padding: 3rem 0 2.25rem;
  font-size: .93rem;
}
.footer__inner {
  display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem;
  align-items: center; justify-content: space-between;
}
.footer__logo img { width: 200px; }
.footer nav { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
.footer a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.footer a:hover { color: var(--gold-hell); text-decoration: underline; text-underline-offset: 3px; }
.footer__copy {
  margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
  font-size: .86rem; color: rgba(255, 255, 255, .55);
}

/* Nach-oben-Button */
.nach-oben {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blau-600); color: var(--weiss);
  border: 0; cursor: pointer;
  box-shadow: var(--schatten);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s, background-color .2s var(--ease);
}
.nach-oben.ist-sichtbar { opacity: 1; visibility: visible; transform: translateY(0); }
.nach-oben:hover { background: var(--blau-700); }
.nach-oben svg { width: 20px; height: 20px; }

/* ---------- 14. Rechtstext-Unterseiten ---------- */
.seitenkopf {
  background: var(--blau-800);
  color: rgba(255, 255, 255, .85);
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 6vw, 4rem);
}
.seitenkopf h1 { color: var(--weiss); font-size: var(--fs-h2); margin-bottom: .3em; }
.seitenkopf p { margin: 0; color: rgba(255, 255, 255, .75); }

.zurueck {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--gold-hell); text-decoration: none; font-weight: 600;
  font-size: .95rem; margin-bottom: 1.5rem;
}
.zurueck:hover { color: var(--weiss); }
.zurueck svg { width: 1em; height: 1em; }

.rechtstext { padding: clamp(3rem, 6vw, 4.5rem) 0; font-size: 1rem; }
.rechtstext h2 {
  font-size: 1.35rem; margin-top: 2.5rem;
  padding-bottom: .5rem; border-bottom: 1px solid var(--linie);
}
.rechtstext h2:first-of-type { margin-top: 0; }
.rechtstext h3 { font-size: 1.08rem; margin-top: 1.75rem; }
.rechtstext h4 {
  font-size: 1rem; font-weight: 600; color: var(--blau-700);
  margin: 1.5rem 0 .4rem;
}
.rechtstext p, .rechtstext li { color: var(--text-2); }
.rechtstext a { word-break: break-word; }

.platzhalter-box {
  background: var(--sand-50);
  border: 1px dashed var(--sand-300);
  border-radius: var(--radius-s);
  padding: 1.5rem;
  margin: 1.5rem 0;
  font-size: .95rem; color: var(--text-2);
}
.platzhalter-box strong { display: block; margin-bottom: .4rem; color: var(--blau-700); }

/* ---------- 15. Animation beim Scrollen ---------- */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.ist-sichtbar { opacity: 1; transform: none; }

/* Kartenreihen laufen versetzt ein, statt alle gleichzeitig */
.karten .reveal:nth-child(2),
.besonders .reveal:nth-child(2) { transition-delay: .1s; }
.karten .reveal:nth-child(3),
.besonders .reveal:nth-child(3) { transition-delay: .2s; }
.karten .reveal:nth-child(4) { transition-delay: .3s; }
.karten .reveal:nth-child(5) { transition-delay: .4s; }
.karten .reveal:nth-child(6) { transition-delay: .5s; }

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

/* ---------- 16. Druck ---------- */
@media print {
  .header, .nach-oben, .hero__aktionen, .btn { display: none !important; }
  body { color: #000; font-size: 11pt; }
  .hero::after, .hero__bild { display: none; }
  .hero { background: none; min-height: auto; }
  .hero h1, .hero__lead { color: #000; }
  .sektion { padding: 1.5rem 0; page-break-inside: avoid; }
  .sektion--blau { background: none; color: #000; }
  .sektion--blau h2, .sektion--blau h3 { color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
}
