/* =============================================================
   MeMo-Law – MEURER MOHR & PARTNER Rechtsanwälte
   main.css – Mobile first, 320px bis 4K
   Farbwelt orientiert am Logo-Blau #002c77
   ============================================================= */

/* ---------- Design-Tokens ----------
   Bewusst kein warmes "Sand/Creme" mehr als Flächenfarbe (typische
   generische SaaS-Optik) – stattdessen reines Papierweiß, Aktenblau
   und ein feines Konstruktionsraster als eigenständiges Signatur-Motiv
   (passend zum baurechtlichen Schwerpunkt der Kanzlei). */
:root {
  --blue-950: #001a4a;
  --blue-900: #002c77;   /* Logo-Blau, Primärfarbe */
  --blue-700: #1a4494;
  --blue-100: #e9eef8;
  --blue-050: #f3f6fc;

  --ink: #1d2433;
  --ink-soft: #4a5468;
  --paper: #ffffff;      /* reines Papierweiß statt Creme/Sand */
  --panel: #f2f4f9;      /* kühles, dezentes Blau-Grau für Flächen */
  --white: #ffffff;
  --line: #d9dde6;
  --grid-line: rgba(0, 44, 119, .07);   /* Konstruktionsraster-Linien */
  --bronze: #96793d;     /* sparsamer Akzent (Eyebrows, Linien, Siegel) */

  --font-serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 2px;
  --btt-size: 2.75rem;   /* "Nach oben"-Button (Touch-Größe) */
  --btt-gap: 1rem;      /* Abstand zum Fensterrand */
  --maxw: 72rem;
  --pad: 1.25rem;

  --shadow-1: 0 1px 3px rgba(0, 26, 74, .08), 0 4px 16px rgba(0, 26, 74, .06);
}

/* ---------- Reset / Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--blue-900);
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(1.9rem, 5.5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.15rem); }
h3 { font-size: clamp(1.15rem, 2.6vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue-900); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-700); }

:focus-visible {
  outline: 2px solid var(--blue-900);
  outline-offset: 2px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue-900);
  color: #fff;
  padding: .6rem 1rem;
  z-index: 200;
}
.skip-link:focus { left: .5rem; top: .5rem; }

.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- Eyebrow / Aktenrand-Signatur ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: .9rem;
}
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: var(--bronze);
}

/* ---------- Header ----------
   Kräftige Blau-Linie oben (Aktendeckel-Kante) statt weichem
   Glassmorphism-Verlauf – klare, dokumentenhafte Kante. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-top: 3px solid var(--blue-900);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.25rem;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-left: auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--blue-900);
}
.brand img { height: 2.4rem; width: auto; }
.brand-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.15;
}
.brand-name small {
  display: block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: .66rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.nav-toggle {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--blue-900);
  position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav {
  display: none;
  position: absolute;
  inset-inline: 0;
  top: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}
.site-nav.is-open { display: block; }
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: .5rem var(--pad) 1rem;
}
.site-nav a {
  display: block;
  padding: .7rem .25rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--blue-050);
}
.site-nav a[aria-current="page"] { color: var(--bronze); }

/* Sprachumschalter: immer sichtbar (mobil UND Desktop), nicht im
   Burger-Menü versteckt – schlichter, dokumentenhafter "Aktenreiter". */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .03em;
  flex: none;
}
.lang-switch a {
  color: var(--ink-soft);
  text-decoration: none;
  padding-bottom: .15rem;
  border-bottom: 2px solid transparent;
}
.lang-switch a:hover { color: var(--blue-900); }
.lang-switch a[aria-current="true"] {
  color: var(--blue-900);
  border-bottom-color: var(--bronze);
}
.lang-switch-sep {
  width: 1px;
  height: .8rem;
  background: var(--line);
}

@media (min-width: 56rem) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex !important;
    position: static;
    background: transparent;
    border: 0;
    box-shadow: none;
    align-items: center;
    gap: 1.25rem;
  }
  .site-nav ul {
    display: flex;
    gap: 1.4rem;
    padding: 0;
  }
  .site-nav a {
    border: 0;
    padding: .35rem 0;
    font-size: .95rem;
  }
  .site-nav a[aria-current="page"] {
    color: var(--blue-900);
    box-shadow: inset 0 -2px 0 var(--bronze);
  }
}

/* ---------- Kopfbild (Startseite) ----------
   Randloses Vollbreiten-Bild direkt unter dem Header. Höhe wächst mit der
   Bildschirmbreite, wird aber begrenzt; object-position steuert den Ausschnitt
   (Rheinturm bleibt im Bild). */
.banner {
  background: var(--blue-950);
  border-bottom: 1px solid var(--line);
  line-height: 0;
}
.banner img {
  display: block;
  width: 100%;
  height: max(15rem, min(44.5vw, 80vh));
  object-fit: cover;
  object-position: 72% 16%;
}
/* Große Bildschirme: Breitbild-Ausschnitt (Rheinturm komplett, Himmel links
   verlängert). Rechts oben verankert, damit bei schmaleren/flacheren
   Fenstern nur links Himmel bzw. unten etwas Wasser entfällt. */
@media (min-width: 64rem) {
  .banner img {
    height: min(41vw, 84vh);
    object-position: 100% 0;
  }
}

/* ---------- Hero ----------
   Feines Konstruktionsraster als eigenständiges Hintergrundmotiv – Bezug zu
   Bau- und Wirtschaftsrecht statt austauschbarem Farbverlauf. Bewusst ohne
   Symbol-Wasserzeichen (§ o. Ä. wirkt für eine Kanzlei unseriös). */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(3rem, 8vw, 6rem) clamp(2.5rem, 6vw, 4.5rem);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: linear-gradient(200deg, #000 0%, #000 40%, transparent 78%);
          mask-image: linear-gradient(200deg, #000 0%, #000 40%, transparent 78%);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }
.hero h1 em {
  font-style: italic;
  color: var(--bronze);
}
.hero .lede {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 38rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.6rem;
}

/* Docket-Leiste im Briefkopf-Stil statt Dashboard-Kacheln:
   Aktenblaue Doppellinie oben/unten, feine bronzefarbene Trenner. */
.hero-facts {
  margin: clamp(2rem, 5vw, 3.2rem) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--blue-900);
  border-bottom: 1px solid var(--blue-900);
}
.hero-facts > div {
  padding: .85rem 1rem .85rem 0;
  border-left: 1px solid var(--bronze);
  padding-left: 1rem;
}
.hero-facts > div:nth-child(odd) { border-left: none; }
.hero-facts dt {
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bronze);
  margin: 0 0 .25rem;
}
.hero-facts dd {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--blue-900);
  font-size: 1.1rem;
}
@media (min-width: 48rem) {
  .hero-facts { grid-template-columns: repeat(4, 1fr); }
  .hero-facts > div { border-left: 1px solid var(--bronze); }
  .hero-facts > div:first-child { border-left: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .78rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--blue-900); color: #fff; }
.btn-primary:hover { background: var(--blue-700); color: #fff; }
.btn-secondary {
  background: transparent;
  color: var(--blue-900);
  border-color: var(--blue-900);
}
.btn-secondary:hover { background: var(--blue-100); }

/* ---------- Sektionen ---------- */
.section { padding-block: clamp(2.75rem, 7vw, 5rem); }
.section-alt { background: var(--panel); border-block: 1px solid var(--line); }
.section-blue {
  background: var(--blue-900);
  color: #e7ecf7;
}
.section-blue h2, .section-blue h3 { color: #fff; }
.section-blue a { color: #fff; }
.section-blue .eyebrow { color: #d4bf8f; }
.section-blue .eyebrow::before { background: #d4bf8f; }
.section-head { max-width: 44rem; margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }

.split {
  display: grid;
  gap: 2rem;
}
@media (min-width: 56rem) {
  .split { grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
  .split.split-40-60 { grid-template-columns: 2fr 3fr; }
}

.figure-frame {
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue-900);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.figure-frame figcaption {
  padding: .6rem .9rem;
  font-size: .8rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}

/* ---------- Karten (Beratungsfelder) ---------- */
.card-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 40rem) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 62rem) { .card-grid { grid-template-columns: 1fr 1fr 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue-100);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  transition: border-top-color .15s ease, background .15s ease;
}
.card:hover { border-top-color: var(--bronze); background: var(--panel); }
.card .practice-label {
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--bronze);
  margin: 0 0 .15rem;
}
.card h3 { margin-bottom: .1rem; }
.card p { color: var(--ink-soft); font-size: .95rem; }
.card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  font-size: .92rem;
}
.card ul li { margin-bottom: .35rem; }
.card ul li:last-child { margin-bottom: 0; }
.card .more {
  margin-top: auto;
  padding-top: .6rem;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
}

/* ---------- Zitate ---------- */
.quote-list { display: grid; gap: 1rem; }
@media (min-width: 56rem) { .quote-list { grid-template-columns: repeat(3, 1fr); } }
.quote {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--bronze);
  border-radius: var(--radius);
  padding: 1.3rem 1.3rem 1.1rem;
  margin: 0;
  overflow: hidden;
}
.quote::before {
  content: "„";
  position: absolute;
  top: -1.4rem;
  left: .5rem;
  font-family: var(--font-serif);
  font-size: 6rem;
  color: var(--blue-050);
  z-index: 0;
}
.quote p {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-size: 1.02rem;
  color: var(--ink);
}
.quote footer {
  margin-top: .8rem;
  font-size: .85rem;
  color: var(--ink-soft);
}
.quote footer strong { color: var(--blue-900); }

/* ---------- Anwaltsprofile ---------- */
.lawyer {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue-100);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 4vw, 2.2rem);
  margin-bottom: 1.5rem;
  scroll-margin-top: 6rem;
}
.lawyer-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.monogram {
  flex: none;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: var(--radius);
  border: 1px solid var(--bronze);
  display: grid;
  place-items: center;
  background: var(--blue-900);
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: .03em;
}
.lawyer-head h2, .lawyer-head h3 { margin: 0; }
.lawyer-role { color: var(--ink-soft); font-size: .9rem; }
.lawyer h4 {
  margin-top: 1.4rem;
  font-family: var(--font-sans);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--bronze);
}
.lawyer ul { margin: .4rem 0 0; padding-left: 1.2rem; color: var(--ink-soft); }
.lawyer ul li { margin-bottom: .3rem; }
.lawyer .mailto { font-weight: 600; margin-top: 1.1rem; }

/* Werdegang: ein-/ausklappbar (native <details>). Pfeil-Symbol (">"), das
   sich beim Öffnen um 90° nach unten dreht. */
.lawyer details.cv {
  margin-top: 1.1rem;
  padding-top: .9rem;
  border-top: 1px solid var(--line);
}
.lawyer details.cv summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bronze);
}
.lawyer details.cv summary::-webkit-details-marker { display: none; }
.lawyer details.cv summary::marker { content: ""; }
.lawyer details.cv summary::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  border-right: 2px solid var(--bronze);
  border-bottom: 2px solid var(--bronze);
  transform: rotate(-45deg);
  transition: transform .2s ease;
}
.lawyer details.cv[open] summary::before { transform: rotate(45deg); }
.lawyer details.cv .cv-inner { margin-top: 1.1rem; }
.lawyer details.cv .cv-inner h4 { margin-top: 0; }

/* ---------- Prinzipienliste (Philosophie) ---------- */
.principles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .9rem;
}
@media (min-width: 48rem) { .principles { grid-template-columns: 1fr 1fr; } }
.principles li {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--bronze);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}
.principles strong { color: var(--blue-900); display: block; margin-bottom: .2rem; }
.principles span { color: var(--ink-soft); font-size: .95rem; }

/* ---------- Kontakt / Formular ---------- */
.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 56rem) { .contact-grid { grid-template-columns: 2fr 3fr; gap: 3rem; align-items: start; } }

.contact-facts {
  display: grid;
  gap: .9rem;
}
.contact-facts .fact {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--bronze);
  border-radius: var(--radius);
  padding: .95rem 1.05rem;
}
.contact-facts .fact strong {
  display: block;
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: .2rem;
}
.contact-facts .fact a { font-weight: 600; text-decoration: none; }

form.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue-900);
  border-radius: var(--radius);
  padding: clamp(1.3rem, 4vw, 2rem);
}
.form-row { margin-bottom: 1.1rem; }
.form-row label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: .35rem;
}
.form-row .hint { font-weight: 400; color: var(--ink-soft); }
.form-row input,
.form-row textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .7rem .8rem;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid var(--blue-900);
  outline-offset: 0;
  border-color: var(--blue-900);
}
.form-consent {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  font-size: .88rem;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
}
.form-consent input { margin-top: .25rem; width: 1.05rem; height: 1.05rem; }
.form-note { font-size: .82rem; color: var(--ink-soft); margin-top: .9rem; }

/* Honeypot: für Menschen unsichtbar, für Bots ein normales Feld */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.alert {
  border-radius: var(--radius);
  padding: .9rem 1.1rem;
  margin-bottom: 1.2rem;
  font-size: .95rem;
}
.alert-error { background: #fdecec; border: 1px solid #e3b3b3; color: #7a1f1f; }
.alert-success { background: #eaf5ec; border: 1px solid #b3d4ba; color: #1f5c2e; }

/* ---------- Karte (Consent-Loader) ---------- */
.map-consent {
  position: relative;
  background: var(--blue-050);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 18rem;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.5rem;
}
.map-consent p { max-width: 32rem; color: var(--ink-soft); font-size: .92rem; }
.map-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (min-width: 48rem) { .map-frame { aspect-ratio: 16 / 9; } }

/* ---------- CTA-Band ---------- */
.cta-band { text-align: left; }
.cta-band .container {
  display: grid;
  gap: 1.4rem;
}
@media (min-width: 56rem) {
  .cta-band .container {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}
.cta-band p { color: #c6d2ea; max-width: 40rem; }
.cta-band .btn-primary { background: #fff; color: var(--blue-900); }
.cta-band .btn-primary:hover { background: var(--blue-100); }
.cta-band .btn-secondary { border-color: #ffffff88; color: #fff; }
.cta-band .btn-secondary:hover { background: #ffffff1a; }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 46rem; }
.legal h2 { font-size: 1.35rem; margin-top: 2rem; }
.legal h3 { font-size: 1.1rem; margin-top: 1.5rem; }
.legal ul { padding-left: 1.2rem; }
.legal address { font-style: normal; }

/* ---------- Footer ----------
   Bronzene Oberkante spiegelt die blaue Header-Kante – Seite wird wie ein
   Aktendeckel oben und unten "eingefasst". */
.site-footer {
  background: var(--blue-950);
  color: #b9c4dd;
  font-size: .92rem;
  /* unten Freiraum für den schwebenden "Nach oben"-Button, damit er am Seitenende
     in leerem Bereich steht und weder Text noch Rechtslinks verdeckt */
  padding-block: 2.6rem calc(var(--btt-size) + var(--btt-gap) + .9rem + env(safe-area-inset-bottom, 0px));
  margin-top: 0;
  border-top: 3px solid var(--bronze);
}
.footer-grid {
  display: grid;
  gap: 1.8rem;
  margin-bottom: 2rem;
}
@media (min-width: 56rem) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer h4 {
  color: #fff;
  font-family: var(--font-sans);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .7rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .35rem; }
.site-footer li.footer-city {
  color: #fff;
  font-weight: 700;
  margin-top: 1rem;
}
.site-footer li.footer-city:first-child { margin-top: 0; }
.site-footer a { color: #dbe3f2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand img {
  height: 2.6rem;
  width: 2.6rem;
  margin-bottom: .9rem;
  border-radius: var(--radius);
  border: 1px solid rgba(150, 121, 61, .6);
}
.footer-bottom {
  border-top: 1px solid rgba(150, 121, 61, .3);
  padding-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
  justify-content: space-between;
  font-size: .85rem;
  color: #8fa0c4;
}
.footer-bottom > span { flex: 1 1 22rem; }   /* Copyright darf umbrechen, Rechtslinks bleiben rechts daneben */
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; }

/* ---------- Zurück nach oben ----------
   Kompakter Pfeil-Aktenreiter (Touch-Größe). Am Seitenende steht er im
   Freiraum unterhalb der Fußzeile (siehe .site-footer), verdeckt also nie
   Text oder Navigation. */
.back-to-top {
  position: fixed;
  right: calc(var(--btt-gap) + env(safe-area-inset-right, 0px));
  bottom: calc(var(--btt-gap) + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  display: grid;
  place-items: center;
  width: var(--btt-size);
  height: var(--btt-size);
  padding: 0;
  background: var(--blue-900);
  color: #fff;
  border: 0;
  border-top: 3px solid var(--bronze);
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: var(--shadow-1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(.5rem);
  transition: opacity .2s ease, transform .2s ease, background .15s ease;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--blue-700); }
.back-to-top:focus-visible { outline: 3px solid var(--bronze); outline-offset: 2px; }
.back-to-top svg { display: block; width: 1.25rem; height: 1.25rem; }

/* ---------- Reveal (dezent) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .5s ease, transform .5s ease;
  }
  .reveal.is-visible { opacity: 1; transform: none; }
}

/* ---------- Druck ---------- */
@media print {
  .site-header, .site-footer, .hero-actions, .nav-toggle, .cta-band, .back-to-top { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: none; }
}
