/* ==========================================================================
   Sonnengruß Yoga – Basis-Stylesheet
   ========================================================================== */

@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-variable.woff2') format('woff2');
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Karla';
  src: url('../fonts/karla-variable.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-sun: #F4B63A;
  --color-sun-soft: #FBD98A;
  --color-red: #C4211F;
  --color-red-dark: #9E1A18;
  --color-cream: #FBF3E4;
  --color-cream-dark: #F3E7D2;
  --color-white: #FFFFFF;
  --color-ink: #3A2B1E;
  --color-ink-light: #6B5744;

  --font-heading: 'Fraunces', Georgia, serif;
  --font-body: 'Karla', -apple-system, BlinkMacSystemFont, sans-serif;

  --container-width: 1140px;
  --radius: 20px;
  --shadow-soft: 0 12px 32px rgba(58, 43, 30, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-ink);
  background: var(--color-cream);
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.6em;
  color: var(--color-ink);
}

h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--color-ink);
  color: var(--color-white);
  padding: 10px 18px;
  border-radius: 8px;
  z-index: 1000;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--color-ink); outline-offset: 2px; }

.btn-primary {
  background: var(--color-red);
  color: var(--color-white);
  box-shadow: 0 8px 20px rgba(196, 33, 31, 0.3);
}
.btn-primary:hover { background: var(--color-red-dark); box-shadow: 0 12px 26px rgba(196, 33, 31, 0.38); }

.btn-secondary {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-ink);
}
.btn-secondary:hover { background: var(--color-ink); color: var(--color-white); }

.btn-light {
  background: var(--color-white);
  color: var(--color-red);
}
.btn-light:hover { background: var(--color-cream-dark); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-cream);
  border-bottom: 1px solid var(--color-cream-dark);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--color-ink);
}

.logo-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
}

.main-nav a:not(.btn) {
  display: inline-block;
  padding: 10px 16px;
  text-decoration: none;
  font-weight: 500;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.main-nav a:not(.btn):hover,
.main-nav a[aria-current="page"] {
  background: var(--color-cream-dark);
  color: var(--color-red);
}
.main-nav a:not(.btn):hover { transform: translateY(-2px); }

.main-nav .btn { margin-left: 10px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--color-ink);
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }

  .main-nav {
    position: fixed;
    inset: 72px 0 0 0;
    background: var(--color-cream);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 32px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .main-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 2px;
  }
  .main-nav a:not(.btn) { padding: 14px 16px; font-size: 1.1rem; }
  .main-nav .btn {
    margin: 16px 0 0;
    justify-content: center;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 96px;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-sun-soft) 0%, transparent 70%);
  opacity: 0.8;
}

.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-text, .hero-visual {
  min-width: 0;
}

.hero-eyebrow {
  display: inline-block;
  font-weight: 700;
  color: var(--color-red);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.hero-lead {
  font-size: 1.2rem;
  color: var(--color-ink-light);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

@media (max-width: 860px) {
  .hero { padding: 44px 0 64px; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
}

/* ---------- Placeholder-Bilder ---------- */

.placeholder-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(145deg, var(--color-sun) 0%, var(--color-red) 130%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
}

.placeholder-img svg {
  width: 34%;
  height: 34%;
  opacity: 0.92;
}

.ratio-1-1 { aspect-ratio: 1 / 1; }
.ratio-4-3 { aspect-ratio: 4 / 3; }
.ratio-16-9 { aspect-ratio: 16 / 9; }
.ratio-3-4 { aspect-ratio: 3 / 4; }

.photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Sections ---------- */

.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--color-white); }

.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: block;
  font-weight: 700;
  color: var(--color-red);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.82rem;
  margin-bottom: 10px;
}

/* ---------- Grids & Cards ---------- */

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

@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(58, 43, 30, 0.14); }

.icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.icon-circle svg { width: 28px; height: 28px; color: var(--color-red); }

/* ---------- Locations list ---------- */

.locations-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}
.locations-list li { display: block; }

/* ---------- Kursplan-Tabelle ---------- */

.schedule-note {
  background: var(--color-cream-dark);
  border-left: 4px solid var(--color-red);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 32px;
  font-weight: 500;
}

.schedule-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  background: var(--color-white);
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
}
.schedule-table a { color: var(--color-red); }
.schedule-table th, .schedule-table td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-cream-dark);
}
.schedule-table th {
  font-family: var(--font-heading);
  font-weight: 700;
  background: var(--color-cream-dark);
}
.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table .tbd { color: var(--color-ink-light); font-style: italic; }

/* ---------- Ausbildungen / Credentials ---------- */

.creds-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.creds-list li {
  position: relative;
  padding-left: 26px;
}
.creds-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-red);
}

/* ---------- Steps ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: 24px;
}
.steps li {
  counter-increment: step;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.steps li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-sun);
  color: var(--color-ink);
  font-family: var(--font-heading);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- FAQ ---------- */

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  background: var(--color-white);
  border-radius: 14px;
  padding: 18px 24px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(58, 43, 30, 0.13);
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font-heading);
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--color-red);
  font-weight: 700;
  font-size: 1.2em;
}
.faq-item[open] summary::after { content: "×"; }
.faq-item p { margin-top: 14px; margin-bottom: 0; }

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(120deg, var(--color-red) 0%, var(--color-red-dark) 100%);
  color: var(--color-white);
  border-radius: var(--radius);
  padding: 56px;
  text-align: center;
}
.cta-band h2 { color: var(--color-white); }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 52ch; margin-left: auto; margin-right: auto; }

@media (max-width: 600px) {
  .cta-band { padding: 40px 24px; }
}

/* ---------- Two-column content ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split > .split-visual,
.split > .split-text {
  min-width: 0;
}
.split.reverse .split-visual { order: 2; }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-visual { order: -1; }
}

/* ---------- Forms ---------- */

.form-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-soft);
}

.form-row { margin-bottom: 22px; }

label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

input, select, textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--color-cream-dark);
  background: var(--color-cream);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-ink);
  transition: border-color 0.15s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--color-red);
}

textarea { resize: vertical; min-height: 130px; }

.form-hint { font-size: 0.88rem; color: var(--color-ink-light); margin-top: 6px; }

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  font-size: 0.92rem;
  color: var(--color-ink-light);
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
  width: auto;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--color-red);
}
.checkbox-label span { flex: 1; min-width: 0; }
.checkbox-label a { color: var(--color-ink); text-decoration: underline; }

/* Honeypot: für Menschen unsichtbar, für Formular-Spam-Bots noch da */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 22px;
  font-weight: 500;
}
.form-status.success { background: #E4F0D8; color: #3B5C25; }
.form-status.error { background: #F6DCDB; color: var(--color-red-dark); }

/* ---------- Contact info cards ---------- */

.contact-info {
  display: grid;
  gap: 18px;
}
.contact-info .card { display: flex; gap: 16px; align-items: flex-start; padding: 24px; }
.contact-info .icon-circle { margin-bottom: 0; flex-shrink: 0; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--color-ink);
  color: rgba(255,255,255,0.85);
  padding: 56px 0 28px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-white);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.footer-logo img { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; }

.footer-grid h3 {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: 14px;
}

.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { text-decoration: none; color: rgba(255,255,255,0.8); }
.footer-grid a:hover { color: var(--color-sun); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 22px;
  font-size: 0.88rem;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  color: rgba(255,255,255,0.6);
}
.footer-bottom a { color: rgba(255,255,255,0.75); text-decoration: underline; }

/* ---------- Legal pages ---------- */

.legal-content h2 { margin-top: 1.6em; }
.legal-content { max-width: 72ch; }

/* ---------- Blogbeitrag: Bild links, Text läuft daneben und danach
   über die volle Breite weiter ---------- */

.article-body { max-width: 820px; margin: 0 auto; }
.article-body::after { content: ""; display: block; clear: both; }
.article-body h2 { margin-top: 1.5em; }
.article-body h2:first-of-type { margin-top: 0.6em; }

.article-image {
  float: left;
  width: 44%;
  margin: 6px 30px 18px 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.article-image img { display: block; width: 100%; height: auto; }

@media (max-width: 720px) {
  .article-image { float: none; width: 100%; margin: 0 0 24px; }
}

.page-hero.article-hero .container { text-align: center; }

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Sanft gestaffeltes Einblenden für Kacheln in einem Raster */
.grid.reveal-stagger > *,
.locations-list.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.grid.reveal-stagger.is-visible > *,
.locations-list.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}
.grid.reveal-stagger > *:nth-child(1) { transition-delay: 0.02s; }
.grid.reveal-stagger > *:nth-child(2) { transition-delay: 0.09s; }
.grid.reveal-stagger > *:nth-child(3) { transition-delay: 0.16s; }
.grid.reveal-stagger > *:nth-child(4) { transition-delay: 0.23s; }
.grid.reveal-stagger > *:nth-child(5) { transition-delay: 0.30s; }
.grid.reveal-stagger > *:nth-child(6) { transition-delay: 0.37s; }
.grid.reveal-stagger > *:nth-child(7) { transition-delay: 0.44s; }
.grid.reveal-stagger > *:nth-child(8) { transition-delay: 0.51s; }
.locations-list.reveal-stagger > *:nth-child(1) { transition-delay: 0.02s; }
.locations-list.reveal-stagger > *:nth-child(2) { transition-delay: 0.07s; }
.locations-list.reveal-stagger > *:nth-child(3) { transition-delay: 0.12s; }
.locations-list.reveal-stagger > *:nth-child(4) { transition-delay: 0.17s; }
.locations-list.reveal-stagger > *:nth-child(5) { transition-delay: 0.22s; }
.locations-list.reveal-stagger > *:nth-child(6) { transition-delay: 0.27s; }
.locations-list.reveal-stagger > *:nth-child(7) { transition-delay: 0.32s; }
.locations-list.reveal-stagger > *:nth-child(8) { transition-delay: 0.37s; }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .grid.reveal-stagger > *,
  .locations-list.reveal-stagger > * {
    opacity: 1; transform: none; transition: none;
  }
}

/* ---------- Vollbild-Hintergrundbilder (Hero-Bereiche) ---------- */

.hero-bg {
  position: relative;
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat;
  color: var(--color-white);
}
.hero-bg .container { position: relative; }
.hero-bg .hero-eyebrow,
.hero-bg h1,
.hero-bg .hero-lead,
.hero-bg h2 {
  color: var(--color-white);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.4);
}
.hero-bg .hero-lead { color: rgba(255, 255, 255, 0.92); }

/*
  Drei Ebenen übereinander: dunkler Verlauf für lesbaren Text ganz oben,
  darunter das echte Hintergrundfoto (sobald die Datei da ist), darunter
  ein warmer Marken-Verlauf als Reserve, solange das Foto noch fehlt.
  Fehlt die Bilddatei, bleibt diese Ebene einfach leer und die Reserve
  darunter scheint durch, nichts wirkt kaputt.
*/
#startseite-hero.hero-bg {
  background-image:
    linear-gradient(100deg, rgba(43,32,22,0.55) 0%, rgba(43,32,22,0.15) 100%),
    url('../images/startseite-hintergrund.jpg'),
    linear-gradient(135deg, var(--color-sun) 0%, var(--color-red) 140%);
}
#kurse-hero.hero-bg {
  background-image:
    linear-gradient(100deg, rgba(43,32,22,0.55) 0%, rgba(43,32,22,0.15) 100%),
    url('../images/kurse-hintergrund.jpg'),
    linear-gradient(135deg, var(--color-sun) 0%, var(--color-red) 140%);
}
#kontakt-hero.hero-bg {
  background-image:
    linear-gradient(100deg, rgba(43,32,22,0.55) 0%, rgba(43,32,22,0.15) 100%),
    url('../images/kontakt-hintergrund.jpg'),
    linear-gradient(135deg, var(--color-sun) 0%, var(--color-red) 140%);
}

/* ---------- Page header (Unterseiten) ---------- */

.page-hero {
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-sun-soft) 0%, transparent 70%);
  opacity: 0.7;
}
.page-hero .container { position: relative; max-width: 760px; }
.page-hero.hero-bg { padding: 96px 0; overflow: visible; }
.page-hero.hero-bg::before { display: none; }
.page-hero.hero-bg .container { max-width: 760px; }

/* ---------- Klickbare Orte-Liste (Startseite) ---------- */

.locations-list a.location-link {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-white);
  border-radius: 14px;
  padding: 16px 18px;
  font-weight: 700;
  font-family: var(--font-heading);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: var(--color-ink);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.locations-list a.location-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(58, 43, 30, 0.16);
  color: var(--color-red);
}
.locations-list a.location-link svg { width: 20px; height: 20px; color: var(--color-red); flex-shrink: 0; }

/* ---------- "Warum Yoga" Hover-Karten ---------- */

.reason-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.reason-card:hover,
.reason-card:focus-within,
.reason-card.is-open {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(58, 43, 30, 0.18);
}
.reason-card:focus { outline: none; }
.reason-card:focus-visible { outline: 3px solid var(--color-red); outline-offset: 3px; }

.reason-more {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, margin-top 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.reason-more > div { overflow: hidden; }
.reason-card:hover .reason-more,
.reason-card:focus-within .reason-more,
.reason-card.is-open .reason-more {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 18px;
}
.reason-more-image {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
  aspect-ratio: 16 / 10;
}
.reason-more-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.reason-more p { margin: 0; font-size: 0.96rem; }
.reason-hint {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-red);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.reason-card:hover .reason-hint,
.reason-card:focus-within .reason-hint,
.reason-card.is-open .reason-hint { display: none; }

/* ---------- Schlichte Region-Karte mit Pins ---------- */

.region-map-wrap {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}
.region-map {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: visible;
  box-shadow: var(--shadow-soft);
  background: linear-gradient(160deg, #EAF1DD 0%, var(--color-cream) 65%);
}
.region-map-inner {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  overflow: hidden;
}
.region-map-bg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.region-map-caption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-ink-light);
  margin-top: 12px;
}

.map-pin {
  position: absolute;
  transform: translate(-50%, -100%);
  text-decoration: none;
  color: var(--color-ink);
  z-index: 1;
}
.map-pin-dot {
  display: block;
  width: 16px;
  height: 16px;
  margin: 0 auto;
  background: var(--color-red);
  border: 3px solid var(--color-white);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 3px 10px rgba(58, 43, 30, 0.35);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease;
}
.map-pin-tip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(4px) scale(0.92);
  width: 160px;
  background: var(--color-white);
  padding: 12px 14px;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.84rem;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 2;
}
.map-pin-tip strong { font-family: var(--font-heading); font-size: 0.95rem; }
.map-pin:hover, .map-pin:focus { z-index: 3; }
.map-pin:hover .map-pin-dot,
.map-pin:focus .map-pin-dot { transform: rotate(-45deg) scale(1.4); }
.map-pin:hover .map-pin-tip,
.map-pin:focus .map-pin-tip { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
.map-pin.is-active .map-pin-dot {
  background: var(--color-red-dark);
  transform: rotate(-45deg) scale(1.5);
}
.map-pin.is-active .map-pin-tip {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

/* ---------- Kursplan-Karussell ---------- */

.day-carousel {
  position: relative;
  padding: 0 8px;
}
.day-carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 4px 4px 14px;
  scrollbar-width: thin;
}
.day-card {
  flex: 0 0 250px;
  scroll-snap-align: start;
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-soft);
}
.day-card h3 { margin-bottom: 16px; }
.day-card-item {
  padding: 10px 0;
  border-top: 1px solid var(--color-cream-dark);
  font-size: 0.92rem;
  line-height: 1.4;
}
.day-card-item:first-of-type { border-top: none; padding-top: 0; }
.day-card-item a { color: var(--color-red); }
.day-card-item.is-empty { color: var(--color-ink-light); font-style: italic; }
.day-card-time {
  display: block;
  font-weight: 700;
  font-family: var(--font-heading);
}
.day-card-place {
  display: block;
  margin-top: 2px;
  color: var(--color-ink-light);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-red);
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 2;
}
.carousel-arrow:hover { background: var(--color-cream-dark); transform: translateY(-50%) scale(1.06); }
.carousel-arrow.prev { left: -14px; }
.carousel-arrow.next { right: -14px; }
.carousel-arrow svg { width: 20px; height: 20px; }

@media (max-width: 700px) {
  .carousel-arrow.prev { left: -4px; }
  .carousel-arrow.next { right: -4px; }
  .day-card { flex: 0 0 78vw; }
}

/* Sekundärer Button auf dunklem Hintergrundfoto bleibt lesbar */
.hero-bg .btn-secondary {
  color: var(--color-white);
  border-color: var(--color-white);
}
.hero-bg .btn-secondary:hover {
  background: var(--color-white);
  color: var(--color-ink);
}

/* ---------- Kursplan als Wochenraster mit Hover-Vergrößerung ---------- */

.day-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  /* Zentriert: Tage mit weniger Terminen sitzen mittig statt oben zu kleben,
     dadurch wirken alle fünf Spalten oben und unten gleichmäßig eingefasst. */
  align-items: center;
}
.day-grid .day-card {
  position: relative;
  z-index: 1;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}
.day-grid .day-card:hover,
.day-grid .day-card:focus-within {
  transform: scale(1.08);
  box-shadow: 0 22px 46px rgba(58, 43, 30, 0.22);
  z-index: 2;
}

@media (max-width: 900px) {
  .day-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .day-grid { grid-template-columns: 1fr; gap: 14px; }
  .day-grid .day-card:hover, .day-grid .day-card:focus-within { transform: none; }
}

/* ---------- Orts-Karten mit Bild (Kurse-Seite) ---------- */

.location-card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.location-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 42px rgba(58, 43, 30, 0.18);
}
a.location-card { text-decoration: none; color: inherit; }
.location-card .placeholder-img { border-radius: 0; }
.location-card .photo { border-radius: 0; }
.location-card-body { padding: 24px 26px 28px; }
.location-card-body h3 { margin-bottom: 8px; }
.location-card-cta {
  display: inline-block;
  margin-top: 6px;
  font-weight: 700;
  color: var(--color-red);
}
a.location-card:hover .location-card-cta { text-decoration: underline; }
.location-schedule { font-weight: 700; color: var(--color-ink); margin-bottom: 10px; }
.location-facts {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 4px;
  font-size: 0.92rem;
  color: var(--color-ink-light);
}
.location-facts strong { color: var(--color-ink); }

/* ---------- Kontaktseite: festes Hintergrundfoto über die ganze Seite ---------- */

body.kontakt-fixed-bg {
  background-color: var(--color-ink);
  background-image:
    linear-gradient(rgba(43, 32, 22, 0.5), rgba(43, 32, 22, 0.5)),
    url('../images/kontakt-atmo.jpg'),
    linear-gradient(135deg, var(--color-sun) 0%, var(--color-red) 140%);
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-attachment: fixed, fixed, fixed;
}
body.kontakt-fixed-bg .site-header {
  background: rgba(251, 243, 228, 0.94);
}
body.kontakt-fixed-bg .page-hero::before { display: none; }
body.kontakt-fixed-bg .page-hero .hero-eyebrow,
body.kontakt-fixed-bg .page-hero h1,
body.kontakt-fixed-bg .page-hero .hero-lead,
body.kontakt-fixed-bg .split-text > .eyebrow,
body.kontakt-fixed-bg .split-text > h2 {
  color: var(--color-white);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}
body.kontakt-fixed-bg .split-text > .eyebrow { color: var(--color-sun); }
