/* Fahrschule Ariana – Richtung B "Fahrbahn". Mobile first. */

@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/barlow-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/barlow-condensed-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/barlow-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/barlow-condensed-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("/fonts/barlow-condensed-800.woff2") format("woff2"); }
@font-face { font-family: "Noto Sans Arabic"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/noto-sans-arabic-var.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-089F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }

:root {
  --black: #141414;
  --ink: #141414;
  --muted: #5c5c5c;
  --muted-light: #c9c9c9;
  --white: #fff;
  --grey: #f4f4f4;
  --line: #d9d9d9;
  --line-dark: #333;
  --blue: #1a70b4;
  --blue-dark: #145a91;
  --blue-light: #4a98d8;
  --radius: 2px;
  --wrap: 1180px;
  --font: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-rtl: "Noto Sans Arabic", "Segoe UI", Tahoma, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.55; color: var(--ink); background: var(--white); overflow-wrap: break-word; }
h1, h2, h3, .cls-body strong, .offer strong { hyphens: auto; overflow-wrap: break-word; }
a { overflow-wrap: anywhere; }
img, picture { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.dark :focus-visible, .hero :focus-visible, .site-footer :focus-visible, .callbar :focus-visible { outline-color: var(--white); }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1rem; }
address { font-style: normal; margin-bottom: 1rem; }
strong { font-weight: 600; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.05; margin: 0 0 .75rem; letter-spacing: .005em; }
h1 { font-size: clamp(2.6rem, 9vw, 4.6rem); font-weight: 800; text-transform: uppercase; line-height: .95; }
h2 { font-size: clamp(2rem, 6vw, 3rem); }
h3, .h3 { font-size: 1.6rem; }
h4, .h4 { font-size: 1.2rem; font-family: var(--font-head); font-weight: 700; margin: 1.25rem 0 .5rem; }
.h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.05; margin: 0 0 .75rem; }
.small { font-size: .9rem; color: var(--muted); }
.dark .small, .hero .small, .calc .small, .site-footer .small { color: var(--muted-light); }
.sub { max-width: 42rem; color: var(--muted); margin-bottom: 1.75rem; }
.dark .sub, .blue .sub { color: var(--muted-light); }
.blue .sub { color: #e6f0f8; }
.eyebrow { font-family: var(--font-head); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; color: var(--muted); margin-bottom: .75rem; }
.eyebrow.blue { color: var(--blue); }
.hero .eyebrow, .page-head .eyebrow { color: var(--muted-light); }
.accent { color: var(--blue-light); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; top: 0; inset-inline-start: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); background: var(--blue); color: #fff; padding: .5rem 1rem; z-index: 100; }
.skip:focus { width: auto; height: auto; clip: auto; overflow: visible; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.1rem; }
.wrap.narrow { max-width: 780px; }
.row-between { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }

/* Lane markings */
.lane { display: flex; gap: .55rem; padding: .9rem 1.1rem; }
.lane i { display: block; height: 4px; flex: 1 1 0; background: var(--line-dark); border-radius: 1px; transition: background .25s ease; }
.lane.on i { background: var(--blue); }
.lane.on i:nth-child(4n) { background: var(--white); }
.lane.on i:nth-child(1) { transition-delay: .05s; } .lane.on i:nth-child(2) { transition-delay: .1s; } .lane.on i:nth-child(3) { transition-delay: .15s; }
.lane.on i:nth-child(4) { transition-delay: .2s; } .lane.on i:nth-child(5) { transition-delay: .25s; } .lane.on i:nth-child(6) { transition-delay: .3s; }
.lane.on i:nth-child(7) { transition-delay: .35s; } .lane.on i:nth-child(8) { transition-delay: .4s; } .lane.on i:nth-child(9) { transition-delay: .45s; }
.lane.on i:nth-child(10) { transition-delay: .5s; } .lane.on i:nth-child(11) { transition-delay: .55s; } .lane.on i:nth-child(12) { transition-delay: .6s; }
.lane-hero { background: var(--black); }
.lane-foot { padding: 1.5rem 0 .5rem; }
.lane-foot i { background: var(--blue); }
.lane-calc { padding: .9rem 0 .5rem; }
.lane-calc i { background: var(--blue); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .6rem 1.25rem; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; letter-spacing: .02em; text-decoration: none; border-radius: var(--radius); border: 2px solid transparent; cursor: pointer; line-height: 1.1; }
.btn-blue { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-blue:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.cta { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.25rem 0 .75rem; }
.link-light { color: var(--blue-light); }
.link-light:hover { color: #fff; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0; }
.chips li, .chips a { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .95rem; letter-spacing: .04em; border: 1px solid rgba(255,255,255,.7); color: #fff; padding: .2rem .6rem; border-radius: var(--radius); text-decoration: none; }
.chips li:has(a) { border: 0; padding: 0; }
.chips a:hover { background: #fff; color: var(--ink); }
.chips-dark li { border-color: var(--ink); color: var(--ink); font-size: .85rem; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; flex-wrap: wrap; }
.logo { display: block; padding: .5rem 0; }
.logo img { width: 128px; height: auto; }
.menu-btn { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .3rem .8rem; background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; cursor: pointer; }
.menu-btn .bars { display: block; width: 18px; height: 2px; background: var(--ink); box-shadow: 0 -6px 0 var(--ink), 0 6px 0 var(--ink); }
.menu-btn[aria-expanded="true"] .bars { background: transparent; box-shadow: none; }
.menu-btn[aria-expanded="true"] .bars::before { content: "✕"; display: block; margin-top: -10px; font-weight: 700; }
.nav { display: none; flex-basis: 100%; padding: .5rem 0 1rem; }
.nav.open, .nav.open-static { display: block; }
.nav > ul > li > a { display: block; padding: .7rem 0; font-family: var(--font-head); font-weight: 600; font-size: 1.35rem; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.nav > ul > li > a[aria-current="page"] { color: var(--blue); box-shadow: inset 0 -3px 0 var(--blue); }
.nav .lang { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .9rem; }
.nav .lang a { display: inline-block; padding: .35rem .7rem; border: 1px solid var(--ink); border-radius: var(--radius); color: var(--ink); text-decoration: none; font-size: 1rem; }
.nav .lang a:hover, .nav .lang a[aria-current="page"] { background: var(--ink); color: #fff; }
.open-static { padding: 0; flex-basis: auto; }
.open-static .lang { margin: 0; }

/* Hero */
.hero { position: relative; background: var(--black); color: #fff; overflow: hidden; }
.hero-car { position: absolute; right: -8%; top: -2%; width: 70%; max-width: 720px; opacity: .07; pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: 1.5rem; padding-top: 2.5rem; padding-bottom: 1.5rem; }
.hero .lead { color: #e2e2e2; max-width: 36rem; font-size: 1.1rem; }
.hero-link a { color: var(--blue-light); }
.hero-photo { margin: 0; }
.hero-photo img { width: 100%; border-radius: var(--radius); }
.hero-photo figcaption { font-family: var(--font-head); font-size: .95rem; color: var(--muted-light); margin-top: .5rem; }

/* Page head (subpages) */
.page-head { background: var(--black); color: #fff; }
.page-head .wrap { padding-top: 2.5rem; padding-bottom: 1.5rem; }
.page-head .lead { color: #e2e2e2; max-width: 40rem; font-size: 1.1rem; }
.page-head h1 { font-size: clamp(2.2rem, 7vw, 3.8rem); }
.small-head .wrap { padding: 2rem 1.1rem; }
.small-head h1 { margin: 0; }

/* Sections */
.section { padding: 3rem 0; }
.section.alt { background: var(--grey); }
.section.dark { background: var(--black); color: #fff; }
.section.blue { background: var(--blue); color: #fff; }
.section.blue h2, .section.dark h2 { color: #fff; }
.grid { display: grid; gap: .9rem; }
.card { display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; color: var(--ink); text-decoration: none; }
a.card:hover { border-color: var(--ink); }
.box-outline { border: 2px solid var(--ink); border-radius: var(--radius); padding: 1.25rem; }

/* Languages */
.lang-card { padding: 0; }
.lang-inner { display: block; padding: 1rem; height: 100%; color: inherit; text-decoration: none; }
a.lang-inner:hover { background: var(--grey); }
.lang-card .native { display: block; font-size: 1.7rem; font-weight: 500; line-height: 1.2; margin-bottom: .35rem; }
.lang-card .native[lang="fa"], .lang-card .native[lang="ar"], .lang-card .native[lang="ur"], .lang-card .native[lang="ps"] { font-family: var(--font-rtl); font-size: 1.8rem; }
.lang-card .lang-name { display: block; font-family: var(--font-head); font-weight: 700; color: var(--blue); }
.lang-card .small { display: block; }

/* Class cards */
.cls { display: flex; align-items: center; gap: .9rem; padding: .9rem; }
.badge { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; background: var(--black); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; border-radius: var(--radius); letter-spacing: .01em; }
.badge.long { font-size: 1.15rem; }
.badge.big { width: 68px; height: 68px; font-size: 1.9rem; }
.badge.big.long { font-size: 1.25rem; }
.cls-body { flex: 1 1 auto; display: flex; flex-direction: column; line-height: 1.3; }
.cls-body strong { font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; }
.chev { color: var(--blue); font-size: 1.6rem; line-height: 1; }

/* Vehicles */
.vehicle picture img, .photo-missing { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; border-radius: var(--radius); }
.photo-missing { display: flex; align-items: flex-end; padding: .75rem; background: #2a2a2a; color: var(--muted-light); font-size: .9rem; }
.photo-missing.portrait { aspect-ratio: 4 / 5; background: #e6e6e6; color: var(--muted); }
.vehicle-cap { display: flex; justify-content: space-between; gap: .5rem; align-items: baseline; margin: .6rem 0 0; padding-bottom: .5rem; border-bottom: 2px solid var(--blue); font-family: var(--font-head); }
.vehicle-cap strong { font-size: 1.25rem; }
.vehicle-cap .tag { color: var(--blue-light); font-weight: 600; text-align: end; }

/* Steps */
.steps { display: grid; gap: 1.4rem; margin: 1.5rem 0 2rem; }
.steps li { position: relative; padding-inline-start: 1.1rem; display: grid; gap: .15rem; }
.steps .marks { position: absolute; inset-inline-start: 0; top: .2rem; bottom: .2rem; display: flex; flex-direction: column; gap: 4px; width: 4px; }
.steps .marks i { flex: 1; background: var(--line); border-radius: 1px; transition: background .3s ease; }
.steps.on .marks i:nth-child(1), .steps.on .marks i:nth-child(2) { background: var(--blue); }
.steps .num { font-family: var(--font-head); font-weight: 700; color: var(--blue); font-size: .95rem; letter-spacing: .08em; }
.steps strong { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; }
.steps-plain li > span:last-child { font-size: 1rem; }
.theory { display: grid; gap: .25rem; }
.theory strong { font-family: var(--font-head); font-size: 1.3rem; }

/* Prices */
.price-grid { display: grid; gap: 1.25rem; }
.price-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); font-size: 1rem; }
.price-table th, .price-table td { padding: .75rem .9rem; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.price-table tbody th { font-weight: 500; }
.price-table td { text-align: end; font-weight: 600; white-space: nowrap; }
.price-table thead th { background: var(--black); color: #fff; font-family: var(--font-head); font-size: 1.15rem; text-align: end; }
.price-table thead th:first-child { text-align: start; }
.price-table td.muted { color: var(--muted); font-weight: 400; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 1rem; }
.table-scroll .price-table { min-width: 720px; }
.table-scroll tbody th, .table-scroll thead th:first-child { position: sticky; inset-inline-start: 0; background: var(--white); z-index: 1; min-width: 180px; }
.table-scroll thead th:first-child { background: var(--black); }
.fair { margin-top: 1.5rem; }
.fair p { margin: .4rem 0 0; }

/* Calculator */
.calc { background: var(--black); color: #fff; padding: 1.25rem; border-radius: var(--radius); }
.calc .h3 { margin-bottom: .25rem; }
.calc-range { display: block; margin: 1rem 0; }
.calc-range output { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; }
.calc input[type="range"] { width: 100%; margin: .6rem 0 0; accent-color: var(--blue); cursor: pointer; }
.calc-lines { margin: 1rem 0 0; }
.calc-lines div { display: flex; justify-content: space-between; gap: 1rem; padding: .2rem 0; font-size: .98rem; }
.calc-lines dt { color: #e2e2e2; }
.calc-lines dd { margin: 0; white-space: nowrap; }
.calc-total { display: flex; justify-content: space-between; font-family: var(--font-head); font-size: 1.7rem; margin: .25rem 0 .75rem; }
.calc-total strong { font-weight: 700; }
.price-grid.single { max-width: 560px; }

/* Team */
.person { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; align-items: start; }
.person img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.person strong { display: block; font-family: var(--font-head); font-size: 1.4rem; line-height: 1.1; }
.person .role { display: block; color: var(--blue); font-family: var(--font-head); font-weight: 600; margin-bottom: .4rem; }
.person .chips { margin: .3rem 0 .6rem; }

/* Reviews */
.review { border: 1px solid var(--line-dark); padding: 1rem; border-radius: var(--radius); }
.review blockquote { margin: 0 0 .75rem; }
.dark .btn-outline-light { margin-top: .25rem; }

/* Reform */
.reform { display: grid; gap: 1rem; }
.reform .h3 { font-size: 1.9rem; margin: 0; }
.reform strong { display: block; font-family: var(--font-head); font-size: 1.25rem; margin-bottom: .25rem; }
.reform p { margin: 0; color: var(--muted); }

/* Ausbildung teaser */
.offer { display: grid; gap: .2rem; min-height: 100%; }
.offer .kind { font-family: var(--font-head); font-weight: 600; color: var(--blue); font-size: .95rem; letter-spacing: .04em; }
.offer strong { font-family: var(--font-head); font-size: 1.4rem; }
.offer .more { color: var(--blue); font-size: .95rem; margin-top: .4rem; }

/* FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1rem 2rem 1rem 0; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; inset-inline-end: .25rem; top: .85rem; color: var(--blue); font-size: 1.6rem; font-weight: 500; }
.faq details[open] summary::after { content: "–"; }
.faq-a { padding: 0 0 1rem; max-width: 46rem; }
.faq-a p { margin: 0; }

/* Contact */
.contact-grid { display: grid; gap: 1.5rem; }
.hours { margin: 0 0 .75rem; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-bottom: 1px solid var(--line); }
.site-footer .hours div { border-color: var(--line-dark); }
.hours dt { font-weight: 500; }
.hours dd { margin: 0; font-weight: 600; white-space: nowrap; }
.map { position: relative; }
.map img, .map iframe { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--radius); object-fit: cover; }
.map-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: .9rem 0 .5rem; }

/* Class detail pages */
.cls-detail { padding: 2rem 0; border-top: 1px solid var(--line); scroll-margin-top: 1rem; }
.cls-detail:first-child { border-top: 0; padding-top: 0; }
.cls-head { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1rem; }
.cls-head h2 { font-size: clamp(1.7rem, 5vw, 2.4rem); margin-bottom: .35rem; }
.meta { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; color: var(--muted); margin: 0; }
.cls-cols { display: grid; gap: 1rem; }
.ticks li { position: relative; padding-inline-start: 1.3rem; margin-bottom: .45rem; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .62em; width: .75rem; height: 3px; background: var(--blue); border-radius: 1px; }
.note { background: var(--grey); border-inline-start: 4px solid var(--blue); padding: .75rem 1rem; margin: 1rem 0; }
.alt .note { background: var(--white); }
.price-line { font-size: 1.05rem; }
.offer-detail { padding: 2rem 0; border-top: 1px solid var(--line); scroll-margin-top: 1rem; }
.offer-detail h2 { margin-top: 0; }

/* Prose pages */
.prose h2 { font-size: 1.9rem; margin-top: 2rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul.ticks { margin-bottom: 1rem; }

/* Footer */
.site-footer { background: var(--black); color: #e2e2e2; padding: 2.5rem 0 5.5rem; }
.site-footer a { color: #fff; }
.foot-grid { display: grid; gap: 1.75rem; }
.foot-logo { width: 150px; margin-bottom: 1rem; }
.foot-h { font-size: 1.2rem; margin-bottom: .5rem; color: #fff; }
.foot-links li { padding: .2rem 0; }
.legal { font-size: .9rem; color: var(--muted-light); margin: 0; }

/* Fixed call bar (mobile) */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom)); background: var(--black); border-top: 1px solid var(--line-dark); }
.callbar .btn { min-height: 46px; }

/* RTL */
[dir="rtl"] body, [dir="rtl"] { font-family: var(--font-rtl), var(--font); }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] .btn, [dir="rtl"] .eyebrow, [dir="rtl"] .steps strong { font-family: var(--font-rtl), var(--font-head); }
[dir="rtl"] h1 { text-transform: none; font-size: clamp(2rem, 7vw, 3.4rem); line-height: 1.2; font-weight: 700; }
[dir="rtl"] h2 { font-size: clamp(1.6rem, 5vw, 2.3rem); line-height: 1.3; }
[dir="rtl"] .eyebrow { letter-spacing: 0; text-transform: none; }
[dir="rtl"] .hero-car { right: auto; left: -8%; transform: scaleX(-1); }
[dir="rtl"] .lead, [dir="rtl"] p, [dir="rtl"] li { line-height: 1.8; }
[dir="rtl"] .btn { font-size: 1.05rem; }

/* Desktop */
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cls-cols { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
  .reform { grid-template-columns: 1fr 1fr; }
  .reform > div:first-child { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1000px) {
  body { font-size: 1.0625rem; }
  .section { padding: 4.5rem 0; }
  .site-header .wrap { flex-wrap: nowrap; min-height: 80px; }
  .logo img { width: 150px; }
  .menu-btn { display: none; }
  .nav { display: flex; align-items: center; gap: 1.5rem; flex-basis: auto; padding: 0; }
  .nav > ul { display: flex; gap: 1.35rem; }
  .nav > ul > li > a { padding: .4rem 0; font-size: 1.15rem; border-bottom: 0; }
  .nav > ul > li > a[aria-current="page"] { box-shadow: 0 3px 0 var(--blue); }
  .nav .lang { margin: 0; gap: .25rem; }
  .nav .lang a { padding: .25rem .5rem; font-size: .95rem; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 3rem; padding-top: 4rem; padding-bottom: 3rem; }
  .hero h1 { font-size: clamp(4rem, 6.5vw, 6rem); }
  .hero .lead { font-size: 1.2rem; }
  .page-head .wrap { padding-top: 3.5rem; padding-bottom: 2.5rem; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .langs.grid-3 { grid-template-columns: repeat(6, 1fr); }
  .langs .lang-card .native { font-size: 1.5rem; }
  .steps { grid-template-columns: repeat(7, 1fr); gap: 1rem; }
  .steps li { padding-inline-start: 0; padding-top: 1rem; }
  .steps .marks { inset-inline-start: 0; inset-inline-end: 0; top: 0; bottom: auto; flex-direction: row; width: auto; height: 4px; }
  .steps-plain { grid-template-columns: repeat(2, 1fr); }
  .steps-plain li { padding-inline-start: 1.1rem; padding-top: 0; }
  .steps-plain .marks { inset-inline-end: auto; top: .2rem; bottom: .2rem; flex-direction: column; width: 4px; height: auto; }
  .theory { grid-template-columns: auto 1fr; gap: 1.5rem; align-items: center; }
  .price-grid { grid-template-columns: 1.4fr 1fr; align-items: start; }
  .price-grid.single { grid-template-columns: 1fr; }
  .reform { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; }
  .reform > div:first-child { grid-column: auto; }
  .foot-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2.5rem; }
  .site-footer { padding-bottom: 2.5rem; }
  .callbar { display: none; }
  .person { grid-template-columns: 140px 1fr; }
  .cls-head { gap: 1.5rem; }
  .badge.big { width: 84px; height: 84px; font-size: 2.2rem; }
  .badge.big.long { font-size: 1.5rem; }
}

@media (max-width: 999px) {
  body { padding-bottom: 0; }
}

@media (max-width: 400px) {
  .cls-head { flex-wrap: wrap; }
  .cls-head h2 { overflow-wrap: anywhere; }
  .price-table td { white-space: normal; }
  .calc-lines dd, .hours dd { white-space: normal; }
  .btn { font-size: 1.05rem; padding: .6rem 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lane i, .steps .marks i { transition: none; }
}

@media print {
  .callbar, .menu-btn, .hero-car, .map-actions { display: none !important; }
  .nav { display: block; }
  .hero, .page-head, .section.dark, .site-footer { background: #fff !important; color: #000 !important; }
}
