/* silberways – Zusatz-CSS zu theme.json.
   Nur was sich nicht über die Block-Einstellungen abbilden lässt. */

*, *::before, *::after { box-sizing: border-box; }
body { -webkit-font-smoothing: antialiased; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible { outline: 3px solid #3c68a0; outline-offset: 2px; }

/* Handschrift in Überschriften: Wort markieren und kursiv stellen (Strg/Cmd+I). */
:where(h1, h2, h3, p) em {
  font-family: 'Oooh Baby', cursive;
  font-style: normal;
  font-weight: 400;
  font-size: 1.25em;
  line-height: 1;
}
h1 em { display: block; font-size: 1.37em; line-height: 1.1; }
.has-handschrift-font-family { font-weight: 400; }

/* Kopfbereich: klebt oben */
.kopf { position: sticky; top: 0; z-index: 50; }
.admin-bar .kopf { top: var(--wp-admin--admin-bar--height, 32px); }
.kopf .wp-block-navigation a { text-decoration: none; }
.kopf .wp-block-navigation .current-menu-item > a { font-weight: 700; }
.kopf .kopf-telefon a { text-decoration: none; font-weight: 600; color: #282c64; }
/* Menü: ab 981px als Zeile, darunter als Burger-Menü (Navigation steht auf „immer Overlay“, hier für Desktop aufgeklappt) */
@media (min-width: 981px) {
  .kopf-menue .wp-block-navigation__responsive-container-open { display: none !important; }
  .kopf-menue .wp-block-navigation__responsive-container:not(.is-menu-open) {
    display: block; position: relative; width: 100%; z-index: auto; background-color: inherit !important; color: inherit !important;
  }
  .kopf-menue .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__responsive-container-close { display: none; }
  .kopf-menue .nur-mobil { display: none !important; }
}
@media (max-width: 980px) {
  .kopf .alignwide { gap: 12px !important; }
  .kopf .alignwide > .wp-block-group { gap: 12px !important; flex-wrap: nowrap !important; }
  .kopf .kopf-logo img { height: 34px !important; width: auto !important; }
  .kopf .kopf-telefon { display: none; }
  .kopf .wp-block-buttons { order: 1; }
  .kopf .kopf-menue { order: 2; }
  .kopf .wp-block-button__link { padding: 10px 16px !important; font-size: 14px !important; white-space: nowrap; }
  .kopf-menue .wp-block-navigation__responsive-container-open svg { width: 30px; height: 30px; }
  /* aufgeklapptes Menü */
  .kopf-menue .wp-block-navigation__responsive-container.is-menu-open { padding: 24px 24px 40px; }
  .kopf-menue .is-menu-open .wp-block-navigation__responsive-container-content,
  .kopf-menue .is-menu-open .wp-block-navigation__container { align-items: flex-start !important; }
  .kopf-menue .is-menu-open .wp-block-navigation__container { gap: 22px !important; font-size: 22px; font-weight: 600; }
  .kopf-menue .is-menu-open .nur-mobil { margin-top: 12px; font-size: 18px; }
}
@media (max-width: 360px) {
  .kopf .kopf-logo img { height: 28px !important; }
  .kopf .wp-block-button__link { padding: 9px 12px !important; font-size: 13px !important; }
}

/* Karten */
.is-style-karte { border-radius: 20px; padding: 34px 30px; background: #f2f9fb; }
.is-style-karte > :first-child { margin-top: 0; }
.schmal { max-width: 52ch; }

/* Kennzahlen-Kästchen */
.zahl p:last-child { max-width: 18ch; }

/* Preiskarten */
.preis { position: relative; }

/* Runde Symbol-Plaketten in Karten (Bild-Block mit Klasse "plakette") */
.plakette img { width: 52px; height: 52px; border-radius: 50% !important; }

/* Nummernkreis in Ablauf-Karten */
.nummer {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: #282c64; color: #fff !important; font-weight: 700; font-size: 22px;
}

/* Etikett über der hervorgehobenen Preiskarte */
.etikett {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%); margin: 0 !important;
  background: #fff; border: 1.5px solid #282c64; border-radius: 999px;
  padding: 5px 16px; font-size: 13px; font-weight: 600; color: #282c64; white-space: nowrap;
}

/* Häufige Fragen */
.wp-block-details summary {
  cursor: pointer; font-weight: 600; font-size: 18px; color: #282c64;
  list-style: none; display: flex; justify-content: space-between; gap: 16px;
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; font-size: 22px; line-height: 1; color: #3c68a0; }
.wp-block-details[open] summary::after { content: "–"; }
.wp-block-details[open] summary { margin-bottom: 12px; }
.wp-block-details p { color: #3a3d42; max-width: 66ch; }

/* Zitate */
.wp-block-quote { margin: 0; }
.wp-block-quote cite { display: block; margin-top: 24px; font-size: 16px; font-style: normal; color: #5a5f66; }

/* Absätze mit Symbol davor (Kontaktwege) */
[class*="is-style-symbol-"] { display: flex; align-items: center; gap: 14px; font-weight: 600; }
[class*="is-style-symbol-"] a { color: #282c64; text-decoration: none; }
[class*="is-style-symbol-"]::before {
  content: ""; flex: 0 0 44px; height: 44px; border-radius: 50%;
  background: #cfebf0 center / 22px 22px no-repeat;
}
.is-style-symbol-telefon::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 3h4l2 5-3 2c1 3 3 5 5 6l2-3 5 2v4c0 1-1 2-2 2C10 21 3 14 3 5c0-1 1-2 3-2z' fill='none' stroke='%23282c64' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.is-style-symbol-whatsapp::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5h16v11H9l-5 4z' fill='none' stroke='%23282c64' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.is-style-symbol-mail::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18v14H3zM3 5l9 7 9-7' fill='none' stroke='%23282c64' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* Dekoratives Element, das über die Ecke eines Fotos ragt (Bild-Block mit Klasse "deko-ecke") */
.mit-deko { position: relative; }
.mit-deko .deko-ecke { position: absolute; top: -30px; left: -34px; width: 152px; margin: 0; pointer-events: none; z-index: 1; }
.mit-deko .deko-ecke img { border-radius: 0 !important; }

/* Wischslider: auf dem Handy werden Spalten zur waagrechten Kachelreihe */
@media (max-width: 820px) {
  .is-style-wischslider {
    display: flex !important; flex-wrap: nowrap !important; gap: 14px !important;
    overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .is-style-wischslider::-webkit-scrollbar { display: none; }
  .is-style-wischslider > * {
    flex: 0 0 min(78vw, 360px) !important; scroll-snap-align: center; margin: 0 !important; min-width: 0;
  }
  .is-style-wischslider::after {
    content: ""; flex: 0 0 1px;
  }
  .is-style-wischslider + .wischhinweis { display: block; }
}
.wischhinweis { display: none; text-align: center; font-size: 13.5px; color: #7b8b99; margin-top: 2px !important; }

/* Neuigkeiten-Band (Instagram) */
.neu-gitter { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.neu-gitter .wp-block-image { margin: 0; aspect-ratio: 1; overflow: hidden; border-radius: 6px; }
.neu-gitter .wp-block-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; transition: transform .3s ease; }
.neu-gitter .wp-block-image a:hover img { transform: scale(1.05); }
@media (max-width: 860px) {
  .neu-gitter { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 42vw; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .neu-gitter::-webkit-scrollbar { display: none; }
  .neu-gitter .wp-block-image { scroll-snap-align: start; }
}

/* Instagram-Link unter dem Band */
.neu-fuss a { color: #282c64; text-decoration: none; border-bottom: 1.5px solid #f6e0a4; padding-bottom: 2px; }
.neu-fuss a:hover { border-bottom-color: #282c64; }

/* Fußbereich */
.fuss-text { max-width: 36ch; }

/* Startseite: zwei Bildhälften */
.start-split { gap: 6px !important; margin: 0 !important; }
.start-split > .wp-block-column { position: relative; }
.start-split .wp-block-cover { min-height: max(50svh, calc(100svh - 150px)) !important; height: 100%; text-align: center; }
.start-split .wp-block-cover__inner-container { max-width: 460px; margin: auto auto 0; padding-bottom: 64px; }
.start-split .wp-block-cover h2, .start-split .wp-block-cover p { text-shadow: 0 2px 14px rgba(24, 23, 22, .45); }
.start-zeichen { position: absolute !important; top: 11%; z-index: 2; margin: 0 !important; pointer-events: none; }
.start-zeichen img { border-radius: 0 !important; }
.start-zeichen.links { left: clamp(6px, 1.4vw, 20px); width: clamp(150px, 21vw, 288px); }
.start-zeichen.rechts { right: clamp(6px, 1.4vw, 22px); width: clamp(132px, 17.5vw, 238px); }
@media (max-width: 781px) {
  .start-split .wp-block-cover { min-height: 60svh !important; }
  .start-zeichen { top: 8%; }
}

/* Telefonlinks auf dem Handy als bequemes Tippziel */
@media (max-width: 820px) { a[href^="tel:"] { display: inline-block; padding-top: 12px; padding-bottom: 12px; } }

/* Einblenden beim Scrollen */
.blendet-ein { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.blendet-ein.ist-sichtbar { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .blendet-ein { opacity: 1; transform: none; transition: none; }
  .neu-gitter .wp-block-image img { transition: none; }
}

/* Über mich: Werdegang als Zeitstrahl (Gruppe "zeitstrahl" mit Gruppen "station st-l" / "station st-r") */
.zeitstrahl { position: relative; padding: 0; }
.zeitstrahl::before {
  content: ""; position: absolute; top: 66px; bottom: 66px; left: 50%; width: 2.4px; margin-left: -1.2px;
  background: #282c64; border-radius: 2px;
}
.zeitstrahl .station {
  position: relative; min-height: 132px; display: flex; flex-direction: column; justify-content: center;
  width: calc(50% - 135px); margin: 0 !important; padding: 0 10px;
}
.zeitstrahl .station.st-l { text-align: right; }
.zeitstrahl .station.st-r { margin-left: calc(50% + 135px) !important; text-align: left; }
.zeitstrahl .station::after {
  content: ""; position: absolute; top: 50%; width: 17px; height: 17px; margin-top: -8.5px; border-radius: 50%;
  background: #fff; border: 2.5px solid #282c64; box-shadow: 0 0 0 6px #f2f9fb; z-index: 1;
}
.zeitstrahl .st-l::after { right: -144px; }
.zeitstrahl .st-r::after { left: -144px; }
.zeitstrahl .jahr {
  margin: 0 0 4px; font-size: 14.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #78a0a8;
}
.zeitstrahl .station h3 { margin-top: 0; }
@media (max-width: 820px) {
  .zeitstrahl::before { left: 20px; top: 66px; bottom: 66px; }
  .zeitstrahl .station, .zeitstrahl .station.st-l, .zeitstrahl .station.st-r {
    width: auto; min-height: 0; margin: 0 0 30px 40px !important; padding: 0 0 0 6px; text-align: left;
    overflow-wrap: break-word; hyphens: auto;
  }
  .zeitstrahl .st-l::after, .zeitstrahl .st-r::after { left: -28px; right: auto; }
  .zeitstrahl-feld { padding-left: 22px !important; padding-right: 22px !important; }
}

/* Startseite: Texte auf den Bildhälften */
.start-split .start-kicker { font-family: 'Oooh Baby', cursive; font-size: clamp(34px, 4.4vw, 52px); line-height: 1.05; margin: 0 0 6px; }
.start-split .start-titel { font-size: clamp(26px, 3vw, 36px); margin: 0 0 14px; }
.start-split .start-sub { font-size: clamp(15.5px, 1.4vw, 17.5px); line-height: 1.5; opacity: .95; margin: 0 0 26px; }
.start-split .wp-block-button__link { font-weight: 700; font-size: 17px; padding: 15px 32px; transition: background .18s, transform .18s; }
.start-split .wp-block-button__link:hover { transform: translateY(-2px); }
.start-split .wp-block-button__link:focus-visible { outline-color: #fff; outline-offset: 3px; }
.page-template-page-start .wp-site-blocks { display: flex; flex-direction: column; min-height: 100svh; }
.page-template-page-start main { flex: 1; display: flex; flex-direction: column; }
.page-template-page-start .wp-block-post-content, .page-template-page-start .start-split { flex: 1; }
@media (max-width: 781px) { .start-split { flex-direction: column; } }

/* Yoga-Seite: Kurskarten (Bild oben, Kurse als Liste mit Trennlinie) */
.kurskarte { overflow: hidden; }
.kurskarte > .wp-block-image { margin: 0; }
.kurs { border-top: 1px solid #e3edf1; }
.kurs-fuss { border-top: 1px solid #e3edf1; }
.yoga-foto { max-width: 340px; margin-left: auto; margin-right: auto; }
.mit-deko.yoga-foto .wp-block-image:not(.deko-ecke) { margin: 0; }
@media (max-width: 820px) {
  .kurse-gitter { grid-template-columns: 1fr !important; }
}

/* Kein Abstand zwischen Kopf, Inhalt und Fuß – die Abschnitte bringen ihre eigenen Abstände mit */
.wp-site-blocks > * { margin-block-start: 0; }
.start-split > .wp-block-column { margin: 0 !important; }
@media (max-width: 781px) { .start-split { row-gap: 6px !important; } }


/* Yoga-Seite Ergänzungen */
.yoga-h1 { font-size: 44px; line-height: 1.15; }
.yoga-h1 em { font-size: 52px; line-height: 1.1; }
.wp-block-image.lotus { margin: 0 auto 14px -10px !important; max-width: 60%; }
.wp-block-image.lotus img { height: auto; }
.kurskarte .wp-block-image img { border-radius: 0 !important; width: 100%; }
@media (max-width: 820px) {
  .yoga-h1 { font-size: 32px; } .yoga-h1 em { font-size: 44px; }
  .yoga-text, .kurse-gitter p { font-size: 16.5px !important; }
  .kurse-gitter h4 { font-size: 19px !important; }
}

/* Rechtstexte (Vorlage „Seite“): ruhigere Überschriften */
.rechtstext h2 { font-size: clamp(22px, 2.4vw, 28px); margin-top: 2em; }
.rechtstext h3 { font-size: 20px; margin-top: 1.6em; }
.rechtstext h4 { font-size: 18px; }
.rechtstext .wp-block-post-title { margin-bottom: .6em; }

/* Kontaktformular (Contact Form 7) im Stil der Vorschau */
.formular .wpcf7-form { display: flex; flex-direction: column; gap: 18px; }
.formular .wpcf7-form > p { margin: 0; }
.formular label { display: flex; flex-direction: column; gap: 6px; font-size: 16px; font-weight: 600; color: #282c64; }
.formular .wpcf7-form-control-wrap { display: block; }
.formular input[type=text], .formular input[type=email], .formular select, .formular textarea {
  width: 100%; border: none; border-radius: 12px; padding: 13px 14px; background: #fff;
  font: 17px 'Source Sans 3', sans-serif; color: #181716;
}
.formular textarea { resize: vertical; min-height: 110px; }
.formular .wpcf7-not-valid { box-shadow: inset 0 0 0 2px #a4322c; }
.formular .wpcf7-not-valid-tip { color: #a4322c; font-size: 14px; font-weight: 400; margin-top: 4px; }
.formular .ds-zeile, .formular .ds-zeile label { font-size: 15px; line-height: 1.5; font-weight: 400; color: #181716; }
.formular .wpcf7-acceptance label { flex-direction: row; align-items: flex-start; gap: 12px; }
.formular .wpcf7-acceptance input { width: 20px; height: 20px; margin-top: 1px; flex: 0 0 auto; accent-color: #3c68a0; }
.formular .wpcf7-list-item { margin: 0; }
.formular .ds-zeile a { color: #282c64; }
.formular .wpcf7-submit {
  width: 100%; border: none; border-radius: 999px; padding: 17px 24px; cursor: pointer;
  background: #f6e0a4; color: #282c64; font: 600 18px 'Source Sans 3', sans-serif;
}
.formular .wpcf7-submit:hover { background: #edc96b; }
.formular .wpcf7-submit:disabled { opacity: .55; cursor: not-allowed; }
.formular .wpcf7-spinner { margin: 8px auto 0; display: block; }
.formular .wpcf7-response-output { margin: 0 !important; padding: 0 !important; border: none !important; font-size: 16px; color: #a4322c; }
.formular .wpcf7-form.sent .wpcf7-response-output { color: #2c6e49; }

/* Geschwungene Zeitstrahl-Linie (per einblenden.js gezeichnet) */
.zeitstrahl-kurve { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.zeitstrahl.mit-kurve::before { display: none; }

/* Über mich mobil: Zeitstrahl-Schrift wie im Original, Kennenlern-Kasten mit weniger Innenabstand */
@media (max-width: 820px) {
  .zeitstrahl .station h3 { font-size: 19px !important; line-height: 1.3; }
  .zeitstrahl .station p:not(.jahr) { font-size: 16px !important; line-height: 1.55; }
  .kennen-kasten { padding-left: 22px !important; padding-right: 22px !important; }
  .kennen-kasten .wp-block-button__link { padding-left: 24px; padding-right: 24px; }
}

/* Startseite: Burger-Menü nur auf Handy/Tablet, am Desktop bleibt der Namenszug wie im Original */
@media (min-width: 981px) { .start-menue { display: none !important; } }
@media (max-width: 980px) {
  .start-name { display: none; }
  .start-menue .wp-block-navigation__responsive-container-open svg { width: 30px; height: 30px; }
  .start-menue .wp-block-navigation__responsive-container.is-menu-open { padding: 24px 24px 40px; }
  .start-menue .is-menu-open .wp-block-navigation__responsive-container-content,
  .start-menue .is-menu-open .wp-block-navigation__container { align-items: flex-start !important; }
  .start-menue .is-menu-open .wp-block-navigation__container { gap: 22px !important; font-size: 22px; font-weight: 600; }
  .start-menue .is-menu-open .nur-mobil { margin-top: 12px; font-size: 18px; }
}
