/* A calm, contemporary Flash identity. Existing content and interactions stay intact. */
:root {
  --ink: #132139;
  --navy: #101d34;
  --blue: #254dca;
  --yellow: #ffde54;
  --soft: #f3f5f9;
  --line: #dce2ec;
  --muted: #566377;
}
body { background: #fff; }
.wrap { width: min(1240px, calc(100% - 80px)); }
h1, h2, h3 { text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
h2 { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.14; letter-spacing: -.045em; }
.section { padding-block: 96px; }
.section-heading { margin-bottom: 40px; gap: 56px; }
.section-heading > div { max-width: min(690px,100%); min-width: 0; }
.section-heading > p { max-width: 390px; flex-shrink: 0; line-height: 1.8; }
.eyebrow { font-size: .8125rem; letter-spacing: .08em; font-weight: 600; }
.section-kicker { margin-bottom: 14px; }
.button { min-height: 50px; padding: 14px 22px; border-radius: 8px; font-weight: 800; }
.button-small { min-height: 44px; padding: 12px 20px; border-radius: 999px; }
.text-link { gap: 14px; }
.header { border-bottom: 1px solid #e9edf3; }
.nav-row { min-height: 92px; }
.header .brand > span { color: #183887; }
.nav-row nav { gap: 26px; }
.nav-row nav > a:not(.button) { color: #455269; }
.nav-row nav > a:not(.button):hover { color: var(--blue); }
.menu-toggle { border-radius: 10px; }

/* The large vehicle photograph is the visual focus, with no additional imagery. */
.hero { margin: 0; padding: 0; overflow: hidden; background: var(--navy); }
.hero-layout { width: 100%; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); gap: 0; align-items: stretch; }
.hero-copy { padding: 56px 36px 56px max(36px, calc((100vw - 1320px) / 2)); }
.hero .eyebrow { color: #c0d0e8; }
h1 { font-size: clamp(2.55rem, 4.2vw, 4.15rem); line-height: 1.08; letter-spacing: -.055em; margin-top: 24px; text-wrap: initial; hyphens: none; }
h1 > span { color: var(--yellow); }
.hero-description { font-size: 1rem; color: #c8d3e4; line-height: 1.85; margin-top: 26px; max-width: 420px; }
.hero-actions { gap: 16px 22px; margin-top: 30px; }
.hero-actions .button { padding-inline: 20px; }
.hero-locations { margin-top: 28px; font-size: .875rem; color: #a9bbd4; }
.hero-media { min-height: 0; }
.hero-visual { height: 100%; aspect-ratio: auto; border-radius: 0; background: var(--navy); }
.hero-image { position: absolute; inset: 0; object-fit: cover; object-position: 48% center; }
.hero-visual::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, #101d34 0%, #101d34c7 5%, #101d3400 24%); }
.hero-motion-button { border-radius: 7px; background: #101d34d9; backdrop-filter: blur(8px); }
.image-caption { margin-top: 12px; color: #a6b7d0; }

/* Clear choices, a restrained palette and larger typographic hierarchy. */
.class-grid { gap: 20px; }
.class-card { border-radius: 18px; padding: 32px; min-height: 340px; }
.card-top { font-size: 2.2rem; line-height: 1.2; gap: 22px; letter-spacing: -.045em; }
.course-tag { order: -1; width: fit-content; padding: 5px 11px; border-radius: 999px; font-size: .8125rem; letter-spacing: .015em; }
.card-content { margin-top: 22px; }
.card-copy { line-height: 1.8; }
.card-footer { font-size: .875rem; padding-top: 24px; margin-top: 28px; }
.card-footer > span { width: 34px; height: 34px; flex-shrink: 0; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; }
.card-car { background: #254dca; border-color: #254dca; }
.card-car:hover { background: #1d40b0; }
.card-moto { background: #f0f4fc; border-color: #dde6f5; }
.card-moto:hover { background: #e6edf9; }
.card-trailer { background: #fff0a9; border-color: #f2de85; }
.card-trailer:hover { background: #ffe991; }
.card-trailer .card-footer { color: #243c75; }
.guidance-row { background: #f5f7fb; border: 0; border-radius: 14px; padding: 28px 32px; margin-top: 24px; }
.guidance-row h3 { font-size: 1.125rem; }
.guidance-row .button { background: #fff; color: var(--blue); border-color: #c7d3ed; }
.guidance-row .button:hover { background: #eaf0fc; }
.class-comparison { margin-top: 28px; }
#klassenvergleich > summary > .disclosure-arrow { transition: transform .18s ease; }
#klassenvergleich[open] > summary > .disclosure-arrow { transform: rotate(180deg); }
summary { padding-block: 24px; }
summary > span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #eef2f9; font-size: 20px; }
.extras-row { padding-top: 26px; }

.steps-section { background: #f3f6fb; border: 0; }
.steps { gap: 32px; margin-block: 48px; }
.steps li { padding-top: 20px; border-top: 1px solid #b8c9e8; }
.step-number { width: auto; height: auto; display: block; background: transparent; color: #254dca; font-size: 2rem; line-height: 1; font-weight: 600; margin-bottom: 24px; border-radius: 0; }
.steps h3 { font-size: 1.2rem; }
.steps p { line-height: 1.8; }
.intensive { padding: 32px 36px; border-radius: 16px; }
.intensive h3 { font-size: 1.35rem; }
.intensive .button { border-radius: 8px; }
.theory-layout { grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: start; }
.theory-schedule { padding: 36px; border: 0; border-radius: 18px; background: #152a4b; color: #fff; }
.theory-schedule h3 { font-size: 1.5rem; }
.theory-schedule dl { margin-block: 26px; }
.theory-schedule dl > div { border-color: #ffffff26; padding-block: 17px; }
.theory-schedule dt, .theory-source { color: #bfcee4; }
.theory-schedule dd { margin-top: 6px; }
.theory-schedule .button { background: #fff; color: #173887; border-color: #fff; }
.theory-schedule .button:hover { background: #eaf0ff; }
.theory-options article { padding-block: 28px; }
.theory-options h3 { font-size: 1.5rem; }

.reviews-section { background: #101d34; border: 0; color: #fff; }
.reviews-section .section-kicker { color: var(--yellow); }
.reviews-section .section-heading > p { color: #bfcee3; }
.reviews-grid { gap: 24px; }
.review-card { padding: 34px; background: #1a2b47; border: 1px solid #30415d; border-radius: 18px; }
.review-heading h3 { color: #fff; font-size: 1.2rem; }
.review-heading > span, .review-score p, .review-score > strong > span { color: #bfcee3; }
.review-score { gap: 26px; margin-top: 28px; }
.review-score > strong { font-size: 3.5rem; color: #fff; }
.review-stars { background-image: linear-gradient(to right,#ffde54 var(--rating-width),#5f7088 var(--rating-width)); }
.review-card blockquote { border-color: #ffffff29; margin-block: 28px; }
.review-card blockquote > p { font-size: 1.2rem; line-height: 1.75; color: #f0f4fc; }
.review-card blockquote footer { color: #fff; }
.review-card blockquote footer > span, .reviews-note { color: #b4c4dc; }
.review-card .text-link { color: #ffde54; }
.reviews-note { margin-top: 24px; }

.locations-section { background: #fff; }
.locations-grid { gap: 24px; }
.location { padding: 36px; border: 1px solid #d8e1ef; border-radius: 18px; background: #f5f7fc; }
.location-kladow { background: #fffdf2; border-color: #e7e2ca; }
.location-top .eyebrow { letter-spacing: .08em; }
.location h3 { font-size: 2.1rem; color: #132139; margin-top: 12px; }
.address { margin-block: 18px 28px; }
.location-info { padding-block: 16px; }
.location-actions { margin-top: 6px; padding-top: 24px; }
.location-actions .button { background: #fff; }
.location-review { padding-top: 22px; border-top: 1px solid var(--line); }
.location-review-label { font-size: .875rem; font-weight: 600; color: var(--muted); }
.location-review .review-score { margin-top: 12px; gap: 20px; flex-wrap: wrap; }
.location-review .review-score > strong { font-size: 2.75rem; color: var(--ink); }
.location-review .review-score > strong > span, .location-review .review-score p { color: var(--muted); }
.location-review .review-stars { background-image: linear-gradient(to right,#916600 var(--rating-width),#b8c1cf var(--rating-width)); }
.location-review blockquote { margin: 20px 0 16px; }
.location-review blockquote p { font-size: 1rem; line-height: 1.65; color: var(--ink); }
.location-review blockquote footer { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 12px 0 0; background: transparent; color: var(--muted); font-size: .8125rem; }
.location-review cite { font-style: normal; font-weight: 600; }
.location-review .text-link { font-size: .875rem; color: var(--blue); }
.location-contact-details { margin-top: 24px; }
.location-reviews-note { color: var(--muted); font-size: .8125rem; margin-top: 18px; }
@media (min-width: 621px) {
  .location-review blockquote p { min-height: 3.3em; }
}
@media (min-width: 621px) and (max-width: 1100px) {
  .location-review blockquote p { min-height: 4.95em; }
}
.theory-note { background: #f3f5f9; border-radius: 12px; padding: 24px 28px; }
.theory-note p { color: var(--muted); }
.faq-section { padding-top: 0; border: 0; gap: 80px; }
.faq-list { border-color: #dce2ec; }
.faq-list summary { font-size: 1.0625rem; }
.faq-intro > p { line-height: 1.85; }

.contact-section { background: #2146b3; border: 0; }
.contact-grid { gap: 72px; grid-template-columns: 1fr 1.1fr; }
.contact-copy h2 { font-size: clamp(2.2rem, 3.8vw, 3.25rem); line-height: 1.15; letter-spacing: -.045em; }
.contact-copy > p { max-width: 390px; }
.contact-form { padding: 36px; border-radius: 20px; border: 0; box-shadow: 0 14px 48px #08216124; }
.form-heading { margin-bottom: 28px; padding-bottom: 24px; }
.form-heading h3 { font-size: 1.6rem; }
.contact-check-entry { margin: -4px 0 28px; padding: 20px; border: 1px solid #d7e2f7; border-radius: 10px; background: #f2f6ff; }
.contact-check-entry p { margin: 0 0 14px; color: #425577; font-size: 1rem; line-height: 1.65; }
.contact-check-entry .button { width: 100%; }
.contact-form input:not([type=radio]), .contact-form select, .contact-form textarea, .location-choices span { border-radius: 8px; min-height: 50px; }
.location-choices span { padding: 13px 12px; }
.contact-form select, .contact-form input:not([type=radio]), .contact-form textarea { border-color: #c4cedd; }
.form-row { margin-block: 24px; gap: 16px; }
.contact-form textarea { min-height: 104px; }
.form-hint { margin-top: 16px; }
.social-links a { border-radius: 8px; }
.social-links .social-instagram { background: #922775; border-color: #e9a2ce; }
.social-links .social-instagram:hover { background: #7f2266; }
.check-attachment { border-radius: 10px; padding: 20px; }
.dialog { border-radius: 18px; border: 0; }
.dialog-close { border-radius: 50%; width: 38px; height: 38px; }
.check-choices label > span { border-radius: 9px; padding-block: 18px; }
.check-choices input { top: 25px; }
.check-dialog select { border-radius: 8px; }
.check-dialog h2 { padding-right: 14px; }
.whatsapp-float { box-shadow: 0 6px 24px #10234629; }
body > footer { background: #0b1629; padding-top: 54px; }
.footer-top { padding-bottom: 36px; }
.footer-service-links { padding-bottom: 30px; }
.to-top { border-radius: 50%; }

@media (max-width: 1150px) {
  .wrap { width: calc(100% - 64px); }
  .nav-row nav { gap: 18px; }
  .hero-layout { width: 100%; gap: 0; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); }
  .hero-copy { padding-inline: 32px 20px; }
  h1 { font-size: clamp(2.5rem, 4.1vw, 3.2rem); }
  .hero-actions { gap: 16px; }
  .class-card, .review-card, .location { padding: 28px; }
  .card-top { font-size: 1.9rem; }
  .section-heading { gap: 32px; }
  .section-heading > p { max-width: 340px; }
  .theory-layout, .contact-grid, .faq-section { gap: 40px; }
  .contact-form { padding: 28px; }
}
@media (max-width: 960px) {
  .hero { margin: 0; padding: 0; }
  .hero-layout { width: 100%; grid-template-columns: 1fr; gap: 0; }
  .hero-copy { max-width: none; padding: 40px 32px 24px; }
  h1 { font-size: clamp(2.7rem, 6.2vw, 3.8rem); }
  .hero-description { max-width: 610px; }
  .hero-media { width: 100%; }
  .hero-visual { height: auto; aspect-ratio: 16 / 9; border-radius: 0; }
  .hero-visual::after { background: linear-gradient(180deg, #101d34 0%, #101d345c 7%, #101d3400 22%); }
  .hero-media .image-caption { margin-inline: 24px; }
  .hero-locations { margin-top: 22px; }
  .class-grid { grid-template-columns: 1fr; }
  .class-card { padding: 28px; min-height: 0; display: grid; grid-template-columns: 190px minmax(0,1fr); gap: 30px; }
  .card-content { margin-top: 0; }
  .card-top { font-size: 1.75rem; }
  .card-footer { gap: 10px; }
  .steps { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; }
}
@media (max-width: 800px) {
  .wrap { width: calc(100% - 40px); }
  .hero-layout { width: 100%; }
  .nav-row { min-height: 80px; }
  .nav-row nav { gap: 4px; }
  .nav-row nav .button { border-radius: 8px; }
  .section { padding-block: 64px; }
  .section-heading { gap: 18px; margin-bottom: 32px; }
  .section-heading > p { max-width: 580px; flex-shrink: 1; }
  h2 { font-size: 2.25rem; }
  .class-grid { gap: 16px; }
  .class-card { padding: 26px; min-height: 0; }
  .card-top { font-size: 1.6rem; }
  .card-footer > span { width: 30px; height: 30px; }
  .guidance-row { padding: 26px; }
  .intensive { padding: 28px; }
  .theory-layout { grid-template-columns: 1fr; gap: 32px; }
  .theory-schedule { padding: 30px; }
  .review-card, .location { padding: 28px; }
  .review-score { gap: 16px; }
  .review-score > strong { font-size: 3rem; }
  .review-card blockquote > p { font-size: 1.0625rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-copy h2 { font-size: 2.6rem; text-wrap: initial; }
  .contact-copy > p { max-width: 540px; }
  .contact-form { padding: 32px; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .faq-section { grid-template-columns: 1fr; gap: 28px; padding-top: 0; }
}
@media (max-width: 620px) {
  .hero { margin: 0; border-radius: 0; padding: 0; }
  .hero-layout { gap: 0; }
  .hero-media { grid-row: 1; }
  .hero-visual { aspect-ratio: 3 / 2; }
  .hero-visual::after { background: linear-gradient(180deg, #101d3400 70%, #101d3447 83%, #101d34ba 94%, #101d34 100%); }
  .hero-image { object-fit: cover; object-position: 48% center; }
  .hero-copy { padding: 16px 24px 28px; }
  h1 { font-size: clamp(2.4rem, 8.8vw, 3.2rem); line-height: 1.1; letter-spacing: -.05em; margin-top: 12px; }
  .hero-description { margin-top: 16px; line-height: 1.65; }
  .hero-actions { align-items: center; gap: 14px 16px; margin-top: 22px; }
  .hero-actions .button { padding-inline: 18px; font-size: .875rem; }
  .hero-media .image-caption { margin-inline: 20px; font-size: .75rem; }
  .class-grid, .reviews-grid, .locations-grid { grid-template-columns: 1fr; }
  .class-card { min-height: 0; padding: 28px; display: flex; gap: 0; }
  .card-top { flex-direction: column; align-items: flex-start; gap: 20px; font-size: 2rem; }
  .card-content { margin-top: 18px; }
  .card-copy { font-size: 1rem; }
  .card-footer { margin-top: 26px; padding-top: 20px; }
  .intensive { align-items: stretch; gap: 24px; }
  .review-score > strong { font-size: 3.5rem; }
  .review-card blockquote > p { font-size: 1.15rem; }
  .location h3 { font-size: 2rem; }
  .location-info { grid-template-columns: 88px 1fr; }
  .contact-form { padding: 28px 24px; border-radius: 16px; }
  .contact-copy h2 { font-size: 2.45rem; }
  .dialog { padding: 48px 24px 28px; }
}
@media (max-width: 440px) {
  .hero-copy { padding-inline: 20px; }
  .hero-layout { gap: 0; }
  h1 { font-size: clamp(2rem, 8.8vw, 2.4rem); }
  .hero-actions { flex-direction: row; }
  .hero-actions .text-link { font-size: .875rem; }
  .section { padding-block: 56px; }
  h2 { font-size: 2rem; }
  .steps { grid-template-columns: 1fr; gap: 24px; margin-block: 34px; }
  .steps li { column-gap: 18px; padding-top: 20px; }
  .step-number { font-size: 1.65rem; margin: 0; }
  .steps h3 { margin-top: 1px; }
  .steps p { grid-column: 2; }
  .intensive { padding: 26px 24px; }
  .theory-schedule, .review-card, .location { padding: 26px 24px; }
  .theory-schedule .button { width: 100%; padding-inline: 14px; }
  .form-row { grid-template-columns: 1fr; }
  .faq-section { padding-top: 0; }
  .contact-form { padding: 26px 20px; }
  .social-links a { padding-inline: 14px; }
}

/* Contact shortcuts land at the actual form, including on small screens. */
.contact-form { scroll-margin-top: 104px; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #647186; }
.field-error { margin-top: 7px; font-size: .875rem; line-height: 1.6; color: #af241c; }
.dialog .field-error { color: #af241c; font-size: .875rem; }
.contact-form [aria-invalid="true"] { border-color: #af241c; }
.hero a:focus-visible, .hero button:focus-visible,
.contact-copy a:focus-visible, .contact-copy button:focus-visible,
.reviews-section a:focus-visible, footer a:focus-visible, footer button:focus-visible { outline-color: var(--yellow); }
main:focus { outline: none; }
@media (max-width: 800px) { .contact-form { scroll-margin-top: 96px; } }

/* The published timetable is readable in place, with explicit dated weeks. */
.theory-planner { display: grid; grid-template-columns: minmax(0,1fr); align-items: start; }
.schedule-card { min-width: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; }
.schedule-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px; background: var(--navy); color: #fff; }
.schedule-heading .eyebrow { color: #c4d2e7; font-size: .875rem; }
.schedule-heading h3 { margin-top: 7px; font-size: 1.5rem; line-height: 1.3; }
.schedule-start { color: var(--yellow); font-size: .875rem; white-space: nowrap; }
.week-tabs { display: flex; gap: 6px; padding: 12px; background: #eef2f9; border-bottom: 1px solid var(--line); }
.week-tabs button { flex: 1; padding: 12px 14px; border-radius: 8px; color: #43536b; background: transparent; font-size: .9375rem; font-weight: 600; line-height: 1.4; }
.week-tabs button[aria-selected="true"] { background: #fff; color: #173baf; box-shadow: 0 1px 4px #14213b12; }
.week-tabs button:hover { color: #153790; background: #fff; }
.week-tabs button:focus-visible, .week-panel:focus-visible { outline: 3px solid #254dca; outline-offset: -3px; }
.lesson-list { list-style: none; margin: 0; padding: 0 28px; }
.lesson-row { display: grid; grid-template-columns: 105px minmax(0,1fr) 142px; align-items: center; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.lesson-row:last-child { border-bottom: 0; }
.lesson-date { display: flex; flex-direction: column; gap: 2px; }
.lesson-date > span { font-size: .875rem; color: var(--muted); }
.lesson-date > strong { font-size: 1.55rem; color: #173887; line-height: 1.3; letter-spacing: -.03em; }
.lesson-topic { min-width: 0; }
.lesson-topic h4 { font-size: 1rem; line-height: 1.5; font-weight: 800; margin: 0 0 5px; }
.lesson-place { display: inline-block; font-size: .875rem; line-height: 1.5; color: var(--muted); }
.lesson-place.is-kladow { padding: 3px 10px; border-radius: 5px; background: #eaf0ff; color: #204399; }
.lesson-hours { text-align: right; line-height: 1.5; }
.lesson-hours strong { font-size: .9375rem; white-space: nowrap; }
.lesson-hours span { display: block; font-size: .875rem; color: var(--muted); margin-top: 4px; }
.schedule-source { padding: 20px 28px; background: #f7f9fc; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; line-height: 1.75; }
.theory-planner .theory-options article:first-child { padding-top: 6px; }
.theory-planner .theory-options h3 { font-size: 1.4rem; }
.theory-planner .theory-options .eyebrow { display: block; margin-bottom: 12px; }
.theory-planner .theory-options .theory-small { margin-top: 20px; font-size: .875rem; }

/* Google Maps appear directly within each location card. */
.location-map { margin-top: 22px; border: 1px solid #dae3f2; border-radius: 12px; overflow: hidden; background: #edf1f5; }
.location-map iframe { width: 100%; height: 310px; border: 0; display: block; }
.location-map + .location-actions { margin-top: 24px; }
.week-panel[hidden] { display: none; }
@media (max-width: 1100px) {
  .theory-planner { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .theory-planner .theory-options { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
  .theory-planner .theory-options article, .theory-planner .theory-options article:first-child { padding: 0; border: 0; }
  .theory-planner .theory-options .theory-small { grid-column: 1 / -1; margin: 0; }
}
@media (max-width: 620px) {
  .schedule-heading { padding: 24px 20px; align-items: flex-start; flex-direction: column; gap: 10px; }
  .schedule-heading h3 { font-size: 1.35rem; }
  .week-tabs { padding: 8px; gap: 4px; }
  .week-tabs button { padding: 12px 7px; font-size: .875rem; }
  .lesson-list { padding-inline: 20px; }
  .lesson-row { grid-template-columns: 80px minmax(0,1fr); gap: 8px 16px; padding-block: 22px; align-items: start; }
  .lesson-date { grid-row: span 2; }
  .lesson-date > strong { font-size: 1.4rem; }
  .lesson-date > span { font-size: .8125rem; }
  .lesson-hours { grid-column: 2; text-align: left; }
  .lesson-hours span { display: inline; margin-left: 5px; font-size: .8125rem; }
  .lesson-hours span:not(:last-child) { display: block; }
  .schedule-source { padding: 18px 20px; }
  .theory-planner .theory-options { grid-template-columns: 1fr; gap: 24px; }
  .theory-planner .theory-options article + article { border-top: 1px solid var(--line); padding-top: 24px; }
  .location-map iframe { height: 290px; }
}
