/* ── Design-Token ── */
:root {
  --navy:    #1a2637;
  --gold:    #8a6a2e;
  --gold-lt: #c9a84c;
  --stone:   #f5f3ee;
  --white:   #ffffff;
  --text:    #2c2c2c;
  --muted:   #666;
  --rule:    #d4cfc5;

  --display: 'EB Garamond', Georgia, serif;
  --body:    'Source Sans 3', system-ui, sans-serif;

  --max:  860px;
  --side: clamp(1.2rem, 5vw, 3rem);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
}
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* ── Header ── */
.site-header {
  background: var(--navy);
  color: var(--white);
  padding: 0 var(--side);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  flex-wrap: wrap;
}
.header-logo img { height: 56px; width: auto; }
.header-contact {
  font-size: 0.85rem;
  line-height: 1.6;
  text-align: right;
  opacity: 0.88;
}
.header-contact a { color: var(--gold-lt); }

/* ── Nav ── */
nav {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--side);
  display: flex;
  flex-wrap: wrap;
}
nav a {
  color: rgba(255,255,255,0.78);
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.75rem 0.9rem;
  display: block;
  transition: color 0.15s;
}
nav a:hover,
nav a.active { color: var(--gold-lt); text-decoration: none; }

/* ── Sections ── */
section {
  padding: clamp(2.5rem, 6vw, 4rem) var(--side);
  border-bottom: 1px solid var(--rule);
}
section:nth-of-type(even) { background: var(--stone); }
.section-inner { max-width: var(--max); margin: 0 auto; }

h2 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
p { margin-bottom: 0.9rem; }
p:last-child { margin-bottom: 0; }

/* ── Lists ── */
ul.content-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}
ul.content-list li {
  padding: 0.45rem 0 0.45rem 1.5rem;
  position: relative;
  border-bottom: 1px solid var(--rule);
}
ul.content-list li:last-child { border-bottom: none; }
ul.content-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 600;
}

/* ── Hero ── */
.hero {
  background: var(--stone);
  border-bottom: 1px solid var(--rule);
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) var(--side);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: center;
}
.hero-quote {
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  font-style: italic;
  color: var(--navy);
  line-height: 1.65;
}
.hero-quote cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-size: 0.9rem;
  font-family: var(--body);
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
}
.hero-portrait img {
  width: 160px;
  border-radius: 2px;
  border: 3px solid var(--white);
  box-shadow: 0 4px 18px rgba(26,38,55,0.18);
}
@media (max-width: 580px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-portrait { order: -1; }
  .hero-portrait img { width: 110px; }
}

/* ── Rechtsgebiete cards ── */
.rg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}
.rg-card {
  background: var(--stone);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.1rem;
  border-radius: 1px;
}
.rg-card strong {
  display: block;
  color: var(--navy);
  font-family: var(--display);
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}
.rg-card span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ── Kontakt & Anfahrt combined ── */
.ka-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 640px) {
  .ka-grid { grid-template-columns: 1fr; gap: 2rem; }
}
.ka-block h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--rule);
}
.ka-block p { margin-bottom: 0.6rem; }
.anfahrt-img {
  width: 100%;
  margin-top: 1rem;
  border: 1px solid var(--rule);
}
.maps-link {
  display: inline-block;
  margin-top: 1rem;
  background: var(--navy);
  color: var(--white) !important;
  padding: 0.5rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 1px;
}
.maps-link:hover { background: var(--gold); text-decoration: none; }

/* ── Subpage: breadcrumb / back link ── */
.breadcrumb {
  padding: 0.7rem var(--side);
  background: var(--stone);
  border-bottom: 1px solid var(--rule);
  font-size: 0.82rem;
  color: var(--muted);
}
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { text-decoration: underline; }

/* ── Subpage: page title band ── */
.page-title-band {
  background: var(--navy);
  color: var(--white);
  padding: 2rem var(--side) 1.8rem;
}
.page-title-band h1 {
  max-width: var(--max);
  margin: 0 auto;
  font-family: var(--display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.01em;
}

/* ── Legal (Impressum / Datenschutz) ── */
.legal-section {
  padding: clamp(2rem, 5vw, 3.5rem) var(--side);
  border-bottom: 1px solid var(--rule);
}
.legal-section:nth-of-type(even) { background: var(--stone); }
.legal-inner { max-width: var(--max); margin: 0 auto; }
.legal-inner h2 {
  font-family: var(--display);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  color: var(--navy);
  border-bottom: 2px solid var(--gold);
  display: inline-block;
  padding-bottom: 0.4rem;
  margin-bottom: 1.1rem;
}
.legal-inner h3 {
  font-family: var(--display);
  font-size: 1.1rem;
  color: var(--navy);
  margin: 1.4rem 0 0.4rem;
}
.legal-inner ul {
  list-style: disc;
  padding-left: 1.6rem;
  margin-top: 0.3rem;
}
.legal-inner ul li { margin-bottom: 0.3rem; }

/* ── Kontakt & Anfahrt: Bild + Karte gleichhoch nebeneinander ── */
.ka-media-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: stretch;
}
.ka-media-item {
  display: flex;
  flex-direction: column;
}
.ka-media-item img,
.ka-media-item iframe {
  width: 100%;
  flex: 1;
  min-height: 280px;
  object-fit: cover;
  border: 1px solid var(--rule);
  display: block;
}
.ka-media-item iframe {
  border: 1px solid var(--rule);
}
.ka-caption {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.4rem;
  margin-bottom: 0 !important;
}
.ka-caption a { color: var(--gold); }
@media (max-width: 580px) {
  .ka-media-row { grid-template-columns: 1fr; }
}

/* ── Timeline (Lebenslauf) ── */
.timeline { margin-top: 0.5rem; }
.tl-item {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--rule);
}
.tl-item:last-child { border-bottom: none; }
.tl-year {
  font-weight: 600;
  color: var(--gold);
  font-size: 0.88rem;
  padding-top: 0.15rem;
}
@media (max-width: 480px) {
  .tl-item { grid-template-columns: 1fr; gap: 0.15rem; }
}

/* ── Footer ── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
  padding: 1.5rem var(--side);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 2rem;
  align-items: center;
}
footer a { color: var(--gold-lt); }
footer a:hover { text-decoration: underline; }
