/* ==========================================================
   WiMa Partner – Variante 2
   Alle Größen in rem (Basis 16 px). Farben nur über Variablen.
   ========================================================== */

/* ── Schriften (lokal, DSGVO) ─────────────────────────────── */
@font-face { font-family: "Cormorant Garamond"; src: url("/schriften/cormorant-garamond-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/schriften/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/schriften/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/schriften/cormorant-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/schriften/dm-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/schriften/dm-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/schriften/dm-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

/* ── Design-Tokens ────────────────────────────────────────── */
:root {
  --navy: #001433;
  --navy-2: #06224a;
  --navy-3: #0d2f5f;
  --blau: #5581c2;
  --blau-hell: #9db9e3;
  --eis: #e8f0fa;
  --papier: #f6f4ef;
  --weiss: #ffffff;
  --tinte: #0b1a2f;
  --grau: #56657a;
  --linie-hell: rgba(255, 255, 255, 0.14);
  --linie-dunkel: rgba(0, 20, 51, 0.12);

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;

  --huelle: 80rem;
  --rand: clamp(1.25rem, 4vw, 3rem);
  --sektion: clamp(5rem, 10vw, 9rem);
  --radius: 1.25rem;
  --radius-gross: 2rem;
  --schatten: 0 1.5rem 4rem -1.5rem rgba(0, 20, 51, 0.35);
  --weich: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Basis ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.7; color: var(--tinte); background: var(--papier); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 0.125rem solid var(--blau); outline-offset: 0.25rem; border-radius: 0.25rem; }
.sr-only { position: absolute; width: 0.0625rem; height: 0.0625rem; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprunglink { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: 0.75rem 1.25rem; background: var(--weiss); color: var(--navy); border-radius: 0.5rem; }
.sprunglink:focus { top: 1rem; }

.huelle { width: 100%; max-width: var(--huelle); margin: 0 auto; padding: 0 var(--rand); }
.huelle--schmal { max-width: 52rem; }
.sektion { padding: var(--sektion) 0; position: relative; }
.sektion--dunkel { background: var(--navy); color: var(--weiss); }
.sektion--eis { background: var(--eis); }
.sektion--weiss { background: var(--weiss); }

/* ── Typografie ───────────────────────────────────────────── */
.eyebrow { display: inline-flex; align-items: center; gap: 0.75rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blau); }
.eyebrow::before { content: ""; width: 2rem; height: 0.0625rem; background: currentColor; }
.sektion--dunkel .eyebrow, .held .eyebrow { color: var(--blau-hell); }
.h1 { font-size: clamp(2.5rem, 4.8vw, 4.5rem); }
.h2 { font-size: clamp(2.25rem, 4.4vw, 3.75rem); }
.h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
.kursiv { font-style: italic; color: var(--blau); }
.sektion--dunkel .kursiv, .held .kursiv { color: var(--blau-hell); }
.text-gross { font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.6; color: var(--grau); }
.sektion--dunkel .text-gross, .held .text-gross { color: rgba(255, 255, 255, 0.72); }
.kopfgruppe { display: grid; gap: 1.5rem; max-width: 46rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.kopfgruppe--mitte { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }

/* ── Knöpfe ───────────────────────────────────────────────── */
.knopf { display: inline-flex; align-items: center; gap: 0.75rem; padding: 1rem 1.75rem; border-radius: 10rem; font-weight: 500; font-size: 1rem; text-decoration: none; border: 0.0625rem solid transparent; transition: background 0.3s, color 0.3s, transform 0.3s var(--weich), border-color 0.3s; cursor: pointer; }
.knopf:hover { transform: translateY(-0.125rem); }
.knopf--blau { background: var(--blau); color: var(--weiss); }
.knopf--blau:hover { background: #4670ad; }
.knopf--hell { background: var(--weiss); color: var(--navy); }
.knopf--hell:hover { background: var(--eis); }
.knopf--rahmen { border-color: currentColor; color: inherit; background: transparent; }
.knopf--rahmen:hover { background: rgba(255, 255, 255, 0.08); }
.knopf__pfeil { transition: transform 0.3s var(--weich); }
.knopf:hover .knopf__pfeil { transform: translateX(0.25rem); }
.knopf-reihe { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ── Kopfzeile ────────────────────────────────────────────── */
.kopf { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--weiss); transition: background 0.4s, padding 0.4s, box-shadow 0.4s; padding: 1.25rem 0; }
.kopf.ist-gescrollt { background: rgba(0, 20, 51, 0.92); backdrop-filter: blur(0.75rem); -webkit-backdrop-filter: blur(0.75rem); padding: 0.75rem 0; box-shadow: 0 0.0625rem 0 var(--linie-hell); }
.kopf__innen { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.marke { display: flex; align-items: center; gap: 0.875rem; text-decoration: none; position: relative; z-index: 2; }
.marke__zeichen { width: 2.75rem; height: auto; }
.marke__text { display: grid; line-height: 1.1; }
.marke__name { white-space: nowrap; font-family: var(--serif); font-size: 1.375rem; font-weight: 500; }
.marke__zusatz { font-size: 0.6875rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--blau-hell); }
.hauptmenue { display: flex; align-items: center; gap: 2rem; }
.hauptmenue__liste { display: flex; gap: 1.75rem; }
.hauptmenue__liste a { white-space: nowrap; text-decoration: none; font-size: 0.9375rem; opacity: 0.82; transition: opacity 0.2s; position: relative; padding: 0.25rem 0; }
.hauptmenue__liste a:hover, .hauptmenue__liste a[aria-current] { opacity: 1; }
.hauptmenue__liste a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -0.125rem; height: 0.0625rem; background: var(--blau-hell); }
.hauptmenue__nr { display: none; }
.kopf__knopf { white-space: nowrap; padding: 0.75rem 1.375rem; font-size: 0.9375rem; }
.menue-knopf { display: none; }

@media (max-width: 75rem) {
  .menue-knopf { display: grid; gap: 0.4375rem; place-content: center; width: 3rem; height: 3rem; border-radius: 50%; background: rgba(255, 255, 255, 0.08); border: 0.0625rem solid var(--linie-hell); color: var(--weiss); cursor: pointer; position: relative; z-index: 2; }
  .menue-knopf__linie { width: 1.25rem; height: 0.0625rem; background: currentColor; transition: transform 0.3s var(--weich); }
  .menue-knopf[aria-expanded="true"] .menue-knopf__linie:first-child { transform: translateY(0.25rem) rotate(45deg); }
  .menue-knopf[aria-expanded="true"] .menue-knopf__linie:nth-child(2) { transform: translateY(-0.25rem) rotate(-45deg); }
  .hauptmenue { position: fixed; inset: 0; background: var(--navy); flex-direction: column; align-items: flex-start; justify-content: center; padding: 6rem var(--rand) 3rem; gap: 2.5rem; opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s; }
  .hauptmenue.ist-offen { opacity: 1; visibility: visible; }
  .hauptmenue__liste { flex-direction: column; gap: 0.5rem; }
  .hauptmenue__liste a { font-family: var(--serif); font-size: clamp(2rem, 7vw, 2.75rem); opacity: 1; display: flex; align-items: baseline; gap: 1rem; }
  .hauptmenue__nr { display: inline; font-family: var(--sans); font-size: 0.875rem; color: var(--blau-hell); }
  body.menue-offen { overflow: hidden; }
}

/* ── Held (Hero) Startseite ───────────────────────────────── */
.held { position: relative; background: var(--navy); color: var(--weiss); overflow: hidden; padding: clamp(8rem, 14vw, 11rem) 0 0; }
.held::before { content: ""; position: absolute; width: 60rem; height: 60rem; right: -20rem; top: -25rem; background: radial-gradient(circle, rgba(85, 129, 194, 0.35), transparent 65%); pointer-events: none; }
.held__wappen { position: absolute; width: min(56rem, 90vw); aspect-ratio: 707 / 654; right: 22%; top: 50%; transform: translateY(-50%); background: url("/bilder/wima-wappen.avif") center / contain no-repeat; opacity: 0.1; pointer-events: none; }
.seitenkopf__wappen { position: absolute; width: 40rem; aspect-ratio: 707 / 654; right: -6rem; top: 50%; transform: translateY(-45%); background: url("/bilder/wima-wappen.avif") center / contain no-repeat; opacity: 0.08; pointer-events: none; }
@media (max-width: 62rem) { .held__wappen { right: -20%; top: 30%; width: 34rem; } }
.held__innen { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.held__text { display: grid; gap: 2rem; padding-bottom: clamp(4rem, 8vw, 7rem); }
.held__titel { font-size: clamp(2.375rem, 4.2vw, 3.875rem); line-height: 1.05; }
.held__titel span { display: block; }
.held__bild { position: relative; align-self: end; }
.held__bild-rahmen { position: relative; border-radius: 20rem 20rem 0 0; overflow: hidden; aspect-ratio: 4 / 5; background: var(--navy-3); }
.held__bild-rahmen img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.held__bild-rahmen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 20, 51, 0.55), transparent 40%); }
.held__siegel { position: absolute; left: -2.5rem; bottom: 3rem; width: 8.5rem; height: 8.5rem; border-radius: 50%; background: var(--weiss); color: var(--navy); display: grid; place-content: center; text-align: center; box-shadow: var(--schatten); }
.held__siegel strong { font-family: var(--serif); font-size: 2.75rem; font-weight: 500; line-height: 1; }
.held__siegel span { font-size: 0.75rem; line-height: 1.3; padding: 0 1rem; }
.held__bereiche { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 0.0625rem solid var(--linie-hell); }
.held__bereich { padding: 1.75rem 1.5rem 2rem 0; text-decoration: none; display: grid; gap: 0.5rem; border-right: 0.0625rem solid var(--linie-hell); transition: background 0.3s; }
.held__bereich + .held__bereich { padding-left: 1.5rem; }
.held__bereich:last-child { border-right: 0; }
.held__bereich:hover { background: rgba(255, 255, 255, 0.04); }
.held__bereich-nr { font-size: 0.8125rem; color: var(--blau-hell); letter-spacing: 0.1em; }
.held__bereich-name { font-family: var(--serif); font-size: 1.5rem; line-height: 1.15; }

@media (max-width: 62rem) {
  .held__innen { grid-template-columns: minmax(0, 1fr); }
  .held__text { padding-bottom: 2rem; }
  .held__bild { max-width: 28rem; margin-left: auto; }
  .held__siegel { left: -1rem; width: 7rem; height: 7rem; }
  .held__siegel strong { font-size: 2.25rem; }
  .held__bereiche { grid-template-columns: 1fr 1fr; }
  .held__bereich, .held__bereich + .held__bereich { padding: 1.5rem 1rem; border-bottom: 0.0625rem solid var(--linie-hell); }
}

/* ── Ansatz: vier Verben ──────────────────────────────────── */
.ansatz { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.ansatz__verben { display: grid; }
.ansatz__verb { display: grid; grid-template-columns: 4rem 1fr; align-items: baseline; gap: 1rem; padding: 1.75rem 0; border-top: 0.0625rem solid var(--linie-dunkel); }
.ansatz__verb:last-child { border-bottom: 0.0625rem solid var(--linie-dunkel); }
.ansatz__verb-nr { font-size: 0.875rem; color: var(--blau); font-weight: 600; }
.ansatz__verb-wort { font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 4.25rem); line-height: 1; }
.ansatz__verb-text { grid-column: 2; color: var(--grau); max-width: 34rem; }
@media (max-width: 62rem) { .ansatz { grid-template-columns: minmax(0, 1fr); } }

/* ── Bereichs-Karten ──────────────────────────────────────── */
.bereiche { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.bereich-karte { position: relative; display: flex; flex-direction: column; gap: 1.5rem; min-height: 30rem; padding: clamp(2rem, 3.5vw, 3rem); border-radius: var(--radius-gross); background: var(--weiss); text-decoration: none; overflow: hidden; transition: transform 0.5s var(--weich), box-shadow 0.5s var(--weich), background 0.5s, color 0.5s; isolation: isolate; }
.bereich-karte::before { content: ""; position: absolute; inset: 0; background: var(--navy); transform: translateY(101%); transition: transform 0.6s var(--weich); z-index: -1; }
.bereich-karte:hover { transform: translateY(-0.375rem); box-shadow: var(--schatten); color: var(--weiss); }
.bereich-karte:hover::before { transform: translateY(0); }
.bereich-karte__nr { font-family: var(--serif); font-size: clamp(5rem, 9vw, 8rem); line-height: 0.8; color: transparent; -webkit-text-stroke: 0.0625rem var(--blau); }
.bereich-karte__titel { font-size: clamp(2rem, 3vw, 2.625rem); }
.bereich-karte__claim { color: var(--grau); transition: color 0.5s; }
.bereich-karte:hover .bereich-karte__claim { color: rgba(255, 255, 255, 0.7); }
.bereich-karte__liste { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: auto; }
.bereich-karte__liste li { font-size: 0.875rem; padding: 0.375rem 0.875rem; border-radius: 10rem; border: 0.0625rem solid var(--linie-dunkel); transition: border-color 0.5s; }
.bereich-karte:hover .bereich-karte__liste li { border-color: var(--linie-hell); }
.bereich-karte__pfeil { position: absolute; top: clamp(2rem, 3.5vw, 3rem); right: clamp(2rem, 3.5vw, 3rem); width: 3.5rem; height: 3.5rem; border-radius: 50%; display: grid; place-content: center; border: 0.0625rem solid var(--linie-dunkel); font-size: 1.25rem; transition: background 0.5s, border-color 0.5s, transform 0.5s var(--weich); }
.bereich-karte:hover .bereich-karte__pfeil { background: var(--blau); border-color: var(--blau); transform: rotate(-45deg); }
@media (max-width: 52rem) { .bereiche { grid-template-columns: minmax(0, 1fr); } .bereich-karte { min-height: 0; } }

/* ── Funktionen übernehmen (dunkel) ───────────────────────── */
.funktionen { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6rem); align-items: center; }
.funktionen__text { display: grid; gap: 1.75rem; }
.funktionen__liste { display: grid; gap: 0.75rem; }
.funktion { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.375rem 1.75rem; border-radius: var(--radius); background: rgba(255, 255, 255, 0.04); border: 0.0625rem solid var(--linie-hell); transition: background 0.3s, transform 0.4s var(--weich); }
.funktion:hover { background: rgba(85, 129, 194, 0.18); transform: translateX(0.5rem); }
.funktion__name { font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.5rem); min-width: 0; }
.funktion__marke { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blau-hell); white-space: nowrap; }
@media (max-width: 62rem) { .funktionen { grid-template-columns: minmax(0, 1fr); } }

/* ── Zahlen ───────────────────────────────────────────────── */
.zahlen { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 0.0625rem solid var(--linie-dunkel); }
.zahl { padding: 2.5rem 1.5rem 0 0; display: grid; gap: 0.5rem; }
.zahl__wert { font-family: var(--serif); font-size: clamp(3.5rem, 6vw, 5.5rem); line-height: 1; color: var(--navy); }
.zahl__wert sup { font-size: 0.45em; color: var(--blau); vertical-align: top; }
.zahl__text { color: var(--grau); font-size: 0.9375rem; max-width: 14rem; }
@media (max-width: 52rem) { .zahlen { grid-template-columns: 1fr 1fr; row-gap: 1rem; } }

/* ── ERP-Vorschau (gestaltete Oberfläche) ─────────────────── */
.erp-teaser { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(3rem, 6vw, 6rem); align-items: center; }
.erp-teaser__text { display: grid; gap: 1.75rem; }
.oberflaeche { border-radius: var(--radius); background: #f3f6fb; color: var(--tinte); box-shadow: 0 2.5rem 6rem -1.5rem rgba(0, 0, 0, 0.6); overflow: hidden; font-size: 0.75rem; transform: perspective(90rem) rotateY(-8deg) rotateX(3deg); transition: transform 0.8s var(--weich); }
.oberflaeche:hover { transform: perspective(90rem) rotateY(0) rotateX(0); }
.oberflaeche__leiste { display: flex; gap: 0.375rem; padding: 0.75rem 1rem; background: var(--weiss); border-bottom: 0.0625rem solid #e2e8f2; }
.oberflaeche__leiste span { width: 0.625rem; height: 0.625rem; border-radius: 50%; background: #d5dce8; }
.oberflaeche__video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; background: var(--navy); }
.oberflaeche__innen { display: grid; grid-template-columns: 9rem 1fr; min-height: 22rem; }
.oberflaeche__menue { background: var(--navy); color: rgba(255, 255, 255, 0.75); padding: 1rem 0.75rem; display: grid; align-content: start; gap: 0.25rem; }
.oberflaeche__menue b { color: var(--weiss); font-family: var(--serif); font-size: 1rem; font-weight: 500; margin-bottom: 0.75rem; }
.oberflaeche__menue i { font-style: normal; padding: 0.375rem 0.5rem; border-radius: 0.375rem; }
.oberflaeche__menue i.aktiv { background: rgba(85, 129, 194, 0.35); color: var(--weiss); }
.oberflaeche__inhalt { padding: 1.25rem; display: grid; gap: 1rem; align-content: start; }
.oberflaeche__kacheln { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.625rem; }
.oberflaeche__kachel { background: var(--weiss); border-radius: 0.625rem; padding: 0.75rem; display: grid; gap: 0.25rem; }
.oberflaeche__kachel strong { font-size: 1.375rem; font-family: var(--serif); font-weight: 600; color: var(--navy); }
.oberflaeche__tabelle { background: var(--weiss); border-radius: 0.625rem; padding: 0.5rem 0.75rem; }
.oberflaeche__zeile { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 0.5rem; align-items: center; padding: 0.5rem 0; border-bottom: 0.0625rem solid #edf1f7; }
.oberflaeche__zeile:last-child { border-bottom: 0; }
.ampel { width: 0.625rem; height: 0.625rem; border-radius: 50%; }
.ampel--gruen { background: #2f9e6b; } .ampel--gelb { background: #e0a526; } .ampel--rot { background: #d1453b; }
.balken { height: 0.375rem; border-radius: 1rem; background: #e3e9f3; overflow: hidden; }
.balken span { display: block; height: 100%; background: var(--blau); border-radius: 1rem; }
@media (max-width: 62rem) { .erp-teaser { grid-template-columns: minmax(0, 1fr); } .oberflaeche { transform: none; } }

/* ── Team ─────────────────────────────────────────────────── */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.person { display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius-gross); overflow: hidden; background: var(--weiss); }
.person__bild { position: relative; aspect-ratio: 5 / 4; background: linear-gradient(160deg, var(--eis), #cddcf1); overflow: hidden; }
.person__bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; transform-origin: 50% 100%; transition: transform 0.8s var(--weich); }
.person:hover .person__bild img { transform: scale(1.03); }
.person__text { padding: clamp(1.75rem, 3vw, 2.5rem); display: grid; gap: 0.75rem; align-content: start; }
.person__rolle { font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blau); font-weight: 600; }
.person__name { font-size: 2.25rem; }
.person__text p { color: var(--grau); }
.person__fakten { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.person__fakten li { font-size: 0.8125rem; padding: 0.3125rem 0.75rem; border-radius: 10rem; background: var(--eis); color: var(--navy); }
@media (max-width: 52rem) { .team { grid-template-columns: minmax(0, 1fr); } }

/* ── Aufruf (CTA) ─────────────────────────────────────────── */
.aufruf { position: relative; border-radius: var(--radius-gross); background: var(--navy); color: var(--weiss); padding: clamp(3rem, 7vw, 6rem); overflow: hidden; display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 3rem; align-items: end; }
.aufruf::after { content: ""; position: absolute; width: 36rem; height: 36rem; right: -12rem; bottom: -18rem; border-radius: 50%; border: 0.0625rem solid rgba(157, 185, 227, 0.3); box-shadow: 0 0 0 4rem rgba(157, 185, 227, 0.05), 0 0 0 8rem rgba(157, 185, 227, 0.03); pointer-events: none; }
.aufruf .text-gross { color: rgba(255, 255, 255, 0.72); }
.aufruf .kursiv { color: var(--blau-hell); }
.aufruf__text { display: grid; gap: 1.5rem; position: relative; }
.aufruf__wege { display: grid; gap: 0.75rem; position: relative; z-index: 1; }
.aufruf__weg { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 0.0625rem solid var(--linie-hell); text-decoration: none; transition: color 0.2s; }
.aufruf__weg:hover { color: var(--blau-hell); }
.aufruf__weg small { color: rgba(255, 255, 255, 0.55); font-size: 0.8125rem; }
@media (max-width: 62rem) { .aufruf { grid-template-columns: minmax(0, 1fr); } }

/* ── Unterseiten-Kopf ─────────────────────────────────────── */
.seitenkopf { position: relative; background: var(--navy); color: var(--weiss); padding: clamp(9rem, 15vw, 12rem) 0 clamp(4rem, 8vw, 6rem); overflow: hidden; }
.seitenkopf::before { content: ""; position: absolute; width: 50rem; height: 50rem; right: -15rem; top: -20rem; background: radial-gradient(circle, rgba(85, 129, 194, 0.3), transparent 65%); }
.seitenkopf__innen { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: end; }
.seitenkopf__text { display: grid; gap: 1.75rem; max-width: 52rem; }
.seitenkopf__nr { font-family: var(--serif); font-size: clamp(9rem, 22vw, 18rem); line-height: 0.75; color: transparent; -webkit-text-stroke: 0.0625rem rgba(157, 185, 227, 0.55); user-select: none; }
.brotkrumen { display: flex; gap: 0.5rem; font-size: 0.875rem; color: rgba(255, 255, 255, 0.6); }
.brotkrumen a { text-decoration: none; }
.brotkrumen a:hover { color: var(--weiss); }
@media (max-width: 52rem) { .seitenkopf__innen { grid-template-columns: minmax(0, 1fr); } .seitenkopf__nr { display: none; } }

/* ── Leistungsblöcke (Bereichsseiten) ─────────────────────── */
.leistungen { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.leistung { padding: clamp(2rem, 3.5vw, 3rem); border-radius: var(--radius-gross); background: var(--weiss); display: grid; gap: 1.25rem; align-content: start; transition: box-shadow 0.4s, transform 0.4s var(--weich); }
.leistung:hover { box-shadow: var(--schatten); transform: translateY(-0.25rem); }
.leistung__kopf { display: flex; align-items: center; gap: 1rem; }
.leistung__nr { width: 3rem; height: 3rem; flex: none; border-radius: 50%; display: grid; place-content: center; background: var(--eis); color: var(--navy); font-weight: 600; font-size: 0.875rem; }
.leistung__titel { font-size: clamp(1.625rem, 2.4vw, 2.125rem); }
.leistung__liste { display: grid; }
.leistung__liste li { position: relative; padding: 0.875rem 0 0.875rem 2rem; border-top: 0.0625rem solid var(--linie-dunkel); }
.leistung__liste li::before { content: ""; position: absolute; left: 0.25rem; top: 1.375rem; width: 0.75rem; height: 0.0625rem; background: var(--blau); }
@media (max-width: 52rem) { .leistungen { grid-template-columns: minmax(0, 1fr); } }

/* ── Ablauf ───────────────────────────────────────────────── */
.ablauf { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: schritt; }
.ablauf--sechs { grid-template-columns: repeat(3, 1fr); }
.schritt { position: relative; padding-top: 2rem; border-top: 0.0625rem solid var(--linie-hell); display: grid; gap: 0.75rem; align-content: start; }
.sektion:not(.sektion--dunkel) .schritt { border-top-color: var(--linie-dunkel); }
.schritt::before { counter-increment: schritt; content: "0" counter(schritt); font-size: 0.875rem; color: var(--blau-hell); font-weight: 600; letter-spacing: 0.1em; }
.sektion:not(.sektion--dunkel) .schritt::before { color: var(--blau); }
.schritt__titel { font-size: 1.75rem; }
.schritt p { color: rgba(255, 255, 255, 0.68); font-size: 0.9375rem; }
.sektion:not(.sektion--dunkel) .schritt p { color: var(--grau); }
@media (max-width: 62rem) { .ablauf, .ablauf--sechs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 36rem) { .ablauf, .ablauf--sechs { grid-template-columns: minmax(0, 1fr); } }
/* Ablauf: Linie füllt sich von links nach rechts, die Schritte leuchten nacheinander auf (Startzeit je Schritt setzt js/seite.js) */
.js .schritt::after { content: ""; position: absolute; left: 0; right: 0; top: -0.0625rem; height: 0.125rem; background: var(--blau-hell); box-shadow: 0 0 0.75rem var(--blau-hell); transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--weich); transition-delay: var(--schritt-start, 0s); }
.sektion:not(.sektion--dunkel) .schritt::after { background: var(--blau); box-shadow: 0 0 0.75rem rgba(85, 129, 194, 0.5); }
.js .schritt::before, .js .schritt__titel { opacity: 0.4; transition: opacity 0.6s, text-shadow 0.6s; transition-delay: calc(var(--schritt-start, 0s) + 0.25s); }
.js .ablauf.ist-aktiv .schritt::after { transform: scaleX(1); }
.js .ablauf.ist-aktiv .schritt::before, .js .ablauf.ist-aktiv .schritt__titel { opacity: 1; }
.js .sektion--dunkel .ablauf.ist-aktiv .schritt::before { text-shadow: 0 0 0.75rem var(--blau-hell); }

/* ── Weitere Bereiche (Querverweise) ──────────────────────── */
.weitere { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.weiter { display: grid; gap: 0.5rem; padding: 2rem; border-radius: var(--radius); border: 0.0625rem solid var(--linie-dunkel); text-decoration: none; transition: background 0.3s, border-color 0.3s; }
.weiter:hover { background: var(--weiss); border-color: transparent; }
.weiter__nr { color: var(--blau); font-size: 0.875rem; font-weight: 600; }
.weiter__titel { font-family: var(--serif); font-size: 1.625rem; line-height: 1.15; }
@media (max-width: 52rem) { .weitere { grid-template-columns: minmax(0, 1fr); } }

/* ── Zitat / Haltung ──────────────────────────────────────── */
.haltung { font-family: var(--serif); font-size: clamp(2rem, 4.2vw, 3.5rem); line-height: 1.15; max-width: 62rem; }
.haltung em { color: var(--blau); }
.sektion--dunkel .haltung em { color: var(--blau-hell); }

/* ── ERP-Module ───────────────────────────────────────────── */
.module { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.modul { padding: 2rem; border-radius: var(--radius); background: rgba(255, 255, 255, 0.04); border: 0.0625rem solid var(--linie-hell); display: grid; gap: 1rem; align-content: start; transition: background 0.3s, border-color 0.3s; }
.modul:hover { background: rgba(85, 129, 194, 0.16); border-color: rgba(157, 185, 227, 0.4); }
.modul__titel { font-size: 1.875rem; display: flex; justify-content: space-between; align-items: baseline; }
.modul__titel small { font-family: var(--sans); font-size: 0.8125rem; color: var(--blau-hell); }
.modul__liste { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.modul__liste li { font-size: 0.875rem; padding: 0.375rem 0.75rem; border-radius: 0.5rem; background: rgba(255, 255, 255, 0.07); }
@media (max-width: 62rem) { .module { grid-template-columns: 1fr 1fr; } }
@media (max-width: 36rem) { .module { grid-template-columns: minmax(0, 1fr); } }
.hinweis { font-size: 0.875rem; color: var(--grau); max-width: 46rem; }
.sektion--dunkel .hinweis { color: rgba(255, 255, 255, 0.55); }

/* ── Split mit Bild ───────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6rem); align-items: center; }
.split__bild { border-radius: var(--radius-gross); overflow: hidden; aspect-ratio: 5 / 4; }
.split__bild img { width: 100%; height: 100%; object-fit: cover; }
.split__text { display: grid; gap: 1.5rem; }
.split__text p { color: var(--grau); }
@media (max-width: 62rem) { .split { grid-template-columns: minmax(0, 1fr); } }

/* ── Werte ────────────────────────────────────────────────── */
.werte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.wert { padding-top: 1.75rem; border-top: 0.125rem solid var(--blau); display: grid; gap: 0.75rem; }
.wert__titel { font-size: 2rem; }
.wert p { color: var(--grau); }
@media (max-width: 52rem) { .werte { grid-template-columns: minmax(0, 1fr); } }

/* ── Kontakt ──────────────────────────────────────────────── */
.kontakt { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(3rem, 6vw, 6rem); align-items: start; }
.kontakt__wege { display: grid; gap: 1rem; }
.kontakt__weg { display: grid; gap: 0.25rem; padding: 1.5rem 1.75rem; border-radius: var(--radius); background: var(--weiss); text-decoration: none; transition: transform 0.3s var(--weich), box-shadow 0.3s; }
a.kontakt__weg:hover { transform: translateY(-0.125rem); box-shadow: var(--schatten); }
.kontakt__weg small { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blau); font-weight: 600; }
.kontakt__weg span { font-family: var(--serif); font-size: 1.5rem; }
.formular { display: grid; gap: 1.25rem; padding: clamp(2rem, 4vw, 3rem); border-radius: var(--radius-gross); background: var(--weiss); box-shadow: var(--schatten); }
.feld { display: grid; gap: 0.5rem; }
.feld label, .feld legend { font-size: 0.875rem; font-weight: 500; }
.feld input, .feld textarea, .feld select { font: inherit; padding: 0.875rem 1rem; border-radius: 0.75rem; border: 0.0625rem solid #cfd8e6; background: var(--papier); color: var(--tinte); transition: border-color 0.2s, background 0.2s; }
.feld input:focus, .feld textarea:focus, .feld select:focus { outline: none; border-color: var(--blau); background: var(--weiss); }
.feld textarea { min-height: 9rem; resize: vertical; }
.einwilligung { display: flex; gap: 0.75rem; font-size: 0.875rem; color: var(--grau); align-items: flex-start; }
.einwilligung input { margin-top: 0.3rem; }
.formular__meldung { font-size: 0.9375rem; padding: 1rem; border-radius: 0.75rem; background: var(--eis); }
.formular__meldung--fehler { background: #fde8e8; color: #8a1c1c; }
.feld--falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 62rem) { .kontakt { grid-template-columns: minmax(0, 1fr); } }

/* ── Textseiten (Impressum, Datenschutz, 404) ─────────────── */
.textseite { display: grid; gap: 1.5rem; }
.textseite h2 { font-size: 2rem; margin-top: 1.5rem; }
.platzhalter { padding: 1.5rem; border-radius: var(--radius); border: 0.0625rem dashed var(--blau); background: var(--eis); }

/* ── Footer ───────────────────────────────────────────────── */
.fuss { background: var(--navy); color: rgba(255, 255, 255, 0.72); padding: clamp(4rem, 8vw, 6rem) 0 2rem; font-size: 0.9375rem; }
.fuss__oben { display: grid; grid-template-columns: 1.5fr 1fr 0.7fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 0.0625rem solid var(--linie-hell); }
.fuss__marke { display: grid; gap: 1.5rem; align-content: start; }
.fuss__marke img { width: 4rem; }
.fuss__claim { font-family: var(--serif); font-size: 1.625rem; line-height: 1.25; color: var(--weiss); }
.fuss__titel { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blau-hell); margin-bottom: 1rem; }
.fuss__spalte ul { display: grid; gap: 0.5rem; }
.fuss a { text-decoration: none; }
.fuss a:hover { color: var(--weiss); }
.fuss__unten { display: flex; justify-content: space-between; gap: 1rem; padding-top: 2rem; font-size: 0.8125rem; flex-wrap: wrap; }
@media (max-width: 62rem) { .fuss__oben { grid-template-columns: 1fr 1fr; } }
@media (max-width: 36rem) { .fuss__oben { grid-template-columns: minmax(0, 1fr); } }

/* ── Einblenden beim Scrollen ─────────────────────────────── */
.js [data-einblenden] { opacity: 0; transform: translateY(2rem); transition: opacity 1s var(--weich), transform 1s var(--weich); transition-delay: var(--verzoegerung, 0s); }
.js [data-einblenden].ist-sichtbar { opacity: 1; transform: none; }
.js .held__titel span { opacity: 0; transform: translateY(100%); animation: aufsteigen 1.1s var(--weich) forwards; }
.js .held__titel span:nth-child(2) { animation-delay: 0.12s; }
.js .held__titel span:nth-child(3) { animation-delay: 0.24s; }
@keyframes aufsteigen { to { opacity: 1; transform: none; } }

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

/* Menü: kurze Bezeichnungen auf dem Desktop, lange im mobilen Menü */
.hauptmenue__liste .lang { display: none; }
@media (max-width: 75rem) {
  .hauptmenue__liste .lang { display: inline; }
  .hauptmenue__liste .kurz { display: none; }
}

/* Überschriften nicht automatisch trennen; dunkle Seitenköpfe mit hellem Text */
h1, h2, .held__titel, .haltung { hyphens: manual; -webkit-hyphens: manual; }
.seitenkopf .text-gross { color: rgba(255, 255, 255, 0.72); }
.seitenkopf .kursiv, .seitenkopf .eyebrow { color: var(--blau-hell); }
@media (max-width: 36rem) { .funktion__marke { display: none; } }
.seitenkopf__nr { display: none; }

/* Instagram-Feed (lädt erst nach Klick) */
.instagram { margin-top: 2rem; }
.instagram__hinweis { display: grid; gap: 1.25rem; justify-items: start; padding: 2rem; border-radius: var(--radius); background: var(--eis); max-width: 46rem; }
.instagram__hinweis p { margin: 0; }

/* Rechtstexte (e-recht24) auf Impressum und Datenschutz */
.rechtstext h2 { font-size: 2rem; margin: 2.5rem 0 1rem; }
.rechtstext h2:first-child { margin-top: 0; }
.rechtstext h3 { font-size: 1.5rem; margin: 2rem 0 0.75rem; }
.rechtstext h4 { font-size: 1.125rem; margin: 1.5rem 0 0.5rem; }
.rechtstext p, .rechtstext ul { margin: 0 0 1rem; }
.rechtstext ul { padding-left: 1.25rem; list-style: disc; }
.rechtstext li { margin-bottom: 0.375rem; }
.rechtstext a { color: var(--blau); text-decoration: underline; overflow-wrap: anywhere; }
