/* =========================================================
   Praxis Dr. Jürgens – Psychosomatik & Psychotherapie
   Farbwelt abgeleitet aus dem Logo (Enso-Kreis)
   ========================================================= */

:root {
  --cream: #f7f5ef;
  --cream-dark: #efece2;
  --paper: #fbfaf6;
  --sage: #7d8c78;
  --sage-dark: #5f6d5b;
  --sage-light: #a7b3a1;
  --taupe: #b6a48c;
  --taupe-light: #cdbfa9;
  --charcoal: #33383a;
  --charcoal-soft: #565b5b;
  --line: #e2ddd1;
  --shadow: 0 10px 40px rgba(51, 56, 58, 0.08);
  --shadow-soft: 0 4px 18px rgba(51, 56, 58, 0.06);
  --radius: 14px;
  --max: 1120px;
  --serif: "Cormorant Garamond", "Georgia", "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--sage-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: .3px;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }

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

.section { padding: 92px 0; }
.section--tint { background: var(--paper); }
.section__intro { max-width: 640px; margin-bottom: 48px; }
.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--taupe);
  margin: 0 0 14px;
}

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 245, 239, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 20px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__brand img { height: 46px; width: auto; }
.nav__brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav__brand-name {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--charcoal);
}
.nav__brand-sub {
  font-size: .7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sage);
}
.nav__links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  color: var(--charcoal-soft);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .3px;
}
.nav__links a:hover { color: var(--sage-dark); text-decoration: none; }
.nav__cta {
  background: var(--sage);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 40px;
  font-weight: 600;
  transition: background .2s ease;
}
.nav__cta:hover { background: var(--sage-dark); text-decoration: none !important; }

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--charcoal);
  margin: 5px 0;
  transition: transform .25s ease, opacity .25s ease;
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(182, 164, 140, 0.16), transparent 42%),
    radial-gradient(circle at 12% 88%, rgba(125, 140, 120, 0.14), transparent 45%),
    var(--cream);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
  padding: 96px 0 100px;
}
.hero__text p.lead {
  font-size: 1.18rem;
  color: var(--charcoal-soft);
  max-width: 34em;
  margin: 0 0 32px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s ease;
}
.btn--primary { background: var(--sage); color: #fff; }
.btn--primary:hover { background: var(--sage-dark); text-decoration: none; transform: translateY(-1px); }
.btn--ghost { background: transparent; border-color: var(--sage); color: var(--sage-dark); }
.btn--ghost:hover { background: var(--sage); color: #fff; text-decoration: none; }

.hero__portrait { position: relative; display: flex; justify-content: center; }
.hero__portrait img {
  width: 100%;
  max-width: 380px;
  border-radius: 50% 50% 46% 46% / 54% 54% 46% 46%;
  box-shadow: var(--shadow);
  object-fit: cover;
  aspect-ratio: 4 / 5;
}
.hero__portrait::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1.5px solid var(--taupe-light);
  max-width: 416px;
  max-height: 520px;
  margin: auto;
  z-index: -1;
  opacity: .6;
}

/* ---------- Über mich / Arzt ---------- */
.about__grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.about__photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}
.about__badge {
  margin-top: 18px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: .95rem;
  color: var(--charcoal-soft);
}
.about__badge strong { color: var(--charcoal); display: block; font-family: var(--serif); font-size: 1.1rem; }

/* ---------- Leistungen ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon {
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(125, 140, 120, 0.12);
  margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; stroke: var(--sage-dark); }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--charcoal-soft); font-size: .97rem; }

/* ---------- Kontakt & Anfahrt ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.info-list li:last-child { border-bottom: 0; }
.info-list .ico {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(182, 164, 140, 0.16);
}
.info-list .ico svg { width: 20px; height: 20px; stroke: var(--taupe); }
.info-list .label { font-weight: 600; color: var(--charcoal); display: block; }
.info-list .value { color: var(--charcoal-soft); }

/* Anfahrt / Karten-Skizze */
.map-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}
.map-card__sketch { width: 100%; height: auto; display: block; background: #eef1ea; }
.map-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  flex-wrap: wrap;
}
.map-card__addr { font-size: .95rem; color: var(--charcoal-soft); }
.map-card__addr strong { display: block; color: var(--charcoal); font-family: var(--serif); font-size: 1.05rem; }

/* ---------- Notfall-Box ---------- */
.emergency {
  background: linear-gradient(135deg, rgba(125,140,120,.10), rgba(182,164,140,.10));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 36px;
  margin-top: 40px;
}
.emergency h3 { display: flex; align-items: center; gap: 12px; }
.emergency h3 svg { width: 26px; height: 26px; stroke: var(--taupe); }
.emergency p { margin: .4em 0; color: var(--charcoal-soft); }
.emergency .callout {
  background: var(--cream);
  border-left: 3px solid var(--sage);
  padding: 14px 18px;
  border-radius: 8px;
  margin: 16px 0;
}
.emergency .big112 {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--charcoal);
  font-weight: 600;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  color: #d8ddd6;
  padding: 60px 0 28px;
}
.site-footer a { color: #cdd6cc; }
.site-footer a:hover { color: #fff; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer__brand-name { font-family: var(--serif); font-size: 1.4rem; color: #fff; margin-bottom: 8px; }
.footer__grid p { color: #aeb6ac; font-size: .95rem; margin: .3em 0; }
.footer h4 { font-family: var(--sans); font-size: .82rem; text-transform: uppercase; letter-spacing: 2px; color: var(--taupe-light); margin: 0 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer ul li { margin: 8px 0; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .85rem;
  color: #96a094;
}

/* ---------- Rechtstexte (Legal) ---------- */
.legal { padding: 70px 0 90px; }
.legal .container { max-width: 820px; }
.legal h1 { margin-bottom: 8px; }
.legal .back-link { display: inline-block; margin-bottom: 30px; font-weight: 600; }
.legal h2 { font-size: 1.5rem; margin-top: 40px; }
.legal h3 { font-size: 1.15rem; margin-top: 26px; }
.legal p, .legal li { color: var(--charcoal-soft); }
.legal address { font-style: normal; }

/* ---------- Reveal Animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; padding: 60px 0 70px; }
  .hero__actions { justify-content: center; }
  .hero__portrait { order: -1; }
  .about__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }

  .nav__toggle { display: block; }
  .nav__links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .nav__links.is-open { max-height: 380px; }
  .nav__links li { width: 100%; }
  .nav__links a { display: block; padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav__cta { display: inline-block; margin-top: 12px; }
}

@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .emergency, .card { padding: 26px 22px; }
}
