:root {
  color-scheme: light;
  --paper: #f5f6f7;
  --ink: #26343e;
  --anthracite: #414b55;
  --brand-blue: #0375d1;
  --brand-line: 4px;
  --brand-fade-width: clamp(16px, 3vw, 42px);
  --brand-fade: linear-gradient(90deg, #9cb1c54d, #becdd925 44%, transparent);
  --anthracite-dark: #39444f;
  --muted: #54616d;
  --line: #d6dce2;
  --silver: #dee5eb;
  --smoke-blue: #536c7e;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Aptos", "Segoe UI", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body { margin: 0; border-inline-start: var(--brand-line) solid var(--brand-blue); background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--sans); }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; }
h2 { font-size: clamp(2.3rem, 5vw, 4.4rem); letter-spacing: -.052em; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.9rem); letter-spacing: -.027em; }
h2 em { color: var(--smoke-blue); font-weight: 400; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .25em; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: var(--silver); color: var(--anthracite-dark); }
:focus-visible { outline: 3px solid #4389bc; outline-offset: 5px; }
.wrap { max-width: 1360px; padding-inline: clamp(1.25rem, 6.3vw, 6rem); margin-inline: auto; }
.section { padding-block: clamp(3.9rem, 8vw, 8rem); }
.kicker { font-size: .875rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem 3rem; margin-bottom: 2.4rem; }
.section-head > p { max-width: 29rem; color: var(--muted); }
.skip { position: fixed; z-index: 25; top: .75rem; left: .75rem; padding: .75rem; background: white; transform: translateY(-200%); }
.skip:focus { transform: none; }
.top { position: sticky; z-index: 5; top: 0; display: grid; grid-template-columns: minmax(190px, 1fr) auto minmax(110px, 1fr); align-items: center; gap: 1.3rem; min-height: 75px; padding: 0 clamp(1.15rem, 5.3vw, 5rem) 0 0; background: var(--brand-fade) left / var(--brand-fade-width) 100% no-repeat var(--paper); }
.brand { justify-self: start; align-self: end; }
.brand img { width: 190px; height: auto; }
.nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem clamp(.85rem, 2.25vw, 2.1rem); }
.nav a { font-size: .875rem; font-weight: 620; text-decoration: none; white-space: nowrap; }
.nav a:hover { text-decoration: underline; }
.button { display: inline-flex; justify-content: center; align-items: center; padding: .78rem 1.25rem; min-height: 46px; border: 1px solid transparent; text-decoration: none; font: 650 .9rem/1.35 var(--sans); transition: background .2s, color .2s, border .2s; }
.button.dark { background: var(--anthracite); color: white; }
.button.dark:hover { background: #52616f; }
.nav-contact { justify-self: end; }
.menu { display: none; }
.button.accent { background: var(--silver); color: var(--anthracite-dark); }
.button.accent:hover { background: #eef2f5; }
.hero { isolation: isolate; position: relative; overflow: hidden; display: flex; align-items: center; min-height: clamp(500px, 72svh, 740px); background: #637687 url("assets/foto-01.webp") center 54% / cover; color: var(--ink); }
.hero video, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero video { z-index: -2; object-fit: cover; object-position: center 54%; }
.hero::after { z-index: -1; content: ""; background: linear-gradient(90deg, #acbccb 0%, #ced8e1fa 14%, #f8fafbf0 29%, #fff9 41%, #fff3 53%, #fff0 65%); }
.hero-inner { width: 100%; max-width: 1600px; margin-inline: auto; padding: 5rem clamp(1.25rem, 7.3vw, 8.5rem) 6.2rem; }
.hero .kicker { color: #334b5e; margin-bottom: 1.55rem; }
.hero .kicker span { display: inline-block; width: 1.6rem; height: 1px; vertical-align: middle; margin: 0 .38rem; background: #526d82; }
.hero h1 { font-size: clamp(3.05rem, 7.35vw, 7.65rem); line-height: .98; letter-spacing: -.065em; }
.hero h1 em { color: #334c60; font-weight: 400; }
.hero-description { max-width: 26rem; margin-top: 1.45rem; color: #273c4c; font-size: clamp(1rem, 1.65vw, 1.2rem); }
.hero .button.accent { border-color: #526d82; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.85rem; }
.facts { display: grid; grid-template-columns: 1fr 1fr .75fr 1.48fr; padding-inline: clamp(1.25rem, 5.3vw, 5rem); color: var(--paper); background: var(--anthracite); }
.facts > div { display: flex; flex-direction: column-reverse; align-items: center; justify-content: center; gap: .25rem; text-align: center; min-height: 128px; padding: 1rem .6rem; border-right: 1px solid #ffffff2e; }
.facts > div:last-child { border-right: 0; }
.facts dt { color: #e5ebf1; font-size: .875rem; }
.facts dd { font: 400 clamp(2rem, 4.2vw, 3.35rem)/1.05 var(--serif); letter-spacing: -.055em; }
.facts dd small { font-size: .57em; letter-spacing: 0; }
.facts .purchase dd { color: var(--silver); }
.intro { display: grid; grid-template-columns: .94fr 1.1fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.intro .lead { margin: 1.45rem 0 .9rem; font-size: 1.12rem; }
.intro p:not(.kicker) { max-width: 35rem; }
.intro p:not(.kicker):not(.lead) { color: var(--muted); }
.text-link { display: inline-block; font-weight: 650; }
.intro .text-link { margin-top: 1.3rem; }
.feature-photo img { width: 100%; height: auto; aspect-ratio: 1.43; object-fit: cover; }
.feature-photo figcaption { margin-top: .55rem; color: var(--muted); font-size: .875rem; text-align: right; }
.rooms { background: #e8edf2; }
.room-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(1.5rem, 4vw, 4rem); padding-block: clamp(2.5rem, 4vw, 4rem); }
.room-grid article + article { border-left: 1px solid #cbd5de; padding-left: clamp(.8rem, 2.4vw, 2rem); }
.room-grid p { color: var(--muted); margin-top: .65rem; }
.gallery { background: var(--anthracite-dark); color: var(--paper); }
.gallery .section-head > p { color: #e1e8ee; }
.gallery .kicker, .contact .kicker { color: var(--silver); }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.3rem; }
.filters button { min-height: 42px; padding: .38rem .85rem; background: transparent; color: var(--paper); border: 1px solid #ffffff55; font-size: .875rem; }
.filters button:hover, .filters button[aria-pressed=true] { background: var(--silver); border-color: var(--silver); color: var(--anthracite-dark); }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.05rem; }
.photo, .plan { display: flex; flex-direction: column; min-width: 0; border: 0; padding: 0; color: inherit; text-align: left; background: transparent; }
.photo > img { width: 100%; height: auto; aspect-ratio: 1.55; object-fit: cover; background: #4e5a65; }
.photo span, .plan span { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: .4rem; padding: .6rem 0 .75rem; font-size: .9rem; }
.photo span { border-bottom: 1px solid #ffffff36; }
.photo:hover span { color: var(--silver); }
.photo i, .plan i { font-style: normal; font-size: 1.26rem; font-weight: 400; }
.film-section { display: grid; grid-template-columns: .72fr 1.5fr; align-items: center; gap: clamp(1.5rem, 5.2vw, 5rem); }
.film-section .section-head { margin-bottom: 0; }
.film-frame { position: relative; aspect-ratio: 16 / 9; background: var(--anthracite-dark); }
.film-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film-section figcaption { color: var(--muted); font-size: .875rem; margin-top: .55rem; text-align: center; }
.plans { background: #e9eef2; }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.plan { background: white; border: 1px solid #d5dde4; }
.plan img { width: 100%; height: auto; aspect-ratio: 1.2; object-fit: contain; padding: .8rem; }
.plan span { padding: .7rem 1rem; border-top: 1px solid #d5dde4; font-weight: 650; }
.plan:hover span { background: #e1e9f0; }
.location { background: #edf0f3; }
.nearby { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .85rem; }
.nearby article { background: var(--paper); padding: 1.2rem 1.25rem 1rem; display: flex; flex-direction: column; }
.nearby .kicker { margin-bottom: .6rem; color: var(--smoke-blue); }
.nearby article > p:not(.kicker) { margin: .45rem 0 .85rem; color: var(--muted); }
.nearby-links { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: auto; font-size: .875rem; font-weight: 620; }
.map-box { margin-top: 1.25rem; padding: 1.3rem; border: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; }
.map-box p { color: var(--muted); margin-top: .3rem; }
.map-box a { flex-shrink: 0; }
.data-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 5vw, 5rem); margin-top: 2rem; }
.data-list { margin-top: .8rem; }
.data-list div { display: grid; grid-template-columns: 1.15fr 1fr; gap: .4rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.data-list dt { color: var(--muted); }
.data-list dd { text-align: right; font-weight: 630; }
.fine { margin-top: 1rem; font-size: .875rem; color: var(--muted); }
.contact { color: var(--paper); background: linear-gradient(125deg, #576879, #414b55 62%, #39444f); }
.contact .section-head > p, .contact .fine { color: #e0e7ed; }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1rem; }
.contact-grid > * { padding: clamp(1.3rem,3vw,2.5rem); border: 1px solid #ffffff46; }
.contact .section-head > p { max-width: 25rem; }
.contact-grid > * { background: #34445066; }
.contact-grid aside { border-top-color: #aebfcd; }
.contact-grid address a { overflow-wrap: anywhere; }
.contact-grid h3 { font-size: clamp(2rem,4vw,3rem); }
.contact-grid article > p { color: #e0e7ed; margin-top: .35rem; }
address { font-style: normal; }
.contact-grid address { margin: .8rem 0 1.2rem; }
.contact-grid article address a { display: block; width: fit-content; }
.contact-grid address a, a[href="#rechtliches"], a[href="https://jochen-richter-immobilien.de/impressum/"] { text-decoration: none; }
.contact-grid address a:hover, a[href="#rechtliches"]:hover, a[href="https://jochen-richter-immobilien.de/impressum/"]:hover { color: #c0def6; }
.contact-grid aside img { width: 190px; height: auto; }
footer { padding: 1.5rem 0 2rem; background: var(--anthracite-dark); color: #f2f5f8; font-size: .875rem; }
.footer-inner, .footer-inner nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .7rem 1.7rem; }
footer details { margin-top: .9rem; color: #e0e7ed; }
footer summary { cursor: pointer; width: fit-content; }
footer details p { max-width: 43rem; margin: .5rem 0; }
dialog { width: min(94vw, 1100px); max-height: 92dvh; padding: .7rem; border: 1px solid #75889a; background: var(--anthracite-dark); color: white; }
dialog::backdrop { background: #303b49d9; }
.lightbox-bar, .lightbox-content { display: flex; align-items: center; justify-content: space-between; gap: .45rem; }
.lightbox-bar { margin-bottom: .5rem; }
.lightbox-content { justify-content: center; }
.lightbox-content img { min-width: 0; max-height: 74dvh; width: auto; flex: 0 1 auto; object-fit: contain; }
dialog button { flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid #ffffff59; background: transparent; color: white; font-size: 1.55rem; line-height: 1; }
dialog button:hover { color: var(--silver); }
#bildzaehler { text-align: center; font-size: .875rem; margin-top: .45rem; }
main, .rooms, .plans, .location {
  background-image: var(--brand-fade);
  background-repeat: no-repeat;
  background-size: var(--brand-fade-width) 100%;
}
@media (max-width: 850px) {
  .top { grid-template-columns: 1fr auto auto; gap: .7rem; min-height: 65px; }
  .nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; padding-bottom: .45rem; }
  .top:has(.menu:not([hidden])) .nav { display: none; }
  .top:has(.menu[aria-expanded=true]) .nav { display: flex; }
  .menu { display: inline-block; min-height: 42px; padding: .3rem .65rem; border: 1px solid var(--line); background: transparent; color: var(--ink); }
  .nav-contact { min-height: 42px; padding: .55rem .68rem; }
  .brand img { width: 160px; }
  .section-head { align-items: start; flex-direction: column; }
  .feature-photo img { aspect-ratio: 1.18; }
  .room-grid { gap: 1.2rem; }
  .photo-grid, .nearby { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 590px) {
  html { scroll-padding-top: 77px; }
  .top { padding-inline: 0 .75rem; }
  .brand img { width: min(155px, 36vw); }
  .hero { min-height: min(670px, 80svh); }
  .hero-inner { padding-block: 4.2rem 5.1rem; }
  .hero::after { background: linear-gradient(90deg, #adbdcce8 0%, #dce4ebea 25%, #fbfcfdd9 49%, #fff8 70%, #fff2 100%); }
  .hero h1 { font-size: clamp(2.8rem, 10vw, 4rem); }
  .hero .kicker span { width: .85rem; margin-inline: .2rem; }
  .facts { grid-template-columns: 1fr 1fr; padding-inline: .7rem; }
  .facts > div { min-height: 92px; }
  .facts > div:nth-child(-n+2) { border-bottom: 1px solid #ffffff2e; }
  .facts > div:nth-child(2n) { border-right: 0; }
  .intro, .film-section, .data-grid, .contact-grid { grid-template-columns: 1fr; }
  .feature-photo img { aspect-ratio: 1.4; }
  .room-grid, .plan-grid { grid-template-columns: 1fr; }
  .room-grid article + article { border-left: none; padding: 1rem 0 0; border-top: 1px solid #cbd5de; }
  .plan img { max-height: 280px; }
  .map-box { align-items: start; flex-direction: column; }
  .nearby article { padding: .95rem .75rem; }
  .nearby .kicker { font-size: .79rem; letter-spacing: .07em; }
  .photo-grid { gap: .75rem; }
  .photo span { padding: .3rem 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
