@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --navy: #1a3a5c;
  --blue: #2563a8;
  --blue-light: #3d7cc9;
  --teal: #4a8fa3;
  --cream: #f7f5f0;
  --white: #ffffff;
  --gray-light: #f0f2f5;
  --gray: #6b7280;
  --text: #1f2937;
  --border: #dde3ec;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-decoration: none;
}
.nav-brand .name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 600;
}
.nav-brand .title {
  font-size: 0.72rem;
  color: #3a8fa8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--gray);
  font-size: 0.875rem;
  font-weight: 400;
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.01em;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--blue);
  background: #eff4fb;
}

.nav-phone {
  font-size: 0.82rem;
  color: var(--navy);
  font-weight: 500;
  white-space: nowrap;
}
.nav-phone a { color: inherit; text-decoration: none; }
.nav-phone a:hover { color: var(--blue); }

/* hamburger */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: all 0.3s; }

/* ── PAGE WRAPPER ── */
main { padding-top: 72px; }

/* ── HERO ── */
.hero {
  position: relative;
  height: 80vh;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(26,58,92,0.82) 0%, rgba(26,58,92,0.45) 55%, rgba(26,58,92,0.1) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 6vw;
  color: var(--white);
  max-width: 640px;
  animation: fadeUp 0.8s ease both;
}
.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.hero-content p {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.8rem;
  letter-spacing: 0.01em;
}
.btn {
  display: inline-block;
  background: var(--white);
  color: var(--navy);
  padding: 0.75rem 1.8rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  border: none; cursor: pointer;
}
.btn:hover { background: var(--cream); transform: translateY(-2px); }
.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover { background: var(--blue-light); }

/* ── SECTIONS ── */
.section { padding: 5rem 6vw; }
.section-narrow { max-width: 860px; margin: 0 auto; }
.section-alt { background: var(--gray-light); }
.section-dark { background: var(--navy); color: var(--white); }

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 500;
  margin-bottom: 0.6rem;
}
.section-dark .section-label { color: #7ec8d8; }

h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 1.2rem;
}
.section-dark h2 { color: var(--white); }

h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.section-dark h3 { color: var(--white); }

p { margin-bottom: 1rem; color: var(--gray); font-size: 0.97rem; }
.section-dark p { color: rgba(255,255,255,0.78); }
p:last-child { margin-bottom: 0; }

/* ── INFO CARDS (home) ── */
.info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 3px solid var(--blue);
}
.info-card {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border);
  text-align: center;
}
.info-card:last-child { border-right: none; }
.info-card .icon {
  width: 44px; height: 44px;
  background: #eff4fb;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.info-card .icon svg { width: 22px; height: 22px; stroke: var(--blue); fill: none; stroke-width: 1.8; }

/* ── TWO COL ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

.img-frame {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(26,58,92,0.15);
}
.img-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-frame.tall { aspect-ratio: 3/4; }
.img-frame.wide { aspect-ratio: 4/3; }

/* ── HOURS TABLE ── */
.hours-table { width: 100%; border-collapse: collapse; margin-top: 0.4rem; }
.hours-table tr { border-bottom: 1px solid var(--border); }
.hours-table td { padding: 0.65rem 0; font-size: 0.9rem; color: var(--text); }
.hours-table td:first-child { font-weight: 500; color: var(--navy); width: 44%; }
.hours-note { margin-top: 1rem; font-size: 0.85rem; color: var(--gray); font-style: italic; }

/* ── LEISTUNGEN ── */
.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.leistung-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.8rem;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.leistung-card:hover { box-shadow: 0 8px 24px rgba(26,58,92,0.1); border-color: var(--blue-light); }
.leistung-card h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.leistung-card p { font-size: 0.875rem; color: var(--gray); }

/* Indikationen pills */
.indikationen {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.pill {
  background: #eff4fb;
  color: var(--blue);
  border: 1px solid #c7d9f0;
  border-radius: 100px;
  padding: 0.45rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 500;
}

/* ── PRAXIS GALLERY ── */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
.gallery img {
  width: 100%; height: 280px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  transition: transform 0.3s;
}
.gallery img:hover { transform: scale(1.02); }
.gallery img:first-child {
  grid-column: 1 / -1;
  height: 360px;
}

/* ── KONTAKT ── */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.8rem;
}
.contact-item .icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: #eff4fb;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.contact-item .icon svg { width: 18px; height: 18px; stroke: var(--blue); fill: none; stroke-width: 1.8; }
.contact-item strong { display: block; font-weight: 500; color: var(--navy); font-size: 0.85rem; margin-bottom: 0.2rem; }
.contact-item a { color: var(--text); text-decoration: none; font-size: 0.95rem; }
.contact-item a:hover { color: var(--blue); }
.map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--blue);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 1rem;
  transition: background 0.2s;
}
.map-link:hover { background: var(--blue-light); }

/* ── ÜBER UNS ── */
.ueber-text p { font-size: 1rem; line-height: 1.8; color: var(--text); }

/* ── PAGE HERO (subpages) ── */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 2.5rem 6vw 2rem;
  border-bottom: 3px solid var(--blue);
}
.page-hero .section-label { color: #7ec8d8; }
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  max-width: 620px;
  line-height: 1.2;
}

/* ── FOOTER ── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  padding: 3rem 6vw 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 1.5rem;
}
.footer-brand .name {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}
.footer-brand .sub { font-size: 0.8rem; color: #7ecfe0; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 1rem; font-weight: 500; }
footer p { color: rgba(255,255,255,0.92); margin-bottom: 0.3rem; }
footer h4 { color: var(--white); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; font-weight: 500; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 0.5rem; }
footer ul a { color: rgba(255,255,255,0.82); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
footer ul a:hover { color: var(--white); }
.footer-copy { font-size: 0.82rem; color: rgba(255,255,255,0.55); }

/* ── DIVIDER ── */
.divider { height: 1px; background: var(--border); margin: 0 6vw; }

/* ── ANIMATION ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeUp 0.7s ease both; }
.fade-in-2 { animation: fadeUp 0.7s 0.15s ease both; }
.fade-in-3 { animation: fadeUp 0.7s 0.3s ease both; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .two-col, .kontakt-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .two-col.reverse { direction: ltr; }
  .info-strip { grid-template-columns: 1fr; }
  .info-card { border-right: none; border-bottom: 1px solid var(--border); }
  .leistungen-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .gallery img:first-child { height: 240px; }
}
@media (max-width: 680px) {
  nav { padding: 0 1.2rem; }
  .nav-links, .nav-phone { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; top: 72px; left: 0; right: 0; background: var(--white); padding: 1rem; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: flex; }
  .section { padding: 3.5rem 1.4rem; }
  .page-hero { padding: 3rem 1.4rem; }
  footer { padding: 2.5rem 1.4rem 1.5rem; }
  .gallery { grid-template-columns: 1fr; }
  .gallery img { height: 220px; }
  .gallery img:first-child { height: 220px; }
}