/* oprimo.eu – Designsystem v2 („Klarer Blick")
   Mobile-first. Grundsätze: siehe OPRIMO-STAMMDATEN.md → „Grundsätze für alle Homepages".
   Bild neben Text: Die Bildspalte streckt sich auf die Höhe des Textblocks (.split / .split__media). */

@font-face { font-family: "Red Hat Display"; src: url("fonts/red-hat-display-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Red Hat Display"; src: url("fonts/red-hat-display-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Red Hat Display"; src: url("fonts/red-hat-display-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --petrol: #53858f;       /* OPRIMO-Primärfarbe */
  --petrol-dk: #34626b;    /* Text, Buttons, Flächen mit weißer Schrift (Kontrast 6,8:1) */
  --petrol-lt: #e4f0f2;    /* helle Petrol-Fläche */
  --petrol-md: #c9dfe3;
  --sand: #f6efe6;         /* warmer Akzent, sparsam */
  --ink: #16282b;
  --muted: #4f6366;
  --bg: #ffffff;
  --soft: #f4f8f8;
  --line: #d7e3e5;
  --display: "Red Hat Display", "Segoe UI", system-ui, sans-serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --r: 16px;
  --r-sm: 10px;
  --wrap: 75rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --space: clamp(2.5rem, 5.5vw, 4.25rem);
  --shadow: 0 18px 40px -24px rgba(22, 40, 43, .35);
  color-scheme: light;
}

/* Grundlagen */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hh, 6rem) + 3.5rem); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--body); overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--petrol-dk); text-underline-offset: .18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--petrol); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -.015em; margin: 0; text-wrap: balance; hyphens: manual; }
h1 { font-weight: 700; font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.5rem); }
h2 { font-weight: 700; font-size: clamp(1.65rem, 1.2rem + 1.8vw, 2.5rem); }
h3 { font-weight: 600; font-size: 1.25rem; }
p { margin: 0; max-width: 66ch; }
ul, ol { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.stack { display: grid; gap: 1rem; align-content: start; min-width: 0; }
.kicker { display: inline-flex; align-items: center; gap: .6rem; font: 600 .8rem/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--petrol-dk); }
.kicker::before { content: ""; flex: none; width: 3px; height: 1.1em; background: var(--petrol); border-radius: 2px; }
.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.55; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; } .skip:focus { left: 1rem; top: 1rem; z-index: 99; background: #fff; padding: .6rem 1rem; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.9rem; padding: .7rem 1.35rem; border-radius: 999px; border: 2px solid var(--petrol-dk); font: 600 1rem/1.2 var(--body); text-decoration: none; text-align: center; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--petrol-dk); color: #fff; }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--petrol-dk); }
.btn-ghost:hover { background: var(--petrol-lt); color: var(--ink); }
.btn .ext { font-size: .85em; }
@media (max-width: 30rem) { .actions .btn { flex: 1 1 100%; } }

/* Kopf: Logo über zwei Zeilen, oben Kontakt, darunter Menü */
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header__grid { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "brand top" "brand nav"; column-gap: 2rem; align-items: center; padding-block: .6rem; }
.brand { grid-area: brand; color: var(--petrol); line-height: 0; }
.brand svg { width: clamp(150px, 22vw, 240px); height: auto; }
.header__top { grid-area: top; position: relative; display: flex; justify-content: flex-end; align-items: center; gap: .4rem 1.4rem; padding-bottom: .35rem; }
.header__top::after { content: ""; position: absolute; right: 0; bottom: 0; width: min(100%, 44rem); height: 1px; background: linear-gradient(to left, var(--petrol) 0%, var(--petrol-md) 45%, transparent 100%); }
.header__link { display: inline-flex; align-items: center; gap: .4rem; font: 600 .86rem/1 var(--body); color: var(--muted); text-decoration: none; white-space: nowrap; padding-block: .3rem; }
.header__link:hover { color: var(--petrol-dk); }
.header__link .ico { width: .95rem; height: .95rem; color: var(--petrol); }
.header__cta { color: var(--petrol-dk); }
.header__cta:hover { color: var(--ink); }
.nav { grid-area: nav; justify-self: end; padding-top: .4rem; }
.nav ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.8rem; }
.nav a { display: inline-block; padding-block: .45rem; font: 600 1.08rem/1.2 var(--display); color: var(--ink); text-decoration: none; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--petrol-dk); }
.nav a[aria-current="page"] { color: var(--petrol-dk); border-bottom-color: var(--petrol); }
.menu-btn { display: none; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 1.2rem; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 70rem) { .header__mail { display: none; } }
@media (max-width: 52rem) {
  .header__grid { grid-template-areas: "brand top" "nav nav"; column-gap: .75rem; }
  .header__top { padding-bottom: 0; gap: .5rem; }
  .header__top::after { display: none; }
  .header__link span { display: none; }
  .header__link { width: 2.75rem; height: 2.75rem; justify-content: center; border: 1px solid var(--line); border-radius: 12px; }
  .js .menu-btn { display: inline-flex; }
  .nav { justify-self: stretch; padding-top: 0; }
  .js .nav:not(.open) { display: none; }
  .nav ul { flex-direction: column; gap: 0; padding-block: .5rem; }
  .nav li + li { border-top: 1px solid var(--line); }
  .nav a { display: block; padding-block: .8rem; border: 0; font-size: 1.1rem; }
}
@media (max-width: 30rem) { .brand svg { width: 150px; } }

/* Abschnitte */
.section { padding-block: var(--space); }
.section--soft { background: var(--soft); }
.section--tint { background: var(--petrol-lt); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.head { display: grid; gap: .8rem; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.head p { max-width: 58rem; }

/* Bild + Text: Bildhöhe = Texthöhe.
   Mobil: Überschrift → Bild als flaches Band → Text. Ab 56rem: Text links (Kopf + Inhalt), Bild rechts über beide Zeilen. */
.split { display: grid; gap: 1.1rem; }
.split > * { min-width: 0; }
.split__head, .split__body { display: grid; gap: 1rem; align-content: start; }
.split__media { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--petrol-lt); }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__media--top img { object-position: 50% 22%; }
@media (min-width: 56rem) {
  .split { grid-template-columns: 1fr 1fr; grid-template-areas: "head media" "body media"; grid-template-rows: auto 1fr; column-gap: clamp(2rem, 4vw, 3.5rem); row-gap: 1.1rem; }
  .split--flip { grid-template-areas: "media head" "media body"; }
  .split__head { grid-area: head; } .split__body { grid-area: body; } .split__media { grid-area: media; aspect-ratio: auto; min-height: 18rem; }
}

/* Hero */
.hero { padding-block: clamp(2rem, 5vw, 4rem) clamp(2.5rem, 6vw, 4.5rem); background: linear-gradient(180deg, var(--petrol-lt) 0%, var(--bg) 85%); }
.hero .split__body { gap: 1.25rem; }
.hero h1 em { font-style: normal; color: var(--petrol); }
.hero-meta { list-style: none; padding: 0; display: grid; gap: .45rem; font-size: 1rem; color: var(--ink); }
.hero-meta li { display: flex; align-items: center; gap: .6rem; }
.hero-meta .ico { width: 1.2rem; height: 1.2rem; color: var(--petrol); }
.hero-meta a { color: var(--ink); text-decoration-color: var(--petrol-md); }
.hero-meta a:hover { color: var(--petrol-dk); }
.hero-meta .star { color: #b7832f; }
.rating { display: inline-grid; grid-template-columns: auto auto; gap: .1rem 1rem; align-items: center; justify-self: start; padding: .8rem 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); text-decoration: none; color: var(--ink); }
.rating:hover { border-color: var(--petrol); color: var(--ink); }
.rating .lbl { grid-column: 1 / -1; font: 600 .76rem/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--petrol-dk); }
.rating .score { font: 700 1.9rem/1 var(--display); color: var(--petrol-dk); font-variant-numeric: tabular-nums; }
.rating .score small { font-size: .5em; color: var(--muted); font-weight: 600; }
.rating .stars { color: #b7832f; letter-spacing: .1em; }
.rating .src { font-size: .9rem; color: var(--muted); }
.rating-link { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); font-size: .95rem; }
.rating-link .score { font: 700 1.5rem/1 var(--display); color: var(--petrol-dk); font-variant-numeric: tabular-nums; }
.rating-link .stars { color: #b7832f; letter-spacing: .08em; }
.rating-link:hover { color: var(--petrol-dk); }
.breadcrumb { font-size: .9rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.breadcrumb li + li::before { content: "›"; margin-right: .3rem; }

/* Auf einen Blick (Antwort zuerst) */

/* Icons */
.ico { width: 1.25rem; height: 1.25rem; flex: none; }
.ico-badge { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 14px; background: var(--petrol-lt); color: var(--petrol-dk); }
.ico-badge .ico { width: 1.55rem; height: 1.55rem; }

/* Faktenleiste */
.facts { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: clamp(2rem, 4vw, 3rem); }
.facts li { background: #fff; padding: 1.1rem 1.25rem; display: grid; gap: .15rem; align-content: start; }
.facts strong { font: 700 1.1rem/1.25 var(--display); }
.facts span { font-size: .93rem; color: var(--muted); }

/* Themenfinder (Tabs) */
.finder__tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.finder__tabs button { display: inline-flex; align-items: center; gap: .5rem; cursor: pointer; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: .6rem 1rem; min-height: 2.75rem; font: 600 .98rem/1.2 var(--display); transition: background .15s, border-color .15s, color .15s; }
.finder__tabs button .ico { color: var(--petrol); width: 1.15rem; height: 1.15rem; }
.finder__tabs button:hover { border-color: var(--petrol); }
.finder__tabs button[aria-selected="true"] { background: var(--petrol-dk); border-color: var(--petrol-dk); color: #fff; }
.finder__tabs button[aria-selected="true"] .ico { color: #fff; }
@media (max-width: 34rem) { .finder__tabs { display: grid; grid-template-columns: 1fr 1fr; } .finder__tabs button { border-radius: 12px; justify-content: flex-start; font-size: .92rem; padding: .6rem .75rem; } }
.finder__panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1rem, 2.5vw, 1.5rem); }
.finder__panel .split__media { border-radius: var(--r-sm); }
.topics { list-style: none; padding: 0; display: grid; gap: .5rem; }
.topics a { display: grid; grid-template-columns: 7.2rem 1fr auto; gap: .75rem; align-items: baseline; padding: .75rem .9rem; border-radius: var(--r-sm); background: var(--soft); color: var(--ink); text-decoration: none; }
.topics a:hover { background: var(--petrol-lt); }
.topics .area { font: 600 .74rem/1.4 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--petrol-dk); }
.topics .go { color: var(--petrol); }
@media (max-width: 30rem) { .topics a { grid-template-columns: 1fr auto; } .topics .area { grid-column: 1 / -1; } }

/* Leistungskarten */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.card { display: grid; grid-template-rows: auto 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.card__img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.card__body { padding: 1.3rem 1.4rem 1.5rem; display: grid; gap: .7rem; align-content: start; }
.card__body h3 { font-size: 1.45rem; display: flex; align-items: center; gap: .6rem; }
.card__body h3 .ico { color: var(--petrol); width: 1.5rem; height: 1.5rem; }
.card__body h3 a { color: var(--ink); text-decoration: none; }
.card__body h3 a:hover { color: var(--petrol-dk); }
.card__list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.card__list a { display: inline-block; font: 600 .88rem/1.2 var(--body); padding: .45rem .7rem; border-radius: 999px; background: var(--petrol-lt); color: var(--petrol-dk); text-decoration: none; }
.card__list a:hover { background: var(--petrol-dk); color: #fff; }

/* Wendekarten */
.flips { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 34rem) { .flips { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .flips { grid-template-columns: repeat(4, 1fr); } }
.flip { perspective: 1100px; }
.flip__btn { all: unset; box-sizing: border-box; display: grid; width: 100%; height: 100%; cursor: pointer; border-radius: var(--r); }
.flip__btn:focus-visible { outline: 3px solid var(--petrol); outline-offset: 3px; }
.flip__inner { display: grid; transition: transform 1s cubic-bezier(.45,.05,.25,1); transform-style: preserve-3d; }
.flip__face { grid-area: 1 / 1; border-radius: var(--r); padding: 1.4rem; display: grid; gap: .55rem; align-content: start; backface-visibility: hidden; -webkit-backface-visibility: hidden; min-height: 12rem; }
.flip__front { background: #fff; border: 1px solid var(--line); }
.flip__front h3 { font-size: 1.5rem; color: var(--petrol-dk); }
.flip__front .sub { font: 600 1.02rem/1.35 var(--display); }
.flip__front .hint { margin-top: auto; align-self: end; font-size: .88rem; color: var(--muted); }
.flip__back { background: var(--petrol-dk); color: #fff; transform: rotateY(180deg); align-content: center; }
.flip[data-flipped="true"] .flip__inner { transform: rotateY(180deg); }
@media (hover: hover) and (min-width: 56rem) { .flip:hover .flip__inner { transform: rotateY(180deg); transition-delay: .15s; } }
@media (prefers-reduced-motion: reduce) {
  .flip__inner { transform: none !important; }
  .flip__back { transform: none; opacity: 0; transition: opacity .2s; }
  .flip[data-flipped="true"] .flip__back { opacity: 1; }
}
.no-js .flip__face { position: static; }

/* Ablauf: Ziffer mittig über dem Text, Schritte bauen sich nacheinander auf */
.steps { list-style: none; padding: 0; display: grid; gap: 1.75rem; position: relative; }
.steps li { position: relative; display: grid; grid-template-columns: 3.2rem 1fr; gap: 1rem; align-items: start; }
.steps .dot { width: 3.2rem; height: 3.2rem; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--petrol); font: 700 1.25rem/1 var(--display); color: var(--petrol-dk); position: relative; z-index: 1; transition: background .3s, color .3s, border-color .3s; }
.steps li.on .dot { background: var(--petrol-dk); color: #fff; border-color: var(--petrol-dk); }
.steps .txt { display: grid; gap: .4rem; padding-top: .45rem; }
.steps::before { content: ""; position: absolute; left: calc(1.6rem - 1px); top: 1.6rem; bottom: 1.6rem; width: 2px; background: var(--petrol-md); }
.steps .bar { position: absolute; left: calc(1.6rem - 1px); top: 1.6rem; width: 2px; height: 0; background: var(--petrol-dk); transition: height .5s ease; }
.js .steps.anim li .txt { opacity: .25; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; }
.js .steps.anim li.on .txt { opacity: 1; transform: none; }
@media (min-width: 56rem) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .steps li { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .steps .txt { padding-top: 0; max-width: 22rem; }
  .steps .txt p { margin-inline: auto; }
  .steps::before { left: calc(100% / 6); right: calc(100% / 6); top: calc(1.6rem - 1px); bottom: auto; width: auto; height: 2px; }
  .steps .bar { left: calc(100% / 6); top: calc(1.6rem - 1px); height: 2px; width: 0; transition: width .6s ease; }
}
@media (prefers-reduced-motion: reduce) { .js .steps.anim li .txt { opacity: 1; transform: none; } }

/* Team-Teaser */
.avatars { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(.5rem, 2.5vw, 2rem); margin-bottom: 1.75rem; }
.avatars a { display: grid; justify-items: center; align-content: start; gap: .6rem; text-decoration: none; color: var(--ink); text-align: center; }
.avatars img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; object-position: 50% 22%; border: 4px solid #fff; box-shadow: 0 6px 18px -8px rgba(22,40,43,.35); transition: transform .2s; }
.avatars a:hover img { transform: scale(1.05); }
.avatars span { font: 600 clamp(.78rem, .6rem + .6vw, 1.1rem)/1.25 var(--display); }


/* Team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.5rem), 1fr)); gap: 1rem; }
.person { display: grid; gap: .55rem; align-content: start; text-decoration: none; color: inherit; }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: var(--r); transition: transform .3s; }
.person:hover img { transform: scale(1.02); }
.person h3 { font-size: 1.1rem; }
.person p { font-size: .93rem; color: var(--muted); line-height: 1.4; }
.member { scroll-margin-top: 7rem; }
.member .split__media { aspect-ratio: 4 / 5; max-width: 26rem; }
@media (min-width: 56rem) { .member .split__media { aspect-ratio: auto; max-width: none; min-height: 24rem; } }
.member .role { font: 600 1.05rem/1.35 var(--display); color: var(--petrol-dk); }
.member blockquote { margin: .4rem 0 0; padding: .9rem 1.1rem; background: var(--sand); border-radius: var(--r-sm); font: 500 1.15rem/1.45 var(--display); }
.ph { background: var(--sand); border: 1px dashed #b98b55; border-radius: 4px; padding: 0 .3em; }
.split__media--mosaic { aspect-ratio: auto; background: none; border-radius: 0; overflow: visible; }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
@media (min-width: 56rem) { .mosaic { grid-template-columns: 1fr 1fr; height: 100%; } .mosaic img { aspect-ratio: auto; } }
.split__media--mosaic .mosaic img { position: static; }
.mosaic img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: var(--r-sm); }

/* Unterseiten: Inhaltsnavigation mit Scrollspy */
.toc { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--hh, 6rem) - 1px); z-index: 30; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.toc ul { list-style: none; padding: .55rem 0; display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; }
.toc ul::-webkit-scrollbar { display: none; }
.toc a { display: inline-block; white-space: nowrap; padding: .45rem .85rem; border-radius: 999px; font: 600 .9rem/1.2 var(--body); color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--ink); background: var(--soft); }
.toc a.active { background: var(--petrol-dk); color: #fff; }

.topic { scroll-margin-top: 8rem; }
.topic .sub { font: 600 1.12rem/1.4 var(--display); color: var(--petrol-dk); }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chips span { font: 600 .85rem/1.2 var(--body); padding: .4rem .7rem; border-radius: 999px; background: var(--petrol-lt); color: var(--petrol-dk); }
.checks { list-style: none; padding: 0; display: grid; gap: .5rem; }
.checks li { position: relative; padding-left: 1.75rem; }
.checks li::before { content: ""; position: absolute; left: .2rem; top: .45em; width: .7rem; height: .38rem; border-left: 2px solid var(--petrol); border-bottom: 2px solid var(--petrol); transform: rotate(-45deg); }
.grid-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1rem; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.3rem 1.4rem; display: grid; gap: .5rem; align-content: start; color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
a.tile:hover { border-color: var(--petrol); transform: translateY(-2px); }
.tile h3 { color: var(--petrol-dk); }
.tile .ico-badge { margin-bottom: .25rem; }
.tile p { color: var(--muted); font-size: 1rem; }
.numbered { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); gap: 1rem; counter-reset: n; }
.numbered li { counter-increment: n; background: #fff; border-radius: var(--r-sm); padding: 1.1rem 1.2rem; display: grid; gap: .4rem; align-content: start; font: 600 1.05rem/1.35 var(--display); }
.numbered li::before { content: counter(n); font: 700 2rem/1 var(--display); color: var(--petrol); }

/* FAQ */
.faq { display: grid; gap: .6rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); }
.faq details[open] { border-color: var(--petrol-md); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; font: 600 1.08rem/1.35 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.4rem; line-height: 1; color: var(--petrol-dk); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 1.2rem 1.15rem; display: grid; gap: .6rem; color: var(--muted); }
.faq-layout { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }
@media (min-width: 56rem) { .faq-layout { grid-template-columns: .8fr 1.2fr; align-items: start; } }

/* Portal + Bewertung */
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 1rem; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.4rem, 3vw, 2rem); display: grid; gap: .9rem; align-content: start; }
.panel .big { font: 700 clamp(2.6rem, 2rem + 2vw, 3.4rem)/1 var(--display); color: var(--petrol-dk); font-variant-numeric: tabular-nums; }
.panel .big small { font-size: .38em; color: var(--muted); font-weight: 600; }

/* Kontakt */
.contact { background: var(--petrol-dk); color: #fff; border-radius: calc(var(--r) * 1.4); padding: clamp(1.6rem, 5vw, 3.25rem); display: grid; gap: 2rem; }
.contact > * { min-width: 0; }
.contact h2 { color: #fff; }
.contact p { color: #dcebed; }
.contact .kicker { color: #dcebed; } .contact .kicker::before { background: #dcebed; }
.contact .btn-primary { background: #fff; border-color: #fff; color: var(--petrol-dk); }
.contact .btn-primary:hover { background: var(--petrol-lt); border-color: var(--petrol-lt); color: var(--ink); }
.contact .btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.contact .btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.contact ul { list-style: none; padding: 0; display: grid; gap: 1rem; align-content: start; }
.contact li { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; }
.contact li > span { display: grid; }
.contact li .ico { width: 1.4rem; height: 1.4rem; margin-top: .9rem; color: #bfd8dc; }
.contact .lab { font: 600 .76rem/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; color: #bfd8dc; }
.contact li a, .contact li .v { color: #fff; font: 600 1.25rem/1.35 var(--display); text-decoration: none; }
.contact li a:hover { text-decoration: underline; }
@media (min-width: 56rem) { .contact { grid-template-columns: 1.3fr 1fr; gap: 3rem; } }

/* Rechtstexte */
.legal { display: grid; gap: 1.1rem; max-width: 48rem; }
.legal h1 { font-size: clamp(1.8rem, 1.3rem + 2.4vw, 3rem); overflow-wrap: anywhere; }
.legal h2 { font-size: 1.3rem; margin-top: .8rem; }
.legal h3 { font-size: 1.08rem; }
.legal ul { padding-left: 1.2rem; display: grid; gap: .3rem; }
.legal address { font-style: normal; }
.legal dl { display: grid; gap: .5rem 1.5rem; margin: 0; }
.legal dt { font-weight: 600; }
.legal dd { margin: 0 0 .4rem; }
@media (min-width: 40rem) { .legal dl { grid-template-columns: 13rem 1fr; } .legal dd { margin: 0; } }
.summary-box { background: var(--petrol-lt); border-radius: var(--r-sm); padding: 1.2rem 1.4rem; display: grid; gap: .6rem; }

/* Fuß */
.footer { border-top: 1px solid var(--line); margin-top: var(--space); padding-block: 3rem 2.25rem; font-size: .95rem; color: var(--muted); }
.footer__cols { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.footer .brand { display: block; margin: 0 0 1rem; }
.footer .brand svg { width: 150px; }
.footer h2 { font: 600 .8rem/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: .6rem; }
.footer ul { list-style: none; padding: 0; display: grid; gap: .35rem; }
.footer a { color: var(--ink); }
.footer .social { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; color: var(--petrol-dk); font-weight: 600; text-decoration: none; }
.footer .social:hover { color: var(--petrol); }
.footer__fine { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: .86rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }
.updated { font-size: .88rem; color: var(--muted); }

/* sanftes Einblenden – Inhalt bleibt ohne JS sichtbar */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* Hero erst ab 64rem zweispaltig – darunter Bild als flaches Band (sonst sehr hohes, schmales Bild) */
@media (min-width: 56rem) and (max-width: 63.99rem) {
  .hero .split { grid-template-columns: 1fr; grid-template-areas: "head" "media" "body"; grid-template-rows: auto; }
  .hero .split__media { aspect-ratio: 21 / 9; min-height: 0; }
  .hero .split__media--mosaic { aspect-ratio: auto; }
  .hero .mosaic { grid-template-columns: repeat(4, 1fr); height: auto; }
  .hero .mosaic img { aspect-ratio: 4 / 5; }
}
/* Team-Teaser: auf dem Handy alle fünf in einer Reihe */
@media (max-width: 30rem) {
  .avatars img { border-width: 2px; }
}

/* Hero: Bildspalte breiter, damit mehr vom Bild sichtbar ist */
@media (min-width: 64rem) { .hero .split { grid-template-columns: 45fr 55fr; } }
.hero .split__media img { object-position: 50% 45%; }
@media (max-width: 24rem) { .brand svg { width: 124px; } .header__top { gap: .35rem; } }

.h1-lines span, .h1-lines em { display: block; }
@media (min-width: 64rem) { .hero h1 { font-size: clamp(2.4rem, 1rem + 2.6vw, 3.2rem); } }

/* Kasten unter dem Hero: 4 → 2 × 2 → 1 */
.hero .facts { grid-template-columns: 1fr; margin-top: clamp(1.75rem, 3vw, 2.5rem); box-shadow: var(--shadow); }
@media (min-width: 30rem) { .hero .facts { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .hero .facts { grid-template-columns: repeat(4, 1fr); } }
.hero .facts li { grid-template-columns: auto 1fr; column-gap: .75rem; align-items: start; }
.hero .facts li .ico { grid-row: span 2; width: 1.5rem; height: 1.5rem; color: var(--petrol); margin-top: .1rem; }
.hero .facts a { color: var(--muted); }
.hero .facts a:hover { color: var(--petrol-dk); }
/* Überschrift: Schriftgröße passt sich der Spaltenbreite an, damit jeder Satz in einer Zeile bleibt */
.hero .split__head { container-type: inline-size; }
@supports (font-size: 1cqi) { .hero h1.h1-lines { font-size: min(3.5rem, 10.2cqi); } }

.split__media--hero img { object-position: 62% 40%; }


/* Hero: Mittelweg – Text und Bild gleich breit, Text vertikal mittig zum Bild */
@media (min-width: 64rem) {
  .hero .split:has(.split__media--hero) { grid-template-columns: 1fr 1fr; grid-template-areas: ". media" "head media" "body media" ". media"; grid-template-rows: 1fr auto auto 1fr; }
  .hero .split__media--hero { min-height: 26rem; }
  .split__media--hero img { object-position: 70% 45%; }
}
@supports (font-size: 1cqi) { .hero h1.h1-lines { font-size: min(3.9rem, 10.2cqi); } }

/* Hero-Feinschliff 30.09.: weniger Abstand oben, Luft zwischen den drei Sätzen, Kasten etwas höher */
.hero { padding-top: clamp(1.5rem, 3vw, 2.25rem); }
.hero h1.h1-lines { line-height: 1.08; }
.hero .h1-lines > * + * { margin-top: .12em; }
.hero .facts li { padding-block: 1.35rem; }
