/* ==========================================================================
   Klavierschule Winterthur – gemeinsames Stylesheet
   Farben und Schriften aus der Wix-Vorlage übernommen (exakte Werte).
   Schriften (Google Fonts): Jost ≈ Futura LT Book, Barlow ≈ DIN Next,
   Nunito Sans ≈ Avenir LT Heavy.
   Abstandsraster: Vielfache von 8 px (--s1 … --s12).
   ========================================================================== */

:root {
  /* Farben */
  --navy: #161a5f;          /* Kopf- und Fusszeile (rgba(0,3,80,.9) auf #dce7eb) */
  --sky: #dce7eb;           /* Seitengrund / Trennlinie */
  --ink: #2d3433;           /* Fliesstext, Titel */
  --grey: #626766;          /* Sekundärtext */
  --black: #181818;         /* Preise */
  --cream: #fbf5e8;         /* Sektionen */
  --cream-95: rgba(251, 245, 232, 0.95); /* Karten über Bild */
  --paper: #f7f4f1;         /* Grund Unterseiten mit Bild */
  --contact-bg: #f3f2e9;    /* Grund Kontaktseite */
  --band: #e6e6e6;          /* Hintergrund Hero-Band */
  --light: #f5f2ef;         /* Text in Kopf-/Fusszeile */
  --active: #acd7e2;        /* aktiver Menüpunkt */
  --white-soft: #f3f6f4;    /* Text auf Dunkel */
  --purple: #47326e;        /* Button */
  --purple-2: #5d4581;      /* Formular-Button, Standort-Icon */
  --teal: #3ca78c;          /* Button-Rahmen, Telefon-Icon, FAQ-Linien */
  --btn-text: #e1e7e3;
  --pink: #ae0aa9;          /* E-Mail-Icon */
  --card-border: #2f40ad;   /* Rahmen der Karten (Preise, Partner) */
  --faq-panel: rgba(45, 52, 51, 0.93);

  /* Schriften */
  --f-body: "Jost", "Futura", "Century Gothic", sans-serif;
  --f-head: "Barlow", "DIN Next", "Helvetica Neue", Arial, sans-serif;
  --f-heavy: "Nunito Sans", "Avenir Next", "Avenir", sans-serif;
  --f-helv: "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Raster */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px;
  --s6: 48px; --s8: 64px; --s10: 80px; --s12: 96px;

  --container: 980px;
  --header-h: 60px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--sky);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body > main { flex: 1 0 auto; display: flex; flex-direction: column; }
body > main > section:last-child { flex: 1 0 auto; }

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s2);
}
@media (min-width: 1012px) { .container { padding: 0; } }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Kopfzeile / Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: var(--navy);
  border-bottom: 1px solid var(--ink);
  box-shadow: 0 1px 0 var(--sky);
}
.site-header__inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 51px 0 63px;
}
.site-logo {
  font-family: var(--f-head);
  font-weight: 500;
  font-size: 18px;
  line-height: 1;
  color: var(--light);
  text-decoration: none;
  white-space: nowrap;
}
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; }
.main-nav a {
  display: block;
  padding: 0 10px;
  font-size: 16px;
  line-height: 30px;
  color: var(--light);
  text-decoration: none;
  transition: color .2s;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { color: var(--active); }

.nav-toggle {
  display: none;
  background: none; border: 0; padding: var(--s1); cursor: pointer;
  color: var(--light);
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block; width: 24px; height: 2px; background: currentColor;
  position: relative; transition: transform .25s, opacity .25s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
  .site-header__inner { padding: 0 var(--s2); }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: var(--navy);
    border-top: 1px solid rgba(245, 242, 239, .15);
    max-height: 0; overflow: hidden;
    transition: max-height .3s ease;
  }
  .nav-open .main-nav { max-height: 320px; }
  .main-nav ul { flex-direction: column; padding: var(--s1) 0 var(--s2); }
  .main-nav a { padding: var(--s1) var(--s3); font-size: 18px; line-height: 1.8; }
}

/* --------------------------------------------------------------------------
   Buttons und Icons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px;
  padding: 6px 22px;
  border-radius: 15px;
  background: var(--purple);
  border: 2px solid var(--teal);
  color: var(--btn-text);
  font-family: var(--f-body);
  font-size: 15px;
  letter-spacing: 0.05em;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.btn:hover, .btn:focus-visible { background: var(--teal); border-color: var(--purple); }
.btn--sm { min-height: 34px; font-size: 14px; letter-spacing: 0.05em; }
.btn--xs { min-height: 30px; font-size: 13px; padding: 4px 18px; }
.btn--form { background: var(--purple-2); letter-spacing: 0; min-width: 126px; }

.icon-phone, .icon-mail, .icon-pin { display: inline-block; flex: none; }
.icon-phone svg path { fill: var(--teal); }
.icon-phone svg { filter: drop-shadow(-2px 2px 3px rgba(174, 10, 169, .6)); }
.icon-mail svg path { fill: var(--pink); }
.icon-pin svg path { fill: var(--purple-2); }

.phone-link {
  display: inline-flex; width: 46px; height: 46px; padding: 4px;
}
.phone-link svg { width: 100%; height: 100%; }

/* --------------------------------------------------------------------------
   Fusszeile
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy);
  color: var(--light);
  font-size: 14px;
  line-height: 1.8;
}
.site-footer__inner {
  min-height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--s2);
  padding-top: var(--s1); padding-bottom: var(--s1);
}
.site-footer a { text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.site-footer a:hover span { text-decoration: underline; }
.site-footer svg { width: 26px; height: 26px; }
.site-footer__mail { justify-self: end; }
@media (max-width: 760px) {
  .site-footer__inner {
    grid-template-columns: 1fr; justify-items: center; text-align: center;
    padding-top: var(--s3); padding-bottom: var(--s3); gap: var(--s1);
  }
  .site-footer__mail { justify-self: center; }
  .site-footer__copy { order: 3; }
}

/* --------------------------------------------------------------------------
   Startseite
   -------------------------------------------------------------------------- */
.intro {
  background: var(--cream);
  text-align: center;
  padding: var(--s5) 0 var(--s4);
}
.intro h1 {
  font-family: var(--f-head);
  font-weight: 500;
  font-size: 50px;
  line-height: 1.1;
  color: var(--ink);
}
.intro p {
  font-size: 26px;
  line-height: 1.5;
  color: var(--ink);
  margin-top: 4px;
}

.hero {
  position: relative;
  height: 647px;
  background: var(--band) url("../img/hero-haende-klavier.jpg") center / max(100%, 1679px) auto no-repeat;
}
.hero .container { position: relative; height: 100%; }
.hero .btn { position: absolute; left: 84px; bottom: 67px; }

.section-title {
  font-family: var(--f-head);
  font-weight: 500;
  font-size: 42px;
  line-height: 1.1;
  text-align: center;
  color: var(--ink);
}

.courses {
  background: var(--cream);
  padding: var(--s8) 0 var(--s8);
}
.courses__lead {
  max-width: 749px;
  margin: var(--s6) auto 0;
  text-align: justify;
  hyphens: auto;
  line-height: 27.2px;
}
.courses__grid {
  display: grid;
  grid-template-columns: 473px 1fr;
  gap: var(--s4) 137px;
  margin-top: var(--s12);
  padding-left: 14px;
}
.courses__benefits p { line-height: 27.2px; }
.courses__benefits ul {
  margin: 11px 0 0; padding-left: 29px;
  line-height: 27.2px;
}
.courses__benefits .btn { margin: var(--s4) 0 0; float: right; }
.courses__benefits::after { content: ""; display: block; clear: both; }
.course-list {
  list-style: none; margin: 0; padding: 0;
  font-size: 18px; line-height: 39.6px;
}

.studio-band {
  height: 645px;
  background: url("../img/unterrichtsraum-fluegel.jpg") center 40% / cover no-repeat;
}

.team {
  background: var(--cream);
  padding: var(--s8) 0 var(--s10);
}
.team__grid {
  display: grid;
  grid-template-columns: repeat(2, 282px);
  justify-content: center;
  gap: var(--s4) 140px;
  margin-top: var(--s6);
}
.team__member h3 {
  font-size: 18px; font-weight: 400; line-height: 23.4px;
  margin-top: var(--s5);
}
.team__member p { margin-top: var(--s3); line-height: 24px; }
.team__more {
  display: inline-block; margin-top: var(--s1);
  font-weight: 500; text-decoration: none; color: var(--ink);
}
.team__more:hover { text-decoration: underline; }

/* Polaroid-Portrait (weisser Rahmen mit Schatten wie im Original) */
.portrait {
  background: #fff;
  padding: 8px;
  box-shadow: 0 10px 18px -8px rgba(0, 0, 0, .35), 0 0 0 1px rgba(0, 0, 0, .03);
}
.portrait img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.team .portrait { width: 266px; }

/* FAQ */
.faq {
  position: relative;
  background: var(--grey);
  padding: 86px 0 22px;
}
.faq::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 187px;
  background: url("../img/hintergrund-haemmer-saiten.jpg") center 70% / cover no-repeat;
}
.faq__panel {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  background: var(--faq-panel);
  color: var(--white-soft);
  padding: 22px 32px var(--s6);
}
.faq__head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--s2);
}
.faq__head h2 {
  grid-column: 2;
  font-family: var(--f-head); font-weight: 500;
  font-size: 36px; line-height: 1.1;
}
.faq__search {
  justify-self: end;
  display: flex; align-items: center;
  width: 280px; border-bottom: 1px solid var(--white-soft);
}
.faq__search input {
  flex: 1; min-width: 0;
  background: transparent; border: 0; outline: 0;
  color: var(--white-soft);
  font: 15px/1.6 var(--f-body);
  padding: 6px 0;
}
.faq__search input::placeholder { color: var(--white-soft); opacity: 1; }
.faq__search svg { width: 16px; height: 16px; stroke: var(--white-soft); }

.faq__list { margin-top: var(--s4); }
.faq-item { border-bottom: 1px solid var(--teal); }
.faq-item summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: var(--s3);
  padding: var(--s4) 0;
  font-size: 18px; line-height: 25.2px;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 16px; height: 16px;
  background:
    linear-gradient(currentColor, currentColor) center / 16px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 16px no-repeat;
  transition: transform .25s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 var(--s6) var(--s4) 0; font-size: 16px; line-height: 24px; }
.faq__empty { padding: var(--s4) 0; display: none; }

.faq__more { text-align: center; margin-top: var(--s2); }
.faq__more h3 { font-size: 20px; font-weight: 400; line-height: 30px; }
.faq__actions {
  display: flex; justify-content: center; align-items: center;
  gap: var(--s10); margin-top: var(--s3);
}

/* --------------------------------------------------------------------------
   Unterseiten mit Bildhintergrund (Über uns, Preise, Partner)
   -------------------------------------------------------------------------- */
.bg-page {
  background: var(--paper) url("../img/hintergrund-haemmer-saiten.jpg") center / cover no-repeat;
  padding: var(--s8) 0;
}

.panel {
  background: var(--cream-95);
}
.card {
  background: var(--cream-95);
  border: 3px solid var(--card-border);
  border-radius: 16px;
}

/* Über uns */
.about { padding: var(--s8) 0 var(--s12); }
.about__panel {
  max-width: 1111px; margin: 0 auto;
  padding: var(--s5) 73px var(--s10);
}
.about__panel h1 {
  font-family: var(--f-head); font-weight: 500;
  font-size: 40px; line-height: 1.5; text-align: center;
}
.about__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--s6) 76px; margin-top: var(--s5);
}
.about__member .portrait { max-width: 460px; }
.about__member h2 {
  font-size: 18px; font-weight: 400; line-height: 28px;
  margin-top: var(--s4);
}
.about__member p { font-size: 15px; line-height: 26.32px; margin-top: var(--s3); }

/* Preise */
.prices { padding: var(--s12) 0; }
.prices__head {
  padding: var(--s2) var(--s3) var(--s3);
  text-align: center; color: var(--grey);
}
.prices__head h1 {
  font-family: var(--f-heavy); font-weight: 800;
  font-size: 40px; line-height: 1.2;
}
.prices__head p { font-family: var(--f-helv); }
.prices__head .lead { font-size: 18px; line-height: 28px; margin-top: var(--s2); }
.prices__head .sub { font-size: 15px; line-height: 26.32px; margin-top: var(--s1); }
.prices__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--s2); margin-top: var(--s5);
}
.price-card {
  min-height: 300px;
  padding: var(--s6) var(--s3);
  text-align: center;
}
.price-card h2 {
  font-size: 22px; font-weight: 400; line-height: 33px; color: var(--ink);
}
.price-table {
  margin: var(--s6) auto 0;
  border-collapse: collapse;
  font-size: 15px; line-height: 26.32px; color: var(--black);
}
.price-table td { padding: 0; }
.price-table td + td { padding-left: 14px; text-align: right; font-variant-numeric: tabular-nums; }
.prices__cta {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
  margin-top: var(--s8);
  padding: var(--s1) var(--s4) var(--s1) var(--s3);
  color: var(--grey); line-height: 30px;
}
.prices__cta p a { text-decoration: none; }
.prices__cta-actions { display: flex; align-items: center; gap: var(--s5); }
.prices__cta .phone-link { width: 38px; height: 38px; padding: 0; }

/* Partner */
.partners { padding: var(--s8) 0 var(--s12); }
.partners__head { color: var(--white-soft); text-shadow: 0 1px 6px rgba(0, 0, 0, .45); }
.partners__head h1 { font-size: 40px; font-weight: 600; line-height: 1.35; }
.partners__head p { font-size: 20px; line-height: 1.35; }
.partners__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--s3); margin-top: var(--s8);
}
@media (min-width: 1100px) { .partners__grid { margin-left: -40px; margin-right: -40px; } }
.partner-card { padding: var(--s3) var(--s3) var(--s4); font-size: 16px; line-height: 24px; }
.partner-card h2 { font-size: 20px; font-weight: 600; line-height: 1.35; color: var(--grey); }
.partner-card h2 a:hover { color: var(--ink); }
.partner-card .desc { margin-top: var(--s2); }
.partner-card address { font-style: normal; margin-top: var(--s3); line-height: 22.4px; }
.partner-card .links { margin-top: var(--s3); line-height: 28.8px; }
.partner-card .links a, .partner-card .tel { text-decoration: none; }
.partner-card .links a:hover, .partner-card .tel:hover { text-decoration: underline; }
.partner-card .tel { display: inline-block; margin-top: var(--s2); font-size: 15px; }

/* --------------------------------------------------------------------------
   Kontakt
   -------------------------------------------------------------------------- */
.contact { background: var(--contact-bg); padding: var(--s5) 0 var(--s6); }
.contact__top {
  display: grid; grid-template-columns: 1fr 293px;
  gap: var(--s4) var(--s8);
  max-width: 820px; margin: 0 auto;
}
.contact h1 {
  font-family: var(--f-head); font-weight: 500;
  font-size: 37px; line-height: 44px; padding-left: 81px;
}
.contact-list { list-style: none; margin: var(--s10) 0 0; padding: 0; }
.contact-list li {
  display: grid; grid-template-columns: 37px 1fr; gap: 44px; align-items: center;
  min-height: 37px; margin-bottom: var(--s3);
  line-height: 28.8px;
}
.contact-list svg { width: 37px; height: 37px; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact__site { text-align: center; margin-top: 105px; }
.contact__site h2 {
  font-family: var(--f-head); font-weight: 500;
  font-size: 18px; line-height: 21.6px;
  max-width: 183px; margin: 0 auto var(--s3);
}
.contact__site img { width: 293px; height: 233px; object-fit: cover; margin: 0 auto; }
.contact__body { max-width: 738px; margin: var(--s4) auto 0; line-height: 25.6px; }
.contact__body .btn { margin-bottom: var(--s4); }
.contact__body h3 { font-size: 16px; font-weight: 600; line-height: 25.6px; }
.contact__body .u { text-decoration: underline; }
.rule { border: 0; border-top: 1px solid var(--ink); margin: var(--s4) var(--s10) 0; }

.contact__bottom {
  display: grid; grid-template-columns: 380px 540px;
  justify-content: center; gap: var(--s4);
  margin-top: var(--s4);
}
.map {
  position: relative; display: block; height: 373px; overflow: hidden;
  border-radius: 2px; text-decoration: none;
}
.map img { width: 100%; height: 100%; object-fit: cover; }
.map__label {
  position: absolute; left: 50%; top: 22%; transform: translateX(-50%);
  background: #fff; color: #222; font-family: Arial, sans-serif; font-size: 12px; line-height: 1.35;
  padding: 8px 12px; border-radius: 6px; box-shadow: 0 2px 7px rgba(0, 0, 0, .3); white-space: nowrap;
}
.map__label span { color: #1a0dab; text-decoration: underline; }
.map__credit {
  position: absolute; right: 0; bottom: 0;
  background: rgba(255, 255, 255, .8); color: #333; font-size: 11px; line-height: 1.4; padding: 1px 6px;
}

.form-card {
  background: var(--cream);
  border-radius: 24px;
  padding: var(--s1) var(--s3) var(--s3);
}
.form-card h2 {
  font-family: var(--f-head); font-weight: 500;
  font-size: 23px; line-height: 32.2px; padding-left: var(--s1); margin-bottom: var(--s1);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s3); }
.field { display: flex; flex-direction: column; margin-bottom: var(--s2); }
.field label { font-size: 14px; line-height: 1.5; margin-bottom: 4px; }
.field input, .field textarea {
  font: 16px/1.4 var(--f-body);
  color: var(--ink);
  background: #fff;
  border: 1px solid #5c5c5c;
  border-radius: 0;
  padding: 6px 8px;
  height: 35px;
}
.field textarea { height: 100%; min-height: 230px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--teal); outline-offset: 0; }
.form-actions { display: flex; justify-content: flex-end; }
.form-note { font-size: 14px; color: var(--grey); margin-top: var(--s1); text-align: right; min-height: 1em; }

/* --------------------------------------------------------------------------
   Vorgespräch (eigene Landeseite ohne Navigation, wie im Original)
   -------------------------------------------------------------------------- */
.landing-header {
  background: var(--navy);
  height: 112px;
  display: flex; align-items: center; justify-content: center;
}
.landing-header a {
  font-size: 30px; font-weight: 500; letter-spacing: 1.5px;
  color: var(--white-soft); text-decoration: none;
}
.landing {
  background: #fafafa;
  padding: 92px 0 var(--s8);
}
.landing__text {
  max-width: 635px; margin: 0 auto;
  font-size: 20px; line-height: 35px; color: var(--grey);
}
.landing__text p + p { margin-top: var(--s4); }
.landing__form { max-width: 400px; margin: var(--s5) auto 0; transform: translateX(-56px); }
.landing__form label { font-size: 13px; line-height: 1.5; color: #000; }
.landing__form input { height: 50px; border-color: #7a7a7a; }
.landing__form .btn { min-height: 36px; min-width: 60px; padding: 4px 16px; font-size: 15px; letter-spacing: 0; margin-top: var(--s3); border-radius: 6px; background: var(--purple-2); }
.landing-foot { background: var(--sky); min-height: 190px; }

/* --------------------------------------------------------------------------
   Cookie-Hinweis
   -------------------------------------------------------------------------- */
.cookie {
  position: fixed; left: var(--s2); right: var(--s2); bottom: var(--s2); z-index: 100;
  max-width: 520px; margin: 0 auto;
  display: flex; align-items: center; gap: var(--s2);
  padding: 12px var(--s2);
  background: var(--navy); color: var(--light);
  border: 1px solid var(--teal); border-radius: 12px;
  font-size: 14px; line-height: 1.5;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
}
.cookie[hidden] { display: none; }
.cookie p { flex: 1; }
.cookie .btn { min-height: 32px; font-size: 14px; padding: 4px 16px; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1060px) {
  .courses__grid { grid-template-columns: 1fr 1fr; gap: var(--s4) var(--s6); padding-left: 0; }
  .team__grid { gap: var(--s4) var(--s8); }
  .contact__bottom { grid-template-columns: 1fr 1.4fr; }
}

@media (max-width: 760px) {
  .intro { padding: var(--s4) 0 var(--s3); }
  .intro h1 { font-size: 34px; }
  .intro p { font-size: 19px; }
  .hero { height: auto; background: var(--band); }
  .hero::before {
    content: ""; display: block; aspect-ratio: 980 / 484;
    background: url("../img/hero-haende-klavier.jpg") center / cover no-repeat;
  }
  .hero .container { height: auto; padding-top: var(--s6); padding-bottom: var(--s6); }
  .hero .btn { position: static; }

  .section-title { font-size: 32px; }
  .courses { padding: var(--s6) 0; }
  .courses__lead { margin-top: var(--s4); text-align: left; }
  .courses__grid { grid-template-columns: 1fr; margin-top: var(--s5); gap: var(--s5); }
  .courses__benefits .btn { float: none; }
  .course-list { font-size: 17px; line-height: 34px; }
  .studio-band { height: 280px; }
  .team { padding: var(--s6) 0; }
  .team__grid { grid-template-columns: minmax(0, 300px); }
  .team .portrait { width: 100%; max-width: 282px; }
  .team__member h3 { margin-top: var(--s3); }

  .faq { padding-top: 64px; }
  .faq__panel { padding: var(--s3) var(--s2) var(--s5); }
  .faq__head { grid-template-columns: 1fr; justify-items: center; }
  .faq__head h2 { grid-column: 1; }
  .faq__search { width: 100%; justify-self: stretch; }
  .faq-item summary { font-size: 17px; padding: var(--s3) 0; }
  .faq-item p { padding-right: 0; }
  .faq__actions { gap: var(--s4); flex-wrap: wrap; }

  .bg-page { padding: var(--s5) 0; background-position: 30% center; }
  .about { padding: var(--s5) 0; }
  .about__panel { padding: var(--s4) var(--s2) var(--s6); }
  .about__panel h1 { font-size: 34px; }
  .about__grid { grid-template-columns: 1fr; }

  .prices { padding: var(--s5) 0; }
  .prices__head h1 { font-size: 34px; }
  .prices__grid { grid-template-columns: 1fr; }
  .price-card { min-height: 0; padding: var(--s4) var(--s2); }
  .price-table { margin-top: var(--s3); }
  .prices__cta { flex-direction: column; text-align: center; padding: var(--s3) var(--s2); margin-top: var(--s4); }
  .prices__cta-actions { flex-direction: column; gap: var(--s2); }

  .partners { padding: var(--s5) 0; }
  .partners__head h1 { font-size: 34px; }
  .partners__grid { grid-template-columns: 1fr; margin: var(--s5) 0 0; gap: var(--s3); }

  .contact__top { grid-template-columns: 1fr; }
  .contact h1 { padding-left: 0; font-size: 34px; }
  .contact-list { margin-top: var(--s4); }
  .contact-list li { gap: var(--s3); }
  .contact__site { margin-top: 0; }
  .contact__site img { width: 100%; height: auto; aspect-ratio: 293 / 233; }
  .rule { margin: var(--s4) 0 0; }
  .contact__bottom { grid-template-columns: 1fr; }
  .map { height: 300px; }
  .form-grid { grid-template-columns: 1fr; }
  .field textarea { min-height: 160px; }

  .landing-header { height: 88px; }
  .landing-header a { font-size: 24px; }
  .landing { padding: var(--s6) 0; }
  .landing__text { font-size: 18px; line-height: 30px; }
  .landing__form { transform: none; max-width: none; }
}

/* Vorgespräch: heller Inhaltsbereich behält seine Höhe, Rest der Seite in Himmelblau */
body > main.landing { flex: 0 0 auto; }
.landing-foot { flex: 1 0 auto; }

/* Spamschutz: verstecktes Feld */
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.landing__form textarea{border:1px solid #7a7a7a}


/* --------------------------------------------------------------------------
   AGB (agb.html, nicht im Menü – Aufruf über /agb)
   Gestaltet als Dokument: weisses Blatt auf dem Seitenhintergrund
   -------------------------------------------------------------------------- */
.terms { padding: var(--s10) 0 var(--s12); }
.terms__sheet {
  max-width: 820px; margin: 0 auto;
  background: #fffefc; color: var(--ink);
  padding: var(--s8) var(--s10) var(--s6);
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .18), 0 18px 48px rgba(0, 0, 0, .35);
  font-size: 16.5px; line-height: 1.7;
  hyphens: auto; -webkit-hyphens: auto;
}

/* Briefkopf */
.terms__letterhead {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--s2);
  padding-bottom: var(--s1); border-bottom: 2px solid var(--navy);
  font-family: var(--f-head); font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
}
.terms__sender { color: var(--navy); font-weight: 600; }
.terms__stand { color: var(--grey); font-weight: 500; white-space: nowrap; }

.terms__head { padding: var(--s6) 0 var(--s4); }
.terms__head h1 {
  font-family: var(--f-head); font-weight: 500;
  font-size: 38px; line-height: 1.15; letter-spacing: -.005em; color: var(--navy);
  hyphens: manual;
}
.terms__lead { margin-top: var(--s2); max-width: 600px; color: var(--grey); }

/* Inhaltsverzeichnis */
.terms__toc { padding: var(--s3) 0; border-top: 1px solid #dcdcd6; border-bottom: 1px solid #dcdcd6; }
.terms__toc-title {
  font-family: var(--f-head); font-size: 13px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--grey); margin-bottom: var(--s1);
}
.terms__toc ol {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(4, auto); grid-auto-flow: column; gap: 0 var(--s5);
  counter-reset: toc;
}
.terms__toc li { counter-increment: toc; }
.terms__toc a { display: flex; gap: 10px; padding: 3px 0; text-decoration: none; color: var(--ink); font-size: 15.5px; }
.terms__toc a::before { content: counter(toc) "."; min-width: 1.6em; color: var(--grey); font-variant-numeric: tabular-nums; }
.terms__toc a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }

/* Abschnitte */
.terms__item { padding-top: var(--s5); scroll-margin-top: calc(var(--header-h) + var(--s2)); }
.terms__item h2 {
  display: flex; align-items: baseline;
  font-family: var(--f-head); font-weight: 600;
  font-size: 19px; line-height: 1.35; color: var(--navy);
}
.terms__num { flex: none; width: 2.2em; font-variant-numeric: tabular-nums; }
.terms__num::after { content: "."; }
.terms__item p, .terms__item ul, .terms__tariff { margin-top: var(--s1); margin-left: 2.2em; }
.terms__item h2 + p { margin-top: 6px; }
.terms__item p + p { margin-top: var(--s2); }
.terms__item ul { list-style: none; padding-left: 0; }
.terms__item li { position: relative; padding-left: 1.3em; }
.terms__item li::before { content: "–"; position: absolute; left: 0; color: var(--grey); }
.terms__item li + li { margin-top: 4px; }

.terms__tariff {
  margin-top: var(--s2); border-collapse: collapse;
  font-variant-numeric: tabular-nums; min-width: 280px;
}
.terms__tariff th, .terms__tariff td {
  padding: 7px 0; border-bottom: 1px solid #e4e4de; font-weight: 400; text-align: left;
}
.terms__tariff tr:first-child th, .terms__tariff tr:first-child td { border-top: 1px solid #e4e4de; }
.terms__tariff td { text-align: right; padding-left: var(--s5); color: var(--black); }
.terms__item .terms__note { margin-top: var(--s1); font-size: 14px; color: var(--grey); }

.terms__foot {
  margin-top: var(--s8); padding-top: var(--s2);
  border-top: 1px solid #dcdcd6;
  font-size: 13.5px; color: var(--grey); line-height: 1.8;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 var(--s3);
}
.terms__foot a { color: inherit; text-decoration: none; }
.terms__foot a:hover { text-decoration: underline; }

@media (max-width: 760px) {
  .terms { padding: var(--s3) 0 var(--s5); }
  .terms > .container { padding-left: 16px; padding-right: 16px; }
  .terms__sheet { padding: var(--s4) var(--s3) var(--s3); font-size: 16px; }
  .terms__letterhead { font-size: 11.5px; letter-spacing: .08em; }
  .terms__head { padding: var(--s4) 0 var(--s3); }
  .terms__head h1 { font-size: 28px; }
  .terms__toc ol { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
  .terms__item h2 { font-size: 18px; }
  .terms__num { width: 1.8em; }
  .terms__item p, .terms__item ul, .terms__tariff { margin-left: 0; }
  .terms__tariff { width: 100%; min-width: 0; }
  .terms__foot { display: block; }
}
@media print {
  .site-header, .site-footer, .cookie, .terms__toc { display: none !important; }
  .bg-page { background: none; padding: 0; }
  .terms__sheet { box-shadow: none; padding: 0; max-width: none; }
}
