/* Apartment 94 – Boutique-Stil, hell und modern. Keine externen Abhängigkeiten. */
:root {
  --bg: #faf8f4;
  --surface: #ffffff;
  --sand: #f1ece3;
  --ink: #26231f;
  --muted: #6b645b;
  --line: #e4ddd1;
  --accent: #8c6a3f;       /* Messing, Kontrast zu Weiß 4.9:1 */
  --accent-dark: #6f5230;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(38, 35, 31, .08);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font: 17px/1.65 var(--sans);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-dark); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.container { width: min(1120px, 100% - 3rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0 0 .6em; letter-spacing: .01em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h3 { font-size: 1.35rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .78rem; color: var(--accent-dark); margin: 0 0 .8rem; font-weight: 600; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section.alt { background: var(--sand); }
.section-head { max-width: 640px; margin-bottom: 2.5rem; }
.section-head p { color: var(--muted); margin: 0; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .25s, box-shadow .25s;
}
.site-header .bar { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { font-family: var(--serif); font-size: 1.35rem; letter-spacing: .12em; text-decoration: none; color: #fff; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 1.3rem; }
.nav a { color: #fff; text-decoration: none; font-size: .88rem; letter-spacing: .08em; text-transform: uppercase; padding: .4rem 0; border-bottom: 1px solid transparent; }
.nav a:hover { border-color: currentColor; color: #fff; }
.nav .lang { border: 1px solid rgba(255,255,255,.7); padding: .3rem .7rem; border-radius: 99px; }
.site-header.solid, .site-header.open { background: rgba(250, 248, 244, .96); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(8px); }
.site-header.solid .brand, .site-header.solid .nav a,
.site-header.open .brand, .site-header.open .nav a { color: var(--ink); }
.site-header.solid .nav .lang, .site-header.open .nav .lang { border-color: var(--line); }
.menu-btn { display: none; background: none; border: 0; padding: .6rem; cursor: pointer; color: #fff; }
.site-header.solid .menu-btn, .site-header.open .menu-btn { color: var(--ink); }
.menu-btn span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; transition: transform .2s, opacity .2s; }
.site-header.open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.open .menu-btn span:nth-child(2) { opacity: 0; }
.site-header.open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.page-plain .site-header { background: rgba(250, 248, 244, .96); box-shadow: 0 1px 0 var(--line); }
.page-plain .brand, .page-plain .nav a { color: var(--ink); }
.page-plain .nav .lang { border-color: var(--line); }
.page-plain .menu-btn { color: var(--ink); }

@media (max-width: 1100px) {
  .menu-btn { display: block; }
  .nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--bg); padding: .5rem 1.5rem 1.2rem; box-shadow: 0 12px 20px rgba(0,0,0,.08); display: none; }
  .site-header.open .nav { display: flex; }
  .nav a, .site-header.solid .nav a { color: var(--ink); padding: .8rem 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav .lang { border: 0; padding: .8rem 0; border-radius: 0; }
}

/* Hero */
.hero {
  position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; color: #fff;
  background: #3a342c url("../img/hero.jpg") center / cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,17,13,.5), rgba(20,17,13,.35) 50%, rgba(20,17,13,.6)); }
.hero .inner { position: relative; padding: 6rem 0 5rem; }
.hero h1 { font-size: clamp(2rem, 9vw, 6rem); letter-spacing: .1em; text-transform: uppercase; margin-bottom: .3em; font-weight: 400; overflow-wrap: anywhere; }
@media (max-width: 480px) { .hero .btn { padding: .8rem 1.2rem; } .hero .facts { gap: .4rem 1.1rem; font-size: .78rem; } }
.hero p.sub { font-size: clamp(1.05rem, 2.4vw, 1.4rem); margin: 0 auto 2.2rem; max-width: 44ch; text-wrap: balance; font-family: var(--serif); font-style: italic; }
.hero .facts { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.8rem; margin: 2.2rem 0 0; padding: 0; list-style: none; font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; opacity: .92; }
.scroll-hint { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); color: #fff; font-size: 1.6rem; text-decoration: none; opacity: .85; }

/* Buttons */
.btn { display: inline-block; padding: .9rem 1.8rem; border-radius: var(--radius); background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; border: 1px solid var(--accent); cursor: pointer; font-family: inherit; transition: background .2s, color .2s; }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.85); }
.btn.ghost:hover { background: #fff; color: var(--ink); }
.btn.outline { background: transparent; color: var(--accent-dark); }
.btn.outline:hover { background: var(--accent-dark); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

/* Intro / cards */
.grid-3 { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { background: var(--surface); padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); }
.card h3 { margin-bottom: .5em; }
.card p { margin: 0 0 .8em; color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
.card ul { margin: 0; padding: 0; list-style: none; color: var(--muted); }
.card li { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-bottom: 1px dashed var(--line); }
.card li:last-child { border: 0; }
.card li strong { color: var(--ink); font-weight: 600; }

.amenities { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .6rem 2rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.amenities li { padding-left: 1.6rem; position: relative; }
.amenities li::before { content: ""; position: absolute; left: 0; top: .72em; width: .8rem; height: 1px; background: var(--accent); }

.split { display: grid; gap: 3rem; grid-template-columns: 1fr 1fr; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; gap: 2rem; } .split img { aspect-ratio: 4 / 3; } }
.dist { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; margin: 0 0 1.5rem; }
.dist dt { color: var(--muted); }
.dist dd { margin: 0; font-weight: 600; text-align: right; }
.dist-title { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-dark); font-weight: 600; margin: 1.4rem 0 .4rem; }

/* Gallery */
.gallery { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr 1fr; gap: .5rem; } .gallery span { font-size: .75rem; padding: 1rem .5rem .4rem; } }
.gallery a { position: relative; display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 1; background: var(--sand); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery a:hover img { transform: scale(1.05); }
.gallery span { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem .8rem .6rem; color: #fff; font-size: .85rem; background: linear-gradient(transparent, rgba(0,0,0,.6)); }

dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; }
dialog.lightbox::backdrop { background: rgba(15, 13, 10, .92); }
.lb-inner { height: 100%; display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 1rem; color: #fff; }
.lb-inner img { max-height: calc(100vh - 6rem); max-width: min(96vw, 1000px); object-fit: contain; }
.lb-inner p { margin: .6rem 0 0; text-align: center; }
.lb-btn { position: fixed; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.14); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; }
.lb-btn:hover { background: rgba(255,255,255,.3); }
.lb-prev { left: 1rem; } .lb-next { right: 1rem; }
.lb-close { position: fixed; top: 1rem; right: 1rem; background: rgba(255,255,255,.14); color: #fff; border: 0; width: 44px; height: 44px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; }

/* Prices */
.prices { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.price { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.4rem; text-align: center; display: flex; flex-direction: column; }
.price .name { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-dark); font-weight: 600; }
.price .amount { font-family: var(--serif); font-size: 3.6rem; line-height: 1; margin: .8rem 0 .1rem; }
.price .amount small { font-size: 1.2rem; vertical-align: super; margin-right: .1em; }
.price .per { color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }
.price .from { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: .6rem 0; font-weight: 600; margin-bottom: 1rem; }
.price ul { list-style: none; padding: 0; margin: 0 0 1.4rem; font-size: .9rem; color: var(--muted); text-align: left; flex: 1; }
.price li { padding: .25rem 0 .25rem 1.1rem; position: relative; }
.price li::before { content: "·"; position: absolute; left: .2rem; color: var(--accent); font-weight: 700; }
.price .btn { width: 100%; text-align: center; padding-inline: .8rem; }
.note { color: var(--muted); font-size: .92rem; margin-top: 1.6rem; max-width: 70ch; }

/* Embeds */
.embed { position: relative; background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.embed iframe { display: block; width: 100%; border: 0; height: 100%; }
.embed.cal { height: 560px; } .embed.map { height: 440px; }
.embed .consent { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 1rem; padding: 2rem; }
.embed .consent p { margin: 0; color: var(--muted); max-width: 46ch; font-size: .92rem; }
.legend { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; margin: 0 0 1.2rem; color: var(--muted); font-size: .95rem; }
.legend i { display: inline-block; width: .8rem; height: .8rem; border-radius: 2px; margin-right: .4rem; vertical-align: -1px; }

/* Reviews */
.reviews { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; margin: 0; display: flex; flex-direction: column; }
.review blockquote { margin: 0 0 1rem; flex: 1; font-family: var(--serif); font-size: 1.05rem; line-height: 1.55; }
.review blockquote::before { content: "\201C"; display: block; font-size: 2.6rem; line-height: .6; color: var(--accent); margin-bottom: .4rem; }
.review figcaption { font-size: .85rem; color: var(--muted); }
.review figcaption strong { color: var(--ink); display: block; }
.review[hidden] { display: none; }
.more { text-align: center; margin-top: 2rem; }

/* Subpages */
.page-head { padding: 9rem 0 3rem; background: var(--sand); text-align: center; }
.page-head p { max-width: 60ch; margin-inline: auto; color: var(--muted); }
.callout { background: var(--surface); border-left: 3px solid var(--accent); padding: 1.2rem 1.5rem; margin: 2rem 0 0; border-radius: 0 var(--radius) var(--radius) 0; }
.route { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.route img { aspect-ratio: 16 / 7; object-fit: cover; width: 100%; }
.route .body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; gap: .6rem; }
.route h3 { margin: 0; }
.route p { margin: 0; color: var(--muted); font-size: .95rem; }
.route .btn { margin-top: auto; align-self: flex-start; }
.tv-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); margin-top: 2rem; }
.tv-grid a { display: grid; place-items: center; text-align: center; padding: 1.4rem .8rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); font-weight: 600; min-height: 84px; }
.tv-grid a:hover { border-color: var(--accent); color: var(--accent-dark); }

/* Footer */
.site-footer { background: #26231f; color: #d9d2c6; padding: 4rem 0 2rem; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer .cols { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-bottom: 2.5rem; }
.site-footer h3 { font-size: 1rem; letter-spacing: .18em; text-transform: uppercase; color: #fff; font-family: var(--sans); font-weight: 600; }
.site-footer p { margin: 0 0 .4rem; }
.site-footer .copy { border-top: 1px solid #3d3830; padding-top: 1.4rem; font-size: .85rem; color: #a49c8e; }

.to-top { position: fixed; right: 1.2rem; bottom: 1.2rem; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: 1.2rem; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .25s; box-shadow: var(--shadow); }
.to-top.show { opacity: .9; pointer-events: auto; }

@media print { .site-header, .to-top, .scroll-hint, .embed { display: none; } .hero { min-height: 0; color: #000; background: none; } .hero::before { display: none; } }

/* Kontaktformular */
.contact { display: grid; gap: 3rem; grid-template-columns: 1.4fr 1fr; align-items: start; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; gap: 2rem; } }
.form { display: grid; gap: 1.1rem; grid-template-columns: 1fr 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; padding: 1.4rem; } }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .35rem; letter-spacing: .02em; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid #cfc6b6; border-radius: var(--radius); padding: .7rem .8rem; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 1px; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.check input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; accent-color: var(--accent); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; padding: .9rem 1rem; border-radius: var(--radius); font-size: .95rem; }
.form-status:empty { display: none; }
.form-status.ok { background: #eaf3e6; color: #25511a; border: 1px solid #b9d6ad; }
.form-status.err { background: #fbeaea; color: #7a1f1f; border: 1px solid #e3b4b4; }
.form button[disabled] { opacity: .6; cursor: wait; }
.contact-side p { margin: 0 0 .7rem; color: var(--muted); }
.contact-side h3 { margin-top: 1.6rem; }
.contact-side h3:first-child { margin-top: 0; }

/* Rechtstexte */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.7rem; margin-top: 2.6rem; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-family: var(--sans); font-size: 1.02rem; font-weight: 700; letter-spacing: .01em; margin: 1.8rem 0 .4rem; }
.legal p { margin: 0 0 1rem; }
.site-footer .copy a { color: #d9d2c6; }

/* Hinweis zu externen Inhalten */
.consent-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(38, 35, 31, .12); }
.consent-banner[hidden] { display: none; }
.consent-inner { width: min(1120px, 100% - 2rem); margin-inline: auto; padding: 1.2rem 0; display: flex; gap: 1.5rem; align-items: center; justify-content: space-between; }
.consent-inner p { margin: .3rem 0 0; font-size: .92rem; color: var(--muted); max-width: 70ch; }
.consent-actions { display: flex; gap: .7rem; flex: none; }
.consent-actions .btn { padding: .8rem 1.2rem; }
@media (max-width: 760px) { .consent-inner { flex-direction: column; align-items: stretch; gap: 1rem; } .consent-actions { flex-direction: column; } }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: #d9d2c6; text-decoration: underline; cursor: pointer; }
.link-btn:hover { color: #fff; }

/* Übersicht mit mehreren Wohnungen */
.apts { display: grid; gap: 1.8rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.apt { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.apt-img { display: block; aspect-ratio: 4 / 3; background: var(--sand); overflow: hidden; }
.apt-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.apt:hover .apt-img img { transform: scale(1.04); }
.apt-img.ph { display: grid; place-items: center; color: var(--muted); background: repeating-linear-gradient(135deg, var(--sand), var(--sand) 14px, #ebe4d8 14px, #ebe4d8 28px); font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; }
.apt-body { padding: 1.8rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.apt-body h3 { font-size: 1.7rem; margin: 0; }
.apt-body p { margin: 0; color: var(--muted); }
.apt-meta { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-dark) !important; font-weight: 600; }
.apt-price { margin-top: .6rem !important; color: var(--ink) !important; }
.apt-price strong { font-family: var(--serif); font-size: 1.9rem; font-weight: 400; }
.apt-price span { color: var(--muted); font-size: .85rem; margin-left: .3rem; }
.apt-body .btn { align-self: flex-start; margin-top: 1rem; }
.apt-badge { display: inline-block; align-self: flex-start; margin-top: 1rem !important; padding: .4rem .9rem; border: 1px solid var(--line); border-radius: 99px; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.apt-soon { box-shadow: none; }
.hero .back { margin: 0 0 1rem; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; }
.hero .back a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.6); padding-bottom: 2px; }
.hero .back a:hover { border-color: #fff; }

/* Lange Titel (z. B. "Schwalbennest") auf dem Handy: kleiner, nur an sinnvollen Stellen umbrechen */
@media (max-width: 560px) {
  .hero h1 { font-size: clamp(1.5rem, 7vw, 3rem); letter-spacing: .06em; overflow-wrap: normal; word-break: normal; }
}

/* Ausklappbare Inventarliste */
.inventory { margin-top: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.inventory summary { cursor: pointer; padding: 1rem 1.4rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.inventory summary::-webkit-details-marker { display: none; }
.inventory summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--accent-dark); }
.inventory[open] summary::after { content: "\2013"; }
.inv-grid { display: grid; gap: 1.6rem 2.2rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); padding: .4rem 1.4rem 1.6rem; }
.inv-grid h3 { font-size: 1.15rem; margin: 0 0 .5rem; }
.inv-grid ul { list-style: none; margin: 0; padding: 0; color: var(--muted); font-size: .95rem; }
.inv-grid li { padding: .3rem 0; border-bottom: 1px dashed var(--line); }
.inv-grid .wide { grid-column: span 2; }
.inv-grid .wide ul { columns: 2; column-gap: 2.2rem; }
.inv-grid .wide li { break-inside: avoid; }
@media (max-width: 720px) { .inv-grid .wide { grid-column: auto; } .inv-grid .wide ul { columns: 1; } }

/* Zwischenüberschrift in Textkarten (z. B. "Zugang für Gäste") */
.card p + h3 { margin-top: 1.6rem; }
