:root {
  --navy-950: #06172f;
  --navy-900: #082447;
  --navy-800: #0b3566;
  --navy-700: #174c81;
  --red-600: #df2435;
  --red-700: #bc1828;
  --ink: #142238;
  --muted: #5f6e82;
  --line: #dbe3ec;
  --mist: #f3f7fb;
  --ice: #eaf2f9;
  --cream: #fffaf5;
  --white: #fff;
  --green: #08785a;
  --amber: #9b6200;
  --shadow: 0 24px 70px rgba(6, 30, 61, .12);
  --soft-shadow: 0 14px 42px rgba(6, 30, 61, .08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
p { margin: 0 0 1rem; }
ul, ol { margin-top: .6rem; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; left: 14px; top: -80px; z-index: 500; padding: 10px 14px; color: var(--navy-950); background: #fff; border-radius: 10px; box-shadow: var(--shadow); }
.skip-link:focus { top: 14px; }

.topbar { background: var(--navy-950); color: #dce8f4; font-size: .86rem; }
.topbar-inner { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 22px; padding-block: 7px; }
.topbar-links { display: flex; flex-wrap: wrap; gap: 17px; }
.topbar a:hover { color: #fff; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.95); border-bottom: 1px solid rgba(219,227,236,.9); backdrop-filter: blur(18px); }
.site-header .container { width: min(calc(100% - 32px), 1480px); }
.header-inner { min-height: 82px; display: flex; align-items: center; gap: 14px; }
.brand { flex: 0 0 auto; display: inline-flex; align-items: center; }
.brand img { width: 210px; height: auto; }
.nav { position: fixed; inset: 90px 24px auto auto; width: min(390px, calc(100% - 36px)); max-height: calc(100vh - 115px); display: none; overflow-y: auto; padding: 15px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.nav.open { display: grid; }
.nav > a, .nav-trigger { border: 0; background: transparent; color: var(--navy-900); padding: 10px 8px; border-radius: 12px; font-size: .82rem; font-weight: 780; cursor: pointer; white-space: nowrap; }
.nav > a, .nav-trigger { width: 100%; padding: 12px 13px; text-align: left; }
.nav > a:hover, .nav > a.active, .nav-trigger:hover, .nav-group.active .nav-trigger { background: var(--ice); }
.nav-group { position: relative; }
.nav-trigger::after { content: "⌄"; margin-left: 6px; }
.dropdown { position: absolute; top: calc(100% + 12px); left: 0; width: 330px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .18s ease; }
.nav-group:hover .dropdown, .nav-group:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: 10px 12px; color: var(--navy-900); border-radius: 11px; font-size: .91rem; font-weight: 680; }
.dropdown a:hover { background: var(--mist); color: var(--red-600); }
.header-cta { display: none; }
.menu-toggle { display: block; margin-left: auto; width: 47px; height: 47px; border: 1px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; }
.menu-toggle span { display: block; width: 21px; height: 2px; margin: 5px auto; background: var(--navy-900); border-radius: 2px; }

.btn { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 9px; padding: 12px 20px; border: 1px solid transparent; border-radius: 14px; cursor: pointer; font-weight: 820; line-height: 1.2; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: var(--red-600); box-shadow: 0 14px 30px rgba(223,36,53,.22); }
.btn-primary:hover { background: var(--red-700); }
.btn-secondary { color: #fff; background: var(--navy-800); box-shadow: 0 14px 30px rgba(6,30,61,.18); }
.btn-secondary:hover { background: var(--navy-900); }
.btn-light { color: var(--navy-900); background: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline { color: var(--navy-900); background: transparent; border-color: #aab8c8; }
.btn-small { min-height: 42px; padding: 9px 14px; border-radius: 11px; font-size: .9rem; }
.btn-block { width: 100%; }
.text-link { color: var(--red-600); font-weight: 800; }
.text-link::after { content: " →"; }

.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(circle at 4% 8%, rgba(223,36,53,.29), transparent 28%), linear-gradient(128deg, var(--navy-950), var(--navy-800)); }
.hero::after { content: ""; position: absolute; width: 520px; height: 520px; right: -240px; top: -280px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.02); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr); gap: 58px; align-items: center; min-height: 650px; padding-block: 72px; }
.hero-grid > *, .hero-copy { min-width: 0; }
.hero-copy { max-width: 690px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: #ffd8dc; font-size: .79rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--red-600); }
h1, h2, h3, h4 { color: var(--navy-900); line-height: 1.08; margin-top: 0; }
.hero h1 { max-width: 780px; margin: 18px 0 22px; color: #fff; font-size: clamp(3rem, 5.5vw, 5.7rem); letter-spacing: -.055em; text-wrap: balance; }
.hero .lead { max-width: 680px; color: rgba(255,255,255,.84); font-size: clamp(1.05rem, 1.8vw, 1.27rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 12px 21px; margin-top: 28px; color: #d9e5f1; font-size: .9rem; font-weight: 700; }
.trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.trust-row span::before { content: "✓"; color: #83ddbd; font-weight: 900; }
.hero-photo { position: relative; min-height: 510px; overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-xl); box-shadow: 0 30px 90px rgba(0,0,0,.3); isolation: isolate; }
.hero-photo::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 48%, rgba(3,15,31,.68)); }
.hero-photo img { width: 100%; height: 100%; min-height: 510px; object-fit: cover; object-position: 56% center; transition: transform .7s ease; }
.hero-photo:hover img { transform: scale(1.025); }
.hero-practice { position: relative; overflow: hidden; min-height: 390px; display: flex; flex-direction: column; justify-content: space-between; gap: 34px; padding: 38px; border: 1px solid rgba(255,255,255,.17); border-radius: var(--radius-xl); background: radial-gradient(circle at 82% 14%, rgba(223,36,53,.42), transparent 34%), linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.04)); box-shadow: 0 30px 90px rgba(0,0,0,.25); }
.hero-practice::before { content: "+"; position: absolute; right: 22px; top: -65px; color: rgba(255,255,255,.08); font-size: 250px; font-weight: 300; line-height: 1; }
.practice-intro { position: relative; z-index: 1; max-width: 430px; padding-right: 30px; }
.practice-intro span { display: block; margin-bottom: 10px; color: #ff9ca4; font-size: .76rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.practice-intro strong { display: block; color: #fff; font-size: clamp(1.65rem,3vw,2.55rem); line-height: 1.08; letter-spacing: -.035em; }
.practice-kicker { position: relative; display: block; margin-bottom: 26px; color: #fff; font-size: clamp(1.35rem, 2.4vw, 2.1rem); font-weight: 880; line-height: 1.15; }
.practice-path { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.practice-path div { min-height: 105px; display: flex; flex-direction: column; justify-content: space-between; padding: 16px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; }
.practice-path strong { color: #ff7884; font-size: 1.3rem; }
.practice-path span { color: #fff; font-weight: 780; }
.hero-practice p { position: relative; margin: 22px 0 0; color: #d9e5f1; }
.photo-badge { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 22px; padding: 17px 19px; border: 1px solid rgba(255,255,255,.2); border-radius: 18px; background: rgba(6,23,47,.76); backdrop-filter: blur(12px); }
.photo-badge strong { display: block; color: #fff; font-size: 1.04rem; }
.photo-badge span { color: #d9e5f1; font-size: .88rem; }
.page-hero .hero-grid { min-height: 510px; }
.page-hero .hero-photo, .page-hero .hero-photo img { min-height: 390px; }
.page-hero h1 { font-size: clamp(2.7rem, 4.9vw, 5rem); }

.status-band { background: var(--cream); border-bottom: 1px solid #f0dec7; }
.status-inner { display: flex; align-items: center; gap: 14px; padding-block: 16px; color: #69450f; }
.status-icon { flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center; background: #fff0cd; border-radius: 12px; }
.status-inner p { margin: 0; font-size: .92rem; }
.status-inner a { text-decoration: underline; font-weight: 750; }

.section { padding-block: 92px; }
.section-sm { padding-block: 60px; }
.section-mist { background: var(--mist); }
.section-cream { background: var(--cream); }
.section-accent { background: linear-gradient(135deg, #fff 0%, #f4f8fc 52%, #fff3f4 100%); }
.section-dark { color: #dce7f3; background: var(--navy-950); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark .section-intro { color: #bfcddd; }
.section-heading { max-width: 790px; margin-bottom: 40px; }
.section-heading.center { margin-inline: auto; text-align: center; }
.kicker { margin: 0 0 11px; color: var(--red-600); font-size: .78rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
h2 { margin-bottom: 18px; font-size: clamp(2.05rem, 3.7vw, 3.65rem); letter-spacing: -.045em; text-wrap: balance; }
h3 { margin-bottom: 12px; font-size: 1.32rem; }
h4 { margin-bottom: 8px; font-size: 1.06rem; }
.section-intro { color: var(--muted); font-size: 1.08rem; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 62px; align-items: center; }
.split-top { align-items: start; }
.card { position: relative; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--soft-shadow); }
.card p { color: var(--muted); }
.card-hover { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card-hover:hover { transform: translateY(-5px); border-color: rgba(223,36,53,.24); box-shadow: var(--shadow); }
.card-feature { min-height: 330px; display: flex; flex-direction: column; }
.card-feature .card-link { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.card-primary { color: #dce7f3; background: linear-gradient(145deg, var(--navy-900), var(--navy-700)); border-color: transparent; }
.card-primary h3, .card-primary .card-link { color: #fff; }
.card-primary p { color: #d0dceb; }
.card-primary .icon { color: #fff; background: rgba(255,255,255,.13); }
.job-card { min-height: 390px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.job-card h3 { max-width: 520px; font-size: clamp(1.55rem, 2.4vw, 2.15rem); }
.job-card > .btn { align-self: flex-start; }
.job-facts { display: flex; flex-wrap: wrap; gap: 10px; }
.job-facts span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 12px; color: var(--navy-900); background: var(--ice); border-radius: 11px; font-size: .88rem; font-weight: 760; }
.job-facts strong { margin-right: 5px; }
.job-highlight { display: flex; flex-wrap: wrap; align-items: center; gap: 11px 18px; margin: -8px 0 30px; padding: 22px 25px; color: #fff; background: linear-gradient(125deg, var(--navy-900), var(--navy-700)); border-radius: 19px; box-shadow: var(--soft-shadow); }
.job-highlight .tag { margin: 0; }
.job-highlight strong { font-size: clamp(1.35rem, 2.4vw, 2rem); line-height: 1.1; }
.job-highlight p { flex: 1 1 290px; margin: 0; color: #d7e3ef; }
.job-columns { align-items: stretch; }
.job-columns > .card { height: 100%; }
.job-columns .check-list { margin-top: 8px; }
.check-list-light li::before { color: #fff; background: rgba(255,255,255,.15); }
.job-requirements { margin-top: 22px; }
.job-requirements .grid-2 { gap: 30px; }
.job-lower { margin-top: 22px; align-items: stretch; }
.job-lower > .card { height: 100%; }
.development-card { overflow: hidden; color: #dce7f3; background: linear-gradient(145deg, var(--navy-900), var(--navy-700)); border-color: transparent; }
.development-card::after { content: "+"; position: absolute; right: 10px; top: -70px; color: rgba(255,255,255,.06); font-size: 230px; line-height: 1; }
.development-card h3 { position: relative; z-index: 1; color: #fff; }
.development-card p { position: relative; z-index: 1; color: #d0dceb; }
.job-apply { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 30px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--soft-shadow); }
.job-apply > div { max-width: 760px; }
.job-apply h3 { font-size: 1.55rem; }
.job-apply p:last-child { margin-bottom: 0; color: var(--muted); }
.job-apply .btn { flex: 0 0 auto; }
.inner-page main > .section:not(.section-mist):not(.section-cream):not(.section-dark):not(.section-accent):nth-of-type(even) { background: linear-gradient(135deg, #f7faff, #fff); }
.inner-page main > .section .section-heading .kicker::after { content: ""; display: inline-block; width: 34px; height: 2px; margin-left: 10px; vertical-align: middle; background: var(--red-600); border-radius: 2px; }
.icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 20px; color: var(--navy-900); background: var(--ice); border-radius: 16px; font-size: 1.4rem; }
.tag { display: inline-flex; width: fit-content; margin-bottom: 12px; padding: 5px 10px; color: var(--red-700); background: #fff0f1; border-radius: 999px; font-size: .78rem; font-weight: 850; }
.check-list { list-style: none; padding: 0; margin: 21px 0 0; }
.check-list li { position: relative; padding-left: 32px; margin-block: 13px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 21px; height: 21px; display: grid; place-items: center; color: var(--green); background: #e6f7f1; border-radius: 50%; font-size: .78rem; font-weight: 900; }
.topics { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; list-style: none; margin: 20px 0 0; padding: 0; }
.topics li { padding: 13px 14px; color: var(--navy-900); background: #fff; border: 1px solid var(--line); border-radius: 14px; font-weight: 760; }
.number-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.number { padding: 25px; background: #fff; }
.number strong { display: block; color: var(--navy-900); font-size: clamp(1.35rem, 2.2vw, 1.85rem); line-height: 1.1; }
.number span { display: block; margin-top: 7px; color: var(--muted); font-size: .9rem; }
.steps { counter-reset: item; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.steps-2 { grid-template-columns: repeat(2, 1fr); }
.step { padding: 25px; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.step::before { counter-increment: item; content: counter(item, decimal-leading-zero); display: block; margin-bottom: 20px; color: var(--red-600); font-size: 1.65rem; font-weight: 900; }
.step p { margin-bottom: 0; color: var(--muted); font-size: .94rem; }
.topic-panel { padding: 28px; color: #dce7f3; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg); }
.topic-panel p:last-child { margin-bottom: 0; }
.topic-panel .check-list { margin-top: 0; }
.topic-panel .check-list li:last-child { margin-bottom: 0; }
.quote { margin: 24px 0 0; padding-left: 24px; border-left: 4px solid var(--red-600); color: var(--navy-900); font-size: clamp(1.3rem, 2.3vw, 1.85rem); font-weight: 820; line-height: 1.35; }
.notice { padding: 22px; background: #fff8e8; border: 1px solid #eed399; border-radius: 18px; color: #6e4b0d; }
.notice.info { color: var(--navy-900); background: #eef6fc; border-color: #cbddeb; }
.notice.success { color: #075c46; background: #ebf8f3; border-color: #bfe6d7; }
.notice p:last-child { margin-bottom: 0; }
.price-box { overflow: hidden; padding: 26px; color: #fff; background: linear-gradient(145deg, var(--navy-900), var(--navy-700)); border-radius: var(--radius-lg); box-shadow: var(--soft-shadow); }
.price-box h3 { color: #fff; }
.price-row { display: flex; justify-content: space-between; gap: 18px; padding-block: 12px; border-bottom: 1px solid rgba(255,255,255,.16); }
.price-row:last-child { border-bottom: 0; }
.price-row strong { white-space: nowrap; }

.course-list { display: grid; gap: 16px; }
.course-card { display: grid; grid-template-columns: 155px 1fr auto; align-items: center; gap: 24px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--soft-shadow); }
.course-date { padding-right: 21px; text-align: center; border-right: 1px solid var(--line); }
.course-date strong { display: block; color: var(--navy-900); font-size: 1.7rem; line-height: 1.05; }
.course-date span { color: var(--muted); font-size: .75rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.course-info h3 { margin-bottom: 5px; }
.course-info p { margin: 0; color: var(--muted); }
.seats { color: var(--green); font-size: .87rem; font-weight: 850; }
.seats.low { color: var(--amber); }
.seats.full { color: var(--red-700); }
.course-empty { padding: 26px; text-align: center; background: var(--mist); border: 1px dashed #b9c7d6; border-radius: 18px; }

.form-card { padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--soft-shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label, .field-label { color: var(--navy-900); font-size: .91rem; font-weight: 780; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 13px; color: var(--ink); background: #fff; border: 1px solid #cbd6e1; border-radius: 12px; outline: none; }
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy-700); box-shadow: 0 0 0 4px rgba(23,76,129,.1); }
.checkbox { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; color: var(--muted); font-size: .88rem; }
.checkbox input { width: auto; margin-top: 4px; }
.checkbox a { color: var(--navy-800); text-decoration: underline; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-status { display: none; margin-top: 15px; padding: 12px 14px; border-radius: 12px; font-size: .92rem; }
.form-status.show { display: block; }
.form-status.success { color: #075c46; background: #e9f7f1; }
.form-status.error { color: #862131; background: #fff0f2; }
.form-note { color: var(--muted); font-size: .84rem; }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.contact-card { min-height: 178px; display: flex; flex-direction: column; }
.contact-card p { margin: auto 0 0; }

.faq { display: grid; gap: 11px; }
.faq-item { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.faq-question { width: 100%; display: flex; justify-content: space-between; gap: 16px; padding: 18px 20px; border: 0; color: var(--navy-900); background: #fff; text-align: left; font-weight: 780; cursor: pointer; }
.faq-answer { display: none; padding: 0 20px 18px; color: var(--muted); }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-symbol { transform: rotate(45deg); }
.faq-symbol { color: var(--red-600); transition: transform .18s ease; }

.cta { position: relative; overflow: hidden; padding: 48px; color: #fff; background: linear-gradient(130deg, var(--navy-900), var(--navy-700)); border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.cta::after { content: "+"; position: absolute; right: 26px; top: -90px; color: rgba(255,255,255,.06); font-size: 250px; font-weight: 300; }
.cta h2 { position: relative; z-index: 1; max-width: 780px; color: #fff; }
.cta p { position: relative; z-index: 1; max-width: 720px; color: #d3deea; }
.cta .hero-actions { position: relative; z-index: 1; }

.legal { max-width: 850px; }
.legal h2 { margin-top: 48px; font-size: 1.8rem; }
.legal h3 { margin-top: 28px; }
.legal a { color: var(--navy-700); text-decoration: underline; }
.table-wrap { overflow-x: auto; }
.terms-table { width: 100%; border-collapse: collapse; background: #fff; }
.terms-table th, .terms-table td { padding: 13px 15px; border: 1px solid var(--line); text-align: left; }
.terms-table th { color: #fff; background: var(--navy-900); }

.site-footer { padding: 62px 0 30px; color: #cbd7e5; background: var(--navy-950); }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr .8fr .8fr; gap: 35px; }
.footer-logo { width: 230px; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: .95; }
.site-footer h3 { color: #fff; font-size: 1rem; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-links { display: grid; gap: 8px; font-size: .92rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 38px; padding-top: 23px; color: #8fa1b6; border-top: 1px solid rgba(255,255,255,.12); font-size: .84rem; }
.mobile-dock { display: none; }

.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 300; overflow-y: auto; padding: 26px; background: rgba(3,14,29,.78); }
.modal-card { position: relative; max-width: 760px; margin: 3vh auto; padding: 32px; background: #fff; border-radius: var(--radius-lg); box-shadow: 0 30px 100px rgba(0,0,0,.35); }
.modal-close { position: absolute; right: 16px; top: 16px; width: 42px; height: 42px; border: 0; border-radius: 12px; color: var(--navy-900); background: var(--mist); cursor: pointer; font-size: 1.25rem; }
.booking-summary { margin: -4px 54px 7px 0; color: var(--muted); font-size: 1.02rem; }
.booking-price { color: var(--navy-900); font-size: 1.16rem; }
.booking-mail-note { margin: 18px 0 24px; padding: 16px 18px; font-size: .9rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-photo img, .btn, .card-hover { transition: none; }
}

@media (max-width: 1100px) and (min-width: 841px) {
  .home-page .hero-grid { grid-template-columns: 1fr; min-height: auto; padding-block: 62px; }
  .home-page .hero-copy { max-width: 820px; }
  .home-page .hero-photo { width: min(100%, 820px); min-height: 440px; }
  .home-page .hero-photo img { min-height: 440px; }
}

@media (max-width: 1260px) {
  .header-inner { min-height: 74px; }
  .nav { inset: 74px 18px auto; width: auto; }
  .nav-group { width: 100%; }
  .dropdown { position: static; width: 100%; display: none; margin: 4px 0 7px; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .nav-group.open .dropdown { display: block; }
  .hero-grid { gap: 38px; min-height: 590px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 2 / 4; }
}

@media (max-width: 840px) {
  .topbar-inner > span { display: none; }
  .topbar-links { width: 100%; justify-content: space-between; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-grid { padding-block: 58px; }
  .hero-photo { min-height: 430px; }
  .hero-photo img { min-height: 430px; }
  .page-hero .hero-grid { padding-bottom: 52px; }
  .hero-practice { min-height: 340px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .number-grid { grid-template-columns: repeat(2, 1fr); }
  .course-card { grid-template-columns: 120px 1fr; }
  .course-card .course-action { grid-column: 1 / -1; }
  .course-card .course-action .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :last-child { grid-column: auto; }
  .job-apply { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .brand img { width: 205px; }
  .topbar-links { gap: 10px; font-size: .77rem; }
  .section { padding-block: 68px; }
  .section-sm { padding-block: 45px; }
  .hero-grid { padding-block: 48px; }
  .hero h1 { font-size: 2.75rem; }
  .hero-photo, .hero-photo img { min-height: 370px; }
  .page-hero .hero-photo, .page-hero .hero-photo img { min-height: 320px; }
  .hero-practice { min-height: 310px; padding: 25px; }
  .practice-path { grid-template-columns: 1fr; }
  .practice-path div { min-height: auto; flex-direction: row; align-items: center; }
  .grid-2, .grid-3, .grid-4, .contact-grid, .steps, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .topics { grid-template-columns: 1fr; }
  .number-grid { grid-template-columns: 1fr 1fr; }
  .course-card { grid-template-columns: 1fr; }
  .course-date { padding: 0 0 14px; text-align: left; border-right: 0; border-bottom: 1px solid var(--line); }
  .course-card .course-action { grid-column: auto; }
  .cta { padding: 34px 25px; }
  .form-card { padding: 23px; }
  .modal { padding: 12px; }
  .modal-card { margin: 1vh auto; padding: 27px 20px; }
  .job-card { min-height: 0; }
  .job-card > .btn, .job-apply .btn { width: 100%; }
  .job-highlight { align-items: flex-start; flex-direction: column; }
  .mobile-dock { position: fixed; z-index: 110; left: 12px; right: 12px; bottom: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; background: rgba(255,255,255,.94); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); backdrop-filter: blur(12px); }
  .mobile-dock a { min-height: 44px; display: grid; place-items: center; color: #fff; background: var(--navy-800); border-radius: 11px; font-size: .86rem; font-weight: 800; }
  .mobile-dock a:last-child { background: #128c62; }
  .site-footer { padding-bottom: 95px; }
}


/* Elektronische Widerrufsfunktion */
.footer-withdraw-link {
  color: #fff !important;
  font-weight: 800;
}
.footer-withdraw-link:hover { color: #fff !important; text-decoration: underline !important; }
.withdrawal-shell { max-width: 980px; }
.withdrawal-heading { max-width: 850px; margin-bottom: 30px; }
.withdrawal-card { padding: clamp(24px, 4vw, 46px); background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.withdrawal-form { display: grid; gap: 20px; }
.withdrawal-form .field textarea { min-height: 150px; }
.withdrawal-note { margin-top: 24px; }
.withdrawal-note a { color: var(--navy-800); text-decoration: underline; }
.withdrawal-confirm { margin-top: 20px; }
.withdrawal-legal-note { max-width: 850px; margin: 22px auto 0; color: var(--muted); font-size: .9rem; line-height: 1.6; }
