@font-face { font-family: "Source Serif"; src: url("../fonts/source-serif-4.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --rot: #8c0905;
  --rot-dunkel: #6e0704;
  --creme: #fef8e8;
  --creme-tief: #f6ecd2;
  --tinte: #2a2320;
  --grau: #5f5650;
  --linie: #e6dcc4;
  --weiss: #fff;
  --serif: "Source Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --rand: clamp(20px, 5vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--weiss); color: var(--tinte); font: 400 17px/1.65 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--rot); }
a:hover { color: var(--rot-dunkel); }
:focus-visible { outline: 3px solid var(--rot); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0; color: var(--tinte); }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); letter-spacing: -.012em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); letter-spacing: -.008em; }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 30; background: var(--weiss); padding: 8px 14px; }

.breit { max-width: 1240px; margin: 0 auto; padding: 0 var(--rand); }
.schmal { max-width: 1240px; margin: 0 auto; padding: 0 var(--rand); }
.dachzeile { font-size: .84rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--rot); margin: 0 0 14px; }
.dachzeile-hell { color: #f3d9b0; }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 20; background: var(--creme); border-bottom: 1px solid var(--linie); }
.kopf-innen { max-width: 1240px; margin: 0 auto; padding: 6px var(--rand); display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.logo { margin-right: auto; display: block; }
.logo img { width: auto; height: 62px; }
.menue { display: none; width: 100%; flex-direction: column; padding-bottom: 10px; }
.menue.offen { display: flex; }
.menue a { padding: 10px 0; color: var(--tinte); text-decoration: none; font-weight: 500; border-top: 1px solid var(--linie); }
.menue a:hover { color: var(--rot); }
.menue-knopf { font: 600 .95rem var(--sans); color: var(--rot); background: none; border: 1.5px solid var(--rot); border-radius: 4px; padding: 8px 16px; cursor: pointer; }
.kopf-tel { display: none; font-weight: 600; text-decoration: none; white-space: nowrap; }
.kopf-zurueck { font-weight: 500; }

/* Knöpfe */
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.knopf { display: inline-block; padding: 14px 24px; border-radius: 4px; font-weight: 600; text-decoration: none; text-align: center; transition: background .15s, color .15s; }
.knopf-voll { background: var(--rot); color: var(--weiss); }
.knopf-voll:hover { background: var(--rot-dunkel); color: var(--weiss); }
.knopf-linie { border: 1.5px solid var(--rot); color: var(--rot); background: transparent; }
.knopf-linie:hover { background: var(--rot); color: var(--weiss); }

/* Hero */
.hero { background: var(--creme); display: grid; grid-template-columns: 1fr; }
.hero-text { padding: 44px var(--rand) 40px; }
.hero-lead { font-size: 1.15rem; color: var(--grau); max-width: 34em; margin: 20px 0 0; }
.hero-bild { margin: 0; position: relative; background: #d9d9e2; }
.hero-bild img { width: 100%; aspect-ratio: 1000 / 1381; object-fit: cover; object-position: right bottom; }
.hero-bild figcaption { position: absolute; left: 0; top: 24px; background: var(--creme); padding: 10px 18px; font-size: .92rem; color: var(--grau); }
.hero-bild figcaption strong { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--tinte); line-height: 1.2; }

/* Fakten */
.fakten { list-style: none; margin: 0; padding: 0; background: var(--rot); color: var(--creme); display: grid; grid-template-columns: 1fr; }
.fakten li { padding: 18px var(--rand); border-bottom: 1px solid rgba(255,255,255,.18); font-size: .98rem; }
.fakten strong { display: block; font-family: var(--serif); font-size: 1.14rem; font-weight: 600; color: var(--weiss); }

/* Abschnitte */
.abschnitt { padding: clamp(56px, 8vw, 104px) 0; }
.abschnitt-creme { background: var(--creme); }
.abschnitt-kopf { max-width: 44em; margin-bottom: 44px; }
.abschnitt-kopf h2 { margin-bottom: 18px; }
.abschnitt-kopf p:last-child { color: var(--grau); font-size: 1.08rem; }

.listen { display: grid; gap: 40px; grid-template-columns: 1fr; }
.liste { border-top: 3px solid var(--rot); padding-top: 20px; }
.liste h3 { margin-bottom: 14px; }
.liste ul { list-style: none; margin: 0; padding: 0; }
.liste li { padding: 12px 0; border-bottom: 1px solid var(--linie); }
.liste li:last-child { border-bottom: 0; }

/* Themen */
.themen { display: grid; grid-template-columns: 1fr; background: var(--creme-tief); }
.themen-bild img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; object-position: right bottom; }
.themen-text { padding: clamp(40px, 6vw, 72px) var(--rand); display: grid; gap: 32px; }
.themen-text h3 { margin-bottom: 8px; }
.themen-text p { margin: 0; }

/* Kanzlei */
.zweispaltig { display: grid; gap: 24px; }
.fliesstext { font-size: 1.08rem; }
.fliesstext p:last-child { margin-bottom: 0; }

/* Aktuelles */
.aktuelles { background: var(--rot-dunkel); color: var(--creme); padding: clamp(36px, 5vw, 60px) 0; }
.aktuelles h2 { color: var(--weiss); font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.aktuelles-raster { display: grid; gap: 32px; align-items: center; }
.zahlen { display: flex; flex-wrap: wrap; gap: 40px; margin: 0; }
.zahlen dt { font-size: .92rem; color: #f3d9b0; }
.zahlen dd { margin: 0; font-family: var(--serif); font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.1; color: var(--weiss); font-weight: 600; }
.aktuelles-link { margin: 0; grid-column: 1 / -1; }
.aktuelles-link a { color: var(--creme); }
.aktuelles-link a:hover { color: var(--weiss); }

/* Kontakt */
.kontakt { display: grid; gap: 40px; align-items: stretch; }
.kontakt h2 { margin-bottom: 26px; }
address { font-style: normal; margin-bottom: 24px; }
.kontaktliste { margin: 0 0 28px; }
.kontaktliste div { display: flex; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--linie); }
.kontaktliste dt { width: 74px; flex: none; color: var(--grau); }
.kontaktliste dd { margin: 0; overflow-wrap: anywhere; }
.kontakt-bild img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; object-position: right bottom; }

/* Rechtstexte */
.recht { max-width: 780px; margin: 0 auto; padding: 56px var(--rand) 72px; overflow-wrap: anywhere; }
.recht h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 28px; }
.recht h2 { font-size: 1.4rem; margin: 36px 0 12px; }
.recht ul { padding-left: 1.2em; margin: 0 0 1em; }

/* Fuß */
.fuss { background: var(--creme); border-top: 1px solid var(--linie); padding: 36px 0 64px; font-size: .94rem; color: var(--grau); }
.fuss strong { color: var(--tinte); }
.fuss-innen { display: grid; gap: 14px; }
.fuss p { margin: 0; }
.fuss nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }


/* Anrufleiste Handy */
.anrufleiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; display: grid; grid-template-columns: 2fr 1fr; background: var(--rot); }
.anrufleiste a { padding: 14px; text-align: center; color: var(--weiss); text-decoration: none; font-weight: 600; }
.anrufleiste a + a { border-left: 1px solid rgba(255,255,255,.3); }
body:has(.anrufleiste) { padding-bottom: 140px; }

@media (min-width: 720px) {
  .fakten { grid-template-columns: repeat(3, 1fr); padding: 0 max(var(--rand), calc((100% - 1240px) / 2 + var(--rand))); }
  .fakten li { border-bottom: 0; border-right: 1px solid rgba(255,255,255,.18); padding: 22px 24px; }
  .fakten li:first-child { padding-left: 0; }
  .fakten li:last-child { border-right: 0; }
  .listen { grid-template-columns: 1fr 1fr; gap: 56px; }
  .zweispaltig { grid-template-columns: 2fr 3fr; gap: 56px; }
  .aktuelles-raster { grid-template-columns: 1.2fr 1fr; }
  .kontakt { grid-template-columns: 1fr 1fr; gap: 64px; }
  .fuss-innen { grid-template-columns: 1fr auto; align-items: end; }

}

@media (min-width: 960px) {
  .menue-knopf { display: none; }
  .menue { display: flex; width: auto; flex-direction: row; gap: 26px; padding: 0; }
  .menue a { border: 0; padding: 6px 0; }
  .kopf-tel { display: block; }
  .logo img { height: 72px; }
  .hero { grid-template-columns: 1fr min(40vw, 580px); align-items: stretch; padding-left: max(0px, calc((100% - 1240px) / 2)); }
  .hero-text { align-self: center; padding: 56px var(--rand); }
  .hero-bild img { height: 100%; aspect-ratio: auto; }
  .themen { grid-template-columns: 1fr 1fr; }
  .anrufleiste { display: none; }
  body:has(.anrufleiste) { padding-bottom: 0; }
}
