/* ==========================================================
   Praxis Raum 2 – Stylesheet
   Farben und Schriften hier zentral ändern.
   ========================================================== */

@font-face { font-family: "Jost"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/jost-300.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/jost-400.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/jost-500.woff2") format("woff2"); }

:root {
  --paper: #F1EEE6;   /* Hintergrund hell   */
  --light: #F8F6F1;   /* Kacheln / Namensleiste */
  --sage:  #E2E4D5;   /* Salbeigrün          */
  --ink:   #3F4A2E;   /* Schrift / Linien    */
  --ink-dark: #26301A;
  --button: #5E6B4B;  /* Buttons             */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Jost", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--ink); }
a:hover { color: var(--ink-dark); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; background: var(--light); padding: 8px 14px; z-index: 100; }

/* ---------- Kopfzeile & Menü ---------- */
.site-header {
  max-width: 1200px; margin: 0 auto; padding: 28px 24px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  position: relative;
}
.site-header .spacer { width: 44px; height: 44px; }
.address { margin: 0; font-size: 14px; letter-spacing: 0.22em; text-align: center; }
.address a { text-decoration: none; }
.menu-button {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  background: none; border: none; color: var(--ink); cursor: pointer; padding: 0;
}
.menu {
  display: none; position: absolute; right: 24px; top: 80px; z-index: 50;
  background: var(--light); border-radius: 16px; padding: 12px 0; min-width: 240px;
  box-shadow: 0 12px 32px rgba(38, 48, 26, 0.12);
}
.menu.open { display: block; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu a {
  display: block; padding: 12px 24px; text-decoration: none;
  font-size: 15px; letter-spacing: 0.16em;
}
.menu a:hover { background: var(--sage); }

/* ---------- Titel ---------- */
.hero { max-width: 1200px; margin: 0 auto; padding: 36px 24px 48px; text-align: center; }
.hero h1 {
  margin: 0; font-size: clamp(44px, 8vw, 104px); line-height: 1.05;
  letter-spacing: 0.06em; font-weight: 300; text-wrap: balance;
}
.hero h1 strong { font-weight: 500; }
.hero p { margin: 14px 0 0; font-size: clamp(20px, 2.4vw, 32px); letter-spacing: 0.04em; }

/* ---------- Fotos ---------- */
.photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.photos img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------- Namensleiste ---------- */
.names { background: var(--light); padding: 32px 0; }
.names-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.names a {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  gap: 14px; padding: 8px 12px; text-decoration: none; text-align: center;
  font-size: clamp(15px, 2.4vw, 32px); letter-spacing: 0.14em; line-height: 1.25;
}
.names a:nth-child(2) { border-left: 1px solid var(--ink); border-right: 1px solid var(--ink); }
.names a:hover .mandala { transform: rotate(45deg); }
.mandala { transition: transform 0.6s ease; flex: none; }

/* ---------- Abschnitte allgemein ---------- */
.section { padding: 88px 24px; }
.section--sage { background: var(--sage); }
.section--paper { background: var(--paper); }
.container { max-width: 1100px; margin: 0 auto; }
.container--wide { max-width: 1240px; }
.section-title {
  margin: 0; text-align: center; font-size: clamp(34px, 4.1vw, 59px);
  font-weight: 500; line-height: 1.25;
}

/* ---------- Intro ---------- */
.intro { padding: 72px 24px 80px; text-align: center; }
.intro h2 { margin: 0; font-size: clamp(26px, 3vw, 40px); font-weight: 400; line-height: 1.25; text-wrap: balance; }
.intro .lead {
  margin: 22px auto 0; max-width: 820px; font-size: clamp(20px, 2.3vw, 30px);
  font-weight: 300; line-height: 1.45; text-wrap: balance;
}
.values {
  list-style: none; margin: 56px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; row-gap: 32px;
}
.values li {
  flex: 1 1 170px; display: flex; flex-direction: column; align-items: center;
  gap: 16px; padding: 4px 12px; font-size: 15px; letter-spacing: 0.18em;
}

.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 36px; background: var(--button); color: #F8F6F1;
  text-decoration: none; font-size: 16px; letter-spacing: 0.18em;
}
.button:hover { background: var(--ink); color: #F8F6F1; }
.intro .button { margin-top: 56px; }

/* ---------- Angebote ---------- */
.offers {
  margin-top: 48px; display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
}
.offer {
  background: var(--light); border-radius: 20px; padding: 40px 24px;
  display: flex; align-items: center; justify-content: center;
}
.offer h3 {
  margin: 0; font-size: clamp(22px, 2vw, 27px); font-weight: 500;
  line-height: 1.3; text-wrap: balance; text-align: center;
}

/* ---------- Team ---------- */
.team { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 48px 32px; }
.person {
  flex: 1 1 300px; display: flex; flex-direction: column; align-items: center;
  gap: 18px; text-align: center; scroll-margin-top: 24px;
}
.portrait {
  position: relative; width: min(100%, 300px); aspect-ratio: 1 / 1;
  border-radius: 50%; overflow: hidden; background: var(--paper);
}
.portrait img { position: absolute; display: block; height: auto; max-width: none; }
.person h3 { margin: 0; font-size: 22px; font-weight: 500; letter-spacing: 0.12em; line-height: 1.3; }
.person .role { margin: 0; font-size: 18px; font-weight: 500; letter-spacing: 0.04em; }
.person .bio { margin: 0; font-size: 17px; font-weight: 300; }

/* ---------- Verlinkte Fotos & Namen ---------- */
.photo-link { display: block; overflow: hidden; }
.photo-link img { transition: transform 0.6s ease; }
.photo-link:hover img { transform: scale(1.03); }
.person h3 a { text-decoration: none; }
.person h3 a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
a.portrait { display: block; }

/* ---------- Aktuelles ---------- */
.news { padding-bottom: 40px; }
.event {
  margin: 48px auto 0; max-width: 900px; background: var(--light); border-radius: 20px;
  padding: 40px; display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start;
}
.event-date {
  margin: 0; flex: none; width: 120px; height: 120px; border-radius: 50%;
  background: var(--sage); display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.event-day { font-size: 44px; font-weight: 500; line-height: 1; }
.event-month { font-size: 13px; letter-spacing: 0.16em; margin-top: 6px; }
.event-body { flex: 1 1 320px; }
.event-body h3 { margin: 0; font-size: clamp(26px, 2.6vw, 34px); font-weight: 500; }
.event-meta { margin: 8px 0 0; font-size: 16px; letter-spacing: 0.04em; }
.event-body p { font-size: 18px; font-weight: 300; }
.event-body .button { margin-top: 12px; }
.placeholder-inline { background: #FFF3C4; padding: 0 4px; }

/* ---------- Kontakt ---------- */
.contact { text-align: center; }
.contact .container { max-width: 720px; }
.contact h2 { margin: 0; font-size: clamp(26px, 3vw, 40px); font-weight: 400; line-height: 1.25; }
.contact p { margin: 20px 0 0; font-size: 19px; font-weight: 300; }
.contact .button { margin-top: 36px; }

/* ---------- Fußzeile ---------- */
.site-footer {
  padding: 28px 24px; background: var(--sage);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px;
  font-size: 14px; letter-spacing: 0.12em;
}
.site-footer a { text-decoration: none; }

/* ---------- Unterseiten (Impressum, Datenschutz) ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 48px 24px 96px; }
.legal h1 { font-size: clamp(32px, 4vw, 48px); font-weight: 500; margin: 0 0 32px; }
.legal h2 { font-size: 24px; font-weight: 500; margin: 40px 0 12px; }
.legal h3 { font-size: 19px; font-weight: 500; margin: 28px 0 8px; }
.legal p, .legal li { font-size: 17px; font-weight: 300; }
.legal .back { display: inline-block; margin-bottom: 32px; font-size: 15px; letter-spacing: 0.14em; text-decoration: none; }
.placeholder { background: #FFF3C4; padding: 0 4px; }

/* ---------- Handy ---------- */
@media (max-width: 640px) {
  .address { font-size: 11px; letter-spacing: 0.14em; }
  .names a { letter-spacing: 0.06em; padding: 6px 4px; }
  .mandala { width: 32px; height: 32px; }
  .section { padding: 64px 20px; }
}
