:root {
  color-scheme: light;
  --ink: #20211f;
  --muted: #535650;
  --red: #b31828;
  --red-dark: #8d1020;
  --line: #d7d8d1;
  --paper: #f4f4ef;
  --sans: "Segoe UI", system-ui, -apple-system, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 1.25rem; }
body { margin: 0; background: white; color: var(--ink); font: 1rem/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-weight: 650; line-height: 1.04; letter-spacing: -.05em; }
h2 { font-size: clamp(2.1rem, 4vw, 3.8rem); }
h3 { line-height: 1.24; letter-spacing: -.025em; }
h1 em, h2 em { font: italic 1.06em/.98 var(--serif); letter-spacing: -.055em; }
a { color: inherit; }
button, select, summary { font: inherit; }
button, select, summary { cursor: pointer; }
button:disabled { cursor: default; opacity: .42; }
:focus-visible { outline: 3px solid #0868ad; outline-offset: 4px; }
.skip { position: fixed; top: .6rem; left: .6rem; z-index: 10; padding: .7rem 1rem; background: white; }
.skip:not(:focus) { width: 1px; height: 1px; padding: 0; overflow: hidden; white-space: nowrap; clip-path: inset(50%); }
.wrap { width: min(80rem, calc(100% - clamp(2.5rem, 9vw, 9rem))); margin-inline: auto; }
.section { padding-block: clamp(3rem, 6vw, 6.2rem); overflow-wrap: anywhere; }
.site-header { position: relative; z-index: 2; background: white; border-bottom: 1px solid var(--line); }
.masthead { min-height: 5rem; display: flex; align-items: center; gap: clamp(.85rem, 3vw, 2.8rem); }
.brand { display: inline-flex; align-items: center; min-height: 2.75rem; gap: .55rem; margin-right: auto; color: #151615; text-decoration: none; flex: none; }
.brand img { width: 2.25rem; height: auto; }
.brand-type { display: grid; justify-items: start; line-height: .98; }
.brand-type strong { font: 850 1.52rem/.98 var(--sans); letter-spacing: -.055em; }
.brand-type > span { text-transform: uppercase; color: var(--red); font-size: .65rem; letter-spacing: .1em; font-weight: 750; margin-top: .24rem; }
.desktop-nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.5vw, 2.25rem); }
.desktop-nav a, .back { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .95rem; font-weight: 580; text-decoration: none; padding-block: .6rem; }
.desktop-nav a:hover, .back:hover, .menu nav a:hover, .site-footer a:hover { color: var(--red); text-decoration: underline; text-underline-offset: .25em; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.15rem; max-width: 100%; padding: .7rem 1.35rem; background: var(--red); color: white; text-align: center; text-decoration: none; border-radius: .25rem; font-size: 1rem; font-weight: 650; }
.button:hover { background: var(--red-dark); }
.button.small { min-height: 2.75rem; padding: .5rem 1.05rem; font-size: .94rem; }
.underlink { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 630; text-decoration: underline; text-decoration-color: #94978c; text-decoration-thickness: 1px; text-underline-offset: .3em; }
.underlink:hover { color: var(--red); text-decoration-color: currentColor; }
.menu { display: none; }
.hero { background: var(--paper); overflow-wrap: anywhere; }
.hero-layout { display: grid; grid-template-columns: .93fr 1.12fr; align-items: center; gap: clamp(1.8rem, 4.3vw, 4.5rem); padding-block: clamp(3.1rem, 6.3vw, 6.8rem); }
.hero-copy h1 { font-size: clamp(3.4rem, 6.15vw, 6.3rem); line-height: .99; }
.hero-copy h1 em { color: var(--red); }
.offer { display: inline-flex; flex-direction: column; align-items: flex-start; gap: .25rem; max-width: 100%; margin-bottom: 1.6rem; padding: .85rem 1.3rem .9rem 1rem; border: 1px solid var(--red); border-left-width: .4rem; border-radius: .3rem; background: #fff4f5; color: var(--ink); text-decoration: none; font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.3; font-weight: 600; }
.offer strong { color: var(--red); font-size: .82rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.offer b { font-weight: 800; color: var(--red); font-size: 1.15em; }
.offer small { font-size: .78rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.offer:hover { background: #ffe9ec; }
.offer:hover span { text-decoration: underline; text-underline-offset: .25em; }
.hero-copy > p { max-width: 29rem; margin-top: 1.55rem; color: #42453f; font-size: clamp(1.05rem, 1.43vw, 1.22rem); line-height: 1.5; }
.hero-actions { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; margin-top: 1.85rem; }
.storefront img { width: 100%; height: auto; display: block; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; }
.storefront figcaption { display: flex; justify-content: space-between; gap: .6rem; margin-top: .7rem; font-size: .84rem; line-height: 1.4; color: var(--muted); }
.storefront figcaption span:first-child { color: var(--ink); font-weight: 600; }
.classes h2, .contact h2 { font-size: clamp(2rem, 3.5vw, 3.35rem); }
.class-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.7rem, 3.8vw, 3.8rem); margin-top: 2.2rem; }
.class-list article { border-top: 2px solid var(--ink); padding-top: 1rem; display: flex; flex-direction: column; align-items: start; }
.class-list h3 { font-size: 1.2rem; }
.class-id { display: block; margin-bottom: .85rem; font-size: clamp(2.3rem, 3.8vw, 3.65rem); letter-spacing: -.065em; font-weight: 680; line-height: 1.04; }
.class-tag { display: inline-block; vertical-align: .12em; margin-left: .45rem; padding: .12rem .45rem; border: 1px solid var(--red); border-radius: .2rem; color: var(--red); font-size: .66rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3; white-space: nowrap; }
.class-list p { margin-block: .6rem 1.1rem; color: var(--muted); }
.class-list a { margin-top: auto; padding-block: .25rem; }
.pricing { background: #252723; color: white; }
.price-layout, .info-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 8.5vw, 8.5rem); }
.price-intro h2 em, .info-layout h2 em { display: block; }
.price-intro h2 { max-width: 11ch; }
.price-intro > p { max-width: 27rem; margin-top: 1.4rem; color: #dcdfd6; font-size: 1.08rem; }




.calculator { min-width: 0; border-radius: .4rem; background: white; color: var(--ink); padding: clamp(1.3rem, 3.3vw, 3rem); scroll-margin-top: 1rem; }
.control-label, .lesson-control strong, .total strong { display: block; font-weight: 670; }
select { width: 100%; min-height: 3rem; margin-top: .4rem; padding: .55rem 2.65rem .55rem .85rem; border: 1px solid #82867c; border-radius: .2rem; background-color: white; color: var(--ink); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 1.12rem) 52%, calc(100% - .78rem) 52%; background-size: .34rem .34rem; background-repeat: no-repeat; }
@media (forced-colors: active) { select { appearance: auto; } }
.lesson-control, .total, .stepper { display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.lesson-control, .total { padding-block: 1.25rem; }
#app-auswahl { padding-bottom: 1.2rem; }
#app-auswahl label { display: block; font-weight: 650; }
.lesson-control small, .total small { display: block; font-size: .9rem; color: var(--muted); }
.stepper { flex: none; gap: .3rem; }
.stepper button { width: 2.75rem; min-height: 2.75rem; border: 1px solid #94978c; border-radius: .2rem; background: white; color: var(--ink); line-height: 1; font-size: 1.2rem; }
.stepper button:enabled:hover { background: var(--paper); }
.stepper output { min-width: 2ch; text-align: center; font-weight: 650; }
.breakdown, .total, .price-details { border-top: 1px solid var(--line); }
.breakdown { padding-block: .65rem; }
.row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-block: .38rem; color: #464941; }
.row strong, .total output, .stepper output { font-variant-numeric: tabular-nums; }
.row strong { color: var(--ink); white-space: nowrap; }
.total { border-color: var(--ink); }
.total output { font-weight: 700; font-size: 1.18rem; letter-spacing: -.055em; line-height: 1.1; white-space: nowrap; }
.fine { color: var(--muted); font-size: .92rem; }
.fine + .fine { margin-top: .5rem; }
.fine:empty { display: none; }
.price-details { margin-block: 1rem .8rem; border-bottom: 1px solid var(--line); }
.tarif-table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: .96rem; line-height: 1.45; }
.tarif-table caption { text-align: left; font-size: 1rem; font-weight: 600; padding-block: .25rem .55rem; }
.tarif-table th, .tarif-table td { text-align: left; vertical-align: top; padding: .55rem .5rem .55rem 0; border-bottom: 1px solid #e3e4de; hyphens: auto; overflow-wrap: anywhere; }
.tarif-table thead th { font-size: .88rem; color: var(--muted); font-weight: 650; border-color: #c8cac1; }
.tarif-table tbody th { font-weight: 400; }
.tarif-table td, .tarif-table thead th:last-child { width: 31%; padding-right: 0; text-align: right; }
.tarif-table td { font-weight: 620; font-variant-numeric: tabular-nums; }
.tarif-table tbody tr:last-child > * { border-bottom: 0; }
.price-jump { display: inline-flex; min-height: 2.75rem; align-items: center; font-size: .94rem; font-weight: 600; text-underline-offset: .23em; }
.hero-copy .portal-note, .signup-block .portal-note, .portal-note { font-size: .9rem; line-height: 1.45; color: var(--muted); margin-top: .65rem; }
.price-details .fine { margin-block: .75rem; }
.signup-block .portal-note a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.info-layout { align-items: start; }
.answer-list > div + div { margin-top: 1.35rem; border-top: 1px solid var(--line); padding-top: 1.35rem; }
.theory-note { margin-top: 1.25rem; border-top: 1px solid var(--line); padding-top: .85rem; }
.theory-note summary { min-height: 2.75rem; padding-block: .6rem; font-weight: 630; }
.answer-list h3, .contact h3 { font-size: 1.18rem; }
.answer-list p, .signup-block p { margin-top: .45rem; color: var(--muted); max-width: 40rem; font-size: 1.05rem; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: schritt; }
.steps li { counter-increment: schritt; display: grid; grid-template-columns: 3rem minmax(0, 1fr); column-gap: 1rem; padding-block: 1.25rem; border-top: 1px solid var(--line); }
.steps li:first-child { border-top: 0; padding-top: 0; }
.steps li::before { content: counter(schritt); grid-row: span 2; font-size: 2.1rem; font-weight: 680; line-height: 1; letter-spacing: -.05em; color: var(--red); }
.steps h3 { font-size: 1.18rem; }
.steps p { grid-column: 2; margin-top: .45rem; color: var(--muted); max-width: 40rem; font-size: 1.05rem; }
.teacher-block { background: var(--paper); }
.teacher-copy h3 { font-size: 1.18rem; }
.teacher-copy p { margin-top: .45rem; color: var(--muted); max-width: 40rem; font-size: 1.05rem; }
.teacher-copy p + p { margin-top: .9rem; }
.teacher-copy .underlink { margin-top: .6rem; }
.teacher-photo { margin-top: 1.5rem; max-width: 24rem; }
.teacher-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.teacher-photo figcaption { margin-top: .6rem; font-size: .84rem; color: var(--muted); }
.faq details { border-top: 1px solid var(--line); }
.faq details:first-child { border-top: 0; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2.75rem; padding-block: .85rem; font-weight: 630; font-size: 1.05rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 1.5rem; text-align: center; font-size: 1.4rem; font-weight: 500; line-height: 1; color: var(--red); }
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--red); }
.faq p { margin: 0 0 1.1rem; color: var(--muted); max-width: 40rem; font-size: 1.05rem; }
.faq p a { font-weight: 600; }
.signup-block { background: var(--paper); }
.signup-block .button { margin-top: 1.35rem; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(15rem, 30%); align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.contact-columns { display: flex; align-items: start; flex-wrap: wrap; gap: clamp(1.7rem, 5vw, 5rem); margin-top: 1.9rem; }
.office-hours { margin-top: .65rem; }
.contact-photo { display: block; width: 100%; max-height: 23rem; aspect-ratio: 1; height: auto; object-fit: cover; object-position: center; }
.contact address { margin-block: .65rem; font-style: normal; }
.contact-tel { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: .3rem; text-decoration: none; font-weight: 600; font-size: 1.2rem; }
.contact-tel:hover { text-decoration: underline; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.to-top { position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 9; width: 3rem; height: 3rem; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 1px solid var(--red); border-radius: 50%; background: white; color: var(--red); cursor: pointer; box-shadow: 0 .25rem .9rem rgba(0, 0, 0, .18); opacity: 0; transform: translateY(.6rem); pointer-events: none; transition: opacity .25s, transform .25s, background-color .15s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--red); color: white; }
.to-top:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .to-top { transition: none; } }
.footer-inner, .site-footer nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-inner { align-items: center; justify-content: space-between; padding-block: 1.6rem; }
.site-footer a { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; min-width: 2.75rem; padding-block: .5rem; }
.legal-main { width: min(48rem, calc(100% - 2.5rem)); margin: 3rem auto 4rem; }
.legal-content h1 { font-size: clamp(2rem, 5vw, 3.3rem); margin-block: 1.5rem; }
.legal-content h2 { margin-top: 1.6rem; font-size: 1.35rem; line-height: 1.25; letter-spacing: -.025em; }
.legal-content p { margin-block: .8rem; }
.draft { padding: .9rem 1.1rem; border-left: 3px solid var(--red); background: var(--paper); }






@media (max-width: 56rem) {
  .desktop-nav { gap: 1rem; }
  .price-layout, .info-layout { gap: 2.4rem; }
}
@media (max-width: 50rem) {
  .wrap { width: min(42rem, calc(100% - 2.5rem)); }
  .masthead { min-height: 4.35rem; gap: 1rem; }
  .desktop-nav { display: none; }
  .menu { display: block; }
  .menu summary { display: flex; align-items: center; min-width: 2.75rem; min-height: 2.75rem; list-style: none; font-weight: 650; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu summary::before { content: ""; width: .95rem; height: .45rem; border-block: 2px solid currentColor; margin-right: .4rem; }
  .menu nav { position: absolute; top: 100%; left: 0; right: 0; background: white; border-block: 1px solid var(--line); padding: .5rem max(1.25rem, calc((100% - 42rem) / 2)); box-shadow: 0 .6rem .8rem #171a1410; }
  .menu a { display: block; padding: .75rem 0; font-weight: 600; text-decoration: none; }
  .hero-layout, .price-layout, .info-layout { grid-template-columns: minmax(0, 1fr); gap: 1.85rem; }
  .hero-layout { padding-block: 2.6rem 1.6rem; }
  .hero-copy h1 { font-size: clamp(3.35rem, 10.5vw, 5rem); }
  .hero-copy p { max-width: 38rem; margin-top: 1.2rem; }
  .hero-actions { margin-top: 1.3rem; }
  .offer { font-size: 1.1rem; padding: .75rem 1rem .8rem .85rem; margin-bottom: 1.3rem; }
  .class-list { grid-template-columns: 1fr; gap: 1.4rem; margin-top: 1.5rem; }
  .class-list article { display: grid; grid-template-columns: 5.4rem minmax(0, 1fr); column-gap: .9rem; border-width: 1px; }
  .class-list h3 { display: contents; }
  .class-id { grid-row: span 3; font-size: 2.2rem; margin: 0; white-space: nowrap; }
  .class-list h3 span:last-child { font-size: 1.12rem; font-weight: 700; }
  .class-list p, .class-list a { grid-column: 2; }
  .class-list p { margin: .4rem 0; }
  .price-intro h2 { max-width: none; }
  .price-intro h2 em, .info-layout h2 em { display: inline; }
  .steps li { grid-template-columns: 2.4rem minmax(0, 1fr); column-gap: .75rem; }
  .steps li::before { font-size: 1.7rem; }

  .contact-layout { grid-template-columns: 1fr; gap: 1.75rem; }
  .contact-photo { max-height: 19rem; object-position: 50% 54%; }
  .contact-columns { gap: 2.25rem; }


}
@media (max-width: 28rem) {
  .wrap { width: calc(100% - 2rem); }
  .masthead { gap: .7rem; }
  .brand { gap: .35rem; }
  .brand img { width: 1.85rem; }
  .brand-type strong { font-size: 1.2rem; }
  .brand-type > span { font-size: .565rem; }
  .button.small { font-size: .875rem; padding-inline: .65rem; }
  .hero-actions { gap: .85rem; }
  .hero-actions .button { padding-inline: 1rem; }
  .storefront figcaption { font-size: .79rem; }
  .lesson-control { flex-wrap: wrap; }
  .calculator { padding-inline: 1rem; }
  .row { gap: .6rem; }
  .footer-inner { gap: .45rem; }
}
@media (max-width: 22rem) {
  .menu summary::before { display: none; }
  .hero-copy h1 { font-size: 2.95rem; }
  .total { flex-wrap: wrap; }
}
/* This breakpoint also covers narrow screens with a larger preferred font. */
@media (max-width: 19rem) {
  .masthead { flex-wrap: wrap; padding-block: .4rem; }
  .hero-copy h1 { font-size: clamp(2rem, 14vw, 2.95rem); }
  .hero-copy h1, .price-intro h2 { hyphens: auto; }
  .class-list article { display: flex; }
  .class-list h3 { display: block; }
  .class-id { margin-bottom: .35rem; }
  .stepper button { width: max(44px, 1.8rem); min-height: max(44px, 1.8rem); }
  .row { flex-wrap: wrap; gap: .15rem .55rem; }
  .contact-columns > div { min-width: 0; max-width: 100%; }
}
@media (min-width: 42rem) and (max-width: 50rem) {
  .hero-layout { grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); gap: 1.6rem; padding-block: 3rem; }
  .hero-copy h1 { font-size: clamp(2.65rem, 5.85vw, 3.1rem); }
}
@media (min-width: 50rem) and (max-width: 58rem) {
  .price-layout { grid-template-columns: minmax(0, 1fr); max-width: 44rem; gap: 1.75rem; }
  .price-intro h2, .price-intro > p { max-width: 35rem; }
  .price-intro h2 em { display: inline; }
}
@media (min-width: 58.01rem) and (min-height: 32rem) {
  .price-intro { position: sticky; top: 2rem; align-self: start; }
}
@media (prefers-reduced-motion: no-preference) {
  .button { transition: background-color .15s; }
}
.price-details h3 { font-size: 1.12rem; margin-block: .85rem .45rem; }
.legal-content { overflow-wrap: anywhere; }
