:root {
  --ink: #302a27;
  --muted: #706861;
  --brand: #631418;
  --brand-soft: #efe1df;
  --paper: #fffdf9;
  --cream: #f7f2ea;
  --cream-2: #eee4d8;
  --sage: #707766;
  --sage-dark: #5e6556;
  --footer: #3b302c;
  --line: rgba(48, 42, 39, .14);
  --shadow: 0 18px 50px rgba(48, 42, 39, .11);
  --radius: 20px;
  --shell: min(1160px, calc(100% - 44px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
#wohnungen, #ausstattung, #region, #kontakt { scroll-margin-top: 92px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, .brand, .footer-brand {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  letter-spacing: -.025em;
}
h1 { font-size: clamp(2.75rem, 5.7vw, 5.7rem); font-weight: 500; }
h2 { font-size: clamp(2.15rem, 3.8vw, 3.85rem); font-weight: 500; }
h3 { font-size: clamp(1.65rem, 2.3vw, 2.35rem); font-weight: 500; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding: 96px 0; }
.section-soft { background: var(--cream); }

.skip-link {
  position: fixed; left: 14px; top: -80px; z-index: 999;
  background: var(--brand); color: #fff; padding: 10px 14px; border-radius: 8px;
}
.skip-link:focus { top: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 253, 249, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { color: var(--brand); font-size: 2rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: .95rem; }
.main-nav a { text-decoration: none; border-bottom: 1px solid transparent; }
.main-nav a:hover { color: var(--brand); border-color: var(--brand); }
.lang-switch { display: flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 700; }
.lang-switch a { text-decoration: none; color: var(--muted); }
.lang-switch a:hover { color: var(--brand); }
.lang-current { color: var(--brand); }
.lang-switch-sep { color: var(--line); }
.menu-button { display: none; border: 0; background: transparent; padding: 8px; }
.menu-button span:not(.sr-only) { display: block; width: 28px; height: 2px; background: var(--brand); margin: 6px 0; }

.hero { padding: 34px 0 0; background: var(--paper); }
.hero-photo { overflow: hidden; border-radius: 22px; box-shadow: 0 10px 34px rgba(48,42,39,.08); }
.hero-media { display: block; }
.hero-media img { width: 100%; height: auto; object-fit: contain; }
.hero-text { padding: 42px 0 46px; }
.hero-text-inner { display: grid; grid-template-columns: 1.12fr .88fr; gap: 70px; align-items: end; }
.hero-text h1 { margin-bottom: 0; max-width: 760px; }
.hero-summary > p { max-width: 540px; margin-bottom: 20px; color: var(--muted); font-size: 1.08rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 24px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .9rem; font-weight: 700; }
.hero-facts span + span::before { content: "·"; margin-right: 24px; color: var(--brand); }

.intro-grid { display: grid; grid-template-columns: 1fr .95fr; gap: 84px; align-items: start; }
.intro-grid h2 { margin-bottom: 0; }
.intro-copy { padding-top: 26px; color: var(--muted); font-size: 1.05rem; }
.intro-copy p:last-child { margin-bottom: 0; }

.simple-heading { max-width: 790px; margin-bottom: 42px; }
.simple-heading h2 { margin-bottom: 16px; }
.simple-heading > p:last-child { color: var(--muted); max-width: 680px; }

.apartment { display: grid; grid-template-columns: 1.4fr .85fr; gap: 48px; align-items: center; padding: 42px 0; }
.apartment + .apartment { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 68px; }
.apartment-gallery { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 290px 190px; gap: 10px; }
.photo { border: 0; padding: 0; overflow: hidden; border-radius: 15px; background: #ddd; cursor: zoom-in; }
.photo-main { grid-column: 1 / -1; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.photo:hover img { transform: scale(1.02); }
.apartment-copy { padding: 10px 0; }
.apartment-copy h3 { margin-bottom: 22px; }
.price { margin-bottom: 26px; color: var(--brand); font-size: 1.7rem; font-weight: 800; }
.price span { display: block; margin-top: 4px; color: var(--muted); font-size: .82rem; font-weight: 600; }
.plain-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.plain-list li { padding: 11px 0; border-bottom: 1px solid var(--line); }
.small-note { margin: 18px 0 0; color: var(--muted); font-size: .9rem; }


.stay-note { margin-top: 38px; padding: 22px 24px; border-left: 3px solid var(--brand); background: var(--cream); max-width: 760px; }
.stay-note h3 { margin: 0 0 6px; font-size: 1.28rem; }
.stay-note p { margin: 0; color: var(--muted); }
.stay-note-detail { margin-top: 26px; padding: 18px 20px; }
.stay-note-detail h3 { font-size: 1.12rem; }

.equipment-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 76px; align-items: start; }
.lead { color: var(--muted); max-width: 520px; }
.equipment-list { border-top: 1px solid var(--line); }
.equipment-list > div { display: grid; grid-template-columns: 150px 1fr; gap: 26px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.equipment-list strong { color: var(--brand); }
.equipment-list span { color: var(--muted); }

.region { background: #eef0e9; }
.region-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.region-card { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 28px rgba(48,42,39,.06); }
.region-card img { width: 100%; height: 235px; object-fit: cover; }
.region-card div { padding: 24px 25px 26px; }
.region-card h3 { margin-bottom: 10px; font-size: 1.65rem; }
.region-card p { margin-bottom: 0; color: var(--muted); font-size: .94rem; }

.reviews { background: var(--cream); }
.reviews-badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 10px 18px; background: var(--paper); border-radius: 999px; box-shadow: var(--shadow); text-decoration: none; font-weight: 700; color: var(--ink); }
.reviews-stars { color: #d99a1f; font-size: 1.1rem; letter-spacing: 2px; }
.reviews-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 42px; }
.review-card { margin: 0; padding: 26px 24px; background: var(--paper); border-radius: var(--radius); box-shadow: 0 8px 28px rgba(48,42,39,.06); }
.review-card p { margin: 0 0 16px; color: var(--ink); }
.review-card footer { color: var(--muted); font-size: .88rem; font-weight: 700; }

.contact-section { background: var(--brand-soft); }
.contact-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 76px; align-items: center; }
.contact-grid > div:first-child > p:last-child { color: var(--muted); max-width: 560px; }
.contact-card { padding: 34px; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-card > strong { font-family: Georgia, serif; font-size: 1.35rem; }
.contact-card p { color: var(--muted); }
.contact-phone a { color: var(--brand); font-size: 1.35rem; font-weight: 800; text-decoration: none; }
.route-link { color: var(--brand); font-weight: 700; text-underline-offset: 4px; }

.site-footer { background: var(--footer); color: rgba(255,255,255,.78); padding: 54px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; }
.footer-brand { color: #fff; font-size: 1.8rem; font-weight: 600; text-decoration: none; }
.site-footer p { color: rgba(255,255,255,.56); }
.site-footer strong { display: block; margin-bottom: 12px; color: #fff; }
.footer-grid > div:last-child { display: flex; flex-direction: column; align-items: flex-start; }
.footer-grid > div:last-child a { padding: 3px 0; color: rgba(255,255,255,.8); }
.footer-bottom { margin-top: 42px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.13); display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.48); font-size: .82rem; }
.footer-bottom a { color: rgba(255,255,255,.8); }

.lightbox { width: min(1100px, calc(100% - 30px)); max-width: none; border: 0; padding: 0; border-radius: 16px; overflow: visible; background: transparent; }
.lightbox::backdrop { background: rgba(27,22,20,.88); backdrop-filter: blur(4px); }
.lightbox img { width: 100%; max-height: 84vh; object-fit: contain; border-radius: 16px; }
.lightbox-close { position: absolute; right: 0; top: -48px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); font-size: 1.8rem; cursor: pointer; }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); font-size: 1.8rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.lightbox-prev { left: -22px; }
.lightbox-next { right: -22px; }
.lightbox-prev:hover, .lightbox-next:hover, .lightbox-close:hover { background: var(--cream); }
.lightbox-prev.is-hidden, .lightbox-next.is-hidden { display: none; }

@media (max-width: 960px) {
  :root { --shell: min(100% - 34px, 840px); }
  .section { padding: 78px 0; }
  .menu-button { display: block; z-index: 2; }
  .main-nav { position: absolute; left: 0; right: 0; top: 78px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 18px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 16px 35px rgba(48,42,39,.12); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 11px 0; }
  .hero-text-inner, .intro-grid, .equipment-grid, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .intro-copy { padding-top: 0; }
  .apartment { grid-template-columns: 1fr; gap: 26px; }
  .apartment-second .apartment-copy { order: 2; }
  .apartment-second .apartment-gallery { order: 1; }
  .region-grid { grid-template-columns: 1fr; }
  .region-card { display: grid; grid-template-columns: 280px 1fr; }
  .region-card img { height: 100%; min-height: 220px; }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --shell: calc(100% - 24px); }
  body { font-size: 16px; }
  .header-inner { min-height: 70px; }
  .brand { font-size: 1.7rem; }
  .main-nav { top: 70px; }
  .section { padding: 62px 0; }
  .hero { padding-top: 14px; }
  .hero-photo { width: calc(100% - 24px); border-radius: 14px; }
  .hero-text { padding: 30px 0 38px; }
  .hero-text-inner { gap: 20px; }
  h1 { font-size: clamp(2.35rem, 11vw, 3.8rem); }
  h2 { font-size: clamp(2rem, 9vw, 3rem); }
  .hero-summary > p { font-size: 1rem; }
  .hero-facts { display: grid; grid-template-columns: 1fr; gap: 5px; }
  .hero-facts span + span::before { display: none; }
  .apartment { padding: 30px 0; }
  .apartment + .apartment { padding-top: 54px; }
  .apartment-gallery { grid-template-rows: 240px 150px; }
  .equipment-list > div { grid-template-columns: 1fr; gap: 5px; }
  .region-card { display: block; }
  .region-card img { height: 220px; min-height: 0; }
  .contact-card { padding: 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; }
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; font-size: 1.5rem; }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
  .reviews-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.legal-content { max-width: 820px; }
.legal-content h1 { margin-bottom: 46px; }
.legal-content h2 { margin: 38px 0 12px; font-size: 1.65rem; }
.legal-content a { color: var(--brand); text-underline-offset: 3px; }
.legal-owner-note { padding: 16px 18px; background: var(--cream); border-left: 3px solid var(--brand); color: var(--muted); font-size: .9rem; }

/* Detailseiten */
.detail-link {
  display: inline-block;
  margin-top: 22px;
  color: var(--brand);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.breadcrumb { padding: 24px 0 0; color: var(--muted); font-size: .88rem; }
.breadcrumb a { color: var(--brand); text-underline-offset: 3px; }
.detail-hero { padding: 44px 0 72px; }
.detail-hero-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 62px; align-items: center; }
.detail-hero-copy h1 { margin-bottom: 22px; }
.detail-hero-copy .lead { font-size: 1.08rem; }
.detail-price { margin: 28px 0 0; color: var(--brand); font-size: 1.6rem; font-weight: 800; }
.detail-price span { display: block; margin-top: 4px; color: var(--muted); font-size: .8rem; font-weight: 600; }
.detail-hero-image { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.detail-hero-image img { width: 100%; height: 500px; object-fit: cover; }
.detail-section { padding: 82px 0; }
.detail-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.detail-layout h2 { margin-bottom: 20px; }
.detail-copy p { color: var(--muted); }
.detail-facts { border-top: 1px solid var(--line); }
.detail-facts > div { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.detail-facts strong { color: var(--brand); }
.detail-facts span { color: var(--muted); }
.family-note { margin-top: 34px; padding: 26px 28px; background: var(--brand-soft); border-radius: var(--radius); }
.family-note h3 { margin-bottom: 10px; font-size: 1.55rem; }
.family-note p { margin-bottom: 0; color: var(--muted); }
.detail-gallery { display: grid; grid-auto-flow: row dense; grid-template-columns: 1.4fr 1fr 1fr; grid-auto-rows: 240px; gap: 12px; }
.detail-gallery .photo:first-child, .detail-gallery .photo-portrait { grid-row: span 2; }
.detail-gallery .photo img { width: 100%; height: 100%; object-fit: cover; }
.detail-gallery-caption { margin-top: 16px; color: var(--muted); font-size: .88rem; }
.subtle-contact { background: var(--cream); }
.subtle-contact-grid { display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: center; }
.subtle-contact h2 { margin-bottom: 12px; }
.subtle-contact p { margin-bottom: 0; color: var(--muted); }
.contact-lines { text-align: right; }
.contact-lines a { display: block; color: var(--brand); font-size: 1.15rem; font-weight: 800; text-decoration: none; }
.location-intro { max-width: 760px; }
.location-intro p { color: var(--muted); }
.visit-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; margin-top: 36px; }
.visit-card { padding: 30px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.visit-card h3 { margin-bottom: 12px; }
.visit-card p { margin-bottom: 0; color: var(--muted); }

@media (max-width: 960px) {
  .detail-hero-grid, .detail-layout, .subtle-contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .detail-hero-image { order: -1; }
  .detail-hero-image img { height: 430px; }
  .detail-gallery { grid-template-columns: repeat(2,1fr); grid-auto-rows: 210px; }
  .detail-gallery .photo:first-child { grid-column: span 2; grid-row: auto; }
  .contact-lines { text-align: left; }
}

@media (max-width: 640px) {
  .detail-hero { padding: 28px 0 52px; }
  .detail-hero-image img { height: 300px; }
  .detail-section { padding: 62px 0; }
  .detail-facts > div { grid-template-columns: 1fr; gap: 3px; }
  .detail-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .detail-gallery .photo:first-child { grid-column: span 2; }
  .visit-grid { grid-template-columns: 1fr; }
}
