/* ==========================================================================
   objekte.vires.at — main.css
   Vires Real Solutions · Design-Tokens lt. CONTRACT.md
   Designlinie: asymmetrischer Radius 40px 0 40px 0 (Cards/Flächen),
   18px 0 18px 0 (kleine Elemente), Pill-Buttons (999px).
   ========================================================================== */

/* ---- Fonts (self-hosted, variable, latin subset) ------------------------ */
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("/fonts/sora-var.woff2") format("woff2");
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/opensans-var.woff2") format("woff2");
}

/* ---- Tokens -------------------------------------------------------------- */
:root {
  --navy: #001A40;
  --bg: #EFF4FD;
  --card: #FFFFFF;
  --card-alt: #F8FAFE;
  --cream: #EFE9DA;
  --border: rgba(0, 26, 64, 0.08);
  --muted: rgba(0, 26, 64, 0.62);
  --muted-strong: rgba(0, 26, 64, 0.78);
  --ok: #1c7a4d;
  --err: #b3261e;
  --font-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Open Sans", "Segoe UI", system-ui, sans-serif;
  --radius-card: 40px 0 40px 0;
  --radius-sm: 18px 0 18px 0;
  --radius-pill: 999px;
  --shadow-card: 0 10px 30px rgba(0, 26, 64, 0.07);
  --shadow-hover: 0 16px 40px rgba(0, 26, 64, 0.13);
  --maxw: 1200px;
  --gap: clamp(16px, 3vw, 28px);
}

/* ---- Reset / Base -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(1.8rem, 4.5vw, 2.9rem); font-weight: 700; }
h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
p { margin: 0 0 1em; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
address { font-style: normal; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: var(--navy); }
:focus-visible {
  outline: 3px solid rgba(0, 26, 64, 0.45);
  outline-offset: 2px;
  border-radius: 4px;
}
::selection { background: var(--navy); color: #fff; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.container--narrow { max-width: 900px; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  background: var(--navy);
  color: #fff;
  padding: 10px 22px;
  border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }

.eyebrow {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.9em;
}

/* ---- Buttons (Pill) ------------------------------------------------------ */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--navy);
  text-decoration: none;
  text-align: center;
  transition: background 0.18s ease, color 0.18s ease, transform 0.12s ease;
}
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: #0a2b5c; border-color: #0a2b5c; }
.btn--outline { background: transparent; color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--ghost {
  background: transparent;
  color: var(--muted-strong);
  border-color: var(--border);
}
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn--block { display: block; width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: wait; }

/* ---- Header / Nav -------------------------------------------------------- */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 14px rgba(0, 10, 26, 0.25);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: auto; height: 48px; }
.site-nav { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 34px); }
.site-nav a {
  color: #fff;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease;
}
.site-nav a:hover { border-bottom-color: var(--cream); }
.site-nav a:focus-visible { outline-color: #fff; }
.site-nav .lang-switch {
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-pill);
  padding: 5px 16px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}
.site-nav .lang-switch:hover { background: #fff; color: var(--navy); border-color: #fff; }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle__bar {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 719px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy);
    padding: 8px 20px 20px;
    box-shadow: 0 14px 24px rgba(0, 10, 26, 0.3);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
  .site-nav .lang-switch { margin-top: 14px; text-align: center; }
}

/* ---- Hero (Listing) ------------------------------------------------------ */
.hero { padding: clamp(40px, 7vw, 84px) 0 clamp(20px, 3.5vw, 40px); }
.hero__title { margin-bottom: 0.35em; }
.hero__sub {
  max-width: 640px;
  color: var(--muted-strong);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  margin-bottom: 0;
}

/* ---- Filterbar ----------------------------------------------------------- */
.filter-section { padding-bottom: clamp(18px, 3vw, 30px); }
.filterbar {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: clamp(18px, 3vw, 28px) clamp(20px, 3.5vw, 36px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 20px;
  align-items: end;
}
.filterbar__field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.filterbar__field--wide { grid-column: span 2; }
.filterbar__field label {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.filterbar input,
.filterbar select {
  border: 1px solid var(--border);
  background: var(--card-alt);
  border-radius: 12px;
  padding: 11px 14px;
  width: 100%;
}
.filterbar input:focus,
.filterbar select:focus { border-color: var(--navy); } /* uxfix 2026-07 [31]: outline:none entfernt, globale :focus-visible-Outline greift */
.filterbar__reset { justify-self: start; padding: 11px 22px; }
@media (max-width: 899px) {
  .filterbar { grid-template-columns: repeat(2, 1fr); }
  .filterbar__field--wide { grid-column: span 2; }
}
@media (max-width: 539px) {
  .filterbar { grid-template-columns: 1fr; border-radius: var(--radius-sm); }
  .filterbar__field--wide { grid-column: span 1; }
}

/* ---- Listing Grid / Cards ------------------------------------------------ */
.listing { padding-bottom: clamp(48px, 8vw, 96px); }
.result-count { color: var(--muted); margin: 0 0 18px; }
.result-count strong { color: var(--navy); font-family: var(--font-head); }
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
@media (max-width: 999px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .grid { grid-template-columns: 1fr; } }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card[hidden] { display: none; }
.card__link { display: block; color: inherit; text-decoration: none; height: 100%; }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--card-alt); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}
.card__badge:empty { display: none; }
.card__body { padding: 20px 22px 24px; }
.card__title {
  font-size: 1.06rem;
  font-weight: 600;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__ort { color: var(--muted); font-size: 0.9rem; margin-bottom: 10px; }
.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  color: var(--muted-strong);
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.card__meta span:empty { display: none; }
.card__meta span:not(:empty) ~ span:not(:empty)::before { content: "· "; color: var(--muted); }
.card__preis {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.18rem;
  margin: 0;
}

.no-results {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  text-align: center;
  padding: clamp(36px, 6vw, 64px) clamp(20px, 5vw, 60px);
  margin-top: 10px;
}
.no-results p { max-width: 560px; margin: 0 auto 1.4em; color: var(--muted-strong); }

/* ---- Detail: Breadcrumb -------------------------------------------------- */
.breadcrumb {
  padding: clamp(18px, 3vw, 30px) 0 14px;
  font-size: 0.88rem;
  color: var(--muted);
}
.breadcrumb a { color: var(--muted-strong); }
.breadcrumb__sep { margin: 0 8px; }

/* ---- Detail: Galerie ------------------------------------------------------ */
.gallery-wrap { position: relative; margin-bottom: clamp(24px, 4vw, 44px); }
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 10px;
  border-radius: var(--radius-card);
  overflow: hidden;
  max-height: 560px;
}
.gallery__item { display: block; overflow: hidden; background: var(--card-alt); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.gallery__item:hover img { transform: scale(1.03); }
.gallery__item:first-child { grid-row: span 2; aspect-ratio: 4 / 3; }
.gallery__item:nth-child(2),
.gallery__item:nth-child(3) { aspect-ratio: auto; min-height: 0; }
.gallery__item:nth-child(n + 4) { display: none; }
.gallery__more {
  position: absolute;
  right: 18px;
  bottom: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.86rem;
  padding: 10px 20px;
  box-shadow: 0 4px 14px rgba(0, 26, 64, 0.18);
}
.gallery__more:hover { background: #fff; }
@media (max-width: 719px) {
  .gallery { grid-template-columns: 1fr; grid-template-rows: none; max-height: none; border-radius: var(--radius-sm); }
  .gallery__item:first-child { grid-row: auto; }
  .gallery__item:nth-child(n + 2) { display: none; }
}

/* ---- Detail: Layout -------------------------------------------------------- */
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
  padding-bottom: clamp(48px, 8vw, 96px);
}
@media (max-width: 959px) { .detail-layout { grid-template-columns: 1fr; } }

.detail-header { margin-bottom: clamp(20px, 3vw, 30px); }
.detail-title { margin-bottom: 0.4em; }
.detail-sub { color: var(--muted-strong); font-size: 1.06rem; max-width: 640px; }

.kennzahlen {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: clamp(20px, 3vw, 30px);
}
.kennzahl {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
  min-width: 108px;
}
.kennzahl__value { font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; }
.kennzahl__label {
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

.preisblock {
  background: var(--cream);
  border-radius: var(--radius-card);
  padding: clamp(20px, 3vw, 30px) clamp(22px, 3.5vw, 36px);
  margin-bottom: clamp(28px, 4vw, 44px);
}
.preisblock:empty { display: none; }
.preisblock .preis__main {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 4px;
}
.preisblock .preis__label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}
.preisblock dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 18px;
  margin: 12px 0 0;
  font-size: 0.92rem;
}
.preisblock dt { color: var(--muted-strong); }
.preisblock dd { margin: 0; font-weight: 600; text-align: right; }
.preisblock .preis__prov {
  font-size: 0.85rem;
  color: var(--muted-strong);
  margin: 14px 0 0;
}

.detail-section { margin-bottom: clamp(28px, 4.5vw, 48px); }
.detail-section:has(.section-body:empty) { display: none; }
.detail-section h2 {
  padding-bottom: 10px;
  border-bottom: 2px solid var(--cream);
  margin-bottom: 0.9em;
}

/* Rich-Text aus dem Feed */
.rte { color: var(--muted-strong); }
.rte p { margin-bottom: 1em; }
.rte strong { color: var(--navy); }
.rte ul { padding-left: 1.2em; }

.features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px 20px;
}
.features__item {
  position: relative;
  padding-left: 26px;
  color: var(--muted-strong);
}
.features__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 14px;
  height: 14px;
  border-radius: 5px 0 5px 0;
  background: var(--cream);
  border: 1.5px solid var(--navy);
}

.energie { border-collapse: collapse; width: 100%; max-width: 480px; }
.energie th, .energie td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.energie th { font-family: var(--font-head); font-weight: 500; color: var(--muted-strong); width: 55%; }
.energie td { font-weight: 600; }

.links-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- Anfrage / Formulare --------------------------------------------------- */
.detail-aside { position: sticky; top: 96px; }
@media (max-width: 959px) { .detail-aside { position: static; } }
.anfrage-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: clamp(22px, 3.5vw, 34px);
}
.anfrage-card__title { margin-bottom: 0.3em; }
.anfrage-card__sub { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.4em; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 419px) { .form-row { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-row .form-field { margin-bottom: 14px; }
.form-field label {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--muted-strong);
}
.form-field input,
.form-field textarea {
  border: 1px solid var(--border);
  background: var(--card-alt);
  border-radius: 12px;
  padding: 11px 14px;
  width: 100%;
}
.form-field input:focus,
.form-field textarea:focus { border-color: var(--navy); } /* uxfix 2026-07 [31]: outline:none entfernt, globale :focus-visible-Outline greift */
.form-field textarea { resize: vertical; min-height: 96px; }
.form-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--muted-strong);
  margin: 4px 0 18px;
}
.form-check input { margin-top: 4px; flex-shrink: 0; width: 17px; height: 17px; accent-color: var(--navy); }
.form-msg {
  margin: 14px 0 0;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
}
.form-msg--ok { background: rgba(28, 122, 77, 0.1); color: var(--ok); }
.form-msg--err { background: rgba(179, 38, 30, 0.08); color: var(--err); }
/* Honeypot: unsichtbar, aber nicht display:none (Bots) */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  height: 1px;
  overflow: hidden;
}

/* ---- Kontakt-Seite --------------------------------------------------------- */
.page-header { padding: clamp(36px, 6vw, 70px) 0 clamp(16px, 3vw, 28px); }
.page-header__sub { color: var(--muted-strong); max-width: 640px; font-size: 1.05rem; }
.kontakt-layout {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(0, 1.6fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  padding-bottom: clamp(48px, 8vw, 96px);
}
@media (max-width: 767px) { .kontakt-layout { grid-template-columns: 1fr; } }
.kontakt-info {
  background: var(--cream);
  border-radius: var(--radius-card);
  padding: clamp(22px, 3.5vw, 34px);
}
.kontakt-info__title { font-size: 1.1rem; margin-bottom: 0.8em; }
.kontakt-info__address { margin-bottom: 1em; color: var(--muted-strong); }
.kontakt-info__row { margin-bottom: 0.4em; }

/* ---- Legal-Seiten ----------------------------------------------------------- */
.legal-content { padding-bottom: clamp(48px, 8vw, 96px); }
.legal-content h2 { font-size: 1.18rem; margin-top: 1.8em; }
.legal-content code {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1px 7px;
  font-size: 0.9em;
}

/* ---- Footer ------------------------------------------------------------------ */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  margin-top: auto;
}
body { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1 0 auto; }
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
  padding-top: clamp(36px, 5vw, 60px);
  padding-bottom: clamp(24px, 4vw, 40px);
}
@media (max-width: 767px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer__col--brand img { height: 56px; width: auto; margin-bottom: 14px; }
.site-footer__claim { color: rgba(255, 255, 255, 0.72); font-size: 0.95rem; }
.site-footer__title {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1em;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__links { list-style: none; margin: 0 0 1em; padding: 0; }
.site-footer__links li { margin-bottom: 8px; }
.site-footer__legal { font-size: 0.8rem; color: rgba(255, 255, 255, 0.55); }
.footer-bot {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 18px;
  padding-bottom: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}
.footer-bot p { margin: 0; }
.footer-bot a { color: rgba(255, 255, 255, 0.75); text-decoration: underline; }

/* ---- Lightbox ------------------------------------------------------------------ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(0, 10, 26, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox__figure {
  margin: 0;
  max-width: min(92vw, 1400px);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.lightbox__figure img {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.lightbox__caption { color: rgba(255, 255, 255, 0.75); font-size: 0.88rem; text-align: center; min-height: 1.4em; }
.lightbox__btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  transition: background 0.15s ease;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, 0.24); }
.lightbox__btn:focus-visible { outline-color: #fff; }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__counter {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-head);
  font-size: 0.85rem;
  margin: 0;
}
@media (max-width: 639px) {
  .lightbox__btn { width: 42px; height: 42px; }
  .lightbox__prev { left: 6px; }
  .lightbox__next { right: 6px; }
}
body.no-scroll { overflow: hidden; }

/* ---- Cookie-Consent-Banner (.cc-*, FMG-Muster) ----------------------------------- */
.cc-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 500;
  padding: 16px;
  transform: translateY(105%);
  transition: transform 0.35s ease;
}
.cc-banner.is-visible { transform: translateY(0); }
.cc-banner__inner {
  max-width: 860px;
  margin: 0 auto;
  background: var(--card);
  color: var(--navy);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 18px 50px rgba(0, 26, 64, 0.28);
  padding: 22px 26px;
}
.cc-banner__text { font-size: 0.9rem; line-height: 1.55; margin-bottom: 16px; }
.cc-banner__text a { color: var(--navy); }
.cc-banner__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cc-btn {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--navy);
  background: transparent;
  color: var(--navy);
  transition: background 0.15s ease, color 0.15s ease;
}
.cc-btn--accept { background: var(--navy); color: #fff; }
.cc-btn--accept:hover { background: #0a2b5c; }
.cc-btn--reject:hover, .cc-btn--settings:hover { background: var(--navy); color: #fff; }
.cc-btn--small { padding: 7px 16px; font-size: 0.8rem; }
.cc-settings { margin-top: 18px; border-top: 1px solid var(--border); padding-top: 16px; }
.cc-category { margin-bottom: 12px; }
.cc-category__label { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; }
.cc-category__label input { accent-color: var(--navy); width: 16px; height: 16px; }
.cc-category__badge {
  font-size: 0.7rem;
  background: var(--cream);
  border-radius: var(--radius-pill);
  padding: 2px 10px;
  letter-spacing: 0.05em;
}
.cc-category p { font-size: 0.8rem; color: var(--muted); margin: 4px 0 0 24px; }
.cc-settings__actions { margin-top: 14px; }
.cc-blocked-overlay {
  position: absolute;
  inset: 0;
  background: var(--card-alt);
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}
.cc-blocked-content p { font-size: 0.85rem; margin-bottom: 8px; }

/* ---- Reduced Motion ---------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* uxfix 2026-07 [Fix 21]: Touch-Targets — min. 44px effektive Klickfläche */
/* Burger-Menü: 24px-Balken + Padding auf 44x44 heben, Balken zentriert halten */
.nav-toggle {
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
/* Sprachumschalter-Pill: vertikales Padding erhöht -> >=44px Gesamthöhe
   (13px Font x 1.65 Zeilenhöhe + 2x10px Padding + 2x1.5px Border ≈ 45px) */
.site-nav .lang-switch {
  padding-top: 10px;
  padding-bottom: 10px;
}
/* DSGVO-Checkbox: Klickfläche über Label-Padding vergrößern, Layout durch
   negativen Margin unverändert; Checkbox selbst bleibt 17px (accent-styled) */
.form-check label {
  display: block;
  padding: 12px 0;
  margin: -12px 0;
  cursor: pointer;
}
.form-check input { cursor: pointer; }
