/* ISI – Das Haus für soziale Innovation
   Layout-Idee: dunkle „Dach“-Flächen (Heather Black) wechseln mit hellen Arbeitsflächen;
   das Dreieck aus dem Logo-Dach ist das wiederkehrende Motiv. Farben und Schriften
   stammen aus der Logo-Präsentation (Feb 2026). */

@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-wght-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Roboto Condensed"; src: url("../fonts/roboto-condensed-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  /* Markenfarben */
  --ink: #1f2729;          /* Heather Black */
  --trout: #46585d;        /* Trout */
  --turq: #52c5bf;         /* Classic Turquoise */
  --eau: #3da7ad;          /* Eau de Cologne */
  --white: #ffffff;
  /* abgeleitete Töne */
  --ink-deep: #171d1f;
  --ink-soft: #2a3538;
  --eau-dark: #1f7f86;     /* Eau de Cologne, abgedunkelt für Text auf Weiß */
  --paper: #f3f7f7;
  --mist: #e2ecec;
  --line: #d3dfdf;
  --line-dark: rgba(255, 255, 255, .14);
  --text: #1f2729;
  --text-soft: #4b5c60;
  --on-dark: #eef4f4;
  --on-dark-soft: #a9babc;
  /* Schrift */
  --f-text: "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --f-label: "Roboto Condensed", "Arial Narrow", "Inter", system-ui, sans-serif;
  --fs-hero: clamp(2.5rem, 5.4vw, 4.5rem);
  --fs-h1: clamp(2.2rem, 4.6vw, 3.9rem);
  --fs-h2: clamp(1.8rem, 3.4vw, 2.9rem);
  --fs-h3: clamp(1.25rem, 1.8vw, 1.55rem);
  --fs-lead: clamp(1.06rem, 1.35vw, 1.28rem);
  /* Maße */
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 48px);
  --r: 18px;
  --r-s: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --head-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 24px); }
body { margin: 0; font-family: var(--f-text); font-size: 1.0625rem; line-height: 1.6; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, canvas { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -.025em; font-weight: 650; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--turq); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--turq); color: var(--ink); }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-left: max(var(--gut), env(safe-area-inset-left, 0px)); padding-right: max(var(--gut), env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--turq); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }
.eyebrow { font-family: var(--f-label); font-size: .86rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--eau-dark); display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 11px solid var(--turq); }
.dark .eyebrow { color: var(--turq); }
.hl { color: var(--eau-dark); }
.dark .hl { color: var(--turq); }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--text-soft); max-width: 62ch; }
.dark .lead { color: var(--on-dark-soft); }

/* ---------- Flächen ---------- */
.sec { padding-block: clamp(64px, 9vw, 128px); position: relative; }
.dark { background: var(--ink); color: var(--on-dark); }
.tint { background: var(--paper); }
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(32px, 5vw, 64px); }
.sec-head h2 { font-size: var(--fs-h2); }
@media (min-width: 900px) { .sec-head--split { grid-template-columns: 1.1fr .9fr; align-items: end; column-gap: 64px; } .sec-head--split .eyebrow { grid-column: 1 / -1; } }

/* ---------- Buttons ---------- */
.btn { --bg: var(--turq); --fg: var(--ink); display: inline-flex; align-items: center; gap: 12px; padding: 13px 14px 13px 22px; border-radius: 999px; border: 1px solid transparent; background: var(--bg); color: var(--fg); font-weight: 600; font-size: .98rem; text-decoration: none; line-height: 1.2; transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s; will-change: transform; }
.btn .arr { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; flex: none; transition: transform .35s var(--ease); }
.btn .arr svg { width: 14px; height: 14px; }
.btn:hover .arr { transform: translateX(4px) rotate(-45deg); }
.btn--ghost { --bg: transparent; --fg: var(--on-dark); border-color: var(--line-dark); }
.btn--ghost .arr { background: rgba(255, 255, 255, .12); }
.btn--ghost:hover { border-color: var(--turq); }
.btn--line { --bg: transparent; --fg: var(--ink); border-color: var(--line); }
.btn--line:hover { border-color: var(--eau); }
.btn--dark { --bg: var(--ink); --fg: var(--white); }
.btn--dark .arr { background: var(--turq); color: var(--ink); }
.btn--plain { padding: 13px 22px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.tlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--eau-dark); border-bottom: 2px solid var(--turq); padding-bottom: 2px; }
.dark .tlink { color: var(--turq); }
.tlink svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.tlink:hover svg { transform: translateX(4px); }

/* ---------- Kopfzeile ---------- */
.head { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--head-h); display: flex; align-items: center; transition: background .3s, box-shadow .3s, height .3s var(--ease); color: var(--on-dark); }
.head.is-solid { background: rgba(23, 29, 31, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line-dark); --head-h: 64px; }
.head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { height: 46px; width: auto; transition: height .3s var(--ease); }
.head.is-solid .brand img { height: 40px; }
.brand span { font-family: var(--f-label); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; line-height: 1.25; color: var(--on-dark-soft); }
.nav { display: flex; align-items: center; gap: 4px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); border-radius: 999px; padding: 5px; }
.nav > li { position: relative; }
.nav a, .nav button { display: flex; align-items: center; gap: 6px; padding: 9px 15px; border-radius: 999px; text-decoration: none; font-size: .93rem; font-weight: 500; background: none; border: 0; color: var(--on-dark); transition: background .2s, color .2s; white-space: nowrap; }
.nav a:hover, .nav button:hover, .nav [aria-expanded="true"] { background: rgba(255, 255, 255, .1); }
.nav a[aria-current="page"], .nav .is-current { background: var(--white); color: var(--ink); }
.nav button svg { width: 10px; height: 10px; transition: transform .3s var(--ease); }
.nav [aria-expanded="true"] svg { transform: rotate(180deg); }
.mega { position: absolute; top: calc(100% + 14px); left: 50%; width: min(760px, 92vw); transform: translate(-50%, 8px); background: var(--ink-deep); border: 1px solid var(--line-dark); border-radius: var(--r); padding: 22px; display: grid; grid-template-columns: 1.25fr 1fr; gap: 22px; opacity: 0; visibility: hidden; transition: opacity .25s, transform .35s var(--ease), visibility .25s; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.mega.is-open { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega h3 { font-family: var(--f-label); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--turq); font-weight: 500; margin-bottom: 8px; }
.mega a { display: block; padding: 9px 12px; border-radius: 10px; white-space: normal; font-weight: 500; line-height: 1.3; }
.mega a small { display: block; font-weight: 400; color: var(--on-dark-soft); font-size: .8rem; margin-top: 2px; }
.mega .tag { font-family: var(--f-label); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; background: var(--turq); color: var(--ink); border-radius: 4px; padding: 1px 6px; margin-left: 6px; vertical-align: 2px; }
.head-cta { display: flex; align-items: center; gap: 10px; }
.head-tel { font-family: var(--f-label); font-size: .95rem; letter-spacing: .04em; text-decoration: none; color: var(--on-dark); white-space: nowrap; }
.head-tel:hover { color: var(--turq); }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .06); position: relative; }
.burger i { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--white); transition: transform .35s var(--ease), top .35s var(--ease), opacity .2s; }
.burger i:nth-child(1) { top: 17px; } .burger i:nth-child(2) { top: 27px; }
.burger[aria-expanded="true"] i:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { top: 22px; transform: rotate(-45deg); }
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: linear-gradient(90deg, var(--turq), var(--eau)); transform-origin: 0 50%; transform: scaleX(0); }
.mob { position: fixed; inset: 0; z-index: 90; background: var(--ink-deep); color: var(--on-dark); padding: calc(var(--head-h) + 20px) 0 32px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .3s, transform .4s var(--ease), visibility .3s; }
.mob.is-open { opacity: 1; visibility: visible; transform: none; }
.mob h3 { font-family: var(--f-label); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--turq); font-weight: 500; margin: 22px 0 6px; }
.mob a { display: block; padding: 11px 0; text-decoration: none; font-size: 1.15rem; font-weight: 550; border-bottom: 1px solid var(--line-dark); }
.mob .btn { display: inline-flex; margin-top: 24px; border-bottom: 0; padding: 13px 14px 13px 22px; font-size: 1rem; }
@media (max-width: 1100px) { .nav, .head-tel { display: none; } .burger { display: block; } .head-cta .btn { display: none; } }
@media (max-width: 520px) { .brand span { display: none; } }

/* ---------- Hero Startseite ---------- */
.hero { background: var(--ink); color: var(--on-dark); position: relative; overflow: hidden; padding-top: calc(var(--head-h) + clamp(40px, 7vw, 96px)); padding-bottom: clamp(56px, 8vw, 110px); }
.hero canvas.tri { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero .wrap { position: relative; }
.hero-main { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .hero-main { grid-template-columns: 1.15fr .85fr; } }
.hero h1 { font-size: var(--fs-hero); font-weight: 680; letter-spacing: -.035em; line-height: 1; margin-block: 22px 26px; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero h1 .line > span { display: block; }
.js .hero h1 .line > span { transform: translateY(105%); animation: rise .9s var(--ease) forwards; }
.js .hero h1 .line:nth-child(2) > span { animation-delay: .1s; }
.js .hero h1 .line:nth-child(3) > span { animation-delay: .2s; }
@keyframes rise { to { transform: none; } }
.hero .lead { margin-bottom: 30px; }
.house { position: relative; justify-self: center; width: min(420px, 78vw); aspect-ratio: 217 / 164; }
.house svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); }
.house .roof path, .house .letters path { transform-box: fill-box; transform-origin: 50% 100%; }
.js .house .roof path { opacity: 0; transform: translateY(-46px) rotate(-7deg); animation: roofIn 1s var(--ease) forwards; }
.js .house .roof path:nth-child(1) { animation-delay: .55s; } .js .house .roof path:nth-child(2) { animation-delay: .35s; } .js .house .roof path:nth-child(3) { animation-delay: .65s; } .js .house .roof path:nth-child(4) { animation-delay: .45s; } .js .house .roof path:nth-child(5) { animation-delay: .75s; }
.js .house .letters path { opacity: 0; transform: translateY(30px); animation: roofIn .9s var(--ease) forwards; }
.js .house .letters path:nth-child(1) { animation-delay: .05s; } .js .house .letters path:nth-child(2) { animation-delay: .15s; } .js .house .letters path:nth-child(3) { animation-delay: .25s; }
@keyframes roofIn { to { opacity: 1; transform: none; } }
.house .claim { position: absolute; left: 0; right: 0; top: 104%; text-align: center; font-family: var(--f-label); letter-spacing: .16em; text-transform: uppercase; font-size: .82rem; color: var(--on-dark-soft); }
.hero-facts { position: relative; margin-top: clamp(40px, 6vw, 84px); border-top: 1px solid var(--line-dark); display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 800px) { .hero-facts { grid-template-columns: repeat(4, 1fr); } }
.fact { padding: 22px 18px 0 0; }
.fact b { display: block; font-family: var(--f-label); font-weight: 500; font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1; letter-spacing: -.01em; color: var(--white); font-variant-numeric: tabular-nums; }
.fact span { display: block; margin-top: 8px; font-size: .92rem; color: var(--on-dark-soft); max-width: 22ch; }

/* ---------- Einstiege ---------- */
.entries { display: grid; background: var(--paper); }
@media (min-width: 900px) { .entries { grid-template-columns: repeat(3, 1fr); } }
.entry { position: relative; padding: clamp(28px, 4vw, 52px) max(var(--gut), env(safe-area-inset-left, 0px)); text-decoration: none; display: grid; gap: 12px; align-content: start; border-bottom: 1px solid var(--line); overflow: hidden; transition: color .35s; }
@media (min-width: 900px) { .entry { border-bottom: 0; border-right: 1px solid var(--line); padding-inline: clamp(24px, 3vw, 48px); } .entry:last-child { border-right: 0; } }
.entry::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateY(101%); transition: transform .55s var(--ease); }
.entry > * { position: relative; }
.entry small { font-family: var(--f-label); letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; color: var(--text-soft); transition: color .35s; }
.entry h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.entry p { color: var(--text-soft); max-width: 40ch; transition: color .35s; }
.entry .go { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; margin-top: 10px; transition: background .35s, border-color .35s, transform .35s var(--ease); }
.entry .go svg { width: 16px; height: 16px; }
.entry:hover, .entry:focus-visible { color: var(--white); }
.entry:hover::before, .entry:focus-visible::before { transform: none; }
.entry:hover small, .entry:hover p, .entry:focus-visible small, .entry:focus-visible p { color: var(--on-dark-soft); }
.entry:hover .hl, .entry:focus-visible .hl { color: var(--turq); }
.entry:hover .go, .entry:focus-visible .go { background: var(--turq); border-color: var(--turq); color: var(--ink); transform: rotate(-45deg); }

/* ---------- Leistungsspektrum ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-dark); background: transparent; color: var(--on-dark); font-size: .92rem; font-weight: 500; transition: background .25s, color .25s, border-color .25s; }
.chip:hover { border-color: var(--turq); }
.chip[aria-pressed="true"] { background: var(--turq); border-color: var(--turq); color: var(--ink); }
.tint .chip, .light .chip { border-color: var(--line); color: var(--ink); }
.tint .chip[aria-pressed="true"], .light .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.svc-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.svc { position: relative; display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--ink-soft); color: var(--on-dark); text-decoration: none; min-height: 400px; isolation: isolate; transition: transform .5s var(--ease), opacity .35s, box-shadow .4s; transform-style: preserve-3d; }
.svc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ease), filter .5s; filter: saturate(.85); }
.svc::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(23, 29, 31, .15) 0%, rgba(23, 29, 31, .55) 45%, rgba(23, 29, 31, .96) 100%); transition: opacity .4s; }
.svc:hover img { transform: scale(1.07); filter: saturate(1.05); }
.svc:hover { box-shadow: 0 24px 50px rgba(0, 0, 0, .35); }
.svc-top { display: flex; justify-content: space-between; align-items: flex-start; padding: 16px; gap: 8px; }
.pill { font-family: var(--f-label); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(23, 29, 31, .72); backdrop-filter: blur(6px); color: var(--white); border: 1px solid var(--line-dark); }
.pill--new { background: var(--turq); color: var(--ink); border-color: var(--turq); font-weight: 600; }
.svc-body { margin-top: auto; padding: 20px; display: grid; gap: 10px; }
.svc h3 { font-size: 1.42rem; line-height: 1.12; }
.svc p { font-size: .95rem; line-height: 1.5; color: var(--on-dark-soft); }
.svc .more { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .92rem; color: var(--turq); margin-top: 4px; }
.svc .more svg { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.svc:hover .more svg { transform: translateX(5px); }
.svc.is-off { opacity: .18; transform: scale(.97); pointer-events: none; }
.svc--bifu { background: var(--ink-deep); border: 1px dashed rgba(82, 197, 191, .55); }
.svc--bifu::after { display: none; }
.svc--bifu .tri-deco { position: absolute; inset: 0 0 0 auto; width: 100%; height: 100%; z-index: -1; opacity: .9; }
@media (min-width: 700px) { .svc--bifu { grid-column: 1 / -1; min-height: 230px; } .svc--bifu .tri-deco { width: 46%; } .svc--bifu .svc-body { max-width: 52ch; } .svc--bifu h3 { font-size: 2rem; } }

/* ---------- Ein Fall, viele Hilfen ---------- */
.case { display: grid; gap: 32px; align-items: center; }
@media (min-width: 980px) { .case { grid-template-columns: 1fr 1fr; gap: 64px; } }
.net { position: relative; aspect-ratio: 1; width: min(100%, 520px); margin-inline: auto; }
.net svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.net .ln { stroke: var(--line); stroke-width: 1.5; stroke-dasharray: 5 7; transition: stroke .4s; }
.net .ln.is-on { stroke: var(--eau); stroke-dasharray: none; stroke-width: 2.5; }
.net .hub { position: absolute; left: 50%; top: 50%; width: 30%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; text-align: center; font-weight: 600; line-height: 1.2; font-size: clamp(.8rem, 1.6vw, 1rem); padding: 8px; box-shadow: 0 0 0 10px rgba(82, 197, 191, .16); }
.net .hub small { display: block; font-family: var(--f-label); font-weight: 400; letter-spacing: .1em; text-transform: uppercase; font-size: .68rem; color: var(--turq); margin-bottom: 2px; }
.node { position: absolute; width: 27%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 1.5px solid var(--line); background: var(--white); display: grid; place-items: center; text-align: center; padding: 8px; font-size: clamp(.72rem, 1.45vw, .92rem); font-weight: 600; line-height: 1.2; color: var(--ink); transition: background .35s, color .35s, border-color .35s, transform .45s var(--ease), box-shadow .35s; }
.node small { display: block; font-family: var(--f-label); font-weight: 400; letter-spacing: .08em; text-transform: uppercase; font-size: .66rem; color: var(--text-soft); margin-bottom: 3px; transition: color .35s; }
.node:hover { border-color: var(--eau); }
.node[aria-selected="true"] { background: var(--turq); border-color: var(--turq); transform: translate(-50%, -50%) scale(1.1); box-shadow: 0 16px 30px rgba(61, 167, 173, .3); }
.node[aria-selected="true"] small { color: var(--ink); }
.case-panel { min-height: 250px; display: grid; align-content: start; gap: 14px; }
.case-panel h3 { font-size: var(--fs-h3); }
.case-panel p { color: var(--text-soft); }
.case-step { animation: fade .5s var(--ease); display: grid; gap: 12px; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } }
.case-bar { height: 3px; background: var(--mist); border-radius: 3px; overflow: hidden; margin-top: 6px; }
.case-bar i { display: block; height: 100%; width: 100%; background: var(--eau); transform-origin: 0 50%; transform: scaleX(0); }
.case-bar i.run { animation: bar 7s linear forwards; }
@keyframes bar { to { transform: scaleX(1); } }

/* ---------- Werte ---------- */
.values { display: grid; gap: 10px; }
@media (min-width: 900px) { .values { grid-template-columns: repeat(5, 1fr); min-height: 380px; transition: grid-template-columns .6s var(--ease); } .values[data-on="0"] { grid-template-columns: 3fr 1fr 1fr 1fr 1fr; } .values[data-on="1"] { grid-template-columns: 1fr 3fr 1fr 1fr 1fr; } .values[data-on="2"] { grid-template-columns: 1fr 1fr 3fr 1fr 1fr; } .values[data-on="3"] { grid-template-columns: 1fr 1fr 1fr 3fr 1fr; } .values[data-on="4"] { grid-template-columns: 1fr 1fr 1fr 1fr 3fr; } }
.value { position: relative; text-align: left; border: 1px solid var(--line-dark); border-radius: var(--r); background: rgba(255, 255, 255, .03); color: var(--on-dark); padding: 54px 22px 22px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; min-width: 0; overflow: hidden; transition: background .4s, border-color .4s; }
.value .n { position: absolute; top: 18px; left: 22px; width: 0; height: 0; border-left: 13px solid transparent; border-right: 13px solid transparent; border-bottom: 21px solid rgba(255, 255, 255, .2); transition: border-bottom-color .4s, transform .6s var(--ease); }
.value h3 { font-size: 1.12rem; line-height: 1.25; letter-spacing: -.01em; }
.value p { color: var(--on-dark-soft); font-size: .96rem; }
.value[aria-expanded="true"] { background: var(--ink-soft); border-color: rgba(82, 197, 191, .5); }
.value[aria-expanded="true"] .n { border-bottom-color: var(--turq); transform: rotate(180deg); }
.value[aria-expanded="true"] h3 { font-size: 1.42rem; }
@media (min-width: 900px) { .value p { display: none; } .value[aria-expanded="true"] p { display: block; max-width: 46ch; } }

/* ---------- Bild/Text ---------- */
.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } .split--rev > :first-child { order: 2; } }
.split h2 { font-size: var(--fs-h2); margin-block: 16px 20px; }
.split p + p { margin-top: 14px; }
.frame { position: relative; border-radius: var(--r); overflow: hidden; }
.frame img { width: 100%; height: auto; }
.frame-deco { position: relative; }
.frame-deco::before { content: ""; position: absolute; right: -12px; bottom: -12px; width: 46%; aspect-ratio: 1; background: var(--turq); clip-path: polygon(100% 0, 100% 100%, 0 100%); border-radius: 0 0 var(--r) 0; z-index: 0; }
.frame-deco .frame { z-index: 1; }
.quote { font-size: clamp(1.5rem, 3.4vw, 2.7rem); font-weight: 620; letter-spacing: -.028em; line-height: 1.14; text-wrap: balance; max-width: 22ch; }
.quote-by { margin-top: 20px; font-family: var(--f-label); letter-spacing: .12em; text-transform: uppercase; font-size: .84rem; color: var(--on-dark-soft); }
.band { background: linear-gradient(120deg, var(--eau) 0%, var(--turq) 100%); color: var(--ink); }
.band .quote { max-width: 26ch; }
.band .quote-by { color: rgba(31, 39, 41, .75); }

/* ---------- Laufband ---------- */
.marq { overflow: hidden; border-block: 1px solid var(--line-dark); padding-block: 18px; background: var(--ink-deep); color: var(--on-dark); }
.marq-in { display: flex; gap: 46px; width: max-content; animation: marq 46s linear infinite; }
.marq:hover .marq-in { animation-play-state: paused; }
.marq span { font-family: var(--f-label); font-size: 1.1rem; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; display: flex; align-items: center; gap: 46px; }
.marq span::after { content: ""; width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 13px solid var(--turq); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- Karten allgemein ---------- */
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.card { border: 1px solid var(--line); border-radius: var(--r); padding: 24px; background: var(--white); display: grid; gap: 10px; align-content: start; transition: transform .4s var(--ease), border-color .3s, box-shadow .4s; }
.card:hover { transform: translateY(-4px); border-color: var(--eau); box-shadow: 0 18px 36px rgba(31, 39, 41, .08); }
.card h3, .card h4 { font-size: 1.14rem; line-height: 1.25; letter-spacing: -.01em; }
.card p { color: var(--text-soft); font-size: .97rem; }
.dark .card { background: rgba(255, 255, 255, .04); border-color: var(--line-dark); }
.dark .card p { color: var(--on-dark-soft); }

/* ---------- Abschluss-CTA + Fuß ---------- */
.cta { background: var(--ink); color: var(--on-dark); position: relative; overflow: hidden; }
.cta canvas.tri { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cta .wrap { position: relative; display: grid; gap: 28px; }
.cta h2 { font-size: var(--fs-h1); max-width: 16ch; }
.cta-grid { display: grid; gap: 14px; margin-top: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.cta-item { border-top: 1px solid var(--line-dark); padding-top: 16px; }
.cta-item small { font-family: var(--f-label); letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; color: var(--turq); display: block; margin-bottom: 6px; }
.cta-item a, .cta-item span { font-size: 1.15rem; font-weight: 550; text-decoration: none; overflow-wrap: anywhere; }
.cta-item a:hover { color: var(--turq); }
.foot { background: var(--ink-deep); color: var(--on-dark-soft); padding-block: 44px 28px; font-size: .93rem; }
.foot-top { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); padding-bottom: 32px; border-bottom: 1px solid var(--line-dark); }
.foot img { height: 96px; width: auto; }
.foot h3 { font-family: var(--f-label); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--turq); font-weight: 500; margin-bottom: 12px; }
.foot a { text-decoration: none; display: inline-block; padding: 4px 0; color: var(--on-dark); }
.foot a:hover { color: var(--turq); }
.foot li { line-height: 1.5; }
.foot-bot { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; padding-top: 20px; font-size: .86rem; }
.foot-bot nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.totop { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 80; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--turq); color: var(--ink); display: grid; place-items: center; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .3s, transform .4s var(--ease); box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.totop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.totop svg { width: 16px; height: 16px; transform: rotate(-90deg); }

/* ---------- Unterseiten: Kopf ---------- */
.phero { background: var(--ink); color: var(--on-dark); padding-top: calc(var(--head-h) + clamp(36px, 6vw, 80px)); padding-bottom: clamp(40px, 6vw, 80px); position: relative; overflow: hidden; }
.phero canvas.tri { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.phero .wrap { position: relative; display: grid; gap: 36px; align-items: center; }
@media (min-width: 980px) { .phero--img .wrap { grid-template-columns: 1.05fr .95fr; gap: 56px; } }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--f-label); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-soft); margin-bottom: 18px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--turq); }
.crumbs span::before { content: "/"; margin-right: 8px; opacity: .5; }
.phero h1 { font-size: var(--fs-h1); margin-bottom: 20px; overflow-wrap: break-word; hyphens: auto; }
.phero .lead { margin-bottom: 26px; }
.phero-img { border-radius: var(--r); overflow: hidden; position: relative; aspect-ratio: 4 / 3; }
.phero-img img { width: 100%; height: 100%; object-fit: cover; }
.js .phero-img { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); animation: unveil 1.1s var(--ease) both; }
@keyframes unveil { from { clip-path: polygon(50% 0, 50% 0, 100% 100%, 0 100%); opacity: .2; transform: translateY(20px); } }
.tiles { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line-dark); margin-top: clamp(32px, 5vw, 56px); position: relative; }
.tile { padding: 20px 18px 0 0; min-width: 0; }
@media (min-width: 760px) { .tiles { grid-template-columns: repeat(3, auto); justify-content: start; column-gap: clamp(32px, 6vw, 96px); } }
.tile b { display: block; font-family: var(--f-label); font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.1; color: var(--white); overflow-wrap: anywhere; }
.tile b a { text-decoration: none; } .tile b a:hover { color: var(--turq); }
.tile span { display: block; margin-top: 6px; font-size: .9rem; color: var(--on-dark-soft); }
.notice { border: 1px solid rgba(82, 197, 191, .5); background: rgba(82, 197, 191, .08); border-radius: var(--r); padding: 22px 24px; display: grid; gap: 10px; }
.notice strong { font-family: var(--f-label); letter-spacing: .12em; text-transform: uppercase; font-size: .86rem; color: var(--eau-dark); }
.dark .notice strong { color: var(--turq); }

/* ---------- Leistungsseiten: Inhalt ---------- */
.switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 4px; background: var(--white); gap: 2px; flex-wrap: wrap; }
.switch button { border: 0; background: none; padding: 9px 16px; border-radius: 999px; font-size: .92rem; font-weight: 550; color: var(--text-soft); transition: background .3s, color .3s; }
.switch button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.switch-row { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.switch-row > span { font-family: var(--f-label); letter-spacing: .1em; text-transform: uppercase; font-size: .84rem; color: var(--text-soft); }
.doc { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1000px) { .doc { grid-template-columns: 250px minmax(0, 1fr); gap: 56px; } }
.toc { position: sticky; top: calc(var(--head-h) + 20px); display: none; }
@media (min-width: 1000px) { .toc { display: block; } }
.toc h2 { font-family: var(--f-label); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft); font-weight: 500; margin-bottom: 10px; }
.toc a { display: block; padding: 8px 0 8px 14px; border-left: 2px solid var(--line); text-decoration: none; font-size: .9rem; line-height: 1.35; color: var(--text-soft); transition: color .25s, border-color .25s; }
.toc a:hover { color: var(--ink); }
.toc a.is-on { color: var(--ink); border-left-color: var(--eau); font-weight: 600; }
.acc { display: grid; gap: 14px; min-width: 0; }
.acc-item { border: 1px solid var(--line); border-radius: var(--r); background: var(--white); overflow: hidden; transition: border-color .3s, box-shadow .4s; }
.acc-item.is-open { border-color: var(--eau); box-shadow: 0 18px 40px rgba(31, 39, 41, .07); }
.acc-item.is-dim { opacity: .5; }
.acc-btn { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; text-align: left; background: none; border: 0; padding: clamp(18px, 2.4vw, 26px); }
.acc-btn h2 { font-size: clamp(1.12rem, 1.7vw, 1.4rem); line-height: 1.25; letter-spacing: -.015em; font-weight: 620; }
.acc-btn .kind { display: block; font-family: var(--f-label); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--eau-dark); font-weight: 500; margin-bottom: 6px; }
.acc-item[data-aud="bewerber"] .kind { color: var(--ink); background: var(--turq); display: inline-block; border-radius: 4px; padding: 2px 8px; }
.acc-ico { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); position: relative; flex: none; transition: background .3s, border-color .3s, transform .5s var(--ease); }
.acc-ico::before, .acc-ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .4s var(--ease), background .3s; }
.acc-ico::after { transform: translate(-50%, -50%) rotate(90deg); }
.is-open .acc-ico { background: var(--ink); border-color: var(--ink); transform: rotate(180deg); }
.is-open .acc-ico::before, .is-open .acc-ico::after { background: var(--white); }
.is-open .acc-ico::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.is-open > .acc-panel { grid-template-rows: 1fr; }
.acc-in { overflow: hidden; min-height: 0; }
.acc-body { padding: 0 clamp(18px, 2.4vw, 26px) clamp(20px, 2.6vw, 30px); }
html:not(.js) .acc-panel { grid-template-rows: 1fr; }

.rich { display: grid; gap: 16px; max-width: 76ch; }
.rich > p { color: var(--text-soft); }
.rich a { color: var(--eau-dark); text-decoration-color: var(--turq); text-underline-offset: 3px; }
.rich h3 { font-size: 1.3rem; margin-top: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.rich h3:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.rich h4 { font-size: 1.06rem; letter-spacing: -.005em; line-height: 1.3; }
.rich .label { font-weight: 650; color: var(--ink); margin-top: 6px; }
.rich ul.dots { display: grid; gap: 8px; }
.rich ul.dots li { position: relative; padding-left: 22px; color: var(--text-soft); }
.rich ul.dots li::before { content: ""; position: absolute; left: 2px; top: .52em; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 8px solid var(--eau); }
.feat { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); max-width: none; }
.feat-item { border: 1px solid var(--line); border-radius: var(--r-s); padding: 16px 18px; background: var(--paper); display: grid; gap: 6px; align-content: start; transition: border-color .3s, transform .4s var(--ease), background .3s; }
.feat-item:hover { border-color: var(--eau); background: var(--white); transform: translateY(-2px); }
.feat-item p { color: var(--text-soft); font-size: .96rem; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px; max-width: none; }
.ticks li { display: flex; align-items: center; gap: 8px; padding: 9px 14px 9px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-weight: 550; font-size: .95rem; line-height: 1.25; }
.ticks li::before { content: ""; flex: none; width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 10px solid var(--eau); }

/* ---------- Textseiten ---------- */
.prose { max-width: 74ch; display: grid; gap: 16px; }
.prose h2 { font-size: 1.6rem; margin-top: 20px; }
.prose h3 { font-size: 1.22rem; margin-top: 18px; letter-spacing: -.01em; }
.prose p, .prose li { color: var(--text-soft); }
.prose a { color: var(--eau-dark); }
.prose ul { display: grid; gap: 6px; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .52em; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 8px solid var(--eau); }
.prose ul.plain li { padding-left: 0; } .prose ul.plain li::before { display: none; }
.steps { display: grid; gap: 14px; counter-reset: s; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.step { counter-increment: s; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; background: var(--white); display: grid; gap: 8px; align-content: start; }
.step::before { content: "Weg " counter(s); font-family: var(--f-label); letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; color: var(--eau-dark); }
.step h3 { font-size: 1.14rem; line-height: 1.25; }
.step p { color: var(--text-soft); }

/* ---------- Jobs + Formulare ---------- */
.jobs { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.job { position: relative; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; background: var(--white); text-decoration: none; display: grid; gap: 10px; min-height: 200px; align-content: space-between; overflow: hidden; transition: color .35s, border-color .35s, transform .4s var(--ease); }
.job::before { content: ""; position: absolute; inset: 0; background: var(--ink); clip-path: polygon(100% 100%, 100% 100%, 100% 100%); transition: clip-path .6s var(--ease); }
.job:hover::before, .job:focus-visible::before { clip-path: polygon(-120% 100%, 100% -120%, 100% 100%); }
.job > * { position: relative; }
.job small { font-family: var(--f-label); letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; color: var(--eau-dark); transition: color .35s; }
.job h3 { font-size: 1.4rem; }
.job .more { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .93rem; }
.job .more svg { width: 14px; height: 14px; }
.job:hover, .job:focus-visible { color: var(--white); border-color: var(--ink); transform: translateY(-4px); }
.job:hover small, .job:focus-visible small { color: var(--turq); }
.form-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 940px) { .form-grid { grid-template-columns: .8fr 1.2fr; gap: 64px; } }
.contact-list { display: grid; gap: 0; }
.contact-list li { padding: 16px 0; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.contact-list small { font-family: var(--f-label); letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; color: var(--eau-dark); }
.contact-list a, .contact-list span { font-size: 1.1rem; font-weight: 550; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--eau-dark); }
.form { display: grid; gap: 16px; background: var(--paper); border-radius: var(--r); padding: clamp(20px, 3vw, 36px); }
.form-row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: .88rem; font-weight: 600; }
.field input, .field textarea, .field select { width: 100%; font: inherit; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-s); padding: 13px 14px; transition: border-color .25s, box-shadow .25s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--eau); box-shadow: 0 0 0 4px rgba(82, 197, 191, .25); }
.check { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: .9rem; color: var(--text-soft); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--eau); }
.check a { color: var(--eau-dark); }
.form-note { font-size: .88rem; color: var(--text-soft); }
.form-ok { border: 1px solid var(--eau); background: rgba(82, 197, 191, .12); border-radius: var(--r-s); padding: 14px 16px; font-weight: 550; }

/* ---------- Bewegung ---------- */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .rv.is-in { opacity: 1; transform: none; }
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .25s ease both vtOut; }
::view-transition-new(root) { animation: .45s var(--ease) both vtIn; }
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .js .rv { opacity: 1; transform: none; }
  .marq-in { animation: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
@media print { .head, .totop, .mob, canvas.tri { display: none !important; } .acc-panel { grid-template-rows: 1fr !important; } }
