/* ==========================================================================
   Start in Germany — design system
   One stylesheet for the homepage and the legal pages.
   Logical properties throughout, so Arabic (RTL) and EN/DE/FR (LTR) share it.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink: #0a1520;
  --navy-950: #0c1b2a;
  --navy-900: #10243a;
  --navy-800: #173352;
  --navy-700: #22466b;
  --text: #16212d;
  --text-2: #3b4856;
  --muted: #5d6976;
  --subtle: #8b95a0;
  --paper: #fbfaf7;
  --sand-50: #f6f2ea;
  --sand-100: #efe7d8;
  --white: #fff;
  --line: #e6e0d4;
  --line-strong: #d6cdbb;
  --gold-text: #8a6526;
  --gold-600: #a57a33;
  --gold-500: #bf9246;
  --gold-400: #d4ad66;
  --gold-300: #e6cd9c;
  --gold-100: #f7efde;
  --green: #12804a;
  --danger: #b23a2b;

  --font-display: "Alexandria", "Manrope", system-ui, sans-serif;
  --font-body: "IBM Plex Sans Arabic", "DM Sans", system-ui, sans-serif;

  --page: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 9vw, 128px);
  --header-h: 76px;

  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-pill: 999px;

  --shadow-1: 0 1px 2px rgba(16, 36, 58, .05), 0 1px 1px rgba(16, 36, 58, .03);
  --shadow-2: 0 2px 4px rgba(16, 36, 58, .04), 0 14px 34px -14px rgba(16, 36, 58, .18);
  --shadow-3: 0 4px 10px rgba(16, 36, 58, .05), 0 30px 60px -24px rgba(16, 36, 58, .32);
  --ring: 0 0 0 4px rgba(191, 146, 70, .22);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}
:root:not([dir="rtl"]) {
  --font-display: "Manrope", "Alexandria", system-ui, sans-serif;
  --font-body: "DM Sans", "IBM Plex Sans Arabic", system-ui, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
}
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; color: var(--navy-950); text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--gold-300); color: var(--ink); }

:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 6px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 18px; height: 18px; flex: none; }
[dir="rtl"] .icon-flip,
[dir="rtl"] svg.icon:has(> use[href="#i-arrow"]) { transform: scaleX(-1); }
[dir="rtl"] .text-link > span[aria-hidden="true"],
[dir="rtl"] .translation-links a > span[aria-hidden="true"],
[dir="rtl"] .button-ghost > span[aria-hidden="true"] { display: inline-block; transform: scaleX(-1); }

.skip-link {
  position: fixed; z-index: 400; inset-block-start: -80px; inset-inline-start: 16px;
  padding: 10px 18px; border-radius: var(--r-pill); background: var(--navy-950); color: #fff; font-weight: 600;
  transition: inset-block-start .2s var(--ease-out);
}
.skip-link:focus { inset-block-start: 12px; }

[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

/* Latin headings get optical tightening; Arabic keeps natural spacing (letter-spacing breaks joined script). */
:root:not([dir="rtl"]) h1,
:root:not([dir="rtl"]) h2,
:root:not([dir="rtl"]) h3 { letter-spacing: -.025em; }

/* ---------- Buttons & links ---------- */
.button {
  --btn-bg: var(--navy-950);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border: 1px solid transparent; border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-body); font-size: 15px; font-weight: 600; line-height: 1.2; text-align: center;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background-color .25s, border-color .25s, color .25s;
  -webkit-tap-highlight-color: transparent;
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0) scale(.985); }
.button .icon { transition: transform .25s var(--ease-out); }
.button:hover .icon { transform: translateX(3px); }
[dir="rtl"] .button:hover .icon { transform: translateX(-3px); }
[dir="rtl"] .button:hover .icon-flip { transform: scaleX(-1) translateX(3px); }
.button-dark:hover { --btn-bg: var(--navy-800); box-shadow: 0 10px 24px -10px rgba(16, 36, 58, .55); }
.button-gold {
  --btn-fg: var(--ink);
  background: linear-gradient(180deg, #dcb874 0%, var(--gold-500) 100%);
  border-color: rgba(138, 101, 38, .35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 20px -10px rgba(165, 122, 51, .7);
}
.button-gold:hover { background: linear-gradient(180deg, #e3c283 0%, #c79b4f 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 14px 28px -12px rgba(165, 122, 51, .8); }
.button-ghost { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255, 255, 255, .26); }
.button-ghost:hover { --btn-bg: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .5); }
.button-outline { --btn-bg: #fff; --btn-fg: var(--navy-950); border-color: var(--line-strong); }
.button-outline:hover { border-color: var(--gold-500); }
.button-whatsapp { --btn-bg: var(--green); }
.button-whatsapp:hover { --btn-bg: #0e6d3e; box-shadow: 0 10px 24px -10px rgba(18, 128, 74, .6); }
.button-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.button-lg { min-height: 54px; padding: 0 26px; font-size: 16px; }
.button[disabled] { cursor: progress; opacity: .75; transform: none; }
.button[disabled] .icon { visibility: hidden; }
.button[disabled]::after {
  content: ""; position: absolute; inset-inline-end: 22px; width: 18px; height: 18px;
  border: 2px solid currentColor; border-inline-end-color: transparent; border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding-block-end: 4px;
  color: var(--navy-900); font-size: 15px; font-weight: 600;
  background: linear-gradient(var(--gold-500), var(--gold-500)) no-repeat;
  background-size: 100% 1px; background-position: 0 100%;
  transition: color .2s, background-size .3s var(--ease-out);
}
.text-link:hover { color: var(--gold-text); background-size: 100% 2px; }

/* ---------- Utility bar ---------- */
.utility-bar { background: var(--ink); color: rgba(255, 255, 255, .72); font-size: 13px; }
.utility-inner {
  max-width: calc(var(--page) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter);
  min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.utility-promo { display: inline-flex; align-items: center; gap: 10px; transition: color .2s; }
.utility-promo img { width: auto; height: 18px; border-radius: 4px; }
.utility-promo .icon { width: 14px; height: 14px; color: var(--gold-400); animation: promoNudge 2.4s ease-in-out infinite; }
[dir="rtl"] .utility-promo .icon { animation-name: promoNudgeRtl; }
.utility-promo:hover { color: #fff; }
/* Same size and place, but a gold light sweeps across the text and the logo glows so the free CV offer catches the eye. */
.utility-promo span {
  font-weight: 600;
  background: linear-gradient(90deg, #fff 0%, #fff 38%, var(--gold-300) 50%, #fff 62%, #fff 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: promoShine 3.8s ease-in-out infinite;
}
.utility-promo img { animation: promoGlow 2.4s ease-out infinite; }
@keyframes promoShine { 0% { background-position: 100% 0; } 55%, 100% { background-position: 0 0; } }
@keyframes promoGlow { 0% { box-shadow: 0 0 0 0 rgba(212, 173, 102, .6); } 70%, 100% { box-shadow: 0 0 0 7px rgba(212, 173, 102, 0); } }
@keyframes promoNudge { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(2px, -2px); } }
@keyframes promoNudgeRtl { 0%, 100% { transform: scaleX(-1) translate(0, 0); } 50% { transform: scaleX(-1) translate(2px, -2px); } }
.utility-social { display: flex; gap: 4px; }
.utility-social a { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; transition: background-color .2s, color .2s; }
.utility-social a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.utility-social .icon { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(251, 250, 247, .84);
  -webkit-backdrop-filter: saturate(170%) blur(16px);
  backdrop-filter: saturate(170%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.site-header.is-scrolled { background: rgba(251, 250, 247, .92); border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(16, 36, 58, .35); }
.header-inner {
  max-width: calc(var(--page) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter);
  height: var(--header-h);
  display: flex; align-items: center; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; color: var(--navy-950); }
.brand img { width: 44px; height: 44px; border-radius: 12px; }
.brand-name { display: grid; line-height: 1; font-family: "Manrope", var(--font-display); text-transform: uppercase; }
.brand-name b { font-size: 10.5px; font-weight: 600; letter-spacing: .24em; color: var(--gold-text); }
.brand-name strong { margin-top: 4px; font-size: 17px; font-weight: 800; letter-spacing: .06em; }

.main-nav { flex: 1; display: flex; justify-content: center; min-width: 0; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  position: relative; padding: 8px 11px; border-radius: var(--r-pill);
  color: var(--text-2); font-size: 14px; font-weight: 500; white-space: nowrap;
  transition: color .2s, background-color .2s;
}
/* The logo already links home, so the desktop bar skips the "Home" item to leave room for longer languages. */
.nav-links a[data-spy="home"] { display: none; }
.nav-links a:hover { color: var(--navy-950); background: rgba(16, 36, 58, .05); }
.nav-links a.is-active { color: var(--navy-950); }
.nav-links a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; transform: translateX(-50%);
  border-radius: 50%; background: var(--gold-500);
}
.nav-sheet-head, .nav-sheet-foot { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; flex: none; }
.language-switch { position: relative; }
.language-current {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: var(--r-pill); background: #fff; color: var(--text-2);
  font-size: 13.5px; font-weight: 600; transition: border-color .2s, box-shadow .2s;
}
.language-current:hover { border-color: var(--line-strong); box-shadow: var(--shadow-1); }
.language-selected { display: inline-flex; align-items: center; gap: 8px; }
.language-caret { width: 14px; height: 14px; color: var(--subtle); transition: transform .25s var(--ease-out); }
.language-current[aria-expanded="true"] .language-caret { transform: rotate(180deg); }
.language-menu {
  position: absolute; inset-block-start: calc(100% + 8px); inset-inline-end: 0; z-index: 10; min-width: 176px;
  padding: 6px; display: grid; gap: 2px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-3);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top;
  transition: opacity .2s, transform .25s var(--ease-out), visibility 0s .25s;
}
.language-menu.open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .25s var(--ease-out); }
.language-menu button {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 0; border-radius: 10px;
  background: none; text-align: start; font-size: 14px; color: var(--text);
}
.language-menu button:hover { background: var(--sand-50); }
.language-menu button[aria-current="true"] { background: var(--gold-100); color: var(--navy-950); font-weight: 600; }

.flag-icon { display: inline-block; flex: none; width: 20px; height: 14px; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(10, 21, 32, .12); }
.flag-ar { background: linear-gradient(to bottom, #ce1126 0 33.33%, #fff 33.33% 66.66%, #111 66.66%); }
.flag-de { background: linear-gradient(to bottom, #111 0 33.33%, #d00 33.33% 66.66%, #ffce00 66.66%); }
.flag-fr { background: linear-gradient(to right, #002395 0 33.33%, #fff 33.33% 66.66%, #ed2939 66.66%); }
.flag-en { background-color: #012169; background-image: linear-gradient(57deg, transparent 41%, #fff 41% 47%, #c8102e 47% 52%, #fff 52% 58%, transparent 58%), linear-gradient(-57deg, transparent 41%, #fff 41% 47%, #c8102e 47% 52%, #fff 52% 58%, transparent 58%), linear-gradient(to bottom, transparent 35%, #fff 35% 43%, #c8102e 43% 57%, #fff 57% 65%, transparent 65%), linear-gradient(to right, transparent 37%, #fff 37% 45%, #c8102e 45% 55%, #fff 55% 63%, transparent 63%); }

.menu-toggle {
  display: none; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line); border-radius: 50%; background: #fff;
}
.menu-bars { display: grid; gap: 5px; width: 18px; }
.menu-bars i { display: block; height: 1.6px; border-radius: 2px; background: var(--navy-950); }
.menu-bars i:last-child { width: 12px; justify-self: end; }
[dir="rtl"] .menu-bars i:last-child { justify-self: start; }

.mobile-quick-links { display: none; }

/* ---------- Hero ---------- */
.hero {
  background: #fff; color: #20242B;
  padding: clamp(56px, 7vw, 104px) var(--gutter) clamp(120px, 12vw, 168px);
}
.hero-inner {
  max-width: var(--page); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(48px, 7vw, 120px); align-items: center;
}
.hero-copy { min-width: 0; }
.hero-kicker { margin: 0 0 22px; color: #244D40; font-size: 14px; font-weight: 600; line-height: 1.6; }
.hero h1 {
  margin: 0; color: #20242B; font-family: inherit; font-size: clamp(40px, 5vw, 68px); font-weight: 600;
  line-height: 1.32; letter-spacing: 0; background: none; -webkit-text-fill-color: #20242B;
}
:root:not([dir="rtl"]) .hero h1 { letter-spacing: -.01em; line-height: 1.12; }
.hero-lead { max-width: 30em; margin: 26px 0 0; color: #747B84; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-block-start: 36px; }
.hero-cta {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px;
  border-radius: 6px; background: #244D40; color: #fff; font-size: 16px; font-weight: 600; text-decoration: none;
  transition: background-color .2s ease;
}
.hero-cta:hover { background: #1c3d33; }
.hero-link {
  color: #20242B; font-size: 16px; font-weight: 600; text-decoration: none;
  padding-block-end: 4px; border-block-end: 1px solid #C9C7C0; transition: color .2s ease, border-color .2s ease;
}
.hero-link:hover { color: #244D40; border-color: #244D40; }
.hero-facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
  margin: 48px 0 0; padding-block-start: 24px; border-block-start: 1px solid #EAE9E5;
}
.hero-facts div { min-width: 0; }
.hero-facts dt { color: #20242B; font-size: 15px; font-weight: 600; line-height: 1.5; }
.hero-facts dd { margin: 4px 0 0; color: #747B84; font-size: 13.5px; line-height: 1.6; }
.hero-figure { margin: 0; min-width: 0; }
.hero-slides { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 36px; background: #EEEBE4; }
.hero-slides img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero-slides img.is-current { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero-slides img { transition: none; } }
/* ---------- Service ribbon ---------- */
.service-ribbon {
  position: relative; z-index: 2;
  max-width: calc(var(--page) + 2 * var(--gutter)); margin: calc(-1 * clamp(84px, 9vw, 112px)) auto 0; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
}
.service-ribbon a {
  position: relative; display: grid; align-content: start; gap: 4px; min-height: 172px;
  padding: 22px 22px 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-2);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s;
}
.service-ribbon a:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); border-color: var(--gold-300); }
.ribbon-index { position: absolute; inset-block-start: 22px; inset-inline-end: 22px; color: var(--subtle); font-family: "Manrope", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.ribbon-icon { width: 44px; height: 44px; padding: 11px; margin-block-end: 18px; border-radius: 14px; background: var(--gold-100); color: var(--gold-text); box-sizing: border-box; }
.ribbon-title { font-family: var(--font-display); font-size: 16.5px; font-weight: 600; color: var(--navy-950); line-height: 1.4; }
.service-ribbon b { font-size: 13.5px; font-weight: 500; color: var(--muted); }
.ribbon-arrow { position: absolute; inset-block-end: 22px; inset-inline-end: 22px; width: 18px; height: 18px; color: var(--gold-600); opacity: 0; transform: translate(-4px, 4px); transition: opacity .3s, transform .35s var(--ease-out); }
[dir="rtl"] .ribbon-arrow { transform: scaleX(-1) translate(-4px, 4px); }
.service-ribbon a:hover .ribbon-arrow { opacity: 1; transform: none; }
[dir="rtl"] .service-ribbon a:hover .ribbon-arrow { transform: scaleX(-1); }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) var(--gutter); }
.section > * { max-width: var(--page); margin-inline: auto; }
.section-kicker {
  display: flex; align-items: center; gap: 12px; margin-block-end: 18px;
  color: var(--gold-text); font-size: 13.5px; font-weight: 700;
}
.section-kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
:root:not([dir="rtl"]) .section-kicker { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; }
.section h2 { font-size: clamp(32px, 3.6vw, 50px); line-height: 1.12; }
[dir="rtl"] .section h2 { line-height: 1.34; }
.section-lead { max-width: 34em; margin-block-start: 20px; color: var(--muted); font-size: 17px; line-height: 1.85; }
.split-heading { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 6vw, 80px); align-items: end; margin-block-end: clamp(40px, 5vw, 64px); }
.section-heading-side { display: grid; justify-items: start; gap: 18px; padding-block-end: 8px; }
.section-heading-side p { color: var(--muted); font-size: 16.5px; line-height: 1.85; }
.centered-heading { display: grid; justify-items: center; text-align: center; margin-block-end: clamp(36px, 5vw, 56px); }
.centered-heading .section-kicker::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }

/* ---------- Courses ---------- */
.courses-section { background: var(--paper); padding-block-start: clamp(88px, 10vw, 136px); }
.course-layout {
  padding: 10px; border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-2);
}
.level-list {
  position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px;
  padding: 6px; border-radius: calc(var(--r-xl) - 8px); background: var(--sand-50);
}
.level-list [role="tab"] {
  display: grid; justify-items: center; gap: 2px; padding: 12px 8px; border: 0; border-radius: var(--r-md);
  background: transparent; color: var(--muted);
  transition: background-color .25s, color .25s, box-shadow .25s;
}
.level-list [role="tab"] span { font-family: "Manrope", sans-serif; font-size: 20px; font-weight: 800; color: var(--navy-900); letter-spacing: .02em; }
.level-list [role="tab"] i { font-style: normal; font-size: 12.5px; font-weight: 500; }
.level-list [role="tab"]:hover { background: rgba(255, 255, 255, .7); }
.level-list [role="tab"][aria-selected="true"] { background: #fff; box-shadow: var(--shadow-1), 0 0 0 1px var(--line); color: var(--text-2); }
.level-list [role="tab"][aria-selected="true"] span { color: var(--gold-text); }
.level-track { grid-column: 1 / -1; height: 3px; margin: 4px 8px 2px; border-radius: 3px; background: var(--line); overflow: hidden; }
.level-track i { display: block; height: 100% !important; width: calc((var(--level, 0) + 1) * 20%) !important; border-radius: inherit; background: linear-gradient(90deg, var(--gold-400), var(--gold-600)); transition: width .5s var(--ease-out); }
[dir="rtl"] .level-track i { margin-inline-start: 0; }
.level-panel {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 48px); align-items: center;
  padding: clamp(20px, 3vw, 36px);
}
.level-panel:focus-visible { outline-offset: -2px; border-radius: var(--r-lg); }
.level-overline { color: var(--gold-text); font-size: 13px; font-weight: 700; margin-block-end: 10px; }
:root:not([dir="rtl"]) .level-overline { text-transform: uppercase; letter-spacing: .14em; font-size: 11.5px; }
.level-panel h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.25; }
.level-panel h3 span:first-child { color: var(--line-strong); font-weight: 400; }
.level-panel-copy > p:not(.level-overline) { margin-block: 14px 22px; color: var(--muted); font-size: 16.5px; line-height: 1.85; }
.level-outcomes { display: flex; flex-wrap: wrap; gap: 8px; margin-block-end: 28px; }
.level-outcomes span {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: var(--r-pill);
  background: var(--sand-50); border: 1px solid var(--line); color: var(--text-2); font-size: 13.5px; font-weight: 500;
}
.level-outcomes span::before {
  content: ""; width: 14px; height: 14px; background: var(--gold-600);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.level-photo { overflow: hidden; border-radius: var(--r-lg); background: var(--sand-50); aspect-ratio: 3 / 2; }
.level-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.level-panel:hover .level-photo img { transform: scale(1.02); }
.course-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap;
  margin-block-start: 20px; padding: 18px 18px 18px 26px; border-radius: var(--r-lg);
  background: var(--gold-100); border: 1px solid rgba(191, 146, 70, .28);
}
[dir="rtl"] .course-footer { padding: 18px 26px 18px 18px; }
.course-footer p { color: var(--navy-900); font-size: 15.5px; font-weight: 500; }
.free-test-link {
  display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border-radius: var(--r-pill);
  background: #fff; border: 1px solid rgba(191, 146, 70, .3); color: var(--navy-950); font-size: 14px; font-weight: 600;
  transition: box-shadow .25s, transform .25s var(--ease-out);
}
[dir="rtl"] .free-test-link { padding: 8px 8px 8px 16px; }
.free-test-link img { width: auto; height: 30px; border-radius: var(--r-pill); }
.free-test-link .icon { width: 16px; height: 16px; color: var(--gold-600); }
.free-test-link:hover { box-shadow: var(--shadow-2); transform: translateY(-1px); }

/* ---------- Exams ---------- */
.exams-section {
  background: #fff;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 96px); align-items: center;
  max-width: none;
}
.exams-section > * { max-width: none; margin: 0; }
.exams-section { padding-inline: max(var(--gutter), calc((100% - var(--page)) / 2)); }
.exam-image { position: relative; aspect-ratio: 1 / .92; overflow: hidden; border-radius: var(--r-xl); box-shadow: var(--shadow-3); }
.exam-image img { width: 100%; height: 100%; object-fit: cover; }
.exam-image-label {
  position: absolute; inset-inline-start: 20px; inset-block-end: 20px; display: grid; gap: 2px; max-width: calc(100% - 40px);
  padding: 16px 20px; border-radius: var(--r-md); background: rgba(255, 255, 255, .94); box-shadow: var(--shadow-2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.exam-image-label span { font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--navy-950); }
.exam-image-label b { color: var(--muted); font-size: 14px; font-weight: 500; }
.exam-logos { display: flex; flex-wrap: wrap; gap: 10px; margin-block: 32px 22px; }
.exam-logos > * {
  display: inline-flex; align-items: center; justify-content: center; height: 56px; min-width: 104px; padding: 0 18px;
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper);
}
.exam-logo { font-family: "Manrope", sans-serif; font-size: 22px; font-weight: 800; line-height: 1; }
.goethe-logo { color: #8cb41e; text-transform: lowercase; letter-spacing: -.02em; }
.goethe-logo span { color: var(--navy-950); }
.osd-logo { color: #d1121c; letter-spacing: .02em; }
.exam-logos > img { width: auto; height: 56px; padding: 6px 18px; object-fit: contain; }
.exam-levels { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-block-end: 32px; }
.exam-levels span { margin-inline-end: 6px; color: var(--muted); font-size: 14px; font-weight: 500; }
.exam-levels b {
  padding: 6px 13px; border-radius: var(--r-pill); border: 1px solid var(--line); background: #fff;
  color: var(--navy-900); font-family: "Manrope", sans-serif; font-size: 13.5px; font-weight: 700;
}
.exam-levels b:last-child { background: var(--gold-100); border-color: rgba(191, 146, 70, .35); color: var(--gold-text); }

/* ---------- Recognition ---------- */
.recognition-section { background: var(--sand-50); border-top: 1px solid var(--line); }
.recognition-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.recognition-block {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-1);
  transition: box-shadow .35s var(--ease-out), transform .35s var(--ease-out);
}
.recognition-block:hover { box-shadow: var(--shadow-3); transform: translateY(-3px); }
.recognition-media { position: relative; aspect-ratio: 2 / 1; }
.recognition-image { width: 100%; height: 100%; object-fit: cover; }
.recognition-symbol {
  position: absolute; inset-block-end: -26px; inset-inline-start: 28px;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px;
  background: #fff; color: var(--gold-text); box-shadow: var(--shadow-2), 0 0 0 1px var(--line);
}
.recognition-symbol .icon { width: 26px; height: 26px; }
.recognition-body { display: flex; flex-direction: column; flex: 1; padding: 46px clamp(22px, 3vw, 34px) clamp(24px, 3vw, 32px); }
.recognition-titleline h3 { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.35; }
.recognition-body > p:not(.duration-note) { margin-block: 10px 18px; color: var(--muted); font-size: 15px; }
.document-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; margin-block-end: 22px; }
.document-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--text-2); font-size: 14.5px; line-height: 1.55; }
.document-list li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-block-start: 1px; border-radius: 50%;
  background: var(--gold-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6.5 12.5 3.5 3.5 7.5-8' fill='none' stroke='%238a6526' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.duration-note {
  display: flex; align-items: flex-start; gap: 12px; margin-block: auto 22px; padding: 14px 16px;
  border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line);
}
.duration-note > .icon { width: 20px; height: 20px; margin-block-start: 2px; color: var(--gold-600); }
.duration-note span span { display: block; color: var(--subtle); font-size: 12.5px; font-weight: 600; }
.duration-note strong { display: block; color: var(--navy-900); font-size: 14.5px; font-weight: 600; line-height: 1.6; }
.recognition-body .text-link { align-self: flex-start; }

.training-band {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap;
  margin-block-start: 24px; padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 48px);
  border-radius: var(--r-xl); background: var(--navy-950); color: #fff;
}
.training-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 100% 0%, rgba(191, 146, 70, .3), transparent 65%); }
[dir="rtl"] .training-band::before { background: radial-gradient(600px 300px at 0% 0%, rgba(191, 146, 70, .3), transparent 65%); }
.training-band > div { max-width: 40em; }
.training-eyebrow { color: var(--gold-300); font-family: "Manrope", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin-block-end: 8px; }
.training-band h3 { color: #fff; font-size: clamp(22px, 2.2vw, 28px); }
.training-band p:not(.training-eyebrow) { margin-block-start: 8px; color: rgba(255, 255, 255, .7); font-size: 15.5px; }
/* The Ausbildung search card spans the full width; the free-CV card sits under it as a small strip. */
.recognition-extras { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-block-start: 24px; }
.recognition-help { display: grid; justify-self: start; width: min(100%, 560px); }
.bewerbungswerk-card {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px 16px 20px;
  border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff;
  transition: box-shadow .35s var(--ease-out), transform .35s var(--ease-out), border-color .35s;
}
.bewerbungswerk-card img { width: auto; height: 28px; border-radius: 7px; flex: none; }
.bewerbungswerk-card span { flex: 1; font-family: var(--font-display); font-size: 16.5px; font-weight: 600; color: var(--navy-950); line-height: 1.4; }
.bewerbungswerk-card .icon { width: 36px; height: 36px; padding: 10px; border-radius: 50%; background: var(--navy-950); color: #fff; box-sizing: border-box; transition: transform .35s var(--ease-out); }
.bewerbungswerk-card:hover, .ausbildung-search-card:hover { box-shadow: var(--shadow-3); transform: translateY(-3px); border-color: var(--gold-300); }
.bewerbungswerk-card:hover .icon { transform: rotate(45deg); }
[dir="rtl"] .bewerbungswerk-card:hover .icon { transform: scaleX(-1) rotate(45deg); }
.ausbildung-search-card {
  display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); align-items: center; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff;
  transition: box-shadow .35s var(--ease-out), transform .35s var(--ease-out), border-color .35s;
}
/* Shown at its own proportions so the whole screenshot is visible. */
.ausbildung-search-card img { width: 100%; height: auto; aspect-ratio: 1178 / 519; object-fit: cover; background: var(--sand-50); }
.ausbildung-search-copy { display: flex; flex-direction: column; gap: 12px; padding: 32px 30px; }
.ausbildung-search-copy b { font-family: var(--font-display); font-size: clamp(20px, 1.8vw, 24px); font-weight: 600; color: var(--navy-950); line-height: 1.4; }
.ausbildung-search-copy small { color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.ausbildung-search-copy strong { display: inline-flex; align-items: center; gap: 6px; margin-block-start: auto; color: var(--gold-text); font-size: 14.5px; font-weight: 700; }
.ausbildung-search-copy strong .icon { width: 16px; height: 16px; }

/* ---------- Translation ---------- */
.translation-section {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 96px); align-items: center;
  padding-inline: max(var(--gutter), calc((100% - var(--page)) / 2));
  background: var(--navy-950); color: #fff;
}
.translation-section > * { max-width: none; margin: 0; }
.translation-section::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(800px 500px at 100% 100%, rgba(191, 146, 70, .2), transparent 60%), radial-gradient(700px 500px at 0% 0%, rgba(34, 70, 107, .6), transparent 60%);
}
.translation-image { position: relative; }
.translation-image img { width: 100%; aspect-ratio: 1 / .92; object-fit: cover; border-radius: var(--r-xl); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .06); }
.translation-stamp {
  position: absolute; inset-block-start: -18px; inset-inline-end: -14px;
  display: grid; place-content: center; text-align: center; width: 116px; height: 116px; border-radius: 50%;
  background: linear-gradient(160deg, #e2c07e, var(--gold-500)); color: var(--ink); transform: rotate(-10deg);
  box-shadow: 0 18px 36px -14px rgba(0, 0, 0, .55);
}
.translation-stamp::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 1.5px dashed rgba(10, 21, 32, .35); }
.translation-stamp span { font-size: 13px; font-weight: 600; }
.translation-stamp b { font-family: var(--font-display); font-size: 21px; font-weight: 700; line-height: 1.1; }
.translation-section .section-kicker { color: var(--gold-300); }
.translation-section h2 { color: #fff; }
.translation-section .section-lead { color: rgba(255, 255, 255, .72); }
.translation-links { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: 28px; }
.translation-links a {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, .2); color: #fff; font-size: 14.5px; font-weight: 500;
  transition: background-color .2s, border-color .2s;
}
.translation-links a:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .45); }
.discount-note {
  display: flex; align-items: center; gap: 18px; margin-block: 28px 32px; padding: 16px 20px;
  border-radius: var(--r-lg); background: rgba(212, 173, 102, .1); border: 1px solid rgba(212, 173, 102, .32);
  color: rgba(255, 255, 255, .86); font-size: 15px; line-height: 1.6;
}
.discount-number { flex: none; color: var(--gold-300); font-family: "Manrope", sans-serif; font-size: 36px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }

/* ---------- Contact ---------- */
.contact-section {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 80px); align-items: start;
  padding-inline: max(var(--gutter), calc((100% - var(--page)) / 2));
  background: var(--paper);
}
.contact-section > * { max-width: none; margin: 0; }
.contact-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.contact-methods-title { margin-block: 36px 14px; color: var(--subtle); font-size: 13.5px; font-weight: 600; }
.contact-methods { display: grid; gap: 10px; }
.contact-method {
  display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px;
  border: 1px solid var(--line); border-radius: var(--r-md); background: #fff;
  transition: border-color .25s, box-shadow .25s, transform .25s var(--ease-out);
}
[dir="rtl"] .contact-method { padding: 12px 12px 12px 16px; }
.contact-method:hover { border-color: var(--gold-300); box-shadow: var(--shadow-2); transform: translateY(-1px); }
.contact-method-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--sand-50); color: var(--navy-900); }
.contact-method-icon.is-whatsapp { background: #e4f4ea; color: var(--green); }
.contact-method-icon .icon { width: 20px; height: 20px; }
.contact-method b { display: block; color: var(--navy-950); font-size: 15px; font-weight: 600; }
.contact-method small { display: block; color: var(--muted); font-size: 13.5px; }
[dir="rtl"] .contact-method small[dir="ltr"] { text-align: end; }

.contact-form {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px;
  padding: clamp(22px, 3.4vw, 40px); border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-3);
}
.form-row { display: grid; gap: 8px; min-width: 0; }
.form-row-wide, .phone-field, .submit-actions, .form-note, .form-status { grid-column: 1 / -1; }
.form-honeypot { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.contact-form { position: relative; }
.form-row label, .phone-field legend { color: var(--text-2); font-size: 13.5px; font-weight: 600; }
.phone-field { margin: 0; padding: 0; border: 0; }
.phone-field legend { padding: 0; margin-block-end: 8px; }
.phone-controls { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 10px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: #fdfcfa;
  color: var(--text); font-size: 15.5px; line-height: 1.4;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.contact-form textarea { min-height: 118px; resize: vertical; }
.contact-form select {
  appearance: none; -webkit-appearance: none; padding-inline-end: 40px; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%235d6976' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 16px; background-position: right 14px center;
}
[dir="rtl"] .contact-form select { background-position: left 14px center; }
.contact-form ::placeholder { color: #9aa3ac; }
.contact-form input:hover, .contact-form select:hover, .contact-form textarea:hover { border-color: #c4b9a3; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold-500); background: #fff; box-shadow: var(--ring); }
.contact-form input:user-invalid, .contact-form select:user-invalid, .contact-form textarea:user-invalid { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(178, 58, 43, .1); }
[dir="rtl"] .contact-form input[dir="ltr"] { text-align: end; }
.conditional-field[hidden] { display: none; }
.conditional-field:not([hidden]) { animation: fieldIn .35s var(--ease-out); }
@keyframes fieldIn { from { opacity: 0; transform: translateY(-6px); } }
.submit-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 6px; }
.submit-actions .button { flex: 1 1 220px; min-height: 54px; }
.form-note { color: var(--muted); font-size: 13.5px; line-height: 1.7; }
.form-status { font-size: 14.5px; font-weight: 600; color: var(--navy-900); }
.form-status:not(:empty) { padding: 12px 16px; border-radius: var(--r-sm); background: var(--gold-100); border-inline-start: 3px solid var(--gold-500); animation: fieldIn .35s var(--ease-out); }

/* ---------- Partners ---------- */
.partners-section { background: #fff; border-top: 1px solid var(--line); padding-block: clamp(64px, 7vw, 96px); }
.partners-marquee {
  overflow: hidden; direction: ltr;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.partners-track { display: flex; align-items: center; gap: clamp(48px, 7vw, 96px); width: max-content; animation: marquee 34s linear infinite; }
.partners-marquee:hover .partners-track { animation-play-state: paused; }
.partners-track a { display: grid; place-items: center; height: 72px; padding: 0 8px; }
.partners-track img { width: auto; max-width: 170px; max-height: 52px; object-fit: contain; filter: grayscale(1); opacity: .62; transition: filter .3s, opacity .3s; }
.partners-track a:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about-section { background: var(--sand-50); border-top: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.about-card { padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-1); }
.about-head { display: flex; align-items: center; gap: 20px; }
.about-portrait { width: 88px; height: 88px; flex: none; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--gold-100), 0 0 0 5px rgba(191, 146, 70, .35); }
.about-head h3 { font-size: 22px; }
.about-head p { margin-block-start: 6px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.role-list { display: grid; gap: 10px; margin-block-start: 24px; padding-block-start: 22px; border-top: 1px solid var(--line); }
.role-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--text-2); font-size: 14.5px; line-height: 1.55; }
.role-list li::before { content: ""; flex: none; width: 6px; height: 6px; margin-block-start: .6em; border-radius: 50%; background: var(--gold-500); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .66); padding: clamp(64px, 8vw, 96px) var(--gutter) 28px; }
.footer-top, .footer-bottom { max-width: var(--page); margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand-block { display: grid; justify-items: start; align-content: start; gap: 18px; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-family: "Manrope", sans-serif; font-size: 19px; font-weight: 800; letter-spacing: .02em; }
.footer-brand img { width: 44px; height: 44px; border-radius: 12px; }
.footer-brand-block p { max-width: 26em; font-size: 15px; line-height: 1.8; }
.footer-title { margin-block-end: 16px; color: #fff; font-size: 14px; font-weight: 700; }
.footer-links { display: grid; gap: 10px; justify-items: start; }
.footer-links a, .footer-mail { font-size: 14.5px; transition: color .2s; }
.footer-links a:hover, .footer-mail:hover { color: #fff; }
.footer-social { display: flex; gap: 8px; margin-block-end: 16px; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14); transition: background-color .2s, color .2s, border-color .2s; }
.footer-social a:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .3); color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-block-start: 56px; padding-block-start: 24px; border-top: 1px solid rgba(255, 255, 255, .1); }
.site-credit { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 13.5px; }
.site-credit img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.site-credit a { color: var(--gold-300); font-weight: 600; }
.site-credit a:hover { color: #fff; }
.footer-bottom small { font-size: 13px; color: rgba(255, 255, 255, .45); }

/* ---------- Floating contact & cookie notice ---------- */
.floating-social { position: fixed; z-index: 150; inset-block-end: 20px; inset-inline-end: 20px; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.floating-whatsapp {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 16px; border-radius: var(--r-pill);
  background: var(--green); color: #fff; font-size: 14.5px; box-shadow: 0 16px 30px -12px rgba(18, 128, 74, .65);
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
[dir="rtl"] .floating-whatsapp { padding: 0 16px 0 20px; }
.floating-whatsapp .icon { width: 22px; height: 22px; }
.floating-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 20px 36px -12px rgba(18, 128, 74, .75); }
.floating-facebook { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: #1877f2; border: 1px solid var(--line); box-shadow: var(--shadow-2); transition: transform .3s var(--ease-out); }
.floating-facebook:hover { transform: translateY(-2px); }

.cookie-notice {
  position: fixed; z-index: 260; inset-block-end: 20px; inset-inline-start: 20px; max-width: 440px;
  display: flex; align-items: center; gap: 18px; padding: 18px 20px;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-3);
  animation: cookieIn .6s var(--ease-out) .6s both;
}
.cookie-notice[hidden] { display: none; }
@keyframes cookieIn { from { opacity: 0; transform: translateY(16px); } }
.cookie-notice strong { display: block; color: var(--navy-950); font-size: 15px; }
.cookie-notice p { margin-block-start: 4px; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.cookie-notice a { color: var(--gold-text); text-decoration: underline; text-underline-offset: 3px; }
#cookie-dismiss {
  flex: none; min-height: 42px; padding: 0 20px; border: 0; border-radius: var(--r-pill);
  background: var(--navy-950); color: #fff; font-size: 14px; font-weight: 600; transition: background-color .2s;
}
#cookie-dismiss:hover { background: var(--navy-800); }

/* ---------- Scroll reveal (only when JS is running) ---------- */
.js-ui [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--reveal-delay, 0s); }
.js-ui [data-reveal="zoom"] { transform: scale(.965); }
.js-ui [data-reveal="fade"] { transform: none; }
.js-ui [data-reveal].is-in,
.reveal-all [data-reveal] { opacity: 1; transform: none; }

/* ---------- Legal pages ---------- */
.legal-site-header .header-inner { justify-content: space-between; }
.legal-home-link { display: inline-flex; align-items: center; gap: 8px; }
.legal-page-wrap { padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(72px, 9vw, 120px); }
.legal-page { max-width: 860px; margin: 0 auto; color: var(--text-2); }
.legal-back { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-text); font-size: 14px; font-weight: 600; }
.legal-back:hover { color: var(--navy-900); }
.legal-kicker { margin: 28px 0 10px; color: var(--gold-text); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.legal-page h1 { color: var(--navy-950); font-size: clamp(34px, 5vw, 56px); line-height: 1.12; letter-spacing: -.025em; }
.legal-date { margin: 14px 0 40px; color: var(--subtle); font-size: 14px; }
.legal-clause { padding: 28px 0; border-top: 1px solid var(--line); }
.legal-clause h2, .legal-page .legal-card h2 { margin: 0 0 14px; color: var(--navy-950); font-size: 20px; line-height: 1.45; letter-spacing: -.01em; }
.legal-clause p, .legal-clause li, .legal-card p, .legal-card li { color: var(--text-2); font-size: 15.5px; line-height: 1.9; overflow-wrap: anywhere; }
.legal-clause p { margin: 0 0 14px; }
.legal-clause ul, .legal-card ul { margin: 0 0 16px; padding-inline-start: 22px; list-style: disc; }
.legal-clause a, .legal-card a { color: var(--gold-text); text-decoration: underline; text-underline-offset: 3px; }
.legal-card { padding: clamp(24px, 5vw, 48px); border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-2); }
.legal-page .legal-card h2 { margin-block-start: 28px; }
.legal-card p { margin: 8px 0; }
.legal-address { font-style: normal; font-size: 15.5px; line-height: 1.9; color: var(--text-2); }
.legal-summary { margin-block-start: 28px; padding: 16px 20px; border-radius: var(--r-md); background: var(--gold-100); border-inline-start: 3px solid var(--gold-500); color: var(--text-2); font-size: 14.5px; line-height: 1.8; }
.legal-footer { padding: 28px var(--gutter); display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; background: var(--ink); }
.legal-footer a { color: rgba(255, 255, 255, .7); font-size: 14px; }
.legal-footer a:hover { color: #fff; }

/* ==========================================================================
   Responsive
   ========================================================================== */
/* Collapsed navigation: ui.js adds .nav-collapsed when the menu would not fit on one line (always at 1140px and below). */
html.nav-collapsed { --header-h: 68px; }
html.nav-collapsed .menu-toggle { display: grid; }
html.nav-collapsed .header-actions { gap: 8px; }
html.nav-collapsed .main-nav {
  position: fixed; inset: 0; z-index: 320; display: none; flex-direction: column; justify-content: flex-start;
  padding: 18px var(--gutter) 28px; background: var(--paper); overflow-y: auto; overscroll-behavior: contain;
}
html.nav-collapsed .main-nav.open { display: flex; animation: sheetIn .4s var(--ease-out); }
@keyframes sheetIn { from { opacity: 0; transform: translateY(-12px); } }
html.nav-collapsed .nav-sheet-head { display: flex; align-items: center; justify-content: space-between; margin-block-end: 18px; }
html.nav-collapsed .nav-sheet-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy-950); font-family: "Manrope", sans-serif; font-weight: 800; letter-spacing: .02em; }
html.nav-collapsed .nav-sheet-brand img { width: 36px; height: 36px; border-radius: 10px; }
html.nav-collapsed .nav-close { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--navy-950); }
html.nav-collapsed .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
html.nav-collapsed .nav-links a[data-spy="home"] { display: block; }
html.nav-collapsed .nav-links a { padding: 16px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 21px; font-weight: 600; color: var(--navy-950); }
html.nav-collapsed .nav-links a:hover { background: none; color: var(--gold-text); }
html.nav-collapsed .nav-links a.is-active::after { left: auto; inset-inline-end: 4px; top: 50%; bottom: auto; width: 6px; height: 6px; transform: translateY(-50%); }
html.nav-collapsed .nav-sheet-foot { display: grid; gap: 16px; margin-block-start: 28px; }
html.nav-collapsed .nav-sheet-foot .button { width: 100%; min-height: 54px; font-size: 16px; }
html.nav-collapsed .nav-sheet-promo { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); color: var(--text-2); font-size: 14px; font-weight: 500; }
html.nav-collapsed .nav-sheet-promo img { width: auto; height: 26px; border-radius: 6px; flex: none; }
html.nav-collapsed .mobile-nav-social { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
html.nav-collapsed .mobile-nav-social a { display: grid; justify-items: center; gap: 6px; padding: 14px 8px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); color: var(--navy-900); font-size: 13px; font-weight: 600; }
html.nav-collapsed .mobile-nav-social .icon { width: 22px; height: 22px; }
html.nav-collapsed body.mobile-menu-open { overflow: hidden; }
/* A backdrop-filter would turn the header into the containing block of the fixed menu sheet. */
html.nav-collapsed body.mobile-menu-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; }
body.mobile-menu-open .cookie-notice,
html.nav-collapsed body.mobile-menu-open .floating-social { display: none; }

html.nav-collapsed .mobile-quick-links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; overflow: visible;
  max-width: calc(var(--page) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) 12px;
}
html.nav-collapsed .mobile-quick-links::-webkit-scrollbar { display: none; }
html.nav-collapsed .mobile-quick-links a {
  flex: none; scroll-snap-align: start; padding: 8px 14px; border-radius: var(--r-pill);
  background: #fff; border: 1px solid var(--line); color: var(--navy-900); font-size: 13.5px; font-weight: 600; white-space: nowrap;
  transition: border-color .2s, background-color .2s;
}
html.nav-collapsed .mobile-quick-links a:hover { border-color: var(--gold-300); }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .service-ribbon { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-heading { grid-template-columns: 1fr; align-items: start; }
  .exams-section, .translation-section, .contact-section { grid-template-columns: 1fr; }
  .contact-intro { position: static; }
  .recognition-extras { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand-block { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root, html.nav-collapsed { --header-h: 62px; }
  body { font-size: 15.5px; }
  /* Phones keep the free-CV link visible above the header; the social icons live in the menu instead. */
  .utility-inner { justify-content: center; min-height: 38px; }
  .utility-social { display: none; }
  .utility-promo { min-width: 0; max-width: 100%; gap: 8px; }
  .utility-promo img { height: 16px; flex: none; }
  .utility-promo span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; }
  /* All four service shortcuts stay visible: a 2 × 2 grid instead of a row that has to be swiped. */
  html.nav-collapsed .mobile-quick-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; overflow: visible; padding: 0 var(--gutter) 10px; }
  html.nav-collapsed .mobile-quick-links a { min-width: 0; padding: 7px 8px; text-align: center; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; }
  html.nav-collapsed .mobile-quick-links a:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .brand img { width: 38px; height: 38px; border-radius: 10px; }
  .brand-name b { font-size: 9px; }
  .brand-name strong { font-size: 15px; }
  .header-inner { gap: 12px; }
  .language-current { height: 40px; padding: 0 10px; }
  .language-current b { display: none; }
  .header-contact { display: none; }
  .menu-toggle { width: 42px; height: 42px; }

  .hero { padding: 32px var(--gutter) 96px; }
  .hero-kicker { margin-block-end: 20px; font-size: 13px; }
  .hero h1 { font-size: clamp(36px, 10vw, 50px); }
  .hero-lead { margin-block-start: 18px; font-size: 16px; }
  .hero-actions { margin-block-start: 28px; flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .hero-cta { width: 100%; }
  .hero-link { align-self: center; }
  .hero-facts { grid-template-columns: 1fr; gap: 0; margin-block-start: 32px; padding-block-start: 0; border-block-start: 0; }
  .hero-facts div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-block: 12px; border-block-end: 1px solid #EAE9E5; }
  .hero-facts div:last-child { border-block-end: 0; }
  .hero-facts dd { margin: 0; text-align: end; }
  .hero-slides { aspect-ratio: 4 / 3; border-radius: 28px; }

  .service-ribbon { margin-top: -64px; gap: 10px; }
  .service-ribbon a { min-height: 0; padding: 16px 16px 18px; border-radius: var(--r-md); }
  .ribbon-index, .ribbon-arrow { display: none; }
  .ribbon-icon { width: 38px; height: 38px; padding: 9px; margin-block-end: 12px; border-radius: 11px; }
  .ribbon-title { font-size: 14.5px; }
  .service-ribbon b { font-size: 12.5px; }

  .section h2 { font-size: clamp(29px, 8.2vw, 40px); }
  .section-lead, .section-heading-side p { font-size: 15.5px; }
  .courses-section { padding-block-start: 72px; }
  .course-layout { padding: 6px; border-radius: var(--r-lg); }
  .level-list { gap: 2px; padding: 4px; border-radius: var(--r-md); }
  .level-list [role="tab"] { padding: 10px 2px; border-radius: 12px; }
  .level-list [role="tab"] span { font-size: 17px; }
  .level-list [role="tab"] i { font-size: 10.5px; }
  .level-panel { grid-template-columns: 1fr; padding: 18px 14px 14px; gap: 20px; }
  .level-panel-copy { order: 1; }
  .level-photo { order: 2; }
  .level-panel-copy .button { width: 100%; }
  .course-footer { flex-direction: column; align-items: stretch; padding: 18px; }
  .free-test-link { justify-content: space-between; }

  .exam-image { aspect-ratio: 1.15 / 1; border-radius: var(--r-lg); }
  .exam-image-label { inset-inline-start: 12px; inset-block-end: 12px; padding: 12px 14px; }
  .exam-image-label span { font-size: 16px; }
  .exam-logos > * { height: 50px; min-width: 0; flex: 1; padding: 0 12px; }
  .exam-logos > img { height: 50px; padding: 5px 12px; }
  .exam-copy .button { width: 100%; }

  .recognition-columns { grid-template-columns: 1fr; gap: 16px; }
  .recognition-block { border-radius: var(--r-lg); }
  .document-list { grid-template-columns: 1fr; }
  .training-band { border-radius: var(--r-lg); }
  .training-band .button { width: 100%; }
  .ausbildung-search-card { grid-template-columns: 1fr; border-radius: var(--r-lg); }
  .ausbildung-search-card img { aspect-ratio: 1178 / 519; height: auto; }
  .bewerbungswerk-card { border-radius: var(--r-lg); padding: 14px 16px; }
  .recognition-help { width: 100%; }

  .translation-image img { border-radius: var(--r-lg); aspect-ratio: 1.15 / 1; }
  .translation-stamp { width: 92px; height: 92px; inset-block-start: -14px; inset-inline-end: -6px; }
  .translation-stamp b { font-size: 17px; }
  .translation-stamp span { font-size: 11.5px; }
  .discount-note { gap: 14px; padding: 14px 16px; font-size: 14px; }
  .discount-number { font-size: 30px; }
  .translation-copy .button { width: 100%; }

  .contact-form { grid-template-columns: 1fr; border-radius: var(--r-lg); }
  .phone-controls { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
  .submit-actions .button { flex-basis: 100%; }

  .about-grid { grid-template-columns: 1fr; gap: 16px; }
  .about-card { border-radius: var(--r-lg); }
  .about-head { align-items: flex-start; gap: 16px; }
  .about-portrait { width: 72px; height: 72px; }

  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .floating-social { inset-block-end: 14px; inset-inline-end: 14px; }
  .floating-whatsapp { width: 54px; height: 54px; padding: 0; justify-content: center; }
  [dir="rtl"] .floating-whatsapp { padding: 0; }
  .floating-whatsapp b { display: none; }
  .floating-facebook { width: 42px; height: 42px; }
  .cookie-notice { inset-inline: 12px; inset-block-end: 12px; max-width: none; flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; }
  #cookie-dismiss { width: 100%; }
}

@media (max-width: 380px) {
  .service-ribbon { grid-template-columns: 1fr; }
  .phone-controls { grid-template-columns: 1fr; }
}

@media (hover: none) {
  .ribbon-arrow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js-ui [data-reveal] { opacity: 1; transform: none; }
  .partners-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .partners-track a[aria-hidden="true"] { display: none; }
}

@media print {
  .utility-bar, .site-header, .floating-social, .cookie-notice { display: none !important; }
  .js-ui [data-reveal] { opacity: 1; transform: none; }
}

/* Phones: only the free-CV bar stays on top; the header and its links scroll away with the page. */
@media (max-width: 760px) {
  .site-header, .site-header.is-scrolled { position: relative; top: auto; padding-top: 38px; background: #FBFAF7; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-header .utility-bar { position: fixed; top: 0; inset-inline: 0; z-index: 201; }
}

/* Role lists: the Mitglied line is a parent item, and its IHK branches sit underneath it. */
.role-list li:has(> .role-sub) { flex-wrap: wrap; }
.role-sub { flex: 1 1 calc(100% - 16px); margin-inline-start: 16px; display: grid; gap: 8px; margin-block-start: 6px; padding: 0; list-style: none; }

/* ===== German courses: A1–C1 editorial cards (image removed, CSS only) ===== */
.gc-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; margin-block-start: 8px; }
.gc-card {
  grid-column: span 2; display: flex; flex-direction: column; gap: 18px;
  padding: 26px 26px 24px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); transition: border-color .35s var(--ease-out), transform .35s var(--ease-out);
}
.gc-card:nth-child(n+4) { grid-column: span 3; }
.gc-card:hover { border-color: var(--gold-400); transform: translateY(-3px); }
.gc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gc-level { font-family: "Manrope", sans-serif; font-size: 40px; font-weight: 800; line-height: 1; color: var(--navy-900); letter-spacing: .02em; }
.gc-status { font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.gc-s-open { background: #E6F2EA; color: #1E6B45; }
.gc-s-running { background: #F4EBD9; color: var(--gold-text); }
.gc-s-soon { background: var(--sand-50); color: var(--muted); }
.gc-s-ended { background: #EEF0F2; color: #6B7280; }
.gc-bars { display: flex; gap: 6px; margin-block-start: -6px; }
.gc-bars i { width: 26px; height: 4px; border-radius: 4px; background: var(--line); }
.gc-bars i.on { background: var(--gold-400); }
.gc-title { margin: 0; font-size: 21px; line-height: 1.35; color: var(--navy-900); }
.gc-desc { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.gc-dates { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; padding: 14px 12px; background: var(--sand-50); border-radius: var(--r-md); }
.gc-date { display: flex; flex-direction: column; align-items: center; text-align: center; }
.gc-date small { font-size: 12px; font-weight: 600; color: var(--muted); margin-block-end: 6px; }
.gc-date b { font-family: "Manrope", sans-serif; font-size: 30px; font-weight: 800; line-height: 1; color: var(--navy-900); }
.gc-date span { font-size: 13px; color: var(--text-2); margin-block-start: 6px; }
.gc-arrow { color: var(--gold-text); font-size: 18px; }
.gc-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gc-facts li { display: flex; flex-direction: column; gap: 3px; padding-block-start: 12px; border-top: 1px solid var(--line); }
.gc-facts span { font-size: 12.5px; color: var(--muted); }
.gc-facts b { font-size: 15px; font-weight: 700; color: var(--navy-900); }
.gc-skills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.gc-skills li { font-size: 12.5px; padding: 5px 11px; border-radius: 999px; background: var(--sand-50); color: var(--text-2); }
.gc-cta { margin-block-start: auto; width: 100%; justify-content: center; }
.gc-closed { margin: auto 0 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block-start: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.gc-closed a { color: var(--gold-text); font-weight: 700; white-space: nowrap; }
@media (max-width: 1080px) {
  .gc-card, .gc-card:nth-child(n+4) { grid-column: span 3; }
  .gc-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .gc-grid { grid-template-columns: 1fr; gap: 16px; }
  .gc-card, .gc-card:nth-child(n+4), .gc-card:last-child { grid-column: auto; padding: 22px 18px 20px; }
  .gc-level { font-size: 34px; }
  .gc-closed { flex-direction: column; align-items: flex-start; }
}
/* ===== German courses v2: red status pills, details, registration page ===== */
.gc-head { flex-wrap: wrap; }
.gc-lvl-box { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.gc-level-name { font-size: 13.5px; font-weight: 800; line-height: 1.3; color: var(--gold-text); }
@media (max-width: 760px) { .gc-level-name { font-size: 13px; } }
.gc-tip { display: flex; align-items: flex-start; gap: 10px; box-sizing: border-box; width: 100%; max-width: none; margin: 0 0 28px; padding: 14px 18px; border-radius: var(--r-md); background: #FFF6DF; border: 1px solid var(--gold-400); color: var(--navy-900); font-size: 15px; font-weight: 700; line-height: 1.6; text-align: start; }
.courses-section .gc-tip { max-width: 1200px; margin-inline: auto; }
@media (max-width: 760px) { .gc-tip { font-size: 14px; padding: 12px 14px; } }
.gc-tip-mark { flex: 0 0 auto; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--gold-400); color: #fff; font-size: 13px; font-weight: 900; }
.gc-pills { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.gc-pill { font-size: 12.5px; font-weight: 800; line-height: 1.3; padding: 6px 11px; border-radius: 999px; border: 1px solid transparent; }
.gc-t-running, .gc-r-closed { background: #FDECEA; color: #B42318; border-color: #F3B9B3; }
.gc-r-full { background: #B42318; color: #fff; }
.gc-t-soon { background: var(--sand-50); color: var(--text-2); border-color: var(--line); }
.gc-t-ended { background: #EEF0F2; color: #6B7280; }
.gc-r-open { background: #E6F2EA; color: #1E6B45; border-color: #BFE0CC; }
.gc-book { margin: -6px 0 0; font-size: 14px; color: var(--muted); }
.gc-book span { font-weight: 700; color: var(--gold-text); margin-inline-end: 8px; }
.gc-details { margin: 0; padding-block-start: 14px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.9; color: var(--text-2); white-space: pre-line; }
.gc-cta.button-outline { width: 100%; justify-content: center; margin-block-start: auto; }

.reg-page { background: var(--paper, #FBFAF7); min-height: 70vh; padding: 130px 16px 80px; }
.reg-wrap { max-width: 860px; margin: 0 auto; }
.reg-kicker { color: var(--gold-text); font-weight: 700; font-size: 14px; margin: 0 0 10px; }
.reg-title { font-size: clamp(28px, 4vw, 40px); line-height: 1.25; color: var(--navy-900); margin: 0 0 14px; }
.reg-intro { color: var(--muted); line-height: 1.9; margin: 0 0 28px; }
.reg-form { position: relative; display: grid; gap: 26px; padding: clamp(20px, 4vw, 36px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.reg-levels { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.reg-levels legend { font-weight: 800; color: var(--navy-900); margin-block-end: 12px; padding: 0; }
.reg-level { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-md); cursor: pointer; transition: border-color .25s var(--ease-out); }
.reg-level input { position: absolute; opacity: 0; pointer-events: none; }
.reg-level:has(input:checked) { border-color: var(--gold-400); box-shadow: 0 0 0 1px var(--gold-400); }
.reg-level:has(input:focus-visible) { outline: 2px solid var(--gold-400); outline-offset: 2px; }
.reg-level-code { font-family: "Manrope", sans-serif; font-size: 22px; font-weight: 800; color: var(--navy-900); min-width: 42px; }
.reg-level-body { display: flex; flex-direction: column; gap: 2px; }
.reg-level-body b { font-size: 15px; }
.reg-level-body small { font-size: 12.5px; color: var(--muted); }
.reg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.reg-field { display: flex; flex-direction: column; gap: 8px; }
.reg-field > span { font-weight: 700; font-size: 14px; color: var(--navy-900); }
.reg-field input, .reg-field textarea { font: inherit; padding: 12px 14px; border: 1px solid #cfc8b8; border-radius: 10px; background: #fff; color: var(--text-2); }
.reg-field input:focus, .reg-field textarea:focus { outline: 2px solid var(--gold-400); outline-offset: 1px; }
.reg-field-wide { grid-column: 1 / -1; }
.reg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.reg-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.reg-actions .button { min-width: 200px; }
.reg-msg { margin: 0; min-height: 1.5em; font-weight: 700; }
.reg-msg.is-ok { color: #1E6B45; }
.reg-msg.is-err { color: #B42318; }
.reg-back { margin-block-start: 22px; }
.reg-back a { color: var(--gold-text); font-weight: 700; }
@media (max-width: 680px) {
  .reg-grid { grid-template-columns: 1fr; }
  .reg-page { padding-top: 110px; }
  .reg-actions .button { width: 100%; min-width: 0; }
}
/* ===== v3: six cards (Intensiv), registration notice, selects, progress steps ===== */
.gc-card, .gc-card:nth-child(n+4) { grid-column: span 2; }
.gc-card-flex { background: var(--sand-50); }
.gc-t-flex { background: #F4EBD9; color: var(--gold-text); border-color: #E8D5A8; }
@media (max-width: 1080px) {
  .gc-card, .gc-card:nth-child(n+4), .gc-card:last-child { grid-column: span 3; }
}
@media (max-width: 760px) {
  .gc-card, .gc-card:nth-child(n+4), .gc-card:last-child { grid-column: auto; }
}
.reg-notice { padding: 14px 18px; border-radius: var(--r-md); background: #FFF6DB; border: 1px solid #F0D98A; color: #5C4300; line-height: 1.8; font-size: 15px; margin-block-end: 22px; }
.reg-notice b { color: #5C4300; }
.reg-field select { font: inherit; padding: 12px 14px; border: 1px solid #cfc8b8; border-radius: 10px; background: #fff; color: var(--text-2); }
.reg-field select:focus { outline: 2px solid var(--gold-400); outline-offset: 1px; }
.reg-phone { display: grid; grid-template-columns: minmax(150px, 1fr) 1.6fr; gap: 10px; }
.reg-phone select, .reg-phone input { font: inherit; padding: 12px 14px; border: 1px solid #cfc8b8; border-radius: 10px; background: #fff; color: var(--text-2); min-width: 0; }
.reg-phone input:focus, .reg-phone select:focus { outline: 2px solid var(--gold-400); outline-offset: 1px; }
.reg-steps { list-style: none; margin: 0; padding: 16px 18px; display: grid; gap: 10px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--sand-50); }
.reg-steps[hidden] { display: none; }
.reg-steps li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 600; }
.reg-steps li::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #cfc8b8; }
.reg-steps li.is-active { color: var(--navy-900); }
.reg-steps li.is-active::before { border-color: var(--gold-400); background: var(--gold-400); }
.reg-steps li.is-done { color: #1E6B45; }
.reg-steps li.is-done::before { border-color: #1E6B45; background: #1E6B45; }
.reg-steps li.is-error { color: #B42318; }
.reg-steps li.is-error::before { border-color: #B42318; background: #B42318; }
@media (max-width: 680px) { .reg-phone { grid-template-columns: 1fr; } }
/* ===== Send feedback overlay (centered, animated) ===== */
body.rg-lock { overflow: hidden; }
.rg-ov { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 20px; background: rgba(10, 21, 32, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s var(--ease-out); }
.rg-ov[hidden] { display: none; }
.rg-ov.is-open { opacity: 1; }
.rg-ov-card { width: min(440px, 100%); padding: 36px 30px 28px; text-align: center; background: var(--paper, #FBFAF7); border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(10, 21, 32, .35); transform: translateY(18px) scale(.96); transition: transform .45s cubic-bezier(.2, .9, .3, 1.2); }
.rg-ov.is-open .rg-ov-card { transform: none; }
.rg-ov-icon { position: relative; width: 96px; height: 96px; margin: 0 auto 20px; }
.rg-ring { position: absolute; inset: 0; border-radius: 50%; border: 4px solid #EFE7D8; border-top-color: #BF9246; border-right-color: #D4AD66; animation: rg-spin 1s linear infinite; }
.rg-ring::after { content: ""; position: absolute; inset: 14px; border-radius: 50%; background: radial-gradient(circle, #FBFAF7 0 55%, transparent 56%); animation: rg-breathe 2s ease-in-out infinite; }
.rg-ok, .rg-bad { position: absolute; inset: 0; width: 96px; height: 96px; fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; display: none; }
.rg-ok circle { stroke: #12804A; fill: #E8F3EC; }
.rg-ok path { stroke: #12804A; stroke-dasharray: 40; stroke-dashoffset: 40; }
.rg-bad circle { stroke: #B23A2B; fill: #FBEAE7; }
.rg-bad path { stroke: #B23A2B; stroke-dasharray: 40; stroke-dashoffset: 40; }
.rg-ov-card[data-state="sending"] .rg-ring { display: block; }
.rg-ov-card[data-state="success"] .rg-ring, .rg-ov-card[data-state="error"] .rg-ring { display: none; }
.rg-ov-card[data-state="success"] .rg-ok, .rg-ov-card[data-state="error"] .rg-bad { display: block; animation: rg-pop .5s cubic-bezier(.2, .9, .3, 1.3) both; }
.rg-ov-card[data-state="success"] .rg-ok path, .rg-ov-card[data-state="error"] .rg-bad path { animation: rg-draw .6s .2s ease-out forwards; }
.rg-ov-title { margin: 0 0 16px; font-size: 22px; line-height: 1.4; color: var(--navy-900); transition: opacity .25s; }
.rg-ov-steps { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 10px; text-align: right; max-width: 320px; }
.rg-ov-steps li { position: relative; padding-inline-start: 34px; font-size: 14.5px; font-weight: 600; color: #8b95a0; transition: color .3s, transform .3s; }
.rg-ov-steps li::before { content: ""; position: absolute; inset-inline-start: 0; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; border: 2px solid #d6cdbb; box-sizing: border-box; transition: all .3s; }
.rg-ov-steps li.is-active { color: var(--navy-900); }
.rg-ov-steps li.is-active::before { border-color: #BF9246; border-top-color: transparent; animation: rg-spin .8s linear infinite; }
.rg-ov-steps li.is-done { color: #12804A; }
.rg-ov-steps li.is-done::before { background: #12804A; border-color: #12804A; animation: rg-pop .4s ease both; }
.rg-ov-steps li.is-done::after { content: ""; position: absolute; inset-inline-start: 6px; top: 50%; width: 5px; height: 9px; margin-top: -6px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.rg-ov-steps li.is-error { color: #B23A2B; }
.rg-ov-steps li.is-error::before { background: #B23A2B; border-color: #B23A2B; }
.rg-ov-msg { min-height: 1.6em; margin: 18px 0 0; font-size: 15px; line-height: 1.8; color: var(--text-2); }
.rg-ov-close { margin-top: 20px; min-width: 160px; }
@keyframes rg-spin { to { transform: rotate(360deg); } }
@keyframes rg-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(.92); } }
@keyframes rg-pop { 0% { transform: scale(.4); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes rg-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .rg-ring, .rg-ring::after, .rg-ov-steps li.is-active::before { animation-duration: 3s; }
  .rg-ov-card[data-state] .rg-ok path, .rg-ov-card[data-state] .rg-bad path { animation: none; stroke-dashoffset: 0; }
  .rg-ov, .rg-ov-card { transition: none; }
}
/* ===== Exam booking widget (homepage) + smaller exam photo ===== */
@media (min-width: 761px) {
  .exam-image { max-width: 440px; width: 100%; justify-self: end; }
}
.exb { display: grid; gap: 0; }
.exb-open { width: 100%; }
.exb-open[aria-expanded="true"] { background: var(--sand-100); color: var(--navy-900); box-shadow: inset 0 0 0 1px var(--line-strong); }
.exb-panel { margin-block-start: 16px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); animation: exb-in .45s var(--ease-out) both; }
.exb-panel[hidden] { display: none; }
.exb-form { display: grid; gap: 18px; }
.exb-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.exb-group legend { font-weight: 800; font-size: 14px; color: var(--navy-900); margin-block-end: 10px; padding: 0; }
.exb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.exb-chip { position: relative; cursor: pointer; }
.exb-chip input { position: absolute; opacity: 0; pointer-events: none; }
.exb-chip span { display: inline-block; padding: 9px 15px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--navy-900); background: #fff; transition: background .25s, border-color .25s, color .25s; }
.exb-chip:hover span { border-color: var(--gold-400); }
.exb-chip input:checked + span { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.exb-chip input:focus-visible + span { outline: 2px solid var(--gold-400); outline-offset: 2px; }
.exb-summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 12px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--sand-50); font-size: 14px; color: var(--muted); }
.exb-summary b { font-family: var(--font-display); font-size: 20px; color: var(--navy-900); }
.exb-panel .reg-grid { gap: 14px; }
.exb-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.exb-actions .button { flex: 1 1 180px; }
@keyframes exb-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .exb-panel { animation: none; } }
/* ===== Recognition request page ===== */
.reg-group { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 16px; }
.reg-group legend { font-weight: 800; font-size: 17px; color: var(--navy-900); padding: 0; margin-block-end: 14px; }
.rec-hint { font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.rec-cta { white-space: normal; text-align: center; }
/* ===== Header login link ===== */
.header-login { font-size: 14px; font-weight: 700; color: var(--navy-900); padding: 8px 12px; border-radius: 999px; white-space: nowrap; transition: background .2s var(--ease-out); }
.header-login:hover { background: var(--sand-100); }
/* ===== Cards: book covers, per-language text ===== */
.gc-l { display: none; }
html[lang="ar"] .gc-l-ar, html[lang="en"] .gc-l-en, html[lang="de"] .gc-l-de, html[lang="fr"] .gc-l-fr { display: inline; }
html[dir="ltr"] .gc-arrow { transform: scaleX(-1); display: inline-block; }
.gc-cover { aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--sand-50); border: 1px solid var(--line); }
.gc-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
/* ===== Book cover: small thumbnail beside the title ===== */
.gc-intro { display: flex; align-items: flex-start; gap: 16px; }
html[dir="rtl"] .gc-intro { flex-direction: row-reverse; }
.gc-intro-text { flex: 1; min-width: 0; }
.gc-intro-text .gc-title { margin-block-end: 6px; }
.gc-cover { flex: 0 0 84px; width: 84px; aspect-ratio: 3 / 4; margin: 0; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.gc-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* ===== Cover source line ===== */
.gc-cover-wrap { flex: 0 0 84px; width: 84px; }
.gc-source { margin: 4px 0 0; font-size: 10px; line-height: 1.4; color: var(--muted); text-align: center; }
/* ===== Phone layout for the form pages and exam widget ===== */
@media (max-width: 680px) {
  .reg-grid,
  .exb-panel .reg-grid { grid-template-columns: minmax(0, 1fr); }
  .reg-levels { grid-template-columns: minmax(0, 1fr); }
  .reg-phone { grid-template-columns: minmax(0, 1fr); }
  .reg-field input, .reg-field select, .reg-field textarea,
  .reg-phone input, .reg-phone select { width: 100%; min-width: 0; box-sizing: border-box; }
  .reg-field, .reg-group, .reg-form, .exb-panel, .exb-form { min-width: 0; max-width: 100%; }
  .reg-page { padding-left: 16px; padding-right: 16px; }
  .reg-form { padding: 20px 16px; }
  .reg-actions .button, .exb-actions .button, .exb-open { width: 100%; min-width: 0; }
  .exb-chip span { font-size: 13px; padding: 8px 12px; }
  .rec-cta { width: 100%; }
}

/* ===== Book covers: slightly bigger, same place ===== */
.gc-cover-wrap { flex: 0 0 104px; width: 104px; }
.gc-cover { flex: 0 0 104px; width: 104px; }
.gc-source { font-size: 11px; }
/* ===== Book covers: a bit bigger again, same place ===== */
.gc-cover-wrap { flex: 0 0 124px; width: 124px; }
.gc-cover { flex: 0 0 124px; width: 124px; }
/* ===== Book covers: bigger, sitting right beside the title text ===== */
.gc-intro { gap: 14px; }
.gc-cover-wrap { flex: 0 0 150px; width: 150px; }
.gc-cover { flex: 0 0 150px; width: 150px; }
.gc-intro-text { padding-inline-start: 0; }
/* ===== Registration level cards: keep the code and the title readable ===== */
.reg-level-code { min-width: auto; font-size: 20px; white-space: nowrap; }
.reg-level-body b { line-height: 1.35; }
/* ===== Service cards on phones and tablets: mirror the layout (text and icon swap sides) ===== */
@media (max-width: 1100px) {
  .service-ribbon a { direction: ltr; text-align: left; }
  .service-ribbon .ribbon-index { inset-inline-end: auto; inset-inline-start: 22px; }
  .service-ribbon .ribbon-icon { margin-inline-start: auto; margin-inline-end: 0; }
}
/* ===== Team profile cards: clean bullets with nested sub-lists, tidy sizes on phones ===== */
.role-list li { display: block; position: relative; padding-inline-start: 18px; }
.role-list li::before { position: absolute; inset-inline-start: 0; top: .62em; margin: 0; width: 6px; height: 6px; }
.role-list .role-sub li { display: flex; align-items: flex-start; gap: 10px; padding-inline-start: 0; }
.role-list .role-sub li::before { position: static; margin-block-start: .6em; }
.role-sub { margin-inline-start: 0; margin-block-start: 8px; gap: 6px; }
@media (max-width: 760px) {
  .about-card { padding: 22px 18px; }
  .about-head { gap: 14px; }
  .about-portrait { width: 64px; height: 64px; }
  .about-head h3 { font-size: 19px; }
  .about-head p { font-size: 14px; line-height: 1.6; }
  .role-list { gap: 8px; margin-block-start: 18px; padding-block-start: 18px; }
  .role-list li { font-size: 14px; line-height: 1.6; }
  .role-list .role-sub li { font-size: 13.5px; }
}