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

:root {
  --text: #212529;
  --text-soft: #7d8285;
  --accent: #0ea0ff;
  --accent-dark: #0c88d9;
  --alert: #dc3545;
  --border: #dee2e6;
  --panel: #eef4f7;
  --gradient: linear-gradient(120deg, #7f70f5, #0ea0ff);
  --width: 1140px;
}

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

body {
  margin: 0;
  font-family: Lato, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1; }
img { max-width: 100%; height: auto; }
a { color: var(--accent); }

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

/* Kopfzeile */
.site-header { background: var(--gradient); position: sticky; top: 0; z-index: 10; box-shadow: 0 1px 6px rgba(0,0,0,.15); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.logo img { display: block; height: 96px; width: auto; }

.site-nav ul { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 8px 16px; color: #fff; font-weight: 700; font-size: .9rem; text-decoration: none; }
.site-nav a:hover { opacity: .75; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }

.nav-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.7); border-radius: 6px; padding: 8px 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; }

@media (max-width: 767px) {
  .logo img { height: 64px; }
  .site-header .container { flex-wrap: wrap; }
  .js .nav-toggle { display: block; }
  .js .site-nav { display: none; width: 100%; }
  .js .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { padding: 12px 4px; border-top: 1px solid rgba(255,255,255,.3); }
}

/* Inhalt */
h1, h2, h3, h4 { line-height: 1.2; }
.page-title { text-align: center; text-transform: uppercase; font-size: 1.4rem; font-weight: 700; margin: 40px 0 40px; }
.lead { text-align: center; font-size: 1.25rem; font-weight: 400; margin: 40px 0 24px; }

/* Startseite: Ordinationen */
.ordinationen { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-bottom: 48px; border: 1px solid var(--border); border-radius: 6px; }
.ordination { padding: 24px 16px; text-align: center; font-weight: 300; font-size: 1.15rem; line-height: 1.6; }
.ordination + .ordination { border-left: 1px solid var(--border); }
.ordination h2 { font-size: 1.5rem; font-weight: 400; margin: 0 0 4px; }
.ordination h3 { font-size: 1.1rem; font-weight: 400; margin: 0 0 16px; }
.ordination h4 { font-size: 1.25rem; font-weight: 400; margin: 24px 0 8px; }
.ordination p { margin: 0 0 16px; }
.zeiten { list-style: none; margin: 0 0 16px; padding: 0; }
.zeiten li { margin-bottom: 14px; }
.zeiten strong { display: block; font-weight: 300; }
.hinweise { color: var(--alert); margin-top: 24px; }
.hinweise strong { display: block; font-weight: 400; font-size: 1.25rem; }
.hinweise p { margin: 0 0 14px; }
.btn { display: inline-block; padding: 6px 18px; background: var(--accent); color: #fff; font-weight: 400; font-size: .95rem; text-decoration: none; border-radius: 2em; }
.btn:hover { background: var(--accent-dark); }

@media (max-width: 767px) {
  .ordinationen { grid-template-columns: 1fr; }
  .ordination + .ordination { border-left: 0; border-top: 1px solid var(--border); }
}

/* Textseiten (Leistungen, Impressum) */
.text-block { max-width: 840px; margin: 0 auto 40px; }
.text-block h3 { font-size: 1.4rem; font-weight: 700; margin: 0 0 16px; }
.text-block p { font-size: 1.1rem; font-weight: 300; margin: 0; }

/* Team */
.team-foto { display: block; margin: 0 auto 56px; max-width: 800px; width: 100%; }
.team-gruppe { background: var(--panel); padding: 32px 0 8px; margin-bottom: 0; }
.team-gruppe > .container > h2 { text-align: center; font-size: 2rem; margin: 0 0 8px; }
.team-gruppe .untertitel { text-align: center; color: var(--text-soft); margin: 0; }
.team-liste { display: grid; grid-template-columns: repeat(3, 1fr); align-items: start; gap: 30px; padding: 40px 0 10px; }
.person { background: #fff; padding: 30px; text-align: center; }
.person img { width: 160px; height: 160px; object-fit: cover; object-position: top; border-radius: 50%; }
.person h3 { font-size: 1.5rem; margin: 28px 0 8px; }
.person .titel { margin: 0; color: #9a9a9a; text-transform: uppercase; font-weight: 700; letter-spacing: 2px; font-size: .8rem; }
.person .beschreibung { margin: 15px 0 0; color: var(--text-soft); font-size: .9rem; }
.person .beschreibung + .beschreibung { margin-top: 12px; }

@media (max-width: 991px) { .team-liste { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .team-liste { grid-template-columns: 1fr; } }

/* Kontakt */
.karte { margin-bottom: 48px; text-align: center; }
.karte h2 { font-size: 1.8rem; margin: 0 0 8px; }
.karte address { font-style: normal; color: var(--text-soft); margin-bottom: 24px; }
.karte img { display: block; width: 100%; height: auto; background: #eee; }
.karten-quelle { text-align: center; color: var(--text-soft); font-size: .85rem; margin: -24px 0 48px; }

/* Fußzeile */
.site-footer { background: var(--gradient); padding: 24px 0; text-align: center; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { opacity: .75; }
