/* Yoga im Aegerital – gemeinsames Stylesheet für alle Seiten */

@font-face {
  font-family: "Spinnaker";
  src: url("../fonts/spinnaker.woff2") format("woff2"), url("../fonts/spinnaker.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --weinrot: #74262c;
  --weinrot-dunkel: #381316;
  --dunkel: #361215;
  --rosa: #d58f95;
  --rosa-linie: #9c6368;
  --rosa-hell: #f1dbd3;
  --lachs: #e0a390;
  --creme: #fff8e0;
  --oliv: #bdba92;
  --oliv-hell: #dfdec7;
  --grau: #413a38;
  --breite: 980px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--creme);
  color: var(--weinrot);
  font: 16px/normal "Spinnaker", sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, blockquote { margin: 0; padding: 0; font-weight: 400; }
a { color: inherit; text-decoration: none; }
img { display: block; }
strong { font-weight: 700; }

.innen { width: var(--breite); margin: 0 auto; position: relative; }

.sprung {
  position: absolute; left: -9999px; top: 0;
  background: #fff; color: var(--weinrot); padding: 8px 14px; z-index: 50;
}
.sprung:focus { left: 8px; top: 8px; }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Kopf ---------- */

.kopf { background: #fff; height: 150px; }
.kopf .innen { height: 150px; }

.kopf__titel {
  position: absolute; left: 29px; top: 14px;
  font-size: 25px; line-height: 29px;
}

.menue { position: absolute; left: 0; top: 109px; display: flex; list-style: none; }
.menue li { height: 20px; text-align: center; }
.menue li + li { border-left: 1px solid var(--rosa-linie); }
.menue a {
  display: block; font-size: 15px; line-height: 20px;
  transition: color .4s ease;
}
.menue a:hover { color: var(--weinrot-dunkel); }
.menue a[aria-current="page"] { color: var(--dunkel); }
.menue li:nth-child(1) { width: 168px; }
.menue li:nth-child(2) { width: 157px; }
.menue li:nth-child(3) { width: 130px; }
.menue li:nth-child(4) { width: 112px; }
.menue li:nth-child(5) { width: 128px; }
.menue li:nth-child(6) { width: 151px; }

.kopf__logo { position: absolute; left: 862px; top: 43px; width: 85px; height: 97px; }

.menue-knopf { display: none; }

/* ---------- Punktnavigation rechts ---------- */

.punkte {
  position: fixed; right: 58px; top: 299px; z-index: 20;
  display: flex; flex-direction: column; gap: 8.75px;
}
.punkte a { display: block; width: 12px; height: 12px; }
.punkte svg { width: 12px; height: 12px; display: block; overflow: visible; }
.punkte circle {
  fill: transparent; stroke: var(--dunkel); stroke-width: 4px;
  transition: fill .2s ease-in-out, stroke .2s ease-in-out;
}
.punkte a:hover circle, .punkte a.aktiv circle { fill: var(--weinrot); stroke: var(--weinrot); }

/* ---------- Zickzack-Linie ---------- */

.zickzack { position: relative; height: 10px; color: var(--rosa); }
.zickzack::before, .zickzack::after { content: ""; position: absolute; left: 0; right: 0; }
.zickzack::before { top: 0; height: 5px; background: currentColor; }
.zickzack::after {
  top: 5px; height: 10px;
  background:
    linear-gradient(45deg, transparent 10px, currentColor 10px) 50% 50% / 10px 10px,
    linear-gradient(-45deg, transparent 10px, currentColor 10px) 50% 50% / 10px 10px;
}
.zickzack--oliv { color: var(--oliv); }

/* Elemente im 980-px-Raster: --l ist der Abstand vom linken Rand des Rasters */
.pos { margin-left: calc(50% - 490px + var(--l, 0px)); }
.abs { position: absolute; left: calc(50% - 490px + var(--l, 0px)); }

/* ---------- Startseite ---------- */

.held { height: 560px; background: #ede6e9; overflow: hidden; }
.held img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }

.unterricht { position: relative; background: #fff; height: 716px; padding-top: 69px; text-align: center; }
.unterricht h1 { --l: 30px; width: 920px; font-size: 30px; line-height: 35px; }
.unterricht .zickzack--titel { --l: 430px; width: 130px; margin-top: 12px; }
.unterricht__text { --l: 69px; width: 846px; margin-top: 32px; font-size: 16px; line-height: 19px; }
.unterricht__text p + p { margin-top: 19px; }
.unterricht__zitat { margin-top: 80px; font-size: 19px; line-height: 23px; }
.unterricht .zickzack--zitat { --l: 430px; top: 408px; width: 142px; }
.unterricht__blume { --l: 421px; top: 545.5px; width: 144px; height: 122px; transform: rotate(340.47deg); }

.streifen {
  height: 519px; margin: 39px 0 41px; overflow: hidden;
  display: flex; justify-content: center;
}
.streifen img { height: 519px; width: auto; flex: 0 0 auto; }

.ueber { position: relative; background: var(--rosa-hell); height: 1249px; padding-top: 58px; text-align: center; }
.ueber h2 { --l: 24px; width: 920px; font-size: 30px; line-height: 35px; }
.ueber__foto { --l: 384px; width: 200px; height: 200px; margin-top: 36px; border-radius: 50%; overflow: hidden; background: #fff; }
.ueber__foto img { width: 100%; height: 100%; object-fit: cover; }
.ueber__name { --l: 389px; width: 200px; margin-top: 38px; font-size: 20px; line-height: 24px; font-weight: 700; }
.ueber__titel { --l: 389px; width: 200px; margin-top: 2px; font-size: 16px; line-height: 19px; font-weight: 700; }
.ueber .zickzack { --l: 454px; width: 87px; margin-top: 14px; }
.ueber__text { --l: 267px; width: 463px; margin-top: 38px; font-size: 15px; }
.ueber__text p { line-height: 18px; }
.ueber__text p + p { margin-top: 18px; }
.ueber__text p.weit { line-height: 19.5px; }
.ueber__text p.weit + p.weit { margin-top: 21px; }
.ueber__figur { --l: 461px; top: 826px; width: 57px; height: 89px; }
.ueber__wege { margin-top: 129px; text-align: left; line-height: 18px; }
.ueber__wege h3 { font-size: 15px; line-height: 18px; font-weight: 700; margin-bottom: 18px; }
.ueber__wege ul { list-style: none; }
.ueber__wege li { white-space: pre-wrap; }

.kontakt { background: var(--oliv-hell); height: 295px; margin-top: 68px; padding-top: 77px; text-align: center; }
.kontakt h2 { --l: 30px; width: 920px; font-size: 26px; line-height: 30px; }
.kontakt .zickzack { --l: 465px; width: 57px; margin-top: 13px; }
.kontakt__text { --l: 250px; width: 480px; margin-top: 19px; }
.kontakt__name { font-size: 19px; line-height: 24.7px; font-weight: 700; }
.kontakt__daten { margin-top: 23.3px; font-size: 15px; line-height: 24px; font-weight: 700; }

.formular { background: #fff; height: 687px; margin-top: 63px; padding-top: 34px; }
.formular form { position: relative; height: 194px; }
.feld {
  position: absolute; left: 29px; width: 460px; height: 33px;
  border: 2px solid var(--rosa); border-radius: 0; background: #fff;
  padding: 3px 3px 3px 24px; color: var(--grau);
  font: 14px/18.2px "Spinnaker", sans-serif;
  appearance: none; outline-offset: 1px;
}
.feld:hover, .feld:focus { border-width: 1px; }
.feld:focus { outline: 3px solid Highlight; }
.feld::placeholder { color: var(--weinrot); opacity: 1; }
.feld--name { top: 24px; }
.feld--mail { top: 60px; }
.feld--betreff { top: 96px; }
.feld--nachricht { left: 494px; top: 24px; height: 105px; padding: 10.5px 10px 3px 24px; resize: none; }
.falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.senden {
  position: absolute; left: 820px; top: 134px; width: 134px; height: 41px;
  background: var(--weinrot); border: 2px solid var(--weinrot); border-radius: 0;
  color: #fff; font: 16px/20.8px "Spinnaker", sans-serif; cursor: pointer;
  transition: background-color .4s ease, color .4s ease;
}
.senden:hover { background: transparent; color: var(--weinrot); }
.danke {
  position: absolute; left: 32px; top: 141px; width: 756px;
  font-size: 14px; line-height: 18.2px; visibility: hidden;
}
.danke.zeigen { visibility: visible; }
.karte { --l: 32px; display: block; width: 920px; height: 320px; margin-top: 40px; border: 0; }

/* ---------- Yoga Angebot ---------- */

.kurs { height: 373px; margin-top: 9px; padding-top: 115px; }
.kurs h1 { --l: 31px; width: 920px; text-align: center; font-size: 30px; line-height: 35px; letter-spacing: .03em; }
.kurs .zickzack { --l: 443px; width: 111px; margin-top: 12px; }
.kurs__bilder { --l: 249px; width: 483px; height: 123px; margin-top: 24px; display: flex; gap: 17px; list-style: none; }
.kurs__bilder li { width: 83px; height: 98px; background: var(--rosa-hell); }
.kurs__bilder img { width: 100%; height: 100%; object-fit: cover; }
.kurs__frage { --l: 50px; width: 920px; margin-top: 11px; font-size: 16px; line-height: 19px; color: #848260; }

.plan { position: relative; background: var(--rosa-hell); height: 1332px; padding-top: 63px; text-align: center; }
.plan h2 { --l: 31px; width: 920px; font-size: 18px; line-height: 21px; }
.plan .zickzack { --l: 443px; width: 92px; margin-top: 12px; }
.plan__inhalt { --l: 30px; width: 920px; }
.plan__tag { font-size: 18px; line-height: 21px; }
.plan__zeit { font-size: 14px; line-height: 16px; color: #848260; }
.plan__zitat { font-size: 16px; line-height: 19px; color: var(--rosa-linie); }
/* Abstände wie im Original (Zeilenoberkanten aus dem Wix-Layout gemessen) */
.plan__inhalt > :nth-child(1) { margin-top: 61px; }
.plan__inhalt > :nth-child(2) { margin-top: 42px; }
.plan__inhalt > :nth-child(3) { margin-top: 1px; }
.plan__inhalt > :nth-child(4) { margin-top: 40px; }
.plan__inhalt > :nth-child(5) { margin-top: 42px; }
.plan__inhalt > :nth-child(6) { margin-top: 1px; }
.plan__inhalt > :nth-child(7) { margin-top: 2px; }
.plan__inhalt > :nth-child(8) { margin-top: 38px; }
.plan__inhalt > :nth-child(9) { margin-top: 21px; }
.plan__inhalt > :nth-child(10) { margin-top: 196px; }
.plan__inhalt > :nth-child(11) { margin-top: 63px; }
.plan__inhalt > :nth-child(12) { margin-top: 16px; }
.plan__inhalt > :nth-child(13) { margin-top: 48px; }
.plan .zickzack--preise { --l: 442px; top: 741px; width: 97px; margin-top: 0; }
.plan__blume { --l: 431.5px; top: 561px; width: 117px; height: 100px; transform: rotate(340.47deg); }

/* ---------- Yoga Wiki ---------- */

.wiki { position: relative; background: var(--rosa-hell); height: 704px; margin: 62px 0 57px; padding-top: 98px; }
.wiki h1 { --l: 31px; width: 920px; text-align: center; font-size: 18px; line-height: 21px; }
.wiki .zickzack { --l: 443px; width: 92px; margin-top: 12px; }
.wiki__text { --l: 62px; width: 875px; padding-top: 48px; }
.wiki__frage { font-size: 18px; line-height: 21px; }
.wiki__frage + .wiki__frage { margin-top: 21px; }
.wiki__frage--hell { color: var(--rosa-linie); }
.wiki__absatz { margin-top: 16px; font-size: 14px; line-height: 16px; color: #585640; }
.wiki__frage + .wiki__absatz { margin-top: 21px; }
.wiki__absatz--rot { color: var(--weinrot); }
.wiki__blume { --l: 431px; top: 571.5px; width: 117px; height: 100px; transform: rotate(340.47deg); }

/* ---------- Impressionen ---------- */

.galerie { background: var(--rosa-hell); height: 730px; padding-top: 82px; }
.galerie ul {
  --l: 134px; width: 712px; height: 566px; list-style: none;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 10px;
}
.galerie li { min-height: 0; overflow: hidden; }
.galerie a { display: block; width: 100%; height: 100%; cursor: pointer; }
.galerie img { width: 100%; height: 100%; object-fit: cover; }
.galerie a:focus-visible { outline: 3px solid var(--weinrot); outline-offset: 2px; }

.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center; background: rgba(255, 255, 255, .96);
}
.lightbox.offen { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; box-shadow: 0 2px 12px rgba(0, 0, 0, .15); }
.lightbox button {
  position: absolute; padding: 8px 18px; border: 0; background: none; cursor: pointer;
  color: var(--weinrot); font: 44px/1 "Spinnaker", sans-serif;
}
.lightbox__zu { top: 8px; right: 8px; }
.lightbox__zurueck { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox__vor { right: 8px; top: 50%; transform: translateY(-50%); }
.lightbox__zaehler { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-size: 14px; }

/* ---------- Impressum, Datenschutz, AGB ---------- */

.recht { background: #fff; padding: 69px 0 62px; color: var(--dunkel); }
.recht h1 {
  --l: 30px; width: 920px; text-align: center; color: var(--weinrot);
  font: 26px/30px "Palatino Linotype", Palatino, "Book Antiqua", serif;
}
.recht__strich { --l: 478px; width: 27px; height: 5px; margin-top: 35px; border-top: 2px solid var(--dunkel); }
.recht__text { --l: 156px; width: 668px; margin-top: 33px; font-size: 14px; }
.recht__text p { line-height: 21px; margin-bottom: .75em; }
.recht__text h2 { color: var(--weinrot); font-size: 17px; line-height: 22.1px; margin: 1.4em 0 .45em; }
.recht__text ul { list-style: none; }
.recht__text li { line-height: 21px; }
.recht__text li::before { content: "– "; }
.recht__text ul + p { margin-top: .75em; }
.recht__text a { text-decoration: underline; text-underline-offset: 2px; }
.recht--mitte .recht__text { text-align: center; }

/* ---------- Fuss ---------- */

.fuss { background: var(--weinrot); height: 234px; padding-top: 52px; text-align: center; color: var(--lachs); }
.fuss__adresse { --l: 31px; width: 920px; font-size: 16px; line-height: 19px; }
.fuss .zickzack { --l: 440px; width: 93px; margin-top: 18px; }
.fuss__links { --l: 317px; width: 350px; display: flex; justify-content: center; gap: 25px; padding-left: 3px; margin-top: 34px; }
.fuss__links a { font-size: 13px; line-height: 15px; letter-spacing: 1.3px; }
.fuss__links a:hover { color: #fff; }

/* ---------- Kleine Bildschirme ---------- */

@media (max-width: 1000px) {
  :root { --breite: 100%; }
  .kopf, .kopf .innen { height: auto; }
  .kopf .innen { padding: 14px 16px 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
  .kopf__titel { position: static; flex: 1 1 auto; font-size: 22px; }
  .kopf__logo { position: static; width: 56px; height: auto; order: 2; }
  .menue-knopf {
    display: block; order: 3; width: 40px; height: 40px; border: 0; background: none; cursor: pointer;
    color: var(--weinrot); font-size: 26px; line-height: 40px;
  }
  .kopf nav { order: 4; flex: 1 0 100%; }
  .kopf__titel { flex: 1 1 0; min-width: 0; }
  .menue { position: static; flex-direction: column; display: none; }
  .menue.offen { display: flex; }
  .menue li, .menue li:nth-child(n) { width: auto; height: auto; text-align: left; border: 0; }
  .menue li + li { border-top: 1px solid var(--rosa-hell); }
  .menue a { padding: 10px 2px; font-size: 17px; }
  .punkte { display: none; }
  .held { height: 56vw; }
  .galerie { height: auto; padding: 32px 16px 48px; }
  .galerie ul { width: auto; height: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .galerie a { aspect-ratio: 171 / 182; }
  .recht { padding: 40px 16px 48px; }
  .recht h1, .recht__text { width: auto; max-width: 668px; }
  .kurs, .plan, .wiki { height: auto; padding-left: 16px; padding-right: 16px; padding-bottom: 48px; }
  .kurs__bilder { width: auto; height: auto; flex-wrap: wrap; justify-content: center; }
  .kurs__frage, .plan__inhalt, .wiki__text, .kurs h1, .plan h2, .wiki h1 { width: auto; max-width: 600px; }
  .plan .abs { position: absolute; left: 50%; margin: 0; translate: -50% 0; }
  .plan .plan__blume { top: 561px; }
  .plan .zickzack--preise { top: 741px; }
  .kurs { padding-top: 48px; }
  .unterricht, .ueber, .kontakt, .formular { height: auto; padding-left: 16px; padding-right: 16px; padding-bottom: 48px; }
  .pos { margin-left: auto; margin-right: auto; max-width: 100%; }
  .abs { position: relative; left: auto; top: auto; display: block; margin: 24px auto 0; }
  .unterricht__text, .ueber__text, .kontakt__text, .ueber h2, .unterricht h1, .fuss__adresse { width: auto; max-width: 600px; }
  .unterricht .zickzack--zitat { margin-top: 32px; }
  .unterricht__zitat { margin-top: 24px; }
  .ueber__wege { margin-top: 24px; }
  .ueber__wege ul { white-space: normal; }
  .streifen { height: 60vw; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; }
  .streifen img { height: 100%; scroll-snap-align: center; }
  .formular form { height: auto; display: flex; flex-direction: column; gap: 6px; }
  .feld, .feld--nachricht, .senden, .danke { position: static; width: 100%; }
  .feld--nachricht { height: 140px; }
  .senden { align-self: flex-end; width: 134px; }
  .karte { width: 100%; left: 0; height: 300px; }
  .fuss { height: auto; padding-bottom: 30px; }
}
