/* verweilorte.de – Gestaltung angelehnt an averes.de
   Schriften lokal (OFL): Bitter (Ersatz für Kievit Slab), Poppins */
@font-face { font-family: "Bitter"; font-style: italic; font-weight: 900; font-display: swap; src: url("fonts/bitter-latin-900-italic.woff2") format("woff2"); }
@font-face { font-family: "Bitter"; font-style: italic; font-weight: 700; font-display: swap; src: url("fonts/bitter-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("fonts/poppins-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/poppins-latin-500-normal.woff2") format("woff2"); }

:root {
  --ink: #494c52;        /* AVERES Anthrazit */
  --muted: #73767c;
  --bg: #ffffff;
  --soft: #f7f7f7;
  --line: #e3e3e1;
  --olive: #7f9359;      /* AVERES Grün */
  --olive-dark: #6c7e4a;
  --khaki: #9e9c85;      /* AVERES Khaki */
  --teal: #8bb3b7;
  --slab: "Bitter", "Rockwell", "Roboto Slab", Georgia, serif;
  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --max: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 300 16.5px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--olive-dark); }
strong, b { font-weight: 500; }
h1, h2, h3 { font-family: var(--slab); font-style: italic; color: inherit; margin: 0 0 .45em; }
h1 { font-weight: 900; font-size: clamp(2.6rem, 7vw, 5.4rem); line-height: .98; letter-spacing: -.045em; }
h2 { font-weight: 900; font-size: clamp(2.2rem, 5.4vw, 4.4rem); line-height: 1; letter-spacing: -.045em; }
h3 { font-weight: 700; font-size: 1.25rem; line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; font-weight: 500; color: var(--muted); margin-bottom: 1.1em; }
.muted { color: var(--muted); }

/* Logo: Wortmarke in Pillenform wie bei AVERES */
.logo { display: inline-block; font-family: var(--slab); font-style: italic; font-weight: 900; font-size: 1.15rem; letter-spacing: -.02em; line-height: 1; color: var(--ink); text-decoration: none; border: 2px solid currentColor; border-radius: 999px; padding: .38em 1.05em .42em; }
.logo span { color: inherit; }

/* Kopfzeile: transparent über dem Bild, beim Scrollen weiß */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; color: #fff; transition: background .25s, color .25s, box-shadow .25s; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.site-header .logo { color: inherit; }
.site-header.solid, body.no-hero .site-header { background: #fff; color: var(--ink); box-shadow: 0 1px 0 var(--line); }
body.no-hero { padding-top: 76px; }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a { color: inherit; text-decoration: none; font-size: .78rem; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }
.nav a:hover { opacity: .75; }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; background: var(--olive); color: #fff; border: 0; border-radius: 999px; padding: .95em 1.9em; font: italic 700 .95rem var(--slab); text-transform: uppercase; letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--olive-dark); transform: translateY(-1px); }
.btn.light { background: #fff; color: var(--ink); }
.btn.light:hover { background: var(--soft); }
.btn.khaki { background: rgba(158, 156, 133, .9); }
.nav .btn { padding: .8em 1.5em; font-size: .82rem; color: #fff; opacity: 1; }

/* Hero */
.hero { position: relative; color: #fff; min-height: 92vh; display: flex; align-items: flex-end; overflow: hidden; background: #2d2f33; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(25,27,30,.35) 0%, rgba(25,27,30,.42) 55%, rgba(25,27,30,.7) 100%); }
.hero.strong::after { background: linear-gradient(90deg, rgba(25,27,30,.72) 0%, rgba(25,27,30,.45) 55%, rgba(25,27,30,.25) 100%), linear-gradient(180deg, transparent 50%, rgba(25,27,30,.5) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-top: 140px; padding-bottom: 64px; width: 100%; }
.hero .eyebrow { color: rgba(255,255,255,.85); }
.hero h1 { max-width: 15ch; }
.hero p.lead { font-size: 1.12rem; max-width: 600px; }
.hero .facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 18px 0 30px; padding: 0; list-style: none; font-size: .9rem; }
.hero .facts li::before { content: "—  "; opacity: .7; }

/* Schnellsuche */
.quick { background: #fff; color: var(--ink); padding: 18px; display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 12px; align-items: end; max-width: 1020px; }
.quick label { display: block; font-size: .7rem; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.quick input, .quick select { width: 100%; font: 300 .98rem var(--sans); padding: .7em .75em; border: 1px solid var(--line); border-radius: 0; background: var(--soft); color: var(--ink); }
.quick.no-unit { grid-template-columns: repeat(3, 1fr) auto; }
@media (max-width: 860px) { .quick, .quick.no-unit { grid-template-columns: 1fr 1fr; } .quick .btn { grid-column: 1 / -1; } .quick > div:first-child:has(select[name=unit]) { grid-column: 1 / -1; } }

/* Abschnitte */
section { padding: 110px 0; }
section.tight { padding: 70px 0; }
.section-head { max-width: 860px; margin-bottom: 56px; }
.section-head p { max-width: 640px; }
.alt { background: var(--soft); }
hr.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* Standorte (Startseite) – wie die Projektbilder bei AVERES */
.places { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .places { grid-template-columns: 1fr; } }
.place { position: relative; overflow: hidden; min-height: 560px; display: flex; align-items: flex-end; color: #fff; text-decoration: none; }
.place img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.place:hover img { transform: scale(1.04); }
.place::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(25,27,30,.78)); }
.place .txt { position: relative; z-index: 1; padding: 28px; }
.place h3 { font-size: 1.7rem; font-weight: 900; letter-spacing: -.03em; margin-bottom: .25em; }
.place .txt p { margin: 0 0 18px; font-size: .92rem; opacity: .92; }
.place .tag { display: block; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; opacity: .85; margin-bottom: 8px; }

/* Vorteile: 4 Spalten mit feinen Trennlinien */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.perk { padding: 34px 28px 10px 0; }
.perk + .perk { padding-left: 28px; border-left: 1px solid var(--line); }
.perk .ico { display: none; }
.perk h3 { margin-bottom: .6em; }
.perk p { margin: 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 900px) { .perks { grid-template-columns: 1fr 1fr; } .perk:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 520px) { .perks { grid-template-columns: 1fr; } .perk, .perk + .perk { border-left: 0; padding-left: 0; border-bottom: 1px solid var(--line); padding-bottom: 26px; } }

/* Einheiten */
.units { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 28px; }
.units.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .units { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .units, .units.two { grid-template-columns: 1fr; } }
.unit { display: flex; flex-direction: column; }
.unit .pics { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; aspect-ratio: 4 / 3; }
.unit .pics img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.unit .pics img:first-child { grid-row: 1 / 3; }
.unit .body { padding: 22px 0 0; display: flex; flex-direction: column; flex: 1; }
.unit .floor { font-size: .7rem; color: var(--muted); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .5em; }
.unit h3 { font-size: 1.6rem; font-weight: 900; letter-spacing: -.03em; }
.unit ul { list-style: none; padding: 0; margin: 4px 0 22px; display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--muted); font-size: .88rem; }
.unit .btn { margin-top: auto; align-self: flex-start; }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; cursor: zoom-in; }
.gallery img.wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; height: 100%; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } }

/* Zwei Spalten */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.checks { list-style: none; padding: 0; margin: 0 0 1.6em; }
.checks li { padding: .55em 0 .55em 1.8em; position: relative; border-bottom: 1px solid var(--line); }
.checks li::before { content: "—"; position: absolute; left: 0; color: var(--olive); font-weight: 500; }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0 0 30px; border-top: 1px solid var(--line); }
.specs div { padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); }
.specs b { display: block; font: italic 900 1.7rem/1.1 var(--slab); letter-spacing: -.03em; }
.specs span { font-size: .82rem; color: var(--muted); }
@media (max-width: 520px) { .specs { grid-template-columns: 1fr 1fr; } }

/* Buchung: grüner Block wie das Kontaktformular bei AVERES */
#buchen { background: var(--olive); color: #fff; }
#buchen .eyebrow, #buchen .section-head p { color: rgba(255,255,255,.88); }
.booking { background: #fff; color: var(--ink); padding: 26px; }
.booking .tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.booking .tabs button { font: italic 700 .9rem var(--slab); border: 1.5px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: .55em 1.15em; cursor: pointer; }
.booking .tabs button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.booking iframe { width: 100%; min-height: 720px; border: 0; display: block; }
.booking .note { font-size: .85rem; color: var(--muted); margin: 12px 0 0; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; font: italic 700 1.15rem var(--slab); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-style: normal; color: var(--olive); }
details[open] summary::after { content: "–"; }
details p { margin: .8em 0 0; color: var(--muted); }

/* Fußzeile in Khaki mit Slogan */
.site-footer { background: var(--khaki); color: #fff; padding: 64px 0 28px; font-size: .9rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.35); margin-bottom: 36px; }
.site-footer .logo { color: #fff; font-size: 1.5rem; }
.site-footer .slogan { font: italic 900 clamp(2rem, 4.5vw, 3.4rem)/1 var(--slab); letter-spacing: -.045em; margin: 0; }
.site-footer .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer strong { display: block; font: italic 700 1.05rem var(--slab); margin-bottom: .7em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .35em; }
.site-footer .legal { margin-top: 40px; font-size: .75rem; opacity: .85; }

/* Mobile Buchungsleiste */
.sticky-book { display: none; }
@media (max-width: 760px) {
  .sticky-book { display: flex; position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 60; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
  body.has-sticky { padding-bottom: 80px; }
}

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(25, 27, 30, .94); display: none; align-items: center; justify-content: center; z-index: 100; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 90vh; max-width: 92vw; }
.lightbox button { position: absolute; top: 16px; right: 16px; background: #fff; border: 0; border-radius: 999px; width: 44px; height: 44px; font-size: 1.4rem; cursor: pointer; }

/* Rechtstexte */
.legal-page { max-width: 780px; padding: 70px 24px 100px; margin: 0 auto; }
.legal-page h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.legal-page h2 { font-size: 1.6rem; margin-top: 1.8em; letter-spacing: -.03em; }
.todo { background: #fff4d6; border: 1px dashed #c99a2e; padding: 2px 6px; }
