/* =========================================================================
   Wohnen am Dorfplatz – Prototyp
   Farben & Schriften zentral über CSS-Variablen anpassbar
   ========================================================================= */
:root {
  /* ---- CI Moosweih (siehe Dokumente/CI-Guide_Moosweih.pdf) ---- */
  --bg: #ffffff;           /* Weiss – Grundfläche */
  --bg-2: #f4ebe4;         /* #A6571A zu 12 % – Wechselsektionen */
  --surface: #ffffff;
  --ink: #414042;          /* Anthrazit – UI, starke Texte */
  --ink-2: #080808;        /* Farbblatt: Schwarz #080808 */
  --title: #51514e;        /* Titelgrau H1–H6 */
  --muted: #7b7b7b;        /* Mittelgrau */
  --line: #e9d5c6;         /* Farbblatt: #A6571A zu 25 % */
  --accent: #835b39;       /* Farbblatt: Braun #835B39 – Primärfarbe */
  --accent-dark: #6b4a2e;  /* Adler-Braun 10–20 % dunkler (Hover) */
  --accent-2: #a6571a;     /* Farbblatt: Rostbraun #A6571A – sparsam (Hover, reserviert) */
  --accent-soft: #f8f2ed;  /* #A6571A zu 8 % */
  --sand: #e9d5c6;         /* Farbblatt: #A6571A zu 25 % */
  --dark: #414042;         /* Anthrazit – Footer, dunkle Sektionen */
  --light-grey: #d6d6d6;   /* Hellgrau – Text auf Anthrazit */

  --frei: #835b39;
  --reserviert: #a6571a;
  --vermietet: #a9a9aa;

  --serif: "Roboto", Arial, sans-serif;            /* Titel (CI: Roboto 600) */
  --sans: Arial, "Helvetica Neue", Helvetica, sans-serif; /* Fliesstext, Buttons */
  --ui: "Open Sans", Arial, sans-serif;            /* Navigation, kleine Titel */

  --radius: 0px;           /* CI: durchgehend eckig */
  --radius-sm: 0px;
  --shadow: 0 20px 40px -24px rgba(65, 64, 66, .35);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --container: 1300px;     /* CI: Container ab 1440 px */
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
p { margin: 0 0 1em; color: var(--ink-2); }
em { font-style: italic; color: var(--accent); }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding: clamp(72px, 11vw, 150px) 0; position: relative; }
.section--tight { padding: clamp(48px, 7vw, 90px) 0; }
.section--dark { background: var(--dark); color: #ffffff; }
.section--dark p { color: #d6d6d6; }
.section--alt { background: var(--bg-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.section--dark .eyebrow { color: #e9d5c6; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 60ch; }

.placeholder-note {
  display: inline-block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  background: #fff3cd; color: #7a5b00; padding: 3px 8px; border-radius: 4px; margin-top: 10px;
}

/* ---------- Buttons ---------- */
.btn {
  --b: var(--ink);
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  border: 1px solid var(--b); background: var(--b); color: #fff;
  font: 500 15px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: color .4s var(--ease), transform .3s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--accent); transform: translateY(101%);
  transition: transform .45s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { border-color: var(--accent); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { color: #fff; }
.btn--light { --b: #fff; color: var(--ink); }
.btn--light:hover { color: #fff; }
.btn--outline-light { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.link-arrow span { transition: transform .3s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .4s, box-shadow .4s, transform .5s var(--ease), color .4s;
  color: #fff;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.header.is-solid, body:not(.has-hero) .header {
  background: rgba(255, 255, 255, .97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: var(--ink); box-shadow: 0 1px 0 var(--line);
}
.header.is-hidden { transform: translateY(-100%); }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo__mark {
  width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid currentColor;
  display: grid; place-items: center; font-family: var(--serif); font-size: 18px;
}
.logo__text { font-family: var(--serif); font-size: 20px; line-height: 1; }
.logo__text small { display: block; font-family: var(--sans); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; opacity: .7; margin-top: 4px; }
.nav { display: flex; gap: 30px; align-items: center; }
.nav a { text-decoration: none; font-size: 15px; position: relative; padding: 4px 0; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.header .btn { --b: currentColor; }
.header:not(.is-solid) .btn { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.header.is-solid .btn, body:not(.has-hero) .header .btn { background: var(--ink); color: #fff; border-color: var(--ink); }
.burger { display: none; background: none; border: 0; color: inherit; width: 44px; height: 44px; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
.nav-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Mobile-Menü (Vollbild, grün) ---------- */
.mobile-menu { display: none; }
@media (max-width: 960px) {
  .nav { display: none; }
  .burger { display: block; z-index: 2; }
  .mobile-menu {
    display: flex; flex-direction: column; justify-content: space-between;
    position: fixed; inset: 0; z-index: 45; overflow-y: auto;
    background: var(--accent); color: #fff;
    padding: 110px var(--gutter) 32px;
    clip-path: circle(0 at calc(100% - 38px) 42px);
    transition: clip-path .7s var(--ease), visibility 0s .7s; visibility: hidden;
  }
  .nav-open .mobile-menu { clip-path: circle(150% at calc(100% - 38px) 42px); visibility: visible; transition: clip-path .7s var(--ease), visibility 0s; }
  .mobile-menu nav { display: flex; flex-direction: column; }
  .mobile-menu nav a {
    display: flex; align-items: baseline; gap: 16px; text-decoration: none;
    font-family: var(--serif); font-size: clamp(2rem, 9vw, 2.8rem); line-height: 1.1;
    padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.2);
    opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .6s var(--ease);
  }
  .mobile-menu nav a small { font-family: var(--sans); font-size: 12px; letter-spacing: .1em; opacity: .6; min-width: 22px; }
  .mobile-menu nav a.is-active { font-style: italic; }
  .mobile-menu nav a.is-active::after { content: "●"; font-size: 10px; margin-left: auto; align-self: center; }
  .nav-open .mobile-menu nav a { opacity: 1; transform: none; }
  .nav-open .mobile-menu nav a:nth-child(1) { transition-delay: .15s; }
  .nav-open .mobile-menu nav a:nth-child(2) { transition-delay: .2s; }
  .nav-open .mobile-menu nav a:nth-child(3) { transition-delay: .25s; }
  .nav-open .mobile-menu nav a:nth-child(4) { transition-delay: .3s; }
  .nav-open .mobile-menu nav a:nth-child(5) { transition-delay: .35s; }
  .mobile-menu__foot { margin-top: 36px; font-size: 15px; display: grid; gap: 6px; opacity: 0; transition: opacity .6s .4s; }
  .nav-open .mobile-menu__foot { opacity: 1; }
  .mobile-menu__foot a { color: #fff; text-decoration: none; }
  .mobile-menu__foot .btn { justify-content: center; margin-bottom: 18px; --b: #fff; color: var(--ink); }
  body.nav-open { overflow: hidden; }
  body.nav-open .header.header { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; color: #fff; transform: none; }
  body.nav-open .proto-flag { display: none; }
}


/* ---------- Page transition & loader ---------- */
.page-curtain {
  position: fixed; inset: 0; z-index: 100; background: var(--dark); pointer-events: none;
  transform: translateY(0); transition: transform .9s var(--ease);
}
.page-curtain.is-up { transform: translateY(-100%); }
.page-curtain.is-leaving { transform: translateY(0); transition-duration: .5s; }
.page-curtain.is-reset { transition: none; transform: translateY(100%); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; padding-bottom: clamp(48px, 8vw, 100px);
}
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__media img { width: 100%; height: 115%; object-fit: cover; animation: kenburns 22s ease-out both; will-change: transform; }
@keyframes kenburns { from { transform: scale(1.18); } to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(40,39,41,.65) 0%, rgba(40,39,41,.15) 60%, rgba(40,39,41,0) 100%),
    linear-gradient(180deg, rgba(40,39,41,.45) 0%, rgba(40,39,41,.1) 35%, rgba(40,39,41,.75) 100%);
}
.hero h1 { max-width: 14ch; }
.hero p { color: rgba(255,255,255,.85); }
.hero__bottom { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
.hero__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.25); border-radius: var(--radius); overflow: hidden; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero__facts div { background: rgba(40,39,41,.35); padding: 22px 18px; }
.hero__facts strong { display: block; white-space: nowrap; font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2.2rem); font-weight: 400; line-height: 1; }
.hero__facts span { font-size: 13px; opacity: .8; }
.scroll-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.7); border-radius: 20px; }
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; background: #fff; border-radius: 2px; animation: scrollhint 1.8s infinite; }
@keyframes scrollhint { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 860px) {
  .hero__bottom { grid-template-columns: 1fr; }
  .scroll-hint { display: none; }
}

/* Word split reveal */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.split .w > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); }
.split.is-in .w > span { transform: none; }

/* Sub-page hero */
.page-hero { padding: 170px 0 70px; position: relative; overflow: hidden; }
.page-hero--image { color: #fff; padding: 220px 0 90px; }
.page-hero--image .page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero--image .page-hero__bg img { width: 100%; height: 120%; object-fit: cover; }
.page-hero--image::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(40,39,41,.5), rgba(40,39,41,.7)); }
.page-hero--image p { color: rgba(255,255,255,.85); }
.page-hero--image .eyebrow { color: #e9d5c6; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.page-hero--image .breadcrumb { color: rgba(255,255,255,.7); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal--left { transform: translateX(-50px); }
.reveal--right { transform: translateX(50px); }
.reveal--scale { transform: scale(.94); }
/* Handy: keine seitlichen Einflug-Animationen (verhindert seitliches Wischen) */
@media (max-width: 700px) { .reveal--left, .reveal--right { transform: translateY(40px); } }
.stagger > * { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.stagger.is-in > * { opacity: 1; transform: none; }
.img-reveal { position: relative; overflow: hidden; border-radius: var(--radius); }
.img-reveal img { transform: scale(1.25); transition: transform 1.6s var(--ease); width: 100%; height: 100%; object-fit: cover; }
.img-reveal::after { content: ""; position: absolute; inset: 0; background: var(--bg-2); transform-origin: right; transition: transform 1.2s var(--ease); }
.img-reveal.is-in img { transform: scale(1); }
.img-reveal.is-in::after { transform: scaleX(0); }


/* ---------- Layout helpers ---------- */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.split-grid--wide { grid-template-columns: 1.2fr 1fr; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 50px; flex-wrap: wrap; }
.section-head h2 { margin: 0; max-width: 18ch; }
@media (max-width: 860px) { .split-grid, .split-grid--wide { grid-template-columns: 1fr; } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 50px; }
.stats strong { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 400; display: block; line-height: 1; color: var(--ink); }
.section--dark .stats strong { color: #fff; }
.stats span { font-size: 14px; color: var(--muted); }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Type cards (Startseite) ---------- */
.types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .types { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .types { grid-template-columns: 1fr; } }
.type-card {
  position: relative; background: var(--surface); border-radius: var(--radius); padding: 30px 26px;
  text-decoration: none; overflow: hidden; border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.type-card::before {
  content: ""; position: absolute; inset: auto -40% -60% auto; width: 220px; height: 220px; border-radius: 50%;
  background: var(--accent-soft); transition: transform .7s var(--ease); transform: scale(.4);
}
.type-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.type-card:hover::before { transform: scale(1.4); }
.type-card > * { position: relative; }
.type-card__rooms { font-family: var(--serif); font-size: 4rem; line-height: 1; }
.type-card__rooms small { font-size: 1rem; font-family: var(--sans); margin-left: 6px; color: var(--muted); }
.type-card dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 24px 0; font-size: 14px; }
.type-card dt { color: var(--muted); }
.type-card dd { margin: 0; text-align: right; font-weight: 500; }
.type-card .count { font-size: 13px; color: var(--accent); font-weight: 600; }

/* ---------- Feature cards ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.feature {
  background: var(--surface); border-radius: var(--radius); padding: 32px 28px; border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature__icon {
  width: 56px; height: 56px; border-radius: 16px; background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 22px; transition: transform .6s var(--ease), background .4s, color .4s;
}
.feature:hover .feature__icon { transform: rotate(-8deg) scale(1.08); background: var(--accent); color: #fff; }
.feature__icon svg { width: 28px; height: 28px; }
.feature h3 { font-size: 1.35rem; margin-bottom: 10px; }
.feature p { font-size: 15px; margin: 0; }
.feature ul { margin: 14px 0 0; padding-left: 18px; font-size: 14px; color: var(--ink-2); }

/* ---------- Image mosaic / gallery ---------- */
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 120px; gap: 16px; }
.mosaic a { position: relative; overflow: hidden; border-radius: var(--radius); display: block; cursor: zoom-in; }
.mosaic a img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mosaic a:hover img { transform: scale(1.07); }
.mosaic a figcaption {
  position: absolute; left: 16px; bottom: 14px; color: #fff; font-size: 14px; font-weight: 500;
  opacity: 0; transform: translateY(10px); transition: .5s var(--ease); text-shadow: 0 1px 10px rgba(0,0,0,.5);
}
.mosaic a:hover figcaption { opacity: 1; transform: none; }
.mosaic .m1 { grid-column: span 7; grid-row: span 4; }
.mosaic .m2 { grid-column: span 5; grid-row: span 2; }
.mosaic .m3 { grid-column: span 5; grid-row: span 2; }
.mosaic .m4 { grid-column: span 4; grid-row: span 3; }
.mosaic .m5 { grid-column: span 4; grid-row: span 3; }
.mosaic .m6 { grid-column: span 4; grid-row: span 3; }
@media (max-width: 760px) {
  .mosaic { grid-auto-rows: 90px; }
  .mosaic a { grid-column: span 12 !important; grid-row: span 3 !important; }
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(40,39,41,.95);
  display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .4s;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 90vw; max-height: 82vh; border-radius: 12px; transform: scale(.92); transition: transform .5s var(--ease); background: #fff; }
.lightbox.is-open img { transform: none; }
.lightbox__cap { color: #ddd; text-align: center; margin-top: 14px; font-size: 14px; }
.lightbox button {
  position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%;
  font-size: 22px; cursor: pointer; transition: background .3s;
}
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 20px; right: 20px; } .lb-prev { left: 20px; top: 50%; } .lb-next { right: 20px; top: 50%; }

/* ---------- Parallax image band ---------- */
.band { position: relative; height: clamp(320px, 60vh, 620px); overflow: hidden; }
.band img { position: absolute; left: 0; top: -15%; width: 100%; height: 130%; object-fit: cover; }
.band__quote { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: #fff; background: rgba(40,39,41,.35); padding: 20px; }
.band__quote p { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 3.2rem); color: #fff; max-width: 22ch; line-height: 1.15; margin: 0; }

/* ---------- Company ---------- */
.company-card { background: var(--surface); border-radius: var(--radius); padding: clamp(28px, 4vw, 50px); display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: center; margin-top: 30px; border: 1px solid var(--line); }
.company-logo { width: 110px; height: 110px; border-radius: 22px; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-size: 36px; }
@media (max-width: 560px) { .company-card { grid-template-columns: 1fr; } }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 14px; align-items: end; margin: 60px 0 26px; }
.filter { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line); background: var(--surface); padding: 9px 16px; border-radius: 999px; cursor: pointer;
  font: 500 14px var(--sans); color: var(--ink); transition: background .3s, color .3s, border-color .3s;
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
select.select, input.select {
  appearance: none; border: 1px solid var(--line); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231e2320' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center;
  padding: 10px 38px 10px 16px; border-radius: 999px; font: 500 14px var(--sans); color: var(--ink); cursor: pointer;
}
.view-toggle { margin-left: auto; display: flex; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.view-toggle button { border: 0; background: none; padding: 7px 14px; border-radius: 999px; cursor: pointer; font: 500 13px var(--sans); color: var(--ink-2); transition: .3s; }
.view-toggle button.is-active { background: var(--ink); color: #fff; }
.result-count { font-size: 14px; color: var(--muted); margin-bottom: 18px; }

/* ---------- Unit cards ---------- */
.units { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1000px) { .units { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .units { grid-template-columns: 1fr; } }
.unit-card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column;
  border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  animation: cardIn .6s var(--ease) both;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(20px); } }
.unit-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.unit-card__plan { aspect-ratio: 16/10; background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; position: relative; }
.unit-card__plan img { width: 88%; height: 88%; object-fit: contain; transition: transform .8s var(--ease); }
.unit-card:hover .unit-card__plan img { transform: scale(1.06); }
.unit-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.unit-card__title { display: flex; justify-content: space-between; align-items: start; gap: 10px; }
.unit-card__title h3 { margin: 0; font-size: 1.45rem; }
.unit-card__meta { display: flex; gap: 16px; font-size: 14px; color: var(--ink-2); flex-wrap: wrap; }
.unit-card__price { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; }
.unit-card__price strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; }
.unit-card__price small { color: var(--muted); font-size: 13px; }
.unit-card.is-vermietet { opacity: .7; }
.unit-card.is-vermietet .unit-card__plan img { filter: grayscale(1); opacity: .6; }

.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; text-transform: capitalize; white-space: nowrap; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge--frei { background: #f8f2ed; color: #835b39; }
.badge--frei::before { animation: pulse 2s infinite; }
.badge--reserviert { background: #f8f2ed; color: #a6571a; }
.badge--vermietet { background: #eeeeee; color: #7b7b7b; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(131,91,57,.45); } 70% { box-shadow: 0 0 0 7px rgba(131,91,57,0); } 100% { box-shadow: 0 0 0 0 rgba(131,91,57,0); } }

/* Table */
.table-wrap { overflow-x: auto; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); }
table.units-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 760px; }
.units-table th { text-align: left; font-weight: 500; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 18px 20px; border-bottom: 1px solid var(--line); cursor: pointer; user-select: none; white-space: nowrap; }
.units-table th:hover { color: var(--ink); }
.units-table td { padding: 16px 20px; border-bottom: 1px solid var(--line); }
.units-table tbody tr { cursor: pointer; transition: background .25s; animation: cardIn .5s var(--ease) both; }
.units-table tbody tr:hover { background: var(--bg); }
.units-table tbody tr:last-child td { border-bottom: 0; }
.units-table td.num { font-variant-numeric: tabular-nums; }
.units-table .go { opacity: 0; transition: opacity .3s, transform .3s; display: inline-block; }
.units-table tr:hover .go { opacity: 1; transform: translateX(4px); }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }

/* Parking */
.parking { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .parking { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .parking { grid-template-columns: 1fr; } }
.park-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 28px; transition: background .4s, transform .5s var(--ease); }
.park-card:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.park-card .price { font-family: var(--serif); font-size: 2.4rem; color: #fff; line-height: 1; margin: 18px 0 4px; }
.park-card .price small { font-family: var(--sans); font-size: 14px; color: #a9a9aa; }
.park-card h3 { font-size: 1.2rem; color: #fff; }
.park-card .bar { height: 4px; background: rgba(255,255,255,.12); border-radius: 4px; overflow: hidden; margin-top: 18px; }
.park-card .bar i { display: block; height: 100%; background: #e9d5c6; width: 0; transition: width 1.6s var(--ease); }
.park-card .avail { font-size: 13px; color: #d6d6d6; margin-top: 8px; }

/* ---------- Detail ---------- */
.detail { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 4vw, 60px); align-items: start; }
@media (max-width: 960px) { .detail { grid-template-columns: 1fr; } }
.plan-box { display: block; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 20px; position: relative; cursor: zoom-in; overflow: hidden; }
.plan-box img { width: 100%; transition: transform .6s var(--ease); }
.plan-box:hover img { transform: scale(1.03); }
.plan-box .zoom { position: absolute; right: 16px; top: 16px; background: var(--ink); color: #fff; border-radius: 999px; padding: 8px 14px; font-size: 13px; }
.info-panel { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); padding: clamp(24px, 3vw, 36px); position: sticky; top: 110px; }
.info-panel h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.spec { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: var(--radius-sm); overflow: hidden; margin: 22px 0; }
.spec div { background: var(--surface); padding: 14px 16px; }
.spec span { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.spec b { font-weight: 500; font-size: 17px; }
.price-box { background: var(--bg); border-radius: var(--radius-sm); padding: 18px 20px; margin-bottom: 22px; }
.price-box .row { display: flex; justify-content: space-between; font-size: 15px; padding: 4px 0; color: var(--ink-2); }
.price-box .row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; color: var(--ink); font-weight: 600; }
.price-box .row.total b { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; }
.dl-card { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px dashed var(--line); border-radius: var(--radius-sm); text-decoration: none; margin-bottom: 20px; transition: border-color .3s, background .3s; }
.dl-card:hover { border-color: var(--accent); background: var(--accent-soft); }
.dl-card .ico { width: 44px; height: 44px; border-radius: 10px; background: var(--accent-2); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; flex: none; transition: transform .4s var(--ease); }
.dl-card:hover .ico { transform: translateY(-3px); }
.dl-card small { display: block; color: var(--muted); font-size: 13px; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.checklist li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-2); }
.checklist li::before { content: "✓"; color: var(--accent); font-weight: 700; }
@media (max-width: 560px) { .checklist { grid-template-columns: 1fr; } }
.mini-nav { margin-top: 30px; }
.pager { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; }
.pager a { text-decoration: none; display: flex; flex-direction: column; font-size: 13px; color: var(--muted); }
.pager a b { font-family: var(--serif); font-weight: 400; font-size: 1.4rem; color: var(--ink); transition: color .3s; }
.pager a:hover b { color: var(--accent); }
.pager a:last-child { text-align: right; }

/* ---------- Ort ---------- */
.poi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .poi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .poi-grid { grid-template-columns: 1fr; } }
.poi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.poi:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.poi h3 { font-size: 1.3rem; margin: 18px 0 8px; }
.poi ul { list-style: none; padding: 0; margin: 14px 0 0; font-size: 14px; }
.poi li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.poi li b { font-weight: 500; color: var(--ink); white-space: nowrap; }
.distances { display: grid; gap: 18px; }
.dist { display: grid; grid-template-columns: 150px 1fr 70px; gap: 16px; align-items: center; font-size: 15px; }
.dist .track { height: 8px; background: rgba(255,255,255,.1); border-radius: 8px; overflow: hidden; }
.dist .track i { display: block; height: 100%; width: 0; border-radius: 8px; background: linear-gradient(90deg, #e9d5c6, #a6571a); transition: width 1.8s var(--ease); }
.dist b { text-align: right; font-weight: 500; color: #fff; }
@media (max-width: 560px) { .dist { grid-template-columns: 100px 1fr 60px; font-size: 14px; } }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 460px; background: var(--bg-2); position: relative; }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.6) contrast(1.05); }
.map-pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); pointer-events: none; }
.map-pin span { display: block; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 999px; font-size: 13px; white-space: nowrap; box-shadow: var(--shadow); animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-6px); } }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.person { background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.person__img { aspect-ratio: 4/3.4; overflow: hidden; }
.person__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform 1.2s var(--ease); }
.person:hover .person__img img { transform: scale(1.05); }
.person__body { padding: 28px; }
.person__body h3 { font-size: 1.8rem; margin-bottom: 2px; }
.contact-line { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); text-decoration: none; transition: color .3s, padding .3s var(--ease); }
.contact-line:hover { color: var(--accent); padding-left: 6px; }
.contact-line .ci { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.contact-line .ci svg { width: 18px; height: 18px; }
.form { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); padding: clamp(24px, 4vw, 44px); position: relative; overflow: hidden; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { position: relative; margin-bottom: 18px; }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg);
  padding: 22px 16px 10px; font: 16px var(--sans); color: var(--ink); transition: border-color .3s, background .3s, box-shadow .3s;
}
.field select { appearance: none; }
.field textarea { min-height: 130px; resize: vertical; }
.field label { position: absolute; left: 17px; top: 17px; font-size: 16px; color: var(--muted); pointer-events: none; transition: .25s var(--ease); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px var(--accent-soft); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { top: 7px; font-size: 12px; color: var(--accent); }
.check { display: flex; gap: 10px; align-items: start; font-size: 14px; color: var(--ink-2); margin-bottom: 22px; }
.check input { margin-top: 4px; accent-color: var(--accent); }
.radio-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.radio-chips input { display: none; }
.radio-chips label { border: 1px solid var(--line); padding: 9px 16px; border-radius: 999px; font-size: 14px; cursor: pointer; transition: .3s; }
.radio-chips input:checked + label { background: var(--ink); color: #fff; border-color: var(--ink); }
.form-success { position: absolute; inset: 0; background: var(--surface); display: grid; place-items: center; text-align: center; padding: 40px; opacity: 0; pointer-events: none; transition: opacity .5s; }
.form.is-sent .form-success { opacity: 1; pointer-events: auto; }
.form-success svg { width: 90px; height: 90px; margin: 0 auto 20px; }
.form-success circle { stroke-dasharray: 280; stroke-dashoffset: 280; }
.form-success path { stroke-dasharray: 60; stroke-dashoffset: 60; }
.form.is-sent .form-success circle { animation: draw .8s .2s var(--ease) forwards; }
.form.is-sent .form-success path { animation: draw .5s .9s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 28px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.12); counter-increment: s; }
.step::before { content: "0" counter(s); font-family: var(--serif); font-size: 3rem; color: #e9d5c6; display: block; line-height: 1; margin-bottom: 16px; }
.step h3 { color: #fff; font-size: 1.3rem; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; border-radius: calc(var(--radius) + 8px); background: var(--accent); color: #fff; padding: clamp(40px, 7vw, 90px); text-align: center; }
.cta h2 { color: #fff; max-width: 18ch; margin-inline: auto; }
.cta p { color: rgba(255,255,255,.85); margin-inline: auto; }
.cta .btn-row { justify-content: center; margin-top: 30px; }
.cta .blob { position: absolute; border-radius: 50%; filter: blur(10px); opacity: .35; animation: float 14s ease-in-out infinite; }
.cta .blob.b1 { width: 380px; height: 380px; background: #a6571a; left: -120px; top: -140px; }
.cta .blob.b2 { width: 300px; height: 300px; background: var(--accent-2); right: -80px; bottom: -120px; animation-delay: -6s; }
.cta > *:not(.blob) { position: relative; }
@keyframes float { 50% { transform: translate(40px, 30px) scale(1.1); } }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: #d6d6d6; padding: 80px 0 30px; font-size: 15px; }
.footer a { text-decoration: none; color: #d6d6d6; transition: color .3s; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { font-family: var(--sans); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #fff; margin-bottom: 18px; font-weight: 600; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer .logo { color: #fff; margin-bottom: 18px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: #7b7b7b; }
.footer__big { font-family: var(--serif); font-size: clamp(1.8rem, 7.2vw, 6.4rem); line-height: .9; color: rgba(255,255,255,.06); margin: 50px 0 0; white-space: nowrap; overflow: hidden; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* Prototype banner */
.proto-flag { position: fixed; left: 16px; bottom: 16px; z-index: 60; background: #fff3cd; color: #7a5b00; font-size: 12px; padding: 8px 12px; border-radius: 999px; box-shadow: 0 6px 20px rgba(0,0,0,.12); }

/* Cursor follower (desktop) */
.cursor { position: fixed; left: 0; top: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--accent-2); pointer-events: none; z-index: 300; transform: translate(-50%, -50%); transition: width .3s var(--ease), height .3s var(--ease), background .3s, opacity .3s; mix-blend-mode: multiply; opacity: 0; }
.cursor.is-on { opacity: 1; }
.cursor.is-big { width: 54px; height: 54px; background: rgba(131,91,57,.22); }
@media (hover: none) { .cursor { display: none; } }

/* Progress bar */
.progress { position: fixed; left: 0; top: 0; height: 2px; background: var(--accent-2); z-index: 60; width: 100%; transform-origin: left; transform: scaleX(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal, .stagger > *, .split .w > span { opacity: 1 !important; transform: none !important; }
  .cursor { display: none; }
}

/* =========================================================================
   CI MOOSWEIH – Umsetzung gemäss CI-Guide (Dokumente/CI-Guide_Moosweih.pdf)
   Farben, Schriften, eckige Komponenten, weisser Header, Anthrazit-Footer
   ========================================================================= */

/* ---------- Typografie ---------- */
body { font-family: var(--sans); color: var(--ink-2); }
p { color: var(--ink-2); line-height: 1.5; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--title); letter-spacing: 0; }
h1 { font-size: clamp(28px, 3vw, 35px); line-height: 1.43; }          /* CI: 35 / 50 px */
h2 { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.5; }         /* CI: 30 / 48 px */
h3 { font-family: var(--ui); font-size: clamp(18px, 1.8vw, 22px); line-height: 1.2; }  /* CI: Open Sans 22 / 26 */
h4 { font-family: var(--ui); font-weight: 700; font-size: 14px; line-height: 18px; text-transform: uppercase; }
em { font-style: normal; color: var(--accent); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: var(--light-grey); }
.lead { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.55; }
.eyebrow { font-family: var(--ui); font-weight: 700; font-size: 12px; letter-spacing: .14em; color: var(--accent); }
.section--dark .eyebrow, .page-hero--image .eyebrow { color: var(--sand); }

/* Grosse Titel (Hero, Seitentitel) – Roboto 600, grösser als Standard-H1 */
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); line-height: 1.08; color: #fff; }
.hero h1 em { color: var(--sand); }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.12; }
.page-hero--image h1 { color: #fff; }
.cta h2, .band__quote p { font-family: var(--serif); font-weight: 600; }

/* Zahlen & Preise in Roboto */
.hero__facts strong, .stats strong, .type-card__rooms, .unit-card__price strong, .park-card .price,
.price-box .row.total b, .pager a b, .step::before, .nav-tooltip strong { font-weight: 600; }
.stats strong { color: var(--accent); }
.section--dark .stats strong { color: #fff; }
.stats span { font-family: var(--ui); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Links ---------- */
a { color: inherit; }
p a, .link-inline { color: var(--accent); }
p a:hover { color: var(--accent-2); }
.link-arrow { font-family: var(--sans); font-weight: 700; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink); border-bottom-width: 2px; border-color: var(--sand); }
.link-arrow:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Buttons (CI: Arial 700, 14 px, Versalien, Sperrung 1.4 px, eckig, »-Pfeil) ---------- */
.btn {
  --b: var(--accent);
  border-radius: 0; padding: 14px 34px;
  font: 700 14px/1.2 var(--sans); letter-spacing: 1.4px; text-transform: uppercase;
  background: var(--accent); border: 1px solid var(--accent); color: #fff;
}
.btn::before { background: var(--accent-dark); }
.btn:hover { border-color: var(--accent-dark); color: #fff; }
.btn--sm { padding: 10px 20px; font-size: 12px; }
.btn--light { background: #fff; border-color: #fff; color: var(--accent); }
.btn--light:hover { color: #fff; }
.btn--ghost { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn--outline-light { background: transparent; border-color: rgba(255,255,255,.8); color: #fff; }
.btn--outline-light::before { background: rgba(255,255,255,.15); }

/* ---------- Header (CI: weiss, 90 px, Logo, Open Sans 13 px Versalien) ---------- */
.header, .header.is-solid, body:not(.has-hero) .header {
  background: #fff; color: #080808; box-shadow: 0 1px 0 var(--line);
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.header__inner { height: 90px; }
.logo { display: flex; align-items: center; }
.logo__img { height: 70px; width: auto; display: block; }
.logo__img--neg { display: none; }
.nav { gap: 26px; }
.nav a { font-family: var(--ui); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .02em; color: #080808; }
.nav a:not(.btn)::after { height: 2px; background: var(--accent); bottom: -4px; }
.nav a.is-active, .nav a:not(.btn):hover { color: var(--accent); }
.header .nav .btn.btn, .header .nav .btn.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.hero { padding-top: 90px; }
@media (max-width: 1024px) {
  .header__inner { height: 80px; }
  .logo__img { height: 60px; }
}

/* ---------- Mobile-Menü in Adler-Braun ---------- */
@media (max-width: 960px) {
  .mobile-menu { background: var(--accent); padding-top: 120px; }
  .mobile-menu nav a { font-family: var(--serif); font-weight: 600; border-bottom-color: rgba(255,255,255,.25); }
  .mobile-menu nav a small { font-family: var(--ui); }
  .mobile-menu__foot .btn { background: #fff; border-color: #fff; color: var(--accent); }
  body.nav-open .header.header { background: transparent; box-shadow: none; }
  body.nav-open .logo__img { display: none; }
  body.nav-open .logo__img--neg { display: block; }
}

/* ---------- Karten, Flächen, Formulare: eckig, sandfarbene Linien ---------- */
.type-card, .feature, .unit-card, .poi, .navigator, .table-wrap, .info-panel, .plan-box, .person, .form, .company-card, .price-box, .spec, .cta, .img-reveal, .mosaic a, .map-frame { border-radius: 0; }
.type-card::before { background: var(--accent-soft); }
.feature__icon { border-radius: 0; background: var(--accent-soft); color: var(--accent); }
.feature:hover .feature__icon { background: var(--accent); }
.company-logo { border-radius: 0; background: var(--dark); font-family: var(--serif); font-weight: 600; }
.chip, .select, .view-toggle, .view-toggle button, .radio-chips label, .badge, .nav-tooltip, .map-pin span, .proto-flag, .lightbox img, .lightbox button, .dl-card, .dl-card .ico, .contact-line .ci, .plan-box .zoom { border-radius: 0 !important; }
.chip { font-family: var(--ui); font-weight: 600; font-size: 13px; }
.chip.is-active, .view-toggle button.is-active, .radio-chips input:checked + label { background: var(--accent); border-color: var(--accent); color: #fff; }
.field input, .field textarea, .field select { border-radius: 0; border: 1px solid #a9a9aa; background: #fff; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field label, .filter { font-family: var(--ui); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label, .field select + label { color: var(--accent); }
.dl-card .ico { background: var(--accent); }
.units-table th { font-family: var(--ui); font-weight: 700; }
.nav-tooltip { background: var(--dark); }
.nav-tooltip::after { background: var(--dark); }
.cta { background: var(--accent); }
.cta .blob.b1 { background: var(--sand); opacity: .18; }
.cta .blob.b2 { background: var(--accent-2); opacity: .25; }
.band__quote { background: rgba(40,39,41,.35); }
.progress { background: var(--accent); }
.cursor { background: var(--accent); }
.cursor.is-big { background: rgba(131,91,57,.18); }
.proto-flag { font-family: var(--ui); }

/* Status-Badges in CI-Farben */
.badge { font-family: var(--ui); }
.badge--frei { background: var(--accent-soft); color: var(--accent); }
.badge--reserviert { background: #f8f2ed; color: #a6571a; }
.badge--vermietet { background: #eeeeee; color: var(--muted); }
.legend span { font-family: var(--ui); font-size: 13px; }

/* Parkierung / dunkle Sektionen */
.section--dark { background: var(--dark); }
.park-card { border-radius: 0; }
.park-card .bar, .dist .track { border-radius: 0; }
.park-card .bar i { background: var(--sand); }
.dist .track i { border-radius: 0; background: linear-gradient(90deg, var(--sand), var(--accent-2)); }
.step { border-radius: 0; }
.step::before { color: var(--sand); }

/* ---------- Footer (CI: Anthrazit #414042, Logo, Spalten, heller Balken unten) ---------- */
.footer { background: none; padding: 0; color: var(--light-grey); font-size: 15px; line-height: 1.6; }
.footer__top { background: var(--dark); padding: 64px 0 56px; }
.footer__logo { display: block; width: max-content; margin: 0 auto 48px; }
.footer__logo img { height: 120px; width: auto; display: block; }
.footer .footer__grid { grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer h4 { font-family: var(--ui); font-weight: 700; font-size: 14px; line-height: 18px; letter-spacing: 0; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer ul { gap: 6px; }
.footer a { color: var(--light-grey); }
.footer a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--sand); }
.footer__bottom { background: var(--light-grey); color: var(--muted); font-size: 13px; padding: 16px 0; }
.footer__bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__bottom a { color: var(--muted); }
.footer__bottom a:hover { color: var(--ink); }
@media (max-width: 860px) { .footer .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer .footer__grid { grid-template-columns: 1fr; text-align: left; } .footer__logo img { height: 100px; } }

/* Seitenübergang in Anthrazit */
.page-curtain { background: var(--dark); }
@media (max-width: 960px) { .mobile-menu nav a.is-active { font-style: normal; color: var(--sand); } }

/* ---------- Intro: transparente Logo-Animation vor dem Seitenaufbau ---------- */
.intro {
  position: fixed; inset: 0; z-index: 400; background: var(--dark); /* Anthrazit – helle Logo-Animation */
  display: grid; place-items: center; cursor: pointer;
  transition: opacity .8s var(--ease), visibility 0s .8s;
}
.intro__video { width: min(62vmin, 520px); height: auto; background: transparent; animation: introIn .8s var(--ease) both; }
@keyframes introIn { from { opacity: 0; transform: scale(.96); } }
.intro.is-out { opacity: 0; visibility: hidden; }
.intro.is-out .intro__video { transform: scale(1.06); transition: transform .8s var(--ease); }
.intro__skip {
  position: absolute; right: 24px; bottom: 24px; background: none; border: 0; cursor: pointer;
  font: 600 12px var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--light-grey);
}
.intro__skip:hover { color: #fff; }
body.intro-active { overflow: hidden; }
body.intro-active .hero__media img { animation-play-state: paused; }

/* ---------- Logo Franzi AG ---------- */
.company-logo--img { width: 190px; height: auto; background: #fff; border: 1px solid var(--line); padding: 14px 16px; }
.company-logo--img img { width: 100%; height: auto; display: block; }
.person__company { width: 170px; height: auto; margin-top: 18px; display: block; }
.footer__partner { display: inline-block; margin-bottom: 18px; } /* Negativ-Logo, ohne weisses Feld */
.footer__partner img { width: 160px; height: auto; display: block; }
.company-card { grid-template-columns: 1fr; gap: 18px; }
/* Seite verdeckt halten, bis das Intro steht (Klasse wird im <head> gesetzt) */
html.intro-pending, html.intro-pending body { background: var(--dark); }
html.intro-pending body > * { visibility: hidden; }

/* ---------- Footer: 4 gleich breite Spalten mit gleichen Abständen ---------- */
.footer__top { padding: 72px 0 64px; }
.footer .footer__grid.container { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px; align-items: start; }
.footer__col h4 { padding-bottom: 12px; margin-bottom: 20px; border-bottom: 1px solid rgba(233, 213, 198, .35); }
.footer__col ul { gap: 10px; }
.footer__brand .footer__logo { margin: 0 0 20px; }
.footer__brand .footer__logo img { height: auto; width: 100%; max-width: 190px; }
.footer__brand p { color: var(--light-grey); font-size: 14px; line-height: 1.6; margin: 0; max-width: 30ch; }
.footer__partner { margin-bottom: 20px; }
.footer__partner img { width: 100%; max-width: 190px; }
.footer__contact li { gap: 12px; }
.footer__contact a, .footer__contact span { overflow-wrap: anywhere; }
@media (max-width: 1024px) { .footer .footer__grid.container { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 48px; } }
@media (max-width: 560px) {
  .footer .footer__grid.container { grid-template-columns: 1fr; gap: 36px; }
  .footer__brand .footer__logo img { max-width: 160px; }
}
.footer__brand .footer__logo, .footer__col .footer__partner { display: block; width: auto; }

/* Kein weisser Streifen unter dem Footer (z. B. beim "Nachfedern" am Seitenende auf Mac/iPhone):
   Die Fläche hinter der Seite bekommt die Farbe des untersten Footer-Balkens. */
html { background: var(--light-grey); overscroll-behavior-y: none; }
body { background: var(--bg); }
.footer__bottom { padding: 18px 0 22px; }
/* Hero-/Seitenbilder liegen mit negativem z-index im eigenen Stapel – sonst verdeckt sie der weisse Body */
.hero, .page-hero { isolation: isolate; }

/* Footer-Balken unten dunkel statt hellgrau – Footer wirkt bis ganz unten aus einem Guss */
.footer__bottom { background: #363537; color: #a9a9aa; border-top: 1px solid rgba(233, 213, 198, .18); }
.footer__bottom a { color: #a9a9aa; }
.footer__bottom a:hover { color: #fff; }
html { background: #363537; }  /* Fläche hinter der Seite = Farbe des untersten Balkens */
/* Lücke zwischen Footer und unterem Balken schliessen (alte Regel hatte margin-top: 60px) */
.footer { background: var(--dark); }
.footer__bottom { margin-top: 0; }

/* Handy-Menü ca. 30 % kleiner, damit alles ohne Scrollen Platz hat */
@media (max-width: 960px) {
  .mobile-menu { padding-top: 100px; padding-bottom: 24px; }
  .mobile-menu nav a { font-size: clamp(1.4rem, 6.3vw, 1.96rem); padding: 10px 0; gap: 12px; }
  .mobile-menu nav a small { font-size: 11px; min-width: 20px; }
  .mobile-menu__foot { margin-top: 24px; font-size: 14px; }
  .mobile-menu__foot .btn { margin-bottom: 12px; padding: 12px 20px; }
}

/* ---------- Navigator: drei Häuser ---------- */
.nav-house-label { font-family: var(--serif); font-weight: 600; font-size: 16px; fill: var(--ink); }
.nav-roof { opacity: .9; }
/* Handy: Raster Geschoss × Haus */
.nav-pv-label { font-family: var(--ui); font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; fill: #fff; }

/* ---------- Bildnachweis direkt beim Bild ---------- */
[data-credit] { position: relative; }
.img-credit {
  position: absolute; right: 8px; bottom: 8px; z-index: 3;
  font: 400 11px/1.3 var(--ui); color: #fff; text-decoration: none;
  background: rgba(40, 39, 41, .55); padding: 3px 7px; max-width: calc(100% - 16px);
}
.img-credit:hover { background: rgba(40, 39, 41, .85); }
.page-hero .img-credit, .band .img-credit { right: 16px; bottom: 12px; }
.poi-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .poi-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .poi-grid--3 { grid-template-columns: 1fr; } }
.ort-quellen { font-size: 13px; color: var(--muted); margin-top: 26px; }
.ort-quellen a { color: inherit; }
.credits-table td, .credits-table th { vertical-align: top; }
.credits-table img { width: 140px; height: 90px; object-fit: cover; display: block; }

/* =========================================================================
   CI-SCHRIFTGRÖSSEN STRIKT (CI-Guide Moosweih, Typografie)
   H1 Roboto 600 35/50 · H2 Roboto 600 30/48 · H3 Open Sans 600 22/26
   H4 Open Sans 700 14/18 Versalien · Fliesstext Arial 16/24 · Menü Open Sans 13 · Button Arial 14
   Sicherung vorher: Dokumente/_Sicherung_vor_CI_Schriftgroessen
   ========================================================================= */
h1, .hero h1, .page-hero h1, .info-panel h1 { font-size: 35px !important; line-height: 50px !important; }
h2, .cta h2, .band__quote p { font-size: 30px !important; line-height: 48px !important; }
h3 { font-size: 22px !important; line-height: 26px !important; }
h4 { font-size: 14px !important; line-height: 18px !important; }
p, .lead, li, td { font-size: 16px; line-height: 24px; }
.lead { font-size: 16px !important; line-height: 24px !important; }

/* Grosse Zahlen und Preise auf Titelgrössen begrenzen */
.hero__facts strong, .stats strong, .park-card .price { font-size: 30px !important; line-height: 1.2 !important; }
.type-card__rooms { font-size: 35px !important; line-height: 1.2 !important; }
.type-card__rooms small, .park-card .price small { font-size: 14px !important; }
.unit-card__price strong, .price-box .row.total b, .pager a b { font-size: 22px !important; }
.step::before { font-size: 30px !important; }
.nav-tooltip strong { font-size: 18px !important; }
.unit-card__title h3, .person__body h3, .company-card h3, .feature h3, .poi h3 { font-size: 22px !important; }

/* Handy: Titel etwas kleiner, damit nichts umbricht */
@media (max-width: 560px) {
  h1, .hero h1, .page-hero h1, .info-panel h1 { font-size: 28px !important; line-height: 38px !important; }
  h2, .cta h2, .band__quote p { font-size: 24px !important; line-height: 34px !important; }
  .mobile-menu nav a { font-size: 22px !important; line-height: 26px !important; }
}

/* ---------- Intro: Vektor-Logo-Animation (scharf auf jedem Bildschirm) ---------- */
.intro__logo { width: min(72vw, 420px); }
.intro__logo svg { width: 100%; height: auto; display: block; overflow: visible; }
.intro__logo .logo-adler, .intro__logo .logo-wort, .intro__logo .logo-claim { transform-box: fill-box; opacity: 0; }
.intro__logo .logo-adler { transform-origin: 50% 50%; }
.intro.is-play .logo-adler { animation: introAdler 1.25s cubic-bezier(.16, .84, .3, 1) forwards; }
.intro.is-play .logo-wort { animation: introWort .9s cubic-bezier(.2, .7, .1, 1) .7s forwards; }
.intro.is-play .logo-claim { animation: introClaim .8s cubic-bezier(.2, .7, .1, 1) 1.15s forwards; }
@keyframes introAdler {
  0%   { opacity: 0; transform: translate(-38%, 22%) scale(.72) rotate(-9deg); }
  55%  { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
@keyframes introWort {
  from { opacity: 0; clip-path: inset(0 100% 0 0); transform: translateY(6px); }
  to   { opacity: 1; clip-path: inset(0 0 0 0); transform: none; }
}
@keyframes introClaim {
  from { opacity: 0; transform: translateY(8px); letter-spacing: .02em; }
  to   { opacity: 1; transform: none; }
}
.intro.is-out .intro__logo { transform: scale(1.04); transition: transform .8s var(--ease); }

/* ---------- Wohnungsliste auf dem Handy ---------- */
@media (max-width: 700px) { .view-toggle { display: flex !important; } }
.unit-list { background: var(--surface); border: 1px solid var(--line); }
.unit-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; text-decoration: none; border-bottom: 1px solid var(--line); animation: cardIn .5s var(--ease) both; }
.unit-row:last-child { border-bottom: 0; }
.unit-row:active { background: var(--bg-2); }
.unit-row__main b { display: block; font-family: var(--serif); font-weight: 600; font-size: 16px; color: var(--title); }
.unit-row__main small, .unit-row__side small { display: block; font-size: 12px; color: var(--muted); line-height: 1.4; }
.unit-row__side { text-align: right; flex: none; }
.unit-row__side b { display: block; font-size: 14px; margin-top: 4px; color: var(--ink); }
.unit-row.is-vermietet { opacity: .6; }

/* ---------- Parkplatz-Liste (dunkle Sektion) ---------- */
.park-list { margin-top: 36px; border: 1px solid rgba(255,255,255,.15); }
.park-list summary { cursor: pointer; list-style: none; padding: 16px 20px; font: 700 14px var(--sans); letter-spacing: 1.2px; text-transform: uppercase; color: #fff; display: flex; justify-content: space-between; align-items: center; }
.park-list summary::-webkit-details-marker { display: none; }
.park-list summary::after { content: "+"; font-size: 22px; font-weight: 400; transition: transform .3s; }
.park-list[open] summary::after { transform: rotate(45deg); }
.park-list summary span { color: var(--light-grey); font-weight: 400; margin-left: 6px; margin-right: auto; }
.park-filter { padding: 0 20px 14px; }
.park-filter .chip { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.park-filter .chip.is-active { background: var(--accent); border-color: var(--accent); }
.park-rows { border-top: 1px solid rgba(255,255,255,.15); }
.park-row { display: grid; grid-template-columns: 70px 1.6fr 1fr 1fr 110px 90px; gap: 10px; align-items: center; padding: 10px 20px; border-bottom: 1px solid rgba(255,255,255,.08); color: var(--light-grey); font-size: 15px; }
.park-row--head { font: 700 12px var(--ui); text-transform: uppercase; letter-spacing: .06em; color: #fff; }
.park-row .pr-id { font-weight: 700; color: #fff; }
.park-row .pr-cta a { color: var(--sand); font-size: 13px; text-decoration: none; border-bottom: 1px solid currentColor; }
.park-note { padding: 12px 20px 16px; font-size: 13px !important; color: #a9a9aa !important; margin: 0; }
@media (max-width: 700px) {
  .park-row { grid-template-columns: 56px 1fr auto; row-gap: 2px; padding: 10px 14px; font-size: 14px; }
  .park-row--head { display: none; }
  .park-row .pr-typ { grid-column: 2; }
  .park-row .pr-lage { display: none; }
  .park-row .pr-preis { grid-column: 3; grid-row: 1; text-align: right; color: #fff; }
  .park-row > span:nth-child(5) { grid-column: 2; }
  .park-row .pr-cta { grid-column: 3; text-align: right; }
}

/* ---------- Intro: Video (Laptop) bzw. Adler-Video + Vektor-Schrift (Handy) ---------- */
.intro__stage { position: relative; width: min(62vmin, 520px); }
.intro__stage .intro__video { width: 100%; height: auto; display: block; }
.intro__video::-webkit-media-controls, .intro__video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
.intro__text { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.intro.is-play .intro__text { animation: introText .45s ease-out 1.35s forwards; }
@keyframes introText { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 900px) { .intro__stage { width: min(88vw, 440px); } }
/* Handy: Adler-Video (Ausschnitt 340×176 aus dem 640er-Bild, 3-fach) exakt an seiner Originalposition */
.intro__stage--adler { aspect-ratio: 1 / 1; }
.intro__stage .intro__video--adler { position: absolute; left: 26.25%; top: 26.25%; width: 53.125%; height: auto; }
/* Video-Hintergrund (#2E2D2F) ist dunkler als die Intro-Fläche – "lighten" lässt ihn unsichtbar werden */
.intro { isolation: isolate; }
.intro__video { mix-blend-mode: lighten; }

/* Handy: Kennzahlen im Hero (21 · 3½–5½ · Dez. 2026) passen ohne Abschneiden */
@media (max-width: 560px) {
  .hero__facts div { padding: 16px 10px; min-width: 0; }
  .hero__facts strong { font-size: 22px !important; white-space: nowrap; }
  .hero__facts span { font-size: 12px; }
}
@media (max-width: 360px) { .hero__facts strong { font-size: 19px !important; } }
@media (max-width: 560px) {
  .hero__facts { grid-template-columns: .7fr 1fr 1.3fr; }
  .hero__facts strong { font-size: clamp(15px, 5.2vw, 22px) !important; }
}

/* Lightbox: Bild (z. B. Grundriss) immer exakt in der Mitte, auch auf dem Handy */
.lightbox > div { max-width: 92vw; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lightbox img { margin: 0 auto; max-width: 92vw; max-height: 78vh; object-fit: contain; }
.lightbox__cap { max-width: 92vw; padding: 0 8px; }
@media (max-width: 700px) {
  .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 20px; }
  .lightbox .lb-prev { left: calc(50% - 64px); } .lightbox .lb-next { right: calc(50% - 64px); }
}

/* Wohnungstypen: Karten füllen immer die ganze Breite (aktuell 3 Typen: 3½, 4½, 5½) */
.types { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important; }

/* ===================== Online-Bewerbung ===================== */
.bw { max-width: 900px; margin: 0 auto; scroll-margin-top: 110px; }
.bw-steps { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; counter-reset: s; }
.bw-steps li { font-family: "Open Sans", Arial, sans-serif; font-size: 13px; color: var(--muted); padding: 12px 0 0; border-top: 3px solid #d9d9d9; display: flex; gap: 8px; align-items: center; }
.bw-steps li span { width: 24px; height: 24px; flex: none; display: grid; place-items: center; background: #d9d9d9; color: #fff; font-size: 12px; font-weight: 700; }
.bw-steps li.is-done { border-color: #E9D5C6; color: var(--ink-2); }
.bw-steps li.is-done span { background: #E9D5C6; color: #835B39; }
.bw-steps li.is-current { border-color: #835B39; color: #080808; font-weight: 600; }
.bw-steps li.is-current span { background: #835B39; }
.bw-card { background: #fff; border: 1px solid var(--line); padding: clamp(22px, 4vw, 48px); }
.bw-card h2 { margin-bottom: 14px; }
.bw-card h3 { margin: 34px 0 14px; }
.bw-need { background: #F8F2ED; padding: 24px 26px; margin: 26px 0 18px; }
.bw-need h3 { margin: 0 0 14px; }
.bw-need .checklist { grid-template-columns: 1fr; }
.bw-small { font-size: 14px; color: var(--muted); }
.bw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.bw-grid--3 { grid-template-columns: repeat(3, 1fr); }
.bw-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bw-field.bw-wide { margin-top: 16px; }
.bw-field > span { font-family: "Open Sans", Arial, sans-serif; font-size: 13px; font-weight: 600; color: #51514E; }
.bw-field input, .bw-field select, .bw-field textarea { width: 100%; font: 16px/1.4 Arial, sans-serif; color: #080808; background: #fff; border: 1px solid #a9a9aa; border-radius: 0; padding: 12px 14px; min-height: 48px; }
.bw-field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23835B39' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 36px; }
.bw-field textarea { resize: vertical; }
.bw-field input:focus, .bw-field select:focus, .bw-field textarea:focus { outline: none; border-color: #835B39; box-shadow: 0 0 0 3px rgba(131, 91, 57, .15); }
.bw-field.is-error input, .bw-field.is-error select, .bw-field.is-error textarea { border-color: #b3261e; background: #fdf3f2; }
.bw-field.is-error > span { color: #b3261e; }
.bw-toggle { display: flex; }
.bw-toggle label { flex: 1; cursor: pointer; position: relative; }
.bw-toggle input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.bw-toggle span { display: block; text-align: center; padding: 12px; border: 1px solid #a9a9aa; font-size: 15px; }
.bw-toggle label + label span { border-left: 0; }
.bw-toggle input:checked + span { background: #835B39; border-color: #835B39; color: #fff; }
.bw-toggle input:focus-visible + span { outline: 2px solid #835B39; outline-offset: 2px; }
.bw-person { border: 1px solid var(--line); padding: 22px 22px 24px; margin: 22px 0 0; }
.bw-person legend { font-family: "Roboto", sans-serif; font-weight: 600; font-size: 18px; padding: 0 8px; display: flex; gap: 14px; align-items: center; }
.bw-remove, .bw-edit { background: none; border: 0; padding: 0; font: 13px "Open Sans", Arial, sans-serif; color: #A6571A; text-decoration: underline; cursor: pointer; }
.bw-hint { background: #F4EBE4; border-left: 3px solid #A6571A; padding: 12px 16px; margin: 20px 0 0; font-size: 15px; }
.bw-card .btn-row { margin-top: 22px; }
.bw-files { display: grid; gap: 18px; }
.bw-files__person { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.bw-files__person > b { grid-column: 1 / -1; font-family: "Open Sans", Arial, sans-serif; font-size: 14px; }
.bw-file { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 14px 50px; border: 1px dashed #a9a9aa; cursor: pointer; transition: border-color .2s, background .2s; }
.bw-file::before { content: "+"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; display: grid; place-items: center; background: #E9D5C6; color: #835B39; font-weight: 700; }
.bw-file:hover { border-color: #835B39; }
.bw-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.bw-file__label { font-size: 14px; font-weight: 600; color: #080808; }
.bw-file__name { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.bw-file.has-file { border-style: solid; border-color: #835B39; background: #F8F2ED; }
.bw-file.has-file::before { content: "✓"; background: #835B39; color: #fff; }
.bw-file.is-error { border-color: #b3261e; background: #fdf3f2; }
.bw-sum { display: grid; gap: 18px; margin-top: 22px; }
.bw-sum__block { background: #F8F2ED; padding: 18px 22px; }
.bw-sum__block h3 { margin: 0 0 10px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.bw-sum__row { display: grid; grid-template-columns: 170px 1fr; gap: 14px; padding: 7px 0; border-top: 1px solid #E9D5C6; font-size: 15px; }
.bw-sum__row span { color: var(--muted); }
.bw-sum__row b { font-weight: 400; color: #080808; overflow-wrap: anywhere; }
.bw-consent { margin-top: 28px; padding: 4px 0; }
.bw-consent .check { margin-bottom: 14px; }
.bw-consent.is-error .check { color: #b3261e; }
.bw-hp { position: absolute; left: -9999px; }
.bw-nav { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.bw-nav:empty { display: none; }
.bw-count { font-size: 13px; color: var(--muted); }
.bw-nav .btn[disabled] { opacity: .6; pointer-events: none; }
.bw-done { text-align: center; padding: 30px 0 10px; }
.bw-done svg { width: 84px; height: 84px; margin: 0 auto 22px; display: block; }
.bw-done p { max-width: 520px; margin: 0 auto 26px; }
@media (max-width: 700px) {
  .bw-steps { gap: 4px; }
  .bw-steps li { font-size: 0; justify-content: center; }
  .bw-steps li.is-current { font-size: 12px; justify-content: flex-start; grid-column: span 1; }
  .bw-steps li.is-current { white-space: nowrap; }
  .bw-grid, .bw-grid--3, .bw-files__person { grid-template-columns: 1fr; }
  .bw-person { padding: 16px 14px 18px; }
  .bw-sum__row { grid-template-columns: 1fr; gap: 2px; }
  .bw-count { display: none; }
  .bw-nav .btn { padding-left: 18px; padding-right: 18px; }
}
.bw-steps[hidden] { display: none; }
.bw-file.is-error .bw-file__name { color: #b3261e; }

/* Texte je nach Gerät: Maus (Computer) oder Finger (Handy/Tablet) */
.t-touch { display: none; }
@media (hover: none) and (pointer: coarse) { .t-desk { display: none; } .t-touch { display: inline; } }
