/* RegioTalents – Farben und Schriften wie im Schul-Flyer */
@font-face { font-family: "Space Grotesk"; src: url("/assets/fonts/space-grotesk.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Albert Sans"; src: url("/assets/fonts/albert-sans.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }

:root {
  --blue-50: #eef3fe;
  --blue-100: #d9e4fd;
  --blue-300: #85a6f7;
  --blue-400: #4c7cf0;
  --blue-500: #095ae0;
  --blue-600: #0847c2;
  --ink-950: #0b1220;
  --ink-800: #1c2536;
  --ink-700: #2b3648;
  --ink-600: #465065;
  --ink-500: #667085;
  --on-dark: #cfd6e2;
  --slate-200: #d5dbe4;
  --slate-100: #e8ecf2;
  --slate-50: #f4f6fa;
  --green-500: #17a673;
  --display: "Space Grotesk", "Albert Sans", system-ui, sans-serif;
  --body: "Albert Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 24px;
  --shadow: 0 1px 2px rgba(16, 42, 92, .06), 0 10px 30px rgba(16, 42, 92, .08);
  --shadow-lg: 0 24px 56px rgba(11, 18, 32, .35);
  --gutter: clamp(16px, 4vw, 32px);
  --gap-section: clamp(56px, 8vw, 104px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink-800); font: 400 1.0625rem/1.6 var(--body); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-600); }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; color: var(--ink-950); font-family: var(--display); font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.25rem); line-height: 1.03; letter-spacing: -.03em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.08; letter-spacing: -.025em; }
h3 { font-size: 1.25rem; line-height: 1.2; letter-spacing: -.015em; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: min(100% - 2 * var(--gutter), 1120px); margin-inline: auto; }
.section { margin-top: var(--gap-section); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: #fff; }
.skip:focus { left: 16px; }

.eyebrow { display: block; font: 700 .8125rem/1.3 var(--body); letter-spacing: .09em; text-transform: uppercase; color: var(--blue-600); }
.lead { font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); color: var(--ink-600); }
.sec-head { max-width: 680px; }
.sec-head h2 { margin-top: 10px; }
.sec-head p { margin-top: 14px; color: var(--ink-600); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.blue { color: var(--blue-500); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border: 1.5px solid transparent; border-radius: 999px; font: 600 1rem/1.2 var(--body); text-decoration: none; cursor: pointer; transition: background .12s, color .12s, border-color .12s, transform .12s; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--blue-500); color: #fff; }
.btn-primary:hover { background: var(--blue-600); }
.btn-white { background: #fff; color: var(--ink-950); }
.btn-white:hover { background: var(--blue-50); }
.btn-outline { border-color: var(--slate-200); background: #fff; color: var(--ink-950); }
.btn-outline:hover { border-color: var(--blue-500); color: var(--blue-600); }
.btn-ink { background: var(--ink-950); color: #fff; }
.btn-ink:hover { background: var(--ink-700); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Navigation */
.nav-shell { position: sticky; top: 14px; z-index: 50; height: 0; }
.nav { display: flex; align-items: center; gap: 8px; min-height: 68px; padding: 10px 12px 10px 24px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); }
.nav-logo { flex: none; margin-right: auto; }
.nav-logo img { width: 158px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; color: var(--ink-800); font-size: .96875rem; font-weight: 500; text-decoration: none; transition: background .12s, color .12s; }
.nav-links a:hover { background: var(--blue-50); color: var(--blue-600); }
.nav-links a[aria-current="page"] { color: var(--blue-600); font-weight: 600; }
.nav .btn { flex: none; min-height: 44px; margin-left: 8px; padding: 10px 20px; font-size: .96875rem; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--slate-50); color: var(--ink-950); cursor: pointer; }
.nav-toggle svg { display: block; margin: auto; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 128px 0 clamp(56px, 7vw, 88px); background: var(--ink-950); color: var(--on-dark); }
.hero h1, .hero h2, .hero h3 { color: #fff; }
.hero h1 em { display: block; color: var(--blue-400); font-style: normal; }
.hero .eyebrow { color: var(--blue-300); }
.hero::before { content: ""; position: absolute; left: 38%; top: -110px; width: 240px; height: 240px; border: 40px solid rgba(76, 124, 240, .3); border-radius: 50%; }
.hero::after { content: ""; position: absolute; right: -150px; bottom: -190px; width: 560px; height: 560px; border-radius: 999px 0 0 0; background: var(--blue-500); opacity: .9; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-grid-wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.hero h1 { margin-top: 16px; }
.hero-text { margin-top: 22px; max-width: 34em; font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); }
.hero-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo.stele img { object-position: 50% 12%; }
.hero-photo.landscape { aspect-ratio: 4 / 3; }
.chips { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 7px 14px; border-radius: 999px; background: #fff; color: var(--ink-950); font-size: .875rem; font-weight: 600; line-height: 1.3; box-shadow: 0 2px 8px rgba(11, 18, 32, .18); }
.hero.compact { padding-bottom: clamp(48px, 6vw, 72px); }
.hero.compact::after { width: 400px; height: 400px; right: -130px; bottom: -180px; }
.hero.compact .hero-inner { position: relative; z-index: 1; }

/* Blau-Panel (drei Schritte) */
.panel-blue { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: var(--r-lg); background: var(--blue-500); color: #fff; }
.panel-blue::after { content: ""; position: absolute; right: -90px; top: -90px; width: 240px; height: 240px; border: 36px solid rgba(255, 255, 255, .12); border-radius: 50%; pointer-events: none; }
.panel-blue h2 { margin-top: 10px; color: #fff; }
.panel-blue .eyebrow { color: var(--blue-100); }
.panel-blue p { margin-top: 14px; color: #fff; }
.panel-blue > * { position: relative; z-index: 1; }
.steps { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 16px 18px; border-radius: var(--r-md); background: #fff; color: var(--ink-600); font-size: 1rem; line-height: 1.45; }
.steps .num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink-950); color: #fff; font: 700 1rem var(--display); }
.steps h3 { font-size: 1.0625rem; margin-bottom: 2px; }

/* Bildkarten (WIN) */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.win-grid { margin-top: 40px; }
.win { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-md); box-shadow: var(--shadow); }
.win img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.win-title { padding: 14px 20px; background: var(--blue-500); }
.win-title h3 { color: #fff; }
.win-body { flex: 1; padding: 18px 20px 22px; background: var(--ink-950); color: var(--on-dark); font-size: 1rem; line-height: 1.5; }

/* WIN-Karten ohne Bild (Schulseite, wie im Flyer) */
.fact { padding: 26px 24px 28px; border-radius: var(--r-md); background: var(--slate-50); color: var(--ink-600); font-size: 1rem; line-height: 1.5; }
.fact h3 { margin: 16px 0 8px; }
.fact.dark { background: var(--ink-950); color: var(--on-dark); }
.fact.dark h3 { color: #fff; }
.icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue-100); color: var(--blue-600); }
.dark .icon { background: var(--ink-700); color: var(--blue-300); }
.icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* 0,00 €-Band */
.price-band { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; margin-top: 24px; padding: clamp(24px, 4vw, 36px) clamp(24px, 5vw, 48px); border-radius: var(--r-md); background: var(--blue-500); color: #fff; }
.price-band::after { content: ""; position: absolute; right: 8%; top: -70px; width: 220px; height: 220px; border: 30px solid rgba(255, 255, 255, .1); border-radius: 50%; }
.price-band strong { position: relative; z-index: 1; font: 700 clamp(3rem, 7vw, 4.75rem)/1 var(--display); letter-spacing: -.03em; white-space: nowrap; }
.price-band p { position: relative; z-index: 1; font-size: clamp(1.0625rem, 1.7vw, 1.25rem); font-weight: 600; line-height: 1.4; }

/* Getöntes Panel */
.panel-tint { padding: clamp(24px, 5vw, 56px); border-radius: var(--r-lg); background: var(--blue-50); }
.panel-tint .grid-3 { margin-top: 32px; }

/* Angebotskarten */
.offer { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--slate-200); border-radius: var(--r-md); background: #fff; color: inherit; text-decoration: none; box-shadow: 0 1px 2px rgba(16, 42, 92, .05); transition: transform .2s cubic-bezier(.22, 1, .36, 1), box-shadow .2s, border-color .2s; }
.offer:hover { transform: translateY(-2px); border-color: var(--blue-500); box-shadow: var(--shadow); }
.offer img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.offer-body { flex: 1; display: flex; flex-direction: column; padding: 18px 20px 20px; }
.offer h3 { margin-top: 10px; font-size: 1.125rem; overflow-wrap: anywhere; hyphens: auto; }
.offer .firma { margin-top: 4px; color: var(--ink-500); font-size: .9375rem; }
.offer .desc { margin-top: 10px; color: var(--ink-600); font-size: .9375rem; line-height: 1.5; }
.offer .meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: auto; padding-top: 14px; color: var(--ink-700); font-size: .875rem; font-weight: 500; }
.tag { display: inline-block; align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: var(--blue-50); color: var(--blue-600); font-size: .8125rem; font-weight: 700; }
.tag.ink { background: var(--ink-950); color: #fff; }

/* Dunkles Band: Eine Stele, drei Funktionen */
.band-dark { position: relative; overflow: hidden; margin-top: var(--gap-section); padding: var(--gap-section) 0; background: var(--ink-950); color: var(--on-dark); }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .eyebrow { color: var(--blue-300); }
.band-dark::after { content: ""; position: absolute; left: -130px; bottom: -130px; width: 340px; height: 340px; border: 44px solid rgba(76, 124, 240, .22); border-radius: 50%; }
.band-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.band-photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.band-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.band-grid h2 { margin-top: 10px; }
.band-text { margin-top: 16px; }
.funcs { margin: 28px 0 0; padding: 0; list-style: none; }
.funcs li { display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--ink-700); }
.funcs .no { color: var(--blue-400); font: 700 2.5rem/1 var(--display); letter-spacing: -.03em; }
.funcs p { margin-top: 4px; font-size: 1rem; line-height: 1.5; }
.funcs.light li { border-color: var(--slate-200); }
.funcs.light .no { color: var(--blue-500); }
.funcs.light p { color: var(--ink-600); }

/* Berufsfelder */
.field-grid { margin-top: 32px; }
.field { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 22px; border: 1px solid var(--slate-200); border-radius: var(--r-md); background: #fff; color: var(--ink-950); text-decoration: none; transition: transform .2s cubic-bezier(.22, 1, .36, 1), box-shadow .2s, border-color .2s; }
.field:hover { transform: translateY(-2px); border-color: var(--blue-500); box-shadow: var(--shadow); }
.field span { color: var(--ink-500); font-size: .9375rem; display: block; margin-top: 2px; }
.field svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--blue-500); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Zwei Zielgruppen */
.split-card { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; min-height: 320px; padding: clamp(28px, 4vw, 44px); border-radius: var(--r-lg); background: var(--slate-50); color: var(--ink-600); }
.split-card h2 { margin: 10px 0 14px; font-size: clamp(1.625rem, 2.6vw, 2.125rem); }
.split-card .btn { margin-top: auto; }
.split-card p { margin-bottom: 24px; }
.split-card.dark { background: var(--ink-950); color: var(--on-dark); }
.split-card.dark h2 { color: #fff; }
.split-card.dark .eyebrow { color: var(--blue-300); }
.split-card.dark::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 220px; height: 220px; border-radius: 999px 0 0 0; background: var(--blue-500); }
.split-card > * { position: relative; z-index: 1; }

/* SIEGEL */
.siegel { position: relative; overflow: hidden; padding: clamp(24px, 4vw, 44px); border-radius: var(--r-md); background: var(--blue-50); }
.siegel::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border: 28px solid var(--blue-100); border-radius: 50%; }
.siegel > * { position: relative; z-index: 1; }
.siegel h2 { font-size: clamp(1.5rem, 2.8vw, 2.125rem); padding-right: 90px; }
.siegel .src { margin-top: 10px; color: var(--ink-600); font-size: .9375rem; font-weight: 500; }
.crit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; margin: 24px 0; padding: 0; list-style: none; }
.crit li { display: flex; align-items: center; gap: 12px; color: var(--ink-950); font-weight: 500; line-height: 1.3; }
.crit b { flex: none; min-width: 52px; padding: 5px 12px; border-radius: 999px; background: var(--blue-500); color: #fff; font: 700 .9375rem var(--display); text-align: center; }
.neutral { display: flex; gap: 12px; align-items: flex-start; padding-top: 20px; border-top: 1px solid var(--blue-100); color: var(--ink-600); }
.neutral svg { flex: none; width: 24px; height: 24px; }
.neutral strong { color: var(--ink-950); }

/* Ablauf */
.flow { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 20px; margin: 36px 0 0; padding: 0; list-style: none; }
.flow li { padding: 24px; border-top: 3px solid var(--blue-500); border-radius: 0 0 var(--r-md) var(--r-md); background: var(--slate-50); color: var(--ink-600); font-size: 1rem; line-height: 1.5; }
.flow .eyebrow { margin-bottom: 8px; }
.flow h3 { margin-bottom: 6px; }

/* Steckbrief */
.spec { margin: 0; border-top: 1px solid var(--slate-200); }
.spec div { display: grid; grid-template-columns: 170px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--slate-200); }
.spec dt { color: var(--ink-950); font-weight: 600; }
.spec dd { margin: 0; color: var(--ink-600); }

/* FAQ */
.faq { max-width: 800px; margin-inline: auto; }
.faq h2 { text-align: center; margin-bottom: 32px; }
.faq details { border-bottom: 1px solid var(--slate-200); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 2px; color: var(--ink-950); font: 600 1.125rem/1.3 var(--display); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--blue-500); font-size: 1.625rem; font-weight: 500; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 34px 22px 2px; color: var(--ink-600); }

/* Kontakt */
.contact { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); padding: clamp(28px, 5vw, 56px); border-radius: var(--r-lg); background: var(--ink-950); color: var(--on-dark); }
.contact::after { content: ""; position: absolute; left: -90px; bottom: -120px; width: 320px; height: 320px; border-radius: 0 999px 0 0; background: var(--blue-500); opacity: .85; }
.contact > * { position: relative; z-index: 1; }
.contact h2 { margin-top: 10px; color: #fff; }
.contact .eyebrow { color: var(--blue-300); }
.contact-info { margin-top: 18px; }
.contact-info a { color: #fff; font-weight: 700; }
.contact-info p + p { margin-top: 8px; }
.form { display: grid; gap: 14px; padding: clamp(20px, 3vw, 28px); border-radius: var(--r-md); background: #fff; color: var(--ink-800); }
.form label { display: grid; gap: 6px; color: var(--ink-950); font-size: .9375rem; font-weight: 600; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea, .form select { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--slate-200); border-radius: var(--r-sm); background: var(--slate-50); color: var(--ink-950); font: 400 1rem var(--body); }
.form textarea { min-height: 96px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: 3px solid rgba(76, 124, 240, .35); border-color: var(--blue-500); }
.form .check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; color: var(--ink-600); font-size: .875rem; font-weight: 400; line-height: 1.4; }
.form .check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--blue-500); }
.form .btn { width: 100%; }
.form-note { color: var(--ink-500); font-size: .8125rem; line-height: 1.4; }
.form-note[data-state="sent"] { color: var(--green-500); font-weight: 600; }

/* CTA-Band wie Flyer-Rückseite */
.cta { position: relative; overflow: hidden; padding: clamp(28px, 5vw, 52px); border-radius: var(--r-lg); background: var(--ink-950); color: var(--on-dark); }
.cta::after { content: ""; position: absolute; right: -100px; bottom: -130px; width: 360px; height: 360px; border-radius: 999px 0 0 0; background: var(--blue-500); opacity: .85; }
.cta > * { position: relative; z-index: 1; }
.cta h2 { margin-top: 10px; color: #fff; }
.cta .eyebrow { color: var(--blue-300); }
.cta p { margin-top: 12px; max-width: 40em; }
.cta p a { color: #fff; font-weight: 700; }

/* Börse */
.filter { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; padding: 14px; border-radius: var(--r-md); background: #fff; }
.filter label { display: grid; gap: 4px; color: var(--ink-600); font-size: .8125rem; font-weight: 600; }
.filter input, .filter select { width: 100%; min-height: 46px; padding: 8px 12px; border: 1px solid var(--slate-200); border-radius: var(--r-sm); background: var(--slate-50); color: var(--ink-950); font: 400 1rem var(--body); }
.result-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 40px; }
.result-head p { color: var(--ink-950); font: 600 1.25rem var(--display); }
.reset { padding: 8px 0; border: 0; background: none; color: var(--blue-600); font: 600 .9375rem var(--body); cursor: pointer; text-decoration: underline; }
.offer-grid { margin-top: 20px; }
.empty { margin-top: 20px; padding: 40px 24px; border-radius: var(--r-md); background: var(--slate-50); text-align: center; color: var(--ink-600); }
[hidden] { display: none !important; }

/* Angebotsdetail */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 56px); align-items: start; margin-top: 48px; }
.detail-grid > div > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-md); }
.detail-grid h2 { margin: 36px 0 12px; font-size: 1.625rem; }
.back { display: inline-block; color: var(--blue-300); font-weight: 600; text-decoration: none; margin-bottom: 18px; }
.back:hover { text-decoration: underline; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tags .tag { background: var(--blue-50); }
.hero .tags .tag { background: rgba(255, 255, 255, .12); color: #fff; }
.apply { position: sticky; top: 104px; border: 1px solid var(--slate-200); box-shadow: var(--shadow); }
.apply h2 { margin: 0; font-size: 1.375rem; }

/* Rechtstexte */
.legal { max-width: 760px; padding-top: 56px; }
.legal h2 { margin: 36px 0 10px; font-size: 1.5rem; }
.legal h3 { margin: 22px 0 6px; font-size: 1.125rem; }
.legal p { margin-top: 10px; color: var(--ink-600); }

/* Footer */
.footer { position: relative; overflow: hidden; margin-top: var(--gap-section); padding: 64px 0 28px; background: var(--ink-950); color: var(--on-dark); font-size: .96875rem; }
.footer::before { content: ""; position: absolute; right: -80px; top: -110px; width: 280px; height: 280px; border: 40px solid rgba(76, 124, 240, .2); border-radius: 50%; }
.footer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer img { width: 170px; height: auto; filter: brightness(0) invert(1); }
.footer h3 { margin-bottom: 12px; color: #fff; font-size: 1rem; }
.footer ul { margin: 0; padding: 0; list-style: none; }
.footer li { margin-top: 8px; }
.footer a { color: var(--on-dark); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-claim { margin-top: 16px; max-width: 26em; }
.footer-base { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--ink-700); color: #94a0b6; font-size: .875rem; }
.footer-base a { color: inherit; }

@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav { flex-wrap: wrap; padding: 8px 8px 8px 20px; border-radius: 34px; }
  .nav > .btn { margin-left: 0; min-height: 40px; padding: 8px 16px; }
  .nav-links { display: none; order: 3; flex-basis: 100%; flex-direction: column; align-items: stretch; padding: 8px 12px 14px 0; }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 12px 14px; font-size: 1.0625rem; }
  .filter { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter label:first-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .hero-grid, .hero-grid-wide, .panel-blue, .band-grid, .contact, .detail-grid { grid-template-columns: minmax(0, 1fr); }
  .hero::after { width: 320px; height: 320px; right: -120px; bottom: -120px; }
  .hero::before { left: 62%; }
  .hero-photo { aspect-ratio: 4 / 4.4; max-width: 520px; }
  .band-photo { aspect-ratio: 4 / 3.4; }
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .offer-grid.grid-3, .field-grid.grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .apply { position: static; }
  .win img { aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  .hero-photo.landscape .chips { left: 10px; right: 10px; bottom: 10px; gap: 6px; }
  .hero-photo.landscape .chip { padding: 5px 10px; font-size: .75rem; }
  .grid-2, .crit, .filter { grid-template-columns: minmax(0, 1fr); }
  .filter label:first-child { grid-column: auto; }
  .offer-grid.grid-3, .field-grid.grid-3 { grid-template-columns: minmax(0, 1fr); }
  .price-band { grid-template-columns: minmax(0, 1fr); }
  .spec div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .nav-logo img { width: 138px; }
  .funcs li { grid-template-columns: 58px 1fr; }
  .funcs .no { font-size: 2rem; }
  .btns .btn { flex: 1 1 100%; }
  .split-card { min-height: 0; }
  .siegel h2 { padding-right: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Börse: Praktikumsplätze als kompakte Liste */
.group-title { margin-top: 36px; font-size: 1.5rem; }
.offer-list { margin: 16px 0 0; padding: 0; border-top: 1px solid var(--slate-200); list-style: none; }
.offer-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 20px; gap: 16px; align-items: center; padding: 14px 4px; border-bottom: 1px solid var(--slate-200); color: inherit; text-decoration: none; transition: background .12s; }
.offer-row:hover { background: var(--blue-50); }
.row-main strong { color: var(--ink-950); font-weight: 600; }
.row-main span { display: block; color: var(--ink-500); font-size: .9375rem; }
.row-meta { color: var(--ink-700); font-size: .875rem; font-weight: 500; }
.offer-row svg { width: 20px; height: 20px; fill: none; stroke: var(--blue-500); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 640px) {
  .offer-row { grid-template-columns: minmax(0, 1fr) 20px; gap: 2px 12px; }
  .row-meta { grid-column: 1; grid-row: 2; }
  .offer-row svg { grid-column: 2; grid-row: 1 / 3; }
}

.board-other { margin-top: 24px; color: var(--ink-600); }
.board-other a { font-weight: 600; }

/* Startseite: Einstiegskarten */
.win-link { color: inherit; text-decoration: none; transition: transform .2s cubic-bezier(.22, 1, .36, 1), box-shadow .2s; }
.win-link:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(16, 42, 92, .18); }

/* Bewerbungshilfe */
.help-grid { gap: clamp(28px, 5vw, 64px); align-items: center; }
.checks { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; color: var(--ink-600); }
.checks li { position: relative; padding-left: 28px; line-height: 1.45; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .3em; width: 14px; height: 8px; border-left: 2.5px solid var(--blue-500); border-bottom: 2.5px solid var(--blue-500); transform: rotate(-45deg) scale(.8); }
.checks strong { color: var(--ink-950); }
.sample { margin: 0; padding: clamp(24px, 4vw, 36px); border-radius: var(--r-lg); background: var(--blue-50); color: var(--ink-600); }
.sample blockquote { margin: 12px 0 16px; color: var(--ink-950); font: 500 1.1875rem/1.45 var(--display); }

@media (max-width: 380px) {
  .nav { padding-left: 14px; gap: 6px; }
  .nav-logo img { width: 112px; }
  .nav > .btn { padding: 8px 12px; font-size: .875rem; }
  .nav-toggle { width: 40px; height: 40px; }
}

/* Ausbildungsbörse: Filter als eigene Spalte links */
.board-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: start; margin-top: 40px; }
.board-layout .result-head { margin-top: 0; }
.board-layout .offer-grid.grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.board-layout aside { position: sticky; top: 104px; }
.filter.filter-side { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 0; padding: 22px; border: 1px solid var(--slate-200); box-shadow: var(--shadow); }
.filter.filter-side label:first-of-type { grid-column: auto; }
.filter-side h2 { font-size: 1.25rem; letter-spacing: -.015em; }
.filter-side .reset { justify-self: start; padding: 0; }
@media (max-width: 860px) {
  .board-layout { grid-template-columns: minmax(0, 1fr); }
  .board-layout aside { position: static; }
}
@media (max-width: 640px) {
  .board-layout .offer-grid.grid-3 { grid-template-columns: minmax(0, 1fr); }
}

/* Eigene Dropdowns mit Suche */
.filter-field { display: grid; gap: 4px; color: var(--ink-600); font-size: .8125rem; font-weight: 600; }
.board-layout aside { z-index: 5; }
.dd-trigger { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 46px; padding: 8px 12px 8px 14px; border: 1px solid var(--slate-200); border-radius: var(--r-sm); background: var(--slate-50); color: var(--ink-950); font: 400 1rem var(--body); text-align: left; cursor: pointer; transition: border-color .12s, background .12s; }
.dd-trigger:hover { border-color: var(--blue-400); background: #fff; }
.dd-trigger[aria-expanded="true"] { border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 3px rgba(76, 124, 240, .25); }
.dd-trigger.is-set { border-color: var(--blue-500); background: var(--blue-50); font-weight: 600; }
.dd-value { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd-trigger svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--blue-500); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s cubic-bezier(.22, 1, .36, 1); }
.dd-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.dd-panel { position: fixed; z-index: 40; overflow: hidden; border: 1px solid var(--slate-200); border-radius: var(--r-md); background: #fff; box-shadow: 0 24px 56px rgba(16, 42, 92, .22); animation: dd-in .12s ease-out; }
@keyframes dd-in { from { opacity: 0; transform: translateY(-4px); } }
.dd-search { display: flex; align-items: center; gap: 8px; padding: 4px 12px; border-bottom: 1px solid var(--slate-100); }
.dd-search svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--ink-500); stroke-width: 2; stroke-linecap: round; }
.filter .dd-search input { min-height: 42px; padding: 6px 0; border: 0; border-radius: 0; background: none; outline: none; }
.dd-list { max-height: 216px; margin: 0; padding: 6px; overflow-y: auto; overscroll-behavior: contain; list-style: none; }
.dd-option { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; padding: 8px 10px; border-radius: 10px; color: var(--ink-800); font-size: .96875rem; font-weight: 500; cursor: pointer; }
.dd-option small { flex: none; min-width: 24px; padding: 1px 7px; border-radius: 999px; background: var(--slate-100); color: var(--ink-600); font-size: .75rem; font-weight: 700; text-align: center; }
.dd-option.is-active { background: var(--blue-50); color: var(--blue-600); }
.dd-option[aria-selected="true"] { color: var(--blue-600); font-weight: 700; }
.dd-option.is-empty:not([aria-selected="true"]) { color: var(--ink-500); }
.dd-none { margin: 0; padding: 14px 16px 18px; color: var(--ink-500); font-size: .9375rem; font-weight: 500; }

/* Mehrfachauswahl und Umkreis */
.dd-name { display: flex; align-items: center; gap: 10px; min-width: 0; }
.dd-name::before { content: ""; flex: none; width: 18px; height: 18px; border: 1.5px solid var(--slate-200); border-radius: 5px; background: #fff; }
.dd-option[aria-selected="true"] .dd-name::before { border-color: var(--blue-500); background: var(--blue-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.dd-radius { display: grid; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--slate-100); color: var(--ink-950); font-size: .875rem; font-weight: 600; }
.dd-chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 3px; border-radius: 10px; background: var(--slate-100); }
.dd-chips button { min-height: 34px; padding: 4px 2px; border: 0; border-radius: 8px; background: none; color: var(--ink-700); font: 600 .8125rem var(--body); white-space: nowrap; cursor: pointer; }
.dd-chips button:hover:not(:disabled) { color: var(--blue-600); }
.dd-chips button[aria-pressed="true"]:not(:disabled) { background: var(--blue-500); color: #fff; }
.dd-chips button:disabled { color: var(--ink-500); cursor: not-allowed; }
.dd-hint { color: var(--ink-500); font-size: .8125rem; font-weight: 500; }
.dd-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 14px; border-top: 1px solid var(--slate-100); }
.dd-clear { padding: 6px 0; border: 0; background: none; color: var(--ink-600); font: 600 .875rem var(--body); text-decoration: underline; cursor: pointer; }
.dd-clear:hover { color: var(--blue-600); }
.dd-done { min-height: 36px; padding: 6px 16px; border: 0; border-radius: 999px; background: var(--blue-500); color: #fff; font: 600 .875rem var(--body); cursor: pointer; }
.dd-done:hover { background: var(--blue-600); }
.dd-panel:not([hidden]) { display: flex; flex-direction: column; max-height: calc(100dvh - 24px); }
.dd-list { flex: 0 1 auto; min-height: 84px; }
.dd-search, .dd-radius, .dd-foot { flex: none; }

/* Startseite für Schüler */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hero-search { display: flex; gap: 8px; max-width: 520px; margin-top: 26px; padding: 6px; border-radius: 999px; background: #fff; }
.hero-search input { flex: 1; min-width: 0; padding: 8px 8px 8px 18px; border: 0; border-radius: 999px; background: none; color: var(--ink-950); font: 400 1.0625rem var(--body); outline-offset: 2px; }
.hero-search .btn { flex: none; min-height: 44px; }
.hero-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; }
.hero-links a { color: #fff; font-weight: 600; text-underline-offset: 4px; }
.lust-grid { margin-top: 32px; }
.lust { position: relative; display: block; overflow: hidden; border-radius: var(--r-md); aspect-ratio: 4 / 3; background: var(--ink-950); color: #fff; text-decoration: none; box-shadow: var(--shadow); transition: transform .2s cubic-bezier(.22, 1, .36, 1); }
.lust:hover { transform: translateY(-3px); }
.lust img { width: 100%; height: 100%; object-fit: cover; opacity: .72; transition: opacity .2s; }
.lust:hover img { opacity: .55; }
.lust::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(11, 18, 32, .92)); }
.lust-text { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 16px; display: grid; gap: 2px; }
.lust-text strong { font: 700 1.25rem/1.15 var(--display); letter-spacing: -.015em; }
.lust-text small { color: var(--on-dark); font-size: .875rem; }
.home-praktika { margin-top: 36px; align-items: center; }
.panel-tint .offer-list { background: #fff; border-radius: var(--r-sm); padding: 0 14px; border: 0; }
.panel-tint .offer-list li:last-child .offer-row { border-bottom: 0; }
.video-mock { position: relative; max-width: 380px; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.video-mock img { width: 100%; height: 100%; object-fit: cover; }
.video-rec { position: absolute; left: 14px; top: 14px; display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(11, 18, 32, .8); color: #fff; font-size: .875rem; font-weight: 600; }
.video-rec .rec-dot { width: 10px; height: 10px; border-radius: 50%; background: #dd3b3b; }
.checks-dark { color: var(--on-dark); }
.checks-dark li::before { border-color: var(--blue-300); }
.stele-teaser { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(20px, 4vw, 44px); align-items: center; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-lg); background: var(--slate-50); color: var(--ink-600); }
.stele-teaser img { width: 100%; height: 240px; object-fit: cover; object-position: 50% 15%; border-radius: var(--r-md); }
.stele-teaser h2 { margin: 8px 0 10px; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.home-other { margin-top: 20px; color: var(--ink-600); font-size: .9375rem; text-align: center; }

/* Berufe */
.filter-one { grid-template-columns: minmax(0, 1fr) !important; max-width: 640px; }
.filter-one label:first-child { grid-column: auto; }
.beruf-grid { margin-top: 24px; }
.beruf-card { display: flex; flex-direction: column; gap: 8px; padding: 20px; border: 1px solid var(--slate-200); border-radius: var(--r-md); background: #fff; color: var(--ink-600); font-size: .9375rem; line-height: 1.5; text-decoration: none; transition: transform .2s cubic-bezier(.22, 1, .36, 1), box-shadow .2s, border-color .2s; }
.beruf-card:hover { transform: translateY(-2px); border-color: var(--blue-500); box-shadow: var(--shadow); }
.beruf-card h3 { font-size: 1.0625rem; overflow-wrap: anywhere; hyphens: auto; }
.beruf-meta { margin-top: auto; padding-top: 6px; color: var(--ink-700); font-size: .8125rem; font-weight: 600; }
.beruf-text h2 { margin-top: 32px; }
.beruf-text > h2:first-child { margin-top: 0; }
.beruf-links { margin: 12px 0 0; padding: 0; color: var(--ink-600); font-size: .9375rem; list-style: none; }
.beruf-links li { margin-top: 8px; }
.beruf-aside { position: sticky; top: 104px; display: grid; gap: 10px; padding: 22px; border: 1px solid var(--slate-200); border-radius: var(--r-md); box-shadow: var(--shadow); color: var(--ink-600); }
.beruf-aside h2 { margin: 0; font-size: 1.375rem; }
@media (max-width: 860px) {
  .beruf-aside { position: static; }
  .lust-grid.grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .beruf-grid.grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .lust-grid.grid-3, .beruf-grid.grid-3 { grid-template-columns: minmax(0, 1fr); }
  .lust { aspect-ratio: 16 / 9; }
  .stele-teaser { grid-template-columns: minmax(0, 1fr); }
  .stele-teaser img { height: 200px; }
  .video-mock { max-width: 100%; aspect-ratio: 4 / 3; }
  .hero-search .btn { padding-inline: 16px; }
}

/* Untermenü */
.nav-group { position: relative; display: flex; align-items: center; }
.nav-links .nav-group > a { padding-right: 4px; }
.nav-links a.is-active { color: var(--blue-600); font-weight: 600; }
.nav-caret { display: grid; place-items: center; width: 26px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--ink-800); cursor: pointer; }
.nav-caret:hover { background: var(--blue-50); color: var(--blue-600); }
.nav-caret svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s cubic-bezier(.22, 1, .36, 1); }
.nav-group.open .nav-caret svg { transform: rotate(180deg); }
.nav-sub { position: absolute; left: 0; top: 100%; z-index: 2; display: none; min-width: 200px; padding: 8px; border: 1px solid var(--slate-200); border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow); }
.nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-group:hover .nav-sub, .nav-group.open .nav-sub { display: block; }
.nav-sub a { display: block; }
@media (max-width: 1100px) {
  .nav-group { flex-wrap: wrap; }
  .nav-caret { display: none; }
  .nav-sub { position: static; display: block; flex-basis: 100%; min-width: 0; padding: 0 0 0 16px; border: 0; box-shadow: none; }
  .nav-sub::before { display: none; }
}

/* Magazin */
.mag-grid { margin-top: 0; }
.article { max-width: 760px; margin-top: 40px; color: var(--ink-700); }
.article-img { width: 100%; aspect-ratio: 16 / 8; margin-bottom: 28px; object-fit: cover; border-radius: var(--r-md); }
.article > p { margin-top: 14px; font-size: 1.125rem; }
.article > h2 { margin-top: 44px; font-size: clamp(1.5rem, 2.8vw, 2rem); }
.article .checks { margin-top: 16px; }
.article-steps { margin-top: 16px; }
.article-steps li { background: var(--slate-50); }
.article .sample { margin-top: 16px; }
.article-jobs { margin-top: 16px; }
.article .btns { margin-top: 44px; }

/* Berufe: Filterspalte und Sortierung */
.board-layout .beruf-grid.grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 16px; }
.beruf-sort { display: flex; align-items: center; gap: 10px; color: var(--ink-600); font-size: .875rem; font-weight: 600; }
.beruf-sort .dd-chips { grid-template-columns: repeat(3, auto); }
.beruf-sort .dd-chips button { padding-inline: 12px; }
.beruf-sort .dd-chips button[aria-pressed="true"] { background: var(--blue-500); color: #fff; }
.beruf-group { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; grid-column: 1 / -1; margin-top: 20px; padding-bottom: 8px; border-bottom: 2px solid var(--blue-500); font-size: 1.25rem; letter-spacing: -.015em; }
.beruf-group:first-child { margin-top: 0; }
.beruf-group small { color: var(--ink-500); font: 600 .875rem var(--body); letter-spacing: 0; }
@media (max-width: 640px) {
  .board-layout .beruf-grid.grid-3 { grid-template-columns: minmax(0, 1fr); }
  .beruf-sort { flex-wrap: wrap; }
}

/* Kacheln ohne Foto */
.lust-plain { background: var(--blue-500); }
.lust-plain:nth-child(even) { background: var(--ink-800); }
.lust-plain::before { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border: 26px solid rgba(255, 255, 255, .12); border-radius: 50%; }
.lust-plain::after { display: none; }
.lust-plain .lust-text small { color: #fff; }

/* Angebote auf der Berufeseite */
.beruf-aside h3 { margin-top: 8px; font-size: 1rem; }
.beruf-aside .offer-list { margin-top: 0; }
.beruf-aside .offer-row { grid-template-columns: minmax(0, 1fr) 20px; gap: 2px 10px; padding: 10px 2px; }
.beruf-aside .row-meta { grid-column: 1; grid-row: 2; }
.beruf-aside .offer-row svg { grid-column: 2; grid-row: 1 / 3; }
.beruf-card .tag { align-self: flex-start; }
