/* reinholdmagenheim.at – Stylesheet (Aufbau wie immovista) */

@font-face { font-family: "Manrope"; src: url("../fonts/manrope-var.woff") format("woff"); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
  --ink: #0F0F10;          /* Anthrazit: Header, dunkle Abschnitte, Buttons */
  --ink-2: #17171A;        /* Flächen auf Anthrazit */
  --ink-3: #1C1C1F;
  --ink-line: #2E2E32;
  --ink-line-2: #26262A;
  --gold: #C8A55A;         /* Akzent auf Dunkel, Buttons (immer mit dunklem Text) */
  --gold-text: #8A6A1F;    /* Gold als Text auf Hell */
  --gold-dark: #5E4812;
  --on-gold: #111111;
  --on-gold-2: #3A3220;
  --strong: #1A1A1A;
  --text: #4A4A4F;
  --muted: #55555A;
  --line: #E6E3DB;
  --line-strong: #CFCBC0;
  --alt: #F4F3EF;
  --soft: #FBFAF7;
  --ph: #E3E0D7;
  --on-dark: #F4F2EC;
  --on-dark-2: #C9C6BE;
  --on-dark-3: #B5B2AA;
  --on-dark-4: #8E8B83;
  --err: #B42318;
  --radius: 12px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #FFFFFF; color: var(--strong); font-family: var(--font); font-size: 17px; line-height: 1.6; }
img, svg, video { max-width: 100%; display: block; }
a { color: var(--gold-text); }
a:hover { color: var(--gold-dark); }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(38px, 5.2vw, 70px); line-height: 1.04; letter-spacing: -0.025em; }
h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.1; }
h3 { font-size: 21px; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold-text); outline-offset: 2px; border-radius: 4px; }
.dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }
section[id], main[id], form[id], div[id] { scroll-margin-top: var(--header-h); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--on-gold); padding: 10px 16px; border-radius: 4px; font-weight: 700; }
.skip:focus { top: 12px; color: var(--on-gold); }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 880px; }
.section { padding: 96px 0; }
.section--alt { background: var(--alt); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.section-head { max-width: 720px; margin-bottom: 48px; display: flex; flex-direction: column; gap: 16px; }
.section-head--split { max-width: none; flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 64px; }
.section-head--split > :first-child { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.section-head--split > p { flex: 1 1 380px; min-width: 0; }
.section-head--center { margin-left: auto; margin-right: auto; align-items: center; text-align: center; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text); }
.dark .eyebrow { color: var(--gold); }
.lead { font-size: 17px; line-height: 1.65; color: var(--text); }
.dark .lead { color: var(--on-dark-2); }
.muted { color: var(--muted); }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.grid--wide { grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.split { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: center; }
.split > * { flex: 1 1 380px; min-width: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 13px 22px; border-radius: 4px; border: 1px solid transparent; font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .12s ease; }
.btn:active { transform: scale(.98); }
.btn--gold { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
.btn--gold:hover { background: #D6B871; border-color: #D6B871; color: var(--on-gold); }
.btn--dark { background: var(--ink); color: #FFFFFF; border-color: var(--ink); }
.btn--dark:hover { background: #2A2A2E; color: #FFFFFF; }
.btn--outline-light { background: transparent; color: var(--on-dark); border-color: #5A574F; }
.btn--outline-light:hover { border-color: var(--gold); color: #FFFFFF; }
.btn--outline-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline-dark:hover { background: var(--alt); color: var(--ink); }
.btn--small { min-height: 44px; padding: 9px 14px; font-size: 15px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-weight: 700; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--ink); color: var(--on-dark); border-bottom: 1px solid var(--ink-line-2); transition: transform .25s ease, box-shadow .25s ease; }
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 16px; padding-bottom: 16px; transition: padding .25s ease; }
.site-header.is-scrolled .header-inner { padding-top: 10px; padding-bottom: 10px; }
.logo { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--on-dark); }
.logo:hover { color: #FFFFFF; }
.logo-name { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
.logo-sub { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 600; }
.nav a:not(.btn) { position: relative; color: #E6E3DB; text-decoration: none; padding: 8px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .3s ease; }
.nav a:not(.btn):hover::after { transform: scaleX(.4); }
.nav a:not(.btn):hover { color: #FFFFFF; }
.nav a[aria-current="page"], .nav a.is-active { color: #FFFFFF; }
.nav a.is-active::after { transform: scaleX(1); }
.nav a[aria-current="page"]::after { transform: scaleX(1); animation: navline .45s .15s ease both; }
.nav-mobile { display: none; align-items: center; gap: 8px; }
.menu-btn { width: 44px; height: 44px; border-radius: 4px; border: 1px solid #3A3A3F; background: transparent; color: var(--on-dark); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.menu-btn .icon-close { display: none; }
.menu-btn[aria-expanded="true"] .icon-open { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: block; }
.mobile-panel { border-top: 1px solid var(--ink-line-2); padding: 4px 24px 22px; background: var(--ink); }
.mobile-panel ul { list-style: none; padding: 0; }
.mobile-panel li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--ink-line-2); color: var(--on-dark); text-decoration: none; font-weight: 700; font-size: 18px; }
.mobile-panel a[aria-current="page"] { color: var(--gold); }
.mobile-panel .tel { display: inline-block; margin-top: 18px; font-weight: 700; color: var(--gold); text-decoration: none; }
@media (max-width: 1100px) { .nav { display: none; } .nav-mobile { display: flex; } }
@media (min-width: 1101px) { .mobile-panel { display: none !important; } }

/* Hero */
.hero { background: var(--ink); color: var(--on-dark); overflow: hidden; }
.hero-inner { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-end; padding-top: 72px; }
.hero-text { flex: 1 1 560px; min-width: 0; padding-bottom: 72px; display: flex; flex-direction: column; gap: 26px; }
.hero-text > p:not(.eyebrow) { max-width: 580px; font-size: 19px; line-height: 1.6; color: var(--on-dark-2); }
.hero--center .hero-inner { align-items: center; padding-bottom: 88px; }
.hero--center .hero-text { padding-bottom: 0; }
.hero-side { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; align-items: flex-end; }
.hero-side--center { align-items: center; }
.hero h1 { color: #FFFFFF; }
.checks { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 15px; font-weight: 600; color: #E6E3DB; }
.checks li { display: flex; align-items: center; gap: 10px; }
.checks svg { flex: none; color: var(--gold); }
.check-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; }
.check-list svg { flex: none; margin-top: 3px; color: var(--gold); }

/* Weg-Karten (Beratung / Karriere) */
.paths { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 6px; }
.path { flex: 1 1 260px; display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 8px; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.path--dark { background: #1A1A1C; border: 1px solid var(--ink-line); color: var(--on-dark); }
.path--dark:hover { color: var(--on-dark); border-color: var(--gold); }
.path--gold { background: var(--gold); border: 1px solid var(--gold); color: var(--on-gold); }
.path--gold:hover { color: var(--on-gold); }
.path-kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #A9A69E; }
.path--gold .path-kicker { color: var(--on-gold-2); }
.path-title { font-size: 26px; font-weight: 800; letter-spacing: -0.01em; }
.path-text { font-size: 15px; line-height: 1.55; color: var(--on-dark-2); }
.path--gold .path-text { color: #2A2418; }
.path-more { margin-top: 6px; font-size: 15px; font-weight: 800; color: var(--gold); }
.path--gold .path-more { color: var(--on-gold); }
@media (hover: hover) { .path:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(0,0,0,.35); } }

/* Bilder: Porträt im Bogen, Bildkasten */
.arch { width: 100%; max-width: 440px; height: 560px; margin: 0; border: 1px solid var(--gold); border-bottom: 0; border-radius: 220px 220px 0 0; overflow: hidden; position: relative; background: radial-gradient(120% 80% at 50% 100%, #2A261C 0%, #1A1916 60%, #141413 100%); }
.arch img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.arch--light { background: #FFFFFF; }
.arch--light img { object-position: top center; }
.media-box { margin: 0; width: 100%; border: 1px solid #3A3830; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.media-box img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Kennzahlen */
.stats { background: var(--ink-2); color: var(--on-dark); border-top: 1px solid var(--ink-line-2); }
.stats ul { list-style: none; margin: 0 auto; padding-top: 36px; padding-bottom: 36px; display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; }
.stats li { flex: 1 1 200px; display: flex; flex-direction: column; gap: 4px; }
.stats strong { font-size: 40px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; color: var(--gold); font-variant-numeric: tabular-nums; }
.stats span { font-size: 14px; color: var(--on-dark-3); }

/* Leitsatz */
.motto { max-width: 960px; margin: 0 auto; padding: 104px 24px 8px; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.motto::before { content: ""; width: 48px; height: 2px; background: var(--gold); }
.motto blockquote { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.motto p { font-size: clamp(24px, 3vw, 38px); line-height: 1.3; font-weight: 700; letter-spacing: -0.015em; color: var(--strong); }
.motto footer { font-size: 15px; font-weight: 700; letter-spacing: 0.04em; color: var(--gold-text); }

/* Karten */
.card { background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.card--soft { background: var(--soft); }
.card p { font-size: 15px; line-height: 1.6; color: var(--text); }
.card .kicker { font-size: 14px; font-weight: 800; color: var(--gold-text); }
.card .icon { color: var(--gold-text); }
.card-head { display: flex; align-items: center; gap: 14px; }
.icon-box { flex: none; width: 52px; height: 52px; border-radius: 10px; background: var(--ink); color: var(--gold); display: flex; align-items: center; justify-content: center; }
.card .qs { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.card .qs-title { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.card .qs ul { padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.5; }
.lift { transition: transform .2s ease, box-shadow .2s ease; }
@media (hover: hover) { .lift:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(15,15,16,.10); } }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tiles--2 { grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); }
.tiles > * { background: #FFFFFF; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.tiles .num { font-size: 14px; font-weight: 800; color: var(--gold-text); }
.tiles p { font-size: 15px; line-height: 1.6; color: var(--text); }

/* Schritte mit Linie */
.steps { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 28px; }
.steps li { flex: 1 1 220px; display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 2px solid var(--line-strong); }
.steps li:first-child { border-top-color: var(--gold-text); }
.steps .num { font-size: 14px; font-weight: 800; color: var(--gold-text); }
.steps strong { font-size: 19px; font-weight: 800; }
.steps span:last-child { font-size: 15px; line-height: 1.6; color: var(--text); }
.dark .steps li { border-top-color: #3A3A3F; }
.dark .steps li:first-child { border-top-color: var(--gold); }
.dark .steps .num { color: var(--gold); }
.dark .steps span:last-child { color: var(--on-dark-3); }

/* Karriere-Treppe */
.ladder-wrap { display: flex; flex-wrap: wrap; gap: 32px; align-items: stretch; }
.ladder { flex: 3 1 560px; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; align-items: flex-end; gap: 8px; height: 420px; }
.ladder li { flex: 1 1 0; min-width: 0; display: flex; }
.ladder li:nth-child(1) { height: 34%; } .ladder li:nth-child(2) { height: 46%; } .ladder li:nth-child(3) { height: 57%; }
.ladder li:nth-child(4) { height: 69%; } .ladder li:nth-child(5) { height: 83%; } .ladder li:nth-child(6) { height: 100%; }
.step-btn { flex: 1 1 auto; width: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 6px; padding: 14px 9px; border: 1px solid #34343A; border-bottom: 0; border-radius: 6px 6px 0 0; background: var(--ink-3); color: #E6E3DB; text-align: left; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.step-btn:hover { border-color: var(--gold); }
.step-btn .lvl { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-4); }
.step-btn .nm { font-size: 13px; font-weight: 800; line-height: 1.25; overflow-wrap: break-word; hyphens: manual; }
.step-btn[aria-selected="true"], .step-btn.is-top { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.step-btn[aria-selected="true"] .lvl, .step-btn.is-top .lvl { color: var(--on-gold-2); }
.step-btn .who { font-size: 12px; font-weight: 600; color: var(--on-dark-4); }
.step-btn[aria-selected="true"] .who, .step-btn.is-top .who { color: var(--on-gold-2); }
span.step-btn { cursor: default; }
span.step-btn:hover { border-color: #34343A; }
span.step-btn.is-top:hover { border-color: var(--gold); }
.split--ladder > :last-child { flex: 1.4 1 520px; }
.ladder-panel { flex: 2 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; padding: 32px; background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: var(--radius); }
.ladder-panel h3 { font-size: 28px; line-height: 1.15; overflow-wrap: break-word; hyphens: manual; }
.ladder-panel p { font-size: 16px; line-height: 1.65; color: var(--on-dark-2); }
.ladder-panel .people { display: flex; flex-direction: column; gap: 6px; padding-top: 16px; border-top: 1px solid var(--ink-line); }
.ladder-panel .people span:first-child { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-4); }
.ladder-panel .people span:last-child { font-size: 16px; font-weight: 700; line-height: 1.5; }
.ladder-nav { display: flex; gap: 10px; margin-top: auto; padding-top: 8px; }
.ladder-nav .btn { flex: 1 1 0; }
.ladder-nav .btn[disabled] { opacity: .4; cursor: default; }
.ladder-note { font-size: 13px; color: var(--on-dark-4); }
/* Handy: Treppe liegt quer – höhere Stufe = längerer Balken, oberste Stufe oben */
@media (max-width: 640px) {
  .ladder { flex-direction: column-reverse; align-items: stretch; height: auto; gap: 6px; }
  .ladder li { height: auto !important; }
  .ladder li:nth-child(1) { width: 56%; } .ladder li:nth-child(2) { width: 64%; } .ladder li:nth-child(3) { width: 72%; }
  .ladder li:nth-child(4) { width: 81%; } .ladder li:nth-child(5) { width: 90%; } .ladder li:nth-child(6) { width: 100%; }
  .step-btn { min-height: 56px; padding: 10px 14px; border: 1px solid #34343A; border-left-width: 0; border-radius: 0 6px 6px 0; justify-content: center; gap: 2px; }
  .step-btn .nm { font-size: 14px; }
}

/* Persönlichkeit */
.traits { display: flex; flex-direction: column; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.traits ul { list-style: none; padding: 0; }
.traits li { display: flex; gap: 16px; align-items: flex-start; padding: 22px 28px; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.55; }
.traits li svg { flex: none; margin-top: 2px; color: var(--gold-text); }
.traits > p { padding: 22px 28px; font-size: 18px; line-height: 1.5; font-weight: 800; }
.badge { align-self: flex-start; padding: 9px 14px; background: var(--ink); color: var(--gold); border-radius: 4px; font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }

/* Team */
.avatar { flex: none; width: 88px; height: 88px; border-radius: 999px; background: var(--ph); color: #7A7466; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar--lg { width: 128px; height: 128px; font-size: 28px; }
/* Team-Laufband (Startseite): eine Reihe, wischen oder Pfeile, kein automatisches Weiterlaufen */
.team-row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 20px) / 6); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; padding: 6px 4px 10px; margin: -6px -4px 0; }
.team-row::-webkit-scrollbar { display: none; }
@media (max-width: 1099px) { .team-row { grid-auto-columns: calc((100% - 3 * 20px) / 4); } }
@media (max-width: 640px) { .team-row { grid-auto-columns: 42%; gap: 16px; } }
.team-row li { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; scroll-snap-align: start; min-width: 0; }
.team-row strong, .team-row span { max-width: 100%; hyphens: manual; -webkit-hyphens: manual; overflow-wrap: break-word; }
.slider-nav { display: none; gap: 10px; }
.js .slider-nav { display: flex; }
.slider-btn { width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: inherit; font-size: 18px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background-color .2s ease, color .2s ease, opacity .2s ease; }
.slider-btn:hover:not([disabled]) { background: var(--ink); color: #FFFFFF; }
.slider-btn[disabled] { opacity: .3; cursor: default; }
.team-row strong { font-size: 16px; }
.team-row span { font-size: 13px; color: var(--muted); }
.team-card { display: flex; flex-direction: column; gap: 16px; }
.team-card .who { display: flex; align-items: center; gap: 16px; }
.team-card .who span { display: flex; flex-direction: column; gap: 4px; }
.team-card .who strong { font-size: 18px; }
.team-card .who small { font-size: 14px; color: var(--muted); }
.team-card blockquote { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text); font-style: italic; }
.team-card a { margin-top: auto; font-size: 14px; font-weight: 700; }
.list-plain { list-style: none; padding: 0; }
.intro-box { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; padding: 32px; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); margin-top: 32px; }
.intro-box > * { flex: 1 1 380px; min-width: 0; }

/* Video */
.video-box { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #1A1916; }
.video-box video, .video-box img { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-link { display: block; }
.video-link img { transition: transform .4s ease, opacity .3s ease; }
.video-link:hover img, .video-link:focus-visible img { transform: scale(1.02); opacity: .85; }
.video-play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--gold); color: #111111; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.35); transition: transform .2s ease; }
.video-play svg { width: 30px; height: 30px; margin-left: 4px; }
.video-link:hover .video-play, .video-link:focus-visible .video-play { transform: scale(1.08); }

/* Siegel */
.seal { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--strong); }
.seal:hover { color: var(--strong); border-color: var(--gold-text); }
/* Siegel sind für dunklen Grund gemacht (weiße Schrift) – darum immer auf Anthrazit */
.seal-img { flex: none; width: 88px; height: 88px; border-radius: 999px; background: var(--ink); padding: 3px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.seal-img img { width: 100%; height: 100%; object-fit: contain; }
.seal span:last-child { display: flex; flex-direction: column; gap: 4px; min-width: 0; overflow-wrap: break-word; }
.seal strong { font-size: 16px; }
.seal small { font-size: 14px; font-weight: 700; color: var(--gold-text); }

/* Seminar */
.event { display: flex; flex-wrap: wrap; border-radius: var(--radius); overflow: hidden; background: var(--ink); color: var(--on-dark); }
.event-date { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 40px; background: var(--gold); color: var(--on-gold); }
.event-date .day { font-size: 15px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.event-date .dd { font-size: 88px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.event-date .mm { font-size: 26px; font-weight: 800; }
.event-date .tt { margin-top: 10px; font-size: 15px; font-weight: 600; }
.event-body { flex: 2 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 20px; padding: 40px; }
.event-body ul { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 16px; color: var(--on-dark-2); }
.event-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); border: 1px solid var(--ink-line); color: var(--on-dark); }
.event-card .head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 28px 32px; background: var(--gold); color: var(--on-gold); }
.event-card .head .dd { font-size: 64px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.event-card .head .mm { font-size: 22px; font-weight: 800; }
.event-card .head .wd { font-size: 15px; font-weight: 700; }
.event-card dl { margin: 0; padding: 28px 32px 16px; display: grid; grid-template-columns: auto 1fr; gap: 14px 20px; font-size: 16px; line-height: 1.5; }
.event-card dt { color: var(--on-dark-4); font-weight: 700; }
.event-card dd { margin: 0; }
.event-card .route { margin: 0 32px 28px; font-size: 15px; font-weight: 700; color: var(--gold); }

/* FAQ */
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 800; font-size: 18px; }
.acc .answer { margin: 0 0 20px; color: var(--text); max-width: 760px; }
.chev { flex: none; color: var(--gold-text); transition: transform .25s ease; }
details[open] > summary .chev { transform: rotate(180deg); }
details[open] .answer { animation: fadein .3s ease both; }

/* Kontakt-Kasten */
.cta-box { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: center; justify-content: space-between; padding: 48px; background: var(--ink); color: var(--on-dark); border-radius: var(--radius); }
.cta-box > div:first-child { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.cta-box h2 { font-size: clamp(28px, 3vw, 40px); }
.cta-box p { color: var(--on-dark-2); }
.contact-card { display: flex; flex-direction: column; gap: 18px; padding: 32px; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); font-size: 16px; }
.contact-card .row { display: flex; gap: 14px; align-items: flex-start; }
.contact-card .row svg { flex: none; margin-top: 2px; color: var(--gold-text); }
.contact-card .row a { color: var(--strong); text-decoration: none; }
.contact-card .row a:hover { text-decoration: underline; }

/* Formulare */
.form { display: flex; flex-direction: column; gap: 20px; padding: 36px; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); }
.form h2 { font-size: 30px; line-height: 1.15; }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.form legend { padding: 0 0 10px; font-size: 14px; font-weight: 700; }
.form-row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 700; }
.label-hint { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: 4px; background: #FFFFFF; font-size: 16px; font-weight: 400; }
.field textarea { resize: vertical; min-height: 120px; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--err); }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; border: 1.5px solid var(--line-strong); border-radius: 4px; background: #FFFFFF; font-size: 15px; font-weight: 600; cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.choice span::before { flex: none; content: ""; width: 16px; height: 16px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: #FFFFFF; box-shadow: inset 0 0 0 3px #FFFFFF; transition: background-color .2s ease, border-color .2s ease; }
.choice input:checked + span { border-color: var(--gold-text); background: var(--soft); }
.choice input:checked + span::before { border-color: var(--gold-text); background: var(--gold-text); }
.choice input:focus-visible + span { outline: 3px solid var(--gold-text); outline-offset: 2px; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.55; color: var(--text); }
.consent span { flex: 1 1 auto; min-width: 0; }
.consent input { flex: none; margin-top: 3px; width: 18px; height: 18px; accent-color: var(--gold-text); }
.guests { display: flex; flex-direction: column; gap: 16px; padding: 20px; background: var(--soft); border: 1px solid var(--line); border-radius: 8px; }
.guest { display: flex; flex-wrap: wrap; gap: 12px; }
.guest-title { flex: 0 0 100%; font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-text); }
.guest .field { flex: 1 1 180px; }
.error { font-size: 14px; color: var(--err); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { background: #FEF3F2; border: 1px solid #FECDCA; color: var(--err); border-radius: 6px; padding: 12px 14px; font-size: 15px; }
.form-note { font-size: 13px; color: var(--muted); }
.form .btn { align-self: flex-start; }

/* Seminar: Banner über dem Formular, gewählter Termin */
.seminar-banner { margin: 0 0 32px; border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px rgba(15,15,16,.12); background: var(--ph); }
.seminar-banner img { display: block; width: 100%; height: auto; }
.termin-info { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-left: 3px solid var(--gold); background: var(--alt); border-radius: 0 6px 6px 0; font-size: 15px; color: var(--text); }
.termin-info span { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-text); }
.termin-info strong { font-size: 17px; color: var(--ink); }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark-3); font-size: 15px; border-top: 1px solid var(--ink-line-2); }
.footer-grid { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); padding-top: 64px; padding-bottom: 40px; }
.site-footer a { color: var(--on-dark-3); text-decoration: none; }
.site-footer a:hover { color: #FFFFFF; text-decoration: underline; }
.footer-brand { display: flex; flex-direction: column; gap: 6px; }
.footer-brand .logo-name { color: var(--on-dark); }
.footer-title { font-size: 14px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 14px; }
.footer-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-seals { display: flex; gap: 14px; margin-top: 18px; }
.footer-seals a { width: 76px; height: 76px; border-radius: 999px; background: var(--ink); padding: 2px; display: flex; align-items: center; justify-content: center; transition: transform .2s ease; }
.footer-seals img { display: block; width: 100%; height: 100%; object-fit: contain; }
@media (hover: hover) { .footer-seals a:hover { transform: translateY(-2px); } }
.site-footer .btn--gold { color: var(--on-gold); margin-top: 16px; }
.site-footer .btn--gold:hover { text-decoration: none; color: var(--on-gold); }
.footer-bottom { border-top: 1px solid var(--ink-line-2); }
.footer-bottom .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 20px; padding-bottom: 20px; font-size: 14px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* Schwebende Knöpfe */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fab-cta { background: var(--gold); color: var(--on-gold); padding: 13px 20px; border-radius: 4px; font-weight: 800; font-size: 15px; text-decoration: none; box-shadow: 0 10px 24px rgba(0,0,0,.28); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease, visibility .25s; }
.fab-cta:hover { color: var(--on-gold); }
.fab-cta.is-visible { opacity: 1; visibility: visible; transform: none; }
.fab-call { width: 56px; height: 56px; border-radius: 999px; background: var(--ink); color: var(--gold); display: none; align-items: center; justify-content: center; border: 1px solid var(--gold); box-shadow: 0 8px 20px rgba(0,0,0,.3); }
@media (max-width: 1100px) { .fab-call { display: flex; } .site-footer { padding-bottom: 88px; } }

/* Rechtliches */
.legal { max-width: 760px; margin: 0 auto; padding: 64px 24px 96px; display: flex; flex-direction: column; gap: 28px; }
.legal h1 { font-size: clamp(32px, 4vw, 44px); }
.legal h2 { font-size: 21px; }
.legal section { display: flex; flex-direction: column; gap: 10px; }
.legal p, .legal li, .legal dd { color: var(--text); }
.legal ul { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.legal dl { margin: 0; display: grid; grid-template-columns: minmax(140px, 230px) 1fr; gap: 8px 20px; }
.legal dt { font-weight: 700; color: var(--strong); }
.legal dd { margin: 0; }
@media (max-width: 560px) { .legal dl { grid-template-columns: 1fr; gap: 2px; } .legal dd { margin-bottom: 10px; } }
.todo { background: #FFF1C7; padding: 0 4px; border-radius: 3px; }

/* Danke, 404 */
.center-page { max-width: 720px; margin: 0 auto; padding: 96px 24px 120px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.center-page h1 { font-size: clamp(30px, 4vw, 46px); }
.center-page p { font-size: 18px; color: var(--text); }
.big-check { width: 80px; height: 80px; border-radius: 999px; background: var(--ink); color: var(--gold); display: flex; align-items: center; justify-content: center; }
.code-404 { font-weight: 800; font-size: 96px; line-height: 1; color: var(--line-strong); }
.row-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }

/* Animationen */
@keyframes fadein { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.fade-in { animation: fadein .3s ease both; }

/* Goldener Bogen zeichnet sich beim Laden (Linie per SVG aus main.js, danach wieder normaler Rahmen) */
.arch.is-drawing { border-color: transparent; }
.arch-line { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.arch-line path { fill: none; stroke: var(--gold); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s .25s cubic-bezier(.5, 0, .2, 1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Karrieretreppe: Balken wachsen nacheinander von unten, Stufe 6 wird zum Schluss gold */
.js .ladder.anim .step-btn { clip-path: inset(100% -8px -8px -8px); transition: clip-path .7s cubic-bezier(.3, 0, .2, 1), background-color .2s ease, color .2s ease, border-color .2s ease; }
.js .ladder.anim.is-in .step-btn { clip-path: inset(-8px -8px -8px -8px); }
.js .ladder.anim li:nth-child(2) .step-btn { transition-delay: .1s, 0s, 0s, 0s; }
.js .ladder.anim li:nth-child(3) .step-btn { transition-delay: .2s, 0s, 0s, 0s; }
.js .ladder.anim li:nth-child(4) .step-btn { transition-delay: .3s, 0s, 0s, 0s; }
.js .ladder.anim li:nth-child(5) .step-btn { transition-delay: .4s, 0s, 0s, 0s; }
.js .ladder.anim li:nth-child(6) .step-btn { transition-delay: .5s, 0s, 0s, 0s; }
.js .ladder.anim:not(.is-in) .step-btn.is-top { background: var(--ink-3); border-color: #34343A; color: #E6E3DB; }
.js .ladder.anim:not(.is-in) .step-btn.is-top .lvl, .js .ladder.anim:not(.is-in) .step-btn.is-top .who { color: var(--on-dark-4); }
.js .ladder.anim .step-btn.is-top .lvl, .js .ladder.anim .step-btn.is-top .who { transition: color .5s 1.1s ease; }
.js .ladder.anim.is-in .step-btn.is-top { transition: clip-path .7s .5s cubic-bezier(.3, 0, .2, 1), background-color .5s 1.1s ease, color .5s 1.1s ease, border-color .5s 1.1s ease; }
@media (max-width: 640px) {
  .js .ladder.anim .step-btn { clip-path: inset(-8px 100% -8px -8px); }
}

/* Abläufe: Goldlinie füllt sich Schritt für Schritt von links */
.js .steps.anim li { position: relative; border-top-color: var(--line-strong); }
.js .dark .steps.anim li { border-top-color: #3A3A3F; }
.js .steps.anim li::before { content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: var(--gold-text); transform: scaleX(0); transform-origin: left center; transition: transform .6s cubic-bezier(.3, 0, .2, 1); }
.js .dark .steps.anim li::before { background: var(--gold); }
.js .steps.anim.is-in li::before { transform: scaleX(1); }
.js .steps.anim li:nth-child(2)::before { transition-delay: .35s; }
.js .steps.anim li:nth-child(3)::before { transition-delay: .7s; }
.js .steps.anim li:nth-child(4)::before { transition-delay: 1.05s; }

/* Pfeile rücken beim Drüberfahren ein Stück weiter */
.arr { display: inline-block; transition: transform .2s ease; }
a:hover .arr, a:focus-visible .arr, button:hover:not([disabled]) .arr, button:focus-visible .arr { transform: translateX(3px); }
a:hover .arr--back, a:focus-visible .arr--back, button:hover:not([disabled]) .arr--back, button:focus-visible .arr--back { transform: translateX(-3px); }

@keyframes navline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes panelin { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.ladder-panel.fade-in { animation: panelin .35s ease both; }

@media (prefers-reduced-motion: reduce) {
  html, .team-row { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  *, *::before, *::after { transition-delay: 0s !important; animation-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .ladder.anim .step-btn { clip-path: none; }
  .js .steps.anim li::before { transform: scaleX(1); }
  .arch-line { display: none; }
  .arch.is-drawing { border-color: var(--gold); }
}

@media (max-width: 420px) {
  .logo-name { font-size: 17px; white-space: nowrap; }
  .logo-sub { font-size: 9.5px; letter-spacing: 0.12em; white-space: nowrap; }
  .header-inner { gap: 10px; }
  .nav-mobile { gap: 6px; }
  .nav-mobile .btn--small { padding: 8px 10px; font-size: 14px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .ladder-panel h3 { font-size: 24px; }
  .section { padding: 64px 0; }
  .card, .form, .box-dark, .cta-box, .ladder-panel, .intro-box { padding: 24px; }
  .hero-inner { padding-top: 48px; }
  .hero-text { padding-bottom: 48px; }
  .hero-text > p:not(.eyebrow) { font-size: 17px; }
  .arch { height: 420px; }
  .motto { padding-top: 72px; }
  .event-date, .event-body { padding: 28px; }
  .event-date .dd { font-size: 64px; }
  .stats strong { font-size: 32px; }
}
