/* the Hof – minimalistisches Design. Schrift: Poppins (lokal eingebunden, keine externen Anfragen). */
@font-face { font-family: "Poppins"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/poppins-light.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/poppins-regular.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/poppins-medium.woff") format("woff"); }

:root {
  --ink: #0a0a0a;
  --text: #1d1d1b;
  --muted: #6a6a66;
  --line: #e4e4e0;
  --tint: #f5f5f2;
  --paper: #ffffff;
  --accent: #4F7942;      /* Fern Green */
  --accent-d: #3F6235;
  --max: 1180px;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-weight: 400; font-size: 1rem; line-height: 1.75; color: var(--text); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font); font-weight: 300; line-height: 1.2; letter-spacing: -.01em; color: var(--ink); margin: 0 0 .7em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3, .h3 { font-size: 1.2rem; font-weight: 400; letter-spacing: 0; }
p { margin: 0 0 1.15em; }
address { font-style: normal; }
ul.plain, ol.plain { list-style: none; padding: 0; margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.wrap { width: min(var(--max), 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; color: var(--ink); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: .95rem 1.7rem; border: 1px solid transparent; border-radius: 2px; font: 500 .78rem/1.2 var(--font); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn--primary { background: var(--accent); color: #fff; }   /* Fern Green – alle Buttons zur Online-Buchung */
.btn--primary:hover { background: var(--accent-d); color: #fff; }
.cta-band .btn--primary { border-color: rgba(255,255,255,.5); }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.85); background: transparent; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--outline { color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--sm { padding: .7rem 1.2rem; font-size: .72rem; }
.btn--block { display: block; width: 100%; text-align: center; }

/* ---------- Kopf: schwarz, Logo oben links ---------- */
.topbar { background: var(--ink); color: #b9b9b4; font-size: .78rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.topbar a { color: #d8d8d3; text-decoration: none; letter-spacing: .04em; }
.topbar a:hover { color: #fff; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: .25rem 1rem; padding: .3rem 0; flex-wrap: wrap; }
.topbar__right { display: flex; align-items: center; gap: .25rem 1.5rem; flex-wrap: wrap; }
.lang { list-style: none; margin: 0; padding: 0; display: flex; gap: .1rem; }
.lang a { display: block; padding: .3rem .4rem; line-height: 0; }
.lang img { width: 24px; height: 16px; border-radius: 1px; opacity: .6; transition: opacity .2s; }
.lang a:hover img { opacity: 1; }
.lang a[aria-current="true"] img { opacity: 1; box-shadow: 0 0 0 1px #fff; }

.site-header { position: relative; z-index: 50; background: var(--ink); color: #fff; }
.header__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; padding: 1.1rem 0 1.4rem; }
.header__cta { justify-self: end; }
.nav > ul > li.nav__cta { display: none; }
.brand { display: block; line-height: 0; }
.brand img { height: clamp(84px, 11vw, 124px); width: auto; }

.nav ul { list-style: none; margin: 0; padding: 0; }
.nav > ul { display: flex; align-items: center; justify-content: center; gap: 0; }
.nav > ul > li + li:not(.nav__cta)::before { content: "|"; content: "|" / ""; color: rgba(255,255,255,.4); padding: 0 1.3rem; }
.nav > ul > li { display: flex; align-items: center; }
.nav a { display: block; text-decoration: none; color: #fff; font-size: .78rem; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; padding: .5rem 0; border-bottom: 1px solid transparent; }
.nav a:not(.btn):hover { color: #fff; border-bottom-color: rgba(255,255,255,.7); }
.nav a[aria-current="page"] { border-bottom-color: #fff; }
.nav .btn { padding: .8rem 1.3rem; border-bottom: 1px solid transparent; }
.nav .btn:hover { color: #fff; }
.has-sub { position: relative; }
.sub { display: none; position: absolute; left: -1rem; top: 100%; min-width: 14rem; background: var(--ink); border: 1px solid rgba(255,255,255,.18); padding: .6rem 1rem; z-index: 60; }
.has-sub:hover .sub, .has-sub:focus-within .sub { display: block; }
.sub a { padding: .5rem 0; }

.nav-toggle { display: none; justify-self: end; background: none; border: 1px solid rgba(255,255,255,.4); width: 2.9rem; height: 2.9rem; cursor: pointer; position: relative; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 50%; width: 1.3rem; height: 1px; background: #fff; transform: translateX(-50%); transition: transform .2s, opacity .2s; }
.nav-toggle__bars { top: 50%; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateX(-50%) translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateX(-50%) translateY(-7px) rotate(-45deg); }

@media (max-width: 920px) {
  .header__in { display: flex; justify-content: space-between; }
  .header__cta { display: none; }
  .nav > ul > li.nav__cta { display: block; }
  .nav > ul > li { display: block; }
  .nav > ul > li + li::before { content: none !important; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); border-top: 1px solid rgba(255,255,255,.14); padding: .75rem 1.25rem 1.5rem; max-height: calc(100vh - 8rem); overflow-y: auto; }
  .nav.is-open { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { padding: .8rem 0; }
  .sub { display: block; position: static; border: 0; padding: 0 0 .25rem 1rem; min-width: 0; }
  .sub a { padding: .5rem 0; color: #cfcfca; }
  .nav .btn { margin: .8rem 0 0; text-align: center; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: #fff; min-height: clamp(460px, 68vh, 720px); display: flex; align-items: flex-end; background: var(--ink); }
.hero__slides, .slide, .slide img { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; }
.slide { opacity: 0; transition: opacity .9s ease; z-index: -2; }
.slide.is-active { opacity: 1; }
.slide img { object-fit: cover; }
.slide figcaption { display: none; }
.hero__caption { position: absolute; z-index: 2; left: 50%; transform: translateX(-50%); bottom: 4.5rem; width: min(46rem, 100% - 2.5rem); margin: 0; text-align: center; font-size: .92rem; letter-spacing: .05em; line-height: 1.4; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.9), 0 2px 14px rgba(0,0,0,.8); pointer-events: none; }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.05) 35%, rgba(0,0,0,.8) 100%); }
.hero__slides { pointer-events: none; }
.hero__content { position: relative; z-index: 2; padding: 3rem 0 8.5rem; }
.hero h1 { color: #fff; max-width: 14em; margin-bottom: .35em; text-shadow: 0 2px 22px rgba(0,0,0,.35); }
.hero__sub { font-weight: 300; font-size: clamp(1rem, 2vw, 1.3rem); max-width: 34rem; margin-bottom: 1.8rem; }
.hero__actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.hero__controls { position: absolute; z-index: 3; left: 0; right: 0; bottom: 1.2rem; display: flex; align-items: center; justify-content: center; gap: .9rem; }
.hero__btn { width: 2.3rem; height: 2.3rem; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); background: transparent; color: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; }
.hero__btn:hover { background: #fff; color: var(--ink); }
.hero__dots { display: flex; gap: .5rem; }
.hero__dots button { width: .55rem; height: .55rem; padding: 0; border-radius: 50%; border: 1px solid #fff; background: transparent; cursor: pointer; }
.hero__dots button[aria-current="true"] { background: #fff; }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .72rem; font-weight: 500; color: var(--accent); margin-bottom: 1rem; }
.eyebrow--light { color: #fff; opacity: .9; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
@media (max-width: 640px) { .hero__caption { font-size: .8rem; bottom: 4.3rem; } .hero__content { padding-bottom: 8.2rem; } }

/* ---------- Abschnitte ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--tint { background: var(--tint); }
.section--slim { padding: clamp(1.75rem, 4vw, 3rem) 0; }
.section__head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section__head p:last-child { color: var(--muted); font-weight: 300; font-size: 1.1rem; margin-bottom: 0; }
.page-head { background: var(--tint); padding: clamp(2.2rem, 5vw, 4rem) 0 clamp(1.8rem, 3.5vw, 2.8rem); }
.page-head h1 { margin-bottom: .25em; }
.page-head__lead { font-weight: 300; font-size: 1.2rem; color: var(--muted); margin: 0; }
.crumbs { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.4rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }

.prose { max-width: 42rem; }
.prose--wide { max-width: 52rem; }
.prose--legal { max-width: 52rem; font-size: .95rem; }
.prose--legal h2 { font-size: 1.3rem; margin-top: 2em; }
.prose--legal ol, .prose--legal ul { padding-left: 1.4rem; }
.prose--legal li { margin-bottom: .6em; }
.prose h2 { margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose .lead { font-weight: 300; font-size: 1.4rem; line-height: 1.5; color: var(--ink); }
.prose .signature { margin-top: 1.8rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--ink); }
.prose a:hover { color: var(--accent); }

.welcome { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 860px) { .welcome { grid-template-columns: 1fr; } }

/* ---------- Zielgruppen ---------- */
.audience { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.2rem) clamp(1.5rem, 4vw, 3rem); }
.audience li { border-top: 1px solid var(--ink); padding-top: 1.2rem; }
.audience__icon { display: block; color: var(--accent); margin-bottom: 1rem; line-height: 0; }
.audience__icon svg { width: 52px; height: 52px; }
.audience h3 { font-size: 1.3rem; margin-bottom: .5em; }
.audience p { color: var(--muted); font-size: .95rem; line-height: 1.7; margin: 0; }
@media (max-width: 900px) { .audience { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .audience { grid-template-columns: 1fr; } }

/* ---------- Karten ---------- */
.card { background: #fff; border: 1px solid var(--line); }
.side { display: grid; gap: 1.5rem; }
.partners__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.partners__list li + li { padding-top: 1.1rem; border-top: 1px solid var(--line); }
.partners__list a { display: flex; justify-content: center; }
.partners__list img { max-height: 152px; width: auto; max-width: 100%; object-fit: contain; }
.partners-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(2rem, 4vw, 3rem) 0; }
.band__title { font-size: .8rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); text-align: center; margin-bottom: 1.8rem; }
.partners__row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; align-items: center; justify-items: center; }
.partners__row a { display: flex; justify-content: center; }
.partners__row img { max-height: 152px; width: auto; max-width: 100%; object-fit: contain; }
@media (max-width: 700px) { .partners__row { grid-template-columns: 1fr; gap: 1.6rem; } }
.facts { padding: 1.8rem; }
.facts__logo { height: 96px; width: auto; margin: 0 0 1.1rem; }
.facts__title { font-size: 1.15rem; font-weight: 400; text-transform: uppercase; letter-spacing: .14em; }
.facts__label { font-weight: 500; margin: 1.3rem 0 .4rem; color: var(--ink); }
.facts__small { font-size: .92rem; color: var(--muted); margin: 1rem 0 0; }
.dl { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1rem; margin: 0 0 1rem; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; font-weight: 500; }

.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--apts { grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); }
.grid--spaced { margin-top: 2.5rem; }
.apt-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; overflow: hidden; border: 0; background: transparent; }
.apt-card:hover { color: inherit; }
.apt-card__img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--line); }
.apt-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.apt-card:hover img { transform: scale(1.04); }
.apt-card__body { display: flex; flex-direction: column; gap: .1rem; padding: 1rem 0 .4rem; flex: 1; }
.apt-card__name { font-size: 1.3rem; font-weight: 300; color: var(--ink); }
.apt-card__meta { color: var(--muted); font-size: .88rem; }
.apt-card__more { margin-top: auto; padding-top: .8rem; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: var(--accent); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split__img { overflow: hidden; aspect-ratio: 4 / 3; }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.linkgroups h3 { font-size: .8rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; padding-bottom: .8rem; border-bottom: 1px solid var(--ink); }
.linklist { list-style: none; margin: 0; padding: 0; }
.linklist li { border-bottom: 1px solid var(--line); }
.linklist a { display: block; padding: .6rem 0; text-decoration: none; font-size: .95rem; }
.linklist a::after { content: " ↗"; color: var(--accent); font-size: .85em; }
.linklist a:hover { color: var(--accent); }

/* ---------- Apartment ---------- */
.apt-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.apt-layout .facts { position: sticky; top: 1.5rem; }
@media (max-width: 860px) { .apt-layout { grid-template-columns: 1fr; } .apt-layout .facts { position: static; } }
.view-box { border-left: 1px solid var(--accent); padding: .3rem 0 .1rem 1.4rem; margin: 1.8rem 0; }
.view-box h3 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; margin-bottom: .4em; }

.gallery, .plans { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.gallery { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.plans { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.gallery a, .plans a { position: relative; display: block; overflow: hidden; background: var(--line); }
.gallery a { aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery a:hover img { transform: scale(1.04); }
.plans a { background: #fff; border: 1px solid var(--line); padding: .6rem; }
.plans img { width: 100%; height: auto; max-height: 340px; object-fit: contain; }
.gallery__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem .9rem .6rem; font-size: .8rem; letter-spacing: .06em; color: #fff; background: linear-gradient(0deg, rgba(0,0,0,.65), transparent); }
.gallery__cap--static { position: static; background: none; color: var(--muted); text-align: center; padding: .5rem 0 0; }

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { display: inline-block; padding: .6rem 1.2rem; border: 1px solid var(--ink); background: #fff; border-radius: 2px; text-decoration: none; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.chip small { color: var(--muted); margin-left: .35rem; letter-spacing: 0; text-transform: none; }
.chip:hover { background: var(--ink); color: #fff; }
.chip:hover small { color: #ccc; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: #fff; }
.compare { width: 100%; border-collapse: collapse; min-width: 620px; }
.compare th, .compare td { text-align: left; padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .95rem; }
.compare thead th { background: var(--ink); color: #fff; font-weight: 400; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare tbody th { font-size: 1.05rem; font-weight: 400; }
.info-box { margin-top: 2.5rem; background: #fff; border: 1px solid var(--line); padding: 1.6rem 1.9rem .7rem; }
.info-box h3 { margin-bottom: .6em; }
.note { border-left: 1px solid var(--accent); padding: .2rem 0 .2rem 1.3rem; margin-top: 1.8rem; font-weight: 500; }
.note p:last-child { margin-bottom: 0; }

.cta-band { margin-top: 2.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; background: var(--ink); color: #fff; padding: 1.8rem 2.2rem; }
.cta-band p { margin: 0; font-weight: 300; font-size: 1.25rem; }

/* ---------- Fuß ---------- */
.site-footer { background: var(--ink); color: #c9c9c4; padding-top: 4rem; font-size: .92rem; }
.site-footer a { color: #fff; text-decoration-color: rgba(255,255,255,.35); }
.site-footer a:hover { color: #fff; text-decoration-color: #fff; }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 2.2rem; padding-bottom: 3rem; }
.footer__logo { height: 104px; width: auto; margin-bottom: 1rem; }
.alt-name { font-size: .6em; color: #c9c9c4; }
.footer__brand { font-size: 1.7rem; font-weight: 300; letter-spacing: -.01em; color: #fff; margin-bottom: .6rem; }
.footer__title { font-weight: 500; letter-spacing: .18em; text-transform: uppercase; font-size: .72rem; color: #fff; margin-bottom: 1rem; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.5rem; padding: 1.3rem 0 1.8rem; border-top: 1px solid rgba(255,255,255,.18); font-size: .8rem; letter-spacing: .04em; }
.footer__bottom p { margin: 0; }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(0, 0, 0, .94); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1rem; }
.lb img { max-width: min(96vw, 1400px); max-height: 78vh; width: auto; height: auto; object-fit: contain; }
.lb__cap { color: #e6e6e2; margin: .9rem 0 0; text-align: center; }
.lb button { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; width: 3rem; height: 3rem; border-radius: 50%; font-size: 1.6rem; cursor: pointer; line-height: 1; }
.lb button:hover { background: rgba(255,255,255,.25); }
.lb__close { top: 1rem; right: 1rem; }
.lb__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb__next { right: 1rem; top: 50%; transform: translateY(-50%); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .topbar, .site-header, .hero__controls, .cta-band, .nav-toggle { display: none; justify-self: end; }
}
