/* Demo-Fahrschule: frisch, Schwarz und Signalgelb, Textmarker-Akzente – jung und klar */
:root { --bg: #f7f7f4; --paper: #fff; --ink: #121212; --ink-2: #2b2b2b; --yellow: #ffd23f; --yellow-2: #f2bf00; --muted: #5f5f5a; --line: rgba(18, 18, 18, .1); --soft: #efefea; }
[hidden] { display: none !important; }
body { background: var(--bg); color: var(--ink); font-size: 16px; line-height: 1.6; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.04em; line-height: 1.02; }
.hl { padding: 0 .12em; background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 92%, transparent 92%); }
.kicker { margin-bottom: 12px; color: var(--ink); font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.kicker::before { content: ""; display: inline-block; width: 18px; height: 8px; margin-right: 8px; border-radius: 4px; background: var(--yellow); vertical-align: 1px; }
.muted { color: var(--muted); }
.fine { margin-top: 14px; color: var(--muted); font-size: 13px; text-align: center; }
.fine-l { margin-top: 8px; color: var(--muted); font-size: 12px; }
.small { color: var(--muted); font-size: 13px; }
.card { padding: clamp(20px, 2.4vw, 28px); border: 1px solid var(--line); border-radius: 22px; background: var(--paper); }

.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 28px; padding: 12px clamp(16px, 5vw, 64px); background: rgba(247, 247, 244, .96); box-shadow: 0 1px 0 var(--line); }
.logo { display: flex; align-items: center; gap: 10px; margin-right: auto; font-size: 19px; font-weight: 500; letter-spacing: -.02em; white-space: nowrap; }
.logo b { font-weight: 800; }
.logo-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: var(--yellow); color: var(--ink); font-size: 20px; font-weight: 900; box-shadow: inset 0 0 0 3px var(--ink); }
.nav nav { display: flex; gap: 24px; color: var(--muted); font-size: 15px; font-weight: 500; }
.nav nav a:hover { color: var(--ink); }
@media (max-width: 900px) { .nav nav { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 22px; border: 2px solid transparent; border-radius: 14px; font-size: 15px; font-weight: 700; white-space: nowrap; cursor: pointer; transition: transform .2s, background .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn[disabled] { opacity: .4; pointer-events: none; }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: var(--yellow-2); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-line { border-color: var(--ink); background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-wide { width: 100%; }
.nav .btn { height: 44px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 80px); align-items: center; padding: clamp(40px, 6vw, 90px) clamp(16px, 5vw, 64px); }
.eyebrow { display: inline-flex; gap: 8px; margin-bottom: 22px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); font-size: 14px; font-weight: 600; }
.eyebrow span { padding: 0 8px; border-radius: 999px; background: var(--ink); color: var(--yellow); }
.hero h1 { font-size: clamp(3rem, 6.2vw, 5.6rem); }
.lead { max-width: 32em; margin: 24px 0 30px; color: var(--muted); font-size: clamp(17px, 1.35vw, 19px); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.stats li { display: grid; padding: 14px; border-radius: 16px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.stats b { font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.stats span { color: var(--muted); font-size: 13px; line-height: 1.35; }
.hero-photo { position: relative; overflow: hidden; border-radius: 28px; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; }
.hero-photo figcaption { position: absolute; left: 16px; bottom: 16px; display: grid; padding: 12px 16px; border-radius: 16px; background: var(--yellow); color: var(--ink); box-shadow: 0 0 0 3px var(--ink); }
.hero-photo figcaption b { font-size: 13px; }
.hero-photo figcaption span { font-size: 16px; font-weight: 700; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; } .hero-photo img { aspect-ratio: 4 / 3; } }

.section { padding: clamp(70px, 9vw, 130px) clamp(16px, 5vw, 64px); }
.head { max-width: 780px; margin-bottom: clamp(28px, 4vw, 46px); }
.head h2, .kontakt h2 { font-size: clamp(2.4rem, 4.8vw, 4.2rem); }
.head .muted { margin-top: 14px; font-size: 17px; }

/* Klassen */
.cls-tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.cls-tabs button { display: grid; padding: 12px; border: 2px solid var(--line); border-radius: 16px; background: var(--paper); text-align: left; cursor: pointer; transition: all .2s; }
.cls-tabs b { font-size: 22px; font-weight: 800; }
.cls-tabs small { color: var(--muted); font-size: 12.5px; }
.cls-tabs button.on { border-color: var(--ink); background: var(--yellow); }
.cls-tabs button.on small { color: var(--ink); }
.cls { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(20px, 4vw, 50px); animation: in .35s cubic-bezier(.16, 1, .3, 1); }
@keyframes in { from { opacity: 0; transform: translateY(6px); } }
.c-big { display: grid; place-items: center; width: 110px; height: 110px; border-radius: 26px; background: var(--ink); color: var(--yellow); font-size: 40px; font-weight: 900; letter-spacing: -.04em; }
.cls h3 { margin-top: 16px; font-size: 30px; }
.c-age { margin-top: 6px; color: var(--muted); font-weight: 600; }
.c-label { margin: 0 0 8px; font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.c-may { display: grid; gap: 6px; margin-bottom: 20px; }
.c-may li { padding-left: 26px; position: relative; }
.c-may li::before { content: "✓"; position: absolute; left: 0; display: grid; place-items: center; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--yellow); font-size: 11px; font-weight: 900; }
.cls .actions { margin-top: 20px; }
@media (max-width: 900px) { .cls-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cls { grid-template-columns: 1fr; } }

/* Kostenrechner */
.kosten { background: var(--ink); color: #fff; }
.kosten .muted { color: #b9b9b2; }
.kosten .kicker { color: #fff; }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 460px); gap: 18px; align-items: start; color: var(--ink); }
.calc-in { display: grid; gap: 20px; }
fieldset { border: 0; }
legend { margin-bottom: 10px; font-size: 15px; font-weight: 700; }
.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick button { min-height: 44px; padding: 0 16px; border: 2px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); font-size: 14.5px; font-weight: 600; cursor: pointer; }
.pick button.on { border-color: var(--ink); background: var(--yellow); }
.hint { margin-top: 8px; color: var(--muted); font-size: 14px; }
.check { display: flex; align-items: flex-start; gap: 10px; color: var(--ink); font-size: 14.5px; font-weight: 500; cursor: pointer; }
.check input { width: 20px; height: 20px; flex: none; margin-top: 1px; accent-color: var(--ink); }
.calc-out { display: grid; gap: 8px; }
.o-label { color: var(--muted); font-weight: 600; }
.o-total { font-size: clamp(46px, 5vw, 64px); font-weight: 900; letter-spacing: -.05em; line-height: 1; }
.o-rate { color: var(--muted); }
.o-rate b { color: var(--ink); background: var(--yellow); padding: 0 6px; border-radius: 6px; }
.o-table { width: 100%; margin: 10px 0; border-collapse: collapse; font-size: 14px; }
.o-table td { padding: 7px 0; border-bottom: 1px solid var(--line); }
.o-table td:last-child { text-align: right; font-weight: 700; white-space: nowrap; }
.o-sub td { border-bottom: 2px solid var(--ink); font-weight: 800; }
.o-fee td { color: var(--muted); }
.o-fee small { font-size: 11.5px; }
.o-note { padding: 10px 12px; border-radius: 12px; background: var(--soft); font-size: 14px; }
.o-small { color: var(--muted); font-size: 12.5px; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }

/* Theorie */
.theory { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.t-list { display: grid; gap: 10px; }
.t-item { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px 16px; border: 2px solid var(--line); border-radius: 18px; background: var(--paper); transition: border-color .2s; }
.t-item.on { border-color: var(--ink); }
.t-date { display: grid; justify-items: center; padding: 8px 0; border-radius: 12px; background: var(--soft); }
.t-date b { font-size: 26px; font-weight: 900; line-height: 1; }
.t-date span { color: var(--muted); font-size: 12px; font-weight: 600; }
.t-item.on .t-date { background: var(--yellow); }
.t-info { display: grid; min-width: 0; }
.t-info b { font-size: 15.5px; }
.t-info span { color: var(--muted); font-size: 13.5px; }
.t-seats { color: #1b7a3a !important; font-weight: 700; }
.t-seats.few { color: #b45309 !important; }
.t-item .btn { height: 42px; }
.t-mine { position: sticky; top: 90px; display: grid; gap: 12px; }
.t-mine ul { display: grid; gap: 8px; }
.t-mine li { display: grid; padding: 10px 12px; border-radius: 12px; background: var(--soft); font-size: 14px; }
.t-mine li span { color: var(--muted); font-size: 12.5px; }
@media (max-width: 900px) { .theory { grid-template-columns: 1fr; } .t-mine { position: static; } }
@media (max-width: 560px) { .t-item { grid-template-columns: 60px minmax(0, 1fr); } .t-item .btn { grid-column: 1 / -1; width: 100%; } }

/* So lernst du */
.fleet { background: var(--paper); }
.f-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.f-grid figure { position: relative; overflow: hidden; grid-column: span 2; border-radius: 22px; }
.f-grid figure:nth-child(4), .f-grid figure:nth-child(5) { grid-column: span 3; }
.f-grid img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s cubic-bezier(.16, 1, .3, 1); }
.f-grid figure:hover img { transform: scale(1.05); }
.f-grid figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; display: grid; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .95); }
.f-grid figcaption b { font-size: 16px; }
.f-grid figcaption span { color: var(--muted); font-size: 13.5px; line-height: 1.35; }
@media (max-width: 900px) { .f-grid { grid-template-columns: 1fr; } .f-grid figure, .f-grid figure:nth-child(4), .f-grid figure:nth-child(5) { grid-column: auto; } }

/* Anmeldung */
.anmelden { background: var(--soft); }
.signup { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.s-form { display: grid; gap: 14px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: grid; gap: 6px; color: var(--muted); font-size: 13.5px; font-weight: 600; }
input:not([type="checkbox"]), select { width: 100%; min-height: 48px; padding: 10px 14px; border: 2px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font-size: 16px; }
input:focus, select:focus { outline: none; border-color: var(--ink); }
.age { padding: 10px 14px; border-radius: 12px; font-size: 14.5px; font-weight: 600; }
.age.ok { background: #e3f6e8; color: #1b6b35; }
.age.warn { background: #fff4d6; color: #7a5300; }
.err { padding: 10px 14px; border-radius: 12px; background: #fde8e6; color: #9b2c22; font-size: 14px; }
.checklist { position: sticky; top: 90px; display: grid; gap: 10px; }
.checklist h3 { font-size: 22px; }
.checklist ul { display: grid; gap: 6px; }
.checklist label { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--soft); color: var(--ink); font-size: 14.5px; cursor: pointer; }
.checklist label input { width: 20px; height: 20px; flex: none; accent-color: var(--ink); }
.checklist small { display: block; color: var(--muted); font-weight: 400; font-size: 12.5px; }
.progress { height: 10px; overflow: hidden; border-radius: 6px; background: var(--soft); }
.progress i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--yellow); box-shadow: inset 0 0 0 2px var(--ink); transition: width .4s; }
.doc-note { color: var(--muted); font-size: 13.5px; }
.done { display: grid; gap: 12px; justify-items: start; }
.tick { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--yellow); box-shadow: inset 0 0 0 3px var(--ink); font-size: 24px; font-weight: 900; }
.done h3 { font-size: 30px; }
.done ol { display: grid; gap: 6px; padding-left: 20px; list-style: decimal; }
.done a { font-weight: 700; text-decoration: underline; }
.demo-hint { padding: 10px 14px; border-radius: 12px; background: var(--soft); color: var(--muted); font-size: 13.5px; }
@media (max-width: 900px) { .signup { grid-template-columns: 1fr; } .checklist { position: static; } }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }

/* Team */
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.team figure { padding: 12px 12px 20px; border: 2px solid var(--line); border-radius: 24px; background: var(--paper); }
.team img { width: 100%; aspect-ratio: 4 / 5; border-radius: 16px; object-fit: cover; }
.team figcaption { display: grid; gap: 2px; margin-top: 16px; padding-inline: 8px; }
.team b { font-size: 24px; font-weight: 800; }
.team span { justify-self: start; padding: 2px 8px; border-radius: 6px; background: var(--yellow); font-size: 13px; font-weight: 700; }
.team p { margin-top: 8px; color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .team { grid-template-columns: minmax(0, 1fr); max-width: 440px; } }

/* FAQ */
.faq-list { display: grid; max-width: 860px; }
.faq-list details { border-bottom: 2px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font-size: 19px; font-weight: 700; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--yellow); font-size: 20px; transition: transform .3s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list p { padding-bottom: 20px; color: var(--muted); }

/* Kontakt */
.kontakt { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: start; background: var(--paper); }
.kontakt .muted { margin: 18px 0 24px; }
.open-now { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding: 7px 14px; border-radius: 999px; background: #e3f6e8; color: #1b6b35; font-size: 14px; font-weight: 700; }
.open-now::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #22a04b; }
.open-now.closed { background: var(--soft); color: var(--muted); }
.open-now.closed::before { background: var(--muted); }
.kontakt table { width: 100%; border-collapse: collapse; }
.kontakt th, .kontakt td { padding: 16px 0; border-bottom: 2px solid var(--line); text-align: left; font-weight: 600; }
.kontakt td { text-align: right; color: var(--muted); font-weight: 500; }
@media (max-width: 860px) { .kontakt { grid-template-columns: 1fr; } }

.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 28px clamp(16px, 5vw, 64px) 96px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot-link { padding: 0; border: 0; background: none; color: inherit; font-size: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.legal { width: min(540px, calc(100% - 32px)); max-height: 82vh; margin: auto; padding: 28px; border: 0; border-radius: 22px; background: var(--paper); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); }
.legal::backdrop { background: rgba(0, 0, 0, .5); }
.legal h2 { margin-bottom: 8px; font-size: 30px; }
.legal p { margin-top: 12px; color: var(--muted); }
.legal p b { color: var(--ink); }
.legal .legal-note { padding: 10px 12px; border-radius: 12px; background: var(--yellow); color: var(--ink); font-size: 13.5px; font-weight: 600; }
.legal-x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--soft); font-size: 22px; cursor: pointer; }

@media (max-width: 560px) {
  .nav { gap: 12px; padding: 10px 16px; }
  .logo { font-size: 17px; }
  .logo-mark { width: 32px; height: 32px; font-size: 17px; }
  .nav .btn { height: 40px; padding: 0 14px; font-size: 14px; }
  .actions .btn { width: 100%; }
  .stats { grid-template-columns: 1fr; }
  .stats li { grid-template-columns: 80px 1fr; align-items: center; gap: 10px; }
  .cls-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
