/* ==========================================================================
   Dr. Kreitmeier & Kollegen – Stylesheet
   Leitidee: Frage und Antwort. Die Frage des Mandanten steht in einer
   Buchschrift, die Antwort der Kanzlei in einer DIN-Schrift (Bahnschrift).
   Gedeckte Farben: Papier, Tinte, Schieferblau. Nur Systemschriften (DSGVO).
   ========================================================================== */

:root {
  --papier: #f5f5f2;
  --papier-2: #ebebe6;
  --weiss: #ffffff;
  --tinte: #1e2128;
  --tinte-2: #474c56;
  --tinte-3: #666b75;
  --linie: #d6d7d1;
  --akzent: #3f5266;
  --akzent-text: #3f5266;
  --nacht: #233041;
  --nacht-2: #1c2735;

  /* UI und Überschriften: DIN-Anmutung; Lesetext: Buchschrift */
  --schrift: "Bahnschrift", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --schrift-display: "Bahnschrift", "DIN Condensed", "Avenir Next Condensed", "Roboto Condensed", "Arial Narrow", sans-serif;
  --schrift-text: "Sitka Text", Charter, "Iowan Old Style", "Bitstream Charter", Georgia, serif;

  --breite: 1200px;
  --rand: clamp(20px, 5vw, 56px);
  --radius: 4px;
  --abstand: clamp(72px, 10vw, 136px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font: 400 16px/1.6 var(--schrift);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
/* Überschriften schmal (Condensed); Schriftgrade nach klassischer Skala 21/24/36/48/72 */
h1, h2 { font-family: var(--schrift-display); font-stretch: 75%; font-weight: 600; line-height: 1.02; letter-spacing: -0.005em; margin: 0 0 .5em; overflow-wrap: break-word; }
h3, h4 { font-family: var(--schrift); font-weight: 600; line-height: 1.25; margin: 0 0 .5em; overflow-wrap: break-word; }
@media (max-width: 640px) { h1, h2, h3 { hyphens: auto; -webkit-hyphens: auto; } }
h1 { font-size: clamp(3rem, 6.4vw, 4.5rem); }
h2 { font-size: clamp(2.25rem, 4vw, 3rem); }
h3 { font-size: 1.3125rem; }
address { font-style: normal; }
button { font: inherit; color: inherit; }

::selection { background: var(--tinte); color: var(--papier); }
:focus-visible { outline: 2px solid var(--akzent); outline-offset: 3px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--tinte); color: var(--papier); padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { top: 16px; }

.container { width: 100%; max-width: calc(var(--breite) + 2 * var(--rand)); margin: 0 auto; padding: 0 var(--rand); }
.narrow { max-width: calc(760px + 2 * var(--rand)); }

.section { padding: var(--abstand) 0; }
.bg-soft { background: var(--papier-2); }

.eyebrow { display: block; font-size: 1rem; font-weight: 600; color: var(--akzent-text); margin-bottom: .75rem; }

.lead { font-family: var(--schrift-text); font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.7; color: var(--tinte-2); max-width: 58ch; }

/* --- Buttons & Links ----------------------------------------------------- */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 2rem; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  background: var(--tinte); color: var(--papier);
  font-weight: 500; font-size: .98rem; line-height: 1;
  border: 1px solid var(--tinte); cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn:hover { background: var(--akzent); border-color: var(--akzent); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 17px; height: 17px; }
.btn-ghost { background: transparent; color: var(--tinte); border-color: var(--linie); }
.btn-ghost:hover { background: transparent; color: var(--tinte); border-color: var(--tinte); }
.btn-small { padding: 11px 18px; font-size: .9rem; }
.btn-light { background: var(--papier); color: var(--tinte); border-color: var(--papier); }
.btn-light:hover { background: var(--akzent); border-color: var(--akzent); color: var(--weiss); }

/* Textlink: dauerhaft unterstrichen, beim Zeigen kräftiger und rot */
.link-arrow {
  display: inline-block; font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
  text-decoration-color: var(--linie);
  transition: color .25s var(--ease), text-decoration-color .25s var(--ease);
}
.link-arrow:hover, a:hover > .link-arrow { color: var(--akzent-text); text-decoration-color: currentColor; }

.back { display: flex; width: fit-content; gap: 8px; font-size: .92rem; color: var(--tinte-3); margin-bottom: 2rem; transition: color .3s; }
.back:hover { color: var(--tinte); }

/* --- Header -------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 245, 242, .86);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--linie); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; transition: height .4s var(--ease); }
.is-scrolled .header-inner { height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-divider { width: 1px; height: 34px; background: var(--tinte); opacity: .8; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--schrift-display); font-stretch: 75%; font-weight: 600; font-size: 1.3125rem; line-height: 1; }
.brand-text small { font-size: .875rem; color: var(--tinte-2); margin-top: 3px; }

.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.main-nav ul a { position: relative; font-size: .96rem; font-weight: 500; padding: 6px 0; color: var(--tinte-2); transition: color .3s; }
.main-nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--tinte);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.main-nav ul a:hover, .main-nav ul a[aria-current] { color: var(--tinte); }
.main-nav ul a:hover::after, .main-nav ul a[aria-current]::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.nav-toggle .bars, .nav-toggle .bars::before { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--tinte); transition: transform .4s var(--ease), top .4s var(--ease); }
.nav-toggle .bars { top: 18px; }
.nav-toggle .bars::before { content: ""; left: 0; right: 0; top: 8px; }
.nav-toggle[aria-expanded="true"] .bars { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(-90deg); }

@media (max-width: 900px) {
  .brand-text strong { font-size: 1.125rem; }
  .brand svg { width: 28px; height: 28px; }
  .brand-divider { height: 28px; }
  .nav-toggle { display: block; z-index: 2; }
  .brand { position: relative; z-index: 2; }
  .main-nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 40px;
    padding: 100px var(--rand) 40px; background: var(--papier);
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility 0s .4s;
  }
  .main-nav ul { flex-direction: column; gap: 6px; }
  .main-nav ul a { font-family: var(--schrift-display); font-stretch: 75%; font-size: 3rem; font-weight: 600; line-height: 1.1; color: var(--tinte); }
  .main-nav ul li { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .nav-open .main-nav { opacity: 1; visibility: visible; transition: opacity .4s var(--ease); }
  .nav-open .main-nav ul li { opacity: 1; transform: none; }
  .nav-open .main-nav ul li:nth-child(2) { transition-delay: .05s; }
  .nav-open .main-nav ul li:nth-child(3) { transition-delay: .1s; }
  .nav-open .main-nav ul li:nth-child(4) { transition-delay: .15s; }
  .nav-open { overflow: hidden; }
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--papier); }
}
/* Während der Fenstergrößen-Änderung keine Menü-Übergänge (verhindert kurzes Aufblitzen) */
.is-resizing .main-nav, .is-resizing .main-nav ul li { transition: none !important; }

/* --- Reveal-Animationen (nur mit JS aktiv) -------------------------------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js [data-reveal="bild"] { transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease), opacity .6s var(--ease); }
.js [data-reveal="bild"] img { transform: scale(1.08); transition: transform 1.8s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal="bild"].is-visible { clip-path: inset(0 0 0 0); }
.js [data-reveal].is-visible img { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js [data-reveal="bild"], .js [data-reveal="bild"] img { opacity: 1; transform: none; clip-path: none; transition: none; }
}

/* --- Startseite: Frage und Antwort ---------------------------------------------
   Die Frage des Mandanten (Buchschrift, kursiv, leiser) und die Antwort der
   Kanzlei (DIN schmal, groß). Einzige Bewegung der Seite: die Antwort folgt
   beim Laden kurz nach der Frage. Darunter antworten die Gesichter. */
.start-hero { padding: clamp(48px, 7vw, 104px) 0 clamp(48px, 6vw, 80px); }
.start-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.dialog { margin: 0; }
.dialog-frage {
  display: block; margin-bottom: .3em;
  font-family: var(--schrift-text); font-stretch: 100%; font-style: italic; font-weight: 400;
  font-size: clamp(1.75rem, 3.3vw, 3rem); line-height: 1.2; color: var(--tinte-3);
}
.dialog-antwort {
  display: block; max-width: 17ch;
  font-size: clamp(3rem, 7vw, 6.25rem); line-height: .98; color: var(--tinte);
}
@media (prefers-reduced-motion: no-preference) {
  .dialog-antwort { animation: antwort 1s var(--ease) .45s both; }
}
@keyframes antwort { from { opacity: 0; transform: translateY(10px); } }

.start-intro { padding-bottom: .6rem; }
.start-intro .lead { margin: 0 0 1.75rem; font-size: 1.125rem; }
.start-kontakt { display: grid; gap: 20px; justify-items: start; }
.start-adresse { margin: 0; color: var(--tinte-2); line-height: 1.6; }
.start-adresse .link-arrow { margin-top: 6px; }
@media (max-width: 1100px) {
  .start-hero-grid { grid-template-columns: 1fr; align-items: start; }
  .start-intro .lead { max-width: 58ch; }
}

/* --- Startseite: Portraits ------------------------------------------------- */
.start-team { padding: clamp(48px, 6vw, 80px) 0 var(--abstand); border-top: 1px solid var(--linie); }
.start-team h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
.portraits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 28px 16px; }
.portraits a { display: block; }
.portraits .person-photo { margin-bottom: 12px; }
.portraits .person-photo img { filter: none; transition: none; }
.portrait-name { display: block; font-weight: 600; line-height: 1.3; }
.portrait-seit { display: block; font-size: .875rem; color: var(--tinte-3); margin-top: 2px; }
.portraits a:hover .portrait-name { color: var(--akzent-text); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1100px) { .portraits { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .portraits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* --- Startseite: Fragen & Beiträge ----------------------------------------- */
.start-fragen { background: var(--weiss); }
.fragen-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.fragen-intro h2 { margin-bottom: .5em; }
.fragen-intro .lead { margin-bottom: 1.5rem; }
.beitrag-liste { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--tinte); }
.beitrag-liste li { border-bottom: 1px solid var(--linie); }
.beitrag-liste a { display: block; padding: 24px 0 26px; }
.beitrag-titel { display: block; font-family: var(--schrift-display); font-stretch: 75%; font-weight: 600; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.1; margin: 6px 0 10px; transition: color .25s var(--ease); }
.beitrag-auszug { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-family: var(--schrift-text); color: var(--tinte-2); line-height: 1.65; max-width: 62ch; }
.beitrag-liste a:hover .beitrag-titel { color: var(--akzent-text); }
@media (max-width: 960px) { .fragen-grid { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* --- Sektionskopf ---------------------------------------------------------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 5vw, 60px); flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head .eyebrow { margin-bottom: .9rem; }

/* --- Anwaltskarten --------------------------------------------------------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 28px; }
@media (max-width: 1024px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .team-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; } }

.person-card { display: block; }
.person-photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--papier-2); margin-bottom: 18px; position: relative; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.02); transition: filter .8s var(--ease), transform 1.2s var(--ease); }
.person-card:hover .person-photo img { filter: grayscale(0); transform: scale(1.035); }
.person-card h3 { margin: 0 0 4px; font-size: 1.12rem; transition: color .3s; }
.person-card p { margin: 0; font-size: .9rem; color: var(--tinte-3); line-height: 1.45; }
.person-card:hover h3 { color: var(--akzent-text); }

.monogram {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--schrift-display); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 300; letter-spacing: .06em; color: var(--tinte-3);
  background: linear-gradient(160deg, var(--papier-2), #e6e1d6);
}
.photo-lowres img { image-rendering: auto; }

/* --- Beitragskarten -------------------------------------------------------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; }
@media (max-width: 1024px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: minmax(0, 1fr); } }

.post-card > a { display: flex; flex-direction: column; height: 100%; }
.post-img { aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius); background: var(--papier-2); margin-bottom: 20px; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post-card:hover .post-img img { transform: scale(1.04); }
.post-img--leer { display: grid; place-items: center; color: var(--tinte-3); background: linear-gradient(160deg, var(--papier-2), #e4dfd3); }
.post-img--leer svg { width: 56px; height: 56px; opacity: .55; }
.meta { display: flex; flex-wrap: wrap; gap: 2px 18px; font-size: .875rem; color: var(--tinte-3); margin-bottom: 10px; }
.post-card h3 { font-size: 1.25rem; line-height: 1.3; margin-bottom: 10px; transition: color .3s; }
.post-card:hover h3 { color: var(--akzent-text); }
.excerpt { font-family: var(--schrift-text); color: var(--tinte-2); font-size: 1rem; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .link-arrow { margin-top: auto; font-size: .92rem; }

.post-card--gross > a { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.post-card--gross .post-img { margin: 0; aspect-ratio: 16 / 10; }
.post-card--gross h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.02em; }
.post-card--gross .excerpt { -webkit-line-clamp: 4; font-size: 1.05rem; }
.post-card--gross { grid-column: 1 / -1; padding-bottom: 48px; border-bottom: 1px solid var(--linie); }
@media (max-width: 760px) { .post-card--gross > a { grid-template-columns: minmax(0, 1fr); } }

.post-card.is-hidden { display: none; }
.post-card.is-entering { animation: einblenden .6s var(--ease) both; }
@keyframes einblenden { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) { .post-card.is-entering { animation: none; } }

/* --- Filter ------------------------------------------------------------------ */
.filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 clamp(40px, 6vw, 64px); }
.chip {
  border: 1px solid var(--linie); background: transparent; border-radius: 999px;
  padding: 9px 16px; font-size: .88rem; cursor: pointer; color: var(--tinte-2);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.chip:hover { border-color: var(--tinte); color: var(--tinte); }
.chip.is-active { background: var(--tinte); border-color: var(--tinte); color: var(--papier); }
.chip small { opacity: .6; margin-left: 4px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 1.5rem; }
.tags li { border: 1px solid var(--linie); border-radius: 999px; padding: 5px 13px; font-size: .84rem; color: var(--tinte-2); }

/* --- Seitenkopf -------------------------------------------------------------- */
.page-hero { padding: clamp(56px, 9vw, 120px) 0 clamp(40px, 6vw, 72px); }
.page-hero h1 { max-width: 20ch; }
.page-hero--klein h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }

/* --- Beitrag ----------------------------------------------------------------- */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; background: var(--akzent); transform-origin: 0 50%; transform: scaleX(0); z-index: 60; }

.article-head { padding-top: clamp(48px, 8vw, 104px); }
.article-head h1 { font-size: clamp(2rem, 4.6vw, 3.5rem); letter-spacing: -0.03em; margin-bottom: .6em; }
.article-hero { margin: clamp(24px, 4vw, 48px) auto clamp(40px, 6vw, 72px); }
.article-hero .bildrahmen { aspect-ratio: 16 / 8; overflow: hidden; border-radius: var(--radius); }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }

.prose { font-family: var(--schrift-text); font-size: 1.125rem; line-height: 1.75; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.prose > * { max-width: 68ch; }
.prose h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); margin: 1.8em 0 .6em; }
.prose h3 { font-size: 1.3125rem; margin: 2em 0 .6em; }
.prose p strong:only-child { display: block; font-family: var(--schrift); font-size: 1.3125rem; margin-top: 1.6em; }
.prose a { color: var(--akzent-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: var(--tinte); }
.prose ol, .prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--akzent); }
.prose figure { margin: 2.4em 0; }
.prose figure img { border-radius: var(--radius); }
.prose figcaption { font-size: .85rem; color: var(--tinte-3); margin-top: 10px; }
.prose blockquote { margin: 2em 0; padding-left: 24px; border-left: 2px solid var(--akzent); font-size: 1.2rem; color: var(--tinte-2); }
.prose .verweis a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; border: 1px solid var(--linie); border-radius: var(--radius);
  text-decoration: none; font-family: var(--schrift); color: var(--tinte); font-weight: 600; line-height: 1.4; background: var(--weiss);
  transition: border-color .3s var(--ease);
}
.prose .verweis a::before { content: "Lesetipp"; font-size: .875rem; font-weight: 400; color: var(--akzent-text); flex: none; }
.prose .verweis a:hover { border-color: var(--akzent); }
@media (max-width: 560px) { .prose .verweis a { flex-wrap: wrap; } .prose .verweis a::before { width: 100%; } }

.cta-box {
  margin-top: clamp(56px, 8vw, 96px); margin-bottom: clamp(56px, 8vw, 96px);
}

/* Visitenkarte des Autors am Ende eines Beitrags */
.autor-karte-rahmen { margin-top: clamp(48px, 7vw, 80px); }
.autor-karte-rahmen + .cta-box { margin-top: clamp(20px, 3vw, 32px); }
.autor-karte {
  display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: clamp(20px, 4vw, 36px); align-items: center;
  padding: clamp(18px, 3vw, 28px); background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius);
  transition: border-color .3s var(--ease);
}
.autor-karte:hover { border-color: var(--tinte); }
.autor-karte .autor-foto { margin: 0; }
.autor-karte:hover .person-photo img { filter: grayscale(0); transform: scale(1.035); }
.autor-karte .eyebrow { margin-bottom: .5rem; }
.autor-name { font-family: var(--schrift-display); font-size: clamp(1.3rem, 2.4vw, 1.6rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 .5rem; transition: color .3s; }
.autor-karte:hover .autor-name { color: var(--akzent-text); }
.autor-titel { list-style: none; margin: 0 0 1rem; padding: 0; color: var(--tinte-2); font-size: .95rem; line-height: 1.55; }
.autor-karte .link-arrow { font-size: .92rem; }
@media (max-width: 480px) { .autor-karte { grid-template-columns: 96px minmax(0, 1fr); } }
.cta-box > div { background: var(--nacht); color: var(--papier); border-radius: var(--radius); padding: clamp(32px, 5vw, 56px); }
.cta-box h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-box p { color: #b9bcc3; margin: 0; }
.cta-box .btn-ghost { color: var(--papier); border-color: #3a404b; }
.cta-box .btn-ghost:hover { border-color: var(--papier); }

/* --- Profil -------------------------------------------------------------------- */
.profile { padding: clamp(40px, 7vw, 96px) 0 var(--abstand); }
.profile-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 7vw, 110px); align-items: start; }
.profile-photo { position: sticky; top: 110px; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--papier-2); }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-body h1 { font-size: clamp(2.2rem, 4.8vw, 3.8rem); }
.profile-body h2 { font-size: 1.3125rem; font-stretch: 100%; color: var(--akzent-text); font-family: var(--schrift); font-weight: 600; line-height: 1.3; margin: 3rem 0 1.2rem; }
.profile-placeholder { font-size: 1.15rem; color: var(--tinte-2); margin-top: 2rem; }
@media (max-width: 860px) {
  .profile-grid { grid-template-columns: 1fr; }
  .profile-photo { position: relative; top: 0; max-width: 420px; }
}

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 10px; bottom: 10px; width: 1px; background: var(--linie); }
.timeline li { position: relative; padding: 0 0 26px 36px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: var(--papier); border: 1px solid var(--akzent); }
.timeline li:first-child::before { background: var(--akzent); }
.timeline .zeit { display: block; font-size: .85rem; color: var(--akzent-text); font-weight: 600; margin-bottom: 2px; font-variant-numeric: tabular-nums; }
.timeline .text { font-size: 1.08rem; line-height: 1.5; }

/* --- Kontakt ------------------------------------------------------------------- */
.contact-band { background: var(--nacht); color: var(--papier); }
.contact-band .eyebrow { color: #c4ccd8; }
.contact-band .lead { color: #c4ccd8; }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 110px); }
.contact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 28px; }
.contact-list h3 { font-family: var(--schrift); font-size: 1rem; color: #9aa6b6; font-weight: 600; margin-bottom: 6px; }
.contact-list p, .contact-list address { margin: 0; line-height: 1.7; }
.contact-list a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease); }
.contact-list a:hover { background-size: 100% 1px; }
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 16px; }
.hours li span { white-space: nowrap; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .contact-list { grid-template-columns: 1fr; } }

.contact-page .contact-list h3 { color: var(--tinte-3); }
.contact-page .grosser-link { font-family: var(--schrift-display); font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 600; letter-spacing: -0.015em; }

.map { position: relative; aspect-ratio: 16 / 7; border-radius: var(--radius); overflow: hidden; background: var(--papier-2); margin-top: clamp(48px, 7vw, 88px); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.9); }
.map-consent { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; padding: 24px; gap: 8px;
  background-image: radial-gradient(circle at 1px 1px, #d6d1c5 1px, transparent 0); background-size: 22px 22px; }
.map-consent p { max-width: 46ch; color: var(--tinte-2); font-size: .95rem; }
@media (max-width: 640px) { .map { aspect-ratio: 4 / 5; } }

/* --- Fallbeispiel ------------------------------------------------------------ */
.case-facts { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); margin-bottom: 3rem; }
.case-facts h2 { margin-top: 0 !important; }
.calc { margin: 1.4em 0 2em; border-top: 1px solid var(--linie); }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--linie); }
.calc-row dt { color: var(--tinte-2); font-size: 1rem; }
.calc-row dd { margin: 0; font-family: var(--schrift-display); font-weight: 600; font-size: 1.3rem; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; white-space: nowrap; }
.calc-row--summe { border-bottom: 2px solid var(--tinte); }
.calc-row--summe dd { font-size: 1.6rem; }
.case-result { background: var(--nacht); color: var(--papier); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); margin: 3em 0; }
.case-result p { color: #b9bcc3; }
.case-result .betrag { font-family: var(--schrift-display); font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 600; letter-spacing: -0.03em; color: var(--papier); line-height: 1; margin: .2em 0 .3em; font-variant-numeric: tabular-nums; }
.step-label { display: block; font-size: 1rem; color: var(--akzent-text); font-family: var(--schrift); font-weight: 600; margin-bottom: .5rem; }

.area { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 96px); padding: clamp(40px, 6vw, 64px) 0; border-top: 1px solid var(--linie); }
.area h2 { margin: 0; }
.case-link { display: block; padding: 28px 0; border-bottom: 1px solid var(--linie); }
.case-link h3 { font-size: 1.4rem; margin-bottom: 8px; transition: color .3s; }
.case-link:hover h3 { color: var(--akzent-text); }
.case-link p { color: var(--tinte-2); }
@media (max-width: 760px) { .area { grid-template-columns: 1fr; } }

/* --- Footer ------------------------------------------------------------------- */
.site-footer { background: var(--nacht-2); color: #b9bcc3; padding: clamp(56px, 8vw, 88px) 0 32px; font-size: .94rem; }
.site-footer .brand { color: var(--papier); }
.site-footer .brand-divider { background: var(--papier); }
.site-footer .brand-text small { color: #8d929b; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h3 { font-family: var(--schrift); font-size: 1rem; color: #9aa6b6; font-weight: 600; margin-bottom: 8px; }
.footer-grid p, .footer-grid address { margin: 0; line-height: 1.8; }
.footer-grid a:hover, .footer-bottom a:hover { color: var(--papier); }
.footer-bottom { position: relative; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 64px; padding-top: 24px; font-size: .85rem; }
/* Trennlinie nur so breit wie der Inhalt (nicht über den Seitenrand des Containers hinaus) */
.footer-bottom::before { content: ""; position: absolute; top: 0; left: var(--rand); right: var(--rand); border-top: 1px solid #34404f; }
.footer-bottom nav { display: flex; gap: 24px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* --- Rechtstexte ---------------------------------------------------------------- */
.legal, .mit-abstand { padding-bottom: var(--abstand); }
.legal.prose { font-size: 1rem; line-height: 1.7; }
.legal h2, .legal h3 { font-size: 1.2rem; }

/* --- 404 ----------------------------------------------------------------------- */
.not-found { min-height: 60vh; display: grid; align-content: center; }
