/* ==========================================================
   isolde-tappeiner.at – gemeinsames Stylesheet für alle Seiten
   Farben und Schriften zentral oben unter :root ändern.
   ========================================================== */

/* Schriften liegen im Ordner fonts/ (kein Google-Server nötig) */
@font-face { font-family: "Merriweather"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("fonts/merriweather-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Merriweather"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/merriweather-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Merriweather"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/merriweather-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/lato-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/lato-latin-700-normal.woff2") format("woff2"); }

:root {
  --orange: #eb8113;          /* Seitentitel, große Zwischentexte */
  --orange-dunkel: #be5d1c;   /* Überschriften, Knöpfe */
  --hero-titel: #e1752c;      /* Titel in der weißen Box oben */
  --aktiv: #e79259;           /* aktiver Menüpunkt */
  --mail: #924715;            /* Links im Text */
  --text: #666666;
  --grau: #f2f2f2;            /* Seitenhintergrund */
  --breite: 980px;            /* Breite der Inhaltsspalte */
  --serif: "Merriweather", Georgia, "Times New Roman", serif;
  --sans: "Lato", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--grau);
}
img { max-width: 100%; height: auto; }
a { color: var(--mail); }
a:hover { color: var(--orange-dunkel); }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 20; background: #fff; padding: .6rem 1rem; }
.skip-link:focus { left: .5rem; top: .5rem; }

/* ---------- Kopfzeile & Menü ---------- */
.kopf { background: #fff; text-align: center; padding: 2.5rem 20px 2.75rem; }
.seitentitel {
  display: inline-block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 5.2vw, 2.65rem);
  line-height: 1.2;
  color: var(--orange);
  text-decoration: none;
}
.seitentitel:hover { color: var(--orange); }

.hauptmenue ul {
  list-style: none; margin: 1.75rem 0 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem .6rem;
}
.hauptmenue a {
  display: block; padding: .45rem .75rem; border-radius: 3px;
  font-size: 1rem; letter-spacing: .02em; text-transform: uppercase;
  text-decoration: none; color: #737373;
}
.hauptmenue a:hover { color: var(--orange); }
.hauptmenue a[aria-current="page"] { background: var(--aktiv); color: #fff; }

.menue-knopf { display: none; }

/* ---------- Startbereich mit Hintergrundbild ---------- */
.held {
  background: #6d3432 url("bilder/hero-hintergrund.jpg") center / cover no-repeat;
  padding: 3.3rem 20px 3.25rem;
}
.held-box {
  width: 100%; max-width: var(--breite); margin: 0 auto;
  background: #fff; text-align: center; padding: .6rem 1.5rem 1.7rem;
}
.held-box h1 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.6rem, 4.6vw, 2.2rem); line-height: 1.3;
  color: var(--hero-titel); margin: .2rem 0 1.1rem;
}
.held-box p { margin: 0 0 1rem; line-height: 1.5; }
.held-box .mail { margin-top: 2.5rem; margin-bottom: 0; }
.held-box .mail a { display: inline-block; margin: 0 .25rem; font-weight: 700; color: var(--mail); }
.held-herz { display: block; width: 168px; height: auto; margin: 3.6rem auto 0; }

/* ---------- Inhaltsbereiche ---------- */
.spalte { max-width: var(--breite); margin: 0 auto; padding: 0 20px; }
.bereich { padding: 2.5rem 0 1rem; }
.bereich:last-of-type { padding-bottom: 3.5rem; }

audio { display: block; width: 100%; max-width: 640px; margin: 0 auto 2.5rem; }

.intro { display: grid; grid-template-columns: 1fr 1.08fr; gap: 3rem; align-items: start; }
.betont {
  font-family: var(--serif); font-weight: 300; font-size: 1.2rem; line-height: 1.4;
  color: var(--orange); margin: 0 0 1.2rem;
}
.unterschrift { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; color: var(--orange); margin-top: 1.6rem; }
.intro figure { margin: 0; }
.intro img { display: block; width: 100%; }

h2 {
  font-family: var(--serif); font-weight: 400; color: var(--orange-dunkel);
  font-size: clamp(1.35rem, 3.8vw, 1.75rem); line-height: 1.3;
  text-align: center; margin: 3rem 0 1rem;
}
h2.links { text-align: left; }

.knopf {
  display: inline-block; padding: .75rem 1.75rem; border-radius: 3px;
  background: var(--orange-dunkel); color: #fff; text-decoration: none;
  font-weight: 700; letter-spacing: .03em;
}
.knopf:hover { background: var(--orange); color: #fff; }
.knopf-zeile { text-align: center; margin: 2.25rem 0; }

/* Bildreihen für Buchcover */
.galerie {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start;
  gap: 1.5rem; margin: 2rem 0;
}
.galerie figure { margin: 0; }
.galerie img { display: block; width: auto; height: auto; max-width: 100%; max-height: 480px; }
.galerie.gross img { max-height: 560px; }

.hinweis { text-align: center; font-family: var(--serif); font-weight: 300; font-size: 1.15rem; color: var(--orange); margin: 1rem 0 0; }

.lesetext { max-width: 780px; margin: 0 auto; font-size: 1.0625rem; line-height: 1.75; }
.lesetext p { margin: 0 0 1.25rem; }
.lesetext .titel-fett { font-weight: 700; color: #6d6d6d; font-size: 1.15rem; }
.lesetext .gruss { margin-top: 2rem; }

.liste { list-style: none; max-width: 780px; margin: 1.5rem auto 0; padding: 0; }
.liste li {
  font-family: var(--serif); font-size: 1rem; line-height: 1.6; color: #555;
  padding: .15rem 0 .15rem 1rem; margin-bottom: 1rem; border-left: 3px solid var(--aktiv);
}

/* ---------- Fußzeile ---------- */
.fuss { text-align: center; padding: 2.5rem 20px 3rem; font-size: .9rem; border-top: 1px solid #dedede; }
.fuss ul { list-style: none; margin: 0 0 1.25rem; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1.25rem; }
.fuss a { color: #737373; text-decoration: none; }
.fuss a:hover { color: var(--orange); text-decoration: underline; }
.fuss p { margin: 0; }

/* ---------- Handy & Tablet ---------- */
@media (max-width: 860px) {
  .js .menue-knopf {
    display: inline-block; margin-top: 1.25rem; padding: .6rem 1.4rem;
    font: 700 1rem var(--sans); letter-spacing: .04em; text-transform: uppercase;
    color: #fff; background: var(--aktiv); border: 0; border-radius: 3px; cursor: pointer;
  }
  .js .hauptmenue { display: none; }
  .js .hauptmenue.offen { display: block; }
  .hauptmenue ul { flex-direction: column; align-items: stretch; margin-top: 1rem; gap: 0; }
  .hauptmenue a { padding: .8rem 1rem; }
}
@media (max-width: 760px) {
  .intro { grid-template-columns: 1fr; gap: 1.5rem; }
  .held { padding: 2rem 14px; }
  .held-box { padding: .6rem 1rem 1.4rem; }
  .held-herz { margin-top: 2rem; }
  .galerie img { max-height: 400px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Unterseiten (Kindheit, Beratungen, …) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.seite { padding: 2.5rem 0 3.5rem; }
.seite h2 { text-transform: uppercase; font-size: clamp(1.2rem, 3.4vw, 1.5rem); margin: 3rem 0 1.25rem; }
.seite h2:first-of-type { margin-top: 2rem; }
.seite h3 { font-family: var(--serif); font-weight: 400; color: var(--orange-dunkel); text-align: center; font-size: 1.2rem; margin: 2.5rem 0 1rem; }
.seitentext { max-width: 780px; margin: 0 auto; font-family: var(--serif); font-weight: 300; font-size: 1.05rem; line-height: 1.85; color: #5f5f5f; }
.seitentext p { margin: 0 0 1.4rem; }
.seitentext .einstieg { font-size: 1.15rem; text-align: center; color: var(--orange-dunkel); }
.mittelbild { margin: 2rem auto; text-align: center; }
.mittelbild img { display: block; margin: 0 auto; max-width: 100%; height: auto; }
.mittelbild.breit img { width: 100%; max-width: 780px; }
.grafiktext { max-width: 780px; margin: 1rem auto 0; font-size: .95rem; line-height: 1.7; }
.grafiktext summary { cursor: pointer; color: var(--mail); }
.grafiktext p { margin: .75rem 0 0; }

/* ---------- Kontaktseite ---------- */
.kontakt { max-width: 880px; margin: 0 auto; }
.kontakt h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 5vw, 2.3rem); color: var(--hero-titel); margin: 1.5rem 0 1.25rem; text-align: left; }
.kontakt-raster { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.3rem; align-items: start; }
.kontakt-raster > img { display: block; width: 100%; height: 100%; max-height: 420px; object-fit: cover; }

.formular label { display: block; font-size: .9rem; margin: 0 0 .35rem; }
.formular input[type="text"], .formular input[type="email"], .formular textarea {
  display: block; width: 100%; margin: 0 0 1.1rem; padding: .55rem .6rem;
  font: inherit; color: #444; background: #e8e8e8; border: 2px solid transparent; border-radius: 0;
}
.formular input:focus, .formular textarea:focus { outline: none; border-color: var(--orange); background: #fff; }
.formular textarea { min-height: 7rem; resize: vertical; }
.formular button {
  padding: .65rem 1.2rem; font: inherit; font-weight: 700; color: #fff;
  background: var(--orange-dunkel); border: 0; border-radius: 3px; cursor: pointer;
}
.formular button:hover { background: var(--orange); }
.formular button[disabled] { opacity: .6; cursor: progress; }
.formular .datenschutz-hinweis { font-size: .8rem; line-height: 1.5; margin: 0 0 1rem; }
.formular-status { margin: 1rem 0 0; font-weight: 700; }
.formular-status.ok { color: #2e7d32; }
.formular-status.fehler { color: #b3261e; }

.standort h2 { text-align: left; text-transform: none; font-size: 1.45rem; color: var(--hero-titel); margin: 1rem 0 .75rem; }
.karte { background: #e4e4e4; min-height: 268px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 1rem; font-size: .85rem; }
.karte button { margin-top: .75rem; padding: .55rem 1.1rem; font: inherit; font-weight: 700; color: #fff; background: var(--orange-dunkel); border: 0; border-radius: 3px; cursor: pointer; }
.karte button:hover { background: var(--orange); }
.karte iframe { display: block; width: 100%; height: 268px; border: 0; }
.symbole { list-style: none; margin: 0; padding: 0; display: flex; gap: .5rem; }
.symbole a { display: block; width: 38px; height: 38px; border-radius: 4px; }
.symbole svg { display: block; width: 100%; height: 100%; }
.trennlinie { border: 0; border-top: 1px solid #dedede; margin: 3rem 0 2rem; }
.knopf-gross { font-size: 1.3rem; padding: .8rem 2rem; }

@media (max-width: 760px) {
  .kontakt-raster { grid-template-columns: 1fr; }
  .kontakt-raster > img { max-height: 300px; }
}

/* ---------- Beratungen ---------- */
.seite h1.seitenueberschrift { font-family: var(--serif); font-weight: 400; text-transform: uppercase; text-align: center; color: var(--orange-dunkel); font-size: clamp(1.25rem, 3.6vw, 1.75rem); line-height: 1.35; margin: 1.5rem 0 1.5rem; }
.seite h2.fliess { text-transform: none; text-align: left; font-size: 1.2rem; margin: 2.25rem auto 1rem; max-width: 780px; }
.seitentext.orange { color: var(--orange-dunkel); }
.seitentext.einleitung { font-size: 1.15rem; text-align: center; }
.zweispaltig { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: start; max-width: 780px; margin: 0 auto; }
.zweispaltig figure { margin: 0; }
.zweispaltig img { display: block; width: 100%; height: auto; }
@media (max-width: 760px) { .zweispaltig { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ---------- Autorenseite ---------- */
.seite h1.seitenueberschrift.gross { text-transform: none; font-weight: 300; color: var(--hero-titel); font-size: clamp(1.6rem, 4.6vw, 2.2rem); margin-bottom: .5rem; }
.untertitel { text-align: center; font-family: var(--serif); font-size: 1.3rem; color: var(--orange); margin: 0 0 2rem; }
.seite h2.links { text-align: left; }
.seitentext a { color: var(--mail); }

/* ---------- Videos & Orakel ---------- */
.orakel { max-width: 780px; margin: 1.5rem auto 0; text-align: center; background: #fff; padding: 2rem 1.5rem; border-top: 4px solid var(--aktiv); }
.orakel h2 { margin: 0 0 .5rem; text-transform: none; }
.orakel .frage { font-family: var(--serif); font-weight: 300; margin: 0 0 1.25rem; }
.orakel-ergebnis { min-height: 5rem; margin: 1.5rem auto 0; max-width: 600px; }
.orakel-ergebnis .karte-titel { font-family: var(--serif); font-size: 1.4rem; color: var(--hero-titel); margin: 0 0 .5rem; }
.orakel-ergebnis p { margin: 0; line-height: 1.7; }
.warnhinweis { max-width: 780px; margin: 1.5rem auto 0; padding: 1rem 1.25rem; border-left: 4px solid var(--aktiv); background: #fff; font-size: .9rem; line-height: 1.6; }

.videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; max-width: 780px; margin: 1.5rem auto 0; }
.video { position: relative; aspect-ratio: 16 / 9; background: #14171c; color: #fff; overflow: hidden; }
.video > a, .video > iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video > a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; text-decoration: none; color: #fff; background: radial-gradient(circle at 50% 40%, #3a4150, #14171c 70%); }
.video > a:hover { background: radial-gradient(circle at 50% 40%, #4a5368, #14171c 70%); }
.video .play { width: 56px; height: 56px; border-radius: 50%; background: var(--aktiv); display: grid; place-items: center; }
.video .play::before { content: ""; margin-left: 5px; border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.video .video-name { font-size: .9rem; letter-spacing: .03em; }
.hinweis-klein { text-align: center; font-size: .8rem; margin: .75rem auto 0; max-width: 780px; }
.kanal { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: 2rem auto 0; }
.kanal img { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; }
.liste-schlicht { margin: 0 0 1.4rem; padding-left: 1.25rem; }
.liste-schlicht li { margin-bottom: .6rem; }
.zitat-box { text-align: center; font-style: italic; padding: 1rem 1.5rem; margin: 1.5rem 0; border-top: 1px solid #dcdcdc; border-bottom: 1px solid #dcdcdc; }
@media (max-width: 640px) { .videos { grid-template-columns: 1fr; } }

/* ---------- Galerie (Bilder) ---------- */
.galerie-raster { list-style: none; margin: 1.5rem auto 0; padding: 0; max-width: 900px; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .75rem; align-items: start; }
.galerie-raster figure { margin: 0; }
.galerie-raster a { display: block; aspect-ratio: 1; overflow: hidden; background: #ddd; }
.galerie-raster img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: transform .25s; }
.galerie-raster a:hover img, .galerie-raster a:focus-visible img { transform: scale(1.05); }
.galerie-raster figcaption { font-family: var(--serif); font-weight: 300; font-size: .85rem; line-height: 1.4; padding: .4rem .1rem 0; color: #555; }
.lightbox { border: 0; padding: 0; background: #111; color: #fff; max-width: min(94vw, 1100px); max-height: 94vh; width: auto; overflow: hidden; }
.lightbox::backdrop { background: rgba(0,0,0,.8); }
.lightbox-inhalt { display: flex; flex-direction: column; align-items: center; padding: 2.75rem 3.25rem 1.25rem; }
.lightbox img { display: block; min-width: min(280px, 85vw); max-width: 100%; max-height: 74vh; width: auto; height: auto; }
.lightbox p { margin: .75rem 0 0; font-family: var(--serif); font-weight: 300; text-align: center; min-height: 1.5em; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; cursor: pointer; font: 400 1.6rem/1 var(--sans); width: 2.6rem; height: 2.6rem; border-radius: 50%; }
.lightbox button:hover, .lightbox button:focus-visible { background: var(--aktiv); }
.lb-zu { top: .6rem; right: .6rem; }
.lb-zurueck { left: .5rem; top: 50%; transform: translateY(-50%); }
.lb-weiter { right: .5rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lightbox-inhalt { padding: 3rem .5rem 1rem; } .lb-zurueck, .lb-weiter { top: auto; bottom: .5rem; transform: none; } }

/* ---------- Blog-Übersicht ---------- */
.beitraege { list-style: none; max-width: 780px; margin: 1.5rem auto 0; padding: 0; }
.beitraege li { background: #fff; padding: 1.4rem 1.75rem 1.5rem; margin: 0 0 1rem; border-left: 4px solid var(--aktiv); }
.beitraege h2 { text-align: left; text-transform: none; font-size: 1.35rem; line-height: 1.35; margin: 0 0 .2rem; }
.beitraege h2 a { color: var(--orange-dunkel); text-decoration: none; }
.beitraege h2 a:hover { color: var(--orange); text-decoration: underline; }
.beitraege time { display: block; font-size: .85rem; color: #8a8a8a; margin-bottom: .6rem; }
.beitraege p { margin: 0 0 .8rem; font-family: var(--serif); font-weight: 300; line-height: 1.7; }
.beitraege .weiter { font-weight: 700; font-size: .95rem; text-decoration: none; }
.beitraege .weiter:hover { text-decoration: underline; }

/* ---------- Blog-Beiträge ---------- */
.brotkrumen { max-width: 780px; margin: 0 auto 1.5rem; font-size: .85rem; color: #8a8a8a; }
.brotkrumen a { color: #8a8a8a; }
.beitrag .seitenueberschrift.gross { margin-top: .5rem; }
.veroeffentlicht { text-align: center; font-size: .85rem; color: #8a8a8a; margin: 0 0 2rem; }
.beitrag .seitentext p { margin: 0 0 1.1rem; }
.beitrag h2 { text-transform: none; text-align: left; font-size: 1.25rem; max-width: 780px; margin: 2.4rem auto 1rem; }
.signatur { font-family: var(--serif); font-style: italic; text-align: right; margin-top: 2rem; }
.beitrag-nav { max-width: 780px; margin: 2.5rem auto 0; padding-top: 1.25rem; border-top: 1px solid #dedede; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.beitrag-nav a { font-family: var(--serif); font-weight: 300; text-decoration: none; color: var(--mail); }
.beitrag-nav a:hover { text-decoration: underline; }
.beitrag-nav .weiter-beitrag { margin-left: auto; text-align: right; }

.seitentext .vers { margin-bottom: 1.4em; }

.beitraege .mit-bild { overflow: hidden; }
.beitraege .vorschau { float: right; width: 263px; aspect-ratio: 3/2; object-fit: cover; margin: 0 0 .8rem 1.5rem; }
.beitragsbild { margin: 0 0 1.5rem; text-align: center; }
.beitragsbild img { max-width: min(100%, 520px); height: auto; }
@media (max-width: 640px) { .beitraege .vorschau { float: none; width: 100%; margin: 0 0 1rem; } }

.rechtlich { max-width: 780px; margin: 0 auto; }
.rechtlich h2.fliess { margin-top: 2rem; }

.mail-block p { margin: 0 0 1rem; }
.mail-adresse { font-size: 1.1rem; font-weight: 700; word-break: break-all; }
.mail-block .knopf { display: inline-block; margin: 0 .4rem .5rem 0; }
.mail-block .knopf-hell { background: #fff; color: var(--orange-dunkel); border: 2px solid var(--orange-dunkel); cursor: pointer; font: inherit; font-weight: 700; padding: .55rem 1.1rem; }
.mail-block .knopf-hell:hover { background: var(--grau); }
.mail-status { font-weight: 700; color: #2e7d32; min-height: 1.4em; }
.mail-block .datenschutz-hinweis { font-size: .8rem; line-height: 1.5; }
