/* =====================================================================
   Fokus Mensch Coaching – zentrales Stylesheet
   Farben und Schriften sind als Variablen definiert (siehe :root).
   ===================================================================== */

:root {
  --rot: #8c1518;          /* Markenrot aus dem Logo */
  --rot-dunkel: #6f1013;
  --grau: #777777;         /* Sekundärfarbe des alten Themes */
  --grau-hell: #f4f3f2;
  --grau-linie: #e3e0de;
  --text: #444444;
  --text-hell: #6b6b6b;
  --weiss: #ffffff;
  --schrift-titel: "Patua One", Georgia, "Times New Roman", serif;
  --schrift-text: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --breite: 1100px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--schrift-text);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--weiss);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rot); text-decoration: none; }
a:hover { color: var(--rot-dunkel); text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--schrift-titel);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.container { width: min(var(--breite), 100% - 2.5rem); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--rot); color: #fff; padding: .5rem 1rem; z-index: 999; }
.skip-link:focus { left: 1rem; }

/* ---------- Kopfbereich / Navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--grau-linie);
}
.site-header .container { display: flex; align-items: center; gap: 1.5rem; min-height: 78px; }
.logo img { height: 46px; width: auto; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--grau-linie); border-radius: var(--radius); padding: .5rem .7rem; cursor: pointer; font: inherit; color: var(--text); }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: .2rem; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .2rem; }
.site-nav a { display: block; padding: .5rem .7rem; color: var(--text); font-size: .95rem; letter-spacing: .01em; border-radius: var(--radius); }
.site-nav a:hover, .site-nav a:focus { color: var(--rot); text-decoration: none; background: var(--grau-hell); }
.site-nav .btn { margin-left: .6rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: .7rem 1.4rem; border-radius: var(--radius);
  background: var(--rot); color: #fff !important; font-weight: 500; font-size: .95rem;
  border: 2px solid var(--rot); cursor: pointer; font-family: inherit; line-height: 1.3;
  transition: background .15s, color .15s, border-color .15s;
}
.btn:hover, .btn:focus { background: var(--rot-dunkel); border-color: var(--rot-dunkel); text-decoration: none; }
.btn-hell { background: transparent; color: #fff !important; border-color: #fff; }
.btn-hell:hover, .btn-hell:focus { background: #fff; color: var(--rot) !important; }
.btn-rand { background: transparent; color: var(--rot) !important; }
.btn-rand:hover, .btn-rand:focus { background: var(--rot); color: #fff !important; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(78vh, 720px); display: grid; place-items: center; text-align: center;
  color: #fff; background: #333 url("../img/header-steine.jpg") center / cover no-repeat; isolation: isolate;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(20,20,20,.35), rgba(20,20,20,.6)); z-index: -1; }
.hero .container { padding: 5rem 0; max-width: 820px; }
.hero .vorzeile { font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; opacity: .9; margin-bottom: 1rem; }
.hero h1 { color: #fff; margin-bottom: 1.6rem; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.hero .aktionen { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: 5rem 0; }
.abschnitt-grau { background: var(--grau-hell); }
.vorzeile { color: var(--grau); text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; margin-bottom: .4rem; }
.abschnitt-kopf { max-width: 760px; margin-bottom: 2.5rem; }
.abschnitt-kopf.mittig { margin-inline: auto; text-align: center; }
.einleitung { font-size: 1.15rem; color: var(--text-hell); }
.seitenteiler { height: 70px; background: var(--rot) url("../img/seitenteiler.png") center / auto 100% repeat-x; }

/* Das bin ich */
.person { display: grid; grid-template-columns: minmax(260px, 2fr) 3fr; gap: 3rem; align-items: start; }
.person figure { margin: 0; }
.person img { border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.person figcaption { font-size: .9rem; color: var(--text-hell); margin-top: .6rem; }
.zitat-klein { font-family: var(--schrift-titel); font-size: 1.25rem; color: var(--rot); margin-bottom: 1.2rem; }
.merkmale { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.merkmale li { padding: 1rem 1.2rem; background: var(--grau-hell); border-left: 4px solid var(--rot); border-radius: 0 var(--radius) var(--radius) 0; }
.merkmale strong { display: block; font-family: var(--schrift-titel); font-weight: 400; font-size: 1.1rem; margin-bottom: .2rem; }
.mitgliedschaften { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--grau-linie); }
.mitglieder { display: flex; flex-wrap: wrap; gap: 2.5rem; align-items: center; }
.mitglied { display: flex; align-items: center; gap: 1.2rem; }
.mitglied img { height: 90px; width: auto; }
.mitglied span { display: block; font-size: .9rem; color: var(--text-hell); }

/* Leistungen */
.karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.karte { background: #fff; border: 1px solid var(--grau-linie); border-top: 4px solid var(--rot); border-radius: var(--radius); padding: 1.8rem; }
.karte h3 { margin-bottom: .8rem; }
.karte ul { margin: 0; padding-left: 1.1em; }
.karte li { margin-bottom: .3rem; }

/* Zitatband */
.band {
  position: relative; color: #fff; text-align: center; padding: 6rem 0; isolation: isolate;
  background: #333 url("../img/header-weg.jpg") center / cover no-repeat;
}
.band::before { content: ""; position: absolute; inset: 0; background: rgba(140,21,24,.72); z-index: -1; }
.band p.gross { font-family: var(--schrift-titel); font-size: clamp(1.6rem, 3.5vw, 2.6rem); line-height: 1.25; margin: 0 0 .5rem; }
.band p { max-width: 720px; margin-inline: auto; }
.band .btn { margin-top: 1.2rem; }

/* Termine */
.termine-box { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; background: #fff; border: 1px solid var(--grau-linie); border-radius: var(--radius); padding: 2rem; }
.kalender { min-height: 600px; margin-top: 2rem; }

/* Blog */
.beitraege { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.beitrag { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--grau-linie); border-radius: var(--radius); padding: 1.6rem; }
.beitrag h3 { font-size: 1.2rem; }
.beitrag h3 a { color: var(--text); }
.beitrag h3 a:hover { color: var(--rot); text-decoration: none; }
.beitrag p { color: var(--text-hell); font-size: .97rem; flex: 1; }
.beitrag .weiter { font-weight: 500; }
.artikel { max-width: 760px; margin-inline: auto; }
.artikel .meta { color: var(--grau); font-size: .9rem; margin-bottom: 1.5rem; }
.artikel p { font-size: 1.05rem; }
.artikel ul { margin-bottom: 1.2em; }
.artikel-nav { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--grau-linie); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* Mediathek */
.medien { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.5rem; }
.medium { background: #fff; border: 1px solid var(--grau-linie); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.medium img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-bottom: 1px solid var(--grau-linie); }
.medium .inhalt { padding: 1.2rem; display: flex; flex-direction: column; flex: 1; }
.medium h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.medium .art { color: var(--grau); font-size: .85rem; margin-bottom: .5rem; }
.medium p { font-size: .95rem; color: var(--text-hell); flex: 1; }
.medium .btn { align-self: flex-start; padding: .5rem 1rem; font-size: .9rem; }

/* Kontakt */
.kontakt-raster { display: grid; grid-template-columns: 3fr 2fr; gap: 3rem; align-items: start; }
.formular label { display: block; font-weight: 500; margin-bottom: .3rem; font-size: .95rem; }
.formular input, .formular textarea {
  width: 100%; padding: .75rem .9rem; border: 1px solid #cfcbc9; border-radius: var(--radius);
  font: inherit; color: var(--text); background: #fff; margin-bottom: 1.1rem;
}
.formular input:focus, .formular textarea:focus { outline: 2px solid var(--rot); outline-offset: 1px; border-color: var(--rot); }
.formular textarea { min-height: 160px; resize: vertical; }
.formular .hinweis { font-size: .85rem; color: var(--text-hell); margin-top: .8rem; }
.versteckt { position: absolute; left: -9999px; }
.kontakt-karte { background: var(--grau-hell); border-radius: var(--radius); padding: 1.8rem; }
.kontakt-karte img { border-radius: var(--radius); margin-bottom: 1.2rem; }
.kontakt-karte h3 { margin-bottom: .3rem; }
.kontakt-karte address { font-style: normal; margin-top: 1.2rem; line-height: 1.8; }
.kontakt-karte address span { display: block; }
.sozial { display: flex; gap: .6rem; margin-top: 1.2rem; }
.sozial a { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .8rem; border: 1px solid var(--grau-linie); border-radius: var(--radius); background: #fff; font-size: .9rem; color: var(--text); }
.sozial a:hover { border-color: var(--rot); color: var(--rot); text-decoration: none; }

/* Unterseiten */
.seitenkopf { background: var(--grau) url("../img/header-weg.jpg") center / cover no-repeat; color: #fff; padding: 4rem 0; position: relative; isolation: isolate; }
.seitenkopf::before { content: ""; position: absolute; inset: 0; background: rgba(40,40,40,.62); z-index: -1; }
.seitenkopf h1 { color: #fff; margin: 0; }
.seitenkopf p { margin: .5rem 0 0; opacity: .9; }
.rechtstext { max-width: 820px; }
.rechtstext h2 { font-size: 1.6rem; margin-top: 2.5rem; }
.rechtstext h3 { margin-top: 2rem; }
.rechtstext h4 { margin-top: 1.6rem; font-family: var(--schrift-text); font-weight: 700; font-size: 1rem; }
.rechtstext table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 1rem 0 1.5rem; display: block; overflow-x: auto; }
.rechtstext th, .rechtstext td { border: 1px solid var(--grau-linie); padding: .5rem .6rem; text-align: left; vertical-align: top; }
.rechtstext th { background: var(--grau-hell); }

/* Fußbereich */
.site-footer { background: var(--grau); color: #fff; padding: 2rem 0; font-size: .9rem; }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
.site-footer a { color: #fff; margin-left: 1.2rem; }
.site-footer a:first-child { margin-left: 0; }

/* ---------- Responsiv ---------- */
@media (max-width: 900px) {
  .person, .kontakt-raster { grid-template-columns: 1fr; }
  .termine-box { grid-template-columns: 1fr; }
  .abschnitt { padding: 3.5rem 0; }
}
@media (max-width: 820px) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--grau-linie); padding: .8rem 1.25rem 1.2rem; flex-direction: column; align-items: stretch; }
  .site-nav.offen { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { padding: .7rem .5rem; font-size: 1.05rem; }
  .site-nav .btn { margin: .8rem 0 0; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
