/* Schülerkreis Nachhilfe Hanusch */

@font-face {
  font-family: 'Bricolage';
  src: url('/assets/fonts/bricolage.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: 'Jakarta';
  src: url('/assets/fonts/jakarta.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --brand: #F06A1C;
  --brand-ink: #B24708;
  --brand-soft: #FFE6D5;
  --ro: #6150E0;
  --ro-soft: #ECE9FF;
  --pr: #0B8384;
  --pr-soft: #D8F5F2;
  --sun: #FFD23F;
  --mint: #2DD4A0;
  --bg: #FFF8F1;
  --bg-alt: #FFFFFF;
  --surface: #FFFFFF;
  --text: #17123B;
  --muted: #5D5878;
  --line: rgba(23, 18, 59, .12);
  --edge: #17123B;
  --pop: #17123B;
  --on-brand: #17123B;
  --radius: 22px;
  --radius-lg: 32px;
  --maxw: 1180px;
  --gutter: 20px;
  --head-font: 'Bricolage', 'Jakarta', system-ui, sans-serif;
  --body-font: 'Jakarta', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --brand-ink: #FF9A5C;
  --brand-soft: #3A2316;
  --ro: #A99FFF;
  --ro-soft: #262056;
  --pr: #47D7CC;
  --pr-soft: #0E3638;
  --bg: #100C26;
  --bg-alt: #151032;
  --surface: #1C1740;
  --text: #F3F0FF;
  --muted: #B4AED6;
  --line: rgba(255, 255, 255, .13);
  --edge: #3B3573;
  --pop: #05030F;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--body-font);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head-font); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 10vw, 120px) 0; }
/* Sprungmarken landen unter dem festen Kopf, nicht dahinter. */
section[id] { scroll-margin-top: 84px; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: 1.18rem; color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 700; font-size: .86rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand-ink); margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 22px; height: 3px; border-radius: 3px; background: var(--brand); }
.hl { position: relative; z-index: 0; }
.hl::after {
  content: ''; position: absolute; left: -.08em; right: -.08em; bottom: .06em; height: .36em;
  background: var(--sun); border-radius: .2em; z-index: -1; transform: rotate(-1.2deg);
}
:root[data-theme="dark"] .hl::after { opacity: .55; }
.muted { color: var(--muted); }
.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 2000; background: var(--text); color: var(--bg); padding: 10px 14px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }

/* --- Kopf -------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: 76px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand img { width: 58px; height: auto; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.brand-text b { font-family: var(--head-font); font-size: 1.12rem; letter-spacing: -.01em; }
.brand-text small { font-size: .78rem; color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav a { text-decoration: none; font-weight: 600; font-size: .96rem; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { background: var(--brand-soft); }
.nav a[aria-current="page"] { background: var(--brand-soft); }
.head-actions { display: flex; align-items: center; gap: 8px; margin-left: 8px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; display: inline-grid; place-items: center;
  background: var(--surface); color: var(--text); border: 2px solid var(--line); cursor: pointer;
}
.icon-btn svg { width: 20px; height: 20px; }
.menu-btn { display: none; }
.theme-btn .moon { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: none; }
:root[data-theme="dark"] .theme-btn .moon { display: block; }

@media (max-width: 980px) {
  .menu-btn { display: inline-grid; }
  .head-actions .btn { display: none; }
  .head-actions { margin-left: auto; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 20px;
    transform: translateY(-120%); transition: transform .25s ease; z-index: -1;
  }
  .nav a { padding: 14px 12px; font-size: 1.08rem; }
  .nav.open { transform: translateY(0); }
}
@media (max-width: 640px) {
  .site-header .wrap { padding-left: var(--gutter); gap: 10px; height: 68px; }
  .nav { inset: 68px 0 auto 0; }
  .brand img { width: 46px; }
  .brand-text b { font-size: 1rem; }
  .brand-text small { font-size: .7rem; }
}

/* --- Knöpfe -------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.35em; border-radius: 999px; font: 700 1rem/1.1 var(--body-font);
  text-decoration: none; cursor: pointer; border: 2px solid var(--edge);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--brand); color: var(--on-brand); box-shadow: 4px 4px 0 var(--pop); border-color: #17123B; }
.btn-primary:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--pop); }
.btn-primary:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--pop); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--text); }
.btn-ro { background: var(--ro); color: #fff; border-color: var(--ro); }
.btn-pr { background: var(--pr); color: #fff; border-color: var(--pr); }
:root[data-theme="dark"] .btn-ro, :root[data-theme="dark"] .btn-pr { color: #100C26; }
.btn-sm { padding: .62em 1em; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* --- Karten & Sticker ------------------------------------------------------- */
.card {
  background: var(--surface); border: 2px solid var(--edge); border-radius: var(--radius);
  box-shadow: 6px 6px 0 var(--pop); padding: 28px;
}
.chip {
  display: inline-flex; align-items: center; gap: .45em; padding: .45em .9em; border-radius: 999px;
  background: var(--surface); border: 2px solid var(--line); font-weight: 600; font-size: .92rem;
}
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot-ro { background: var(--ro); }
.dot-pr { background: var(--pr); }
.sticker {
  position: absolute; display: inline-flex; align-items: center; gap: .5em;
  background: var(--surface); border: 2px solid var(--edge); border-radius: 16px;
  box-shadow: 4px 4px 0 var(--pop); padding: 10px 14px; font-weight: 700; font-size: .95rem;
}
.sticker small { display: block; font-weight: 600; color: var(--muted); font-size: .78rem; }
.badge {
  display: inline-block; background: var(--sun); color: #17123B; font-weight: 800; font-size: .74rem;
  letter-spacing: .08em; text-transform: uppercase; padding: .35em .7em; border-radius: 999px; border: 2px solid #17123B;
}

/* --- Hero --------------------------------------------------------------------- */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 96px); position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; width: 620px; height: 620px; right: -160px; top: -200px; z-index: -1;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand) 22%, transparent), transparent 65%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-locs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.hero h1 { margin-bottom: .35em; }
.hero .lead { max-width: 560px; margin-bottom: 28px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; font-weight: 600; font-size: .95rem; color: var(--muted); }
.trust span { display: inline-flex; align-items: center; gap: .45em; }
.hero-visual { position: relative; }
.hero-photo {
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; overflow: hidden; border: 3px solid var(--edge);
  box-shadow: 10px 10px 0 var(--pop); aspect-ratio: 1 / 1; background: #fff;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-visual .s1 { left: -14px; top: 14%; transform: rotate(-5deg); }
.hero-visual .s2 { right: -6px; top: 6%; transform: rotate(4deg); background: var(--sun); color: #17123B; }
.hero-visual .s3 { left: 12%; bottom: -10px; transform: rotate(2deg); }
.hero-visual .s3 i { font-style: normal; font-size: 1.3rem; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin: 10px auto 0; width: 100%; }
}

/* --- Fächer-Laufband ------------------------------------------------------ */
.marquee { border-block: 2px solid var(--edge); background: var(--brand); color: #17123B; overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee ul { display: flex; gap: 0; margin: 0; padding: 0; list-style: none; }
.marquee li { font: 800 clamp(1.1rem, 2.2vw, 1.5rem)/1 var(--head-font); padding: 18px 26px; white-space: nowrap; }
.marquee li::after { content: '✦'; margin-left: 52px; font-size: .8em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --- Vorteile ----------------------------------------------------------------- */
.usp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.usp { padding: 26px; }
.usp .ico {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--brand-soft); color: var(--brand-ink); border: 2px solid var(--edge);
}
.usp .ico svg { width: 26px; height: 26px; }
.usp:nth-child(2) .ico { background: var(--ro-soft); color: var(--ro); }
.usp:nth-child(3) .ico { background: var(--pr-soft); color: var(--pr); }
.usp:nth-child(4) .ico { background: color-mix(in srgb, var(--sun) 40%, var(--surface)); color: var(--text); }
.usp p { color: var(--muted); margin: 0; font-size: .98rem; }
@media (max-width: 980px) { .usp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .usp-grid { grid-template-columns: 1fr; } }

/* --- Zwei Standorte, ein Team ----------------------------------------------- */
.duo { background: var(--bg-alt); border-block: 1px solid var(--line); position: relative; overflow: hidden; }
.duo-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0; align-items: stretch; }
.loc { position: relative; display: flex; flex-direction: column; gap: 14px; }
.loc-ro { --loc: var(--ro); --loc-soft: var(--ro-soft); }
.loc-pr { --loc: var(--pr); --loc-soft: var(--pr-soft); }
.loc { background: linear-gradient(180deg, var(--loc-soft), var(--surface) 62%); }
.loc .loc-tag { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--loc); }
.loc .loc-tag::before { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--loc); }
.loc h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0; }
.loc .lead-by { margin: 0; font-weight: 600; }
.loc dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: .98rem; }
.loc dt { color: var(--muted); font-weight: 600; }
.loc dd { margin: 0; }
.loc dd a { color: var(--loc); font-weight: 700; text-decoration: none; }
.loc dd a:hover { text-decoration: underline; }
.loc .area { font-size: .92rem; color: var(--muted); margin: 0; }
.loc .btn-row { margin-top: auto; padding-top: 8px; }
.duo-link { display: grid; place-items: center; width: 120px; position: relative; }
.duo-link::before {
  content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 0;
  border-top: 3px dashed var(--edge); opacity: .5;
}
.duo-link .knot {
  position: relative; display: grid; place-items: center; gap: 2px; text-align: center;
  width: 92px; height: 92px; border-radius: 50%; background: var(--brand); color: #17123B;
  border: 2px solid #17123B; box-shadow: 4px 4px 0 var(--pop); font: 800 .78rem/1.1 var(--body-font);
}
.duo-link .knot svg { width: 28px; height: 28px; }
@media (max-width: 900px) {
  .duo-grid { grid-template-columns: 1fr; }
  .duo-link { width: auto; height: 110px; }
  .duo-link::before { left: 50%; right: auto; top: 0; bottom: 0; height: auto; border-top: 0; border-left: 3px dashed var(--edge); }
}

.boost { margin-top: clamp(56px, 8vw, 88px); }
.boost-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.boost-head h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0; max-width: 680px; }
.boost-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.boost-tile { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.boost-tile .flow { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: .8rem; letter-spacing: .04em; }
.boost-tile .flow .pill { padding: .3em .6em; border-radius: 999px; color: #fff; }
.boost-tile .flow .pill.ro { background: var(--ro); }
.boost-tile .flow .pill.pr { background: var(--pr); }
:root[data-theme="dark"] .boost-tile .flow .pill { color: #100C26; }
.boost-tile .flow svg { width: 18px; height: 18px; color: var(--brand-ink); }
.boost-tile h4 { font-size: 1.2rem; margin: 6px 0 0; }
.boost-tile p { margin: 0; color: var(--muted); font-size: .97rem; }
@media (max-width: 1080px) { .boost-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .boost-grid { grid-template-columns: 1fr; } }

.finder { margin-top: 44px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: center; }
.finder h3 { font-size: 1.6rem; }
.towns { display: flex; flex-wrap: wrap; gap: 8px; }
.towns button {
  font: 600 .95rem var(--body-font); color: var(--text); background: var(--surface);
  border: 2px solid var(--line); border-radius: 999px; padding: .5em .95em; cursor: pointer;
}
.towns button:hover { border-color: var(--text); }
.towns button[aria-pressed="true"][data-loc="ro"] { background: var(--ro); border-color: var(--ro); color: #fff; }
.towns button[aria-pressed="true"][data-loc="pr"] { background: var(--pr); border-color: var(--pr); color: #fff; }
.towns button[aria-pressed="true"][data-loc="online"] { background: var(--brand); border-color: #17123B; color: #17123B; }
.finder-result {
  margin: 18px 0 0; padding: 16px 18px; border-radius: 16px; background: var(--brand-soft); font-weight: 600; min-height: 3.4em;
}
.finder-result b { font-family: var(--head-font); font-size: 1.08em; }
@media (max-width: 900px) { .finder { grid-template-columns: 1fr; } }
.more-loc { margin: 36px 0 0; color: var(--muted); font-size: .95rem; text-align: center; }

/* --- Team ---------------------------------------------------------------------- */
.team-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.team-photo { position: relative; }
.team-photo figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 3px solid var(--edge); box-shadow: 10px 10px 0 var(--pop); aspect-ratio: 4 / 5; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.team-photo .sticker { left: 18px; bottom: -16px; transform: rotate(-2deg); }
.mix { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 30px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stat { background: var(--surface); border: 2px solid var(--line); border-radius: 18px; padding: 16px; }
.stat b { display: block; font: 800 clamp(1.6rem, 3vw, 2.2rem)/1 var(--head-font); margin-bottom: 6px; }
.stat span { font-size: .88rem; color: var(--muted); font-weight: 600; }
@media (max-width: 900px) {
  .team-grid { grid-template-columns: 1fr; }
  .team-photo { max-width: 420px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* --- Kurse --------------------------------------------------------------------- */
.course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.course { display: flex; flex-direction: column; gap: 12px; position: relative; }
.course.featured { background: var(--text); color: var(--bg); border-color: var(--text); }
.course.featured .muted, .course.featured li { color: color-mix(in srgb, var(--bg) 78%, transparent); }
.course .badge { position: absolute; top: -14px; right: 20px; }
.course .kicker { font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-ink); }
.course.featured .kicker { color: var(--brand); }
.course h3 { font-size: 1.75rem; margin: 0; }
.course .price { font: 800 2.3rem/1 var(--head-font); margin: 8px 0 0; }
.course .price small { font: 600 .95rem var(--body-font); }
.course ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: .97rem; }
.course li { display: flex; gap: .55em; color: var(--muted); }
.course li::before { content: '✓'; color: var(--brand); font-weight: 800; }
.course .btn { margin-top: auto; }
.course-note { text-align: center; margin-top: 30px; color: var(--muted); }
@media (max-width: 980px) { .course-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* --- Schritte ------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 30px 26px 26px; border-radius: var(--radius); background: var(--surface); border: 2px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; margin-bottom: 16px;
  background: var(--sun); color: #17123B; border: 2px solid #17123B; font: 800 1.4rem var(--head-font);
}
.step p { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* --- Lern-Apps ------------------------------------------------------------------ */
.apps { background: var(--text); color: var(--bg); }
.apps .eyebrow { color: var(--brand); }
.apps .lead { color: color-mix(in srgb, var(--bg) 75%, transparent); }
.apps-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.apps-shot { border-radius: 20px; overflow: hidden; border: 3px solid var(--brand); box-shadow: 10px 10px 0 var(--brand); transform: rotate(1.5deg); }
.apps .facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; }
.apps .facts li { border: 2px solid color-mix(in srgb, var(--bg) 30%, transparent); border-radius: 999px; padding: .4em .9em; font-weight: 600; font-size: .92rem; }
.apps .btn-primary { box-shadow: 4px 4px 0 var(--brand-soft); }
@media (max-width: 900px) { .apps-grid { grid-template-columns: 1fr; } }

/* --- Kontakt / Formular ----------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.call-cards { display: grid; gap: 14px; margin-top: 26px; }
.call {
  display: flex; align-items: center; gap: 16px; text-decoration: none; padding: 18px 20px;
  border-radius: 20px; border: 2px solid var(--line); background: var(--surface);
}
.call:hover { border-color: var(--text); }
.call .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none; color: #fff; }
.call-ro .ico { background: var(--ro); }
.call-pr .ico { background: var(--pr); }
:root[data-theme="dark"] .call .ico { color: #100C26; }
.call .ico svg { width: 22px; height: 22px; }
.call b { display: block; font-family: var(--head-font); font-size: 1.25rem; }
.call span { color: var(--muted); font-weight: 600; font-size: .92rem; }
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field > span, .fieldset legend { font-weight: 700; font-size: .92rem; }
.field input, .field select, .field textarea {
  font: 500 1rem var(--body-font); color: var(--text); background: var(--bg);
  border: 2px solid var(--line); border-radius: 14px; padding: .8em .9em; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); }
.field textarea { min-height: 110px; resize: vertical; }
.field-hint { font-weight: 500; color: var(--muted); }
.field-narrow { max-width: 220px; }
.fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick label { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pick label > span {
  display: inline-flex; align-items: center; gap: .45em; padding: .55em .95em; border-radius: 999px;
  border: 2px solid var(--line); background: var(--bg); font-weight: 600; font-size: .93rem;
}
.pick input:checked + span { background: var(--text); color: var(--bg); border-color: var(--text); }
.pick input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-done[data-kind="error"] { background: color-mix(in srgb, #b3261e 14%, var(--surface)); }
.form-done[data-kind="pending"] { background: var(--bg); }
.form-done { display: none; padding: 16px 18px; border-radius: 16px; background: var(--pr-soft); font-weight: 600; }
.form-done.show { display: block; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }

/* --- FAQ ------------------------------------------------------------------------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 2px solid var(--line); border-radius: 18px; padding: 0 22px; }
.faq details[open] { border-color: var(--edge); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 0; font: 700 1.1rem var(--head-font);
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.6rem; line-height: 1; color: var(--brand-ink); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 6px; }

/* --- Fuß ------------------------------------------------------------------------- */
.site-footer { border-top: 2px solid var(--edge); padding: 56px 0 40px; background: var(--bg-alt); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; }
.site-footer h4 { font-size: 1rem; margin-bottom: 12px; }
.site-footer p, .site-footer li { font-size: .94rem; color: var(--muted); margin: 0 0 6px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .88rem; color: var(--muted); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* --- Jobs-Seite ------------------------------------------------------------------ */
.jobs-hero .hero-photo { border-radius: 36px; aspect-ratio: 4 / 5; }
.jobs-hero .hero-photo img { object-position: 50% 30%; }
.perk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.perk { padding: 26px; }
.perk .ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; background: var(--brand-soft); color: var(--brand-ink); border: 2px solid var(--edge); }
.perk .ico svg { width: 24px; height: 24px; }
.perk:nth-child(3n+2) .ico { background: var(--ro-soft); color: var(--ro); }
.perk:nth-child(3n) .ico { background: var(--pr-soft); color: var(--pr); }
.perk p { margin: 0; color: var(--muted); font-size: .98rem; }
@media (max-width: 980px) { .perk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .perk-grid { grid-template-columns: 1fr; } }
.wanted { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.wanted .card h3 { display: flex; align-items: center; gap: .5em; }
.wanted ul { margin: 0; padding-left: 1.1em; color: var(--muted); display: grid; gap: 6px; }
.subjects { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
@media (max-width: 800px) { .wanted { grid-template-columns: 1fr; } }
.both-banner {
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
  background: linear-gradient(100deg, var(--ro-soft), var(--pr-soft)); border: 2px solid var(--edge);
  border-radius: var(--radius-lg); padding: 28px clamp(20px, 4vw, 40px); box-shadow: 6px 6px 0 var(--pop);
}
.both-banner .knot { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); border: 2px solid #17123B; color: #17123B; }
.both-banner .knot svg { width: 30px; height: 30px; }
.both-banner h3 { margin: 0 0 6px; font-size: 1.5rem; }
.both-banner p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .both-banner { grid-template-columns: 1fr; text-align: left; } }

/* --- Einblenden beim Scrollen ----------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .nav { transition: none; }
}

/* Rückmeldung nach klassischem Formularversand ohne JavaScript. */
.form-done:target { display: block; scroll-margin-top: 120px; }
