/* Meimberg Immobilien – Website
   Tokens aus dem Designsystem (261018_Designsystem_Meimberg Immobilien/tokens.css) */

@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }

:root {
  --brand-gruen: #1F3D2B;
  --brand-creme: #F4F0E8;
  --brand-gold: #B08D57;
  --sand: #CAB8A2;
  --anthrazit: #1C1C1C;
  --weiss: #FFFFFF;

  --surface: var(--brand-creme);
  --surface-alt: #EAE3D6;           /* Creme, eine Stufe Richtung Sand */
  --surface-card: var(--weiss);
  --surface-inverse: var(--brand-gruen);
  --surface-inverse-deep: #17301F;  /* Grün, eine Stufe tiefer */
  --ink: var(--anthrazit);
  --ink-soft: #4A4A44;              /* Fließtext sekundär auf Creme, 8,4:1 */
  --ink-heading: var(--brand-gruen);
  --ink-inverse: var(--brand-creme);
  --ink-inverse-soft: #C9D2C8;      /* sekundär auf Grün, 8:1 */
  --line-accent: var(--brand-gold);
  --line-subtle: var(--sand);
  --line-control: var(--brand-gruen);
  --line-inverse: rgba(244, 240, 232, 0.22);

  --font-heading: "Cormorant Garamond", Garamond, Georgia, serif;
  --font-body: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 32px;
  --space-4: 64px;
  --section-spacing: 64px;
  --radius-sm: 4px;
  --stroke-thin: 1px;
  --stroke-accent: 2px;
  --container-max: 1280px;
  --gutter: 20px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 900px) {
  :root { --section-spacing: 96px; --gutter: 40px; }
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; scrollbar-color: var(--brand-gruen) var(--surface-alt); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  caret-color: var(--brand-gruen);
  text-rendering: optimizeLegibility;
}
@media (min-width: 900px) { body { font-size: 17px; } }
::selection { background: var(--brand-gruen); color: var(--brand-creme); }
.inverse ::selection { background: var(--brand-creme); color: var(--brand-gruen); }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { text-decoration-color: var(--brand-gold); }
:focus-visible { outline: 2px solid var(--brand-gruen); outline-offset: 3px; border-radius: 2px; }
.inverse :focus-visible { outline-color: var(--brand-creme); }

h1, h2, h3 { font-family: var(--font-heading); font-weight: 500; color: var(--ink-heading); margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 em, h2 em { font-style: italic; }
h1 { font-size: clamp(2.6rem, 1.6rem + 4.6vw, 4.75rem); line-height: 1.02; }
h2 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem); line-height: 1.06; }
h3 { font-family: var(--font-body); font-size: 1.0625rem; font-weight: 600; line-height: 1.35; letter-spacing: 0; }
p { margin: 0; text-wrap: pretty; }
.inverse { background: var(--surface-inverse); color: var(--ink-inverse); }
.inverse h2, .inverse h3 { color: var(--ink-inverse); }

.container { width: 100%; max-width: var(--container-max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-spacing); }
.lead { font-size: 1.0625rem; color: var(--ink-soft); max-width: 60ch; }
.inverse .lead { color: var(--ink-inverse-soft); }
@media (min-width: 900px) { .lead { font-size: 1.125rem; } }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--brand-gruen); color: var(--brand-creme); padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 14px 24px;
  font-family: var(--font-body); font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.04em; line-height: 1;
  text-decoration: none; border-radius: var(--radius-sm); border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out), border-color .2s var(--ease-out);
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .25s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--button-bg, var(--brand-gruen)); color: var(--brand-creme); }
.btn-primary:hover { background: var(--surface-inverse-deep); }
.btn-secondary { background: transparent; color: var(--brand-gruen); border-color: var(--line-control); }
.btn-secondary:hover { background: var(--brand-gruen); color: var(--brand-creme); }
.inverse .btn-primary { background: var(--brand-creme); color: var(--brand-gruen); }
.inverse .btn-primary:hover { background: var(--weiss); }
.btn[disabled] { opacity: .6; cursor: progress; }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.9375rem; letter-spacing: 0.02em; color: var(--brand-gruen); text-decoration: underline; text-decoration-color: var(--brand-gold); text-underline-offset: 0.35em; }
.text-link svg { width: 14px; height: 14px; transition: transform .25s var(--ease-out); }
.text-link:hover svg { transform: translateX(3px); }
.inverse .text-link { color: var(--brand-creme); }

/* ---------- Signet-Rahmen: zwei gegenüberliegende Winkel ---------- */
.frame { position: relative; --arm: 22%; --inset: -10px; --w: var(--stroke-accent); --c: var(--line-accent); }
.frame::before, .frame::after {
  content: ""; position: absolute; width: var(--arm); height: var(--arm); pointer-events: none;
  border: 0 solid var(--c);
  transition: width .9s var(--ease-out), height .9s var(--ease-out);
}
.frame::before { top: var(--inset); right: var(--inset); border-top-width: var(--w); border-right-width: var(--w); }
.frame::after  { bottom: var(--inset); left: var(--inset); border-bottom-width: var(--w); border-left-width: var(--w); }
.frame > img, .frame > picture img { border-radius: var(--radius-sm); width: 100%; }
.frame.is-hidden::before, .frame.is-hidden::after { width: 0; height: 0; border-width: 0; }
@media (prefers-reduced-motion: reduce) { .frame::before, .frame::after { transition: none; } }

/* ---------- Kopfzeile ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(244, 240, 232, 0.94); border-bottom: 1px solid transparent; transition: border-color .3s; }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(244, 240, 232, 0.86); backdrop-filter: saturate(140%) blur(10px); } }
.site-header.is-scrolled { border-bottom-color: rgba(202, 184, 162, 0.7); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--brand-gruen); }
.brand img { width: 56px; height: 28px; }
.brand-name { font-family: var(--font-heading); font-weight: 500; font-size: 1.0625rem; letter-spacing: 0.14em; line-height: 1; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 599px) {
  .brand { gap: 10px; }
  .brand img { width: 48px; height: 24px; }
  .brand-name { font-size: 0.875rem; letter-spacing: 0.12em; line-height: 1.05; white-space: normal; width: 7.4em; }
}
.main-nav { display: none; }
.main-nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.main-nav a { font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.04em; text-decoration: none; color: var(--ink); padding-block: 6px; border-bottom: 1px solid transparent; }
.main-nav a:hover { border-bottom-color: var(--brand-gold); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions .btn { min-height: 42px; padding: 12px 18px; }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 1px solid var(--line-control); border-radius: var(--radius-sm); color: var(--brand-gruen); cursor: pointer; }
.menu-toggle svg { width: 20px; height: 20px; }
.mobile-nav { border-top: 1px solid var(--line-subtle); background: var(--surface); }
.mobile-nav[hidden] { display: none; }
.mobile-nav ul { list-style: none; margin: 0; padding: 8px var(--gutter) 20px; }
.mobile-nav a { display: block; padding: 14px 0; font-weight: 500; text-decoration: none; border-bottom: 1px solid rgba(202, 184, 162, 0.6); }
@media (max-width: 599px) { .header-actions .btn { min-height: 44px; padding: 12px 14px; font-size: 0.875rem; } }
@media (min-width: 1000px) {
  .main-nav { display: block; }
  .menu-toggle, .mobile-nav { display: none !important; }
}

/* ---------- Hero ---------- */
.hero { padding-top: 28px; padding-bottom: var(--section-spacing); }
.hero-grid, .split, .profile-grid, .about-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
.hero-grid { display: grid; gap: 44px; align-items: center; }
.hero h1 { max-width: 13ch; }
@media (max-width: 599px) { .hero h1 { max-width: none; } }
.hero-text .lead { margin-top: 20px; }
.hero-text .lead strong { display: block; color: var(--ink-heading); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 28px; }
.hero-people { display: flex; align-items: center; gap: 14px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line-subtle); max-width: 460px; }
.avatars { display: flex; flex: none; }
.avatars img { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--surface); object-fit: cover; background: var(--surface-alt); }
.avatars img + img { margin-left: -12px; }
.hero-people p { font-size: 0.9375rem; line-height: 1.45; color: var(--ink-soft); }
.hero-people strong { color: var(--ink); font-weight: 600; }
.hero-visual { --arm: 34%; --inset: -10px; margin: 0 10px; }
.hero-visual img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 30% 50%; }
@media (min-width: 900px) {
  .hero { padding-top: 48px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
  .hero h1 { max-width: none; font-size: clamp(3.4rem, 1.2rem + 3.4vw, 4.4rem); }
  .hero-visual { --inset: -14px; margin: 0 14px 0 0; }
  .hero-visual img { aspect-ratio: 5 / 4.4; }
}

/* ---------- Angebot ---------- */
.split { display: grid; gap: 48px; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: start; } }
.section-head { display: grid; gap: 18px; margin-bottom: 40px; }
.section-head .lead { max-width: 56ch; }

.promise-list { list-style: none; margin: 0; padding: 0; display: grid; }
.promise-list li { display: grid; gap: 6px; padding: 22px 0 22px 30px; border-top: 1px solid var(--line-subtle); position: relative; }
.promise-list li::before { content: ""; position: absolute; left: 2px; top: 27px; width: 12px; height: 12px; border-left: 2px solid var(--brand-gold); border-bottom: 2px solid var(--brand-gold); }
.promise-list li:last-child { border-bottom: 1px solid var(--line-subtle); }
.promise-list p { color: var(--ink-soft); }
.angebot-visual { --arm: 30%; margin: 10px 10px 0; }
.angebot-visual img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 60% 50%; }
@media (min-width: 900px) { .angebot-visual { position: sticky; top: 110px; margin: 14px 14px 0 0; --inset: -14px; } }

.audiences { margin-top: var(--section-spacing); display: grid; gap: 0; border-top: 2px solid var(--brand-gruen); }
.audience { padding: 28px 0; border-bottom: 1px solid var(--line-subtle); display: grid; gap: 10px; align-content: start; }
.audience h3 { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 500; line-height: 1.1; }
.audience p { color: var(--ink-soft); }
.audience .text-link { margin-top: 6px; }
@media (min-width: 900px) {
  .audiences { grid-template-columns: repeat(3, 1fr); }
  .audience { padding: 32px 32px 8px 0; border-bottom: 0; }
  .audience + .audience { padding-left: 32px; border-left: 1px solid var(--line-subtle); }
}

/* ---------- Ankaufsprofil ---------- */
.profile-grid { display: grid; gap: 48px; }
@media (min-width: 1000px) { .profile-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; } }
.criteria { margin: 0; display: grid; }
.criteria div { display: grid; gap: 4px; padding: 18px 0; border-top: 1px solid var(--line-inverse); }
@media (min-width: 640px) { .criteria div { grid-template-columns: 150px 1fr; gap: 24px; } }
.criteria dt { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-inverse-soft); padding-top: 3px; }
.criteria dd { margin: 0; color: var(--ink-inverse); }
.criteria dd strong { font-weight: 600; }
.criteria dd span { display: block; color: var(--ink-inverse-soft); font-size: 0.9375rem; margin-top: 4px; }

.map-figure { --arm: 30%; --c: var(--brand-gold); margin: 10px 10px 0; }
.map-figure img { aspect-ratio: 3 / 2; object-fit: cover; }
.map-figure figcaption { margin-top: 14px; font-size: 0.8125rem; color: var(--ink-inverse-soft); }

/* ---------- Ablauf ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; counter-reset: step; }
.steps li { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 6px 18px; padding-bottom: 36px; align-content: start; }
.steps li::before {
  counter-increment: step; content: counter(step);
  grid-row: span 2; width: 52px; height: 52px; display: grid; place-items: center;
  font-family: var(--font-heading); font-size: 1.75rem; color: var(--brand-gruen);
  border: 1px solid var(--line-control); border-radius: 50%; background: var(--surface);
  position: relative; z-index: 1;
}
.steps li::after { content: ""; position: absolute; left: 26px; top: 52px; bottom: 0; width: 1px; background: var(--brand-gold); }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps h3 { padding-top: 13px; }
.steps p { grid-column: 2; color: var(--ink-soft); }
.ablauf-layout .section-head { margin-bottom: 0; }
.ablauf-cta { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
.sketch-visual { margin: 0; }
.sketch-visual img { width: 100%; max-width: 520px; margin-inline: auto; }
.sketch-visual img { -webkit-mask-image: linear-gradient(to right, #000 62%, transparent 96%); mask-image: linear-gradient(to right, #000 62%, transparent 96%); }
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .steps li { grid-template-columns: 1fr; padding-bottom: 0; }
  .steps li::before { grid-row: auto; margin-bottom: 16px; }
  .steps li::after { left: 52px; right: -32px; top: 26px; bottom: auto; width: auto; height: 1px; }
  .steps h3 { padding-top: 0; }
  .steps p { grid-column: 1; }
  .ablauf-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 72px; align-items: end; margin-bottom: 64px; }
}
@media (max-width: 1099px) { .ablauf-layout { display: grid; gap: 40px; margin-bottom: 48px; } }

/* ---------- Über uns ---------- */
.about { background: var(--surface-alt); }
.about-grid { display: grid; gap: 48px; }
@media (min-width: 1000px) { .about-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 80px; align-items: start; } }
.team-visual { --arm: 28%; margin: 10px 10px 0; }
.team-visual img { aspect-ratio: 1477 / 1065; object-fit: cover; }
.team-names { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.team-names p { font-size: 0.875rem; color: var(--ink-soft); }
@media (max-width: 479px) { .team-names { grid-template-columns: 1fr; gap: 12px; } }
.team-names strong { display: block; font-family: var(--font-heading); font-weight: 500; font-size: 1.5rem; line-height: 1.15; color: var(--brand-gruen); }
.about-text { display: grid; gap: 18px; }
.about-text p { color: var(--ink-soft); max-width: 60ch; }
.motto { margin: 12px 0 8px; padding: 22px 0; border-block: 1px solid var(--brand-gold); font-family: var(--font-heading); font-style: italic; font-size: clamp(1.75rem, 1.4rem + 1.3vw, 2.4rem); line-height: 1.15; color: var(--brand-gruen); }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; gap: 40px; grid-template-areas: "head" "form" "direct"; }
.contact-head { grid-area: head; margin-bottom: 0; }
.contact-grid .form { grid-area: form; }
.contact-direct { grid-area: direct; display: grid; gap: 24px; padding-top: 28px; border-top: 1px solid var(--line-inverse); }
@media (min-width: 1000px) {
  .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr; grid-template-areas: "head form" "direct form"; column-gap: 80px; row-gap: 32px; }
  .contact-direct { align-self: start; }
}
.contact-direct h3 { font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-inverse-soft); font-weight: 600; margin-bottom: 6px; }
.contact-direct a { font-size: 1.125rem; font-weight: 500; }
.contact-direct address { font-style: normal; color: var(--ink-inverse); }

.form { background: var(--surface); color: var(--ink); border-radius: var(--radius-sm); padding: 24px 20px; display: grid; gap: 20px; position: relative; }
@media (min-width: 640px) { .form { padding: 40px; } }
.form-row { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label, .form legend { font-size: 0.875rem; font-weight: 600; color: var(--brand-gruen); }
.field .opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--weiss); border: 1px solid var(--line-control); border-radius: var(--radius-sm);
  padding: 13px 14px; min-height: 48px; transition: box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6B6B63; }
.field input:focus, .field textarea:focus { outline: none; box-shadow: 0 0 0 3px rgba(31, 61, 43, 0.22); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #9B2C1F; box-shadow: 0 0 0 1px #9B2C1F; }
.field-error { font-size: 0.8125rem; color: #9B2C1F; font-weight: 500; }
.field-error:empty { display: none; }
.form fieldset { border: 0; margin: 0; padding: 0; }
.form legend { margin-bottom: 10px; padding: 0; }
.roles { display: flex; flex-wrap: wrap; gap: 8px; }
.roles label { position: relative; }
.roles input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.roles span { display: inline-block; padding: 10px 16px; border: 1px solid var(--line-control); border-radius: 999px; font-size: 0.875rem; font-weight: 500; cursor: pointer; transition: background-color .2s, color .2s; }
.roles input:checked + span { background: var(--brand-gruen); color: var(--brand-creme); }
.roles input:focus-visible + span { outline: 2px solid var(--brand-gruen); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 0.875rem; color: var(--ink-soft); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brand-gruen); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 500; }
.form-status[hidden] { display: none; }
.form-status:focus { outline: none; }
.form-status:focus-visible { outline: 2px solid var(--brand-gruen); outline-offset: 3px; }
.form-status.is-ok { background: #E1EADF; color: var(--brand-gruen); border: 1px solid var(--brand-gruen); }
.form-status.is-error { background: #F6E3DF; color: #7A2318; border: 1px solid #9B2C1F; }
.form .btn { justify-self: start; }
.form-send { display: grid; gap: 18px; padding-top: 20px; border-top: 1px solid var(--line-subtle); }
.form-promise { display: flex; align-items: center; gap: 12px; }
.form-promise .avatars img { width: 40px; height: 40px; }
.form-promise .avatars img + img { margin-left: -10px; }
.form-promise p { font-size: 0.9375rem; line-height: 1.45; color: var(--ink); max-width: 44ch; }
@media (min-width: 640px) { .form-send { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; } }
.inverse .form .btn-primary { background: var(--brand-gruen); color: var(--brand-creme); }
.inverse .form .btn-primary:hover { background: var(--surface-inverse-deep); }
.inverse .form :focus-visible { outline-color: var(--brand-gruen); }
.inverse .form ::selection { background: var(--brand-gruen); color: var(--brand-creme); }

/* ---------- Rechtliche Seiten ---------- */
.legal { padding-block: 48px var(--section-spacing); }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(2.4rem, 1.8rem + 2.4vw, 3.6rem); margin-bottom: 24px; }
.legal h2 { font-size: 1.75rem; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal p + p { margin-top: 12px; }
.legal h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; letter-spacing: 0; margin: 28px 0 8px; color: var(--ink-heading); }
.legal ul { margin: 12px 0; padding-left: 1.25em; list-style: disc; }
.legal li + li { margin-top: 8px; }
.legal p, .legal li { overflow-wrap: anywhere; }
.legal .caps { font-size: 0.875rem; letter-spacing: 0.01em; }
.legal .legal-source { margin-top: 40px; font-size: 0.875rem; }
.back-link { display: inline-block; margin-bottom: 28px; }

/* ---------- Footer (schlicht, eine Zeile) ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line-subtle); padding-block: 28px; font-size: 0.8125rem; color: var(--ink-soft); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; }
.footer-logo { display: inline-flex; }
.footer-logo img { width: 48px; height: 24px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 24px; }
.footer-links a { color: var(--ink-soft); text-decoration: none; }
.footer-links a:hover { color: var(--ink-heading); text-decoration: underline; text-decoration-color: var(--brand-gold); text-underline-offset: 3px; }
.footer-copy { margin: 0; }
@media (min-width: 900px) { .footer-copy { margin-left: auto; } }
