
/* Questrial liegt seit 2026-10-11 lokal im Repo. Vorher kam die Schrift von
   fonts.googleapis.com als render-blockierendes Stylesheet mit display=block -
   auf langsamen iPhones/Netz stand dadurch bis zu 3 Sekunden gar nichts da,
   im Extremfall sprang die Seite erst nach ~10 s auf. Ohne Drittanbieter-Request
   entfaellt das Warten komplett. font-display:swap zeigt sofort eine
   Ersatzschrift, falls der Download noch nicht fertig ist. */
@font-face{
  font-family:"Questrial";
  font-style:normal;
  font-weight:400;
  font-display:swap;
  src:url("../assets/fonts/questrial-latin-ext.woff2?v=20261011e") format("woff2");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face{
  font-family:"Questrial";
  font-style:normal;
  font-weight:400;
  font-display:swap;
  src:url("../assets/fonts/questrial-latin.woff2?v=20261011e") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root{
  --bg:#faf7f3;
  --surface:rgba(255,255,255,.68);
  --surface-soft:rgba(248,249,253,.82);
  --ink:#17191e;
  --muted:#636b74;
  --line:rgba(0,0,0,.06);
  --accent:#ad9f94;
  --accent-strong:#827973;
  --accent-soft:#efe9e2;
  --accent-glow:rgba(173,159,148,.18);
  --brand:#d6c8b6;
  --brand-soft:rgba(214,200,182,.3);
  --glass-bg:rgba(255,255,255,.58);
  --glass-border:rgba(255,255,255,.72);
  --glass-shadow:0 8px 32px rgba(0,0,0,.06);
}

*{box-sizing:border-box}
/* min-height statt height: mit height:100% werden <html> und <body> exakt so
   hoch wie das Sichtfeld. Alles, was darueber hinausgeht, fliesst dann aus
   dem Kasten heraus: das Dokument selbst wird nicht hoeher, der Body wird
   zum zweiten Scroll-Container, und der untere Teil der Seite (z. B. das
   Anmeldeformular) ist gar nicht mehr erreichbar. min-height:100% laesst
   den Body mit dem Inhalt mitwachsen – das Dokument scrollt wieder normal.
   Alle Vollflaechen-Elemente (Mobil-Menue, Intro, Overlays) sind
   position:fixed und brauchen diese Body-Hoehe nicht.

   overflow-x:clip statt hidden: 'hidden' wuerde <body> selbst zum
   Scroll-Container machen und damit position:sticky des Headers aushebeln –
   der Header saege dann beim Scrollen weg. 'clip' verhindert das
   waagerechte Scrollen, ohne einen Scrollport zu erzeugen. */
html,body{min-height:100%;overflow-x:clip}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;font-size:clamp(16px,calc(0.45vw + 12px),21px)}
body{
  margin:0;
  font-family:"Questrial","Century Gothic","CenturyGothic",AppleGothic,"Segoe UI",sans-serif;
  color:var(--ink);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  line-height:1.6;
  font-weight:500;
}

body.intro-running{overflow:hidden}

.home-intro-overlay{
  position:fixed;
  inset:0;
  z-index:9999;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  display:grid;
  place-items:center;
  background:rgba(244,245,249,.97);
  overflow:hidden;
}
.home-intro-overlay::before{content:none}
.home-intro-overlay.is-visible{
  opacity:1;
  visibility:visible;
  animation:home-intro-fade .5s ease-out forwards;
}
.home-intro-overlay.is-leaving{animation:home-intro-out .8s ease forwards}

.home-intro-logo-wrap{
  position:relative;
  z-index:2;
  display:grid;
  place-items:center;
  width:min(68vw,480px);
  min-height:150px;
  /* Logo ohne Dauer-Animation einblenden: die 1,65-s-Scale-Animation
     verursacht auf langsamen GPUs kontinuierliche Repaints waehrend der
     gesamten Intro-Phase. Das Logo erscheint jetzt statisch innerhalb
     des 0,5-s-Overlay-Fades - optisch ununterscheidbar, messbar
     schneller auf schwachen Smartphones. */
}
.home-intro-logo-wrap::before{content:none}
.home-intro-logo{
  position:relative;
  z-index:2;
  width:min(76%,340px);
  height:auto;
  display:block;
  filter:drop-shadow(0 8px 16px rgba(0,0,0,.18));
}

@keyframes home-intro-fade{
  0%{opacity:0}
  100%{opacity:1}
}
@keyframes home-intro-out{
  0%{opacity:1}
  100%{opacity:0;visibility:hidden}
}

@media (prefers-reduced-motion:reduce){
  .home-intro-overlay,
  .home-intro-overlay.is-visible,
  .home-intro-overlay.is-leaving{
    animation:none;
    opacity:0;
    visibility:hidden;
  }
}

.skip-link{position:absolute;top:-100%;left:8px;z-index:1000;padding:10px 16px;background:var(--ink);color:#fff;border-radius:0 0 10px 10px;font-weight:600;text-decoration:none;transition:top .2s ease;font-size:.9rem}.skip-link:focus{top:0;outline:2px solid var(--accent)}

.easter-dance-overlay{position:fixed;inset:0;z-index:9999;pointer-events:none;overflow:hidden}
.easter-dance-logo{
  position:absolute;
  left:-20%;
  bottom:-15%;
  width:min(52vw,340px);
  height:auto;
  border-radius:50%;
  animation:easter-dance 2.8s cubic-bezier(.3,.6,.4,1) forwards;
}
@keyframes easter-dance{
  0%{transform:translate(0,0) rotate(0) scale(1)}
  15%{transform:translate(18vw,-15vh) rotate(35deg) scale(1.08)}
  35%{transform:translate(42vw,-42vh) rotate(-25deg) scale(.96)}
  55%{transform:translate(64vw,-22vh) rotate(30deg) scale(1.1)}
  75%{transform:translate(82vw,-52vh) rotate(-18deg) scale(1)}
  100%{transform:translate(106vw,-78vh) rotate(12deg) scale(1)}
}

button,input,textarea,select{font-family:inherit;font-size:100%;color:inherit}
button{appearance:none;-webkit-appearance:none;cursor:pointer}

.container{width:min(1600px,92%);margin:0 auto}
main.container{padding:40px 0 52px}
section + section{margin-top:20px}

/* Homepage layout */
.home-hero{
  padding:54px 0 20px;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:26px;
  align-items:center;
}
.hero-kicker{
  display:inline-flex;
  margin:0 0 10px;
  font-size:.95rem;
  letter-spacing:.18em;
  font-weight:700;
  text-transform:uppercase;
  color:var(--muted);
}
.hero-title{
  margin:0;
  font-size:clamp(2rem,5vw,3.8rem);
  line-height:1.04;
  letter-spacing:-.035em;
  font-weight:800;
  background:linear-gradient(135deg,var(--ink) 0%,#3d4250 50%,var(--muted) 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}

.quick-links{margin-top:16px}
.quick-links-grid{
  margin-top:10px;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
.quick-link{
  text-decoration:none;
  color:inherit;
  border-radius:18px;
  padding:16px;
  display:flex;
  flex-direction:column;
  gap:6px;
  min-height:110px;
  transition:transform .2s ease, box-shadow .25s ease;
}
.quick-link span{font-size:.74rem;letter-spacing:.12em;text-transform:uppercase;color:var(--accent-strong);font-weight:700}
.quick-link strong{font-size:.96rem;line-height:1.3;font-weight:600}
.quick-link:hover{transform:translateY(-4px);box-shadow:0 18px 36px rgba(0,0,0,.08)}

.news-list{
  /* Freiraum links und rechts gleich gross: die Karten sitzen dadurch mittig
     statt links zu kleben und rechts ein Loch zu lassen. Derselbe Wert
     steuert auch die Scroll-Position (scroll-padding), damit nach dem Wischen
     jede Karte wieder exakt auf der Kante landet. */
  --news-inset:18px;
  margin-top:22px;
  display:flex;
  grid-template-columns:none;
  gap:18px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scroll-padding-inline:var(--news-inset);
  scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  padding:2px var(--news-inset);
}
.news-list::-webkit-scrollbar{display:none}
/* Keine Beitraege: Hinweis statt leerer Flaeche */
.news-empty{
  margin:22px 0 0;
  padding:26px 22px;
  border:1px dashed var(--line);
  border-radius:16px;
  font-size:.92rem;
  color:var(--muted);
  text-align:center;
}
/* Genau ein Beitrag: nimmt die volle Breite ein, kein Karussell */
.news-list.is-single{
  overflow:visible;
  display:block;
}
.news-list.is-single .news-item{
  flex:none;
  width:100%;
}
/* Karussell: 3 Karten Desktop, 2 Tablet, 1 Handy.
   Die Karten fuellen die Zeile restlos (3 Karten + 2 Luecken = 100%),
   dadurch bleibt links und rechts gleich viel Platz und die Reihe sitzt
   mittig. */
.news-list .news-item{
  flex:0 0 calc((100% - 36px) / 3);
  scroll-snap-align:start;
}
@media (max-width:1024px){
  .news-list{--news-inset:16px}
  .news-list .news-item{flex:0 0 calc((100% - 18px) / 2)}
}
.news-carousel{position:relative;margin-top:22px}
.news-carousel.is-single .news-nav{display:none}
.news-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:2;
  width:44px;
  height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--glass-bg);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  color:var(--ink);
  cursor:pointer;
  box-shadow:0 8px 22px rgba(0,0,0,.1);
  transition:transform .18s ease,opacity .18s ease;
}
.news-nav:hover{transform:translateY(-50%) scale(1.06)}
.news-nav-prev{left:-10px}
.news-nav-next{right:-10px}
@media (max-width:760px){
  body .news-nav{width:38px;height:38px}
  body .news-nav-prev{left:9px}
  body .news-nav-next{right:9px}
}
.news-item{
  text-decoration:none;
  color:inherit;
  border-radius:20px;
  padding:0;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:0;
  overflow:hidden;
  border:1px solid var(--line);
  background:rgba(255,255,255,.16);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.news-item-text{
  display:flex;
  flex-direction:column;
  gap:8px;
  min-width:0;
  padding:20px 22px 22px;
}
.news-thumb{
  display:block;
  width:100%;
  aspect-ratio:16/9;
  height:auto;
  object-fit:cover;
  border-radius:0;
  flex:0 0 auto;
  cursor:pointer;
  background:var(--surface-soft);
  border:0;
  border-bottom:1px solid var(--line);
}
/* Ganzes Karten-Bild ist klickbar und oeffnet den Link - kein Zoom. */
.news-item{cursor:pointer}
.news-kicker{
  font-size:.78rem;
  letter-spacing:.13em;
  text-transform:uppercase;
  color:var(--accent-strong);
  font-weight:700;
}
.news-item strong{
  font-size:clamp(1.12rem,1.9vw,1.4rem);
  line-height:1.22;
  font-weight:700;
  letter-spacing:-.01em;
  color:var(--ink);
}
/* Karten ohne Bild: Inhalt mittig, damit die Hoehe zur Bildkarte passt */
.news-item:not(.is-thumb){justify-content:center}
.news-item:not(.is-thumb) .news-item-text{padding:26px 24px}
.news-item:hover,
.news-item:focus-visible{
  transform:translateY(-4px);
  box-shadow:0 22px 44px rgba(0,0,0,.1);
  border-color:transparent;
  outline:none;
}

h1,h2,h3,h4,h5{margin:0 0 10px;line-height:1.18;letter-spacing:-0.01em}
h2{font-size:clamp(1.6rem,2.2vw,2.1rem);font-weight:750}
h3{font-size:1.18rem;font-weight:650}
p{margin:0 0 12px}
.small{font-size:.93rem;color:var(--ink);line-height:1.6}
.small-muted{font-size:.92rem;color:var(--muted);line-height:1.55}
.actions-row{margin-top:16px;display:flex;gap:10px;flex-wrap:wrap}
.mt-8{margin-top:8px}
.mt-12{margin-top:12px}
.mt-14{margin-top:14px}
.mt-18{margin-top:18px}
.mt-20{margin-top:20px}
.heading-tight{margin-top:0;margin-bottom:10px}
.subheading-tight{margin-top:0;margin-bottom:6px}
.contact-layout{display:flex;gap:24px;align-items:flex-start;flex-wrap:wrap}
.contact-col{flex:1;min-width:260px}
.social-row{display:inline-flex;align-items:center;gap:10px}
.social-icon{display:inline-block;line-height:0;opacity:.85;transition:opacity .2s}
.social-icon:hover{opacity:1}
.social-icon img,.social-icon svg{width:28px;height:28px}
.map-embed{border:0;border-radius:12px}
.price-note{font-size:.92rem;color:var(--muted)}

/* Header - Glass */
.header{
  position:sticky;
  top:0;
  z-index:50;
  border-bottom:1px solid rgba(214,200,182,.35);
  background:var(--bg);
  opacity:1;
  visibility:visible;
  /* Kein transform in der Basisregel: sonst wird der Header zum umgebenden
     Block fuer das position:fixed-Menue und es deckt nicht die ganze Seite. */
}
/* Der Header bleibt beim Scrollen stehen (position:sticky) – er wird nicht
   mehr ausgeblendet. Die fruehere Ausblend-Regel (.header.is-hidden) ist
   darum entfernt. */
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  min-height:92px;
}

.logo-link{text-decoration:none;color:inherit;flex-shrink:0}
.logo-wide{height:60px;width:auto;display:block;max-width:250px}

.nav{display:flex;align-items:center;gap:22px}
.nav a{
  text-decoration:none;
  color:var(--muted);
  font-weight:600;
  font-size:.85rem;
  letter-spacing:.02em;
  padding:4px 0;
  transition:color .3s ease;
  position:relative;
}
.nav a:hover{color:var(--ink)}
.nav a::after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:0;height:2px;
  border-radius:999px;
  background:var(--accent);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .3s ease;
}
.nav a:hover::after,
.nav a.is-active::after,
.nav a[aria-current="page"]::after{transform:scaleX(1)}
.nav a.is-active,
.nav a[aria-current="page"]{color:var(--ink)}
.nav a:focus-visible{outline:2px solid var(--accent);outline-offset:4px;border-radius:2px}

/* â”€â”€ Nav: Ausfahrbalken (KURSE / ANGEBOTE) â”€â”€ */
.nav-item{position:relative;padding-bottom:14px;margin-bottom:-14px}
.nav-parent{display:flex;align-items:center;gap:2px}
.nav-sub{
    position:absolute;
    top:100%;
    left:0;
    min-width:216px;
    display:flex;
    flex-direction:column;
    gap:2px;
    padding:8px;
    background:var(--glass-bg);
    /* Blur nur, solange das Untermenue wirklich sichtbar ist. Safari/iOS
       zeichnet ein backdrop-filter auch bei opacity:0 weiter und rechnet den
       Weichzeichner bei jedem Frame neu - auf aelteren iPhones hat das den
       Seitenwechsel spuerbar verzoesgert. visibility:hidden nimmt das Element
       komplett aus dem Aufbau. Optisch identisch, weil es vorher schon
       unsichtbar war (opacity:0 + pointer-events:none). */
    backdrop-filter:blur(20px);
    -webkit-backdrop-filter:blur(20px);
    border:1px solid var(--glass-border);
    border-radius:14px;
    box-shadow:0 18px 40px rgba(0,0,0,.16);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transform:translateY(6px);
    transition:opacity .18s ease,transform .18s ease,visibility .18s ease;
    z-index:60;
  }
  .nav-item.is-open .nav-sub,
  .nav-item:focus-within .nav-sub{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}
/* Der Balken faehrt beim Ueberfahren aus - OHNE Bedingung an das Geraet.
   Wichtig: eine Abfrage wie (hover:hover) schliesst Geraete aus, die
   hover:none melden (Touch, Tablet, manche Touch-Laptops). Dort ist der
   Balken dann nie aufgegangen, obwohl ein Zeiger ihn ansteuern kann.
   Auf Touch erzeugt eine Beruehrung den :hover-Zustand von selbst. */
/* visibility:visible muss mit – ohne bleibt der Balken auf .nav-sub
   (visibility:hidden) unsichtbar, auch bei opacity:1. */
  .nav-item:hover .nav-sub{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}
.nav .nav-sub-link{
  padding:9px 12px;
  font-size:.82rem;
  color:var(--muted);
  text-align:left;
  white-space:nowrap;
  border-radius:10px;
}
.nav .nav-sub-link::after{display:none}
.nav .nav-sub-link:hover{color:var(--ink);background:var(--accent-soft)}
.nav .nav-sub-link.is-active,
.nav .nav-sub-link[aria-current="page"]{color:var(--ink);font-weight:700;background:var(--accent-soft)}
.nav .nav-sub-link--lead{
  margin-bottom:4px;
  padding-bottom:11px;
  border-bottom:1px solid var(--line);
  border-radius:10px 10px 0 0;
  color:var(--ink);
}

.nav-toggle{
  display:none;
  position:relative;
  width:44px;
  height:44px;
  flex:0 0 auto;
  border:0;
  border-radius:12px;
  background:transparent;
  cursor:pointer;
  padding:0;
  overflow:visible;
}
.nav-toggle span{
  position:absolute;
  left:50%;
  display:block;
  width:24px;
  height:2.5px;
  margin-left:-12px;
  border-radius:999px;
  background:var(--ink);
  box-shadow:none;
  border:0;
  transition:transform .38s cubic-bezier(.22,.61,.36,1), opacity .2s ease;
  transform-origin:center;
}
.nav-toggle span:nth-child(1){top:14px}
.nav-toggle span:nth-child(2){top:20.75px}
.nav-toggle span:nth-child(3){top:27.5px}
/* Zwei Striche bilden ein Kreuz: mittlerer verschwindet, die beiden anderen kreuzen sich */
.nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(6.75px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0;transform:scaleX(0)}
.nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-6.75px) rotate(-45deg)}

/* â”€â”€ Glass â”€â”€ */

.card,
.team-card,
#kd-section .card,
.btn,
a.btn,
.download-btn,
.quick-link,
.news-item,
.schedule-card{
  background:rgba(255,255,255,.22);
  backdrop-filter:blur(16px) saturate(1.8);
  -webkit-backdrop-filter:blur(16px) saturate(1.8);
  border:1px solid rgba(255,255,255,.25);
  box-shadow:0 8px 32px rgba(0,0,0,.05);
}

/* Card base (adds padding/radius on top of Glass) */
.card{
  border-radius:20px;
  padding:24px;
  transition:border-color .3s ease;
}
.page-home .card:hover{
  border-color:var(--accent-strong);
}

/* BestÃ¤tigungsseite: Kurs/Name/Zeit-Detailbox */
.erfolg-box{
  background:rgba(130,121,115,.08);
  border:1px solid rgba(130,121,115,.35);
  border-radius:12px;
  padding:12px 16px;
  margin:16px 0;
}
.erfolg-box .small{margin:4px 0}

.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}

.classes-list{margin-top:32px}
.classes-list .class-item{
  display:flex;
  flex-direction:column;
  gap:8px;
  cursor:pointer;
  text-decoration:none;
  color:inherit;
  background:rgba(255,255,255,.38);
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  border:1px solid rgba(214,200,182,.35);
  border-radius:18px;
  padding:18px;
  min-height:140px;
}
.classes-list .class-item:focus-visible{outline:2px solid var(--accent);outline-offset:4px;border-radius:18px}

.card-link{font-weight:600;margin-top:auto}
.classes-list .class-item:hover .card-link{color:var(--accent-strong)}

/* Course detail cards */
#kd-section .card{}

/* Anmeldung form */
.anmeldung-form{
  margin-top:16px;
  padding:16px;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--surface-soft);
  display:grid;
  /* minmax(0,1fr) statt des Standard-1fr: Grid-Items haben min-width:auto und
     schrumpfen sonst nicht unter ihre Mindestbreite. Die Mindestbreite kommt
     vom Input (size-Attribut, ca. 20 Zeichen) und war auf schmalen Handys
     breiter als das Formular – die Seite bekam dadurch einen zweiten,
     waagerechten Scrollbalken. */
  grid-template-columns:minmax(0,1fr);
  gap:12px;
}
.anmeldung-form label{display:grid;gap:6px;font-size:.9rem;color:var(--muted)}
.anmeldung-form label input,.anmeldung-form label textarea,.anmeldung-form label select{margin-top:0}
.anmeldung-form input,.anmeldung-form textarea,.anmeldung-form select{min-width:0}
.anmeldung-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
@media (max-width:480px){
  .anmeldung-grid{grid-template-columns:minmax(0,1fr)}
}
.anmeldung-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;opacity:0}
.anmeldung-status{margin:0}
.anmeldung-form .btn{justify-self:start}
/* Bewerbungsformular (ausschreibung.html): einspaltig, ruhige Card mit Taupe-Kante â€” unterscheidet sich bewusst vom zweispaltigen Kontakt-/Nachrichten-Formular */
.bewerb-form{
  border-left:4px solid var(--accent);
  border-right-color:var(--line);
  border-bottom-color:var(--line);
}
.bewerb-form .bewerb-grid{display:grid;gap:12px}
.bewerb-form textarea{min-height:120px}
/* "Ich bin kein Roboter" â€” wie Google reCAPTCHA v2 (weisse Karte, Schatten) */
.rcp-box{
  display:block;
  width:304px;
  max-width:100%;
  background:#fff;
  border:1px solid #d3d3d3;
  border-radius:3px;
  box-shadow:0 0 4px 1px rgba(0,0,0,.08);
  user-select:none;
  overflow:hidden;
  font-family:Arial,Helvetica,sans-serif;
}
/* Nur das HÃ¤kchen-KÃ¤stchen ist klickbar, nicht die ganze Karte */
.rcp-check{
  display:inline-flex;
  cursor:pointer;
  padding:6px;
  border-radius:3px;
}
.rcp-check:hover .rcp-checkmark{border-color:#a0a0a0}
.rcp-top{
  display:flex;
  align-items:center;
  gap:12px;
  padding:13px 12px;
  background:#f9f9f9;
}
.rcp-checkbox{
  position:absolute;
  opacity:0;
  pointer-events:none;
  /* Wichtig: ohne diese Zeilen zieht das globale input{width:100%} das
     unsichtbare Kaestchen auf die volle Seitenbreite. Es steht dann als
     ueberbreites Element im Dokument und erzeugt einen waagerechten
     Scrollbalken, der die ganze Seite seitlich abschneidet. */
  width:auto;
  height:auto;
  margin:0;
  padding:0;
}
.rcp-checkmark{
  flex:0 0 auto;
  width:28px;
  height:28px;
  border:2px solid #d3d3d3;
  border-radius:3px;
  background:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition:border-color .2s ease,background .2s ease;
}
.rcp-checkmark::after{
  content:'';
  width:13px;
  height:7px;
  border-left:2px solid #fff;
  border-bottom:2px solid #fff;
  transform:rotate(-45deg) scale(0);
  transition:transform .15s ease;
  margin-top:-2px;
}
.rcp-checkbox:checked + .rcp-checkmark{
  border-color:#4a90d9;
  background:#4a90d9;
}
.rcp-checkbox:checked + .rcp-checkmark::after{transform:rotate(-45deg) scale(1)}
.rcp-checkbox:focus-visible + .rcp-checkmark{outline:2px solid #4a90d9;outline-offset:2px}
/* Lade-Spinner: erscheint beim Klick, bevor die BestÃ¤tigung kommt */
.rcp-box.spinning .rcp-checkmark{
  border:2px solid #d3d3d3;
  background:#fff;
  position:relative;
}
.rcp-box.spinning .rcp-checkmark::before{
  content:'';
  position:absolute;
  inset:3px;
  border:2px solid rgba(74,144,217,.3);
  border-top-color:#4a90d9;
  border-radius:50%;
  animation:rcp-spin .7s linear infinite;
}
.rcp-box.spinning .rcp-checkmark::after{transform:rotate(-45deg) scale(0)}
.rcp-box.verified .rcp-checkmark{
  border-color:#4a90d9;
  background:#4a90d9;
}
.rcp-box.verified .rcp-checkmark::after{transform:rotate(-45deg) scale(1)}
@keyframes rcp-spin{
  to{transform:rotate(360deg)}
}
.rcp-label{
  font-size:14px;
  color:#212121;
  line-height:1.2;
}
.rcp-foot{
  display:flex;
  align-items:center;
  gap:6px;
  padding:5px 10px;
  background:#f9f9f9;
  border-top:1px solid #e9e9e9;
  font-size:11px;
  color:#737373;
}
/* Kein Symbol im Spamschutz-Balken – der Kasten bleibt schlicht. */
.rcp-shield{display:none}
.rcp-foot-text a{color:#3687c4;text-decoration:none}
.rcp-foot-text a:hover{text-decoration:underline}
.rcp-box.shake{animation:anmeldung-shake .5s ease}
@keyframes anmeldung-shake{
  0%,100%{transform:translateX(0)}
  25%{transform:translateX(-5px)}
  50%{transform:translateX(5px)}
  75%{transform:translateX(-3px)}
}
/* AGB-BestÃ¤tigung */
.anmeldung-form .anmeldung-agb{
  position:relative;
  display:flex;
  align-items:center;
  gap:8px;
  font-size:.85rem;
  color:var(--muted);
  cursor:pointer;
  margin-top:12px;
}
.anmeldung-agb input{
  position:absolute;
  opacity:0;
  pointer-events:none;
  /* Siehe .rcp-checkbox: ohne diese Zuruecksetzung zieht das globale
     input{width:100%} das versteckte Kaestchen ueber die Seitenbreite und
     erzeugt einen waagerechten Scrollbalken. */
  width:auto;
  height:auto;
  margin:0;
  padding:0;
}
.anmeldung-agb .agb-check{
  flex:0 0 auto;
  width:18px;
  height:18px;
  border:2px solid #d3d3d3;
  border-radius:3px;
  background:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition:border-color .2s ease,background .2s ease;
}
.anmeldung-agb .agb-check::after{
  content:'';
  width:9px;
  height:5px;
  border-left:2px solid #fff;
  border-bottom:2px solid #fff;
  transform:rotate(-45deg) scale(0);
  transition:transform .15s ease;
  margin-top:-1px;
}
.anmeldung-agb input:checked + .agb-check{
  border-color:#2f9e2f;
  background:#2f9e2f;
}
.anmeldung-agb input:checked + .agb-check::after{transform:rotate(-45deg) scale(1)}
.anmeldung-agb input:focus-visible + .agb-check{outline:2px solid #4a90d9;outline-offset:2px}
.anmeldung-agb a{color:#3687c4;text-decoration:none}
.anmeldung-agb a:hover{text-decoration:underline}
.anmeldung-agb.shake{animation:anmeldung-shake .5s ease}
@media(max-width:600px){
  .anmeldung-grid{grid-template-columns:1fr}
}

/* Anmeldung block (contact page) */
.anmeldung-block{
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid var(--line);
}
.anmeldung-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:12px;
}
.anmeldung-actions .btn{border-radius:999px}
.anmeldung-contact-row{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px 16px;
  margin-top:12px;
}
.anmeldung-contact-row .small{margin:0}
.anmeldung-panel{
  max-height:0;
  overflow:hidden;
  opacity:0;
  margin-top:16px;
  transition:max-height .45s ease,opacity .35s ease;
}
.anmeldung-panel.panel-closed{
  display:none;
}
.anmeldung-panel.open{
  max-height:2400px;
  opacity:1;
}

/* Probelektion-Kalender */
.anmeldung-schnupper{
  padding:12px;
  border:1px dashed var(--line);
  border-radius:12px;
  background:var(--surface-soft);
  display:grid;
  gap:10px;
}
.anmeldung-schnupper[hidden]{display:none}
.anmeldung-schnupper .small-muted{margin:0}
.anmeldung-cal{
  width:100%;
  max-width:320px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  padding:10px 12px;
  display:grid;
  gap:8px;
}
.anmeldung-cal-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}
.anmeldung-cal-month{
  font-size:.92rem;
  font-weight:700;
  color:var(--ink);
}
.anmeldung-cal-nav{
  width:30px;
  height:30px;
  border:1px solid var(--line);
  border-radius:8px;
  background:#fff;
  color:var(--ink);
  font-size:1.1rem;
  line-height:1;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.anmeldung-cal-nav:hover{border-color:var(--accent-strong);color:var(--accent-strong)}
.anmeldung-cal-weekdays{
  display:grid;
  grid-template-columns:repeat(7,1fr);
  gap:2px;
  text-align:center;
  font-size:.72rem;
  font-weight:700;
  color:var(--muted);
}
.anmeldung-cal-grid{
  display:grid;
  grid-template-columns:repeat(7,1fr);
  gap:2px;
}
.cal-day{
  aspect-ratio:1;
  display:flex;
  align-items:center;
  justify-content:center;
  border:none;
  background:transparent;
  border-radius:8px;
  font-size:.85rem;
  color:var(--ink);
  cursor:pointer;
  padding:0;
}
.cal-day:hover:not(.is-disabled):not(.is-selected){background:var(--accent-soft)}
.cal-day.is-disabled{color:#c4c9cf;cursor:not-allowed}
.cal-day.is-selected{
  background:var(--accent-strong);
  color:#fff;
  font-weight:700;
}
.cal-day:focus-visible{outline:2px solid #4a90d9;outline-offset:1px}
.anmeldung-schnupper.shake{animation:anmeldung-shake .5s ease}

/* Buttons */
.btn,
a.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:13px 28px;
  min-height:48px;
  border-radius:999px;
  background:var(--accent);
  border-color:var(--accent);
  color:#fff;
  font-weight:600;
  font-size:.98rem;
  text-decoration:none;
  box-shadow:0 4px 16px rgba(173,159,148,.4);
  transition:transform .25s ease,box-shadow .3s ease,color .3s ease,border-color .3s ease,background .3s ease;
  letter-spacing:.01em;
}
.btn:hover,
a.btn:hover{
  transform:translateY(-2px);
  background:var(--accent-strong);
  border-color:var(--accent-strong);
  color:#fff;
}
.btn:active{transform:translateY(0)}

/* Footer */
.footer{
  margin-top:12px;
  padding:24px 14px 32px;
  text-align:center;
  color:var(--muted);
  font-weight:500;
  font-size:.9rem;
  border-top:1px solid var(--line);
}

/* Sitemap-Seite */
.sitemap-list{
  margin:10px 0 0;
  padding-left:20px;
  list-style:disc;
  line-height:1.9;
}
.sitemap-list a{color:inherit;text-decoration:none}
.sitemap-list a:hover,.sitemap-list a:focus{color:var(--accent-strong);text-decoration:underline}

/* Cookie-Banner */
.cookie-banner{
  position:fixed;
  left:16px;
  right:16px;
  bottom:16px;
  z-index:1200;
  max-width:640px;
  margin:0 auto;
  background:rgba(255,255,255,.96);
  /* Kein backdrop-filter: der Hintergrund ist zu 96% deckend, der Weichzeichner
     waere nicht zu sehen - kostet aber auf iOS bei jedem Frame Rechenzeit,
     und das Banner ist position:fixed, also auf jeder Seite aktiv, bis man
     zustimmt. */
  border:1px solid rgba(255,255,255,.35);
  box-shadow:0 12px 40px rgba(0,0,0,.18);
  border-radius:18px;
  padding:16px 18px;
  opacity:1;
  transform:translateY(0);
  transition:opacity .4s ease, transform .4s ease;
}
.cookie-banner-hidden{
  opacity:0;
  transform:translateY(16px);
  pointer-events:none;
}
.cookie-banner-inner{display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.cookie-banner-text{flex:1 1 320px;margin:0;font-size:.88rem;line-height:1.5;color:var(--ink)}
.cookie-banner-link{color:var(--accent-strong);text-decoration:none}
.cookie-banner-link:hover,.cookie-banner-link:focus{text-decoration:underline}
.cookie-banner-actions{flex:0 0 auto;display:flex;gap:8px}
.cookie-banner-btn{white-space:nowrap}
.cookie-banner-btn-primary{background:var(--accent-strong);color:#fff;border-color:var(--accent-strong)}
.cookie-banner-btn-primary:hover{background:var(--accent);color:#fff;border-color:var(--accent)}

/* Forms */
form .input,
input,textarea,select{
  width:100%;
  margin-top:8px;
  padding:11px 14px;
  border-radius:12px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.8);
  color:var(--ink);
  transition:border-color .2s, box-shadow .2s;
}
input:focus,textarea:focus,select:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-glow)}

.courses-search{margin:20px 0 16px}
.courses-search .search-label{display:block;font-weight:600;color:var(--ink);font-size:.92rem}
.courses-search input{margin-top:8px;max-width:560px;min-width:240px;font-size:16px}

/* Pricing */
.price-table{width:100%;border-collapse:separate;border-spacing:0;font-size:.92rem;overflow:hidden;border-radius:14px}
.price-table th,.price-table td{padding:12px 14px;border-bottom:1px solid var(--line);text-align:left}
.price-table th{font-weight:700}
.price-table .price-sub{display:block;font-weight:400;font-size:.8rem;color:var(--muted)}
.price-table tr:last-child td{border-bottom:none}
.pdf-list{display:flex;flex-direction:column;gap:10px;margin-top:12px}
.download-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  width:100%;
  padding:12px 16px;
  border-radius:14px;
  text-decoration:none;
  font-weight:600;
  font-size:.92rem;
  color:var(--ink);
  transition:border-color .3s ease;
}
.download-btn:hover{
  border-color:var(--accent-strong);
}

/* Team */
.team-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.team-gallery .card-item{height:220px;border-radius:16px;overflow:hidden;position:relative;background:#eef0f4}
.team-gallery .card-item img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s ease}
.team-gallery .card-item:hover img{transform:scale(1.04)}

.team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:10px}
.team-card{
  padding:20px;
  border-radius:18px;
  text-align:left;
  transition:border-color .3s ease;
}
.team-card:hover{border-color:var(--accent-strong)}
.team-card > *{margin:6px 0}
.team-card h4{margin:6px 0 2px;font-size:1.02rem;font-weight:700}
.team-card .small-muted{font-size:.9rem;color:var(--ink)}
.team-card pre.small{margin:5px 0;white-space:pre-wrap;font-family:inherit;font-size:.9rem;line-height:1.5;color:var(--ink);text-align:left}
.team-photo{display:flex;align-items:center;justify-content:center;width:140px;height:180px;margin:0 auto 12px;border-radius:16px;overflow:hidden;background:var(--surface-soft);border:1px solid var(--line)}
.team-photo img{max-width:100%;max-height:100%;object-fit:contain;display:block}
.team-card .courses-list .course-item a{color:inherit;text-decoration:none;cursor:text}
.team-card .courses-list .course-item a:hover,
.team-card .courses-list .course-item a:focus{color:var(--accent-strong);text-decoration:none}

/* Kursleitung: klickbare Profil-Chips (Kursdetail) */
.kd-lead{display:flex;flex-wrap:wrap;gap:10px;margin-top:4px}
.kd-trainer-chip{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:5px 14px 5px 6px;
  border-radius:999px;
  background:rgba(255,255,255,.6);
  border:1px solid var(--line);
  cursor:pointer;
  font-family:inherit;
  font-size:.95rem;
  color:var(--ink);
  transition:border-color .25s ease,box-shadow .25s ease,transform .25s ease;
}
.kd-trainer-chip:hover,.kd-trainer-chip:focus-visible{
  border-color:var(--accent-strong);
  box-shadow:0 4px 14px rgba(0,0,0,.08);
  transform:translateY(-1px);
}
.kd-trainer-chip .kd-trainer-avatar{
  width:48px;
  height:48px;
  border-radius:50%;
  object-fit:contain;
  background:var(--accent-soft);
  border:1px solid var(--line);
  flex:0 0 auto;
}
.kd-trainer-chip span{font-weight:600;line-height:1.3}

/* Trainer-Popup (Teamkarte) */
.trainer-popup{
  position:fixed;
  inset:0;
  z-index:1400;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
}
.trainer-popup[hidden]{display:none}
.trainer-popup-backdrop{
  position:absolute;
  inset:0;
  background:rgba(23,25,30,.5);
  backdrop-filter:blur(3px);
  -webkit-backdrop-filter:blur(3px);
}
.trainer-popup-card{
  position:relative;
  z-index:1;
  width:100%;
  max-width:400px;
  max-height:calc(100vh - 40px);
  overflow-y:auto;
  background:var(--bg);
  border-radius:18px;
  padding:26px;
  border:1px solid rgba(255,255,255,.35);
  box-shadow:0 24px 70px rgba(0,0,0,.28);
  animation:tp-in .28s ease-out;
}
.trainer-popup-content .team-card{
  background:transparent;
  backdrop-filter:none;
  border:none;
  box-shadow:none;
  padding:0;
}
.trainer-popup-close{
  position:absolute;
  top:12px;
  right:12px;
  width:34px;
  height:34px;
  border-radius:50%;
  border:1px solid var(--line);
  background:rgba(255,255,255,.7);
  color:var(--ink);
  font-size:1.15rem;
  line-height:1;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:border-color .25s ease,background .25s ease;
}
.trainer-popup-close:hover{background:var(--accent-soft)}
body.tp-open{overflow:hidden}
@keyframes tp-in{
  from{opacity:0;transform:translateY(12px) scale(.97)}
  to{opacity:1;transform:translateY(0) scale(1)}
}
@media (prefers-reduced-motion:reduce){
  .trainer-popup-card{animation:none}
}

/* News image zoom */
.news-zoom{
  position:fixed;
  inset:0;
  z-index:1500;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:22px;
}
.news-zoom[hidden]{display:none}
.news-zoom-backdrop{
  position:absolute;
  inset:0;
  background:rgba(23,25,30,.62);
  backdrop-filter:blur(3px);
  -webkit-backdrop-filter:blur(3px);
}
.news-zoom-card{
  position:relative;
  z-index:1;
  max-width:min(960px,92vw);
  max-height:calc(100vh - 44px);
  background:var(--bg);
  border-radius:18px;
  padding:16px;
  border:1px solid rgba(255,255,255,.35);
  box-shadow:0 24px 70px rgba(0,0,0,.32);
  animation:tz-in .24s ease-out;
}
.news-zoom-img{
  display:block;
  max-width:100%;
  max-height:calc(100vh - 120px);
  border-radius:12px;
  object-fit:contain;
}
.news-zoom-close{
  position:absolute;
  top:10px;
  right:10px;
  width:36px;
  height:36px;
  border-radius:50%;
  border:1px solid var(--line);
  background:rgba(255,255,255,.85);
  color:var(--ink);
  font-size:1.2rem;
  line-height:1;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:border-color .25s ease,background .25s ease;
}
.news-zoom-close:hover{background:var(--accent-soft)}
body.news-zoom-open{overflow:hidden}
@keyframes tz-in{
  from{opacity:0;transform:scale(.96)}
  to{opacity:1;transform:scale(1)}
}
@media (prefers-reduced-motion:reduce){
  .news-zoom-card{animation:none}
}

/* Course detail */
#kd-section h4{margin-top:14px;margin-bottom:6px}
#kd-section h5{margin:10px 0 6px;font-size:.95rem}
#kd-section ul{margin:0 0 12px;padding-left:18px}
.related-course-card{
  margin-top:16px;
  padding:14px 16px;
  border-radius:14px;
  border:1px solid rgba(214,200,182,.4);
  background:linear-gradient(135deg,rgba(214,200,182,.12),rgba(255,255,255,.7));
}
.related-course-kicker{
  margin:0 0 6px;
  font-size:.72rem;
  letter-spacing:.1em;
  text-transform:uppercase;
  font-weight:700;
  color:var(--accent-strong);
}
#kd-section .related-course-card h4{margin:0 0 6px}
#kd-section .related-course-card p{margin-bottom:10px}
#kd-section .related-course-link{
  padding:10px 15px;
  font-size:.9rem;
}
pre.small,.ferienplan-text{white-space:pre-wrap;font-family:inherit;font-size:.9rem;line-height:1.65;color:var(--ink)}

/* Schedule */
.schedule-table{width:100%;border-collapse:collapse;font-size:.92rem}
.schedule-table th,.schedule-table td{padding:10px 8px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.schedule-table th{font-weight:700}
.schedule-card{margin-bottom:12px}
.schedule-course{transition:color .3s ease}
tr[data-href]{cursor:pointer}
tr[data-href]:hover .schedule-course{color:var(--accent-strong)}
.back-nav{margin-bottom:14px}
.crumbs{display:block;font-size:.85rem;line-height:1.4;color:var(--muted);margin:0 0 8px}
.crumbs a{color:var(--accent-strong);text-decoration:none;font-weight:600}
.crumbs a:hover{text-decoration:underline}
.crumbs .crumb-current{color:var(--ink)}
.page-stundenplan .schedule-table th,
.page-stundenplan .schedule-table td{border-bottom:1px solid var(--line)}
.page-stundenplan .schedule-table th{background:transparent;font-weight:600}
.page-stundenplan .schedule-table th,
.page-stundenplan .schedule-table td{padding:8px}
.page-stundenplan .schedule-table{table-layout:fixed}
.page-stundenplan .schedule-table th:nth-child(1),
.page-stundenplan .schedule-table td:nth-child(1){width:28%}
.page-stundenplan .schedule-table th:nth-child(3),
.page-stundenplan .schedule-table td:nth-child(3){width:24%}

/* Stundenplan-Symbole (ersetzen A / A+ / A*) â€“ stehen bei der Kurszeit, nicht beim Namen */
.schedule-flags{
  display:inline-flex;
  flex-wrap:wrap;
  align-items:center;
  gap:2px;
  margin-left:5px;
  vertical-align:-5px;
}
.schedule-flag{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:30px;
  height:30px;
  padding:0;
  border:0;
  border-radius:50%;
  background:var(--accent-soft);
  color:var(--accent-strong);
  opacity:.92;
  cursor:help;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
  transition:opacity .2s ease,transform .2s ease,box-shadow .2s ease;
}
.schedule-flag:hover,
.schedule-flag:focus-visible,
.schedule-flag.is-open{
  opacity:1;
  transform:scale(1.1);
  box-shadow:0 3px 10px rgba(15,23,42,.16);
  outline:none;
}
.schedule-flag-icon{width:18px;height:18px;display:block;stroke-width:1.6}
.schedule-flag-tip{
  position:absolute;
  left:50%;
  bottom:calc(100% + 4px);
  transform:translateX(-50%) translateY(4px);
  padding:4px 8px;
  border-radius:7px;
  background:var(--accent);
  color:#fff;
  font-size:.7rem;
  font-weight:600;
  line-height:1.3;
  white-space:nowrap;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  z-index:30;
  box-shadow:0 6px 18px rgba(130,121,115,.28);
  transition:opacity .18s ease,transform .18s ease,visibility .18s ease;
}
.schedule-flag-tip::after{
  content:"";
  position:absolute;
  top:100%;
  left:50%;
  margin-left:-5px;
  border:5px solid transparent;
  border-top-color:var(--accent);
}
@media (hover:hover) and (pointer:fine){
  .schedule-flag:hover .schedule-flag-tip,
  .schedule-flag:focus-visible .schedule-flag-tip,
  .schedule-flag.is-open .schedule-flag-tip{
    opacity:1;
    visibility:visible;
    transform:translateX(-50%) translateY(0);
  }
}
/* Mobile/Touch: fest positionierter Hinweis (nicht von der Tabelle abgeschnitten) */
.schedule-flag-tipbox{
  position:fixed;
  z-index:80;
  padding:7px 11px;
  border-radius:9px;
  background:var(--accent);
  color:#fff;
  font-size:.82rem;
  font-weight:600;
  line-height:1.35;
  max-width:min(260px,86vw);
  text-align:center;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translate(-50%,-100%);
  transition:opacity .16s ease,visibility .16s ease;
  box-shadow:0 8px 22px rgba(130,121,115,.32);
}
.schedule-flag-tipbox.is-open{opacity:1;visibility:visible}
.schedule-flag-tipbox.is-below{transform:translate(-50%,0)}

/* Ambient glow background */
body::before{
  content:"";
  position:fixed;
  z-index:-1;
  pointer-events:none;
  filter:blur(100px);
  opacity:.45;
  width:480px;height:480px;left:-140px;top:6vh;
  background:radial-gradient(circle,rgba(214,200,182,.35) 0%,rgba(214,200,182,.12) 40%,rgba(214,200,182,0) 70%);
}
body::after{
  content:"";
  position:fixed;
  z-index:-1;
  pointer-events:none;
  filter:blur(100px);
  opacity:.4;
  width:520px;height:520px;right:-160px;bottom:6vh;
  background:radial-gradient(circle,rgba(214,200,182,.45) 0%,rgba(214,200,182,.15) 41%,rgba(214,200,182,0) 72%);
}

/* Hero section with bg */
.home-hero{padding:68px 0 24px}
.home-hero-copy{max-width:62ch}
.home-hero-bg{
  position:relative;
  min-height:460px;
  display:flex;
  align-items:center;
  overflow:hidden;
  padding:36px 0;
  /* Bewusst kein Logo als Hintergrund: das wÃ¤re beim Laden kurz zu sehen,
     bevor das erste Slideshow-Bild da ist. Stattdessen ein dunkler Verlauf,
     der zur Schattigung darueber passt. */
  background:linear-gradient(120deg,#262a34 0%,#191d25 55%,#101319 100%);
  /* Das Kuerzel setzt alle background-Unterwerte auf ihren Anfangswert
     (repeat / auto). Ohne diese drei Angaben wird ein einzelnes Slideshow-Bild
     gekachelt und sieht wie ein Raster aus. */
  background-repeat:no-repeat;
  background-position:center center;
  background-size:cover;
}
.home-hero-slides{
  position:absolute;
  inset:0;
  z-index:0;
}
.home-hero-slide{
  position:absolute;
  inset:0;
  background-position:center center;
  background-size:cover;
  background-repeat:no-repeat;
  opacity:0;
  transition:opacity .75s ease;
}
.home-hero-slide.is-active{opacity:1}
.home-hero-bg::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(115deg,rgba(10,12,18,.68) 0%,rgba(10,12,18,.32) 55%,rgba(10,12,18,.15) 100%);
  z-index:1;
}
.home-hero-bg .home-hero-copy{
  position:relative;
  z-index:2;
  width:min(1600px,92%);
  margin:0 auto;
  max-width:none;
}
.home-hero-controls{
  position:absolute;
  left:50%;
  bottom:14px;
  transform:translateX(-50%);
  z-index:3;
  display:flex;
  align-items:center;
  gap:10px;
}
.home-hero-dots{
  display:flex;
  align-items:center;
  gap:6px;
}
.home-hero-dot{
  width:8px;
  height:8px;
  border-radius:999px;
  border:none;
  background:rgba(255,255,255,.5);
  cursor:pointer;
  padding:0;
  transition:all .2s ease;
}
.home-hero-dot.is-active{background:rgba(255,255,255,.95);width:20px;border-radius:4px}
.home-hero-bg .hero-kicker,
.home-hero-bg .hero-title,
.home-hero-bg .hero-actions{max-width:min(58ch,48vw)}
.page-home .home-hero-bg .hero-actions{margin-top:160px}
.home-hero-bg .hero-kicker,
.home-hero-bg .hero-title{color:#fff}
.home-hero-bg .hero-kicker,
.home-hero-bg .hero-title{
  background:none;
  -webkit-background-clip:initial;
  background-clip:initial;
}

.page-home main{margin-top:-92px}
.page-home .home-hero{padding-top:168px}

/* Admin styles */
.admin-main{padding:32px 0 48px;display:grid;gap:16px}
.admin-panel{display:none;gap:10px}
.admin-panel.is-active{display:grid}
.admin-panel label{display:grid;gap:6px;font-size:.9rem;color:var(--muted)}
.admin-panel input,
.admin-panel textarea,
.admin-panel select{
  width:100%;
  border:1px solid var(--line);
  border-radius:10px;
  padding:10px 12px;
  background:rgba(255,255,255,.8);
  color:var(--ink);
}
.admin-status{margin:0 0 24px}
.admin-status.error{color:#9a2727}
/* Hinweis oben im Editor: noch nicht ausgefÃ¼llte Felder (Kurse, Workshops,
   Ferien-Workshops - Ã¼berall gleich). */
.admin-checks{
  border:1px solid #cbd5e1;
  border-left:4px solid #94a3b8;
  background:#f8fafc;
  border-radius:12px;
  padding:14px 18px;
}
.admin-checks h4{margin:0 0 6px;font-size:.95rem;color:#475569}
.admin-checks ul{margin:0;padding-left:20px;display:grid;gap:2px}
.admin-checks li{font-size:.88rem;color:#475569;overflow-wrap:anywhere}

/* Analyse-Panels (admin/analyse.html) */
.ana-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px}
.ana-kpi{
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  padding:14px 16px;
  display:grid;
  gap:2px;
}
.ana-kpi-num{font-size:1.6rem;line-height:1.1;color:var(--accent-strong);font-weight:600}
.ana-kpi-label{font-size:.82rem;color:var(--muted)}
.ana-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}
.admin-table{
  width:100%;
  border-collapse:collapse;
  font-size:.9rem;
}
.admin-table th{
  text-align:left;
  font-size:.78rem;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:var(--muted);
  padding:6px 8px;
  border-bottom:1px solid var(--line);
}
.admin-table td{
  padding:7px 8px;
  border-bottom:1px solid var(--line);
  overflow-wrap:anywhere;
}
.admin-table tr:last-child td{border-bottom:none}
.ana-series{display:flex;align-items:flex-end;gap:2px;height:130px;padding-top:6px;overflow-x:auto}
.ana-day{display:flex;flex-direction:column;align-items:center;flex:1 0 24px;min-width:16px;height:118px}
.ana-bar-wrap{flex:1;width:100%;display:flex;align-items:flex-end;justify-content:center;gap:2px}
.ana-bar{
  flex:1 1 0;
  min-width:3px;
  max-width:7px;
  min-height:0;
  border-radius:2px 2px 0 0;
  transition:height .3s ease;
}
.bar-n{background:rgba(173,159,148,.4)}
.bar-v{background:var(--accent)}
.bar-u{background:var(--accent-strong)}
.ana-legend{display:flex;flex-wrap:wrap;gap:12px;margin:8px 0 4px;font-size:.8rem;color:var(--muted)}
.ana-legend-item{display:inline-flex;align-items:center;gap:6px}
.ana-dot{width:12px;height:12px;border-radius:2px;display:inline-block}
.ana-day-label{font-size:.62rem;color:var(--muted);margin-top:4px;white-space:nowrap}
.ana-bars{display:grid;gap:6px;margin-bottom:14px}
.ana-bar-row{display:grid;grid-template-columns:110px 1fr 46px;align-items:center;gap:10px;font-size:.85rem}
.ana-bar-name{color:var(--ink);text-transform:capitalize}
.ana-bar-track{height:12px;background:var(--accent-soft);border-radius:6px;overflow:hidden}
.ana-bar-fill{height:100%;background:var(--accent);border-radius:6px}
.ana-bar-num{text-align:right;color:var(--muted);font-variant-numeric:tabular-nums}
.admin-checks .admin-checks-hints{margin-top:12px;padding-top:10px;border-top:1px dashed #e5e7eb}
.admin-checks .admin-checks-hints h4{margin-bottom:4px}
.admin-checks .admin-checks-hints li{color:#64748b}.admin-disabled-note h2{margin-bottom:8px}
.admin-toggle-row{
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-size:.92rem;
  color:var(--ink);
  line-height:1.5;
  cursor:pointer;
}
.admin-toggle-row input[type=checkbox]{
  width:20px;
  height:20px;
  margin:2px 0 0;
  flex:0 0 auto;
  accent-color:var(--accent-strong);
  cursor:pointer;
}
.admin-schedule-flags{
  display:inline-flex;
  flex-wrap:wrap;
  gap:4px;
  margin-top:4px;
}
.admin-schedule-flag{
  display:inline-block;
  padding:1px 7px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--accent-soft);
  color:var(--ink);
  font-size:.7rem;
  line-height:1.5;
  white-space:nowrap;
}
.admin-course-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid var(--line)}
.admin-course-row:last-child{border-bottom:none}
/* Nur-Anzeige-Feld (Preis, Kursleitung): ruhiger Rahmen statt Schreibfeld. */
.admin-readonly{
  margin:0;
  padding:14px 16px;
  border:1px solid var(--line);
  border-left:3px solid var(--accent-strong);
  border-radius:0 12px 12px 0;
  background:var(--accent-soft);
  font-size:.92rem;
  line-height:1.6;
  color:var(--ink);
}
.admin-readonly p{margin:0 0 4px}
.admin-readonly p:last-child{margin-bottom:0}
/* Zeit-Editor: eine Zeile pro Lektion, mobil untereinander. */
.admin-times-list{
  margin:10px 0 0;
  display:grid;
  gap:10px;
}
.admin-times-row{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-end;
  gap:10px;
  padding:12px;
  border:1px solid var(--line);
  border-radius:12px;
  background:rgba(255,255,255,.7);
}
.admin-times-field{
  display:grid;
  gap:4px;
  font-size:.78rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--muted);
  font-weight:700;
}
.admin-times-field input,
.admin-times-field select{
  min-width:0;
  border:1px solid var(--line);
  border-radius:10px;
  padding:9px 10px;
  background:rgba(255,255,255,.85);
  color:var(--ink);
  font-size:.95rem;
  letter-spacing:normal;
  text-transform:none;
}
.admin-times-day{flex:1 1 150px}
.admin-times-date{flex:1 1 150px}
.admin-times-flags{
  display:flex;
  flex-wrap:wrap;
  gap:8px 14px;
  align-items:center;
  flex:1 1 100%;
  padding-top:4px;
}
.cal-day.is-holiday{background:repeating-linear-gradient(45deg,transparent 0 6px,rgba(130,121,115,.12) 6px 12px);text-decoration:line-through;opacity:.55}
.admin-times-row.is-on-request{background:var(--accent-soft);border-color:var(--accent-strong)}
.admin-times-request{flex:1 1 100%;padding-top:0}
.admin-times-row.is-on-request .admin-times-field{opacity:.5}
@media (max-width:760px){
  .admin-times-row{align-items:stretch}
  .admin-times-day,
  .admin-times-date{flex:1 1 100%}
  .admin-times-row .btn{width:100%}
}
.admin-sort-list{
  margin-top:8px;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--glass-bg);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  padding:8px;
  display:grid;
  gap:8px;
}
.admin-sort-item{
  display:flex;
  align-items:center;
  gap:10px;
  border:1px solid var(--line);
  border-radius:10px;
  background:rgba(255,255,255,.8);
  padding:10px;
  cursor:grab;
}
.admin-sort-item:active{cursor:grabbing}
.admin-sort-item.is-selected{border-color:rgba(173,159,148,.55);box-shadow:0 0 0 2px var(--accent-glow)}
.admin-sort-item.is-drop-target{border-color:var(--accent-strong);background:var(--accent-soft)}
.admin-sort-item.is-dragging{opacity:.7}
.admin-sort-handle{
  font-weight:700;
  letter-spacing:.1em;
  color:var(--muted);
  min-width:22px;
  text-align:center;
}
.admin-sort-content{display:grid;gap:2px;min-width:0}
.admin-sort-content strong{font-size:.92rem}

.inline-edit-mode .inline-editable{
  outline:2px dashed var(--accent);
  outline-offset:2px;
  border-radius:4px;
  cursor:text;
}
.inline-edit-toolbar{
  position:fixed;
  right:14px;
  bottom:14px;
  z-index:1200;
  display:flex;
  align-items:center;
  gap:8px;
  background:var(--glass-bg);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border:1px solid var(--glass-border);
  border-radius:14px;
  padding:12px 14px;
  box-shadow:0 12px 36px rgba(0,0,0,.1);
}
.inline-edit-toolbar strong{font-size:.88rem;color:var(--ink)}

@media (max-width:1024px){
  .grid-3,.grid-2,.team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .header-inner{min-height:86px}
  .home-hero{grid-template-columns:1fr}
  .quick-links-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width:760px){
  .container{width:94%}
  .btn,
  a.btn{
    min-height:52px;
    padding:14px 26px;
    font-size:1.02rem;
  }
  form .input,
  input,textarea,select{
    min-height:48px;
    padding:13px 16px;
    font-size:1rem;
  }
  .header-inner{min-height:82px;align-items:center;flex-direction:row;flex-wrap:wrap;justify-content:space-between;padding:6px 0;gap:6px}
  .logo-link{display:block;flex:1 1 auto;min-width:0;max-width:calc(100% - 60px)}
  .logo-wide{height:50px}
  .nav-toggle{display:flex;align-self:center;flex:0 0 auto;margin-left:auto;position:relative;z-index:60}
  /* MenÃ¼ offen: Hintergrund nicht scrollen, Header sichtbar lassen */
  body.nav-open{overflow:hidden}
  body.nav-open .header,
  .header:has(.nav.is-open){transform:none!important}
  /* Header darf kein umgebender Block fÃ¼r das fixed-MenÃ¼ sein */
  .header:has(.nav.is-open){backdrop-filter:none;-webkit-backdrop-filter:none;filter:none}
  /* MenÃ¼deckel Ã¼ber die ganze Seite; liegt es im Body, kommt es unter dem
     Header (z-index 50), damit Toggle und Kreuz oben klickbar bleiben. */
  .nav{
    position:fixed;
    inset:0;
    top:0;
    left:0;
    right:0;
    bottom:0;
    z-index:45;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    gap:0;
    margin:0;
    padding:96px 16px 32px;
    background:var(--glass-bg);
    backdrop-filter:blur(24px) saturate(140%);
    -webkit-backdrop-filter:blur(24px) saturate(140%);
    border:0;
    border-radius:0;
    box-shadow:0 18px 40px rgba(0,0,0,.16);
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
    opacity:0;
    visibility:hidden;
    transform:translateY(-10px);
    pointer-events:none;
    transition:opacity .28s ease, transform .28s cubic-bezier(.22,.61,.36,1), visibility .28s;
  }
  .nav.is-open{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
    pointer-events:auto;
  }
  .nav a{padding:12px 4px;font-size:.86rem;text-align:center;color:var(--muted)}
  /* Unterstrich nur unter dem Wort: Links schrumpfen auf Textbreite,
     dann liegt ::after (left:0;right:0) exakt unter dem Wort. */
  .nav{align-items:center}
  .nav-item{width:100%}
  .nav-sub{width:100%;align-items:stretch}
  /* Keine Trennlinien im Vollbild-Menue */
  .nav a + a,
  .nav > a + .nav-item,
  .nav > .nav-item + a{border-top:0}
  .nav .nav-sub a + a{border-top:0}
  /* Ausfahrbalken mobil: Chevron rechts, Unterpunkte eingerÃ¼ckt mit Punktereihe */
  .nav-item{position:static;padding-bottom:0;margin-bottom:0;display:block}
  .nav-parent{position:relative;display:flex;align-items:center;justify-content:center;width:100%}
  /* Kein Chevron mehr: der Elternpunkt ist auf Touch der Schalter.
     Damit braucht der Link keinen Platz fuer eine zweite Schaltflaeche. */
  .nav-item.is-open > .nav-parent > a{color:var(--ink);font-weight:700}
  /* WICHTIG: Das Untermenue muss zurueck in den normalen Fluss (position:static).
     Ohne das erbt es position:absolute; top:100% aus der Desktop-Regel. Der
     Bezugskasten waere dann das position:fixed .nav (inset:0) und top:100%
     legt es unterhalb des Bildschirms ab - es schiene dann "ganz unten". */
  .nav-sub{
    position:static;
    top:auto;
    left:auto;
    display:flex;
    flex-direction:column;
    min-width:0;
    max-height:0;
    opacity:0;
    overflow:hidden;
    margin-left:14px;
    padding:0;
    background:transparent;
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
    border:0;
    border-radius:0;
    box-shadow:none;
    pointer-events:none;
    transform:none;
    transition:max-height .34s cubic-bezier(.22,.61,.36,1), opacity .22s ease;
  }
  .nav-item.is-open .nav-sub{
    max-height:460px;
    opacity:1;
    pointer-events:auto;
    padding:4px 0 6px;
  }
  /* Auch mit Maus soll das Untermenue beim Ueberfahren aufgehen. Im
     eingeklappten Zustand reicht opacity/visibility nicht - es braucht
     zusaetzlich max-height, sonst bleibt die Hoehe bei 0. */
  .nav-item:hover .nav-sub{
    max-height:460px;
    opacity:1;
    pointer-events:auto;
    padding:4px 0 6px;
  }
  .nav a + a{border-top:0}
  .nav .nav-sub a + a{border-top:0}
  .nav .nav-sub-link{
    position:relative;
    text-align:left;
    padding:10px 10px 10px 20px;
    font-size:.82rem;
    color:var(--muted);
    border:0;
    border-radius:10px;
    background:transparent;
  }
  .nav .nav-sub-link::before{
    content:"";
    position:absolute;
    left:5px;
    top:50%;
    width:6px;
    height:6px;
    margin-top:-3px;
    border-radius:50%;
    background:var(--accent);
    opacity:.45;
    transition:opacity .18s ease,transform .18s ease;
  }
  .nav .nav-sub-link--lead::before{opacity:1;transform:scale(1.15)}
  .nav .nav-sub-link.is-active::before,
  .nav .nav-sub-link[aria-current="page"]::before{opacity:1;background:var(--ink)}
  .nav .nav-sub-link.is-active,
  .nav .nav-sub-link[aria-current="page"]{color:var(--ink);font-weight:700;background:var(--accent-soft)}
  .nav .nav-sub-link--lead{margin-bottom:0;padding-bottom:10px;border-bottom:0}
  /* Mobile: Buttons kompakter */
  .actions-row{margin-top:12px;gap:7px}
  .btn,
  a.btn{min-height:34px;padding:6px 13px;font-size:.78rem;border-radius:999px}
  .back-nav .btn{min-height:34px;padding:6px 13px;font-size:.78rem}
  .schedule-cal-actions .btn{min-height:34px;padding:6px 13px;font-size:.78rem}
  .page-home .nav a{color:var(--muted)}
  main.container{padding:28px 0 40px}
  .card{padding:18px;border-radius:16px}
  .grid-3,.grid-2,.team-grid{grid-template-columns:1fr}
  /* Aktuelles-Karussell: 1 Karte pro Ansicht */
  body .news-list .news-item{flex:0 0 100%}
  body .news-carousel{margin-top:18px}
  body .news-thumb{aspect-ratio:16/10}
  body .news-item-text{padding:18px 20px 20px;gap:6px}
  body .news-item strong{font-size:1.16rem}
  body .news-item:not(.is-thumb) .news-item-text{padding:22px 20px}
  body .news-item:hover{transform:translateY(-2px)}
  .team-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
  .team-gallery .card-item{height:140px}
  .team-photo{width:110px;height:141px}
  .schedule-table{display:block;width:100%}
  .schedule-table thead{display:none}
  .schedule-table tbody{display:block;width:100%}
  /* Mobile: eine Linie pro Lektion â€“ Zeit links, Kurs und Kursleitung rechts.
     Umbruch nur wenn es wirklich nicht passt, nie abschneiden. */
  .schedule-table tr{
    display:flex;
    flex-wrap:wrap;
    align-items:baseline;
    gap:2px 10px;
    padding:10px 0;
    border-bottom:1px solid var(--line);
  }
  .schedule-table tr:last-child{border-bottom:none}
  .schedule-table td{
    padding:0;
    border-bottom:none;
    font-size:.86rem;
    line-height:1.4;
    white-space:normal;
    overflow:visible;
    text-overflow:clip;
    overflow-wrap:anywhere;
  }
  .schedule-table td.schedule-time{
    flex:0 0 auto;
    white-space:nowrap;
    font-weight:700;
    font-size:.92rem;
    color:var(--ink);
  }
  .schedule-table td.schedule-course{flex:1 1 auto;min-width:0;font-weight:600;color:var(--ink)}
  .schedule-table td:last-child{flex:0 1 auto;font-size:.8rem;color:var(--muted)}
  .schedule-table td:empty{display:none}
  .schedule-table tr > td:only-child{font-size:.86rem;color:var(--muted)}
  .page-stundenplan .schedule-table th,
  .page-stundenplan .schedule-table td{border-bottom:none}
  /* Mobile: Symbole gut sichtbar in einer Zeile UNTER der Kurszeit */
  .schedule-table td.schedule-time{overflow:visible}
  .schedule-flags{
    display:flex;
    flex-wrap:wrap;
    gap:4px;
    margin-left:0;
    margin-top:5px;
    vertical-align:baseline;
  }
  .schedule-flag{width:32px;height:32px}
  .schedule-flag-icon{width:19px;height:19px}
  .schedule-table td:nth-child(1){flex:0 0 auto;min-width:0}
  .schedule-table td:nth-child(2){flex:1 1 0;min-width:0}
  .schedule-table td:nth-child(3){flex:0 0 auto;min-width:0;text-align:right}
  .price-table th,.price-table td{padding:9px 8px;font-size:.84rem;line-height:1.35}
  .quick-link{min-height:0}
  .footer{font-size:.82rem;line-height:1.45;overflow-wrap:anywhere;padding:20px 10px 26px}
  .quick-links-grid{grid-template-columns:1fr}
  .home-hero-bg{min-height:380px;padding:22px 0 50px}
  .home-hero-bg .home-hero-copy{padding-bottom:8px}
  .home-hero-controls{bottom:8px;gap:8px}
  .home-hero-bg .hero-kicker,
  .home-hero-bg .hero-title,
  .home-hero-bg .hero-actions{max-width:100%}
  .page-home .home-hero-bg .hero-actions{margin-top:80px;display:flex;flex-wrap:nowrap;gap:8px;width:100%}
  .page-home .home-hero-bg .hero-actions .btn,
  .page-home .home-hero-bg .hero-actions a.btn{flex:1 1 0;min-height:52px;padding:12px 14px;font-size:.94rem}
  .page-home main{margin-top:-82px}
  .page-home .home-hero{padding-top:140px}
}

@media (max-width:480px){
  .container{width:95%}
  .logo-wide{height:44px}
  .nav a{font-size:.76rem;padding:9px 8px}
  .nav .nav-sub-link{font-size:.79rem;padding:9px 8px 9px 18px}
  .btn,
  a.btn{width:100%;min-height:34px;padding:6px 13px;font-size:.78rem}
  .hero-actions{width:100%}
  .page-home .home-hero-bg .hero-actions .btn,
  .page-home .home-hero-bg .hero-actions a.btn{width:auto;min-height:52px;padding:11px 14px;font-size:.9rem}
  .home-hero-bg{min-height:340px;padding:18px 0 44px}
  .home-hero-bg .home-hero-copy{padding-bottom:6px}
  .home-hero-dot{width:7px;height:7px}
  .page-home .home-hero{padding-top:116px}
}

/* Kalender-Export (Stundenplan) */
  .schedule-cal-actions{margin:10px 0 18px}
  /* Workshop-Bundles im Admin */
  .admin-bundle{border:1px solid #e2e8f0;border-left:3px solid var(--accent);border-radius:12px;padding:12px 14px;margin:0 0 12px;background:#fcfdff}
  .admin-bundle-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:10px}
  .admin-bundle-head strong{font-size:.92rem;color:var(--ink)}
  .admin-bundle-head .actions-row{margin:0}

  /* Umschalter Kurse / Workshops im Stundenplan: zwei KnÃ¶pfe Ã¼ber die ganze
     Breite, links Kurse und rechts Workshops. Der gewÃ¤hlte ist deutlich
     hervorgehoben. */
  .schedule-scope-switch{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 18px}
  .schedule-scope-btn{
    appearance:none;width:100%;min-height:44px;padding:10px 14px;cursor:pointer;
    font-family:inherit;font-size:.95rem;font-weight:600;line-height:1.3;
    color:var(--ink);background:#fff;border:1px solid #cbd5e1;border-radius:12px;
    transition:background .15s ease,border-color .15s ease,color .15s ease
  }
  .schedule-scope-btn:hover{border-color:var(--accent);background:var(--accent-soft)}
  .schedule-scope-btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
  .schedule-scope-btn.is-active{
    background:var(--accent);border-color:var(--accent);color:#fff;font-weight:700;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.25)
  }
  .schedule-scope-btn.is-active:hover{background:var(--accent);color:#fff}
.cal-modal-overlay{
  position:fixed;
  inset:0;
  z-index:900;
  background:rgba(10,12,16,.45);
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding:4vh 16px 16px;
  overflow-y:auto;
}
.cal-modal{
  width:min(560px,100%);
  background:#fff;
  border-radius:16px;
  box-shadow:0 18px 50px rgba(0,0,0,.28);
  padding:20px 22px;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.cal-modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.cal-modal-head h3{margin:0}
.cal-modal-close{
  border:0;background:none;cursor:pointer;
  font-size:1.5rem;line-height:1;color:var(--muted);
  padding:4px 8px;border-radius:8px;
}
.cal-modal-close:hover{color:var(--ink);background:rgba(0,0,0,.05)}
.cal-modal-intro{margin:0;font-size:.85rem}
.cal-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}
.cal-select-all{display:inline-flex;align-items:center;gap:8px;font-size:.9rem;font-weight:600;color:var(--ink);cursor:pointer}
/* Gleiche Sorgfalt wie bei den Kurs-Checkboxen: keine generischen 48px. */
.cal-select-all input{
  width:16px;
  height:16px;
  min-height:0;
  padding:0;
  flex:none;
  accent-color:var(--accent-strong);
}
.cal-count{white-space:nowrap}
.cal-list{
  border:1px solid var(--line);
  border-radius:12px;
  max-height:46vh;
  overflow-y:auto;
  padding:6px 10px 10px;
}
.cal-day-group{margin-top:10px}
.cal-day-group:first-child{margin-top:4px}
.cal-day-group h4{
  margin:0 0 4px;
  font-size:.82rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted);
}
.cal-row{
  display:flex;
  align-items:flex-start;
  gap:8px;
  padding:6px 8px;
  border-radius:8px;
  font-size:.9rem;
  color:var(--ink);
  cursor:pointer;
}
.cal-row:hover{background:var(--surface-soft)}
/* min-height:0 und padding:0 sind noetig: die generische Mobile-Regel
   "input,textarea,select{min-height:48px;padding:13px 16px}" trifft auch
   Checkboxen, und min-height schlaegt height -> sonst 48px hohe Quadrate. */
.cal-row input{
  width:16px;
  height:16px;
  min-height:0;
  padding:0;
  margin-top:2px;
  flex:none;
  accent-color:var(--accent-strong);
}
.cal-row span{flex:1;min-width:0}
.cal-modal-foot{display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.cal-modal-foot .btn{
  -webkit-tap-highlight-color:transparent;
  -webkit-touch-callout:none;
}
.cal-modal-foot .btn:disabled,
.cal-modal-foot .btn:disabled:hover,
.cal-modal-foot .btn:disabled:active,
.cal-modal-foot .btn:disabled:focus{
  opacity:.45;
  cursor:not-allowed;
  transform:none;
  color:var(--ink);
  background:rgba(255,255,255,.22);
  border:1px solid rgba(255,255,255,.25);
  box-shadow:none;
}
.cal-modal-foot .btn.cal-btn-active{
  background:var(--accent-strong);
  border-color:var(--accent-strong);
  color:#fff;
  box-shadow:
    0 0 0 4px rgba(130,121,115,.22),
    0 6px 22px rgba(130,121,115,.5);
}
.cal-modal-foot .btn.cal-btn-active:hover{color:#fff}
.cal-note{margin:0}
body.cal-modal-open{overflow:hidden}

/* â”€â”€ Kalender kompakter: "Zum Kalender hinzufÃ¼gen" und der Auswahl-Dialog â”€â”€
   Steht bewusst am Dateiende: die allgemeinen .btn- und Mobile-Regeln stehen
   weiter oben und werden hiermit bewusst ueberschrieben. */
.schedule-cal-actions .btn{min-height:38px;padding:8px 16px;font-size:.84rem}
.cal-modal-foot .btn{min-height:38px;padding:8px 16px;font-size:.84rem}
.cal-modal-head h3{font-size:1rem}
.cal-modal-close{width:34px;height:34px}
.cal-modal-intro{font-size:.8rem}
.cal-select-all{font-size:.84rem}
.cal-toolbar{gap:8px}
@media (max-width:760px){
  /* "body" davor = hoehere Spezifitaet als die allgemeinen Regeln weiter oben,
     damit die Reihenfolge im Stylesheet nicht mehr ueber die Groesse entscheidet. */
  body .schedule-cal-actions .btn{min-height:34px;padding:6px 13px;font-size:.78rem}
  body .cal-modal-foot .btn{min-height:34px;padding:6px 13px;font-size:.78rem}
  body .cal-modal-head h3{font-size:.92rem}
  body .cal-modal-intro{font-size:.76rem}
}

/* â”€â”€ Ausschreibung: selbststÃ¤ndige Instruktor:innen (ausschreibung) â”€â”€ */
.ausschreibung-eyebrow{
  font-size:.76rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  font-weight:700;
  color:var(--accent-strong);
  margin:0 0 10px;
}
.ausschreibung-headline{
  font-size:clamp(1.65rem,5vw,2.75rem);
  line-height:1.12;
  letter-spacing:-.015em;
  margin:0 0 20px;
  max-width:22ch;
}
.ausschreibung-lead{
  font-size:1.04rem;
  line-height:1.72;
  color:var(--ink);
  max-width:64ch;
  margin:0 0 14px;
}
.ausschreibung-note{
  font-size:.95rem;
  line-height:1.7;
  color:var(--muted);
  max-width:64ch;
  margin:0;
}
.ausschreibung-band{
  margin:34px 0 6px;
  padding:22px 26px;
  border-left:3px solid var(--accent-strong);
  background:var(--accent-soft);
  border-radius:0 14px 14px 0;
}
.ausschreibung-band strong{
  display:block;
  font-size:1.02rem;
  font-weight:700;
  margin-bottom:8px;
  color:var(--ink);
}
.ausschreibung-band p{
  margin:0;
  font-size:.95rem;
  line-height:1.7;
  color:var(--ink);
  max-width:62ch;
}
/* Bewusst eine ganz normale Aufzaehlung: die Kacheln mit Rahmen und
   Hintergrund sahen aus wie Buttons und machten die Seite unruhig. */
.ausschreibung-list{
  margin:14px 0 0;
  padding-left:24px;
  max-width:66ch;
  display:grid;
  gap:9px;
}
.ausschreibung-list li{
  padding-left:4px;
  font-size:.97rem;
  line-height:1.65;
  color:var(--ink);
}
.ausschreibung-list li::marker{color:var(--accent-strong)}
.ausschreibung-cta{
  margin-top:36px;
  padding:28px 26px;
  border-radius:18px;
  background:var(--glass-bg);
  border:1px solid var(--glass-border);
  backdrop-filter:blur(16px) saturate(1.8);
  -webkit-backdrop-filter:blur(16px) saturate(1.8);
}
.ausschreibung-cta h3{margin:0 0 10px}
.ausschreibung-cta p{
  margin:0 0 18px;
  font-size:.97rem;
  line-height:1.7;
  color:var(--muted);
  max-width:58ch;
}
@media (max-width:760px){
  body .ausschreibung-headline{max-width:none}
  body .ausschreibung-band{padding:18px 20px;margin-top:28px}
  body .ausschreibung-cta{padding:22px 20px}
  body .ausschreibung-lead{font-size:1rem}
}

/* ══ Angebots-Seiten (ernaehrung, retreat) ══
   Bewusst ruhig und flach: die Inhalte sind Infos, keine Kacheln zum Anklicken.
   Kein Glas, kein Schatten, kein Hover – nur Typografie, Weissraum und eine
   dünne Trennlinie. Klickbar ausschliesslich, was wirklich ein Link oder ein
   Button ist. Optik des Anmeldeformulars kommt von .anmeldung-form. */
.ang-eyebrow{
  font-size:.76rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  font-weight:700;
  color:var(--accent-strong);
  margin:0 0 10px;
}
.ang-headline{
  font-size:clamp(1.65rem,4.6vw,2.7rem);
  line-height:1.12;
  letter-spacing:-.02em;
  margin:0 0 18px;
  max-width:24ch;
}
.ang-lead{
  font-size:1.04rem;
  line-height:1.72;
  color:var(--ink);
  max-width:62ch;
  margin:0 0 14px;
}
.ang-text{
  font-size:.97rem;
  line-height:1.7;
  color:var(--ink);
  max-width:66ch;
  margin:0 0 12px;
}
/* Abschnittstrenner statt Kachel */
.ang-section{margin-top:44px;padding-top:26px;border-top:1px solid var(--line)}
.ang-section:first-child{border-top:0;padding-top:0}

/* Hero: Text links, Bild rechts – wie der Hero der Startseite, nur ohne Slider */
.ang-hero{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:32px;
  align-items:center;
}
/* Bilder werden nie beschnitten: kein object-fit, kein erzwungenes
   Seitenverhaeltnis. Das Bild behaelt sein Originalformat und wird nur in
   der Breite skaliert – so ist auf Desktop wie auf Mobile garantiert das
   ganze Bild sichtbar.
   margin:0 ist wichtig: <figure> hat im Browser von Haus aus 40px
   Seitenabstand, der Rahmen stuende dann nicht buendig im Raster und
   sprengte beim Zusammenrechnen die Spaltenbreite. */
.ang-hero-media,
.ang-split-media{
  margin:0;
  border-radius:18px;
  overflow:hidden;
  background:var(--surface-soft);
  line-height:0;
}
.ang-hero-media img,
.ang-split-media img{
  display:block;
  width:100%;
  max-width:100%;
  height:auto;
}

/* Eckdaten: Trennlinie oben, Label klein darueber. Rein informativ. */
.ang-facts{
  margin-top:30px;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:20px;
}
.ang-facts.is-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.ang-fact{padding-top:12px;border-top:1px solid var(--line)}
.ang-fact span{
  display:block;
  font-size:.72rem;
  letter-spacing:.13em;
  text-transform:uppercase;
  font-weight:700;
  color:var(--accent-strong);
  margin-bottom:5px;
}
.ang-fact strong{display:block;font-size:1.02rem;font-weight:700;line-height:1.35;color:var(--ink)}
.ang-fact small{display:block;margin-top:3px;font-size:.86rem;color:var(--muted)}

/* Zwei Spalten Text + Bild */
.ang-split{
  margin-top:28px;
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:32px;
  align-items:start;
}

/* Leistungen als Textspalten mit Trennlinie – keine Karten */
.ang-cards{margin-top:24px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 32px}
.ang-cards.is-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.ang-cards > *{padding-top:12px;border-top:1px solid var(--line)}
.ang-cards h3{margin:0 0 7px}
.ang-cards p{margin:0;font-size:.95rem;line-height:1.68;color:var(--ink)}
.ang-cards .ang-price{margin-top:8px;font-weight:700}

/* Aufzaehlung wie auf der Ausschreibung-Seite */
.ang-list{
  margin:14px 0 0;
  padding-left:24px;
  max-width:66ch;
  display:grid;
  gap:9px;
}
.ang-list li{padding-left:4px;font-size:.97rem;line-height:1.65;color:var(--ink)}
.ang-list li::marker{color:var(--accent-strong)}

/* Hinweis-Band */
.ang-band{
  margin:30px 0 0;
  padding:20px 24px;
  border-left:3px solid var(--accent-strong);
  background:var(--accent-soft);
  border-radius:0 14px 14px 0;
}
.ang-band strong{display:block;font-size:1.02rem;font-weight:700;margin-bottom:8px;color:var(--ink)}
.ang-band p{margin:0;font-size:.95rem;line-height:1.7;color:var(--ink);max-width:62ch}

/* Zitat */
.ang-quote{
  margin:28px 0 0;
  padding:4px 0 4px 22px;
  border-left:2px solid var(--accent-strong);
  font-size:1.05rem;
  line-height:1.65;
  color:var(--ink);
  max-width:58ch;
}
.ang-quote cite{display:block;margin-top:8px;font-size:.88rem;font-style:normal;color:var(--muted)}

/* Anmeldung: ruhiger Einstieg, das Formular bringt seine Optik mit. */
.ang-anmelden{margin-top:0}
.ang-anmelden .ang-headline{margin-bottom:14px}
.ang-kontakt{margin-top:20px;font-size:.97rem;line-height:1.75;color:var(--ink)}
.ang-kontakt p{margin:0 0 6px}

@media (max-width:1024px){
  .ang-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ang-hero{grid-template-columns:1fr;gap:22px}
  .ang-cards.is-three{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:760px){
  body .ang-headline{max-width:none}
  .ang-facts,
  .ang-facts.is-three{grid-template-columns:1fr;gap:16px}
  .ang-split{grid-template-columns:1fr;gap:20px}
  .ang-cards,
  .ang-cards.is-three{grid-template-columns:1fr;gap:22px}
  .ang-section{margin-top:34px;padding-top:22px}
  body .ang-band{padding:18px 20px}
  body .ang-quote{padding-left:16px}
}
