/* ============================================================
   Erlanger Immobilien, Designsystem
   Keine Webfonts, keine Frameworks. Ein Request, ca. 14 KB.
   ============================================================ */

:root {
  --ink:        #16232b;
  --ink-2:      #475a66;
  --ink-3:      #6f8290;
  --paper:      #fbf9f6;
  --surface:    #ffffff;
  --line:       #e5ded4;
  --line-soft:  #f0eae1;
  --brand:      #0f3d4c;
  --brand-600:  #16556a;
  --brand-100:  #e3edf0;
  --accent:     #b4763c;
  --accent-600: #9a6231;
  --accent-100: #f4e8da;
  --ok:         #2f6f4f;

  --shell: 1160px;
  --gap: clamp(1rem, 2.5vw, 2rem);
  --r: 14px;
  --r-lg: 22px;

  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --shadow: 0 1px 2px rgba(22,35,43,.05), 0 8px 24px -12px rgba(22,35,43,.18);
  --shadow-lg: 0 2px 4px rgba(22,35,43,.06), 0 24px 60px -24px rgba(22,35,43,.28);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  /* Deutsche Komposita wie "Mietschuldenfreiheitsbescheinigung" sprengen sonst
     schmale Karten und erzeugen horizontales Scrollen auf dem Telefon. */
  overflow-wrap: break-word;
}

/* Silbentrennung nur dort, wo die Spalte schmal ist. Im breiten Fliesstext
   wuerde sie das Schriftbild unruhig machen. */
h1, h2, h3, h4,
.card, .step, .ref, .hero-facts, th, td, .faq summary { hyphens: auto; }

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.25rem + 3.6vw, 3.7rem); }
h2 { font-size: clamp(1.6rem, 1.1rem + 2.1vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .7vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p, li { text-wrap: pretty; }
p { margin: 0 0 1.1em; }

a { color: var(--brand-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-600); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.shell { width: min(100% - 2.5rem, var(--shell)); margin-inline: auto; }
/* max-width statt width: sonst schlaegt .narrow den Seitenrand der .shell
   und erzeugt auf schmalen Displays horizontales Scrollen. */
.narrow { max-width: 74ch; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* ---------- Kopfbereich ---------- */

.topbar {
  background: var(--ink);
  color: #cfdae1;
  font-size: .875rem;
}
.topbar .shell {
  display: flex; flex-wrap: wrap; gap: .35rem 1.5rem;
  align-items: center; justify-content: space-between;
  min-height: 40px; padding-block: .35rem;
}
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar .meta { display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; }

.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,249,246,.92);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-head .shell {
  display: flex; align-items: center; gap: 1rem;
  min-height: 74px;
}

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { flex: none; height: 46px; width: auto; }
@media (max-width: 480px) { .brand img { height: 36px; } }
.brand .brand-text { display: block; }
.brand b { font-family: var(--serif); font-size: 1.3rem; font-weight: 400; line-height: 1.15; display: block; }
.brand .brand-text > span { display: block; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }

.nav { display: flex; align-items: center; gap: .35rem; }
.nav a {
  color: var(--ink); text-decoration: none; font-size: .95rem;
  padding: .55rem .7rem; border-radius: 8px; white-space: nowrap;
}
.nav a:hover { background: var(--brand-100); color: var(--brand); }
.nav a[aria-current="page"] { color: var(--brand); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }

.nav-toggle {
  display: none; border: 1px solid var(--line); background: var(--surface);
  border-radius: 10px; padding: .5rem .7rem; font: inherit; font-size: .9rem; cursor: pointer;
  align-items: center; gap: .5rem; color: var(--ink);
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; inset: 100% 0 auto; display: none;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: .5rem clamp(1.25rem, 5vw, 2rem) 1rem; box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: .8rem .25rem; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .nav .btn { margin-top: .75rem; justify-content: center; border-bottom: 0; }
}

/* ---------- Schaltflächen ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.35rem; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-size: .97rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: transform .15s, background-color .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px -8px rgba(180,118,60,.9); }
.btn-primary:hover { background: var(--accent-600); color: #fff; }
.btn-dark { background: var(--brand); color: #fff; }
.btn-dark:hover { background: var(--brand-600); color: #fff; }
.btn-ghost { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.4); }
.btn-light:hover { background: rgba(255,255,255,.24); color: #fff; }
.btn-sm { padding: .55rem 1rem; font-size: .88rem; }

/* ---------- Held ---------- */

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(38rem, 74vh, 50rem); display: flex;
  background:
    radial-gradient(120% 90% at 78% 8%, #1d5f73 0%, rgba(29,95,115,0) 58%),
    linear-gradient(168deg, #14414f 0%, #0f3d4c 42%, #0a2a35 100%);
  color: #fff;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 42%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 220' preserveAspectRatio='none'%3E%3Cg fill='%23ffffff' fill-opacity='.05'%3E%3Cpath d='M0 176h58v-38h26v38h44v-64l30-20 30 20v64h40v-46h34v46h58v-92l40-26 40 26v92h34v-54h30v54h52v-72l36-24 36 24v72h44v-40h28v40h58v-86l38-24 38 24v86h40v-50h32v50h56v-68l34-22 34 22v68h60v-44h30v44h60v220H0z'/%3E%3C/g%3E%3Cg fill='%23ffffff' fill-opacity='.04'%3E%3Ccircle cx='980' cy='58' r='34'/%3E%3C/g%3E%3C/svg%3E") bottom center / 1400px auto repeat-x;
  z-index: -1; pointer-events: none;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 45%; }
@media (prefers-reduced-motion: no-preference) {
  .hero-media img { animation: hero-drift 28s ease-in-out infinite alternate; }
  @keyframes hero-drift {
    from { transform: scale(1.03); }
    to   { transform: scale(1.1) translate3d(-1.8%, -1.2%, 0); }
  }
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(95deg, rgba(10,42,53,.86) 0%, rgba(10,42,53,.62) 34%, rgba(11,46,57,.28) 58%, rgba(11,46,57,.06) 82%, rgba(11,46,57,0) 100%),
    linear-gradient(180deg, rgba(10,42,53,.12) 0%, rgba(10,42,53,.38) 100%);
}
.hero > .shell { padding-block: clamp(3.5rem, 7vw, 6.5rem); position: relative; width: min(100% - 2.5rem, var(--shell)); }

/* Crumbs schweben oben im Hero, damit die Headline auf allen Seiten
   an derselben Stelle beginnt wie auf der Startseite */
.hero .crumbs { position: absolute; top: 1rem; left: 0; right: 0; padding-block: 0; }
.hero .crumbs + .eyebrow { margin-top: 0; }

/* Scroll-Reveal (Klasse .reveal wird nur per JavaScript vergeben) */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
  .reveal.in { opacity: 1; transform: none; }
}

.hero-facts-band { background: #0a2a35; color: #fff; }
.hero-facts-band .hero-facts { margin-top: 0; border-top: 0; padding-block: 1.9rem 2.2rem; }
.hero h1 { color: #fff; max-width: 17ch; text-shadow: 0 1px 24px rgba(8,30,40,.5); }
.hero .lede { font-size: clamp(1.05rem, .98rem + .4vw, 1.3rem); color: #e6f0f3; max-width: 56ch; text-shadow: 0 1px 16px rgba(8,30,40,.55); }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: #9fc4cf; margin-bottom: 1.25rem;
}
.hero .eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

.hero-facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.25rem 2rem; margin-top: 3rem; padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,.16);
}
.hero-facts b { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 400; color: #fff; }
.hero-facts span { font-size: .88rem; color: #b8ccd3; }

/* ---------- Abschnitte ---------- */

section { padding-block: clamp(3rem, 6vw, 5.5rem); }
section.tight { padding-block: clamp(2rem, 4vw, 3.25rem); }
.bg-surface { background: var(--surface); }
.bg-ink { background: var(--ink); color: #d7e0e5; }
.bg-ink h2, .bg-ink h3 { color: #fff; }
.bg-brand { background: var(--brand); color: #d3e2e7; }
.bg-brand h2, .bg-brand h3 { color: #fff; }

.eyebrow {
  display: block; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent-600); margin-bottom: .75rem; font-weight: 600;
}
.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--ink-2); font-size: 1.1rem; margin-bottom: 0; }

/* ---------- Raster und Karten ---------- */

.grid { display: grid; gap: var(--gap); }
.g-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.g-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 275px), 1fr)); }
.g-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
/* Fuenf Leistungskarten auf der Startseite: ab Desktopbreite in einer Reihe,
   sonst blieb bei 1280 px eine Karte allein in der zweiten Zeile.
   Darunter uebernimmt auto-fit von .g-4 (3+2, 2+2+1, 1er-Spalte). */
@media (min-width: 1100px) { .g-5 { grid-template-columns: repeat(5, 1fr); } }

.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1.15fr .85fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 1.6rem;
  display: flex; flex-direction: column; gap: .35rem;
}
.card h3 { margin-bottom: .25rem; }
.card p { color: var(--ink-2); margin-bottom: 0; }
.card .more { margin-top: auto; padding-top: 1rem; font-weight: 600; font-size: .95rem; text-decoration: none; }
.card .more::after { content: " \2192"; }

.card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .35rem; }
.card-icon {
  width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--accent);
  display: grid; place-items: center; color: var(--accent-600); background: var(--paper);
}
.card-icon svg { width: 20px; height: 20px; }

.card-link { text-decoration: none; color: inherit; transition: border-color .15s, transform .15s, box-shadow .15s; }
.card-link:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow); color: inherit; }

.icon {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: var(--brand-100); color: var(--brand); margin-bottom: .9rem; flex: none;
}
.icon svg { width: 21px; height: 21px; }
.icon.warm { background: var(--accent-100); color: var(--accent-600); }

/* Objekt- und Referenzkarten */
.ref { padding: 0; overflow: hidden; }
.ref .thumb {
  aspect-ratio: 3 / 2; position: relative;
  background: linear-gradient(150deg, #dfe8ea, #eef1ec 55%, #f5eee5);
  display: grid; place-items: center;
}
.ref .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ref:hover .thumb img { transform: scale(1.05); }
.district { padding: 0; overflow: hidden; }
.district .thumb { aspect-ratio: 5 / 2; position: relative; overflow: hidden; }
.district .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.district:hover .thumb img { transform: scale(1.05); }
.district .thumb.pin::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 13px;
  transform: translate(-50%, -50%);
  border: 3px solid var(--accent); border-radius: 50%;
  background: rgba(255,255,255,.6); box-shadow: 0 0 0 5px rgba(180,118,60,.22);
}
.district .body { padding: 1.3rem 1.5rem 1.5rem; }

@media (prefers-reduced-motion: reduce) {
  .gf .portrait img, .ref .thumb img, .district .thumb img { transition: none; }
  .gf:hover .portrait img, .ref:hover .thumb img, .district:hover .thumb img { transform: none; }
}
.ref .thumb svg { width: 54px; height: 54px; color: #a9bcc2; }
.ref .body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .4rem; }
.ref h3 { font-size: 1.2rem; margin-bottom: .1rem; }
.ref dl { display: grid; grid-template-columns: auto 1fr; gap: .2rem .9rem; margin: .6rem 0 0; font-size: .93rem; }
.ref dt { color: var(--ink-3); }
.ref dd { margin: 0; font-weight: 600; }

.gf { padding: 0; overflow: hidden; }
.gf .portrait { aspect-ratio: 4 / 5; }
.gf .portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; transition: transform .6s ease; }
.gf:hover .portrait img { transform: scale(1.05); }
.gf .body { padding: 1.3rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: .25rem; }
.gf h3 { font-size: 1.2rem; margin-bottom: 0; }
.gf .role { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-600); font-weight: 600; }
.gf .body p:last-child { font-size: .95rem; }

.tag {
  display: inline-flex; align-items: center; gap: .4rem; align-self: flex-start;
  font-size: .74rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  padding: .3rem .65rem; border-radius: 999px;
  background: var(--accent-100); color: var(--accent-600);
}
.tag.done { background: #e6f0ea; color: var(--ok); }
.tag.dark { background: rgba(255,255,255,.15); color: #fff; }

/* ---------- Ablauf ---------- */

.steps { counter-reset: s; display: grid; gap: 1.25rem; }
@media (min-width: 780px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding-top: 3.6rem; }
.step-icon {
  position: absolute; top: 0; left: 0;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--accent);
  display: grid; place-items: center; background: var(--surface); color: var(--accent-600);
}
.step-icon svg { width: 20px; height: 20px; }
.step::before {
  counter-increment: s; content: counter(s, decimal-leading-zero);
  position: absolute; top: -7px; left: 33px; z-index: 1;
  font-family: var(--serif); font-size: .7rem; color: var(--accent-600);
  width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; background: var(--surface);
}
.step h3 { font-size: 1.15rem; }
.step p { color: var(--ink-2); font-size: .97rem; margin-bottom: 0; }

/* ---------- Vertrauensleiste ---------- */

.trust { display: grid; gap: 1rem 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr)); }
.trust li { display: flex; gap: .8rem; align-items: flex-start; }
.trust svg { width: 20px; height: 20px; flex: none; margin-top: .3rem; color: var(--accent); }
.trust b { display: block; }
.trust span { color: var(--ink-2); font-size: .93rem; }

/* Trust-Liste auf dunklem Markenhintergrund: lesbare Farben */
.bg-brand .trust b { color: #fff; }
.bg-brand .trust span { color: #c3d5db; }

/* Split-Spalten, die nur eine Haekchen-Liste enthalten, sitzen mittig
   neben dem Textblock statt oben zu kleben. Browser ohne :has() zeigen
   die Liste weiterhin oben, das ist ein sauberer Fallback. */
.split > div:has(> .trust:only-child) { align-self: center; }

ul.clean, ol.clean { list-style: none; margin: 0; padding: 0; }
ul.check { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .6rem; }
ul.check li { position: relative; padding-left: 1.9rem; }
ul.check li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: 1.05rem; height: .55rem; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---------- Aufruf zur Handlung ---------- */

.cta {
  background: linear-gradient(160deg, #14414f, #0a2a35);
  color: #d3e2e7; border-radius: var(--r-lg); padding: clamp(2rem, 4vw, 3.25rem);
  display: grid; gap: 1.75rem; align-items: center;
}
@media (min-width: 860px) { .cta { grid-template-columns: 1.2fr auto; } }
.cta h2 { color: #fff; margin-bottom: .5rem; }
.cta p { margin-bottom: 0; color: #c3d5db; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.callout {
  border-left: 3px solid var(--accent); background: var(--accent-100);
  padding: 1.25rem 1.5rem; border-radius: 0 var(--r) var(--r) 0; margin: 1.75rem 0;
}
.callout p:last-child { margin-bottom: 0; }

/* ---------- Tabelle ---------- */

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .97rem; min-width: 520px; }
th, td { text-align: left; padding: .85rem 1.1rem; border-bottom: 1px solid var(--line-soft); }
th { font-family: var(--sans); font-size: .8rem; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
tbody tr:last-child td { border-bottom: 0; }

/* ---------- Häufige Fragen ---------- */

.faq { display: grid; gap: .75rem; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 0 1.35rem;
}
.faq details[open] { border-color: var(--brand); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 2.25rem 1.15rem 0; position: relative;
  font-weight: 600; font-size: 1.03rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .25rem; top: 1.5rem;
  width: .55rem; height: .55rem; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .answer { padding-bottom: 1.3rem; color: var(--ink-2); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- Formular ---------- */

.form-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--shadow-lg);
  align-self: center;
}
/* In der schmalen Karte bleiben Name und Kontakt untereinander,
   die Zwei-Spalten-Variante von .row-2 ist fuer breite Formulare gedacht */
.form-card .row-2 { grid-template-columns: 1fr; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 10px;
  background: var(--paper);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); background: #fff; }
.field .hint { font-size: .84rem; color: var(--ink-3); margin-top: .35rem; }
.row-2 { display: grid; gap: 0 1rem; }
@media (min-width: 560px) { .row-2 { grid-template-columns: 1fr 1fr; } }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--ink-2); }
.consent input { width: auto; margin-top: .25rem; flex: none; }

/* ---------- Ortsteile ---------- */

.places { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.places a {
  display: inline-block; text-decoration: none; font-size: .93rem;
  padding: .5rem .95rem; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); color: var(--ink);
}
.places a:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-100); }

/* ---------- Brotkrumen ---------- */

.crumbs { font-size: .87rem; color: var(--ink-3); padding-block: 1rem 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.crumbs li::after { content: "/"; margin-left: .4rem; color: var(--line); }
.crumbs li:last-child::after { content: ""; }
.crumbs a { color: var(--ink-2); }

/* ---------- Fuß ---------- */

.site-foot { background: var(--ink); color: #a9bcc5; font-size: .95rem; padding-block: clamp(2.5rem, 5vw, 4rem) 2rem; }
.site-foot h2, .site-foot h3 { color: #fff; font-family: var(--sans); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.site-foot a { color: #d6e2e8; text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; gap: 2.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.foot-bottom {
  margin-top: 2.75rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: .87rem;
}
.foot-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 0; padding: 0; }

/* Klick zum Anrufen, mobil dauerhaft sichtbar */
.callbar { display: none; }
@media (max-width: 700px) {
  .callbar {
    position: fixed; inset: auto 0 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr;
    gap: 1px; background: var(--line); border-top: 1px solid var(--line);
  }
  .callbar a {
    background: var(--surface); text-align: center; padding: .85rem .5rem;
    text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink);
  }
  .callbar a.primary { background: var(--accent); color: #fff; }
  body { padding-bottom: 56px; }
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Cookie-Banner nach dem Muster von creative-studios.tv (cc-banner):
   Karte unten, drei Kategorien, Einstellungen-Aufklapper, Footer-Link
   öffnet die Einstellungen wieder. Klasse bewusst cc-*, weil .consent
   bereits die Einverständnis-Zeile der Formulare ist. */
.cc-banner {
  position: fixed; z-index: 80; left: 0; right: 0; bottom: 0;
  padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom));
  background: var(--surface); border-top: 1px solid var(--line);
  box-shadow: 0 -12px 30px -18px rgba(22, 35, 43, .35);
}
.cc-inner { max-width: 72rem; margin: 0 auto; display: grid; gap: .9rem; }
.cc-text strong { display: block; font-family: var(--serif, Georgia, serif); font-weight: 400; color: var(--brand); font-size: 1.05rem; margin-bottom: .3rem; }
.cc-text p { margin: 0; font-size: .9rem; color: var(--ink-2); max-width: 78ch; }
.cc-cats { display: grid; gap: .45rem; margin-top: .7rem; font-size: .88rem; }
.cc-cat { display: flex; gap: .55rem; align-items: flex-start; }
.cc-cat input { width: auto; margin-top: .2rem; flex: none; }
.cc-cat b { color: var(--ink); }
.cc-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.cc-actions .btn { font-size: .92rem; padding: .6rem 1.4rem; }
/* Das hidden-Attribut muss die display-Regeln darueber schlagen, sonst stehen
   Kategorien und „Auswahl speichern" schon da, bevor jemand auf Einstellungen klickt. */
.cc-banner [hidden] { display: none; }
@media (max-width: 700px) {
  .cc-banner { bottom: 57px; } /* über der Anruf-Leiste */
}

/* Formulare: Honigtopf-Feld und Hinweismeldung */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-hinweis {
  background: #fdf3ec; border: 1px solid var(--accent); border-radius: 10px;
  padding: .7rem .9rem; font-size: .92rem; margin-bottom: 1rem;
}
