/* Coach Salvi, Fassung «ui-ux-pro-max»: Vibrant & Block-based in Salbei.
   Farben aus Sandros Auftritt (Kopfleiste #AAC5B8, Flächen #789181), Fotos schwarzweiss.
   Titel Barlow Condensed, Text Roboto (Sandros Schrift). Keine Scroll-Animation. */

@font-face { font-family: "Roboto"; src: url("fonts/roboto-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; 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; }
@font-face { font-family: "Roboto"; src: url("fonts/roboto-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap; 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-latin-600.woff2") format("woff2"); font-weight: 600; font-display: swap; 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; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-latin-ext-600.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-latin-700.woff2") format("woff2"); font-weight: 700; font-display: swap; 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; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-latin-ext-700.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --hell: #AAC5B8;      /* Sandros Kopfleiste */
  --salbei: #789181;    /* Sandros Flächen */
  --salbei-tief: #5F7768;
  --grund: #E3EBE6;     /* Fugen zwischen den Blöcken */
  --weiss: #FFFFFF;
  --tinte: #14201A;     /* Schrift, dunkle Blöcke */
  --tinte-2: #3E4D44;   /* Nebentext auf Weiss und Hell */
  --fehler: #9B1C1C;

  --titel: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --text: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fuge: 8px;
  --innen: clamp(20px, 3.2vw, 48px);
  --breite: 1440px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--grund);
  color: var(--tinte);
  font: 400 17px/1.55 var(--text);
  overflow-wrap: break-word;
  hyphens: manual;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--titel); font-weight: 700; line-height: .95; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; max-width: 68ch; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.blk--tinte :focus-visible, .fuss :focus-visible { outline-color: var(--hell); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--tinte); color: #fff; padding: 12px 16px; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Entwurfsbalken ---------- */
.entwurf { background: var(--tinte); color: #E9F0EC; font-size: 14px; line-height: 1.4; text-align: center; padding: 7px 16px; }

/* ---------- Kopf ---------- */
.kopf { position: sticky; top: 0; z-index: 20; background: var(--hell); border-bottom: 1px solid rgba(20, 32, 26, .12); }
/* Kopf verschwindet beim Runterscrollen, erscheint beim Hochscrollen (Marco 25.11.2026) */
.kopf { transition: transform .3s ease; }
.kopf.kopf-weg { transform: translateY(-100%); }
@media (prefers-reduced-motion: reduce) { .kopf { transition: none; } }
.kopf__innen { max-width: var(--breite); margin: 0 auto; display: flex; align-items: center; gap: 24px; padding: 0 var(--innen); min-height: 68px; }
.marke { font: 700 30px/1 var(--titel); text-transform: uppercase; letter-spacing: .01em; text-decoration: none; padding: 8px 0; min-height: 44px; display: inline-flex; align-items: center; }
.kopf__nav { margin-left: auto; }
.kopf__nav ul, .menue ul, .fuss ul { list-style: none; margin: 0; padding: 0; }
.kopf__nav ul { display: flex; gap: 4px; }
.kopf__nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; font-weight: 500; font-size: 16px; text-decoration: none; position: relative; transition: background-color .2s; }
.kopf__nav a:hover { background: rgba(255, 255, 255, .35); }
.kopf__nav a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; background: var(--tinte); }
.kopf__social { display: flex; gap: 2px; }
.ikon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; transition: background-color .2s; }
.ikon:hover { background: rgba(255, 255, 255, .35); }
.burger { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: transparent; color: var(--tinte); cursor: pointer; align-items: center; justify-content: center; }

.menue { position: fixed; inset: 0; z-index: 40; background: var(--hell); padding: 16px var(--innen) 32px; display: flex; flex-direction: column; overflow-y: auto; }
.menue[hidden] { display: none; }
.menue__oben { display: flex; align-items: center; justify-content: space-between; min-height: 52px; }
.menue__zu { width: 48px; height: 48px; border: 0; background: transparent; color: var(--tinte); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.menue nav { margin-top: 28px; }
.menue li + li { border-top: 1px solid rgba(20, 32, 26, .18); }
.menue nav a { display: flex; align-items: center; min-height: 64px; font: 700 34px/1.05 var(--titel); text-transform: uppercase; text-decoration: none; padding: 8px 0; }
.menue nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 6px; }
.menue__social { display: flex; gap: 8px; margin-top: auto; padding-top: 32px; }

@media (max-width: 959px) {
  .kopf__nav, .kopf__social { display: none; }
  .burger { display: inline-flex; }
  .kopf__innen { min-height: 60px; }
  .marke { font-size: 27px; }
}

/* ---------- Blöcke ---------- */
main { max-width: var(--breite); margin: 0 auto; padding: var(--fuge); display: grid; gap: var(--fuge); }
.mosaik { display: grid; gap: var(--fuge); grid-template-columns: 1fr; }
.blk { position: relative; padding: var(--innen); min-width: 0; }
.blk--hell { background: var(--hell); }
.blk--salbei { background: var(--salbei); }
.blk--weiss { background: var(--weiss); }
.blk--tinte { background: var(--tinte); color: #F1F5F2; }
.blk--bild { padding: 0; background: var(--salbei); overflow: hidden; margin: 0; position: relative; aspect-ratio: 4 / 3; }
.blk--bild img, .wo-blk__bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .blk--bild { aspect-ratio: auto; min-height: 320px; } }
.sw { filter: grayscale(1); }

@media (min-width: 900px) {
  .mosaik { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .s3 { grid-column: span 3; } .s4 { grid-column: span 4; } .s5 { grid-column: span 5; } .s6 { grid-column: span 6; }
  .s7 { grid-column: span 7; } .s8 { grid-column: span 8; } .s12 { grid-column: span 12; }
  .r2 { grid-row: span 2; }
}

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 28px;
  font: 700 21px/1 var(--titel); text-transform: uppercase; letter-spacing: .03em; text-decoration: none;
  border: 2px solid var(--tinte); background: var(--tinte); color: #fff; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.knopf:hover { background: transparent; color: var(--tinte); }
.knopf--hell { background: var(--hell); border-color: var(--hell); color: var(--tinte); }
.knopf--hell:hover { background: transparent; color: var(--hell); }

/* ---------- Startseite ---------- */
.held__text { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; container-type: inline-size; }
.held__gruss { font: 600 clamp(22px, 2.2vw, 30px)/1.1 var(--titel); margin: 0; }
.held h1 { font-size: min(27cqi, 170px); line-height: .84; text-transform: uppercase; letter-spacing: -.005em; }
.held__bild { aspect-ratio: 5 / 4; }
.held__bild img { object-position: 50% 58%; }
@media (min-width: 900px) {
  .held { min-height: min(76vh, 700px); }
  .held__bild { aspect-ratio: auto; }
  .held__text { padding-top: 40px; padding-bottom: 40px; }
}

.kurs { display: flex; flex-direction: column; gap: 10px; min-height: 230px; transition: background-color .2s; }
.kurs h2 { font-size: clamp(46px, 5.4vw, 80px); text-transform: uppercase; }
.kurs h2 a { text-decoration: none; }
.kurs h2 a::after { content: ""; position: absolute; inset: 0; }
.kurs__name { font-weight: 500; font-size: 19px; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; margin: 0; }
.kurs__zeit { margin: auto 0 0; font-size: 17px; }
.kurs__satz { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.4; margin: 14px 0 0; max-width: 36ch; }
.kurs__satz + .kurs__zeit { margin-top: auto; padding-top: 20px; }
.kurs.blk--salbei:hover { background: var(--salbei-tief); }
.kurs.blk--salbei:hover, .kurs.blk--salbei:hover a { color: #fff; }
.kurs.blk--tinte:hover { background: #22342A; }
.kurs.blk--weiss:hover { background: #F2F6F3; }
.kurs.blk--tinte .kurs__name { color: var(--hell); }
.kurs:focus-within { outline: 3px solid var(--tinte); outline-offset: -6px; }
.kurs.blk--tinte:focus-within { outline-color: var(--hell); }
.kurs :focus-visible { outline: none; }

.wo-blk { display: grid; grid-template-columns: 1fr 1fr; padding: 0; }
.wo-blk__text { padding: var(--innen); display: flex; flex-direction: column; gap: 10px; }
.wo-blk__bild { margin: 0; min-height: 260px; position: relative; }
.wo-blk__bild img { object-position: 50% 40%; }
.wo-blk.blk--hell:hover { background: #9DBBAD; }

.stimme { margin: 0; display: flex; flex-direction: column; gap: 20px; }
.stimme blockquote { margin: 0; }
.stimme blockquote p { max-width: 64ch; }
.stimme--gross blockquote p { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; }
.stimme figcaption { font: 600 23px/1.1 var(--titel); text-transform: uppercase; letter-spacing: .02em; margin-top: auto; }
.stimmen__bild img { object-position: 50% 50%; }

/* ---------- Unterseiten ---------- */
.seitenkopf { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.seitenkopf h1 { font-size: clamp(64px, 11vw, 168px); line-height: .82; text-transform: uppercase; }
.sprung { display: flex; flex-wrap: wrap; gap: 8px; }
.sprung a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 2px solid var(--tinte); font-weight: 500; text-decoration: none; transition: background-color .2s, color .2s; }
.sprung a:hover { background: var(--tinte); color: #fff; }

.kurs-text h2 { font-size: clamp(56px, 7vw, 104px); text-transform: uppercase; }
.kurs-text h3 { font: 600 clamp(24px, 2.2vw, 32px)/1.1 var(--titel); margin: 10px 0 24px; }
.kurs-text .fakten { border: 2px solid currentColor; padding: 16px 20px; font-size: 18px; max-width: 46ch; }
.kurs-text .fakten strong { font-family: var(--titel); font-weight: 700; font-size: 22px; letter-spacing: .02em; }
.schnupper strong { display: block; font: 700 28px/1.1 var(--titel); text-transform: uppercase; margin-bottom: 4px; }
.kurs-text .knopf { margin-top: 12px; }
.kurs-bild--hoch { aspect-ratio: 3 / 4; }
@media (min-width: 900px) { .kurs-bild--hoch { aspect-ratio: auto; } }
[id] { scroll-margin-top: 84px; }

.wo-text h2 { font-size: clamp(56px, 7vw, 104px); text-transform: uppercase; margin-bottom: 24px; }
.wo-text .adresse { font: 600 clamp(28px, 3vw, 40px)/1.1 var(--titel); }

.ich h1 { font-size: clamp(56px, 7vw, 112px); text-transform: uppercase; margin-bottom: 28px; }
.ich__hey { font: 700 clamp(34px, 3.4vw, 48px)/1.05 var(--titel); }
.ich__gross { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.45; }
.ich__bild { aspect-ratio: 4 / 5; max-height: 72vh; width: 100%; }
.ich__bild img { object-position: 50% 30%; }
@media (min-width: 900px) { .ich__bild { aspect-ratio: auto; max-height: none; } }
.gruss { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.gruss p { font: 700 clamp(34px, 3.6vw, 52px)/1 var(--titel); margin: 0; }

.kontakt h1 { font-size: clamp(48px, 5.6vw, 84px); text-transform: uppercase; margin-bottom: 28px; }
.kontakt ul { margin: 0 0 1em; padding-left: 1.2em; }
.wege { list-style: none; padding: 0 !important; margin: 28px 0 0 !important; border-top: 2px solid var(--tinte); }
.wege li { border-bottom: 2px solid var(--tinte); }
.wege a { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 6px 0; text-decoration: none; font: 600 26px/1.1 var(--titel); text-transform: uppercase; transition: padding-left .2s; }
.wege a:hover { padding-left: 8px; }
.wege svg { flex: none; }

.formular { display: grid; gap: 20px; }
.formular h2 { font-size: clamp(40px, 4vw, 60px); text-transform: uppercase; }
.feld { display: grid; gap: 6px; }
.feld label { font-weight: 500; }
.feld input[type="text"], .feld input[type="email"], .feld input[type="tel"], .feld textarea {
  width: 100%; font: 400 17px/1.4 var(--text); color: var(--tinte); background: #fff;
  border: 2px solid var(--tinte-2); border-radius: 0; padding: 12px 14px; min-height: 52px;
}
.feld textarea { resize: vertical; min-height: 150px; }
.feld input:focus-visible, .feld textarea:focus-visible { outline: 3px solid var(--salbei); outline-offset: 0; border-color: var(--tinte); }
.feld [aria-invalid="true"] { border-color: var(--fehler); }
.feld--check { grid-template-columns: 28px 1fr; align-items: start; gap: 12px; }
.feld--check input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--tinte); }
.feld--check label { font-weight: 400; font-size: 16px; color: var(--tinte-2); }
.feld--check .fehler { grid-column: 2; }
.fehler { color: var(--fehler); font-weight: 500; font-size: 16px; margin: 0; }
.formular__ende { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.formular__hinweis { font-size: 16px; color: var(--tinte-2); margin: 0; }
@media (min-width: 640px) { .formular__zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (max-width: 639px) { .formular__zwei { display: grid; gap: 20px; } }

.recht-kopf { container-type: inline-size; }
.recht-kopf h1 { font-size: min(var(--gr, 20cqi), 132px); line-height: .9; text-transform: uppercase; }
@media (min-width: 900px) { .recht { columns: 2; column-gap: 64px; } .recht h2 { break-after: avoid; } .recht p { break-inside: avoid; } }
.recht h2 { font: 700 28px/1.1 var(--titel); text-transform: uppercase; margin: 32px 0 10px; }
.recht h2:first-child { margin-top: 0; }

/* ---------- Fuss ---------- */
.fuss { background: var(--salbei); color: var(--tinte); margin-top: var(--fuge); }
.fuss__innen { max-width: var(--breite); margin: 0 auto; padding: 48px var(--innen) 28px; }
.fuss__raster { display: grid; gap: 28px; }
.fuss__marke { font: 700 34px/1 var(--titel); text-transform: uppercase; margin: 0 0 8px; }
.fuss ul a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.fuss ul a:hover { text-decoration: underline; }
.fuss__made { border-top: 1px solid rgba(20, 32, 26, .35); margin: 36px 0 0; padding-top: 16px; font-size: 14px; max-width: none; }
.fuss__made a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.fuss__made a:hover { text-decoration: underline; }
@media (min-width: 900px) { .fuss__raster { grid-template-columns: 5fr 4fr 3fr; } }

@media (max-width: 899px) {
  :root { --fuge: 6px; }
  .wo-blk { grid-template-columns: 1fr; }
  .wo-blk__bild { aspect-ratio: 4 / 3; min-height: 0; }
  .kurs { min-height: 0; padding-top: 28px; padding-bottom: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Inline-Links im Fliesstext: Klickfläche 44 px ohne Zeilensprung */
.kontakt p a, .recht a, .feld--check a { display: inline-block; padding: 12px 0; margin: -12px 0; }

/* Kontaktformular per Mail (17.11.2026) */
.falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formular__meldung { margin: 16px 0 0; padding: 14px 16px; font-size: 16px; line-height: 1.5; border-left: 4px solid currentColor; }
.formular__meldung.gut { color: var(--tinte, #14201A); background: #E3EBE6; }
.formular__meldung.schlecht { color: var(--fehler); background: #FBEDEC; }
.knopf:disabled { opacity: .6; cursor: progress; }
