@font-face {
  font-family: Manrope;
  src: url(manrope.woff2) format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --night: #111a31;
  --ink: #17213a;
  --muted: #4c5870;
  --blue: #2444df;
  --lime: #dbff5b;
  --calm: #ecf1ff;
  --paper: #f9f9f5;
  --line: #d7dce7;
  --white: #fff;
  font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 6rem, 75rem); margin-inline: auto; }
a { color: inherit; text-underline-offset: .21em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #5364fa; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -.055em; font-weight: 800; }
button, select, input { font: inherit; }
button { cursor: pointer; }

.sr-only, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus {
  position: absolute;
  z-index: 4;
  top: .5rem;
  left: .5rem;
  background: white;
  padding: .6rem 1rem;
}

.top { background: var(--paper); }
.top-inner, nav { display: flex; align-items: center; }
.top-inner { min-height: 4.65rem; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; gap: .65rem; align-items: center; font-size: 1.42rem; font-weight: 800; letter-spacing: -.065em; text-decoration: none; line-height: 1; }
.domain { color: var(--muted); }
.road-mark { width: 2.28rem; height: 2.28rem; border-radius: .62rem; position: relative; display: inline-block; flex: none; background: var(--lime); }
.road-mark::before, .road-mark::after { content: ""; position: absolute; width: .22rem; height: 1.06rem; border-radius: 20px; background: var(--night); top: .62rem; transform: skew(-18deg); }
.road-mark::before { left: .79rem; }
.road-mark::after { left: 1.25rem; }
nav { column-gap: 1.85rem; }
nav a { font-size: .91rem; font-weight: 800; text-decoration: none; }
nav a:hover { color: var(--blue); text-decoration: underline; }

.hero {
  background: radial-gradient(ellipse at 75% 100%, #233d70, transparent 65%), var(--night);
  color: white;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.07fr;
  align-items: center;
  gap: clamp(2.2rem, 4vw, 4.55rem);
  min-height: 32rem;
  padding-block: 3.75rem 4.2rem;
}
.hero-copy { z-index: 1; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .44rem .77rem;
  border: 1px solid #56647d;
  border-radius: 99px;
  color: #e3eaf9;
  font-size: .87rem;
  font-weight: 700;
}
.eyebrow span { width: .7rem; height: .7rem; display: block; border-radius: .16rem; background: var(--lime); }
.hero h1 { font-size: clamp(3.1rem, 6.05vw, 6.05rem); line-height: .96; letter-spacing: -.078em; margin: 1.4rem 0 1.25rem; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero-lead { max-width: 29rem; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #dee6f8; line-height: 1.55; }
.hero-actions { display: flex; gap: .65rem; flex-wrap: wrap; margin-top: 1.7rem; }
.button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: .72rem 1.17rem;
  border: 1px solid transparent;
  border-radius: .85rem;
  font-size: .94rem;
  font-weight: 800;
  text-decoration: none;
  line-height: 1.25;
  transition: background-color .18s, border-color .18s;
}
.lime { color: var(--night); background: var(--lime); }
.lime:hover { background: #eaff9b; }
.ghost { border-color: #66748c; color: white; }
.ghost:hover { background: #293d5d; }
.hero :focus-visible { outline-color: var(--lime); }

.hero-visual { position: relative; isolation: isolate; min-width: 0; align-self: stretch; display: grid; align-items: center; }
.hero-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: .25rem -1.5rem .3rem .6rem;
  border: 1px solid #6c83ab;
  border-radius: 2rem;
  transform: rotate(4deg);
  opacity: .8;
}
.hero-visual img {
  display: block;
  width: 100%;
  height: clamp(22rem, 33vw, 27.1rem);
  object-fit: cover;
  object-position: 55% 44%;
  border-radius: 1.55rem;
  background: #79b5e3;
  box-shadow: 0 22px 60px #060e2290;
}
.hero-note {
  position: absolute;
  inset: auto auto -.9rem -1.5rem;
  color: var(--night);
  background: var(--lime);
  border-radius: .95rem;
  padding: .65rem 1rem .7rem .75rem;
  box-shadow: 0 10px 24px #08112261;
  display: flex;
  align-items: center;
  gap: .73rem;
  transform: rotate(-3deg);
}
.note-icon { display: grid; place-items: center; font-size: 1.18rem; font-weight: 800; width: 2.05rem; height: 2.05rem; background: var(--night); color: var(--lime); border-radius: 50%; }
.hero-note strong, .hero-note small { display: block; }
.hero-note strong { font-size: .92rem; font-weight: 800; }
.hero-note small { font-size: .82rem; }

.privacy-bar { background: white; border-bottom: 1px solid var(--line); }
.privacy-inner { display: flex; flex-wrap: wrap; gap: .6rem 2.6rem; padding-block: .9rem; }
.privacy-inner span { font-size: .87rem; font-weight: 800; line-height: 1.4; display: flex; gap: .55rem; align-items: center; }
.privacy-inner b { display: grid; place-items: center; border-radius: 50%; width: 1.4rem; height: 1.4rem; background: #e8f4cb; color: #274912; font-size: .88rem; }

.section { padding-block: clamp(3.35rem, 6vw, 5rem); scroll-margin-top: 0; }
.section-intro { margin-bottom: 1.65rem; }
.tool-label { display: flex; align-items: center; gap: .55rem; color: #263c9d; font-weight: 800; font-size: .94rem; margin-bottom: .67rem; }
.calendar-icon, .compare-icon { display: inline-block; width: 1.05rem; height: 1.03rem; border: 2px solid currentColor; border-radius: .22rem; position: relative; }
.calendar-icon::before, .compare-icon::before { content: ""; position: absolute; top: .21rem; left: 0; right: 0; border-top: 2px solid currentColor; }
.compare-icon::before { top: 0; bottom: 0; left: .36rem; right: auto; border-top: 0; border-left: 2px solid currentColor; }
.section h2 { font-size: clamp(2.05rem, 4.1vw, 3.75rem); }
.section-intro p:last-child { color: var(--muted); font-size: 1.03rem; margin-top: .65rem; }

.check-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.25rem; align-items: start; }
.card { background: white; border: 1px solid var(--line); border-radius: 1.45rem; }
.check-form { padding: clamp(1.2rem, 2.7vw, 2rem); }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .75rem; }
.check-form label { display: grid; gap: .4rem; font-size: .88rem; font-weight: 800; align-content: end; }
select, input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 3rem;
  color: var(--ink);
  background: #f7f8fb;
  border: 1px solid #c9d1e1;
  border-radius: .63rem;
  padding: .55rem .65rem;
  font-size: 1rem;
}
select {
  appearance: none;
  padding-inline-end: 1.65rem;
  background-image: linear-gradient(45deg, transparent 50%, #435171 50%), linear-gradient(135deg, #435171 50%, transparent 50%);
  background-position: calc(100% - 13px) 51%, calc(100% - 8px) 51%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
::placeholder { color: #637087; opacity: 1; }
fieldset { min-width: 0; }
.date-field { border: 0; padding: 0; margin: 1.5rem 0 0; }
.date-field legend { font-weight: 800; margin: 0 0 .45rem; padding: 0; }
.date-field legend span { margin-left: .35rem; font-weight: 600; color: var(--muted); font-size: .86rem; }
.exam-date { margin-top: 1rem; }
.blue { background: var(--blue); color: white; margin-top: 1.25rem; }
.blue:hover { background: #182fb3; }

.result {
  margin: 0;
  border-radius: 1.45rem;
  background: var(--calm);
  border: 1px solid #ccd7fc;
  padding: clamp(1.2rem, 2.7vw, 2rem);
}
.result-top { display: flex; gap: .6rem; align-items: center; margin-bottom: .77rem; }
.result-kicker { font-weight: 800; font-size: .9rem; color: #263c9d; }
.result-icon { display: grid; place-items: center; width: 1.95rem; height: 1.95rem; border-radius: .48rem; background: #d9e3ff; color: #263c9d; font-weight: 800; }
.result h3 { font-size: clamp(1.55rem, 2.75vw, 2.55rem); }
.result h3 + p { color: var(--muted); margin-top: .6rem; }
.timeline { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.timeline li { position: relative; padding: 0 0 1rem 1.25rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; top: .44rem; left: 0; width: .53rem; height: .53rem; border: 2px solid #5364e1; border-radius: 50%; background: var(--calm); z-index: 1; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; top: .68rem; bottom: -.57rem; left: .22rem; border-left: 1px dashed #7e8dcc; }
.timeline strong, .timeline span { display: block; }
.timeline span { font-size: .91rem; color: var(--muted); }
.result-extra { font-size: .91rem; border-top: 1px solid #cbd6f5; margin-top: 1rem; padding-top: .75rem; }
.result-link { display: inline-block; margin-top: 1.1rem; color: #263c9d; font-size: .91rem; font-weight: 800; }

.compare-bg { background: #eaf0fb; border-block: 1px solid #d5deef; }
.compare-intro { display: flex; justify-content: space-between; align-items: end; gap: 1.05rem; }
.compare-tools { display: flex; align-items: center; flex-shrink: 0; flex-wrap: wrap; gap: .5rem; }
.outline { color: var(--ink); background: white; border-color: #b7c3d9; }
.outline:hover { background: #f3f6ff; border-color: #5364e1; }
.comparison { padding: clamp(.85rem, 2.6vw, 1.9rem); }
.compare-tip { color: var(--muted); font-size: .94rem; padding-bottom: 1.1rem; }
.compare-tip strong { color: var(--ink); }
.example-info { font-size: .87rem; font-weight: 800; background: #f2f6d9; border-radius: .45rem; padding: .45rem .7rem; margin-bottom: .65rem; }
.cost-table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: left; }
.cost-table thead th:first-child { width: 42%; }
.cost-table th, .cost-table td { padding: .55rem .55rem .55rem 0; border-bottom: 1px solid #e1e6f0; }
.cost-table th:last-child, .cost-table td:last-child { padding-right: 0; }
.cost-table th { font-size: .95rem; font-weight: 800; line-height: 1.35; }
.cost-table td { color: var(--muted); }
.cost-table small { display: block; font-size: .86rem; color: var(--muted); margin-top: .2rem; font-weight: 600; }
.offer-tag { display: inline-block; border-radius: .48rem; padding: .36rem .62rem; }
.tag-a { background: #dce5ff; color: #24389b; }
.tag-b { background: #eef4ce; color: #354c18; }
#offer-details th, #offer-details td { background: #f3f5fb; }
#offer-details th { padding-left: .47rem; }
#offer-details td:last-child { padding-right: .4rem; }
.cost-table tfoot th, .cost-table tfoot td { padding-block: .8rem; color: var(--ink); }
.cost-table tfoot strong { font-weight: 800; font-size: clamp(1.05rem, 2.1vw, 1.45rem); display: block; letter-spacing: -.045em; overflow-wrap: anywhere; }
.price-field { display: flex; align-items: center; gap: .15rem; position: relative; }
.price-field input { padding-inline-end: 1.6rem; }
.price-field span { position: absolute; inset-inline-end: .63rem; pointer-events: none; font-size: .89rem; }
input[aria-invalid="true"] { border-color: #ba243c; box-shadow: 0 0 0 1px #ba243c; }
.compare-bottom { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: .85rem; }
.compare-bottom p { font-size: .91rem; color: var(--muted); }
.text-button { min-height: 2.75rem; background: transparent; padding: .4rem 0; flex-shrink: 0; color: #263c9d; border: 0; text-decoration: underline; font-size: .89rem; font-weight: 800; }
.faq { padding: .95rem 1.2rem; border: 1px solid #c9d3e6; border-radius: .9rem; margin-top: 1.2rem; background: #f7f9ff; }
.faq summary { cursor: pointer; font-weight: 800; }
.faq ul { margin: .65rem 0 0; padding-inline-start: 1.4rem; color: var(--muted); }
.faq li + li { margin-top: .32rem; }

footer { background: var(--night); color: white; padding-block: 2rem; }
footer .domain, footer p, footer ul { color: #cad5ed; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 1.4rem; font-size: .91rem; }
footer p { margin-top: .52rem; }
footer ul { list-style: none; margin: .3rem 0 0; padding: 0; }
footer li + li { margin-top: .24rem; }
.footer-end { text-align: right; }
.footer-end span { font-weight: 800; font-size: .86rem; padding: .25rem .55rem; border-radius: .35rem; background: #293a5b; }
.message { padding: .75rem; margin-bottom: 1rem; background: #fae8d7; color: #542916; }

@media (max-width: 70rem) {
  .wrap { width: min(100% - 4.25rem, 75rem); }
  .hero-grid { min-height: 28rem; padding-block: 3rem 3.75rem; }
}
@media (max-width: 54rem) {
  .wrap { width: min(100% - 3rem, 75rem); }
  .hero-grid { gap: 1.75rem; }
  .hero-visual img { height: 22.5rem; }
  .hero-note { left: -.55rem; }
  .compare-intro { align-items: start; flex-direction: column; }
  .check-grid { grid-template-columns: 1fr; }
}
@media (max-width: 42rem) {
  .wrap { width: calc(100% - 2rem); }
  .top-inner { gap: .45rem; align-items: start; flex-direction: column; padding-block: .65rem .5rem; }
  nav { gap: 1.1rem; }
  nav a { display: inline-flex; align-items: center; min-height: 2.2rem; white-space: nowrap; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 2.2rem 2.5rem; gap: 1.35rem; min-height: 0; }
  .hero h1 { font-size: clamp(2.9rem, 10.65vw, 4.2rem); margin-block: .9rem .85rem; }
  .hero-actions { margin-top: 1.1rem; }
  .hero-visual { margin-inline: .2rem .48rem; }
  .hero-visual img { height: clamp(12.5rem, 59vw, 18.5rem); border-radius: 1.1rem; }
  .hero-visual::before { inset: .1rem -.62rem 0 .3rem; border-radius: 1.3rem; }
  .hero-note { left: .2rem; bottom: -.75rem; padding: .44rem .65rem; }
  .hero-note small { font-size: .78rem; }
  .privacy-inner { gap: .35rem 1.25rem; padding-block: .7rem; }
  .privacy-inner span { font-size: .83rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-end { text-align: left; }
}
@media (max-width: 30rem) {
  .field-grid { grid-template-columns: 1fr; }
  .date-field .field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; }
  .hero-actions .button { padding-inline: .62rem; min-height: 3rem; font-size: .86rem; }
  .check-form > .button { width: 100%; }
  .cost-table thead th:first-child { width: 38%; }
  .cost-table th { font-size: .84rem; overflow-wrap: anywhere; }
  .cost-table small { font-size: .81rem; overflow-wrap: anywhere; }
  .cost-table th, .cost-table td { padding-right: .37rem; }
  .offer-tag { padding-inline: .4rem; }
  .price-field input { padding-inline: .35rem 1rem; }
  .price-field span { inset-inline-end: .32rem; }
  .cost-table select { padding-inline: .3rem 1.1rem; font-size: .88rem; }
  .compare-bottom { flex-direction: column; gap: .08rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; }
}
@media print {
  .top, .hero, .privacy-bar, #ferien-check, .compare-tools, .text-button, footer, .skip { display: none !important; }
  body, .compare-bg { background: white; border: 0; color: black; }
  .wrap { width: 100%; }
  .section { padding: 0; }
  .comparison { padding: 0; border: 0; }
  .section h2 { font-size: 1.85rem; }
  .section-intro { margin-bottom: .55rem; }
  table { break-inside: avoid; }
  .cost-table th, .cost-table td { padding-block: .23rem; }
  input, select { background: white; color: black; min-height: 1.6rem; border: 0; padding-block: 0; }
  select { background-image: none; }
  .faq { display: none; }
}

@media screen and (max-width: 30rem) {
  .cost-table, .cost-table thead, .cost-table tbody, .cost-table tfoot { display: block; }
  .cost-table tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; }
  .cost-table thead { position: sticky; top: 0; z-index: 2; background: white; }
  .cost-table thead th:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .cost-table th[scope="row"] { grid-column: 1 / -1; padding-bottom: 0; border: 0; }
  .cost-table small { margin-top: .12rem; }
  .cost-table td { min-width: 0; padding-top: 0; }
  .cost-table select { padding-inline: .5rem 1.15rem; }
  #offer-details tr { gap: .35rem; background: #f3f5fb; border-radius: .6rem; padding: 0 .45rem; margin-bottom: .35rem; }
  #offer-details th, #offer-details td { padding-inline: 0; border: 0; }
  .cost-table tfoot td { padding-top: .1rem; }
}

/* Fahrstunden und Kosten */
.driving-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.driving-card { padding: clamp(1.25rem, 3vw, 2rem); border-top-width: 4px; }
.driving-times { border-top-color: var(--blue); }
.driving-budget { border-top-color: #9fbd32; }
.driving-card h3, .driving-callout h3 { font-size: clamp(1.4rem, 2.45vw, 2rem); margin-bottom: .85rem; }
.driving-list { margin: 0; padding: 0; list-style: none; }
.driving-list li { position: relative; padding-inline-start: 1.18rem; color: var(--muted); }
.driving-list li + li { margin-top: .75rem; }
.driving-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .58em;
  width: .47rem;
  height: .47rem;
  border-radius: .13rem;
  background: var(--blue);
}
.driving-budget .driving-list li::before { background: #647d16; }
.driving-list strong { color: var(--ink); }
.driving-example {
  margin-top: 1.1rem;
  padding: .8rem 1rem;
  background: #edf4d6;
  color: #293d17;
  border-radius: .75rem;
  font-size: .94rem;
}
.driving-example span { display: block; font-size: .875rem; font-weight: 800; margin-bottom: .12rem; }
.driving-callout {
  margin-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem 2rem;
  background: var(--night);
  color: white;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: 1.45rem;
}
.driving-callout h3 { margin-bottom: .55rem; }
.driving-callout p { color: #dee6f8; max-width: 66ch; }
.driving-callout .button { flex-shrink: 0; }
.driving-callout .button:focus-visible { outline-color: var(--lime); }
.driving-faq p { margin-top: .65rem; color: var(--muted); max-width: 66ch; }
.compare-support { margin-top: .58rem; font-size: .91rem; }
.compare-support a { font-weight: 800; color: #263c9d; }

@media (max-width: 54rem) {
  .driving-grid { grid-template-columns: 1fr; }
}
@media (max-width: 42rem) {
  .top-inner nav { flex-wrap: wrap; gap: .05rem .85rem; }
  .driving-callout { flex-direction: column; align-items: start; }
}
@media print {
  #fahrstunden-kosten { display: none !important; }
}

/* Praxisratgeber */
.guide-hero { background: radial-gradient(ellipse at 74% 100%, #263e75, transparent 62%), var(--night); color: white; }
.guide-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, .48fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4.5rem);
  padding-block: clamp(2.4rem, 6vw, 5.2rem);
}
.guide-hero h1 {
  font-size: clamp(2.65rem, 6.05vw, 5.9rem);
  letter-spacing: -.075em;
  margin: 1.15rem 0 1.05rem;
  line-height: .96;
}
.guide-hero h1 em { font-style: normal; color: var(--lime); display: block; }
.guide-hero .hero-lead { max-width: 39rem; }
.guide-hero :focus-visible { outline-color: var(--lime); }
.guide-deadline {
  background: var(--lime);
  color: var(--night);
  padding: clamp(1.35rem, 3.2vw, 2.2rem);
  border-radius: 1.4rem;
  box-shadow: .6rem .65rem 0 #6681ad7d;
}
.guide-deadline :focus-visible { outline-color: var(--blue); }
.guide-deadline-label { font-weight: 800; font-size: .96rem; }
.guide-deadline-number { font-weight: 800; font-size: clamp(3rem, 5.55vw, 5.45rem); letter-spacing: -.08em; line-height: 1; margin: .25rem 0 .45rem; }
.guide-deadline-number span { font-size: .43em; letter-spacing: -.055em; }
.guide-deadline a { display: inline-block; font-weight: 800; margin-top: .75rem; }
nav a[aria-current="page"] { color: #263c9d; text-decoration: underline; }
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.guide-grid p, .guide-answer p, .guide-steps p { color: var(--muted); }
.guide-related { margin-top: .85rem; color: var(--muted); }
.guide-related a, .guide-refs a, .guide-steps a { color: #263c9d; font-weight: 800; }
.guide-steps { list-style: none; margin: 0; padding: 0; counter-reset: change; display: grid; gap: .75rem; }
.guide-steps li { counter-increment: change; padding: clamp(.85rem, 2.35vw, 1.65rem); display: flex; align-items: flex-start; gap: .85rem; }
.guide-steps li::before {
  content: counter(change);
  display: grid;
  place-items: center;
  flex: none;
  border-radius: .56rem;
  width: 2rem;
  height: 2rem;
  background: #dce5ff;
  color: #24389b;
  font-weight: 800;
}
.guide-steps h3 { font-size: clamp(1.2rem, 2.2vw, 1.65rem); line-height: 1.17; margin: .15rem 0 .48rem; }
.guide-answer { padding: clamp(1.15rem, 2.9vw, 1.9rem); }
.guide-answer p + p { margin-top: .75rem; }
.guide-refs { display: flex; flex-wrap: wrap; gap: .35rem 1rem; font-size: .9rem; }
.guide-teaser { margin-top: 1.2rem; padding: .8rem 1rem; background: var(--calm); border: 1px solid #cbd6f5; border-radius: .8rem; }
.guide-teaser a { color: #263c9d; font-weight: 800; }

.stats-footer-button { display: block; color: white; margin-inline-start: auto; }
.stats-panel {
  background: white;
  color: var(--ink);
  box-shadow: 0 .6rem 2rem #17213a44;
  border: 1px solid var(--line);
  padding: 1rem;
  width: min(29rem, calc(100% - 1.5rem));
  border-radius: 1rem;
  position: fixed;
  inset: auto .75rem .75rem auto;
  z-index: 3;
}
.stats-panel h2 { font-size: 1.36rem; }
.stats-panel p { margin: .5rem 0 .75rem; color: var(--muted); }
.stats-actions { display: flex; flex-wrap: wrap; gap: .5rem; }

@media (max-width: 54rem) {
  .guide-grid { grid-template-columns: 1fr; }
  .top-inner nav { flex-wrap: wrap; justify-content: flex-end; gap: .25rem 1rem; }
}
@media (max-width: 42rem) {
  .guide-hero-inner { grid-template-columns: 1fr; }
  .guide-deadline { margin-inline-end: .6rem; }
  .top-inner nav { justify-content: start; gap: .05rem .85rem; }
  .stats-footer-button { margin-inline-start: 0; }
}
@media print {
  .stats-panel, .stats-footer-button { display: none !important; }
}

/* Fristen rund um die Fahrausbildung */
.deadline-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.deadline-grid .driving-card { display: flex; flex-direction: column; align-items: flex-start; }
.deadline-grid h3 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); }
.deadline-grid p { color: var(--muted); margin-bottom: .85rem; }
.deadline-grid article > a:last-child { margin-top: auto; }
.deadline-grid a { color: #263c9d; font-size: .9rem; font-weight: 800; }
.deadline-grid .deadline-source { margin-top: auto; margin-bottom: 0; }
.practice-refresh { margin-top: 1.15rem; }
.practice-refresh h3 { font-size: clamp(1.45rem, 2.65vw, 2.15rem); margin-bottom: .75rem; }
.practice-refresh strong { color: var(--ink); }
@media (max-width: 54rem) {
  .deadline-grid { grid-template-columns: 1fr; }
}

/* Situationen in der praktischen Prüfung */
.exam-reminder h2, .exam-situation h2 { font-size: clamp(1.6rem, 3vw, 2.45rem); margin-bottom: .85rem; }
.exam-reminder blockquote { border-top: 1px solid #5366174a; margin: .95rem 0 0; padding-top: .85rem; font-weight: 800; }
.exam-situations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; align-items: start; }
.exam-situation > p { color: var(--muted); }
.exam-situation > p + p { margin-top: .7rem; }
.exam-situation strong { color: var(--ink); }
@media (max-width: 54rem) {
  .exam-situations { grid-template-columns: 1fr; }
}
.exam-hero h1 { font-size: clamp(2.65rem, 5.5vw, 5.15rem); }
.exam-hero h1 em { display: inline; }
@media (min-width: 42.01rem) and (max-width: 70rem) {
  .top-inner nav { flex-wrap: wrap; justify-content: flex-end; gap: .3rem 1rem; }
}

/* Rechtstexte */
.legal-page { max-width: 52rem; margin-inline: auto; }
.legal-page h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); }
.legal-card { padding: clamp(1.2rem, 3.2vw, 2.3rem); margin-top: 1.15rem; }
.legal-card h2 { font-size: clamp(1.3rem, 2.8vw, 1.75rem); margin-bottom: .65rem; }
.legal-card p + p { margin-top: .65rem; }
.legal-card section + section { border-top: 1px solid var(--line); margin-top: 1.25rem; padding-top: 1.25rem; }
.legal-address { font-style: normal; margin-bottom: .65rem; }
.legal-card a { color: #263c9d; font-weight: 800; overflow-wrap: anywhere; }
.legal-review { color: #40270e; background: #fae9d3; border-radius: .6rem; padding: .65rem .85rem; margin-top: .85rem; }
footer .legal-footer { display: flex; flex-wrap: wrap; gap: .28rem 1rem; margin-top: .5rem; }
footer .footer-end .legal-footer { justify-content: flex-end; }
@media (max-width: 42rem) {
  footer .footer-end .legal-footer { justify-content: flex-start; }
}
@media (max-width: 30rem) {
  .legal-page h1 { font-size: clamp(1.7rem, 7.7vw, 2.4rem); overflow-wrap: anywhere; }
}
