/* Wittmann: mobile reading and decision paths. Native content stays in Elementor. */
:root {
  --wm-mobile-header: 76px;
  --wm-mobile-bar: 68px;
  --wm-paper: #fffdf6;
  --wm-ink: #0a3d58;
  --wm-line: #d8e4eb;
}

/* Proof belongs beside the people doing the teaching, not in a distant carousel. */
body.home .elementor-995 .fw-entry-hero {
  background: #fffdf6;
}
body.home .elementor-995 .fw-entry-hero > .elementor-container {
  align-items: center;
  row-gap: 30px;
}
body.home .elementor-995 .fw-entry-hero .fw-home-proof {
  grid-column: 1 / -1;
  min-width: 0;
  width: 100% !important;
}
.fw-home-proof .fw-facts-grid,
.fw-wittmann-facts .fw-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  min-width: 0;
  margin: 0;
  border: 0;
  border-top: 1px solid #d8e4eb;
  border-bottom: 1px solid #d8e4eb;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  color: #0a3d58;
}
.fw-facts-grid .fw-fact {
  min-width: 0;
  padding: 24px;
  border-right: 1px solid #d8e4eb;
}
.fw-facts-grid .fw-fact:last-child { border-right: 0; }
.fw-facts-grid .fw-fact-number {
  display: block;
  color: #0a3d58;
  font: 750 clamp(36px, 4vw, 54px)/1.1 Inter, system-ui, sans-serif;
  letter-spacing: -.055em;
  font-variant-numeric: tabular-nums;
  margin: 0 0 9px;
}
.fw-facts-grid .fw-fact-label {
  display: block;
  color: #0a3d58;
  font: 650 14px/1.5 Inter, system-ui, sans-serif;
  margin: 0 0 5px;
}
.fw-facts-grid .fw-fact-label::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 7px;
  vertical-align: middle;
  background: #d7a800;
  border-radius: 50%;
}
.fw-facts-grid .fw-fact-note {
  display: block;
  color: #435e70;
  font: 400 12px/1.65 Inter, system-ui, sans-serif;
  margin: 0;
}

/* The school introduction and the current campaign are distinct native sections. */
body.home .elementor-995 .fw-home-campaign { padding: 32px 24px; background: #fff; }
body.home .elementor-995 .fw-home-campaign > .elementor-container {
  max-width: 1180px !important;
  padding: 30px 32px;
  border: 1px solid #e9dfb8;
  border-radius: 18px;
  background: #fff9e9;
}
body.home .elementor-995 .fw-home-campaign > .elementor-container > .elementor-column { width: 100% !important; min-width: 0; }
body.home .elementor-995 .fw-home-campaign .elementor-widget-wrap { padding: 0 !important; }
.fw-home-campaign .fw-campaign-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .8fr); gap: 32px; align-items: center; }
.fw-home-campaign :is(.fw-campaign-intro, .fw-campaign-offer) { min-width: 0; }
.fw-home-campaign .fw-campaign-kicker { display: block; margin: 0 0 12px; color: #775a00; font: 750 10px/1.6 Inter, system-ui, sans-serif; letter-spacing: .11em; text-transform: uppercase; }
body.home .elementor-995 .fw-home-campaign h2 { margin: 0 0 14px !important; color: #0a3d58 !important; font: 750 clamp(28px, 3vw, 38px)/1.15 Inter, system-ui, sans-serif !important; letter-spacing: -.035em !important; text-transform: none !important; }
.fw-home-campaign .fw-campaign-intro p { max-width: 620px; margin: 0 0 15px; color: #435e70; font-size: 15px; line-height: 1.7; }
.fw-home-campaign .fw-campaign-price { border-left: 1px solid #dfd3a5; padding-left: 26px; }
.fw-home-campaign .fw-campaign-price strong { display: block; color: #0a3d58; font: 750 40px/1.15 Inter, system-ui, sans-serif; letter-spacing: -.045em; }
.fw-home-campaign .fw-campaign-price small { display: block; margin-top: 5px; color: #435e70; font-size: 12px; line-height: 1.65; }
.fw-home-campaign .fw-campaign-actions { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin-top: 18px; }
.fw-home-campaign .fw-campaign-actions a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; font-weight: 700; line-height: 1.5; }
.fw-home-campaign .fw-campaign-actions a.elementor-button { padding: 13px 18px; background: #ffda24; color: #0a3d58; border-radius: 8px; text-decoration: none; border: 0; }
.fw-home-campaign .fw-campaign-note { display: block; margin: 15px 0 0; color: #526878; font-size: 12px; line-height: 1.7; }

/* All routes remain visible. These are useful links, not swipe-dependent navigation. */
.fw-home-quicklinks :is(ul, .fw-quicklinks-grid),
.fw-mobile-jump :is(p, ul, .fw-jump-grid) {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.fw-home-quicklinks li,
.fw-mobile-jump li { margin: 0; padding: 0; min-width: 0; }
.fw-home-quicklinks li::before,
.fw-mobile-jump li::before { content: none !important; }
.fw-home-quicklinks a,
.fw-mobile-jump a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 52px;
  width: 100%;
  padding: 13px 16px !important;
  border: 1px solid #b9cfdc;
  border-radius: 9px;
  background: #fff !important;
  color: #0a3d58 !important;
  font: 650 14px/1.4 Inter, system-ui, sans-serif;
  text-decoration: none !important;
  box-shadow: none !important;
  overflow-wrap: break-word;
}
.fw-home-quicklinks a:hover,
.fw-mobile-jump a:hover { border-color: #10628c; background: #f1f6f8 !important; }
.fw-home-quicklinks a > span:first-child { min-width: 0; }
.fw-home-quicklinks a strong { display: block; font-size: 14px; font-weight: 750; line-height: 1.45; }
.fw-home-quicklinks a small { display: block; font-size: 12px; font-weight: 400; line-height: 1.55; color: #435e70; margin-top: 3px; }
.fw-home-quicklinks a > span[aria-hidden] { flex-shrink: 0; }
.fw-home-quicklinks a:focus-visible,
.fw-mobile-jump a:focus-visible { outline: 3px solid #10628c; outline-offset: 3px; }

@media (max-width: 1024px) {
  /* The old theme added outer padding as well as the header-inner padding. */
  body header#site-header {
    padding: 0 !important;
    border-bottom: 1px solid #e1e9ee;
  }
  body header#site-header .header-inner {
    min-height: var(--wm-mobile-header);
    padding: 12px 18px !important;
    gap: 16px;
  }
  body header#site-header .site-branding { min-width: 0; }
  body header#site-header .site-branding .custom-logo-link { display: block; line-height: 1; }
  body header#site-header .site-branding img.custom-logo {
    display: block;
    width: 172px;
    height: 48px;
    max-height: 48px;
    max-width: 100%;
    object-fit: contain;
  }
  body header#site-header .site-navigation-toggle { flex: 0 0 44px; }
  body .site-navigation-dropdown,
  body .site-navigation-dropdown.wm-active {
    box-sizing: border-box;
    max-height: calc(100dvh - var(--wm-mobile-header) - 1px - env(safe-area-inset-bottom, 0px)) !important;
    scroll-padding-bottom: 16px;
  }
  body.wm-menu-open .wittmann-mobile-bar { visibility: hidden; pointer-events: none; }
}

@media (max-width: 767px) {
  html {
    scroll-padding-top: calc(var(--wm-mobile-header) + 12px);
    scroll-padding-bottom: calc(var(--wm-mobile-bar) + env(safe-area-inset-bottom, 0px) + 12px);
  }
  body { padding-bottom: calc(var(--wm-mobile-bar) + env(safe-area-inset-bottom, 0px)) !important; }
  body .wittmann-mobile-bar {
    padding: 8px 14px calc(8px + env(safe-area-inset-bottom, 0px)) !important;
  }
  body .wittmann-mobile-bar .bar-inner { gap: 8px !important; }
  body .wittmann-mobile-bar a {
    min-height: 48px !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    padding: 11px 10px !important;
    letter-spacing: 0 !important;
  }
  body main :is(input:not([type=radio]):not([type=checkbox]):not([type=range]):not([type=submit]), select, textarea) {
    font-size: max(16px, 1em);
    max-width: 100%;
  }
  body main :is(.fw-campaign, .fw-home, .fw-decision-section, .fw-decision-hero, .fw-learning-plan-section) {
    min-width: 0;
  }
  body main :is(.fw-campaign, .fw-home, .fw-decision-section, .fw-decision-hero) .elementor-container {
    min-width: 0;
  }
  body main :is(.fw-campaign, .fw-home) p {
    font-size: 16px;
    line-height: 1.7;
  }
  body main :is(.fw-campaign, .fw-home) :is(.fc-small, .fw-small) p {
    font-size: 13px;
    line-height: 1.7;
  }
  body main :is(.fw-campaign, .fw-home) :is(.fc-lead, .fw-lead) p {
    font-size: 16px;
    line-height: 1.7;
  }
  body main :is(.fw-campaign, .fw-home) :is(.fc-eyebrow, .fw-eyebrow) p {
    font-size: 10px;
    line-height: 1.6;
    letter-spacing: .11em;
  }
  body main :is(.fw-campaign, .fw-home) .elementor-button {
    min-height: 48px;
    max-width: 100%;
    white-space: normal;
    font-size: 14px;
    line-height: 1.45;
  }
  body main .elementor-button-text { white-space: normal; }
  body main :is(.fc-link, .fw-entry-inline) a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  /* Short, usable first screen; proof precedes the large school photo. */
  body.home .elementor-995 .fw-entry-hero {
    padding: 24px 20px 28px !important;
  }
  body.home .elementor-995 .fw-entry-hero > .elementor-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  body.home .elementor-995 .fw-entry-hero .elementor-element-e48bf20 { order: 1; }
  body.home .elementor-995 .fw-entry-hero .fw-home-proof { order: 2; }
  body.home .elementor-995 .fw-entry-hero .elementor-element-dd15587 { order: 3; }
  body.home .elementor-995 .fw-entry-hero h1.elementor-heading-title {
    font-size: clamp(36px, 10vw, 43px) !important;
    line-height: 1.08 !important;
    letter-spacing: -.045em !important;
    margin: 0 !important;
  }
  body.home .elementor-995 .fw-entry-hero .fw-entry-kicker {
    font-size: 13px;
    line-height: 1.5;
    letter-spacing: .015em;
    margin-bottom: 10px;
  }
  body.home .elementor-995 .fw-entry-hero .elementor-widget-button { margin-bottom: 8px; }
  body.home .elementor-995 .fw-entry-hero .elementor-button { width: 100%; }
  body.home .elementor-995 .fw-entry-hero .fw-entry-secondary { margin-bottom: 0 !important; }
  body.home .elementor-995 .fw-entry-hero .fw-entry-secondary .elementor-button {
    width: auto !important;
    display: inline-flex;
    justify-content: flex-start;
    min-height: 44px;
    padding: 8px 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #10628c !important;
    box-shadow: none !important;
    font-size: 14px;
    text-align: left;
    text-decoration: underline;
    text-decoration-color: #e5bb00;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
  }
  .fw-home-proof .fw-facts-grid,
  .fw-wittmann-facts .fw-facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 0; }
  .fw-facts-grid .fw-fact { padding: 16px 14px; }
  .fw-facts-grid .fw-fact:nth-child(2) { border-right: 0; }
  .fw-facts-grid .fw-fact:nth-child(-n+2) { border-bottom: 1px solid #d8e4eb; }
  .fw-facts-grid .fw-fact-number { font-size: 34px; margin-bottom: 4px; }
  .fw-facts-grid .fw-fact-label { font-size: 12px; line-height: 1.45; margin-bottom: 3px; }
  .fw-facts-grid .fw-fact-note { font-size: 11px; line-height: 1.55; }
  body.home .elementor-995 .fw-entry-hero .fw-home-proof .elementor-widget-text-editor p {
    font-size: 13px;
    line-height: 1.7;
  }
  body.home .elementor-995 .fw-home-campaign { padding: 24px 20px; }
  body.home .elementor-995 .fw-home-campaign > .elementor-container { padding: 23px 20px; border-radius: 14px; }
  .fw-home-campaign .fw-campaign-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  body.home .elementor-995 .fw-home-campaign h2 { font-size: 28px !important; }
  .fw-home-campaign .fw-campaign-intro p { font-size: 15px; margin-bottom: 12px; }
  .fw-home-campaign .fw-campaign-price { padding: 18px 0 0; border-left: 0; border-top: 1px solid #dfd3a5; }
  .fw-home-campaign .fw-campaign-price strong { font-size: 34px; }
  .fw-home-campaign .fw-campaign-actions { margin-top: 12px; gap: 6px 16px; }
  .fw-home-campaign .fw-campaign-actions a { font-size: 13px; }
  .fw-home-campaign .fw-campaign-note { font-size: 12px; }
  body.home .elementor-995 .fw-entry-photo > .elementor-widget-wrap { border-radius: 16px; box-shadow: none; }
  body.home .elementor-995 .fw-entry-photo .elementor-widget-text-editor { padding: 16px 18px !important; }
  body.home .elementor-995 .fw-entry-photo .elementor-widget-text-editor p { font-size: 13px; }
  body.home .elementor-995 .fw-home-trust > .elementor-container { gap: 12px; }
  body.home .elementor-995 .fw-home-trust > .elementor-container > .elementor-column > .elementor-widget-wrap {
    border-radius: 12px;
    padding: 20px !important;
  }
  body.home .elementor-995 .fw-home-trust h3.elementor-heading-title { font-size: 19px !important; }
  body.home .elementor-995 .fw-home-trust p { font-size: 15px; }
  .fw-home-quicklinks :is(ul, .fw-quicklinks-grid),
  .fw-mobile-jump :is(p, ul, .fw-jump-grid) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .fw-home-quicklinks a, .fw-mobile-jump a { padding: 12px !important; min-height: 54px; font-size: 13px; }
  body.home .elementor-995 .fw-home-paths > .elementor-container { gap: 12px; }
  body.home .elementor-995 .fw-path-card > .elementor-widget-wrap { padding: 22px !important; border-radius: 12px; }
  body.home .elementor-995 .fw-home-discover-card { grid-template-columns: minmax(80px, .48fr) minmax(0, 1fr); border-radius: 14px; }
  body.home .elementor-995 .fw-home-discover-card > div { padding: 20px 16px; }
  body.home .elementor-995 .fw-home-discover-card img { min-height: 210px; }
  body.home .elementor-995 .fw-home-discover-card--wissen img { min-height: 0; }
  body.home .elementor-995 .fw-home-discover-card h3 { font-size: 21px !important; }
  body.home .elementor-995 .fw-home-discover-card p { font-size: 14px; line-height: 1.65; }
  body.home .elementor-995 .fw-home-discover-card strong { padding-top: 12px; font-size: 13px; }

  /* Four local video previews stay visible in one 2x2 group, without a carousel. */
  body.home .elementor-995 .fw-instagram-highlights {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
  }
  body.home .elementor-995 .fw-instagram-card-grid > .elementor-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  body.home .elementor-995 .fw-instagram-card > .elementor-widget-wrap {
    border-radius: 12px;
    padding-bottom: 12px !important;
    box-shadow: none;
  }
  body.home .elementor-995 .fw-instagram-card .elementor-widget:not(.fw-ig-card-photo) {
    padding: 0 12px;
    margin-bottom: 9px;
  }
  body.home .elementor-995 .fw-instagram-card .fw-ig-card-photo { margin-bottom: 12px !important; }
  body.home .elementor-995 .fw-instagram-card .fw-ig-card-photo img {
    aspect-ratio: 4 / 3;
    height: auto;
    max-height: 140px;
    object-fit: contain;
    background: #0a3d58;
  }
  body.home .elementor-995 .fw-instagram-card .fw-ig-card-category p {
    font-size: 9px;
    line-height: 1.5;
    letter-spacing: .05em;
  }
  body.home .elementor-995 .fw-instagram-card h3.elementor-heading-title {
    font-size: 16px !important;
    line-height: 1.3 !important;
    letter-spacing: -.025em !important;
  }
  body.home .elementor-995 .fw-instagram-card p { font-size: 12px; line-height: 1.65; }
  body.home .elementor-995 .fw-instagram-card .fw-ig-card-link {
    margin-top: auto;
    margin-bottom: 0;
  }
  body.home .elementor-995 .fw-instagram-card .fw-ig-card-link .elementor-button {
    min-height: 44px;
    font-size: 12px;
    line-height: 1.4;
    padding: 8px 0 !important;
    justify-content: space-between;
  }
  body.home .elementor-995 .fw-instagram-card .fw-ig-card-link .elementor-button-text { flex-grow: 0; }

  /* Campaign: clear controls before long comparisons; no secondary sticky strip. */
  body.page-id-5836 .fw-entry-hero {
    padding-top: 24px !important;
    padding-bottom: 28px !important;
  }
  body.page-id-5836 .fw-entry-hero h1.elementor-heading-title {
    font-size: clamp(36px, 10vw, 43px) !important;
    line-height: 1.08 !important;
  }
  body.page-id-5836 .fw-entry-hero > .elementor-container { gap: 24px; }
  body.page-id-5836 .fw-entry-hero .elementor-widget { margin-bottom: 14px; }
  body.page-id-5836 .fw-entry-hero .fw-entry-secondary { margin-bottom: 0 !important; }
  body.page-id-5836 .fw-entry-hero .fw-entry-secondary .elementor-button {
    width: auto !important;
    display: inline-flex;
    justify-content: flex-start;
    min-height: 44px;
    padding: 8px 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #10628c !important;
    box-shadow: none !important;
    font-size: 14px;
    text-align: left;
    text-decoration: underline;
    text-decoration-color: #e5bb00;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
  }
  body.page-id-5836 .fw-mobile-jump a { min-height: 44px; padding: 10px 12px !important; }
  body.page-id-5836 .winter-package > .elementor-widget-wrap { padding: 20px !important; border-radius: 14px; }
  body.page-id-5836 .winter-package .elementor-widget { margin-bottom: 12px; }
  body.page-id-5836 .winter-package .elementor-widget-heading { margin-bottom: 12px; }
  body.page-id-5836 .winter-package h3.elementor-heading-title { font-size: 20px !important; line-height: 1.25 !important; }
  body.page-id-5836 .winter-package-features li { font-size: 15px; line-height: 1.55; padding-top: 10px; padding-bottom: 10px; }
  body.page-id-5836 .winter-package-features li::before { top: 18px; }
  body.page-id-5836 .winter-package .winter-price p { font-size: 48px; }
  body.page-id-5836 .winter-package .winter-price-caption { margin-bottom: 10px !important; }
  body.page-id-5836 .winter-package .winter-price-caption p { font-size: 12px; }
  body.page-id-5836 .winter-package .winter-package-note { padding-top: 0; }
  body.page-id-5836 .winter-package .winter-package-note p { font-size: 13px; line-height: 1.6; }
  body.page-id-5836 :is(#pakete, #kosten, #vor-ort, #aktionsrechner, #dein-lernweg) {
    scroll-margin-top: calc(var(--wm-mobile-header) + 12px);
  }
  body.page-id-5836 .winter-cost-table tbody small { font-size: 12px; line-height: 1.65; }
  body.page-id-5836 .winter-terms p { font-size: 14px; }

  /* Forms and decision tools remain comfortable without enlarging every label. */
  body .fw-budget-quick { top: calc(var(--wm-mobile-header) + 8px); padding: 9px 12px; }
  body .fw-budget-quick > strong { font-size: 22px; }
  body .fw-budget-quick small { font-size: 10px; }
  body .fw-budget .fw-budget-stepper button { min-width: 44px; min-height: 44px; }
  body .fw-budget-expand > summary { min-height: 58px; }
  body .fw-budget .fw-budget-note { font-size: 13px; line-height: 1.7; }
  body .fw-budget-result dt small { font-size: 11px; }
  body .fw-budget-result dd { font-size: 14px; }
  body .wittmann-learning-plan .fw-plan-hint { font-size: 14px; }
  body .wittmann-learning-plan .fw-plan-option-copy strong { font-size: 15px; }
  body .wittmann-learning-plan .fw-plan-option-copy small { font-size: 13px; }
  body .wittmann-learning-plan .fw-plan-privacy { font-size: 13px; }
  body .wittmann-guided-advice .guide-option small { font-size: 14px; }
  body .wittmann-guided-advice .guide-controls :is(button, a) { min-height: 48px; }
  body main .elementor-accordion .elementor-tab-title { min-height: 52px; }
}

@media (max-width: 360px) {
  body header#site-header .header-inner { padding-inline: 14px !important; }
  .fw-facts-grid .fw-fact { padding: 16px 12px; }
  .fw-facts-grid .fw-fact-number { font-size: 30px; }
  body.home .elementor-995 .fw-home-discover-card { grid-template-columns: 78px minmax(0, 1fr); }
  body.home .elementor-995 .fw-home-discover-card > div { padding: 18px 14px; }
  body.home .elementor-995 .fw-home-discover-card h3 { font-size: 19px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .fw-home-quicklinks *, .fw-mobile-jump *, .fw-facts-grid * { transition: none !important; animation: none !important; }
}
@media (forced-colors: active) {
  .fw-facts-grid, .fw-facts-grid .fw-fact, .fw-home-quicklinks a, .fw-mobile-jump a { border-color: CanvasText; }
  .fw-facts-grid :is(.fw-fact-number, .fw-fact-label, .fw-fact-note) { color: CanvasText; }
}

/* Dated teaching news: confirmed December sessions and the returning spring blocks. */
.wm-news-badge{display:inline-flex;align-items:center;vertical-align:middle;padding:5px 8px;border-radius:4px;background:#ffdf39;color:#0a3d58!important;font:750 10px/1.35 Inter,system-ui,sans-serif!important;letter-spacing:.065em!important;text-transform:uppercase;white-space:nowrap;margin:0 0 7px}
.wm-course-mini{border-left:3px solid #e5bc00;padding-left:14px;margin-top:20px!important;font-size:14px!important;line-height:1.7!important}
.wm-course-spring{padding:16px 18px;border-left:3px solid #17628a;background:#f1f7fa;color:#0a3d58;line-height:1.7}
.wm-course-spring .wm-news-badge{display:table;margin-bottom:9px}
.wm-course-notice{padding:40px 24px!important;background:#f1f6f8;border-block:1px solid #d8e4eb;color:#0a3d58}
.wm-course-notice>.elementor-container{max-width:1180px;margin-inline:auto}
.wm-course-notice>.elementor-container>.elementor-column{width:100%!important;min-width:0}
.wm-course-notice>.elementor-container>.elementor-column>.elementor-widget-wrap{display:grid!important;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:12px 46px!important;padding:0!important;align-content:start}
.wm-course-notice .elementor-widget{margin:0!important;min-width:0;width:100%}
.wm-course-notice .wm-course-kicker{grid-column:1;grid-row:1}
.wm-course-notice .wm-course-title{grid-column:1;grid-row:2}
.wm-course-notice .wm-course-intro{grid-column:1;grid-row:3}
.wm-course-notice .wm-course-detail{grid-column:1;grid-row:4}
.wm-course-notice .wm-course-cta{grid-column:1;grid-row:5}
.wm-course-notice .wm-course-calendar{grid-column:2;grid-row:1/span 5;align-self:center}
.wm-course-notice .wm-course-title h2{font:750 clamp(30px,3.4vw,43px)/1.12 Inter,system-ui,sans-serif!important;letter-spacing:-.035em!important;text-transform:none!important;color:#0a3d58!important;margin:0!important}
.wm-course-notice p{font-size:15px!important;line-height:1.7!important;color:#486473!important;margin:0 0 10px!important}
.wm-course-notice .wm-course-kicker p{font-size:11px!important;line-height:1.7!important;letter-spacing:.02em}
.wm-course-notice .wm-course-detail p{font-size:13px!important;line-height:1.7!important}
.wm-course-notice .wm-course-detail strong{color:#0a3d58}
.wm-course-dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.wm-course-dates article{padding:23px 20px;border:1px solid #bacfdb;border-radius:15px;background:white;min-width:0}
.wm-course-dates article>p{font-size:12px!important;margin-bottom:7px!important}
.wm-course-dates h3{font:750 38px/1.05 Inter,system-ui,sans-serif!important;letter-spacing:-.04em!important;color:#0a3d58!important;margin:0 0 20px!important;text-transform:none!important}
.wm-course-dates h3 span{display:block;font:600 12px/1.5 Inter,system-ui,sans-serif!important;letter-spacing:0;margin-top:5px;color:#486473}
.wm-course-slot{display:grid;gap:5px;padding-top:14px;margin-top:14px;border-top:1px solid #d8e4eb}
.wm-course-slot strong{font-size:14px;line-height:1.5;color:#0a3d58}
.wm-course-slot>time{font-size:13px;line-height:1.5;white-space:nowrap;color:#486473;font-variant-numeric:tabular-nums}
.wm-course-notice .wm-course-cta .elementor-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:14px 20px!important;border:0;border-radius:8px;background:#ffdf39!important;color:#0a3d58!important;font:700 14px/1.5 Inter,system-ui,sans-serif;text-decoration:none;box-shadow:none}
.wm-course-notice .wm-course-cta a:focus-visible{outline:3px solid #17628a;outline-offset:4px}
#motorradtheorie-dezember-2026{scroll-margin-top:125px}
@media(max-width:767px){
 .wm-course-notice{padding:28px 20px!important}
 .wm-course-notice>.elementor-container>.elementor-column>.elementor-widget-wrap{grid-template-columns:minmax(0,1fr);gap:12px!important}
 .wm-course-notice :is(.wm-course-kicker,.wm-course-title,.wm-course-intro,.wm-course-detail,.wm-course-cta,.wm-course-calendar){grid-column:1;grid-row:auto}
 .wm-course-notice .wm-course-calendar{order:4;margin:4px 0 7px!important}
 .wm-course-notice .wm-course-detail{order:5}
 .wm-course-notice .wm-course-cta{order:6}
 .wm-course-dates{gap:10px}
 .wm-course-dates article{padding:18px 14px}
 .wm-course-dates h3{font-size:32px!important;margin-bottom:16px!important}
 .wm-course-slot strong{font-size:13px}
 .wm-course-slot>time{font-size:12px}
 .wm-course-notice .wm-course-cta .elementor-button{width:100%}
 #motorradtheorie-dezember-2026{scroll-margin-top:95px}
}
@media(max-width:359px){.wm-course-dates{grid-template-columns:minmax(0,1fr)}.wm-course-dates article{padding:18px 20px}.wm-course-slot>time{font-size:13px}}

/* Three distinct reasons to return: practice, a driving check, or a school change. */
body.home .wm-home-continue{padding:40px 24px!important;background:#fff;border-top:1px solid #d8e4eb}
.wm-home-continue>.elementor-container{max-width:1180px!important;margin-inline:auto}
.wm-home-continue .elementor-widget-wrap{padding:0!important;gap:0}
.wm-home-continue .elementor-widget{width:100%;margin-bottom:0!important}
.wm-home-continue .wm-continue-eyebrow p{font:700 10px/1.6 Inter,system-ui,sans-serif!important;letter-spacing:.12em;color:#17628a!important;margin:0 0 12px!important}
.wm-home-continue .wm-continue-title h2{font:750 clamp(29px,3.2vw,42px)/1.14 Inter,system-ui,sans-serif!important;letter-spacing:-.035em!important;color:#0a3d58!important;margin:0 0 26px!important}
.wm-continue-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border:1px solid #becfd8;border-radius:16px;overflow:hidden;background:#f7fafb}
.wm-continue-grid .wm-continue-card{display:flex;flex-direction:column;position:relative;min-width:0;padding:25px 25px 20px;color:#0a3d58!important;text-decoration:none!important;background:none!important;box-shadow:none!important;transition:background-color .18s ease}
.wm-continue-card+.wm-continue-card{border-left:1px solid #becfd8}
.wm-continue-grid .wm-continue-card:hover{background:#edf4f7!important}
.wm-continue-grid .wm-continue-card:focus-visible{outline:3px solid #17628a;outline-offset:-5px}
.wm-continue-top{display:flex;align-items:center;gap:12px;margin-bottom:22px}
.wm-continue-top b{font:700 15px/1 Inter,system-ui,sans-serif;border-bottom:3px solid #fdd318;padding-bottom:5px}
.wm-continue-top>span{font:700 9px/1.5 Inter,system-ui,sans-serif;letter-spacing:.055em;color:#486473}
.wm-continue-card h3{font:750 23px/1.2 Inter,system-ui,sans-serif!important;letter-spacing:-.035em!important;margin:0 0 12px!important;color:#0a3d58!important;hyphens:auto;overflow-wrap:anywhere}
.wm-continue-card p{font:400 14px/1.7 Inter,system-ui,sans-serif!important;margin:0 0 20px!important;color:#486473!important}
.wm-continue-link{display:flex;justify-content:space-between;align-items:center;gap:12px;font:700 12px/1.5 Inter,system-ui,sans-serif;margin-top:auto;border-top:1px solid #becfd8;padding-top:15px}
.wm-continue-link>span{font-size:20px;transition:transform .18s ease}
.wm-continue-card:hover .wm-continue-link>span{transform:translate(2px,-2px)}
.wm-car-choice-hint{max-width:800px;margin-bottom:24px!important}
.wm-car-choice-hint p{font-size:16px!important;line-height:1.75!important;color:#486473!important}
#weiterfahren{scroll-margin-top:125px}
@media(min-width:768px) and (max-width:1023px){.wm-continue-grid{grid-template-columns:minmax(0,1fr)}.wm-continue-card+.wm-continue-card{border-left:0;border-top:1px solid #becfd8}}
@media(max-width:767px){
 body.home .wm-home-continue{padding:28px 20px!important}
 .wm-home-continue .wm-continue-title h2{margin-bottom:20px!important}
 .wm-continue-grid{grid-template-columns:minmax(0,1fr)}
 .wm-continue-grid .wm-continue-card{padding:20px}
 .wm-continue-card+.wm-continue-card{border-left:0;border-top:1px solid #becfd8}
 .wm-continue-top{margin-bottom:12px}
 .wm-continue-card h3{font-size:23px!important;margin-bottom:9px!important}
 .wm-continue-card p{font-size:14px!important;margin-bottom:14px!important}
 .wm-continue-link{min-height:44px;padding-top:10px;font-size:12px}
 .wm-car-choice-hint p{font-size:14px!important;line-height:1.75!important}
 #weiterfahren{scroll-margin-top:95px}
}
@media(prefers-reduced-motion:reduce){.wm-continue-grid .wm-continue-card,.wm-continue-link>span{transition:none}.wm-continue-card:hover .wm-continue-link>span{transform:none}}
@media(forced-colors:active){.wm-continue-grid,.wm-continue-card,.wm-continue-link{border-color:CanvasText}.wm-continue-card:focus-visible{outline-color:Highlight}}
