/* Immo4rent – Website (Stil angelehnt an Residenza) */
@font-face { font-family: "Urbanist"; src: url("../fonts/urbanist-latin-wght.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Urbanist"; src: url("../fonts/urbanist-latin-ext-wght.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --sand: #e8e8ed;
  --line: #e2e2e7;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --amber: #fdb924;
  --amber-ink: #8a5a00;
  --amber-soft: #fdf3dc;
  --slate: #95a1aa;
  --green: #1f7a52;
  --green-soft: #e2ebe5;
  --red: #b3261e;
  --red-soft: #f9e3e1;
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --pad: clamp(16px, 4vw, 48px);
  --max: 1360px;
  --shadow: 0 1px 2px rgba(0,0,0,.03), 0 10px 30px rgba(0,0,0,.05);
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.5 "Urbanist", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.ic { flex: none; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 99px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Typografie */
h1, h2, h3, h4 { font-weight: 400; margin: 0; letter-spacing: -.035em; line-height: 1.02; }
.h1 { font-size: clamp(44px, 6.2vw, 80px); letter-spacing: -.045em; line-height: .98; }
.h2 { font-size: clamp(34px, 3.8vw, 52px); }
.h3 { font-size: clamp(26px, 2.4vw, 34px); }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); max-width: 40em; line-height: 1.55; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--ink-2); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; background: var(--amber); border-radius: 50%; }
.dark .eyebrow { color: rgba(255,255,255,.82); }
.muted { color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 22px; border-radius: 99px; border: 0; cursor: pointer; font-weight: 500; font-size: 15px; transition: background .2s, color .2s, transform .2s var(--ease); white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #33342f; }
.btn-amber { background: var(--ink); color: #fff; }
.btn-amber:hover { background: #000; }
.hv-cta .btn-amber, .mnav .btn-amber, .nf-card .btn-amber { background: #fff; color: var(--ink); }
.hv-cta .btn-amber:hover, .mnav .btn-amber:hover, .nf-card .btn-amber:hover { background: #f5f5f7; }
.btn-light { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-light:hover { background: var(--sand); }
.btn-ghost { background: transparent; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-round { width: 46px; padding: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow .ic { transition: transform .25s var(--ease); }
.link-arrow:hover .ic { transform: translateX(3px); }

/* Kopfzeile: siehe wb.css */
.logo { display: block; width: 168px; flex: none; }
.logo img { width: 100%; height: auto; }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 99px; border: 0; background: transparent; cursor: pointer; transition: background .2s; }
.icon-btn:hover { background: var(--sand); }

/* Hero mit Drohnen-Video */
.hero2 { padding: 8px 8px 0; }
.hv { position: relative; height: calc(100svh - 84px); min-height: 600px; max-height: 960px; border-radius: var(--r-lg); overflow: hidden; color: #fff; isolation: isolate; display: grid; grid-template-rows: 1fr auto; transform-origin: 50% 0; will-change: transform; background: #1d2a22; }
.hv-media, .hv-media video { position: absolute; inset: 0; width: 100%; height: 100%; }
.hv-media { z-index: -2; transform: scale(1.04); will-change: transform; }
.hv-vid { object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hv-vid.on { opacity: 1; }
.hv-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,16,13,.62) 0%, rgba(14,16,13,.28) 42%, rgba(14,16,13,0) 70%), linear-gradient(180deg, rgba(14,16,13,.25) 0%, rgba(14,16,13,0) 30%, rgba(14,16,13,.1) 60%, rgba(14,16,13,.66) 100%); }
.hv-copy { align-self: center; padding: clamp(28px, 5vw, 72px); max-width: 1120px; }
.hv-copy .eyebrow { color: rgba(255,255,255,.88); margin-bottom: clamp(40px, 4.4vw, 64px); opacity: 0; animation: up .9s var(--ease) .2s forwards; }
.hv-title { position: relative; font-size: clamp(46px, 5.8vw, 86px); letter-spacing: -.045em; line-height: .98; font-weight: 400; margin: 0; }
.hv-title .ln { display: block; overflow: hidden; padding-bottom: .06em; white-space: nowrap; }
.hv-title .ln > .w, .hv-title .rot { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hv-title .ln:nth-of-type(1) > .w:first-child { animation-delay: .12s; }
.hv-title .ln:nth-of-type(1) .rot { animation-delay: .2s; }
.hv-title .ln:nth-of-type(1) > .w:last-child { animation-delay: .26s; }
.hv-title .ln:nth-of-type(2) > .w { animation-delay: .34s; }
.rot { position: relative; vertical-align: bottom; color: rgba(255,255,255,.62); transition: width .8s var(--ease); }
.rot-w { display: inline-block; white-space: nowrap; transition: transform .8s var(--ease), opacity .5s ease; }
.rot-w:not(.on) { position: absolute; left: 0; top: 0; transform: translateY(100%); opacity: 0; }
.rot-w.out { transform: translateY(-100%); }
.roof { position: absolute; left: -.06em; top: -.6em; width: 1.6em; height: .52em; overflow: visible; }
.roof polygon { clip-path: inset(0 100% 0 0); animation: roofIn 1s var(--ease) .7s forwards; }
.roof .roof-r { animation-delay: 1.15s; animation-duration: .7s; }
@keyframes roofIn { to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) { .roof polygon { clip-path: none; animation: none; } }
.hv-lead { margin: 26px 0 0; max-width: 34em; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; color: rgba(255,255,255,.86); opacity: 0; animation: up .9s var(--ease) .55s forwards; }
.hv-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; opacity: 0; animation: up .9s var(--ease) .7s forwards; }
.hv-cta .btn-amber .ic { transition: transform .3s var(--ease); }
.hv-cta .btn-amber:hover .ic { transform: translateX(4px); }
.hv-bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 0 clamp(16px, 2.4vw, 32px) clamp(16px, 2.4vw, 28px); opacity: 0; animation: up .9s var(--ease) .9s forwards; }
.chap { display: flex; align-items: center; gap: 6px; background: rgba(14,16,13,.32); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 6px; }
.chap-b { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; align-items: center; text-align: left; min-width: 150px; padding: 10px 14px 14px; border: 0; border-radius: 12px; background: transparent; color: rgba(255,255,255,.62); cursor: pointer; transition: background .3s, color .3s; font-size: 14px; }
.chap-b:hover { color: #fff; background: rgba(255,255,255,.06); }
.chap-b.on { color: #fff; background: rgba(255,255,255,.1); }
.chap-n { font-size: 11px; letter-spacing: .06em; opacity: .7; font-variant-numeric: tabular-nums; }
.chap-l { font-weight: 500; }
.chap-p { position: absolute; left: 14px; right: 14px; bottom: 7px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.18); overflow: hidden; }
.chap-p i { position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: 0 50%; }
.chap-b.seen .chap-p i { transform: scaleX(1); }
.chap-pause { width: 40px; height: 40px; border-radius: 12px; border: 0; background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.chap-pause:hover { background: rgba(255,255,255,.1); }
.chap-pause .pl, .paused .chap-pause .pa { display: none; }
.paused .chap-pause .pl { display: block; }
.free { display: flex; align-items: center; gap: 14px; padding: 8px 10px 8px 8px; border-radius: 18px; background: rgba(255,255,255,.94); color: var(--ink); box-shadow: 0 18px 40px rgba(0,0,0,.18); max-width: 360px; transition: transform .4s var(--ease), box-shadow .4s; }
.free:hover { transform: translateY(-3px); box-shadow: 0 24px 50px rgba(0,0,0,.24); }
.free-img { width: 72px; height: 72px; border-radius: 12px; overflow: hidden; flex: none; background: var(--sand); }
.free-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.free:hover .free-img img { transform: scale(1.08); }
.free-t { display: grid; gap: 1px; font-size: 14px; min-width: 0; }
.free-k { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--green); }
.free-t b { font-weight: 500; font-size: 16px; }
.free-p { color: var(--muted); }
.free-go { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; flex: none; margin-left: auto; transition: transform .35s var(--ease), background .3s; }
.free:hover .free-go { transform: rotate(45deg); background: var(--ink); color: #fff; }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green); animation: ping 2s ease-out infinite; }
@keyframes rise { to { transform: none; } }
@keyframes fade { to { opacity: 1; } }
@keyframes up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes ping { 0% { transform: scale(1); opacity: .6; } 80%, 100% { transform: scale(3); opacity: 0; } }

/* Abschnitte */
.sec { padding: clamp(72px, 9vw, 128px) 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head .lead { margin-top: 18px; }
.dark { background: var(--ink); color: #fff; }
.dark .lead { color: rgba(255,255,255,.62); }

/* Objektkarten */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r-md); overflow: hidden; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .3s, transform .4s var(--ease); }
.card:hover { box-shadow: var(--shadow), 0 0 0 1px var(--line); transform: translateY(-3px); }
.card-img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--sand); }
.card-img .slides { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.card-img .slides::-webkit-scrollbar { display: none; }
.card-img img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; user-select: none; }
.dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 5px; pointer-events: none; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .4s var(--ease); }
.card:hover .dots, .card:focus-visible .dots { opacity: 1; transform: none; }
.dots i { width: 6px; height: 6px; border-radius: 99px; background: rgba(255,255,255,.6); box-shadow: 0 1px 4px rgba(0,0,0,.25); transition: width .35s var(--ease), background .3s; }
.dots i.on { width: 18px; background: #fff; }
@media (hover: none) { .dots { opacity: 1; transform: none; } }

/* Ein einzelnes Objekt: grosse Querkarte */
.cards.one { grid-template-columns: 1fr; }
.cards.one .card { display: grid; grid-template-columns: 1.35fr 1fr; }
.cards.one .card-img { aspect-ratio: auto; min-height: 420px; }
.cards.one .card-body { padding: clamp(24px, 3vw, 44px); justify-content: center; gap: 10px; }
.cards.one .price { font-size: clamp(32px, 3vw, 44px); }
.cards.one .card-title { font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -.02em; }
.cards.one .facts { margin-top: 18px; font-size: 15px; }
.cards.one .card-body::after { content: ""; display: block; width: 46px; height: 46px; margin-top: 18px; border-radius: 50%; background: var(--ink) center/18px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); transition: transform .4s var(--ease), background-color .3s; }
.cards.one .card:hover .card-body::after { transform: translateX(6px); background-color: var(--ink); }
@media (max-width: 820px) { .cards.one .card { grid-template-columns: 1fr; } .cards.one .card-img { min-height: 0; aspect-ratio: 4/3; } }

/* Interessentenliste */
.nf-row { display: flex; gap: 8px; align-items: stretch; }
.nf-types { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 10px; }
.nf-tl { font-size: 13px; color: var(--muted); margin-right: 4px; }
.nf-type input { position: absolute; opacity: 0; pointer-events: none; }
.nf-type span { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 10px; border-radius: 99px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); font-size: 14px; font-weight: 500; color: var(--ink-2); cursor: pointer; user-select: none; transition: background .2s, color .2s, box-shadow .2s; }
.nf-type span::before { content: ""; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); transition: background-color .2s, box-shadow .2s; }
.nf-type:hover span { box-shadow: 0 0 0 1px var(--muted); }
.nf-type input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.nf-type input:checked + span::before { box-shadow: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/10px no-repeat; }
.nf-type input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 2px; }
.nf-card .nf-tl { color: rgba(255,255,255,.7); }
.nf-card .nf-type span { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.nf-card .nf-type span::before { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); }
.nf-card .nf-type input:checked + span { background: #fff; color: var(--ink); }
.nf-card .nf-type input:checked + span::before { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/10px no-repeat; }
.nf-rooms { transition: opacity .25s; }
.nf-rooms.off { opacity: .4; }
.nf-rooms.off select { cursor: not-allowed; }
.nf .nf-mail { flex: 1; position: relative; }
.nf .nf-mail > .ic { position: absolute; left: 16px; top: 17px; color: var(--muted); z-index: 1; pointer-events: none; }
.nf .nf-mail .inp { height: 54px; padding-left: 46px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.nf .nf-mail .okm { bottom: 16px; }
.nf-rooms { display: flex; align-items: center; gap: 6px; height: 54px; padding: 0 6px 0 14px; border-radius: var(--r-sm); background: var(--surface); box-shadow: 0 0 0 1px var(--line); font-size: 13px; color: var(--muted); }
.nf-rooms select { border: 0; background: transparent; font-size: 15px; font-weight: 500; color: var(--ink); padding: 8px 4px; cursor: pointer; outline: none; }
.nf .btn { height: 54px; }
.nf-note { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; font-size: 12px; color: var(--muted); }
.nf .form-out:not(:empty) { margin-top: 12px; }
/* Wo: PLZ mit Ortsname, Umkreis und Zimmer in einer Zeile über der E-Mail */
.nf-where { display: flex; gap: 8px; margin-bottom: 8px; }
.nf-zip { flex: 1; min-width: 0; position: relative; display: flex; align-items: center; height: 54px; border-radius: var(--r-sm); background: var(--surface); box-shadow: 0 0 0 1px var(--line); color: var(--muted); cursor: text; }
.nf-zip > .ic { position: absolute; left: 16px; pointer-events: none; }
.nf-zip input { width: 100%; height: 100%; border: 0; background: transparent; padding: 0 12px 0 46px; font: inherit; font-size: 15px; font-weight: 500; color: var(--ink); outline: none; border-radius: inherit; }
.nf-zip input::placeholder { color: var(--muted); font-weight: 400; }
.nf-place { position: absolute; left: 90px; right: 12px; font-size: 15px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.nf-strip .nf-zip { background: var(--bg); box-shadow: none; }
.nf-card .nf-zip { background: rgba(255,255,255,.95); box-shadow: none; }
.nf-strip { display: grid; grid-template-columns: minmax(220px, 330px) 1fr; align-items: center; gap: 20px 48px; margin-top: 20px; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.nf-head h3 { margin: 16px 0 0; font-size: 24px; font-weight: 400; letter-spacing: -.02em; line-height: 1.2; }
.nf-head p { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.nf-ic { width: 44px; height: 44px; border-radius: 14px; background: var(--bg); display: grid; place-items: center; color: var(--ink); }
.nf-strip .nf-mail .inp, .nf-strip .nf-rooms { background: var(--bg); box-shadow: none; }
.nf-strip .nf-type span { background: var(--bg); box-shadow: none; }
.nf-strip .nf-type input:checked + span { background: var(--ink); }
.nf-card { position: relative; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; color: #fff; padding: clamp(28px, 6vw, 88px); min-height: 520px; display: flex; align-items: center; }
.nf-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.nf-card.in .nf-bg { transform: none; }
.nf-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,16,13,.82) 0%, rgba(14,16,13,.55) 55%, rgba(14,16,13,.2) 100%); }
.nf-in { max-width: 620px; }
.nf-card .eyebrow { color: rgba(255,255,255,.85); }
.nf-card .lead { color: rgba(255,255,255,.8); margin: 16px 0 28px; }
.nf-card .nf-mail .inp, .nf-card .nf-rooms { background: rgba(255,255,255,.95); box-shadow: none; }
/* Fokus wie bei den übrigen Formularfeldern: dunkler Rand und heller Goldschein */
.nf .nf-zip:focus-within { background: var(--surface); box-shadow: 0 0 0 1px var(--ink), 0 0 0 5px rgba(253,185,36,.18); }
.nf .nf-mail .inp:focus { background: var(--surface); box-shadow: 0 0 0 4px rgba(253,185,36,.18); }
.nf-card .nf-note { color: rgba(255,255,255,.65); }
.nf-card .form-out .note { color: var(--ink); }
.nf-keys { position: absolute; right: clamp(24px, 6vw, 88px); bottom: clamp(24px, 5vw, 64px); width: 88px; height: 88px; border-radius: 26px; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.free-none .free-ic { display: grid; place-items: center; background: var(--amber-soft); color: var(--amber-ink); }
.free-none .free-k { color: var(--muted); }
.free-none .pulse, .free-none .pulse::after { background: var(--slate); }
.free-none .free-go { background: var(--ink); color: #fff; }
@media (max-width: 820px) {
  .nf-strip { grid-template-columns: 1fr; }
  .nf-keys { display: none; }
}
@media (max-width: 640px) {
  .nf-row { flex-wrap: wrap; }
  .nf .nf-mail { flex-basis: 100%; }
  .nf-where { flex-wrap: wrap; }
  .nf-zip { flex-basis: 100%; }
  .nf-rooms { flex: 1; }
  .nf .btn { flex: 1.4; }
  .nf-card { min-height: 0; padding: 28px 20px; border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) { .nf-keys { animation: none; } }

/* Filter-Chips (Immobilien) */
.lf { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 24px; }
.lf-group { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--surface); border-radius: 99px; box-shadow: 0 0 0 1px var(--line); }
.lf-chip { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border: 0; border-radius: 99px; background: transparent; font-size: 14px; font-weight: 500; color: var(--ink-2); cursor: pointer; transition: background .25s, color .25s, transform .2s var(--ease); }
.lf-chip:hover { background: var(--bg); }
.lf-chip:active { transform: scale(.96); }
.lf-chip span { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--bg); font-size: 12px; display: grid; place-items: center; transition: background .25s, color .25s; }
.lf-chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.lf-chip[aria-pressed="true"] span { background: #fff; color: var(--ink); }
.lf-count { margin-left: auto; color: var(--muted); font-size: 14px; }
.card.out { display: none; }
.empty-house { display: block; width: 84px; height: 84px; margin: 0 auto 16px; }
.empty-house svg { width: 100%; height: 100%; }
.empty-house path:first-child { stroke-dasharray: 80; stroke-dashoffset: 80; animation: draw2 1.2s var(--ease) .2s forwards; }
@keyframes draw2 { to { stroke-dashoffset: 0; } }
.badges { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; gap: 6px; justify-content: space-between; }
.badge { background: rgba(255,255,255,.94); color: var(--ink); font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 99px; display: inline-flex; align-items: center; gap: 6px; }
.badge-amber { background: rgba(255,255,255,.92); }
.badge-src::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--src, var(--slate)); }
.badge-src[data-src="flatfox"] { --src: #2b7de9; }
.badge-src[data-src="newhome"] { --src: #e8452c; }
.badge-src[data-src="manuell"] { --src: var(--amber); }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.price { font-size: 24px; letter-spacing: -.03em; }
.price small { font-size: 14px; color: var(--muted); letter-spacing: 0; }
.card-title { font-size: 17px; font-weight: 500; line-height: 1.3; }
.card-addr { color: var(--muted); font-size: 15px; }
.facts { display: flex; gap: 16px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 14px; }
.facts span { display: inline-flex; align-items: center; gap: 6px; }
.facts .ic { color: var(--muted); }

/* Liegenschaften (dunkel) */
.plist { display: grid; grid-template-columns: 1fr 420px; gap: 48px; align-items: start; }
.prow { display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; align-items: center; padding: 26px 0; border-top: 1px solid rgba(255,255,255,.12); transition: padding .35s var(--ease); }
.prow:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.prow .num { color: rgba(255,255,255,.4); font-size: 14px; }
.prow h3 { font-size: clamp(28px, 3vw, 40px); transition: color .25s; }
.prow p { margin: 6px 0 0; color: rgba(255,255,255,.55); font-size: 15px; }
.prow .meta { text-align: right; font-size: 15px; color: rgba(255,255,255,.85); }
.prow .meta small { display: block; color: rgba(255,255,255,.45); font-size: 13px; }
.prow:hover, .prow.on { padding-left: 10px; }
.prow:hover h3, .prow.on h3 { color: #fff; }
.pimg { position: sticky; top: 100px; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4/5; background: #222; }
.pimg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; }
.pimg img.on { opacity: 1; }
.pimg figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; background: rgba(18,19,17,.6); backdrop-filter: blur(8px); border-radius: var(--r-sm); padding: 12px 14px; font-size: 14px; color: rgba(255,255,255,.85); }

/* Für Mieter */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; align-items: stretch; }
.split-img { border-radius: var(--r-md); overflow: hidden; min-height: 420px; position: relative; }
.split-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.steps { display: flex; flex-direction: column; gap: 12px; }
.step { background: var(--surface); border-radius: var(--r-md); padding: 24px; box-shadow: 0 0 0 1px var(--line); display: grid; grid-template-columns: 44px 1fr; gap: 6px 16px; transition: box-shadow .3s; }
.step:hover { box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.step-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--amber-soft); color: var(--amber-ink); display: grid; place-items: center; grid-row: span 3; }
.step h3 { font-size: 26px; display: flex; gap: 10px; align-items: baseline; }
.step h3 small { font-size: 13px; color: var(--muted); letter-spacing: 0; }
.step p { margin: 4px 0 8px; color: var(--muted); }
.step .link-arrow { justify-self: start; font-size: 15px; }

/* Ansprechpartner */
.person { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.pcard { background: var(--surface); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); box-shadow: 0 0 0 1px var(--line); display: grid; gap: 22px; }
.pcard-top { display: flex; gap: 18px; align-items: center; }
.mono { width: 76px; height: 76px; border-radius: 22px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 28px; letter-spacing: -.03em; flex: none; }
.pcard h3 { font-size: 30px; }
.pcard-rows { display: grid; gap: 2px; }
.pcard-rows a { display: flex; align-items: center; gap: 14px; padding: 14px 4px; border-top: 1px solid var(--line); font-size: 17px; transition: color .2s; }
.pcard-rows a:hover { color: var(--amber-ink); }
.pcard-rows .ic { color: var(--muted); }

/* FAQ */
/* Startseite: ruhige Bänder, klare Titel, Bild statt Text */
.sec.alt { background: var(--surface); }
.sec-head > .h2:only-child { margin: 0; }
.sec-head:has(> .h2) { align-items: center; }
.nf-strip.slim { grid-template-columns: minmax(200px, 300px) 1fr; }
.nf-strip.slim .nf-head h3 { font-size: 20px; line-height: 1.35; margin-top: 14px; }
/* Kacheln für Mieter */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { display: flex; flex-direction: column; padding: 12px 12px 26px; border-radius: var(--r-lg); background: var(--bg); transition: background .3s; }
.tile:hover { background: #eeeef2; }
.tile h3 { margin: 22px 14px 0; font-size: 24px; font-weight: 400; letter-spacing: -.02em; }
.tile p { margin: 6px 14px 0; color: var(--muted); font-size: 15px; }
.tv { position: relative; height: 230px; border-radius: 20px; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, #fff 0%, #f7f7f9 100%); box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; }
/* Mini-Formular */
.tvf { width: 210px; display: grid; gap: 12px; padding: 16px; border-radius: 18px; background: #fff; box-shadow: 0 18px 40px -12px rgba(0,0,0,.14), 0 0 0 1px var(--line); transform: rotate(-3deg) translateY(4px); transition: transform .6s var(--ease); }
.tile:hover .tvf { transform: none; }
.tvf-steps { display: flex; gap: 4px; }
.tvf-steps i { flex: 1; height: 3px; border-radius: 2px; background: var(--sand); transition: background .4s; }
.tvf-steps i.on { background: var(--ink); }
.tile:hover .tvf-steps i:nth-child(4) { background: var(--ink); transition-delay: .15s; }
.tile:hover .tvf-steps i:nth-child(5) { background: var(--ink); transition-delay: .3s; }
.tvf-row { display: flex; align-items: center; gap: 10px; }
.tvf-ic { width: 30px; height: 30px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; flex: none; }
.tvf-row b { flex: 1; height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--sand) 70%, transparent 70%); }
.tvf-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.tvf-photos img, .tvf-photos span { width: 100%; aspect-ratio: 1; border-radius: 9px; object-fit: cover; }
.tvf-photos span { display: grid; place-items: center; color: var(--muted); box-shadow: inset 0 0 0 1.5px var(--line); }
.tvf-send { justify-self: end; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; transition: transform .5s cubic-bezier(.3,1.6,.5,1) .2s; }
.tile:hover .tvf-send { transform: scale(1.12); }
/* Aufgefächerte Dokumente */
.tvd { position: absolute; left: 50%; top: 50%; width: 128px; height: 164px; padding: 12px; border-radius: 12px; background: #fff; box-shadow: 0 14px 34px -10px rgba(0,0,0,.18), 0 0 0 1px var(--line); transform: translate(-50%, -46%) translateX(calc((var(--i) - 1) * 30px)) rotate(calc((var(--i) - 1) * 8deg)); transition: transform .6s var(--ease); }
.tvd:nth-child(2) { z-index: 2; }
.tile:hover .tvd { transform: translate(-50%, -50%) translateX(calc((var(--i) - 1) * 66px)) rotate(calc((var(--i) - 1) * 12deg)); }
.tvd-tag { display: inline-block; font-size: 9px; font-weight: 700; letter-spacing: .06em; padding: 2px 5px; border-radius: 4px; background: var(--ink); color: #fff; }
.tvd b { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-top: 10px; font-size: 11.5px; font-weight: 500; line-height: 1.3; }
.tvd i { display: block; height: 5px; margin-top: 7px; border-radius: 3px; background: var(--sand); }
.tvd i:last-child { width: 60%; }
/* Häufige Fragen: Frage und Antwort als Sprechblasen */
.tv-faq { align-content: center; justify-items: center; gap: 10px; padding: 0 22px; }
.tvq { justify-self: start; max-width: 82%; padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 10px 24px -12px rgba(0,0,0,.15); font-size: 13px; line-height: 1.35; transition: transform .6s var(--ease); }
.tvq-2 { opacity: .5; transform: scale(.96); transform-origin: left; }
.tva { justify-self: end; display: grid; gap: 5px; width: 58%; padding: 12px 14px; border-radius: 16px 16px 4px 16px; background: var(--ink); transition: transform .6s var(--ease); }
.tva i { height: 5px; border-radius: 3px; background: rgba(255,255,255,.35); }
.tva i:last-child { width: 55%; }
.tile:hover .tvq:first-child { transform: translateY(-4px); }
.tile:hover .tva { transform: translateY(-2px); }
/* Eigentümer: Bild mit Stichworten */
.own { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.own .lead { margin: 18px 0 30px; }
.own-img { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand); }
.own-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.own-img:hover img { transform: scale(1.03); }
.own-img figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.own-img figcaption span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 99px; background: rgba(255,255,255,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: 14px; font-weight: 500; }
/* Kontakt */
.ph-stat.home-stat { display: inline-flex; width: fit-content; padding: 10px 16px; font-size: 15px; box-shadow: none; background: var(--bg); }
.ctiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ct { display: flex; flex-direction: column; gap: 4px; padding: 26px; border-radius: var(--r-lg); background: var(--bg); transition: background .3s, color .3s; }
.ct-ic { width: 46px; height: 46px; border-radius: 14px; background: var(--surface); display: grid; place-items: center; margin-bottom: 26px; transition: background .3s, color .3s, transform .45s var(--ease); }
.ct small { font-size: 14px; color: var(--muted); transition: color .3s; }
.ct b { font-size: 18px; font-weight: 500; letter-spacing: -.01em; overflow-wrap: anywhere; }
.ct:hover { background: var(--ink); color: #fff; }
.ct:hover small { color: rgba(255,255,255,.6); }
.ct:hover .ct-ic { background: rgba(255,255,255,.12); color: #fff; transform: translateY(-3px); }
@media (max-width: 1100px) { .ctiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .ctiles { grid-template-columns: 1fr; } .ct { display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; row-gap: 0; align-items: center; padding: 16px 18px; } .ct-ic { margin: 0; grid-row: span 2; } .ct small, .ct b { grid-column: 2; } .ct b { font-size: 16px; } .sec-head:has(.home-stat) { flex-direction: row; align-items: center; flex-wrap: wrap; } }
.alt .pcard { background: var(--bg); box-shadow: none; }
.pcard-rows > span { display: flex; align-items: center; gap: 14px; padding: 14px 4px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
@media (max-width: 1100px) { .tiles { grid-template-columns: 1fr 1fr; } .tiles .tile:last-child { grid-column: span 2; } }
@media (max-width: 820px) { .own { grid-template-columns: 1fr; } .nf-strip.slim { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .tiles { grid-template-columns: 1fr; } .tiles .tile:last-child { grid-column: auto; } .tv { height: 210px; } }
@media (prefers-reduced-motion: reduce) { .tvf, .tvd, .tvq, .tva, .own-img img { transition: none; } }
.faq { max-width: 920px; }
.faq-center .sec-head { justify-content: center; text-align: center; }
.faq-center .faq { margin: 0 auto; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; gap: 24px; font-size: 20px; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary { transition: color .2s; }
.faq summary:hover { color: var(--amber-ink); }
.faq summary::after { content: ""; flex: none; width: 34px; height: 34px; margin-top: -4px; border-radius: 50%; background: var(--surface) center/14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121311' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); box-shadow: 0 0 0 1px var(--line); transition: transform .45s cubic-bezier(.3,1.5,.5,1), background-color .25s; }
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--sand); box-shadow: none; }
.faq .faq-a { overflow: hidden; }
.faq p { margin: -4px 0 24px; color: var(--muted); max-width: 46em; font-size: 17px; line-height: 1.6; }

/* CTA-Band */
.cta { border-radius: var(--r-lg); background: var(--surface); box-shadow: 0 0 0 1px var(--line); padding: clamp(32px, 5vw, 64px); display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.cta p { margin: 14px 0 0; max-width: 34em; color: var(--muted); }

/* Footer */
/* endet die Seite mit einem eigenen Abschnitt, braucht der Footer keinen Abstand */
main:has(> .sec:last-child) + .ftr { margin-top: 0; }
.ftr { background: var(--ink); color: rgba(255,255,255,.6); margin-top: clamp(72px, 9vw, 128px); padding: clamp(56px, 6vw, 80px) 0 28px; font-size: 15px; }
.ftr-top { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.ftr .logo { width: 180px; }
.ftr-brand p { margin: 18px 0 0; max-width: 20em; }
.ftr-hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 22px 0 0; font-size: 14px; }
.ftr-hours dt { color: rgba(255,255,255,.42); }
.ftr-hours dd { margin: 0; color: rgba(255,255,255,.75); }
.ftr-stat { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; color: rgba(255,255,255,.75); }
.ftr-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.ftr h4 { color: #fff; font-size: 14px; font-weight: 500; letter-spacing: 0; margin-bottom: 16px; }
/* Spaltentitel auf der Mittelhöhe des Logos (Logo 180 × 35 px) */
.ftr-cols h4 { display: flex; align-items: center; height: 35px; margin: 0 0 10px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr a { transition: color .2s; }
.ftr a:hover { color: #fff; }
.ftr-addr { margin-bottom: 6px; line-height: 1.5; }
.ftr-ic { display: inline-flex; align-items: center; gap: 10px; }
.ftr-ic .ic { flex: none; color: rgba(255,255,255,.42); transition: color .2s; }
.ftr-ic:hover .ic { color: var(--amber); }
.ftr-bottom { display: flex; align-items: center; gap: 16px 24px; flex-wrap: wrap; padding-top: 24px; font-size: 13px; color: rgba(255,255,255,.42); }
.ftr-bottom > span { margin-right: auto; }
/* Platz für den Kontakt-Knopf unten rechts */
.ftr-bottom { padding-right: 170px; }
@media (max-width: 640px) { .ftr-bottom { padding-right: 0; padding-bottom: 72px; } }
.ftr-lang { display: inline-flex; gap: 2px; padding: 3px; border-radius: 99px; background: rgba(255,255,255,.07); }
.ftr-lang a { padding: 5px 11px; border-radius: 99px; font-size: 12px; font-weight: 600; letter-spacing: .05em; color: rgba(255,255,255,.55); transition: background .25s, color .25s; }
.ftr-lang a[aria-current="true"] { background: #fff; color: var(--ink); }
.ftr-admin { color: rgba(255,255,255,.42); }
@media (max-width: 820px) { .ftr-top { grid-template-columns: 1fr; gap: 36px; } }

/* WhatsApp-Knopf */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 70; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; transition: transform .5s var(--ease), opacity .3s; }
/* der Kasten selbst fängt keine Berührungen ab (sonst blockiert das unsichtbare Menü Wischen und Tippen unten rechts), nur Knopf, offenes Menü und Fragekarte */
.fab { pointer-events: none; }
.fab-btn, .fab-sheet { pointer-events: auto; }
.hero-in .fab:not(.open) { opacity: 0; transform: translateY(24px) scale(.8); pointer-events: none; }
.fab-btn { position: relative; display: flex; align-items: center; gap: 10px; height: 58px; padding: 0 22px 0 18px; border: 0; border-radius: 99px; background: var(--ink); color: #fff; font-weight: 500; font-size: 15px; cursor: pointer; box-shadow: 0 14px 34px rgba(18,19,17,.28); transition: padding .45s var(--ease), background .3s, transform .3s var(--ease), box-shadow .3s; }
.fab-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(18,19,17,.32); }
.fab-btn::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(253,185,36,.55); animation: ring 2.8s ease-out 3s 2; }
.fab-ico { display: grid; place-items: center; width: 24px; height: 24px; transition: transform .5s cubic-bezier(.3,1.5,.5,1), opacity .25s; }
.fab-x { position: absolute; left: 17px; opacity: 0; transform: rotate(-90deg) scale(.5); }
.fab-chat { color: #fff; }
.fab-txt { overflow: hidden; white-space: nowrap; max-width: 120px; transition: max-width .45s var(--ease), opacity .3s; }
.fab.open .fab-btn { background: #fff; color: var(--ink); padding: 0 17px; }
.fab.on-dark:not(.open) .fab-btn { background: #fff; color: var(--ink); box-shadow: 0 14px 34px rgba(0,0,0,.4); }
.fab.on-dark:not(.open) .fab-chat { color: var(--ink); }
.fab-btn, .fab-chat { transition: padding .45s var(--ease), background .35s, color .35s, transform .3s var(--ease), box-shadow .3s; }
.fab.open .fab-chat { opacity: 0; transform: rotate(90deg) scale(.5); }
.fab.open .fab-x { opacity: 1; transform: none; }
.fab.open .fab-txt { max-width: 0; opacity: 0; }
.fab-menu { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; pointer-events: none; }
.fab.open .fab-menu { pointer-events: auto; }
.fab-hi { margin: 0 4px 4px 0; font-size: 13px; color: var(--muted); background: var(--surface); padding: 6px 12px; border-radius: 99px; box-shadow: 0 6px 18px rgba(18,19,17,.1); opacity: 0; transform: translateY(10px); transition: opacity .25s, transform .4s var(--ease); }
.fab.open .fab-hi { opacity: 1; transform: none; transition-delay: .22s; }
.fab-it { display: flex; align-items: center; gap: 10px; opacity: 0; transform: translateY(16px) scale(.7); transform-origin: 100% 50%; transition: opacity .2s, transform .3s var(--ease); }
.fab.open .fab-it { opacity: 1; transform: none; transition: opacity .3s ease calc(var(--i) * 55ms), transform .55s cubic-bezier(.25,1.45,.45,1) calc(var(--i) * 55ms); }
.fab-l { display: grid; text-align: right; background: var(--surface); color: var(--ink); font-size: 14px; font-weight: 500; padding: 8px 14px; border-radius: 14px; box-shadow: 0 8px 24px rgba(18,19,17,.12); line-height: 1.25; transition: transform .25s var(--ease); }
.fab-l small { font-weight: 400; font-size: 12px; color: var(--muted); }
.fab-ic { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--ink); box-shadow: 0 8px 24px rgba(18,19,17,.14); transition: transform .3s cubic-bezier(.3,1.6,.5,1), background .2s; flex: none; }
.fab-wa { background: #25d366; color: #fff; }
.fab-amber { background: var(--amber); }
.fab-it:hover .fab-ic { transform: scale(1.1) rotate(-6deg); }
.fab-it:hover .fab-l { transform: translateX(-4px); }
/* Meldeformular: Zusatzfeld bei «Anderes» */
.fld-other { margin-top: -6px; padding-left: 16px; border-left: 2px solid var(--line); }
/* Kontakt-Knopf: Auswahl vor dem Weiterleiten */
.fab-sheet { position: absolute; right: 0; bottom: 74px; width: min(320px, calc(100vw - 28px)); padding: 18px 18px 16px; border-radius: 22px; background: var(--surface); color: var(--ink); box-shadow: 0 24px 60px rgba(18,19,17,.22), 0 0 0 1px var(--line); display: grid; gap: 2px; transform-origin: 100% 100%; opacity: 0; visibility: hidden; transform: translateY(10px) scale(.94); transition: opacity .2s, transform .3s var(--ease), visibility 0s .3s; }
.fab.asking .fab-sheet { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .5s cubic-bezier(.2,1.2,.35,1), visibility 0s; }
.fab.asking .fab-menu { opacity: 0; pointer-events: none; }
.fab-menu { transition: opacity .2s; }
.fab-back { justify-self: start; width: 32px; height: 32px; margin: -4px 0 8px -4px; border: 0; border-radius: 50%; background: var(--bg); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.fab-back .ic { transform: rotate(180deg); }
.fs-k { font-size: 13px; color: var(--muted); }
.fs-v { font-size: 20px; font-weight: 500; letter-spacing: -.01em; overflow-wrap: anywhere; }
.fs-acts { display: grid; gap: 8px; margin-top: 16px; }
.fs-acts .fs-open { order: -1; }
.fs-acts .btn { height: 44px; padding: 0 14px; font-size: 14px; gap: 7px; }
.fs-copy.done { background: var(--green-soft); color: var(--green); box-shadow: none; }
.fs-note { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); }
.fab-scrim { position: fixed; inset: 0; z-index: 65; background: rgba(246,245,241,.6); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; }
.fab-scrim.on { opacity: 1; visibility: visible; transition: opacity .35s; }
.fab-scrim:not(.on) { pointer-events: none; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(253,185,36,.55); } 100% { box-shadow: 0 0 0 18px rgba(253,185,36,0); } }

/* Unterseiten-Kopf */
/* Bild-Kopf der Unterseiten */
.ph { padding: 8px 8px 0; }
.ph-card { position: relative; min-height: clamp(380px, 52vh, 520px); border-radius: var(--r-lg); overflow: hidden; color: #fff; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(20px, 3vw, 36px) clamp(24px, 5vw, 72px) clamp(28px, 4vw, 56px); background: #1d2a22; }
.ph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: kb 18s ease-out both; }
/* Video nicht laufend skalieren: ein wachsendes/schrumpfendes Video wird jedes Bild neu umgerechnet und flimmert (wirkt wackelig) */
.ph-vid { animation: none; transform: scale(1.04); }
.ph-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,16,13,.7) 0%, rgba(14,16,13,.35) 50%, rgba(14,16,13,.1) 100%), linear-gradient(180deg, rgba(14,16,13,.3) 0%, rgba(14,16,13,0) 35%, rgba(14,16,13,.45) 100%); }
.ph-crumbs { display: flex; gap: 8px; font-size: 14px; color: rgba(255,255,255,.7); opacity: 0; animation: fade .8s ease .1s forwards; }
.ph-crumbs a:hover { color: #fff; }
.ph-copy { max-width: 820px; margin-top: auto; }
.ph-t { position: relative; font-size: clamp(44px, 6vw, 88px); letter-spacing: -.045em; line-height: .98; font-weight: 400; margin: 0; padding-top: .5em; }
.ph-t .roof { top: -.05em; left: -.04em; }
.ph-w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .06em; }
.ph-w > span { display: inline-block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; animation-delay: calc(.1s + var(--i) * .07s); }
.ph-lead { margin: 20px 0 0; max-width: 36em; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; color: rgba(255,255,255,.85); opacity: 0; animation: up .9s var(--ease) .45s forwards; }
.ph-extra { position: absolute; right: clamp(16px, 3vw, 36px); bottom: clamp(16px, 3vw, 36px); opacity: 0; animation: up .9s var(--ease) .6s forwards; }
@keyframes kb { from { transform: scale(1.12); } to { transform: scale(1); } }
.ph-stat { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.94); color: var(--ink); padding: 12px 16px; border-radius: 16px; font-size: 14px; box-shadow: 0 16px 40px rgba(0,0,0,.18); }
.ph-stat b { font-size: 26px; font-weight: 400; letter-spacing: -.03em; }
.sub-body { padding-top: clamp(28px, 4vw, 48px); }
@media (max-width: 820px) {
  .ph { padding: 4px 6px 0; }
  .ph-card { border-radius: 22px; padding: 18px 20px 22px; min-height: 0; }
  .ph-copy { margin-top: 120px; }
  .ph-extra { position: static; margin-top: 18px; align-self: flex-start; }
  .ph-stat { padding: 9px 14px; }
  .ph-stat b { font-size: 20px; }
}

.phead { padding: clamp(40px, 6vw, 80px) 0 clamp(28px, 4vw, 48px); }
.phead .lead { margin-top: 20px; }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.crumbs a:hover { color: var(--ink); }

/* Filterleiste */
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; background: var(--surface); border-radius: var(--r-md); padding: 10px; box-shadow: 0 0 0 1px var(--line); margin-bottom: 20px; }
.sfield { position: relative; background: var(--bg); border-radius: var(--r-sm); padding: 10px 16px 9px; transition: box-shadow .2s; }
.sfield:focus-within { box-shadow: inset 0 0 0 1.5px var(--ink); }
.sfield small { display: block; font-size: 12px; color: var(--muted); }
.sfield select { width: 100%; appearance: none; background: transparent; border: 0; padding: 2px 22px 0 0; font-size: 16px; font-weight: 500; cursor: pointer; outline: none; }
.sfield::after { content: ""; position: absolute; right: 16px; bottom: 17px; width: 7px; height: 7px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); pointer-events: none; transition: transform .25s var(--ease); }
.sfield:focus-within::after { transform: translateY(3px) rotate(225deg); }
.filters .sfield { min-width: 150px; flex: 1; padding: 8px 14px 7px; }
.filters .sfield::after { bottom: 15px; }
.result-bar { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 20px; color: var(--muted); font-size: 15px; }
.result-bar a { text-decoration: underline; text-underline-offset: 3px; }
.empty { text-align: center; padding: 64px 24px; background: var(--surface); border-radius: var(--r-md); box-shadow: 0 0 0 1px var(--line); }
.empty .ic { color: var(--slate); margin: 0 auto 14px; }
.empty h2 { font-size: 28px; }
.empty p { color: var(--muted); max-width: 32em; margin: 12px auto 22px; }

/* Objekt-Detail */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: min(62vh, 560px); border-radius: var(--r-lg); overflow: hidden; }
.gallery button { border: 0; padding: 0; cursor: zoom-in; position: relative; overflow: hidden; background: var(--sand); }
.gallery button:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery button:hover img { transform: scale(1.03); }
.gallery .more { position: absolute; right: 12px; bottom: 12px; }
.detail { display: grid; grid-template-columns: 1fr 400px; gap: clamp(32px, 5vw, 72px); margin-top: 40px; align-items: start; }
.keyfacts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 32px 0; }
.keyfacts div { padding: 18px 16px 18px 0; }
.keyfacts div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.keyfacts .ic { color: var(--amber-ink); margin-bottom: 8px; display: block; }
.keyfacts small { color: var(--muted); font-size: 13px; display: block; }
.keyfacts b { font-weight: 500; font-size: 20px; letter-spacing: -.02em; }
.prose p { margin: 0 0 1em; font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.feat { display: flex; flex-wrap: wrap; gap: 8px; }
.feat span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 99px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); font-size: 15px; }
.feat .ic { color: var(--green); }
.dsec { margin-top: 40px; }
.dsec h2 { font-size: 26px; margin-bottom: 16px; }
.aside { position: sticky; top: 100px; background: var(--surface); border-radius: var(--r-md); box-shadow: 0 0 0 1px var(--line); padding: 24px; display: grid; gap: 16px; }
.rent-table { display: grid; gap: 8px; font-size: 15px; }
.rent-table div { display: flex; justify-content: space-between; }
.rent-table .tot { border-top: 1px solid var(--line); padding-top: 10px; font-size: 18px; font-weight: 500; }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(14,16,13,.94); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s .3s; touch-action: pan-y; }
.lightbox.open { opacity: 1; visibility: visible; transition: opacity .3s ease; }
.lightbox img { max-height: 86vh; max-width: 100%; border-radius: var(--r-sm); transform: scale(.94); transition: transform .5s cubic-bezier(.2,1.1,.35,1), opacity .25s; user-select: none; -webkit-user-drag: none; }
.lightbox.open img { transform: none; }
.lightbox img.swap { opacity: 0; transform: translateX(var(--dx, 0)) scale(.97); transition: none; }
.lightbox .icon-btn { position: absolute; color: #fff; background: rgba(255,255,255,.1); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: rotate(180deg); }
.lb-next { right: 20px; top: 50%; }
.lb-count { position: absolute; bottom: 20px; color: rgba(255,255,255,.7); font-size: 14px; }

/* Objekt-Detail */
.det-sub { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.det-share.copied { background: var(--green-soft); color: var(--green); box-shadow: none; }
.gallery button { animation: up .7s var(--ease) both; }
.gallery button:nth-child(2) { animation-delay: .06s; } .gallery button:nth-child(3) { animation-delay: .12s; } .gallery button:nth-child(4) { animation-delay: .18s; } .gallery button:nth-child(5) { animation-delay: .24s; }
.feat span { transition: transform .3s var(--ease), box-shadow .3s; }
.feat span:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--line), 0 8px 18px rgba(18,19,17,.08); }
.det-bar { display: none; }
@media (max-width: 1100px) {
  .det-bar { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 20px; box-shadow: 0 16px 40px rgba(18,19,17,.18), 0 0 0 1px var(--line); transform: translateY(140%); transition: transform .5s var(--ease); }
  .det-bar.on { transform: none; }
  .det-bar b { display: block; font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
  .det-bar small { color: var(--muted); font-size: 12px; }
  body:has(.det-bar.on) .fab { bottom: 88px; }
}

/* Formulare */
.form { display: grid; gap: 16px; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fld { display: grid; gap: 7px; }
.fld > label, .fld > .lbl { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.fld .req { color: var(--amber-ink); }
.fld .opt { color: var(--muted); font-weight: 400; }
.inp { width: 100%; background: var(--bg); border: 1px solid transparent; border-radius: var(--r-sm); padding: 13px 15px; font-size: 16px; transition: border-color .2s, background .2s; outline: none; }
.inp:focus { border-color: var(--ink); background: var(--surface); }
textarea.inp { min-height: 130px; resize: vertical; line-height: 1.5; }
select.inp { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; cursor: pointer; }
.fld.err .inp, .fld.err .opts { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); border-radius: var(--r-sm); }
.fld .msg { display: none; color: var(--red); font-size: 13px; }
.fld.err .msg { display: block; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-pill { position: relative; cursor: pointer; }
.opt-pill input { position: absolute; opacity: 0; }
.opt-pill span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px; background: var(--bg); font-size: 15px; border: 1px solid transparent; transition: .2s; }
.opt-pill input:checked + span { background: var(--ink); color: #fff; }
.opt-pill input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 2px; }
.drop { border: 1.5px dashed var(--line); border-radius: var(--r-sm); padding: 22px; text-align: center; background: var(--bg); cursor: pointer; transition: border-color .2s, background .2s; display: grid; gap: 6px; justify-items: center; color: var(--muted); font-size: 14px; }
.drop:hover, .drop.over { border-color: var(--ink); background: var(--surface); }
.drop b { color: var(--ink); font-weight: 500; font-size: 15px; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.thumb { position: relative; width: 84px; height: 84px; border-radius: 10px; overflow: hidden; background: var(--sand); display: grid; place-items: center; font-size: 11px; color: var(--muted); text-align: center; padding: 4px; }
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(18,19,17,.75); color: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; }
.note { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--amber-soft); color: var(--ink-2); font-size: 15px; align-items: flex-start; }
.note .ic { color: var(--amber-ink); margin-top: 1px; }
.note a { text-decoration: underline; text-underline-offset: 3px; }
.note.red { background: var(--red-soft); }
.note.red .ic { color: var(--red); }
.note.green { background: var(--green-soft); }
.note.green .ic { color: var(--green); }
.small { font-size: 13px; color: var(--muted); }

/* Meldeformular */
.rep { display: grid; grid-template-columns: 1fr 360px; gap: clamp(24px, 4vw, 56px); align-items: start; }
.panel { background: var(--surface); border-radius: var(--r-md); box-shadow: 0 0 0 1px var(--line); padding: clamp(20px, 3vw, 32px); }
.panel + .panel { margin-top: 12px; }
.panel-h { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.panel-h .n { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; display: grid; place-items: center; flex: none; }
.panel-h h2 { font-size: 24px; flex: 1; }
.panel-h button { background: none; border: 0; text-decoration: underline; text-underline-offset: 3px; color: var(--muted); cursor: pointer; font-size: 14px; }
.panel.locked { opacity: .45; pointer-events: none; }
.panel.locked .panel-body { display: none; }
.topics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.topic { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r-sm); background: var(--bg); border: 1px solid transparent; cursor: pointer; text-align: left; font-size: 16px; transition: .2s; }
.topic:hover { background: var(--sand); }
.topic[aria-pressed="true"] { background: var(--ink); color: #fff; }
.topic .ti { width: 38px; height: 38px; border-radius: 10px; background: var(--surface); color: var(--ink); display: grid; place-items: center; flex: none; }
.topic .urg { margin-left: auto; font-size: 11px; font-weight: 600; color: var(--red); background: var(--red-soft); padding: 3px 8px; border-radius: 99px; }
.topic-chosen { display: none; align-items: center; gap: 12px; font-size: 18px; }
.topic-chosen .ti { width: 38px; height: 38px; border-radius: 10px; background: var(--ink); color: #fff; display: grid; place-items: center; }
.picked .topics { display: none; }
.picked .topic-chosen { display: flex; }
.rep-aside { position: sticky; top: 100px; display: grid; gap: 12px; }
.done { text-align: center; padding: clamp(40px, 6vw, 72px) 24px; }
.done-ic { width: 72px; height: 72px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; margin: 0 auto 22px; }
.done h2 { font-size: clamp(30px, 3vw, 40px); }
.done p { color: var(--muted); max-width: 30em; margin: 14px auto 26px; font-size: 17px; }
.done .ref { display: inline-block; background: var(--bg); border-radius: 10px; padding: 8px 14px; font-weight: 600; letter-spacing: .02em; margin-bottom: 22px; }

/* Dokumente */
.dp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 22px; }
.dp-card { position: relative; display: flex; align-items: center; gap: 12px; padding: 8px; border: 2px solid transparent; border-radius: 20px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); text-align: left; cursor: pointer; transition: border-color .25s, box-shadow .3s, transform .35s var(--ease); animation: up .6s var(--ease) both; }
.dp-card:nth-child(2) { animation-delay: .05s; } .dp-card:nth-child(3) { animation-delay: .1s; } .dp-card:nth-child(4) { animation-delay: .15s; }
.dp-card:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--line), 0 14px 30px -12px rgba(18,19,17,.2); }
.dp-img { width: 60px; height: 60px; border-radius: 14px; overflow: hidden; flex: none; background: var(--bg); display: grid; place-items: center; color: var(--ink); }
.dp-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.dp-card:hover .dp-img img { transform: scale(1.1); }
.dp-t { display: grid; min-width: 0; }
.dp-t b { font-weight: 500; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-t small { color: var(--muted); font-size: 13px; }
.dp-tick { position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; opacity: 0; transform: scale(.3); transition: .4s cubic-bezier(.3,1.6,.5,1); }
.dp-card[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 14px 30px -14px rgba(18,19,17,.3); }
.dp-card[aria-pressed="true"] .dp-tick { opacity: 1; transform: none; }
.dp-card[aria-pressed="true"] .dp-img { background: var(--ink); color: #fff; }
.dbar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.dbar .dsearch { flex: 1; }
.dsearch kbd { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font: 500 12px/1 "Urbanist", sans-serif; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 4px 7px; background: var(--bg); transition: opacity .2s; }
.dsearch .inp:focus ~ kbd, .dsearch .inp:not(:placeholder-shown) ~ kbd { opacity: 0; }
.dcount { color: var(--muted); font-size: 14px; transition: color .3s; }
.dcount.bump { color: var(--ink); }
.dgroup { margin-top: 36px; }
.dgroup h2 { font-size: 24px; margin-bottom: 14px; display: flex; gap: 12px; align-items: center; }
.dg-ic { width: 36px; height: 36px; border-radius: 11px; background: var(--ink); color: #fff; display: grid; place-items: center; }
.dgroup h2 small { font-size: 13px; color: var(--muted); letter-spacing: 0; background: var(--surface); box-shadow: 0 0 0 1px var(--line); border-radius: 99px; padding: 2px 9px; }
.dlist { background: var(--surface); border-radius: var(--r-md); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.drow { position: relative; display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; align-items: center; padding: 16px 20px; border-top: 1px solid var(--line); transition: background .25s; }
.drow:first-child { border-top: 0; }
.drow:hover { background: #fbfaf7; }
.drow::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--ink); transform: scaleY(0); transition: transform .35s var(--ease); }
.drow:hover::before { transform: none; }
.drow .di { position: relative; width: 48px; height: 52px; border-radius: 10px 16px 10px 10px; background: var(--amber-soft); color: var(--amber-ink); display: grid; place-items: center; transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
.drow:hover .di { transform: rotate(-4deg) translateY(-2px); }
.drow .di em { position: absolute; bottom: -5px; right: -6px; font-style: normal; font-size: 9px; font-weight: 700; letter-spacing: .04em; background: var(--red); color: #fff; padding: 2px 5px; border-radius: 5px; }
.drow .dt { display: grid; min-width: 0; }
.drow .dh { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.drow .dtt { font-size: 17px; font-weight: 500; line-height: 1.3; }
.drow .dtt mark { background: var(--amber-soft); color: inherit; border-radius: 3px; padding: 0 1px; }
.dnew { font-size: 11px; font-weight: 600; color: var(--green); background: var(--green-soft); padding: 2px 8px; border-radius: 99px; }
.drow .dm { font-size: 14px; color: var(--muted); margin-top: 3px; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.drow .tag { background: var(--bg); border-radius: 99px; padding: 1px 9px; font-size: 13px; }
.dl-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 6px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 500; transition: background .25s, color .25s, box-shadow .25s; }
.dl-ic { width: 30px; height: 30px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; overflow: hidden; transition: background .25s; }
.drow:hover .dl-btn { background: var(--ink); color: #fff; box-shadow: none; }
.drow:hover .dl-ic { background: var(--ink); color: #fff; }
.drow:hover .dl-ic .ic { animation: drop .7s var(--ease); }
@keyframes drop { 0% { transform: none; } 45% { transform: translateY(130%); } 46% { transform: translateY(-130%); } 100% { transform: none; } }
.drow.hide { display: none; }
.dmiss { margin-top: 32px; }
@media (max-width: 1100px) { .dp { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .dp { grid-template-columns: 1fr 1fr; gap: 8px; }
  .dp-card { flex-direction: column; align-items: flex-start; }
  .dp-img { width: 46px; height: 46px; }
  .dp-t b { white-space: normal; }
  .drow { grid-template-columns: 44px 1fr; }
  .dl-btn { grid-column: 2; justify-self: start; }
  .dsearch kbd { display: none; }
}
.dsearch { position: relative; max-width: 420px; }
.dsearch .ic { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.dsearch .inp { padding-left: 46px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }

/* Suche (Overlay + Seite) */
.so { position: fixed; inset: 0; z-index: 80; background: rgba(29,29,31,.32); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); padding: 14vh 16px 16px; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s .4s; }
.so.open { opacity: 1; visibility: visible; transition: opacity .35s ease; }
.so.open.closing { opacity: 0; transition: opacity .3s ease .05s; }
.so-box { max-width: 820px; margin: 0 auto; background: var(--surface); border-radius: 28px; box-shadow: 0 40px 100px rgba(0,0,0,.28), 0 0 0 1px rgba(0,0,0,.04); overflow: hidden; transform-origin: 50% 50%; }
.so-res .sg { animation: up .4s var(--ease) both; }
.so-res .sg:nth-child(2) { animation-delay: .05s; }
.so-res .sg:nth-child(3) { animation-delay: .1s; }
.so-in .ic { transition: transform .4s cubic-bezier(.3,1.6,.5,1), color .2s; }
@keyframes hop { 40% { transform: scale(1.18) rotate(-10deg); } }
.so-in { display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 26px; border-bottom: 1px solid var(--line); }
.so-in input { flex: 1; border: 0; outline: 0; font-size: 24px; letter-spacing: -.01em; padding: 18px 0; background: transparent; min-width: 0; }
.so-pop { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 18px 18px 6px; }
.so-pop > span { font-size: 13px; color: var(--muted); margin-right: 4px; }
.so-pop button { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border: 0; border-radius: 99px; background: var(--bg); color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; opacity: 0; transform: translateY(6px); animation: up .45s var(--ease) forwards; transition: background .2s, color .2s; }
.so-pop button:nth-of-type(2) { animation-delay: .04s; } .so-pop button:nth-of-type(3) { animation-delay: .08s; } .so-pop button:nth-of-type(4) { animation-delay: .12s; } .so-pop button:nth-of-type(5) { animation-delay: .16s; }
.so-pop button .ic { color: var(--muted); transition: color .2s; }
.so-pop button:hover { background: var(--ink); color: #fff; }
.so-pop button:hover .ic { color: #fff; }
.nb-search { padding: 0; background: transparent; color: inherit; font: inherit; justify-content: center; }
@media (max-width: 640px) { .so { padding-top: 12vh; } .so-in { padding-left: 20px; } .so-in input { font-size: 18px; padding: 14px 0; } }
.so-in input::-webkit-search-cancel-button { display: none; }
.so-res { max-height: 60vh; overflow: auto; padding: 8px; }
.so-hint { padding: 16px 14px; color: var(--muted); font-size: 14px; }
.sg h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; padding: 12px 12px 6px; }
.sr-item { display: flex; gap: 14px; align-items: center; padding: 10px 12px; border-radius: 10px; }
.sr-item:hover, .sr-item.act { background: var(--bg); }
.sr-item .si { width: 40px; height: 40px; border-radius: 10px; background: var(--bg); display: grid; place-items: center; flex: none; overflow: hidden; }
.sr-item:hover .si, .sr-item.act .si { background: var(--surface); }
.sr-item .si img { width: 100%; height: 100%; object-fit: cover; }
.sr-item b { display: block; font-weight: 500; }
.sr-item small { color: var(--muted); font-size: 13px; }
.sr-item mark { background: var(--amber-soft); color: inherit; border-radius: 3px; padding: 0 1px; }
.so-all { display: block; text-align: center; padding: 14px; border-top: 1px solid var(--line); font-weight: 500; font-size: 15px; }
.bigsearch { display: flex; gap: 8px; background: var(--surface); border-radius: var(--r-md); padding: 8px; box-shadow: 0 0 0 1px var(--line); max-width: 760px; }
.bigsearch input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 19px; padding: 0 14px; min-width: 0; }
.spage .sg { margin-top: 28px; }
.spage .sg h4 { padding-left: 0; }
.spage .sr-item { background: var(--surface); box-shadow: 0 0 0 1px var(--line); margin-bottom: 8px; padding: 14px 16px; }
.spage .sr-item:hover { box-shadow: var(--shadow), 0 0 0 1px var(--line); }

/* Kontakt */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; align-items: start; }
.cinfo { display: grid; gap: 12px; }
.map { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4/3; box-shadow: 0 0 0 1px var(--line); background: var(--sand); }
.map { position: relative; display: block; }
.map > img { width: 100%; height: 100%; object-fit: cover; transition: opacity .8s ease; }
/* Echte Karte (MapLibre + swisstopo): bis sie gezeichnet ist, ruhige Fläche in Kartenfarbe; das Standbild nur ohne JavaScript */
#map { background: #eef0f2; }
#map::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%) -100% 0 / 200% 100% no-repeat; animation: map-wait 1.6s ease-in-out infinite; }
#map.live::before { display: none; }
@keyframes map-wait { to { background-position: 200% 0; } }
.map .maplibregl-map, .map .ml { position: absolute; inset: 0; }
.map .ml { opacity: 0; transition: opacity .8s ease; }
.map.live .ml { opacity: 1; }
.map .maplibregl-marker .map-pin { position: relative; display: block; left: auto; top: auto; margin: 0 0 10px; }
.map:hover .maplibregl-marker .map-pin { transform: rotate(-45deg) translate(3px, -3px); }
/* gelber Leuchtpunkt mit Puls-Ring unter der Pin-Spitze, wie auf der Startseite */
.map .maplibregl-marker::before, .map .maplibregl-marker::after { content: ""; position: absolute; left: 50%; bottom: 0; z-index: -1; width: 14px; height: 14px; margin: 0 0 -7px -7px; border-radius: 50%; pointer-events: none; }
.map .maplibregl-marker::before { background: var(--amber); box-shadow: 0 0 0 3px #fff, 0 0 22px 8px rgba(253,185,36,.55); }
.map .maplibregl-marker::after { border: 1.5px solid var(--amber); animation: wbPing 2.4s cubic-bezier(.2,.6,.3,1) infinite; }
@media (prefers-reduced-motion: reduce) { .map .maplibregl-marker::after { animation: none; opacity: 0; } }
.map .maplibregl-canvas:focus-visible { outline: 2px solid var(--amber); outline-offset: -2px; }
.map-ctl { position: absolute; right: 12px; top: 12px; z-index: 2; display: grid; border-radius: 14px; background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(14px) saturate(1.6); backdrop-filter: blur(14px) saturate(1.6); box-shadow: 0 8px 24px rgba(18,19,17,.14), 0 0 0 1px rgba(18,19,17,.06); overflow: hidden; opacity: 0; transform: translateY(-4px); transition: opacity .5s ease .3s, transform .5s var(--ease) .3s; }
.map.live .map-ctl { opacity: 1; transform: none; }
.map-ctl button { width: 38px; height: 38px; border: 0; background: none; color: var(--ink); display: grid; place-items: center; cursor: pointer; font: 600 12px/1 inherit; letter-spacing: .02em; transition: background .2s, color .2s; }
.map-ctl button + button { border-top: 1px solid var(--line); }
.map-ctl button:hover { background: rgba(18,19,17,.06); }
.map-ctl button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.map-ctl button:focus-visible { outline: 2px solid var(--amber); outline-offset: -2px; }
.map-pin { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -60px 0 0 -26px; padding: 6px; border-radius: 18px 18px 18px 4px; background: #fff; box-shadow: 0 14px 30px rgba(0,0,0,.22); transform: rotate(-45deg); transition: transform .5s cubic-bezier(.3,1.5,.5,1); }
.map-pin img { width: 40px; height: 40px; border-radius: 12px; transform: rotate(45deg); }
.map:hover .map-pin { transform: rotate(-45deg) translate(3px, -3px); }
.map-credit { position: absolute; right: 10px; bottom: 8px; font-size: 10.5px; color: var(--muted); background: rgba(255,255,255,.7); padding: 1px 6px; border-radius: 4px; }
.cch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.cc { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 18px 14px; padding: 22px; border-radius: 24px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); overflow: hidden; isolation: isolate; transition: transform .45s var(--ease), box-shadow .35s, color .35s; animation: up .65s var(--ease) both; }
.cc:nth-child(2) { animation-delay: .07s; } .cc:nth-child(3) { animation-delay: .14s; }
.cc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); clip-path: circle(0% at 40px 40px); transition: clip-path .6s var(--ease); }
.cc:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -20px rgba(18,19,17,.4); color: #fff; }
.cc:hover::before { clip-path: circle(150% at 40px 40px); }
.cc-ic { width: 52px; height: 52px; border-radius: 16px; background: var(--amber-soft); color: var(--amber-ink); display: grid; place-items: center; transition: background .35s, color .35s, transform .5s cubic-bezier(.3,1.6,.5,1); }
.cc-wa .cc-ic { background: #dcf8e6; color: #13a24a; }
.cc:hover .cc-ic { background: var(--ink); color: #fff; }
.cc-wa:hover .cc-ic { background: #25d366; color: #fff; }
.cc-t { display: grid; align-content: center; }
.cc-t b { font-weight: 500; font-size: 19px; }
.cc-t small { color: var(--muted); font-size: 13px; transition: color .35s; }
.cc:hover .cc-t small { color: rgba(255,255,255,.6); }
.cc-v { grid-column: 1 / -1; font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 44px; }
.cc-go { position: absolute; right: 18px; bottom: 20px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--ink); transition: transform .4s var(--ease), background .3s; }
.cc:hover .cc-go { transform: rotate(45deg); background: var(--ink); color: #fff; }
.cstat { gap: 8px; font-weight: 500; }
.cstat.closed .pulse, .cstat.closed .pulse::after { background: var(--slate); }
.cstat.closed .pulse::after { animation: none; }
.hours { display: grid; border-top: 1px solid var(--line); }
.hours div { display: grid; grid-template-columns: 70px 1fr 1fr; gap: 8px; padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
.hours div:last-child { border-bottom: 0; }
.hours span { color: var(--muted); }
.hours b { font-weight: 500; font-variant-numeric: tabular-nums; }
.mapcard { background: var(--surface); border-radius: var(--r-md); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.mapcard .map { border-radius: 0; box-shadow: none; aspect-ratio: 16/10; }
.map-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; }
.map-foot > span { display: flex; gap: 10px; align-items: flex-start; min-width: 0; }
.map-foot > span > span { display: grid; }
.map-foot b { font-weight: 500; }
.map-foot small { color: var(--muted); font-size: 13px; }
.map-foot .ic { color: var(--amber-ink); margin-top: 2px; }
.cform { padding: clamp(22px, 3vw, 36px); }
.cform-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.opt-link span { background: var(--amber); color: var(--ink); font-weight: 500; }
.opt-link:hover span { background: #f0ab12; }
.opt-link span::before { display: none; }
@media (max-width: 1100px) { .cch { grid-template-columns: 1fr; } .cc { grid-template-columns: auto 1fr auto; grid-template-rows: auto; align-items: center; } .cc-v { grid-column: auto; font-size: 16px; padding-right: 48px; } }
@media (max-width: 640px) { .cc-v { display: none; } .cc { padding: 16px; } }

/* Rechtstexte */
.legal { max-width: 780px; }
.legal h2 { font-size: 26px; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--ink-2); font-size: 16px; line-height: 1.65; }

/* Mikro-Interaktionen in Formularen */
.fld { position: relative; }
.fld .okm { position: absolute; right: 12px; bottom: 13px; width: 22px; height: 22px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; transform: scale(0); opacity: 0; transition: transform .35s cubic-bezier(.3,1.6,.5,1), opacity .2s; pointer-events: none; }
.fld .okm svg { width: 13px; height: 13px; }
.fld.ok .okm { transform: scale(1); opacity: 1; }
.fld.ok .inp { padding-right: 44px; }
.fld.is-select .okm { right: 40px; }
.fld textarea.inp ~ .okm { bottom: 14px; }
.fld.err .inp, .fld.err .opts { animation: shake .4s ease; }
.fld .msg { transform-origin: 0 0; }
.fld.err .msg { animation: up .3s var(--ease); }
@keyframes shake { 20% { transform: translateX(-5px); } 40% { transform: translateX(4px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }
.inp { transition: border-color .2s, background .2s, box-shadow .25s; }
.inp:focus { box-shadow: 0 0 0 4px rgba(253,185,36,.18); }
textarea.inp { overflow: hidden; }

/* Auswahl-Chips mit Häkchen */
.opt-pill span::before { content: ""; width: 0; height: 14px; margin-right: -8px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/14px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/14px no-repeat; transition: width .3s var(--ease), margin .3s var(--ease); }
.opt-pill input:checked + span::before { width: 14px; margin-right: 0; }
.opt-pill span { transition: background .25s, color .25s, transform .2s var(--ease); }
.opt-pill:active span { transform: scale(.96); }
.opt-pill input:checked + span::before { background: #fff; }

/* Betreff-Kacheln */
.topic { transition: background .25s, color .25s, transform .25s var(--ease), opacity .3s; }
.topic:active { transform: scale(.97); }
.topic .ti { transition: transform .4s cubic-bezier(.3,1.6,.5,1), background .25s; }
.topic:hover .ti { transform: rotate(-8deg) scale(1.08); }
.topics .topic { animation: up .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms); }
.picked .topic-chosen { animation: pop .45s cubic-bezier(.3,1.5,.5,1); }
.topic-chosen .ti { background: var(--ink); color: #fff; }
@keyframes pop { from { transform: scale(.94); opacity: 0; } to { transform: none; opacity: 1; } }

/* Fortschritt und Schritte */
.rep-prog { position: sticky; top: 84px; z-index: 5; display: flex; align-items: center; gap: 14px; background: rgba(246,245,241,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 10px 2px 14px; margin-bottom: 4px; font-size: 14px; color: var(--muted); }
.rep-prog-bar { flex: 1; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.rep-prog-bar i { display: block; height: 100%; width: 0; background: var(--ink); border-radius: 4px; transition: width .7s var(--ease); }
.rep-prog b { color: var(--ink); font-weight: 500; white-space: nowrap; transition: color .3s; }
.rep-prog.ready b { color: var(--green); }
.panel-h .n { position: relative; transition: background .35s, color .35s, transform .4s cubic-bezier(.3,1.6,.5,1); }
.panel-h .n svg { position: absolute; width: 16px; height: 16px; opacity: 0; transform: scale(.4) rotate(-20deg); transition: .35s cubic-bezier(.3,1.6,.5,1); }
.panel.complete .panel-h .n { background: var(--ink); color: transparent; transform: scale(1.05); }
.panel.complete .panel-h .n svg { opacity: 1; transform: none; color: #fff; }
.panel { transition: opacity .4s ease, box-shadow .3s; }
.panel.unlocking .panel-body > * { animation: up .55s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }

/* Datei-Upload */
.drop .ic { transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
.drop.over .ic { transform: translateY(-4px) scale(1.12); }
.thumb { animation: pop .35s cubic-bezier(.3,1.5,.5,1); }
.thumb.bye { animation: bye .25s ease forwards; }
@keyframes bye { to { transform: scale(.6); opacity: 0; } }

/* Senden-Knopf */
.btn .spin { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; display: none; }
.btn.busy { pointer-events: none; opacity: .85; }
.btn.busy .spin { display: block; }
.btn.busy .ic { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-out .note { animation: up .45s var(--ease); }

/* Erfolg: Häkchen mit Dach */
.done-ic { background: var(--amber-soft); color: var(--ink); width: 96px; height: 96px; }
.done-ic svg { width: 64px; height: 64px; overflow: visible; }
.done-ic path { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.done-ic .r { stroke: var(--amber); stroke-width: 3.2; animation: draw .6s var(--ease) .15s forwards; }
.done-ic .c { stroke: var(--ink); stroke-width: 3.2; animation: draw .5s var(--ease) .65s forwards; }
#done:not([hidden]) { animation: pop .5s cubic-bezier(.3,1.4,.5,1); }
#done .ref { animation: up .5s var(--ease) .9s both; }

/* Meldeformular als geführter Ablauf */
.wz-head { padding-bottom: clamp(20px, 3vw, 36px); }
.wz { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.wz-rail { position: sticky; top: 100px; display: grid; gap: 20px; }
.wz-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; position: relative; }
.wz-list::before { content: ""; position: absolute; left: 21px; top: 26px; bottom: 26px; width: 2px; background: var(--line); }
.wz-li { position: relative; display: flex; align-items: center; gap: 14px; padding: 10px 8px; border-radius: 14px; color: var(--muted); transition: background .25s, color .25s; }
.wz-li.reach { cursor: pointer; }
.wz-li.reach:hover { background: var(--surface); }
.wz-li.on { color: var(--ink); }
.wz-n { position: relative; z-index: 1; width: 28px; height: 28px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px var(--line); display: grid; place-items: center; font-size: 13px; font-weight: 600; flex: none; transition: background .35s, box-shadow .35s, color .35s, transform .45s cubic-bezier(.3,1.6,.5,1); }
.wz-n svg { position: absolute; width: 14px; height: 14px; opacity: 0; transform: scale(.3) rotate(-30deg); transition: .4s cubic-bezier(.3,1.6,.5,1); }
.wz-li.on .wz-n { background: var(--ink); color: #fff; box-shadow: 0 0 0 5px rgba(18,19,17,.08); transform: scale(1.08); }
.wz-li.done .wz-n { background: var(--ink); box-shadow: none; color: transparent; }
.wz-li.done .wz-n svg { opacity: 1; transform: none; color: #fff; }
.wz-lt { display: grid; min-width: 0; text-align: left; justify-items: start; }
.wz-lt b { font-weight: 500; font-size: 15px; }
.wz-lt small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-height: 0; opacity: 0; transition: max-height .35s var(--ease), opacity .3s; }
.wz-lt small:not(:empty) { max-height: 18px; opacity: 1; }
.wz-sos { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: var(--red-soft); color: var(--ink-2); font-size: 13px; transition: transform .3s var(--ease); }
.wz-sos:hover { transform: translateY(-2px); }
.wz-sos .ic { color: var(--red); margin-top: 2px; }
.wz-sos b { display: block; font-size: 16px; font-weight: 600; color: var(--ink); }
.wz-stage { position: relative; background: var(--surface); border-radius: var(--r-lg); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(18,19,17,.18); padding: clamp(24px, 4vw, 56px); overflow: hidden; }
.wz-prog { position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--bg); }
.wz-prog i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--amber), #ffd36b); border-radius: 0 4px 4px 0; transition: width .6s var(--ease); }
.wz-steps { position: relative; }
.wz-step { display: none; }
.wz-step.on { display: block; }
.wz-t { font-size: clamp(32px, 3.4vw, 48px); letter-spacing: -.035em; }
.wz-sub { color: var(--muted); font-size: 17px; margin: 12px 0 28px; max-width: 36em; }
.wz-sub:empty { display: none; }
.wz-topics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.wz-topic { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 18px; min-height: 148px; padding: 18px; border: 0; border-radius: 20px; background: var(--bg); text-align: left; font-size: 16px; font-weight: 500; line-height: 1.25; cursor: pointer; transition: background .3s, color .3s, transform .35s var(--ease), box-shadow .3s; animation: up .55s var(--ease) both; animation-delay: calc(var(--i) * 45ms); }
.wz-topic:hover { background: var(--sand); transform: translateY(-3px); }
.wz-topic:active { transform: scale(.97); }
.wz-ti { width: 48px; height: 48px; border-radius: 14px; background: var(--surface); display: grid; place-items: center; box-shadow: 0 6px 16px rgba(18,19,17,.06); transition: transform .5s cubic-bezier(.3,1.6,.5,1), background .3s; }
.wz-topic:hover .wz-ti { transform: rotate(-8deg) scale(1.08); }
.wz-topic.urgent .wz-ti { color: var(--red); }
.wz-topic .urg { position: absolute; top: 16px; right: 16px; font-size: 11px; font-weight: 600; color: var(--red); background: var(--red-soft); padding: 3px 8px; border-radius: 99px; }
.wz-tick { position: absolute; top: 14px; right: 14px; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; opacity: 0; transform: scale(.3); transition: .4s cubic-bezier(.3,1.6,.5,1); }
.wz-tick svg { width: 14px; height: 14px; }
.wz-topic[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: 0 18px 36px -12px rgba(18,19,17,.4); }
.wz-topic[aria-pressed="true"] .wz-ti { background: rgba(255,255,255,.12); color: #fff; }
.wz-topic[aria-pressed="true"] .wz-tick { opacity: 1; transform: none; }
.wz-topic[aria-pressed="true"] .urg { opacity: 0; }
.wz-drop { display: grid; justify-items: center; gap: 6px; padding: clamp(32px, 5vw, 56px) 24px; border-radius: 22px; border: 2px dashed var(--line); background: var(--bg); text-align: center; color: var(--muted); font-size: 14px; cursor: pointer; transition: border-color .3s, background .3s, transform .3s var(--ease); }
.wz-drop b { color: var(--ink); font-size: 18px; font-weight: 500; }
.wz-drop:hover, .wz-drop.over { border-color: var(--ink); background: var(--surface); }
.wz-drop.over { transform: scale(1.01); }
.wz-drop-ic { width: 72px; height: 72px; border-radius: 22px; background: var(--surface); color: var(--ink); display: grid; place-items: center; margin-bottom: 8px; box-shadow: 0 10px 24px rgba(18,19,17,.08); transition: transform .5s cubic-bezier(.3,1.6,.5,1); }
.wz-drop:hover .wz-drop-ic, .wz-drop.over .wz-drop-ic { transform: translateY(-4px) rotate(-6deg); }
.wz-cam { display: none; gap: 8px; }
.wz-cam .btn { flex: 1; cursor: pointer; }
.wz-step .thumbs { margin-top: 16px; }
.wz-step .thumb { width: 104px; height: 104px; border-radius: 14px; }
.wz-count { margin: 12px 0 0; font-size: 14px; color: var(--green); font-weight: 500; }
.wz-count:empty { display: none; }
.wz-props { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.wz-prop { cursor: pointer; }
.wz-prop input { position: absolute; opacity: 0; }
.wz-pc { position: relative; display: flex; align-items: center; gap: 14px; padding: 8px; border-radius: 18px; background: var(--bg); border: 2px solid transparent; transition: border-color .25s, background .25s, transform .3s var(--ease); }
.wz-prop:hover .wz-pc { background: var(--sand); }
.wz-pc img, .wz-po { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex: none; }
.wz-po { display: grid; place-items: center; background: var(--surface); color: var(--muted); }
.wz-pn { display: grid; min-width: 0; }
.wz-pn b { font-weight: 500; }
.wz-pn small { color: var(--muted); font-size: 13px; }
.wz-pt { position: absolute; top: 10px; right: 10px; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; opacity: 0; transform: scale(.3); transition: .4s cubic-bezier(.3,1.6,.5,1); }
.wz-pt svg { width: 13px; height: 13px; }
.wz-prop input:checked + .wz-pc { border-color: var(--ink); background: var(--surface); }
.wz-prop input:checked + .wz-pc .wz-pt { opacity: 1; transform: none; }
.wz-prop input:focus-visible + .wz-pc { outline: 2px solid var(--amber); outline-offset: 2px; }
.fld.err .wz-props { animation: shake .4s ease; }
.stepper { display: inline-flex; align-items: center; background: var(--bg); border-radius: 14px; padding: 4px; gap: 4px; width: max-content; }
.stepper button { width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--surface); font-size: 22px; cursor: pointer; transition: background .2s, transform .2s var(--ease); }
.stepper button:hover { background: var(--sand); }
.stepper button:active { transform: scale(.92); }
.stepper .inp { width: 64px; text-align: center; background: transparent; font-size: 20px; font-weight: 500; padding: 8px 0; -moz-appearance: textfield; }
.stepper .inp::-webkit-inner-spin-button, .stepper .inp::-webkit-outer-spin-button { -webkit-appearance: none; }
.wz-sum { display: grid; gap: 12px; }
.wz-sb { background: var(--bg); border-radius: 18px; padding: 18px 20px; }
.wz-sbh { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.wz-sbh b { font-weight: 500; font-size: 17px; }
.wz-edit { border: 0; background: var(--surface); border-radius: 99px; padding: 6px 12px; font-size: 13px; cursor: pointer; box-shadow: 0 0 0 1px var(--line); transition: background .2s; }
.wz-edit:hover { background: var(--ink); color: #fff; box-shadow: none; }
.wz-sb dl { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; margin: 0; font-size: 15px; }
.wz-sb dt, .wz-sb dd { margin: 0; padding: 7px 0; border-top: 1px solid var(--line); }
.wz-sb dt { color: var(--muted); padding-right: 14px; }
.wz-sb dt:first-of-type, .wz-sb dt:first-of-type + dd { border-top: 0; }
.wz-sph { display: flex; gap: 8px; flex-wrap: wrap; }
.wz-sph span { width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: var(--sand); font-size: 11px; display: grid; place-items: center; }
.wz-sph img { width: 100%; height: 100%; object-fit: cover; }
.wz-out:not(:empty) { margin-top: 20px; }
.wz-nav { display: flex; align-items: center; gap: 10px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.wz-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.wz-nav .wz-hint { color: var(--muted); font-size: 13px; margin-right: 6px; }
.wz-send, .wz-next { min-width: 150px; height: 52px; font-size: 16px; }
.wz-nav .ic { transition: transform .3s var(--ease); }
.wz-next:hover .ic, .wz-send:hover .ic { transform: translateX(4px); }
.flip { display: inline-grid; transform: rotate(180deg); }
.wz-back:hover .flip { transform: rotate(180deg) translateX(3px); }
.wz-step .note { margin-bottom: 4px; }
.wz-fs { border: 0; padding: 0; margin: 0; min-width: 0; }

@media (max-width: 1100px) {
  .wz { grid-template-columns: 1fr; }
  .wz-rail { position: static; }
  .wz-list { display: flex; gap: 0; justify-content: space-between; }
  .wz-list::before { left: 24px; right: 24px; top: 23px; bottom: auto; height: 2px; width: auto; }
  .wz-li { flex-direction: column; gap: 6px; padding: 8px 4px; text-align: center; flex: 1; }
  .wz-lt small { display: none; }
  .wz-lt b { font-size: 12px; }
  .wz-sos { display: none; }
  .wz-topics { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .wz-stage { padding: 24px 18px; border-radius: 22px; margin: 0 -6px; }
  .wz-topic { min-height: 120px; padding: 14px; font-size: 15px; border-radius: 16px; }
  .wz-ti { width: 42px; height: 42px; border-radius: 12px; }
  .wz-drop { display: none; }
  .wz-cam { display: flex; flex-direction: column; }
  .wz-cam .btn { flex: none; height: 54px; font-size: 16px; }
  body[data-page="meldung"] .fab { display: none; }
  .wz-props { grid-template-columns: 1fr; }
  .wz-nav { position: sticky; bottom: 0; margin: 24px -18px -24px; padding: 14px 18px; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .wz-nav .wz-hint { display: none; }
  .wz-right { flex: 1; }
  .wz-next, .wz-send { flex: 1; min-width: 0; }
  .wz-sb dl { grid-template-columns: 1fr; }
  .wz-sb dt { padding-bottom: 0; }
  .wz-sb dd { border-top: 0; padding-top: 2px; }
}

/* Reveal */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .hv, .hv * { animation-duration: .01s !important; animation-delay: 0s !important; transition-duration: .01s !important; } }

/* Responsive */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .plist { grid-template-columns: 1fr; }
  .pimg { display: none; }
  .detail, .rep { grid-template-columns: 1fr; }
  .aside, .rep-aside { position: static; }
}
@media (max-width: 820px) {
  .chap-b { min-width: 118px; }
  .split, .person, .contact { grid-template-columns: 1fr; }
  .split-img { min-height: 280px; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .cta { flex-direction: column; align-items: flex-start; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; height: 460px; }
  .gallery button:first-child { grid-column: span 2; grid-row: auto; }
  .gallery button:nth-child(n+4) { display: none; }
  .keyfacts { grid-template-columns: 1fr 1fr; }
  .keyfacts div:nth-child(3) { border-left: 0; padding-left: 0; }
  .keyfacts div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .hero2 { padding: 4px 6px 0; }
  .hv { height: auto; min-height: calc(100svh - 76px); border-radius: 22px; }
  .hv-copy { align-self: end; padding: 64px 20px 8px; }
  .hv-shade { background: linear-gradient(180deg, rgba(14,16,13,.35) 0%, rgba(14,16,13,.05) 22%, rgba(14,16,13,.55) 55%, rgba(14,16,13,.85) 100%); }
  .hv-title { font-size: 44px; }
  .hv-title .ln { white-space: normal; }
  .hv-title .rot { display: block; }
  .hv-copy .eyebrow { margin-bottom: 36px; }
  .hv-lead { font-size: 16px; margin-top: 18px; }
  .hv-cta .btn { flex: 1; }
  .hv-bar { padding: 14px 12px 12px; animation: fade .9s ease .9s forwards; }
  .free { max-width: none; flex: 1; }
  .chap { position: absolute; top: 12px; left: 14px; right: 14px; background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0; gap: 6px; align-items: flex-start; }
  .chap-b { min-width: 0; flex: 1; padding: 12px 0 0; background: none !important; font-size: 12px; display: block; }
  .chap-n { display: none; }
  .chap-l { display: block; }
  .chap-p { left: 0; right: 0; top: 0; bottom: auto; height: 3px; }
  .chap-pause { width: 28px; height: 28px; flex: none; margin-top: -2px; }
  .cards, .cards.two { grid-template-columns: 1fr; }
  .topics { grid-template-columns: 1fr; }
  .form-2 { grid-template-columns: 1fr; }
  .prow { grid-template-columns: 1fr auto; }
  .prow .num { display: none; }
  .drow { grid-template-columns: 40px 1fr; padding: 14px 16px; }
  .drow .btn { grid-column: span 2; }
  .ftr-cols { grid-template-columns: 1fr 1fr; }
  .fab { right: 14px; bottom: 14px; }
  .fab-btn { height: 54px; }
  .filters .sfield { min-width: calc(50% - 4px); }
}
.dlang { font-size: 11px; font-weight: 600; color: var(--muted); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); padding: 2px 8px; border-radius: 99px; }
.dacts { display: grid; justify-items: end; gap: 6px; }
.dl-sec { font-size: 12.5px; color: var(--muted); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.dl-sec:hover { color: var(--ink); text-decoration-color: var(--amber); }
@media (max-width: 640px) {
}
.dl-btn .dl-l { white-space: nowrap; }
.menu-open .fab { opacity: 0; visibility: hidden; transform: translateY(12px); }

/* Ruhige Hover-Übergänge: einheitlich länger und weich (Einblend-Animationen beim Scrollen bleiben unberührt) */
@media (hover: hover) {
  :is(.btn, .icon-btn, .tile, .ct, .ct-ic, .cc, .cc-ic, .cc-go, .drow, .dl-ic, .prow, .dp-card, .sr-item, .lf-chip, .opt-pill span, .nf-type span, .tile-props a, .so-pop button, .link-arrow, .link-arrow .ic, .faq summary, .pcard-rows a, .ftr a, .ftr-ic .ic, .crumbs a, .ph-crumbs a, .dl-sec, .nb-links a, .nb-cta, .nb-search, .nb-burger, .lang-btn, .lang-menu a, .fab-btn, .fab-ic, .fab-l, .free-go, .wz-topic, .wz-prop, .wz-drop, .wz-back, .wz-next, .wz-edit, .stepper button, .gallery button, .mnav-links a, .map-pin):not(.rv),
  .drow::before, .nb-links span::after, .faq summary::after, .card-body::after {
    transition-duration: .45s;
    transition-timing-function: cubic-bezier(.25, .1, .25, 1);
  }
}
/* Kacheln mit Einblendung: Einblenden (.8 s) und Hover (.45 s) zusammen, sonst springt die Farbe */
.rv:is(.tile, .ct, .card) { transition: opacity .8s var(--ease), transform .8s var(--ease), background-color .45s cubic-bezier(.25, .1, .25, 1), color .45s cubic-bezier(.25, .1, .25, 1), box-shadow .45s cubic-bezier(.25, .1, .25, 1); }

/* Statusseite einer Meldung */
.st-wrap { padding-bottom: clamp(48px, 7vw, 96px); }
.st-wrap .h1 { font-size: clamp(36px, 4.6vw, 60px); }
.st-wrap .lead b { font-weight: 500; color: var(--ink); }
.st-steps { list-style: none; margin: 0 0 28px; padding: 6px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: var(--surface); border-radius: 22px; box-shadow: 0 0 0 1px var(--line); }
.st-steps li { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 16px; color: var(--muted); font-size: 15px; }
.st-steps i { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line); }
.st-steps .done { color: var(--ink); }
.st-steps .done i { background: var(--ink); color: #fff; box-shadow: none; }
.st-steps .cur { background: var(--ink); color: #fff; }
.st-steps .cur i { background: var(--amber); color: var(--ink); box-shadow: none; }
.st-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: start; }
.st-grid .h3 { font-size: 22px; margin-bottom: 18px; }
.st-log { list-style: none; margin: 0; padding: 0; }
.st-log li { position: relative; padding: 0 0 22px 26px; }
.st-log li::before { content: ""; position: absolute; left: 5px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.st-log li:first-child::before { background: var(--amber); box-shadow: 0 0 0 4px var(--amber-soft); }
.st-log li::after { content: ""; position: absolute; left: 9.5px; top: 22px; bottom: 2px; width: 1px; background: var(--line); }
.st-log li:last-child { padding-bottom: 0; }
.st-log li:last-child::after { display: none; }
.st-log time { display: block; font-size: 13px; color: var(--muted); }
.st-log b { font-weight: 500; }
.st-log p { margin: 6px 0 0; color: var(--ink-2, #424245); }
.st-help p { color: var(--muted); }
.st-help .pcard-rows { margin: 14px 0; }
.st-form { max-width: 720px; display: grid; gap: 18px; }
.st-form .btn { justify-self: start; }
@media (max-width: 760px) {
  .st-grid { grid-template-columns: 1fr; }
  .st-steps li { flex-direction: column; text-align: center; gap: 6px; padding: 12px 6px; font-size: 13px; }
}

/* Mitteilungen der Verwaltung (Dokumente-Seite, Startseite) */
.nsec { margin: 28px 0 36px; }
.nsec h2 { font-size: 24px; margin-bottom: 14px; display: flex; gap: 12px; align-items: center; }
.nlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.ncard { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 18px 20px; border-radius: 20px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.ncard.hide { display: none; }
.ncard h3 { font-size: 18px; font-weight: 500; margin: 4px 0 6px; letter-spacing: -.01em; }
.ncard p { margin: 0; color: var(--muted); font-size: 15px; }
.nc-m { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px !important; }
.nc-ic { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: var(--bg); color: var(--ink); flex: none; }
.ncard-unterbruch .nc-ic, .nbar .nc-ic { background: var(--amber-soft); color: var(--amber-ink); }
.nbar { display: flex; align-items: center; gap: 14px; margin: -8px 0 20px; padding: 12px 14px 12px 12px; border-radius: 18px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .3s, transform .3s var(--ease); }
.nbar:hover { box-shadow: 0 0 0 1px var(--line), 0 14px 30px -18px rgba(18,19,17,.35); transform: translateY(-1px); }
.nbar-t { display: grid; min-width: 0; flex: 1; }
.nbar-t b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nbar-t small { color: var(--muted); font-size: 13px; }
.nbar-more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); white-space: nowrap; }
@media (max-width: 640px) { .nbar-more { font-size: 0; gap: 0; } .nlist { grid-template-columns: 1fr; } }

/* Rund um die Miete */
.rent { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
.rent-toc { position: sticky; top: 100px; display: grid; gap: 2px; }
.rent-toc a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; color: var(--muted); font-size: 15px; transition: background .25s, color .25s; }
.rent-toc a:hover, .rent-toc a.on { background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.rent-list { display: grid; gap: 12px; min-width: 0; }
.rent-sec { scroll-margin-top: 100px; }
.rent-sec h2 { font-size: 24px; display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.rent-sec > p { color: var(--ink-2, #424245); max-width: 70ch; }
.rent-sec > * + * { margin-top: 12px; }
.rent-ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; max-width: 72ch; }
.rent-ul li { position: relative; padding-left: 20px; color: var(--ink-2, #424245); }
.rent-ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.rent-docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 8px; }
.rent-doc { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 14px; background: var(--bg); font-size: 15px; transition: background .25s, transform .3s var(--ease); }
.rent-doc:hover { background: var(--amber-soft); transform: translateY(-1px); }
.rent-doc > span:nth-child(2) { flex: 1; min-width: 0; }
.rent-doc .di { position: relative; width: 34px; height: 38px; flex: none; border-radius: 8px 12px 8px 8px; background: var(--surface); color: var(--amber-ink); display: grid; place-items: center; }
.rent-doc .di em { position: absolute; bottom: -4px; right: -5px; font-style: normal; font-size: 8px; font-weight: 700; background: var(--ink); color: #fff; padding: 1px 4px; border-radius: 4px; }
@media (max-width: 900px) {
  .rent { grid-template-columns: 1fr; }
  .rent-toc { position: static; display: flex; overflow-x: auto; gap: 6px; padding-bottom: 4px; scrollbar-width: none; }
  .rent-toc a { white-space: nowrap; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
}
.rent-cta { margin-top: 22px; }

/* Inserate: So bewerben Sie sich */
.apply { margin-top: clamp(40px, 6vw, 72px); }
.apply-steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; counter-reset: ap; }
.apply-steps li { padding: 22px; border-radius: 22px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.apply-steps h3 { font-size: 18px; font-weight: 500; margin: 16px 0 6px; }
.apply-steps p { margin: 0; color: var(--muted); font-size: 15px; }
.apply-n { position: relative; width: 46px; height: 46px; border-radius: 15px; background: var(--amber-soft); color: var(--amber-ink); display: grid; place-items: center; }
.apply-n i { position: absolute; right: -6px; top: -6px; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: #fff; font: 600 11px/20px inherit; text-align: center; font-style: normal; }
@media (max-width: 860px) { .apply-steps { grid-template-columns: 1fr; } }
.st-wrap .phead { padding-top: clamp(96px, 11vw, 120px); }
.st-grid .panel + .panel, .rent-list .panel + .panel { margin-top: 0; }

/* Dokumente & Infos: Umschalter Dokumente | Rund um die Miete */
.dtabs { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 22px; border-radius: 99px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); max-width: 100%; }
.dtabs a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 99px; font-size: 15px; color: var(--muted); white-space: nowrap; transition: background .25s, color .25s; }
.dtabs a:hover { color: var(--ink); }
.dtabs a[aria-current="page"] { background: var(--ink); color: #fff; }
.dg-hint { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 14px; margin: -4px 0 12px; }
.dg-hint svg { flex: none; }
@media (max-width: 560px) { .dtabs { display: flex; } .dtabs a { flex: 1; justify-content: center; padding: 10px 12px; font-size: 14px; } }

/* Kontaktformular: Hinweis auf Schadenmeldung unter dem Betreff */
.cform-report { display: inline-flex; width: fit-content; justify-self: start; align-items: center; gap: 8px; margin-top: -8px; font-size: 14px; color: var(--muted); transition: color .2s; }
.cform-report span { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.cform-report .ic:last-child { transition: transform .25s var(--ease); }
.cform-report:hover { color: var(--ink); }
.cform-report:hover .ic:last-child { transform: translateX(3px); }

/* Weiches Scrollen (Lenis): natives smooth aus, solange Lenis läuft */
html.lenis, html.lenis body { height: auto; }
html.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }

/* Quadratische Inseratbilder ganz zeigen */
.card-img img.fit, .wb-post-img img.fit { object-fit: contain; padding: 8%; background: var(--sand, #e8e8ed); }

/* Statusseite Mitteilung: Abstand nach dem Hinweis «Behoben» */
.mt-done { margin: 0 0 28px; }
.fld-note { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
#wz-needph { margin: 16px 0 0; }
/* Datumsfelder: Safari auf iPhone und iPad ignoriert sonst die Feldbreite und zeigt leere Felder zu niedrig */
input.inp[type=date] { display: block; min-width: 0; max-width: 100%; min-height: 50px; text-align: left; }
@supports (-webkit-touch-callout: none) {
  input.inp[type=date] { -webkit-appearance: none; appearance: none; }
  input.inp[type=date]::-webkit-date-and-time-value { text-align: left; margin: 0; }
}
.fld { min-width: 0; }
