:root {
  --ink: #112722;
  --forest: #123f35;
  --forest-2: #0b332b;
  --lime: #d9ff68;
  --lime-dark: #b8e43d;
  --cream: #f5f3eb;
  --paper: #fffef9;
  --muted: #61716d;
  --line: #dce4df;
  --orange: #ff835c;
  --shadow: 0 24px 60px rgba(17, 39, 34, .12);
  --radius: 28px;
  --max: 1220px;
}

* { box-sizing: border-box; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
body.menu-open { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; top: -60px; left: 20px; z-index: 200; background: var(--lime); padding: 12px 18px; border-radius: 10px; }
.skip-link:focus { top: 12px; }

.topbar { background: var(--ink); color: #fff; font-size: .86rem; }
.topbar .container { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar strong { color: var(--lime); }
.topbar-links { display: flex; gap: 22px; }
.topbar-links a { color: inherit; }
.topbar-links a:hover { color: var(--lime); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 254, 249, .94); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(18,63,53,.08); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; gap: 34px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-logo { width: clamp(190px, 16vw, 238px); height: auto; max-height: 62px; display: block; object-fit: contain; object-position: left center; }
.site-footer .brand { width: fit-content; }
.site-footer .brand-logo { width: min(238px, 100%); }
.social-strip { position: relative; width: min(280px, 100%); margin-top: 22px; }
.social-strip img { display: block; width: 100%; height: auto; }
.social-hit { position: absolute; top: 0; bottom: 0; width: 10.5%; border-radius: 50%; }
.social-hit:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.social-youtube { left: 0; }
.social-instagram { left: 11%; }
.social-tiktok { left: 22%; }
.social-facebook { left: 33%; }
.social-whatsapp { left: 44%; }
.social-pending { cursor: help; opacity: .55; }
.main-nav { display: flex; align-items: center; gap: 26px; font-weight: 650; font-size: .94rem; }
.main-nav a:not(.btn):hover, .main-nav a.active { color: var(--forest); box-shadow: inset 0 -2px var(--lime-dark); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }

.btn { border: 1px solid transparent; border-radius: 999px; padding: 13px 21px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 750; transition: transform .2s, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: var(--ink); background: var(--lime); }
.btn-primary:hover { background: var(--lime-dark); }
.btn-dark { color: #fff; background: var(--forest); }
.btn-dark:hover { background: var(--ink); }
.btn-ghost { background: transparent; border-color: currentColor; }
.btn-light { background: #fff; border-color: var(--line); }
.btn-small { padding: 10px 16px; font-size: .88rem; }

.hero { background: var(--cream); padding: 38px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 56px; }
.eyebrow { margin: 0 0 16px; display: flex; align-items: center; gap: 10px; color: var(--forest); font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--lime-dark); border-radius: 3px; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -.04em; }
h1 { margin: 0; max-width: 760px; font-size: clamp(3rem, 6.1vw, 6.1rem); }
h2 { margin: 0; font-size: clamp(2.15rem, 4vw, 4rem); }
h3 { margin: 0; font-size: 1.45rem; }
.hero h1 em { color: var(--forest); font-style: normal; position: relative; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: 5px; height: 12px; z-index: -1; background: var(--lime); transform: rotate(-1deg); }
.lead { max-width: 660px; margin: 24px 0 0; color: #44534f; font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.trust-row { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 20px; color: #50605b; font-size: .9rem; font-weight: 650; }
.trust-row span::before { content: "✓"; margin-right: 7px; color: var(--forest); font-weight: 900; }
.hero-media { position: relative; min-height: 590px; }
.hero-media::before { content: ""; position: absolute; inset: 8% -9% -5% 14%; background: var(--lime); border-radius: 46% 54% 42% 58%; transform: rotate(5deg); }
.hero-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 46% 24px 46% 24px; box-shadow: var(--shadow); }
.campaign-badge { position: absolute; z-index: 2; top: 24px; right: -20px; width: clamp(145px, 14vw, 205px); padding: 10px; background: rgba(255,255,255,.96); border-radius: 18px; box-shadow: var(--shadow); transform: rotate(2deg); }
.campaign-badge img { display: block; width: 100%; height: auto; }
.hero-chip { position: absolute; left: -34px; bottom: 36px; padding: 16px 20px; background: #fff; border-radius: 18px; box-shadow: var(--shadow); }
.hero-chip b { display: block; font-size: 1.35rem; }
.hero-chip span { color: var(--muted); font-size: .82rem; }

.quick-nav { position: relative; z-index: 4; margin-top: -32px; }
.quick-nav-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 14px 35px rgba(17,39,34,.08); overflow: hidden; }
.quick-link { padding: 23px; display: flex; align-items: center; gap: 13px; border-right: 1px solid var(--line); }
.quick-nav button.quick-link { width: 100%; color: inherit; text-align: left; border-top: 0; border-bottom: 0; border-left: 0; background: #fff; }
.quick-link:last-child { border: 0; }
.quick-link:hover { background: var(--lime); }
.quick-nav button.quick-link-seminar { position: relative; padding-right: 50px; background: var(--lime); }
.quick-nav button.quick-link-seminar:hover, .quick-nav button.quick-link-seminar:focus-visible { background: var(--lime-dark); }
.quick-link-seminar::after { content: ""; position: absolute; right: 21px; top: 50%; width: 25px; height: 25px; border-radius: 50%; background: linear-gradient(#fff,#fff) center / 12px 2px no-repeat, linear-gradient(#fff,#fff) center / 2px 12px no-repeat, var(--forest); transform: translateY(-50%); transform-origin: center; transition: transform .3s ease; }
.quick-link-seminar[aria-expanded="true"]::after { transform: translateY(-50%) rotate(45deg); }
.quick-icon { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; background: var(--cream); border-radius: 12px; font-weight: 850; }
.quick-icon-book svg, .quick-icon-calendar svg { width: 25px; height: 25px; }
.quick-link small { display: block; color: var(--muted); }

.seminar-section { color: #fff; background: var(--forest); overflow: hidden; }
.section.seminar-collapsible { max-height: 0; padding-block: 0; opacity: 0; visibility: hidden; scroll-margin-top: 82px; transition: max-height .58s ease, padding .58s ease, opacity .3s ease, visibility 0s linear .58s; }
.section.seminar-collapsible.open { max-height: 1800px; padding-block: clamp(58px, 8vh, 88px); opacity: 1; visibility: visible; transition: max-height .58s ease, padding .58s ease, opacity .35s ease .12s, visibility 0s; }
.seminar-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(44px, 7vw, 96px); align-items: center; }
.seminar-copy { align-self: center; }
.seminar-copy .eyebrow { color: var(--lime); }
.seminar-copy .lead { color: #d0ddd8; }
.seminar-actions { margin-top: 30px; display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.seminar-download { font-weight: 750; text-decoration: underline; text-decoration-color: var(--lime); text-underline-offset: 5px; }
.seminar-download:hover { color: var(--lime); }
.flipbook { width: min(100%, 590px); justify-self: center; outline: none; }
.flipbook:focus-visible .flipbook-stage { outline: 3px solid var(--lime); outline-offset: 7px; }
.flipbook-stage { position: relative; margin-inline: auto; display: flex; align-items: stretch; perspective: 1800px; transform-style: preserve-3d; filter: drop-shadow(0 18px 24px rgba(0,0,0,.24)); transition: width .35s ease, aspect-ratio .35s ease, transform .28s ease; }
.flipbook-stage.is-single { width: min(100%, 330px, 31vh); aspect-ratio: 900 / 1929; }
.flipbook-stage.is-spread { width: min(100%, 590px, 62vh); aspect-ratio: 1800 / 1929; }
.flipbook.is-preparing-cover .flipbook-stage.is-single { transform: translateX(45%); }
.flipbook-stage::before { content: ""; position: absolute; z-index: -1; top: 4px; right: -8px; bottom: 4px; left: 50%; border-radius: 0 9px 9px 0; background: repeating-linear-gradient(90deg, #d5d4ce 0 1px, #f7f5ee 1px 3px); box-shadow: 2px 0 7px rgba(4,18,15,.18); }
.flipbook-stage.is-single::before { display: none; }
.flipbook-stage::after { content: ""; position: absolute; z-index: 0; top: 0; bottom: 0; width: 50%; background: #fff var(--flip-underlay, none) center / cover no-repeat; opacity: 0; pointer-events: none; }
.flipbook.is-turning-next .flipbook-stage::after { right: 0; opacity: 1; }
.flipbook.is-turning-prev .flipbook-stage::after { left: 0; opacity: 1; }
.flipbook.is-turning-to-single .flipbook-stage::after { left: 0; right: 0; width: 100%; }
.flipbook-page { position: relative; z-index: 1; width: 100%; min-width: 0; height: 100%; object-fit: cover; background: #fff; backface-visibility: hidden; transform-origin: left center; }
.flipbook-page-secondary[hidden] { display: none !important; }
.flipbook-stage.is-single .flipbook-page { border-radius: 7px 16px 16px 7px; }
.flipbook-stage.is-spread .flipbook-page { width: 50%; }
.flipbook-stage.is-spread .flipbook-page:first-child { border-radius: 12px 2px 2px 12px; }
.flipbook-stage.is-spread .flipbook-page-secondary { border-left: 1px solid rgba(17,39,34,.18); border-radius: 2px 12px 12px 2px; }
.flipbook.is-turning-next .flipbook-stage::after { border-radius: 0 12px 12px 0; }
.flipbook.is-turning-prev .flipbook-stage::after { border-radius: 12px 0 0 12px; }
.flipbook.is-turning-to-single .flipbook-stage::after { border-radius: 12px; }
.flipbook-page.is-page-turning { z-index: 2; overflow: hidden; border-radius: 12px !important; will-change: transform, opacity, box-shadow; }
.flipbook-page.is-page-turning.turn-next { transform-origin: left center; animation: flip-page-next .52s ease-in-out; }
.flipbook-page.is-page-turning.turn-prev { transform-origin: right center; animation: flip-page-prev .52s ease-in-out; }
@keyframes flip-page-next {
  0% { transform: rotateY(0) scaleX(1); opacity: 1; box-shadow: 0 0 0 rgba(0,0,0,0); }
  48% { transform: rotateY(-52deg) scaleX(.97); opacity: .48; box-shadow: -14px 3px 22px rgba(0,0,0,.18); }
  52% { transform: rotateY(52deg) scaleX(.97); opacity: .48; box-shadow: 14px 3px 22px rgba(0,0,0,.15); }
  100% { transform: rotateY(0) scaleX(1); opacity: 1; box-shadow: 0 0 0 rgba(0,0,0,0); }
}
@keyframes flip-page-prev {
  0% { transform: rotateY(0) scaleX(1); opacity: 1; box-shadow: 0 0 0 rgba(0,0,0,0); }
  48% { transform: rotateY(52deg) scaleX(.97); opacity: .48; box-shadow: 14px 3px 22px rgba(0,0,0,.18); }
  52% { transform: rotateY(-52deg) scaleX(.97); opacity: .48; box-shadow: -14px 3px 22px rgba(0,0,0,.15); }
  100% { transform: rotateY(0) scaleX(1); opacity: 1; box-shadow: 0 0 0 rgba(0,0,0,0); }
}
.flipbook-hit { position: absolute; z-index: 2; top: 0; bottom: 0; width: 24%; border: 0; color: #fff; background: transparent; opacity: 0; transition: opacity .2s, background .2s; }
.flipbook-hit span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(17,39,34,.78); font-size: 2rem; line-height: 1; }
.flipbook-hit-prev { left: 0; padding-left: 14px; justify-items: start; }
.flipbook-hit-next { right: 0; padding-right: 14px; justify-items: end; }
.flipbook-stage:hover .flipbook-hit:not(:disabled), .flipbook-hit:focus-visible { opacity: 1; }
.flipbook-hit:focus-visible { outline: 3px solid var(--lime); outline-offset: -5px; }
.flipbook-hit:disabled { cursor: default; }
.flipbook-controls { margin-top: 28px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; }
.flipbook-button { min-height: 48px; padding: 10px 16px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; color: #fff; background: rgba(255,255,255,.08); font-weight: 750; }
.flipbook-button:last-child { justify-self: end; }
.flipbook-button:hover:not(:disabled), .flipbook-button:focus-visible { color: var(--ink); background: var(--lime); border-color: var(--lime); outline: none; }
.flipbook-button:disabled { opacity: .35; cursor: default; }
.flipbook-counter { margin: 0; min-width: 70px; text-align: center; font-variant-numeric: tabular-nums; font-weight: 800; }
.flipbook-help { margin: 14px 0 0; color: #afc2bb; text-align: center; font-size: .82rem; }
.catalog-standalone { min-height: 100vh; padding: 44px 0 72px; color: #fff; background: var(--forest); }
.catalog-standalone-head { width: min(calc(100% - 40px), 1180px); margin: 0 auto 36px; display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.catalog-standalone-head h1 { max-width: none; font-size: clamp(2.5rem, 5vw, 5rem); }
.catalog-standalone-head .eyebrow { color: var(--lime); }
.catalog-standalone-head p { max-width: 650px; color: #c8d6d1; }
.catalog-standalone-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.catalog-standalone .flipbook { width: min(calc(100% - 40px), 1180px); margin-inline: auto; }
.catalog-standalone .flipbook-stage.is-single { width: min(100%, 550px); }
.catalog-standalone .flipbook-stage.is-spread { width: min(100%, 1100px); }
.catalog-standalone .flipbook-controls { width: min(100%, 780px); margin-inline: auto; margin-top: 30px; }
.catalog-standalone .flipbook-help { font-size: .95rem; }

/* Eigenständige Kalenderseiten: Der Reader bleibt auf Desktop vollständig
   innerhalb der jeweils verfügbaren Browserhöhe. */
@media (min-width: 681px) {
  .catalog-standalone { min-height: calc(100dvh - 82px); padding: 18px 0 20px; }
  .catalog-standalone-head { margin-bottom: 14px; align-items: center; }
  .catalog-standalone-head .eyebrow,
  .catalog-standalone-head > div:first-child > p:last-child { display: none; }
  .catalog-standalone-head h1 { font-size: clamp(1.65rem, 2.5vw, 2.5rem); }
  .catalog-standalone-actions .btn { padding: 9px 15px; font-size: .86rem; }
  .catalog-standalone .flipbook-controls { margin-top: 12px; }
  .catalog-standalone .flipbook-help { margin-top: 7px; font-size: .78rem; }
}

.section { padding: 110px 0; }
.section-tight { padding: 78px 0; }
.section-dark { color: #fff; background: var(--forest); }
.section-cream { background: var(--cream); }
.section-head { max-width: 760px; margin-bottom: 46px; }
.section-head p { margin: 20px 0 0; color: var(--muted); font-size: 1.08rem; }
.section-dark .section-head p { color: #cbd8d3; }
.section-dark .eyebrow { color: var(--lime); }

.quiz-shell { display: grid; grid-template-columns: .85fr 1.15fr; border: 1px solid #cfd9d4; border-radius: 32px; background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.quiz-intro { padding: 58px; background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.quiz-intro::after { content: "?"; position: absolute; right: -18px; bottom: -105px; color: rgba(217,255,104,.1); font-size: 22rem; line-height: 1; font-weight: 900; }
.quiz-intro .eyebrow { color: var(--lime); }
.quiz-intro p { color: #cbd8d3; font-size: 1.08rem; }
.quiz-intro-list { margin: 30px 0 0; padding: 0; list-style: none; display: grid; gap: 13px; }
.quiz-intro-list li::before { content: "↗"; margin-right: 10px; color: var(--lime); }
.quiz-card { min-height: 510px; padding: 52px 58px; display: flex; flex-direction: column; }
.quiz-top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: .88rem; }
.progress { height: 7px; margin: 18px 0 42px; background: #edf1ee; border-radius: 8px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 14.3%; background: var(--lime-dark); border-radius: inherit; transition: width .3s; }
.quiz-card h3 { font-size: clamp(1.75rem, 3vw, 2.6rem); }
.quiz-help { margin: 12px 0 28px; color: var(--muted); }
.answer-grid { display: grid; gap: 12px; }
.answer { width: 100%; padding: 17px 20px; text-align: left; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 14px; font-weight: 700; }
.answer:hover, .answer:focus-visible { border-color: var(--forest); background: #f4f9f5; outline: 3px solid rgba(217,255,104,.7); }
.quiz-feedback { padding: 18px 20px; color: var(--ink); background: #f3f8e7; border: 1px solid #c9df87; border-radius: 16px; }
.quiz-feedback-heading { display: inline-block; margin-bottom: 14px; padding: 5px 9px; color: #fff; background: var(--forest); border-radius: 999px; font-size: .76rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.quiz-feedback strong { display: block; margin-bottom: 5px; color: var(--forest); }
.quiz-feedback p { margin: 0 0 14px; color: var(--muted); line-height: 1.5; }
.quiz-feedback p:last-child { margin-bottom: 0; }
.quiz-feedback .quiz-contact { padding-top: 13px; border-top: 1px solid #c9df87; }
.quiz-feedback .quiz-contact b { color: var(--ink); }
.quiz-feedback a { color: var(--forest); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.answer-continue { background: var(--lime); border-color: var(--lime); }
.quiz-back { margin-top: auto; align-self: flex-start; border: 0; color: var(--muted); background: transparent; padding: 12px 0; }
.quiz-result { display: none; }
.quiz-result.visible { display: block; }
.quiz-consult-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.quiz-contact-form { margin-top: 22px; padding: 22px; border: 1px solid var(--line); background: var(--cream); box-shadow: none; }
.quiz-contact-form[hidden] { display: none; }
.quiz-contact-intro { margin: 0 0 18px; color: var(--forest); font-weight: 750; }
.quiz-contact-form .form-group { margin-bottom: 14px; }
.quiz-contact-form .form-hint { margin: -4px 0 16px; color: var(--muted); font-size: .85rem; }
.quiz-question.hidden { display: none; }
.result-badge { width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 20px; background: var(--lime); font-size: 1.7rem; }

.course-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.flip-grid { grid-template-columns: repeat(3, 1fr); }
.course-class { font-size: 4.2rem; font-weight: 900; line-height: 1; letter-spacing: -.07em; }
.course-symbol { position: relative; display: block; width: 132px; height: 80px; padding: 0; border: 0; border-radius: 12px; background: transparent; color: inherit; font-family: inherit; cursor: pointer; perspective: 500px; }
.course-symbol-label, .course-symbol-icon { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .45s ease, opacity .3s ease; }
.course-symbol-label { display: flex; align-items: center; transform: rotateY(0); }
.course-symbol-icon { opacity: 0; transform: rotateY(-80deg) scale(.8); }
.course-symbol-icon path, .course-symbol-icon circle { vector-effect: non-scaling-stroke; }
.course-symbol[aria-pressed="true"] .course-symbol-label, .course-symbol:focus-visible .course-symbol-label { opacity: 0; transform: rotateY(80deg) scale(.8); }
.course-symbol[aria-pressed="true"] .course-symbol-icon, .course-symbol:focus-visible .course-symbol-icon { opacity: 1; transform: rotateY(0) scale(1); }
.course-symbol:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
@media (hover: hover) and (pointer: fine) {
  .course-card:hover .course-symbol-label { opacity: 0; transform: rotateY(80deg) scale(.8); }
  .course-card:hover .course-symbol-icon { opacity: 1; transform: rotateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .course-symbol-label, .course-symbol-icon { transition: none; }
}

.contact-hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
/* Dedicated decorative strips keep moving vehicles away from all content. */
.vehicle-lane { display: none; position: relative; height: 100px; overflow: hidden; overflow: clip; pointer-events: none; user-select: none; color: #73837b; contain: layout paint; }
.vehicle-lane[data-ready] { display: block; }
.vehicle-lane-cross { background: var(--cream); }
.vehicle-lane-cross::after { content: ""; position: absolute; left: 0; right: 0; bottom: 19px; border-bottom: 1px dashed rgba(97,113,109,.2); }
.vehicle-lane-edge { color: #a89b83; }
.vehicle-lane-dark { background: var(--forest); color: #a1b9ae; }
.road-vehicle { position: absolute; left: 0; bottom: 16px; width: 154px; height: 79px; opacity: .65; will-change: transform; }
.road-vehicle path, .road-vehicle circle { vector-effect: non-scaling-stroke; }
@media (max-width: 680px) {
  .vehicle-lane { height: 68px; }
  .road-vehicle { width: 108px; height: 56px; bottom: 8px; opacity: .5; }
  .vehicle-lane-cross::after { bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) { .vehicle-lane[data-ready] { display: none; } }
.flip-card { min-height: 390px; perspective: 1200px; outline: none; }
.flip-card-inner { position: relative; width: 100%; height: 100%; min-height: 390px; transition: transform .65s cubic-bezier(.2,.75,.25,1); transform-style: preserve-3d; }
.flip-card:hover .flip-card-inner, .flip-card:focus .flip-card-inner, .flip-card:focus-within .flip-card-inner { transform: rotateY(180deg); }
.flip-face { position: absolute; inset: 0; padding: 30px 28px 28px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 24px; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; }
.flip-front { background: #fff; color: var(--ink); }
.flip-front .course-class { color: var(--forest); }
.flip-face p { color: var(--muted); }
.course-icon { position: absolute; top: 24px; right: 24px; width: 48px; height: 48px; min-width: 48px; min-height: 48px; display: grid; place-items: center; color: var(--ink); background: var(--cream); border-radius: 15px; font-size: 1.55rem; line-height: 1; flex: none; }
.flip-front .course-class { padding-right: 68px; }
.flip-front h3, .flip-back h3 { padding-right: 62px; }
.flip-hint { margin-top: auto; padding-top: 22px; color: var(--forest); font-size: .82rem; font-weight: 800; }
.flip-back { color: #fff; background: var(--forest); transform: rotateY(180deg); }
.flip-back .course-icon { background: var(--lime); }
.flip-back p { color: #d7e1dd; }
.flip-back ul { margin: 6px 0 22px; padding-left: 20px; color: #d7e1dd; }
.flip-back li { margin-bottom: 8px; }
.flip-back a { margin-top: auto; color: var(--lime); font-weight: 850; }
.flip-back a::after { content: " →"; }
.flip-card:focus-visible { outline: 3px solid var(--lime); outline-offset: 5px; border-radius: 24px; }
.training-addon { margin-top: 24px; padding: 28px 30px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; color: var(--ink); background: #fff; border-radius: 24px; }
.training-addon-icon { width: 58px; height: 58px; display: grid; place-items: center; background: var(--lime); border-radius: 18px; font-size: 2rem; font-weight: 900; }
.training-addon .eyebrow { margin-bottom: 4px; }
.training-addon h3 { margin-bottom: 5px; }
.training-addon p:last-child { margin: 0; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .flip-card-inner { transition: none; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.media-frame { position: relative; }
.media-frame img, .media-frame video { width: 100%; min-height: 520px; object-fit: cover; border-radius: 26px; }
.media-frame::before { content: ""; position: absolute; inset: -14px 30px 30px -14px; z-index: -1; border-radius: 26px; background: var(--lime); }
.media-frame.personal-media img { display: block; width: 100%; height: auto; min-height: 0; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 40%; }
.media-frame.be-training-media img { display: block; width: 100%; height: auto; min-height: 0; aspect-ratio: 1400 / 890; object-fit: contain; object-position: center; }
.feature-list { margin: 30px 0; padding: 0; display: grid; gap: 16px; list-style: none; }
.feature-list li { padding-left: 34px; position: relative; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); font-size: .75rem; font-weight: 900; }

.location-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.location-map-wrap { position: relative; background: transparent; }
.page-hero .location-map { width: 100%; height: auto; max-height: 560px; display: block; object-fit: contain; border-radius: 0; }
.location-route-animation { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.location-route-line { fill: none; stroke: #b6bfbc; stroke-width: 2.5; stroke-dasharray: 10 13; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.location-route-mask { fill: none; stroke: #fff; stroke-width: 12; stroke-linecap: round; stroke-linejoin: round; }
.location-landmark rect { fill: #fff; }
.location-landmark text { fill: #555; font-family: "Arial Narrow", Arial, sans-serif; font-size: 39px; font-weight: 800; letter-spacing: -1px; transition: opacity .35s ease, transform .35s ease; transform-origin: center; }
.landmark-sketch { fill: none; stroke: #666; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: translateY(6px) scale(.92); transform-origin: center; transition: opacity .4s ease, transform .4s ease; }
.location-landmark.is-active text { opacity: 0; transform: translateY(-5px) scale(.94); }
.location-landmark.is-active .landmark-sketch { opacity: 1; transform: translateY(0) scale(1); }
.location-route-car { color: #555957; opacity: 0; filter: drop-shadow(0 3px 4px rgba(10,44,36,.2)); }
.location-car-body, .location-route-car circle { fill: #fff; stroke: currentColor; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.location-car-window { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.location-card { min-height: 310px; padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; border-radius: 22px; overflow: hidden; position: relative; background: var(--forest); }
.location-team-section .location-card { width: 100%; border: 0; text-align: left; font: inherit; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease; }
.location-team-section .location-card:hover, .location-team-section .location-card:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow); }
.location-team-section .location-card:focus-visible { outline: 3px solid var(--location-color); outline-offset: 4px; }
.location-team-section .location-card[aria-expanded="true"] { box-shadow: 0 0 0 4px var(--location-color), var(--shadow); }
.location-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,51,43,.05), rgba(11,51,43,.92)), var(--image, none) center/cover; }
.location-card > * { position: relative; }
.location-card .location-logo { width: 58px; height: 58px; margin-bottom: auto; padding: 8px; object-fit: contain; background: rgba(255,255,255,.94); border-radius: 16px; box-shadow: 0 10px 28px rgba(0,0,0,.18); }
.location-card p { margin: 8px 0 0; color: #dae3df; }
.location-card span { align-self: flex-start; margin-bottom: 14px; padding: 7px 10px; background: var(--location-color, var(--lime)); color: var(--ink); border-radius: 999px; font-size: .72rem; font-weight: 800; }
.location-bielefeld { --location-color: #80bf20; }
.location-duesseldorf { --location-color: #2878b9; }
.location-duesseldorf span, .location-herne span { color: #fff; }
.location-unna { --location-color: #ffb62f; }
.location-herne { --location-color: #c93416; }
.location-toggle-icon { position: absolute !important; right: 22px; bottom: 24px; width: 24px; height: 24px; border: 2px solid currentColor; border-radius: 50%; opacity: .9; }
.location-toggle-icon::before, .location-toggle-icon::after { content: ""; position: absolute; left: 5px; right: 5px; top: 9px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s ease; }
.location-toggle-icon::after { transform: rotate(90deg); }
.location-card[aria-expanded="true"] .location-toggle-icon::after { transform: rotate(0); }
.location-team-accordion { display: grid; grid-template-rows: 0fr; margin-top: 0; border-radius: 28px; background: var(--cream); transition: grid-template-rows .55s cubic-bezier(.2,.75,.25,1), margin-top .55s ease, box-shadow .55s ease; }
.location-team-accordion.open { grid-template-rows: 1fr; margin-top: 26px; box-shadow: var(--shadow); }
.location-team-clip { min-height: 0; overflow: hidden; }
.location-team-content { padding: 0 34px; opacity: 0; transform: translateY(-14px); transition: padding .55s ease, opacity .35s ease .1s, transform .45s ease .08s; }
.location-team-accordion.open .location-team-content { padding-top: 38px; padding-bottom: 42px; opacity: 1; transform: none; }
.location-team-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.location-team-head h2 { margin: 0; }
.location-team-head p { max-width: 48ch; margin: 0; color: var(--muted); }
.team-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 18px; }
.team-member { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.team-member-photo, .team-member-initials { width: 100%; height: auto; aspect-ratio: 1 / 1; display: block; object-fit: cover; object-position: center 22%; }
.team-member-initials { display: grid; place-items: center; color: var(--forest); background: linear-gradient(145deg,#fff,var(--line)); font-size: 2.3rem; font-weight: 900; }
.team-member-copy { padding: 17px 16px 19px; }
.team-member h3 { margin: 0 0 5px; font-size: 1rem; line-height: 1.25; }
.team-member p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.4; }
@media (max-width: 1050px) { .team-grid { grid-template-columns: repeat(4,minmax(0,1fr)); } }

.video-panel { display: grid; grid-template-columns: 1.1fr .9fr; overflow: hidden; border-radius: 30px; background: var(--ink); color: #fff; }
.video-panel video { width: 100%; height: 100%; min-height: 520px; object-fit: cover; background: #000; }
.video-copy { padding: 60px; display: flex; flex-direction: column; justify-content: center; }
.video-copy p { color: #cbd7d3; }

.plugin-placeholder { padding: 46px; text-align: center; border: 2px dashed #aab8b3; border-radius: 24px; background: #fff; }
.plugin-placeholder .plug-icon { width: 60px; height: 60px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 18px; background: var(--lime); font-size: 1.7rem; }

.cta-band { padding: 70px 0; background: var(--lime); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-inner h2 { max-width: 760px; }
.cta-actions { display: flex; flex: 0 0 auto; gap: 10px; }

.page-hero { padding: 76px 0; background: var(--cream); }
.page-hero-grid { display: grid; grid-template-columns: 1fr .72fr; gap: 60px; align-items: center; }
.page-hero img { width: 100%; height: 420px; object-fit: cover; border-radius: 28px; }
.page-hero img.vehicle-classes-hero { height: auto; aspect-ratio: 1400 / 890; object-fit: contain; object-position: center; background: #dcecf6; }
.page-hero img.fully-visible-hero { height: auto; aspect-ratio: 8 / 5; object-fit: contain; object-position: center; background: #dcecf6; }
.contact-hero-card { padding: clamp(26px, 4vw, 44px); border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: var(--shadow); }
.contact-hero-card h2 { margin-bottom: 24px; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.contact-hero-card p { margin-top: 18px; color: var(--muted); }
.contact-hero-card strong { color: var(--forest); }
.contact-hero-card a { color: var(--forest); font-weight: 800; text-decoration: underline; text-decoration-color: var(--lime-dark); text-underline-offset: 4px; }
.breadcrumbs { margin-bottom: 24px; color: var(--muted); font-size: .86rem; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.vi-numbers { background: var(--cream); }
.vi-number-card { padding: 32px; border: 1px solid var(--line); border-radius: 24px; background: #fff; color: var(--ink); }
.vi-number-prefix { display: block; font-size: .85rem; font-weight: 750; color: var(--muted); }
.vi-number-card strong { font-variant-numeric: tabular-nums; }
.vi-number-card strong { display: block; margin: 8px 0 18px; color: var(--forest); font-size: clamp(3.5rem, 6vw, 5rem); line-height: 1; letter-spacing: -.05em; }
.vi-number-card strong::after { content: ""; display: block; width: 48px; height: 5px; margin-top: 20px; border-radius: 5px; background: var(--lime); }
.vi-number-card p { margin: 0; max-width: 30ch; color: var(--muted); line-height: 1.6; }
.stat { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.stat b { display: block; font-size: 2rem; }
.stat span { color: var(--muted); }
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.info-card { padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.info-card p { color: var(--muted); }
.address-link { color: inherit; text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.address-link:hover { color: var(--forest); }
.login-shell { min-height: 650px; display: grid; grid-template-columns: 1fr 1fr; border-radius: 30px; overflow: hidden; box-shadow: var(--shadow); }
.login-visual { padding: 60px; color: #fff; background: linear-gradient(rgba(11,51,43,.2), rgba(11,51,43,.9)), url('assets/images/unterricht.webp') center/cover; display: flex; flex-direction: column; justify-content: flex-end; }
.login-card { padding: 60px; background: #fff; }
.tabs { margin: 28px 0; display: flex; background: var(--cream); padding: 5px; border-radius: 13px; }
.tab { flex: 1; border: 0; padding: 11px; border-radius: 10px; background: transparent; font-weight: 750; }
.tab.active { background: #fff; box-shadow: 0 3px 10px rgba(17,39,34,.08); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 7px; font-weight: 700; }
.form-group input, .form-group select { width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.form-group input:focus { border-color: var(--forest); outline: 3px solid rgba(217,255,104,.6); }
.notice { padding: 14px 16px; margin: 20px 0; border-radius: 12px; color: #6e491a; background: #fff4d7; font-size: .9rem; }

/* SEO course landing pages */
.course-hero { padding: clamp(54px, 8vw, 96px) 0; background: var(--cream); overflow: hidden; }
.course-hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(38px, 7vw, 88px); }
.course-hero h1 { font-size: clamp(2.65rem, 5.2vw, 5.4rem); }
.course-hero-media { position: relative; min-height: 460px; }
.course-hero-media::before { content: ""; position: absolute; inset: 8% -8% -7% 12%; background: var(--lime); border-radius: 48% 52% 42% 58%; transform: rotate(5deg); }
.course-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 42% 22px 42% 22px; box-shadow: var(--shadow); }
.course-hero-media img[src*="fortbildungen/ausbildungsfahrlehrer.webp"] { object-position: 74% center; }
.course-copy-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(42px, 8vw, 110px); align-items: start; }
.course-facts { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.course-facts > div { padding: 21px 24px; display: grid; gap: 4px; border-bottom: 1px solid var(--line); }
.course-facts > div:last-child { border-bottom: 0; }
.course-facts span { color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.course-facts strong { line-height: 1.35; }
.course-facts > .course-fact-price-legacy {
  background: var(--lime);
  border-bottom-color: rgba(17, 39, 34, 0.14);
}
.course-facts > .course-fact-price-legacy span { color: var(--forest); }
.course-facts > .course-fact-price-legacy strong { color: var(--ink); }
.course-fact-price-legacy em {
  margin-top: 5px;
  color: var(--forest);
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 850;
  line-height: 1.35;
}
.course-note { margin-top: 28px; padding: 18px 20px; border-left: 5px solid var(--lime-dark); border-radius: 0 14px 14px 0; background: var(--cream); }
.course-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(42px, 8vw, 100px); }
.course-location-panel { padding: 32px; color: #fff; background: var(--forest); border-radius: var(--radius); }
.course-location-panel .eyebrow { color: var(--lime); }
.course-location-pills { margin-top: 25px; display: flex; flex-wrap: wrap; gap: 9px; }
.course-location-pills span { padding: 8px 12px; color: var(--ink); background: var(--lime); border-radius: 999px; font-weight: 750; font-size: .86rem; }
.course-date-group + .course-date-group { margin-top: 48px; }
.course-date-group > h3 { margin-bottom: 20px; font-size: clamp(1.55rem, 2.5vw, 2.25rem); }
.course-date-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.course-date-card { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 15px 38px rgba(17,39,34,.07); }
.course-date-card h3 { margin-bottom: 16px; color: var(--forest); }
.course-date-card ul { margin: 0; padding: 0; list-style: none; }
.course-date-card li { padding: 8px 0; border-top: 1px solid var(--line); font-size: .92rem; }
.course-date-card li:first-child { border-top: 0; }
.course-date-card li.course-date-current { color: var(--forest); font-weight: 750; }
.course-date-current span { display: inline-block; margin-right: 8px; padding: 3px 7px; border-radius: 999px; background: var(--lime); color: var(--forest); font-size: .68rem; font-weight: 900; letter-spacing: .06em; line-height: 1; }
.course-date-sold-out { color: var(--muted) !important; }
.course-date-sold-out em { display: inline-block; margin-left: 8px; padding: 3px 8px; border-radius: 999px; background: #e8ece9; color: var(--forest); font-size: .68rem; font-style: normal; font-weight: 850; letter-spacing: .03em; line-height: 1; }
.booking-placeholder { margin-top: 32px; padding: 25px 28px; display: flex; align-items: center; justify-content: space-between; gap: 28px; color: #fff; background: var(--forest); border-radius: 22px; }
.booking-placeholder .eyebrow { margin-bottom: 9px; color: var(--lime); }
.booking-placeholder h3 { margin-bottom: 7px; }
.booking-placeholder p { margin: 0; color: #d0ddd8; }
.course-contact .eyebrow { color: var(--lime); }
.booking-notice {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto 34px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(11, 51, 43, 0.16);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(11, 51, 43, 0.07);
}
.booking-notice h3 { margin: 2px 0 5px; }
.booking-notice p { margin: 0; }
.booking-notice-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.booking-notice-actions a { white-space: nowrap; }
.course-contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(42px, 8vw, 100px); align-items: start; }
.course-contact-grid > div > p:not(.eyebrow) { color: #cbd8d3; }
.course-direct-contact { margin-top: 24px; display: grid; gap: 8px; font-weight: 750; }
.course-direct-contact a:hover { color: var(--lime); }
.course-contact-form { padding: 30px; color: var(--ink); background: #fff; border-radius: 24px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.course-contact-form textarea { width: 100%; padding: 14px 16px; resize: vertical; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: inherit; }
.course-contact-form textarea:focus, .course-contact-form select:focus { border-color: var(--forest); outline: 3px solid rgba(217,255,104,.6); }
.form-consent { margin: 2px 0 22px; display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: .88rem; }
.form-consent input { margin-top: 4px; }
.advice-topics { margin: 0 0 20px; padding: 0; border: 0; }
.advice-topics legend { margin-bottom: 10px; font-weight: 750; }
.advice-topics legend small { color: var(--muted); font-weight: 500; }
.advice-topic-options { display: flex; flex-wrap: wrap; gap: 9px; }
.advice-topic-options label { display: flex; align-items: center; gap: 7px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); cursor: pointer; }
.form-status { margin: 14px 0 0; color: var(--forest); font-weight: 700; }
.course-index-section + .course-index-section { margin-top: 100px; padding-top: 88px; border-top: 2px solid var(--line); }
.course-index-heading { max-width: 760px; margin-bottom: 42px; }
#fortbildungsangebote .course-index-heading { display: none; }
.course-index-heading > p:last-child { color: var(--muted); font-size: 1.08rem; }
.course-index-group + .course-index-group { margin-top: 62px; }
.course-index-group > h3 { margin-bottom: 22px; font-size: clamp(1.5rem, 2.3vw, 2.15rem); }
.course-index-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.course-index-card { min-height: 365px; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 22px; background: #fff; transition: transform .2s, box-shadow .2s, border-color .2s; }
.course-index-card:hover { transform: translateY(-5px); border-color: var(--lime-dark); box-shadow: var(--shadow); }
.course-index-image { position: relative; height: 165px; overflow: hidden; background: var(--cream); }
.course-index-image::after { content: ""; position: absolute; inset: auto 0 0; height: 58%; background: linear-gradient(transparent, rgba(11,51,43,.62)); }
.course-index-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.course-index-image img[src*="fortbildungen/ausbildungsfahrlehrer.webp"] { object-position: center 28%; }
.course-index-image img[src*="fortbildungen/pflichtfortbildung-inhouse.webp"] { object-position: center 35%; }
.course-index-card:hover .course-index-image img { transform: scale(1.035); }
.course-index-image span { position: absolute; z-index: 1; left: 18px; bottom: 14px; padding: 6px 9px; color: var(--ink); background: var(--lime); border-radius: 999px; font-size: .7rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.course-index-card-copy { flex: 1; padding: 23px 24px 25px; display: flex; flex-direction: column; }
.course-index-card h3 { font-size: 1.28rem; }
.course-index-card p { color: var(--muted); }
.course-index-card b { margin-top: auto; color: var(--forest); }
.course-feed-section .eyebrow { color: var(--lime); }
.course-feed-section .section-head p { color: #cbd8d3; }
.course-feed-filters { margin-bottom: 20px; padding: 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; color: var(--ink); background: #fff; border-radius: 20px; }
.course-feed-filters label { display: grid; gap: 6px; }
.course-feed-filters label > span { font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.course-feed-filters select { width: 100%; padding: 12px 14px; color: var(--muted); border: 1px solid var(--line); border-radius: 11px; background: var(--cream); opacity: 1; }
.course-api-feed, .course-api-slot { border: 1px dashed rgba(217,255,104,.65); border-radius: 20px; }
.course-api-feed { min-height: 190px; padding: 32px; display: flex; align-items: center; justify-content: space-between; gap: 25px; color: #fff; background: rgba(255,255,255,.05); }
.course-api-feed-copy, .course-api-slot > div { display: flex; align-items: center; gap: 18px; }
.course-api-feed p, .course-api-slot p { margin: 5px 0 0; color: #cbd8d3; }
.course-api-feed code, .course-api-slot code { padding: 7px 10px; color: var(--lime); background: rgba(0,0,0,.18); border-radius: 8px; font-size: .75rem; }
.course-api-icon { width: 46px; height: 46px; display: grid; place-items: center; flex: 0 0 auto; color: var(--ink); background: var(--lime); border-radius: 14px; font-size: 1.3rem; font-weight: 900; }
.course-api-slot { margin-bottom: 28px; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #fff; background: var(--forest); }
.course-static-dates { position: relative; }

.legal-page { padding: 88px 0 110px; background: var(--cream); }
.legal-shell { max-width: 960px; }
.legal-page h1 { margin-bottom: 42px; font-size: clamp(3rem, 7vw, 5.5rem); }
.legal-content { padding: clamp(28px, 5vw, 58px); background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 18px 45px rgba(17, 39, 34, .08); }
.legal-content p { margin: 0 0 14px; }
.legal-content p:has(> strong:only-child) { margin-top: 34px; color: var(--forest); font-size: 1.3rem; }
.legal-content ul { margin: 10px 0 24px; padding-left: 24px; }
.legal-content a { text-decoration: underline; text-decoration-color: var(--lime-dark); text-underline-offset: 3px; }
.legal-content hr { margin: 30px 0; border: 0; border-top: 1px solid var(--line); }

.site-footer { padding: 72px 0 30px; color: #d7e1dd; background: var(--ink); }
.footer-newsletter { margin: -72px 0 62px; padding: 0; color: var(--ink); background: #e8efeb; border-top: 1px solid #cfdad5; border-bottom: 1px solid #cfdad5; }
.footer-newsletter-toggle { width: 100%; padding: 32px 0; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 28px; align-items: center; border: 0; color: var(--ink); background: transparent; text-align: left; cursor: pointer; }
.footer-newsletter-toggle:hover .footer-newsletter-toggle-icon { color: #fff; background: var(--forest); transform: scale(1.06); }
.footer-newsletter .eyebrow { color: var(--forest); }
.footer-newsletter-copy { display: block; }
.footer-newsletter-copy > span { display: block; }
.footer-newsletter-title { max-width: 960px; font-size: clamp(1.7rem, 3.2vw, 2.9rem); font-weight: 850; line-height: 1.08; letter-spacing: -.035em; }
.footer-newsletter-subtitle { max-width: 820px; margin-top: 9px; color: #45615a; font-size: 1rem; line-height: 1.5; }
.footer-newsletter-toggle-icon { position: relative; width: 52px; height: 52px; display: block; overflow: hidden; border-radius: 50%; color: transparent; background: var(--lime); font-size: 0; transition: transform .2s ease, background .2s ease; }
.footer-newsletter-toggle-icon::before, .footer-newsletter-toggle-icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 19px; height: 3px; border-radius: 999px; background: var(--forest); transform: translate(-50%, -50%); transition: transform .22s ease, background .2s ease; transform-origin: center; }
.footer-newsletter-toggle-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.footer-newsletter-toggle:hover .footer-newsletter-toggle-icon::before, .footer-newsletter-toggle:hover .footer-newsletter-toggle-icon::after { background: #fff; }
.footer-newsletter-toggle[aria-expanded="true"] .footer-newsletter-toggle-icon::before { transform: translate(-50%, -50%) rotate(45deg); }
.footer-newsletter-toggle[aria-expanded="true"] .footer-newsletter-toggle-icon::after { transform: translate(-50%, -50%) rotate(-45deg); }
.vi-newsletter-form-wrap { min-width: 0; margin-bottom: 40px; padding: clamp(22px, 3vw, 34px); color: var(--ink); background: #fff; border: 1px solid #d3ddd8; border-radius: 24px; box-shadow: 0 18px 45px rgba(11, 51, 43, .1); }
.vi-newsletter-form-wrap[hidden] { display: none; }
.vi-newsletter-form { display: grid; gap: 16px; }
.vi-newsletter-form label, .vi-newsletter-form legend { color: var(--forest); font-weight: 800; }
.vi-newsletter-form small { color: var(--muted); font-weight: 500; }
.vi-newsletter-names { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vi-newsletter-form .entry__field { margin-top: 6px; }
.vi-newsletter-form input[type="text"], .vi-newsletter-form input[type="email"] { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: inherit; }
.vi-newsletter-form input:focus { border-color: var(--forest); outline: 3px solid rgba(185,239,53,.42); }
.vi-newsletter-form fieldset { min-width: 0; padding: 0; border: 0; }
.vi-newsletter-locations { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.vi-newsletter-locations label { cursor: pointer; }
.vi-newsletter-locations input { position: absolute; opacity: 0; pointer-events: none; }
.vi-newsletter-locations span { display: block; padding: 8px 12px; border: 1px solid #aebdb6; border-radius: 999px; background: #fff; font-size: .88rem; transition: .18s ease; }
.vi-newsletter-locations input:checked + span { border-color: var(--forest); color: #fff; background: var(--forest); }
.vi-newsletter-locations input:focus-visible + span { outline: 3px solid rgba(185,239,53,.7); outline-offset: 2px; }
.vi-newsletter-email-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: start; }
.vi-newsletter-email-row .form__entry { min-width: 0; }
.vi-newsletter-email-row .entry__field { margin: 0; }
.vi-newsletter-email-row button { min-height: 48px; padding: 12px 20px; border: 0; border-radius: 999px; color: #fff; background: var(--forest); font: inherit; font-weight: 850; cursor: pointer; }
.vi-newsletter-email-row button:hover { color: var(--forest); background: var(--lime); }
.vi-newsletter-email-row button.is-loading { position: relative; padding-right: 48px; cursor: wait; opacity: .88; }
.vi-newsletter-email-row button.is-loading::after { content: ""; position: absolute; top: 50%; right: 20px; width: 15px; height: 15px; margin-top: -9px; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: vi-newsletter-spin .75s linear infinite; }
.vi-newsletter-email-row svg { display: none; }
.vi-newsletter-consent label { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: .82rem; font-weight: 500; }
.vi-newsletter-consent input { margin-top: 3px; }
.vi-newsletter-consent a, .vi-newsletter-declaration a { text-decoration: underline; text-underline-offset: 3px; }
.vi-newsletter-declaration { margin: 0; color: var(--muted); font-size: .72rem; line-height: 1.45; }
.vi-newsletter-message { display: none; margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; font-weight: 700; }
.vi-newsletter-message.sib-form-message-panel--active { display: block; }
.vi-newsletter-message.is-error { color: #761f1f; background: #fee9e8; }
.vi-newsletter-message.is-success { color: var(--forest); background: #e7f5df; }
.vi-newsletter-form .entry__error { display: block; margin-top: 4px; color: #8d2727; font-size: .78rem; }
.vi-newsletter-form .entry__error:not(:empty) { padding: 7px 9px; border-left: 3px solid #b53a32; background: #fff3f2; }
.vi-newsletter-form .input--hidden { position: absolute !important; left: -9999px !important; }
@keyframes vi-newsletter-spin { to { transform: rotate(360deg); } }
.newsletter-main { min-height: 70vh; padding: clamp(54px, 8vw, 110px) 0; background: var(--cream); }
.newsletter-hero { max-width: 920px; margin: 0 auto 38px; text-align: center; }
.newsletter-hero h1 { margin-bottom: 18px; font-size: clamp(2.7rem, 7vw, 6rem); }
.newsletter-hero p:not(.eyebrow) { max-width: 720px; margin-inline: auto; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.3rem); }
.newsletter-form-shell { width: min(100%, 760px); margin: 0 auto; padding: clamp(10px, 2vw, 18px); overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: var(--shadow); }
.newsletter-form-shell iframe { display: block; width: 100%; min-height: 390px; border: 0; }
.newsletter-note { max-width: 720px; margin: 20px auto 0; color: var(--muted); text-align: center; font-size: .84rem; }
.newsletter-note a { text-decoration: underline; text-underline-offset: 3px; }
.footer-grid { display: grid; grid-template-columns: 1.25fr repeat(4, 1fr); gap: 32px; }
.footer-brand p { max-width: 360px; color: #aabbb5; }
.site-footer h3 { margin-bottom: 18px; color: #fff; font-size: 1rem; letter-spacing: 0; }
.footer-links { display: grid; gap: 10px; color: #aabbb5; }
.footer-links a:hover { color: var(--lime); }
.footer-bottom { margin-top: 52px; padding-top: 22px; display: flex; justify-content: space-between; color: #81958e; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s, transform .5s; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .main-nav { position: fixed; inset: 120px 20px auto; padding: 24px; display: none; flex-direction: column; align-items: stretch; background: #fff; border-radius: 20px; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .menu-toggle { display: block; }
  .hero-grid, .split, .quiz-shell, .video-panel, .page-hero-grid, .seminar-layout { grid-template-columns: 1fr; }
  .hero-media { min-height: 500px; }
  .quick-nav-grid, .course-grid, .location-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .login-shell { grid-template-columns: .8fr 1.2fr; }
  .course-hero-grid, .course-copy-grid, .course-contact-grid { grid-template-columns: 1fr; }
  .booking-notice { align-items: flex-start; flex-direction: column; }
  .course-hero-media { min-height: 440px; }
  .course-date-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .course-index-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .course-feed-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .footer-newsletter-toggle { padding: 26px 0; gap: 15px; }
  .footer-newsletter-toggle-icon { width: 44px; height: 44px; font-size: 1.7rem; }
  .footer-newsletter-subtitle { font-size: .9rem; }
  .vi-newsletter-form-wrap { padding: 20px 16px; border-radius: 18px; }
  .vi-newsletter-names, .vi-newsletter-email-row { grid-template-columns: 1fr; }
  .vi-newsletter-email-row button { width: 100%; }
  .newsletter-main { padding-top: 48px; }
  .newsletter-form-shell { padding: 5px; border-radius: 20px; }
  .newsletter-form-shell iframe { min-height: 430px; }
  .container { width: min(calc(100% - 28px), var(--max)); }
  .legal-page { padding: 58px 0 76px; }
  .legal-page h1 { margin-bottom: 28px; }
  .legal-content { padding: 24px 20px; border-radius: 20px; }
  .booking-notice { width: min(calc(100% - 28px), var(--max)); }
  .topbar-links, .header-actions .btn-light { display: none; }
  .topbar .container { min-height: 32px; padding-block: 4px; font-size: .72rem; line-height: 1.35; }
  .nav-wrap { min-height: 70px; gap: 10px; }
  .brand-logo { width: min(42vw, 165px); }
  .header-actions { gap: 7px; }
  .header-actions .btn-primary { padding: 9px 12px; white-space: nowrap; font-size: .78rem; }
  .menu-toggle { flex: 0 0 44px; }
  .hero { padding-top: 28px; }
  .hero-media { min-height: 390px; }
  .training-addon { grid-template-columns: 1fr; align-items: start; }
  .campaign-badge { top: 14px; right: 8px; width: 132px; padding: 7px; border-radius: 14px; }
  .hero-chip { left: 12px; bottom: 16px; }
  .quick-nav-grid, .course-grid, .location-grid, .stat-grid, .info-grid { grid-template-columns: 1fr; }
  .course-symbol { transform: translateX(var(--symbol-parallax, 0)); transition: transform .18s ease; }
  .course-symbol.is-scroll-active .course-symbol-label { opacity: 0; transform: rotateY(80deg) scale(.8); }
  .course-symbol.is-scroll-active .course-symbol-icon { opacity: 1; transform: rotateY(0) scale(1); }
  .location-landmark[data-landmark="herne"] text { transform: translateX(-18px); }
  .location-landmark[data-landmark="herne"].is-active text { transform: translate(-18px,-5px) scale(.94); }
  .location-grid > .location-team-accordion { grid-column: 1 / -1; width: 100%; }
  .quick-link { border-right: 0; border-bottom: 1px solid var(--line); }
  .quick-nav button.quick-link { border-right: 0; border-bottom: 1px solid var(--line); }
  .section { padding: 76px 0; }
  .quiz-intro, .quiz-card, .video-copy, .login-card, .login-visual { padding: 34px 24px; }
  .quiz-card { min-height: 530px; }
  .media-frame img { min-height: 390px; }
  .cta-inner, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .cta-actions { flex-direction: column; width: 100%; }
  .footer-grid, .login-shell { grid-template-columns: 1fr; }
  .login-visual { min-height: 360px; }
  .main-nav { inset: 108px 14px auto; }
  .location-team-content { padding-left: 18px; padding-right: 18px; }
  .location-team-accordion.open .location-team-content { padding-top: 26px; padding-bottom: 28px; }
  .location-team-head { display: block; }
  .location-team-head p { margin-top: 8px; }
  .team-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .team-member-copy { padding: 13px 12px 15px; }
  .flipbook { width: min(100%, 430px); }
  .flipbook-stage.is-single, .flipbook-stage.is-spread { width: min(100%, 300px, 36vh); aspect-ratio: 900 / 1929; }
  .flipbook-stage.is-spread .flipbook-page { width: 100%; }
  .flipbook-stage.is-spread .flipbook-page-secondary { display: none !important; }
  .flipbook-stage.is-spread::before { display: none; }
  .flipbook.is-preparing-cover .flipbook-stage.is-single { transform: none; }
  .flipbook-controls { gap: 10px; }
  .flipbook-button span { display: none; }
  .flipbook-help { font-size: .76rem; }
  .catalog-standalone { padding-top: 28px; }
  .catalog-standalone-head { align-items: start; flex-direction: column; margin-bottom: 28px; }
  .catalog-standalone-head h1 { font-size: clamp(2.3rem, 12vw, 4rem); }
  .catalog-standalone .flipbook-stage.is-single, .catalog-standalone .flipbook-stage.is-spread { width: min(100%, 88vw); }
  .catalog-standalone .flipbook-controls { width: 100%; }
  .course-detail-grid, .form-row, .course-date-grid, .course-index-grid { grid-template-columns: 1fr; }
  .course-hero h1 { max-width: 100%; font-size: clamp(2rem, 9vw, 2.35rem); overflow-wrap: anywhere; hyphens: auto; }
  .course-hero .eyebrow { font-size: .68rem; letter-spacing: .09em; }
  .course-hero .hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
  .course-hero .hero-actions .btn { min-width: 0; padding: 10px 9px; white-space: nowrap; font-size: clamp(.72rem, 3.5vw, .86rem); }
  .course-hero-media { min-height: 340px; }
  .booking-placeholder { align-items: flex-start; flex-direction: column; }
  .booking-placeholder .btn { width: 100%; white-space: nowrap; font-size: .86rem; }
  .course-contact-form { padding: 24px 20px; }
  .course-feed-filters { grid-template-columns: 1fr; }
  .course-api-feed, .course-api-slot { align-items: flex-start; flex-direction: column; }
  .course-api-feed-copy, .course-api-slot > div { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .flipbook-page.is-page-turning { animation: none; }
  .flipbook.is-turning-next .flipbook-stage::after, .flipbook.is-turning-prev .flipbook-stage::after { display: none; animation: none; }
}
.footer-merch{align-self:start;border:1px solid rgba(185,239,53,.42);border-radius:18px;padding:18px;background:rgba(185,239,53,.08)}.footer-merch h3{color:var(--lime);margin:0 0 8px}.footer-merch p{margin:0 0 15px;color:#b9c8c3;font-size:.88rem;line-height:1.45}.footer-merch a{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--forest);background:var(--lime);border-radius:999px;padding:10px 14px;text-decoration:none;font-weight:800;transition:transform .2s ease,filter .2s ease}.footer-merch a:hover,.footer-merch a:focus-visible{transform:translateY(-2px);filter:brightness(1.06)}
@media (max-width: 700px) {
  .legal-vat strong,
  .legal-vat span {
    display: block;
  }

  .legal-vat span {
    margin-top: 0.2em;
    overflow-wrap: anywhere;
  }
}
