:root {
  --teal: #3e8a91;
  --teal-dark: #2a6369;
  --teal-deep: #1f3b3e;
  --teal-tint: #eef5f5;
  --accent: #e8b64c;
  --text: #22292b;
  --muted: #5b6569;
  --line: #dde6e7;
  --bg: #ffffff;
  --radius: 8px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 10px 30px rgba(31, 59, 62, .10);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

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

a { color: var(--teal-dark); text-underline-offset: 2px; }
a:hover { color: var(--teal-deep); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

h1, h2, h3 { line-height: 1.2; color: var(--teal-deep); }
h2 { margin: 0 0 12px; font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { margin: 0 0 10px; font-size: 1.15rem; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }

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

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 8px 14px; background: #fff; color: var(--teal-deep); border-radius: 4px;
}
.skip-link:focus { top: 12px; }

/* Buttons */
.button {
  display: inline-block;
  padding: 12px 22px;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  color: #fff;
  background: var(--teal);
  border: 2px solid var(--teal);
  border-radius: 6px;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.button:hover { color: #fff; background: var(--teal-dark); border-color: var(--teal-dark); }
.button:disabled { opacity: .6; cursor: default; }
.button--light { color: var(--teal-deep); background: #fff; border-color: #fff; }
.button--light:hover { color: var(--teal-deep); background: var(--teal-tint); border-color: var(--teal-tint); }
.button--ghost { background: transparent; border-color: #fff; }
.button--ghost:hover { background: rgba(255, 255, 255, .15); border-color: #fff; }
.button--outline { color: var(--teal-dark); background: transparent; border-color: var(--teal); }
.button--outline:hover { color: #fff; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--teal);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
.brand img { display: block; width: 150px; height: auto; }

.site-nav ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.site-nav a:not(.button) {
  display: block;
  padding: 8px 10px;
  font-size: .95rem;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}
.site-nav a:not(.button):hover { background: rgba(255, 255, 255, .14); color: #fff; }
.site-nav .button { margin-left: 8px; padding: 9px 16px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  position: relative;
}
.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  position: absolute; left: 10px; width: 24px; height: 2px; background: #fff; content: ""; transition: transform .2s;
}
.nav-toggle__bar { top: 21px; }
.nav-toggle__bar::before { left: 0; top: -7px; }
.nav-toggle__bar::after { left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none;
    background: var(--teal);
    border-top: 1px solid rgba(255, 255, 255, .2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .15);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 8px 20px 20px; }
  .site-nav a:not(.button) { padding: 12px 8px; font-size: 1.05rem; }
  .site-nav .button { margin: 8px 0 0; text-align: center; }
}

/* Hero */
.hero {
  position: relative;
  min-height: min(78vh, 680px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero picture, .hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31, 59, 62, .15) 0%, rgba(31, 59, 62, .55) 55%, rgba(31, 59, 62, .85) 100%);
}
.hero__content { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 56px; }
.hero h1 { max-width: 760px; margin: 0 0 16px; font-size: clamp(2rem, 5vw, 3.2rem); color: #fff; }
.hero__eyebrow { margin: 0 0 8px; font-size: .9rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.hero__lead { max-width: 640px; margin: 0 0 28px; font-size: 1.15rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Facts */
.facts { background: var(--teal-deep); color: #fff; }
.facts__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0 auto;
  padding-top: 28px;
  padding-bottom: 28px;
  list-style: none;
}
.facts__list li { display: flex; flex-direction: column; }
.facts__list strong { font-size: 1.8rem; line-height: 1.1; color: var(--accent); }
.facts__list span { font-size: .95rem; opacity: .9; }
@media (max-width: 700px) { .facts__list { grid-template-columns: repeat(2, 1fr); } }

/* Sections */
.section { padding: 80px 0; }
.section--tinted { background: var(--teal-tint); }
.section__lead { margin: 0 0 36px; font-size: 1.1rem; color: var(--muted); }
@media (max-width: 700px) { .section { padding: 56px 0; } }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-bottom: 56px; }
.feature { padding: 24px; background: var(--teal-tint); border-radius: var(--radius); }

.checklist { margin: 0; padding: 0; list-style: none; }
.checklist li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: .45em;
  width: 14px; height: 8px;
  border-left: 3px solid var(--teal); border-bottom: 3px solid var(--teal);
  transform: rotate(-45deg);
}

/* 3D-Rundgang */
.tour__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--teal-deep);
  box-shadow: var(--shadow);
}
.tour__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tour__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.tour__consent {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 24px;
  text-align: center;
  color: #fff;
}
.tour__consent h3 { color: #fff; font-size: 1.5rem; }
.tour__consent p { font-size: .95rem; }
.tour__consent a { color: #fff; }
.tour__alt { margin: 12px 0 0; }
.tour__note { margin: 12px 0 0; font-size: .95rem; color: var(--muted); }
@media (max-width: 600px) {
  .tour__frame { aspect-ratio: auto; min-height: 420px; }
}

/* Preise */
.pricing { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(280px, 1.2fr); gap: 32px; align-items: start; }
@media (max-width: 800px) { .pricing { grid-template-columns: 1fr; } }
.price-card {
  padding: 32px;
  background: #fff;
  border-top: 6px solid var(--teal);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.price-card__label { margin: 0; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; color: var(--muted); }
.price-card__price { margin: 4px 0 20px; }
.price-card__price strong { font-size: 3rem; line-height: 1; color: var(--teal-deep); }
.price-card__incl { margin: 16px 0 24px; color: var(--muted); }
.price-extras { padding: 8px 0; }
.price-extras h3 + .price-table { margin-bottom: 8px; }
.price-extras h3:not(:first-child) { margin-top: 28px; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-weight: 400; }
.price-table td { text-align: right; white-space: nowrap; font-weight: 600; padding-left: 16px; }
.price-table small { display: block; color: var(--muted); }
.price-note { margin: 8px 0 0; font-size: .85rem; color: var(--muted); }

.business {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding: 32px;
  color: #fff;
  background: var(--teal-deep);
  border-radius: var(--radius);
}
.business > div { flex: 1 1 420px; }
.business h3 { color: #fff; font-size: 1.35rem; }
.business p { margin: 0; opacity: .92; }
.business .button { background: var(--accent); border-color: var(--accent); color: var(--teal-deep); }
.business .button:hover { background: #f0c66a; border-color: #f0c66a; }

/* Tabs / Grundrisse */
.tabs__list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tabs__list [role="tab"] {
  padding: 10px 20px;
  font: inherit;
  font-weight: 600;
  color: var(--teal-dark);
  background: var(--teal-tint);
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
}
.tabs__list [role="tab"]:hover { border-color: var(--teal); }
.tabs__list [role="tab"][aria-selected="true"] { color: #fff; background: var(--teal); }
.plan-meta { margin: 0 0 20px; color: var(--muted); }
.plan-meta strong { color: var(--text); }
/* Alle Geschosse eines Hauses nebeneinander, gleich hoch */
.plans { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.plans figure { flex: 1 1 0; min-width: 0; margin: 0; scroll-snap-align: start; }
.plans a {
  display: flex; align-items: center; justify-content: center;
  height: 400px; padding: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); cursor: zoom-in;
}
.plans a:hover { border-color: var(--teal); }
.plans img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; }
@media (max-width: 800px) {
  .plans figure { flex: 0 0 85%; }
  .plans a { height: 340px; }
}
.plans figcaption { margin-top: 8px; font-weight: 600; color: var(--muted); }

/* Standort */
.standort { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .standort { grid-template-columns: 1fr; } }
.address-card {
  margin-bottom: 20px;
  padding: 16px 20px;
  font-style: normal;
  background: #fff;
  border-left: 5px solid var(--teal);
  border-radius: 4px;
}
.distances { width: 100%; margin: 0 0 16px; border-collapse: collapse; }
.distances th, .distances td { padding: 10px 8px 10px 0; text-align: left; border-bottom: 1px solid var(--line); }
.distances thead th { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.distances tbody th { font-weight: 600; color: var(--teal-deep); }
.distances td { white-space: nowrap; }
.standort__img { margin: 0; }
.standort__img img { display: block; border-radius: var(--radius); box-shadow: var(--shadow); }

/* FAQ */
.faq details { background: #fff; border-radius: var(--radius); margin-bottom: 10px; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.faq summary {
  position: relative;
  padding: 18px 52px 18px 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--teal);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

/* Anfrage */
.anfrage { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .anfrage { grid-template-columns: 1fr; gap: 24px; } }
.contact-box { padding: 20px; background: var(--teal-tint); border-radius: var(--radius); }
.contact-box p { margin: 0 0 12px; }
.contact-box p:last-child { margin: 0; }
.label { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-box a { font-size: 1.15rem; font-weight: 600; text-decoration: none; }

.form { padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 600px) { .form { padding: 20px; } }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
@media (max-width: 600px) { .form__grid { grid-template-columns: 1fr; } }
.field { margin: 0 0 18px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
fieldset.field { padding: 0; border: 0; }
.field label, .field legend { display: block; margin-bottom: 4px; padding: 0; font-size: .9rem; font-weight: 600; }
.optional { font-weight: 400; color: var(--muted); }
.field input:not([type="radio"]):not([type="checkbox"]),
.field select,
.field textarea {
  display: block;
  width: 100%;
  padding: 10px 12px;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: #fff;
  border: 1px solid #c3cfd1;
  border-radius: 6px;
}
.field select { appearance: auto; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(62, 138, 145, .2);
}
.field [aria-invalid="true"] { border-color: #c62828 !important; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.field .choice {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  padding: 10px 16px;
  font-weight: 500 !important;
  border: 1px solid #c3cfd1;
  border-radius: 6px;
  cursor: pointer;
}
.field .choice:has(input:checked) { border-color: var(--teal); background: var(--teal-tint); }
.choice input { accent-color: var(--teal); width: 18px; height: 18px; margin: 0; }
.choice-row[aria-invalid="true"] .choice { border-color: #c62828; }

.field__error { margin: 4px 0 0; font-size: .85rem; color: #c62828; }
.field__error:empty { display: none; }
.field__hint { margin: 4px 0 0; font-size: .8rem; color: var(--muted); }

.captcha { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.field .captcha input {
  flex: 0 1 160px; width: 160px; min-width: 120px; height: 64px;
  font-size: 1.2rem; text-transform: uppercase; letter-spacing: .15em;
}
.captcha img { display: block; border: 1px solid var(--line); border-radius: 6px; }
.captcha__placeholder {
  display: flex; align-items: center; justify-content: center;
  width: 200px; height: 64px; padding: 0 12px;
  font-size: .8rem; text-align: center; color: var(--muted);
  background: var(--teal-tint); border: 1px dashed #b8c8ca; border-radius: 6px;
}
.captcha img[hidden], .captcha__placeholder[hidden], .captcha__reload[hidden] { display: none; }
.captcha__reload {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0;
  color: var(--muted); background: none; border: 1px solid var(--line); border-radius: 6px; cursor: pointer;
}
.captcha__reload:hover { color: var(--teal); border-color: var(--teal); }

.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form__note { margin: 0 0 16px; font-size: .8rem; color: var(--muted); }
.form__status { margin-bottom: 16px; font-size: .95rem; }
.form__status:empty { display: none; }
.form__status.is-success, .form__status.is-error { padding: 12px 16px; border-radius: 6px; border-left: 4px solid; }
.form__status.is-success { color: #1b5e20; background: #edf7ee; border-color: #2e7d32; }
.form__status.is-error { color: #8e1c1c; background: #fdecec; border-color: #c62828; }

/* Footer */
.site-footer { padding: 40px 0; color: #fff; background: var(--teal-deep); font-size: .95rem; }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.site-footer__logo { display: block; width: 140px; height: auto; }
.site-footer address { font-style: normal; }
.site-footer a { color: #fff; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 16px; }

/* Lightbox */
.lightbox {
  width: 100vw; max-width: 100vw; height: 100vh; max-height: 100vh;
  margin: 0; padding: 0;
  background: rgba(15, 25, 27, .94);
  border: 0;
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(0, 0, 0, .6); }
.lightbox figure { margin: 0; max-width: calc(100vw - 140px); text-align: center; }
.lightbox img { display: block; max-width: 100%; max-height: calc(100vh - 110px); margin: 0 auto; background: #fff; border-radius: 4px; }
.lightbox figcaption { margin-top: 10px; color: #fff; }
.lightbox__close, .lightbox__nav {
  position: absolute; display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; padding: 0;
  font-size: 2rem; line-height: 1; color: #fff;
  background: rgba(255, 255, 255, .12); border: 0; border-radius: 50%; cursor: pointer;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, .25); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__nav[hidden] { display: none; }
@media (max-width: 600px) {
  .lightbox figure { max-width: calc(100vw - 24px); }
  .lightbox__nav { top: auto; bottom: 16px; transform: none; }
}

/* Unterseiten */
.page-legal .legal { padding-top: 48px; padding-bottom: 64px; max-width: 820px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 0 0 24px; }
.legal h2 { margin: 36px 0 8px; font-size: 1.2rem; }
.legal ul { padding-left: 20px; }
.todo { padding: 1px 6px; background: #fff3cd; border: 1px dashed #d4a017; border-radius: 3px; }
.email-img { height: 1.05em; width: auto; vertical-align: -.2em; }

/* Verfügbarkeit */
.availability { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin: 24px 0; }
.availability__house { padding: 20px; background: var(--teal-tint); border-radius: var(--radius); }
.availability__house h2 { margin: 0 0 8px; font-size: 1.2rem; }
.availability__count { font-size: 2rem; font-weight: 700; color: var(--teal-deep); line-height: 1.1; }
.notice { padding: 16px 20px; background: var(--teal-tint); border-left: 5px solid var(--teal); border-radius: 4px; }

/* Unterseiten: nur Anfrage-Button, kein Menü */
@media (max-width: 960px) {
  .site-nav--simple { position: static; display: block; background: none; border: 0; box-shadow: none; }
  .site-nav--simple ul { flex-direction: row; padding: 0; }
  .site-nav--simple .button { margin: 0; }
}

/* Verfügbarkeit */
.page-legal .legal--wide { max-width: 1140px; }
.availability-summary { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 0 0 8px; padding: 20px 24px; background: var(--teal-tint); border-radius: var(--radius); }
.availability-summary p { margin: 0; font-size: 1.1rem; }
.availability-summary strong { font-size: 1.6rem; color: var(--teal-deep); }
.availability-group { margin-top: 40px; }
.availability-group h2 { margin: 0 0 4px; font-size: 1.35rem; }
.availability-group__lead { margin: 0 0 16px; color: var(--muted); }
.units { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.unit { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.unit--free { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal) inset; }
.unit__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.unit h3 { margin: 0; font-size: 1.1rem; }
.unit__price, .unit__deposit { margin: 0; }
.unit__price strong { font-size: 1.15rem; color: var(--teal-deep); }
.unit__net, .unit__deposit { font-size: .85rem; color: var(--muted); }
.unit__net { display: block; }
.unit .button { align-self: flex-start; margin-top: 6px; }
.button--small { padding: 8px 14px; font-size: .9rem; }
.badge { display: inline-block; padding: 3px 10px; font-size: .8rem; font-weight: 600; border-radius: 999px; white-space: nowrap; }
.badge--free { color: #fff; background: #2e7d32; }
.badge--soon { color: var(--teal-deep); background: var(--accent); }
.badge--taken { color: var(--muted); background: #eceff0; }

/* Karte (wird wie der 3D-Rundgang erst nach Klick geladen) */
.map { aspect-ratio: 4 / 3; }
.map .tour__consent h3 { font-size: 1.3rem; }
@media (max-width: 600px) { .map { aspect-ratio: auto; min-height: 380px; } }
.price-card .button-row { margin-top: 0; }
.anfrage__intro .button-row { margin-top: 16px; }

/* Google-Bewertung im Hero */
.rating { margin-top: 24px; }
.rating__link {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 10px;
  padding: 8px 14px;
  color: #fff; text-decoration: none;
  background: rgba(31, 59, 62, .55); border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px;
  backdrop-filter: blur(4px);
}
.rating__link:hover { color: #fff; background: rgba(31, 59, 62, .75); }
.rating__link strong { font-size: 1.1rem; }
.rating__link > span:last-child { font-size: .95rem; opacity: .95; }
.rating__stars { position: relative; display: inline-block; font-size: 1.15rem; line-height: 1; letter-spacing: 2px; color: rgba(255, 255, 255, .35); }
.rating__fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; color: var(--accent); }
.rating { position: relative; }
.rating__row { display: inline-flex; align-items: center; gap: 8px; }
.rating__info {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; padding: 0;
  font: italic 700 .85rem/1 Georgia, "Times New Roman", serif;
  color: #fff; background: rgba(31, 59, 62, .55);
  border: 1px solid rgba(255, 255, 255, .45); border-radius: 50%; cursor: pointer;
}
.rating__info:hover, .rating__info[aria-expanded="true"] { background: rgba(31, 59, 62, .85); border-color: #fff; }
.rating__note {
  position: absolute; z-index: 5; left: 0; bottom: calc(100% + 8px);
  max-width: 340px; margin: 0; padding: 10px 14px;
  font-size: .85rem; line-height: 1.45; color: var(--text);
  background: #fff; border-radius: 6px; box-shadow: var(--shadow);
}

/* Selbstauskunft */
.sa { max-width: 860px; }
.sa [hidden] { display: none !important; }
.sa-progress { display: flex; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; counter-reset: sa; }
.sa-progress li {
  flex: 1; position: relative; padding: 10px 8px 0; font-size: .85rem; font-weight: 600; color: var(--muted);
  border-top: 4px solid var(--line); counter-increment: sa;
}
.sa-progress li::before { content: counter(sa) ". "; }
.sa-progress li.is-done { color: var(--teal-dark); border-color: var(--teal); }
.sa-progress li.is-active { color: var(--teal-deep); border-color: var(--teal-deep); }
@media (max-width: 600px) { .sa-progress li { font-size: 0; } .sa-progress li::before { font-size: .85rem; content: counter(sa); } }
.sa-step { margin: 0; padding: 0; border: 0; min-width: 0; }
.sa-step > legend { margin-bottom: 12px; padding: 0; font-size: 1.35rem; font-weight: 700; color: var(--teal-deep); }
.sa-step > legend:focus { outline: none; }
.sa-sub { margin: 24px 0 12px; font-size: 1.05rem; }
.sa-step > .sa-sub:first-of-type { margin-top: 8px; }
.sa-choices { display: grid; gap: 10px; }
.sa-choice {
  display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px;
  border: 1px solid #c3cfd1; border-radius: 6px; cursor: pointer;
}
.sa-choice:hover { border-color: var(--teal); }
.sa-choice:has(input:checked) { border-color: var(--teal); background: var(--teal-tint); box-shadow: 0 0 0 1px var(--teal) inset; }
.sa-choice input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--teal); flex: none; }
.sa-choices[aria-invalid="true"] .sa-choice { border-color: #c62828; }
.sa-docs { margin-bottom: 16px; padding: 16px 20px; background: var(--teal-tint); border-radius: var(--radius); }
.sa-docs p { margin: 0 0 8px; }
.sa-docs .checklist { margin: 0; }
.sa-docs .checklist li:last-child { margin-bottom: 0; }
.sa-files { margin: 10px 0 0; padding: 0; list-style: none; }
.sa-files li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px; margin-bottom: 6px; background: var(--teal-tint); border-radius: 6px; font-size: .95rem; overflow-wrap: anywhere; }
.sa-files__remove { flex: none; padding: 4px 10px; font: inherit; font-size: .85rem; color: #8e1c1c; background: none; border: 1px solid #e3b4b4; border-radius: 4px; cursor: pointer; }
.sa-files__remove:hover { background: #fdecec; }
.sa-summary { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 0 0 24px; padding: 20px; background: var(--teal-tint); border-radius: var(--radius); }
.sa-summary dt { font-weight: 600; color: var(--muted); }
.sa-summary dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 600px) { .sa-summary { grid-template-columns: 1fr; gap: 2px; } .sa-summary dd { margin-bottom: 8px; } }
.sa-check { display: flex !important; align-items: flex-start; gap: 10px; font-weight: 500 !important; cursor: pointer; }
.sa-check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--teal); flex: none; }
.sa-nav { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: 8px; }
.sa-nav .button:only-child { margin-left: auto; }

/* Sprachumschalter */
.lang-switch { display: flex; gap: 2px; margin-left: auto; margin-right: 8px; }
.lang-switch a {
  padding: 4px 7px; font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  color: rgba(255, 255, 255, .8); text-decoration: none; border-radius: 4px;
}
.lang-switch a:hover { color: #fff; background: rgba(255, 255, 255, .14); }
.lang-switch a[aria-current="true"] { color: var(--teal-deep); background: #fff; }
@media (min-width: 961px) { .lang-switch { order: 3; margin: 0 0 0 12px; } .site-header__inner .site-nav { margin-left: auto; } }

.lang-note { margin: -12px 0 24px; font-size: .85rem; color: var(--muted); }

/* Sprachvorschlag nach Browsersprache */
.lang-suggest {
  position: fixed; z-index: 60; left: 16px; bottom: 16px; right: 16px; max-width: 460px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  padding: 14px 48px 14px 18px;
  color: var(--text); background: #fff; border-left: 5px solid var(--teal); border-radius: 6px; box-shadow: var(--shadow);
}
.lang-suggest p { margin: 0; font-weight: 600; }
.lang-suggest__close {
  position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; padding: 0;
  font-size: 1.4rem; line-height: 1; color: var(--muted); background: none; border: 0; border-radius: 50%; cursor: pointer;
}
.lang-suggest__close:hover { color: var(--text); background: var(--teal-tint); }

/* Foto-Slider */
.slider { margin-bottom: 48px; }
.slider__viewport { position: relative; }
.slider__track {
  display: flex; margin: 0; padding: 0; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  background: var(--teal-deep); border-radius: var(--radius);
  scrollbar-width: none;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__slide { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.slider__slide figure { position: relative; margin: 0; }
.slider__slide a { display: block; width: 100%; aspect-ratio: 3 / 2; max-height: 72vh; cursor: zoom-in; }
.slider__slide img { display: block; width: 100%; height: 100%; object-fit: contain; }
.slider__slide figcaption {
  position: absolute; left: 16px; bottom: 16px; max-width: calc(100% - 32px);
  padding: 6px 12px; font-size: .9rem; color: #fff;
  background: rgba(31, 59, 62, .78); border-radius: 4px; pointer-events: none;
}
.slider__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; padding: 0 0 4px;
  font-size: 2.2rem; line-height: 1; color: var(--teal-deep);
  background: rgba(255, 255, 255, .92); border: 0; border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .25); cursor: pointer;
}
.slider__btn:hover { background: #fff; }
.slider__btn[hidden] { display: none; }
.slider__prev { left: 12px; }
.slider__next { right: 12px; }
.slider__thumbs { display: flex; gap: 8px; margin-top: 10px; padding: 2px 2px 6px; overflow-x: auto; scrollbar-width: thin; }
.slider__thumbs[hidden] { display: none; }
.slider__thumb {
  flex: none; width: 96px; height: 72px; padding: 0; overflow: hidden;
  background: var(--teal-tint); border: 2px solid transparent; border-radius: 6px;
  opacity: .65; cursor: pointer; transition: opacity .15s, border-color .15s;
}
.slider__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.slider__thumb:hover { opacity: 1; }
.slider__thumb.is-active { opacity: 1; border-color: var(--teal); }
@media (max-width: 700px) {
  .slider__slide a { max-height: 62vh; }
  .slider__btn { width: 40px; height: 40px; font-size: 1.8rem; }
  .slider__slide figcaption { left: 10px; bottom: 10px; font-size: .8rem; }
  .slider__thumb { width: 72px; height: 54px; }
}
/* Unscharfer Hintergrund aus demselben Foto statt dunkler Balken */
.slider__slide a { position: relative; overflow: hidden; }
.slider__slide a::before {
  content: ""; position: absolute; inset: -40px;
  background: var(--slide-bg, none) center / cover no-repeat;
  filter: blur(28px) brightness(.75) saturate(1.1);
}
.slider__slide img { position: relative; }
