/* ============================================================
   Martha Appartements – Design „Editorial Warmth"
   Boutique-Ferienwohnungen am Bodensee
   Fraunces (Display-Serife) + Mulish (Sans), self-hosted
   ============================================================ */

/* ── Schriften ─────────────────────────────────────────────── */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/fraunces-normal.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/fraunces-italic.woff2') format('woff2'); }
@font-face { font-family: 'Mulish'; font-style: normal; font-weight: 200 900; font-display: swap; src: url('/assets/fonts/mulish-normal.woff2') format('woff2'); }
@font-face { font-family: 'Mulish'; font-style: italic; font-weight: 200 900; font-display: swap; src: url('/assets/fonts/mulish-italic.woff2') format('woff2'); }

/* ── Tokens ────────────────────────────────────────────────── */
:root {
    --creme:      #f8f1e6;   /* warmes Elfenbein – Basis */
    --creme-2:    #f0e6d6;   /* tieferer Sandton – Wechselsektionen */
    --papier:     #fdfaf4;   /* hellster Ton – Karten */
    --tinte:      #2c2622;   /* warmes Espresso – Text/Headlines */
    --tinte-soft: #6c6055;   /* gedämpftes Braun – Fließtext */
    --rose:       #b94a3e;   /* Terrakotta-Rosé – Signatur-Akzent */
    --rose-tief:  #983a31;   /* dunkler – Hover */
    --koralle:    #df8068;   /* weiches Korall – zarte Akzente/Eyebrow */
    --koralle-card:#e25c49;  /* Korallrot der Visitenkarte – Footer */
    --salbei:     #8a9a7d;   /* Salbeigrün – Naturton */
    --salbei-tief:#6c7b60;
    --holz:       #c8a87f;   /* warmes Holz/Gold – dezent */
    --linie:      rgba(44,38,34,.14);
    --linie-hell: rgba(255,255,255,.28);

    --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
    --sans:  'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --wrap: 1200px;
    --wrap-eng: 760px;
    --radius: 3px;
    --radius-bild: 6px;
    --ease: cubic-bezier(.22, .61, .36, 1);
    --schatten: 0 24px 60px -28px rgba(44, 30, 22, .42);
}

/* ── Reset / Basis ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--sans);
    font-weight: 400;
    font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
    line-height: 1.72;
    color: var(--tinte-soft);
    background: var(--creme);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ── Typografie ────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; color: var(--tinte); line-height: 1.08; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 1.8rem + 3.6vw, 4.9rem); font-optical-sizing: auto; }
h2 { font-size: clamp(2rem, 1.5rem + 2.2vw, 3.25rem); }
h3 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.85rem); }
h4 { font-size: 1.18rem; }
p { margin: 0 0 1.1em; }
strong { color: var(--tinte); font-weight: 700; }
::selection { background: var(--rose); color: #fff; }

.eyebrow {
    font-family: var(--sans);
    font-weight: 700;
    font-size: .76rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--rose);
    margin: 0 0 1.1rem;
}
.eyebrow.auf-dunkel { color: var(--koralle); }
.lead { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); line-height: 1.62; color: var(--tinte-soft); }
.serif-akz { font-family: var(--serif); font-style: italic; font-weight: 400; }

/* ── Layout ────────────────────────────────────────────────── */
.wrap { width: min(100% - 3rem, var(--wrap)); margin-inline: auto; }
.wrap-eng { width: min(100% - 3rem, var(--wrap-eng)); margin-inline: auto; }
.sektion { padding-block: clamp(4.5rem, 3rem + 7vw, 9rem); }
.sektion-eng { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.bg-creme2 { background: var(--creme-2); }
.bg-tinte { background: var(--tinte); color: rgba(255,255,255,.82); }
.bg-tinte h1, .bg-tinte h2, .bg-tinte h3 { color: #fff; }
.zentriert { text-align: center; }
.kopf { max-width: 60ch; }
.kopf.zentriert { margin-inline: auto; }

/* ── Rose-Signature-Motiv ──────────────────────────────────── */
.rose-motiv { display: block; color: var(--rose); }
.rose-trenner { display: flex; align-items: center; justify-content: center; gap: 1.1rem; color: var(--rose); margin: 0 auto 1.6rem; }
.rose-trenner::before, .rose-trenner::after { content: ""; height: 1px; width: clamp(40px, 8vw, 90px); background: linear-gradient(90deg, transparent, var(--rose)); opacity: .5; }
.rose-trenner::after { background: linear-gradient(90deg, var(--rose), transparent); }
.rose-trenner svg { width: 26px; height: 32px; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: .6em; font-family: var(--sans); font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; padding: 1.05em 1.9em; border: 0; border-radius: var(--radius); background: var(--rose); color: #fff; line-height: 1; transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.btn:hover { background: var(--rose-tief); transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(152, 58, 49, .8); }
.btn svg { width: 1.15em; height: 1.15em; }
.btn-linie { background: transparent; color: var(--tinte); box-shadow: inset 0 0 0 1.5px var(--linie); }
.btn-linie:hover { background: transparent; color: var(--rose); box-shadow: inset 0 0 0 1.5px var(--rose); }
.btn-hell { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px var(--linie-hell); }
.btn-hell:hover { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); }
.btn-reihe { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

.textlink { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--rose); }
.textlink svg { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.textlink:hover svg { transform: translateX(4px); }

/* ── Header ────────────────────────────────────────────────── */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease); padding-block: 1.5rem; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.site-header.fest { background: rgba(226, 92, 73, .96); backdrop-filter: blur(10px); box-shadow: 0 8px 28px -14px rgba(150, 40, 30, .55); padding-block: .85rem; }
/* Feste (gescrollte) Navi im Korall-Look der Visitenkarte – weiße Schrift */
.site-header.fest .marke-script { color: #fff; }
.site-header.fest .marke-sub { color: rgba(255,255,255,.78); }
.site-header.fest .haupt-nav a { color: #fff; }
.site-header.fest .haupt-nav a::after { background: #fff; }
.site-header.fest .sprach-wahl a { color: #fff; opacity: .6; }
.site-header.fest .sprach-wahl a.aktiv, .site-header.fest .sprach-wahl a:hover { color: #fff; opacity: 1; }
.site-header.fest .nav-knopf span { background: #fff; }
/* „Anfragen"-Button hell umrandet, sobald über Hero ODER auf Korall */
.site-header.auf-hero:not(.fest) .nav-cta, .site-header.fest .nav-cta { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.site-header.auf-hero:not(.fest) .nav-cta:hover, .site-header.fest .nav-cta:hover { background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }

.marke { display: inline-flex; flex-direction: column; line-height: 1; color: var(--tinte); }
.marke-logo { height: clamp(66px, 7vw, 94px); width: auto; display: block; }
.site-header.fest .marke-logo { height: clamp(50px, 5vw, 62px); }
.marke-script { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.95rem; color: var(--rose); letter-spacing: .01em; }
.marke-sub { font-family: var(--sans); font-weight: 700; font-size: .58rem; letter-spacing: .42em; text-transform: uppercase; color: var(--tinte-soft); margin-top: .28em; padding-left: .15em; }
.site-header.auf-hero:not(.fest) .marke-script { color: #fff; }
.site-header.auf-hero:not(.fest) .marke-sub { color: rgba(255,255,255,.8); }

.haupt-nav { display: flex; align-items: center; gap: clamp(1.4rem, 2vw, 2.4rem); }
.haupt-nav a { font-weight: 600; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--tinte); position: relative; padding-block: .4rem; transition: color .2s; }
.site-header.auf-hero:not(.fest) .haupt-nav a { color: rgba(255,255,255,.92); }
.haupt-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1.5px; background: var(--rose); transition: width .3s var(--ease); }
.haupt-nav a:hover::after, .haupt-nav a.active::after { width: 100%; }
.site-header.auf-hero:not(.fest) .haupt-nav a::after { background: #fff; }
.nav-cta { margin-left: .4rem; }

.sprach-wahl { display: inline-flex; gap: .55rem; align-items: center; font-size: .72rem; font-weight: 700; letter-spacing: .08em; }
.sprach-wahl a { opacity: .5; text-transform: uppercase; transition: opacity .2s; }
.sprach-wahl a.aktiv, .sprach-wahl a:hover { opacity: 1; color: var(--rose); }
.site-header.auf-hero:not(.fest) .sprach-wahl a { color: #fff; }
.site-header.auf-hero:not(.fest) .sprach-wahl a.aktiv { color: #fff; opacity: 1; }

.nav-knopf { display: none; background: none; border: 0; padding: .5rem; color: currentColor; }
.nav-knopf span { display: block; width: 26px; height: 2px; background: var(--tinte); margin: 5px 0; transition: .3s var(--ease); }
.site-header.auf-hero:not(.fest) .nav-knopf span { background: #fff; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero { position: relative; min-height: 100svh; color: #fff; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; display: flex; align-items: flex-end; opacity: 0; transition: opacity 1.1s var(--ease); pointer-events: none; }
.hero-slide.active { opacity: 1; z-index: 1; pointer-events: auto; }
.hero-bild { position: absolute; inset: 0; z-index: 0; }
.hero-bild img { width: 100%; height: 100%; object-fit: cover; transform: scale(1); }
.hero-slide.active .hero-bild img { animation: heroZoom 8s var(--ease) forwards; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: opacity .25s linear; }
  .hero-slide.active .hero-bild img { animation: none; }
  .hero-bild img { transform: scale(1); }
}
.hero-slide::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(28,20,16,.45) 0%, rgba(28,20,16,.1) 35%, rgba(28,20,16,.6) 100%); }
.hero-inhalt { position: relative; z-index: 2; width: min(100% - 3rem, var(--wrap)); margin-inline: auto; padding-bottom: clamp(4rem, 8vw, 7.5rem); padding-top: 10rem; }
.hero-inhalt .eyebrow { color: #fff; opacity: .92; }
.hero h1 { color: #fff; max-width: 16ch; text-shadow: 0 2px 30px rgba(0,0,0,.3); }
.hero-lead { max-width: 46ch; margin: 1.6rem 0 2.4rem; color: rgba(255,255,255,.94); font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); }
.hero .btn-reihe { gap: 1rem; }
.hero-dots { position: absolute; left: 50%; bottom: 1.7rem; z-index: 4; transform: translateX(-50%); display: flex; gap: .55rem; }
.hero-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.45); cursor: pointer; transition: background .3s var(--ease), width .3s var(--ease); }
.hero-dots button:hover { background: rgba(255,255,255,.75); }
.hero-dots button.active { background: #fff; width: 26px; border-radius: 5px; }
.hero-pfeil { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,.55); background: rgba(28,20,16,.22); color: #fff; cursor: pointer; display: grid; place-items: center; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); transition: background .25s var(--ease), border-color .25s var(--ease); }
.hero-pfeil:hover { background: var(--rose); border-color: transparent; }
.hero-pfeil svg { width: 22px; height: 22px; }
.hero-prev { left: clamp(.8rem, 2.5vw, 2rem); }
.hero-next { right: clamp(.8rem, 2.5vw, 2rem); }
@media (max-width: 640px) { .hero-pfeil { width: 40px; height: 40px; } .hero-pfeil svg { width: 18px; height: 18px; } }
.hero-scroll { position: absolute; right: clamp(1.5rem, 4vw, 3rem); bottom: 1.6rem; z-index: 3; color: rgba(255,255,255,.8); font-size: .68rem; letter-spacing: .25em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.hero-scroll span { width: 1px; height: 38px; background: rgba(255,255,255,.6); animation: scrollPuls 2s var(--ease) infinite; transform-origin: top; }
@keyframes scrollPuls { 0%,100% { transform: scaleY(.4); opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }

/* ── Intro / Geschichte ────────────────────────────────────── */
.intro-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem, 5vw, 6rem); align-items: center; }
.intro-bild { position: relative; }
.intro-bild img { border-radius: var(--radius-bild); aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--schatten); position: relative; z-index: 1; }
.intro-bild .bild-deko { position: absolute; inset: 1.4rem -1.4rem -1.4rem 1.4rem; border: 1px solid var(--rose); border-radius: var(--radius-bild); z-index: 0; opacity: .55; }
.intro-text .signature { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--rose); margin-top: 1.4rem; }

/* ── Appartement-Karten ────────────────────────────────────── */
.app-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(1.5rem, 3vw, 2.6rem); margin-top: clamp(2.5rem, 4vw, 3.5rem); }
.app-karte { background: var(--papier); border-radius: var(--radius-bild); overflow: hidden; box-shadow: 0 18px 50px -34px rgba(44,30,22,.5); transition: transform .4s var(--ease), box-shadow .4s var(--ease); display: flex; flex-direction: column; }
.app-karte:hover { transform: translateY(-6px); box-shadow: var(--schatten); }
.app-karte-bild { aspect-ratio: 3/2; overflow: hidden; }
.app-karte-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.app-karte:hover .app-karte-bild img { transform: scale(1.05); }
.app-karte-text { padding: clamp(1.5rem, 2.5vw, 2.2rem); display: flex; flex-direction: column; flex: 1; }
.app-karte-text h3 { margin-bottom: .4rem; }
.app-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; font-size: .82rem; font-weight: 700; letter-spacing: .04em; color: var(--salbei-tief); margin-bottom: 1rem; }
.app-meta span { display: inline-flex; align-items: center; gap: .4em; }
.app-karte-text p { font-size: .98rem; }
.app-karte-text .textlink { margin-top: auto; padding-top: 1rem; }

/* ── Wohlfühl-Highlights ───────────────────────────────────── */
.hl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 3.5vw, 3.4rem) clamp(1.6rem, 3vw, 2.8rem); margin-top: clamp(2.5rem, 4vw, 3.5rem); }
@media (max-width: 700px) { .hl-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .hl-grid { grid-template-columns: 1fr; } }
.hl { text-align: center; }
.hl-icon { width: 52px; height: 52px; margin: 0 auto 1.1rem; color: var(--rose); display: grid; place-items: center; }
.hl-icon svg { width: 100%; height: 100%; }
.hl h4 { margin-bottom: .4rem; font-family: var(--sans); font-weight: 800; letter-spacing: .02em; font-size: 1.02rem; }
.hl p { font-size: .92rem; margin: 0; }

/* ── Galerie-Teaser ────────────────────────────────────────── */
.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 1rem; margin-top: clamp(2rem, 3vw, 3rem); }
.gal-grid figure { overflow: hidden; border-radius: var(--radius-bild); aspect-ratio: 1; }
.gal-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gal-grid figure:hover img { transform: scale(1.06); }
.gal-gross { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

/* ── Lage / Umgebung ───────────────────────────────────────── */
.lage-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2.5rem, 5vw, 6rem); align-items: center; }
.lage-bild img { border-radius: var(--radius-bild); aspect-ratio: 5/4; object-fit: cover; box-shadow: var(--schatten); }
.lage-liste { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .9rem; }
.lage-liste li { display: flex; gap: .8rem; align-items: flex-start; }
.lage-liste svg { flex: 0 0 auto; width: 20px; height: 20px; color: var(--salbei-tief); margin-top: .3rem; }
.lage-liste strong { display: block; }

/* ── CTA-Band ──────────────────────────────────────────────── */
.cta-band { position: relative; text-align: center; color: #fff; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(28,20,16,.62); }
.cta-band .hero-bild img { animation: none; transform: none; }
.cta-band .inner { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; max-width: 18ch; margin-inline: auto; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 50ch; margin: 1.2rem auto 2rem; }

/* ── Footer (Visitenkarten-Look: Korallrot + Rosen-Wasserzeichen) ── */
.site-footer { position: relative; overflow: hidden; background: var(--koralle-card); color: rgba(255,255,255,.9); padding-block: clamp(3.5rem, 5vw, 5.5rem) 2.5rem; font-size: .92rem; }
.footer-rose { position: absolute; left: clamp(-90px, -5vw, -30px); top: 50%; transform: translateY(-50%) rotate(-8deg); width: min(40%, 340px); pointer-events: none; z-index: 0; }
.footer-rose img { width: 100%; height: auto; display: block; opacity: .14; }
.site-footer .wrap { position: relative; z-index: 1; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(2rem, 4vw, 4rem); padding-bottom: 2.8rem; border-bottom: 1px solid rgba(255,255,255,.24); }
.footer-marke .marke-logo { height: 112px; margin-bottom: .9rem; }
.footer-marke .marke-script { color: #fff; font-size: 2.5rem; }
.footer-marke .marke-sub { color: rgba(255,255,255,.74); }
.footer-marke p { margin-top: 1.1rem; max-width: 34ch; color: rgba(255,255,255,.88); }
.site-footer h4 { color: #fff; font-family: var(--sans); font-weight: 800; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer a { color: rgba(255,255,255,.9); transition: opacity .2s; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-nav { display: grid; gap: .6rem; }
.footer-kontakt p { margin: 0 0 .8rem; }
.footer-base { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; justify-content: space-between; align-items: center; padding-top: 1.8rem; font-size: .82rem; color: rgba(255,255,255,.78); }
.footer-credit { display: block; margin-top: .3rem; font-size: .74rem; color: rgba(255,255,255,.55); }

/* ── Scroll-Reveal ─────────────────────────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].sichtbar { opacity: 1; transform: none; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
    .intro-grid, .lage-grid { grid-template-columns: 1fr; }
    .intro-bild { order: -1; max-width: 460px; }
    .lage-bild { max-width: 520px; }
}
@media (max-width: 820px) {
    .nav-knopf { display: block; }
    .haupt-nav { position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px); background: var(--creme); flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.5rem; padding: 2rem 2.4rem; overflow-y: auto; transform: translateX(100%); transition: transform .4s var(--ease); box-shadow: -20px 0 60px rgba(44,30,22,.25); z-index: 60; }
    .haupt-nav.offen { transform: translateX(0); }
    .nav-overlay { position: fixed; inset: 0; background: rgba(44,30,22,.45); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; z-index: 55; }
    .nav-overlay.sichtbar { opacity: 1; visibility: visible; }
    .haupt-nav a, .site-header.auf-hero:not(.fest) .haupt-nav a { color: var(--tinte); font-size: 1.05rem; }
    .haupt-nav a::after, .site-header.auf-hero:not(.fest) .haupt-nav a::after { background: var(--rose); }
    .nav-schliessen { position: absolute; top: 1.6rem; right: 1.6rem; background: none; border: 0; font-size: 1.9rem; color: var(--tinte); line-height: 1; }
    /* Anfragen-Button im Drawer prominent (gefüllt statt Umriss) */
    .site-header .haupt-nav .nav-cta,
    .site-header.auf-hero:not(.fest) .haupt-nav .nav-cta,
    .site-header.fest .haupt-nav .nav-cta { margin: .6rem 0 0; align-self: stretch; text-align: center; background: var(--rose); color: #fff; box-shadow: none; }
    .site-header .haupt-nav .nav-cta:hover,
    .site-header.auf-hero:not(.fest) .haupt-nav .nav-cta:hover,
    .site-header.fest .haupt-nav .nav-cta:hover { background: var(--rose-tief); color: #fff; box-shadow: none; }
    /* „Entdecken"-Scrollhinweis überlappt mobil den Hero-Button → ausblenden */
    .hero-scroll { display: none; }
    .sprach-wahl { margin-top: .5rem; }
    .site-header.auf-hero:not(.fest) .sprach-wahl a { color: var(--tinte); }
    .site-header.auf-hero:not(.fest) .sprach-wahl a.aktiv { color: var(--rose); }
}
@media (min-width: 821px) { .nav-schliessen { display: none; } }
@media (max-width: 640px) {
    .gal-grid { grid-template-columns: 1fr 1fr; }
    .gal-gross { grid-column: span 2; grid-row: span 1; aspect-ratio: 1; }
    .footer-top { grid-template-columns: 1fr; }
    .btn-reihe .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    .hero-bild img { transform: none; }
    [data-reveal] { opacity: 1; transform: none; }
}

/* ── Anfrage-Formular ──────────────────────────────────────── */
.anfrage-form { text-align: left; margin-top: 2.4rem; background: var(--papier); border-radius: var(--radius-bild); padding: clamp(1.6rem, 3vw, 2.6rem); box-shadow: var(--schatten); }
.form-felder { display: grid; grid-template-columns: 1fr 1fr; gap: .2rem 1.2rem; }
.feld { display: block; margin-bottom: 1.1rem; }
.feld > span { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: var(--tinte); margin-bottom: .4rem; }
.feld input, .feld textarea { width: 100%; font: inherit; font-size: .98rem; color: var(--tinte); background: var(--creme); border: 1px solid var(--linie); border-radius: var(--radius); padding: .8rem .9rem; transition: border-color .2s, box-shadow .2s; }
.feld textarea { resize: vertical; }
.feld input:focus, .feld textarea:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px rgba(185,74,62,.14); }
.check { display: flex; gap: .65rem; align-items: flex-start; font-size: .88rem; color: var(--tinte-soft); margin: .2rem 0 1.3rem; }
.check input { margin-top: .3rem; accent-color: var(--rose); flex: 0 0 auto; }
.check a { color: var(--rose); text-decoration: underline; }
.anfrage-form .btn { width: 100%; justify-content: center; }
.form-error { background: #f8e3df; color: #8a2f22; border-radius: var(--radius); padding: .8rem 1rem; margin-bottom: 1.1rem; font-size: .9rem; }
.form-success { background: var(--papier); border-radius: var(--radius-bild); padding: clamp(2rem,4vw,3rem); text-align: center; box-shadow: var(--schatten); margin-top: 2.4rem; color: var(--tinte-soft); }
.form-success h3 { color: var(--rose); margin-bottom: .6rem; }
@media (max-width: 540px) { .form-felder { grid-template-columns: 1fr; } }

/* ── Seitenkopf (Unterseiten) ──────────────────────────────── */
.seitenkopf { position: relative; padding-top: clamp(8.5rem, 16vh, 12rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); color: #fff; text-align: center; overflow: hidden; background: var(--tinte); }
.seitenkopf .sk-bild { position: absolute; inset: 0; z-index: 0; }
.seitenkopf .sk-bild img { width: 100%; height: 100%; object-fit: cover; }
.seitenkopf::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(28,20,16,.48), rgba(28,20,16,.64)); }
.seitenkopf > .wrap { position: relative; z-index: 2; }
.seitenkopf h1 { color: #fff; }
.seitenkopf .eyebrow { color: #fff; opacity: .92; }
.seitenkopf .sk-lead { max-width: 56ch; margin: 1.2rem auto 0; color: rgba(255,255,255,.92); }
.seitenkopf .app-meta { justify-content: center; color: rgba(255,255,255,.92); margin: 1.3rem 0 0; }
.seitenkopf .app-meta svg { color: var(--koralle); }

/* ── Appartement-Detail ────────────────────────────────────── */
.detail-galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.detail-galerie .lightbox-thumb { border-radius: var(--radius-bild); overflow: hidden; display: block; }
.detail-galerie img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.detail-grid { display: grid; grid-template-columns: 1.55fr .9fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; margin-top: clamp(2.5rem, 4vw, 3.5rem); }
.detail-text .rich p { margin-bottom: 1.1em; }
.detail-info { position: sticky; top: 6rem; background: var(--papier); border-radius: var(--radius-bild); padding: clamp(1.6rem, 2.5vw, 2.2rem); box-shadow: var(--schatten); }
.detail-info h3 { font-size: 1.35rem; margin-bottom: 1.1rem; }
.ausstattung-liste { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: .75rem; }
.ausstattung-liste li { display: flex; align-items: center; gap: .7rem; font-size: .95rem; color: var(--tinte); }

/* Preis auf den Appartement-Karten */
.app-karte-text .app-preis { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--rose); margin: 0 0 .2rem; display: flex; align-items: baseline; gap: .4em; flex-wrap: wrap; }
.app-preis .ab { font-family: var(--sans); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--salbei-tief); }
.app-preis small { font-family: var(--sans); font-size: .8rem; font-weight: 600; color: var(--tinte-soft); }

/* Preisliste in der Detail-Infobox */
.detail-preise { margin-bottom: 1.5rem; padding-bottom: 1.3rem; border-bottom: 1px solid var(--linie); }
.detail-preise h3 { margin-bottom: .6rem; }
.preis-liste { list-style: none; margin: 0; padding: 0; }
.preis-liste li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .32rem 0; }
.preis-liste .p-bez { color: var(--tinte); }
.preis-liste .p-bez small { display: block; font-size: .78rem; color: var(--salbei-tief); }
.preis-liste .p-wert { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; color: var(--rose); white-space: nowrap; }
.ausstattung-liste svg { width: 20px; height: 20px; color: var(--rose); flex: 0 0 auto; }
.detail-info .btn { width: 100%; justify-content: center; }

/* ── Lightbox ──────────────────────────────────────────────── */
.detail-galerie .grundriss-bild { object-fit: contain; background: var(--creme); }
.lightbox-thumb { position: relative; display: block; overflow: hidden; cursor: zoom-in; }
.lightbox-thumb::after { content: ""; position: absolute; inset: 0; background: rgba(44,30,22,0); transition: background .3s; pointer-events: none; }
.lightbox-thumb:hover::after { background: rgba(44,30,22,.14); }
html.lightbox-offen { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(28,20,16,.94); display: flex; align-items: center; justify-content: center; padding: 2rem; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 92vw; display: flex; flex-direction: column; align-items: center; gap: .8rem; }
.lightbox img { max-width: 92vw; max-height: 80vh; object-fit: contain; border-radius: var(--radius-bild); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox figcaption { color: rgba(255,255,255,.8); font-size: .85rem; letter-spacing: .03em; text-align: center; }
.lightbox-zaehler { color: rgba(255,255,255,.55); }
.lightbox-schliessen { position: absolute; top: 1.1rem; right: 1.4rem; background: none; border: 0; color: #fff; font-size: 2.4rem; line-height: 1; opacity: .8; }
.lightbox-schliessen:hover { opacity: 1; }
.lightbox-pfeil { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); border: 0; color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; transition: background .2s; }
.lightbox-pfeil:hover { background: rgba(255,255,255,.26); }
.lightbox-zurueck { left: 1.2rem; }
.lightbox-weiter { right: 1.2rem; }
@media (max-width: 820px) { .detail-grid { grid-template-columns: 1fr; } .detail-info { position: static; } }
@media (max-width: 640px) { .detail-galerie { grid-template-columns: 1fr 1fr; } .lightbox-pfeil { width: 44px; height: 44px; } }

/* ── Galerie (Masonry) ─────────────────────────────────────── */
.galerie { list-style: none; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0; } /* ul-Einbettung via galerie-album-Snippet: Bullets/Einzug entfernen + Abstand zur Überschrift */
.galerie-masonry { columns: 3 300px; column-gap: 1rem; }
.galerie-masonry .lightbox-thumb { break-inside: avoid; margin-bottom: 1rem; border-radius: var(--radius-bild); overflow: hidden; display: block; }
.galerie-masonry img { width: 100%; display: block; border-radius: var(--radius-bild); }
.galerie-masonry li { break-inside: avoid; margin-bottom: 1rem; }            /* Snippet-Markup: das <li> ist das Spalten-Item */
.galerie-masonry li .lightbox-thumb { margin-bottom: 0; }                    /* Abstand trägt das li – kein Doppelspalt */
@media (max-width: 560px) { .galerie-masonry { columns: 2 140px; } }

/* ── Über uns / Inhalts-Seite ──────────────────────────────── */
.inhalt-text { max-width: 68ch; margin-inline: auto; }

/* ── Richtext (Modul-Inhalte, Rechtstexte) ─────────────────── */
.rich h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.4rem, 1.2rem + .6vw, 1.8rem); color: var(--tinte); margin: 2.2rem 0 .8rem; line-height: 1.2; }
.rich h2:first-child { margin-top: 0; }
.rich h3 { font-size: 1.2rem; color: var(--tinte); margin: 1.6rem 0 .6rem; }
.rich p { margin: 0 0 1.1em; }
.rich ul, .rich ol { margin: 0 0 1.2em; padding-left: 1.35em; }
.rich li { margin-bottom: .4em; }
.rich a { color: var(--rose); text-decoration: underline; text-underline-offset: 2px; }
.rich strong { color: var(--tinte); }

/* Schlichter Seitenkopf (Rechtstexte – ohne Foto, kompakter) */
.seitenkopf-schlicht { padding-top: clamp(7rem, 12vh, 9.5rem); padding-bottom: clamp(2.5rem, 4vw, 3.5rem); }

/* ── Lage-Karten (Umgebungs-Highlights) ────────────────────── */
.umgebung-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(1.4rem, 3vw, 2.4rem); margin-top: clamp(2rem, 4vw, 3rem); }
.umgebung-karte { background: var(--papier); border-radius: var(--radius-bild); padding: 1.8rem; box-shadow: 0 14px 40px -30px rgba(44,30,22,.5); }
.umgebung-karte .hl-icon { margin: 0 0 1rem; }
.umgebung-karte h4 { margin-bottom: .4rem; font-family: var(--serif); font-weight: 500; font-size: 1.3rem; }
.umgebung-karte p { font-size: .94rem; margin: 0; }

/* ── OSM-Karte (Einwilligung) ──────────────────────────────── */
.osm-karte { position: relative; aspect-ratio: 16/11; border-radius: var(--radius-bild); overflow: hidden; background: var(--creme-2); display: grid; place-items: center; box-shadow: var(--schatten); }
.osm-karte iframe { width: 100%; height: 100%; border: 0; display: block; }
.osm-platzhalter { text-align: center; padding: 2rem; max-width: 42ch; }
.osm-platzhalter p { color: var(--tinte-soft); font-size: .9rem; margin-bottom: .8rem; }
.osm-fineprint { font-size: .78rem; }
.osm-fineprint a { color: var(--rose); text-decoration: underline; }
.osm-platzhalter .btn { margin-top: .4rem; }

/* ── Kontakt ───────────────────────────────────────────────── */
.kontakt-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
.kontakt-info .kontakt-zeile { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.6rem; }
.kontakt-info .kontakt-zeile svg { width: 22px; height: 22px; color: var(--rose); flex: 0 0 auto; margin-top: .2rem; }
.kontakt-info .kontakt-zeile strong { display: block; color: var(--tinte); margin-bottom: .2rem; }
.kontakt-info a { color: var(--rose); }
.kontakt-info a:hover { text-decoration: underline; }
.kontakt-karte { margin-top: 2rem; }
@media (max-width: 820px) { .kontakt-grid { grid-template-columns: 1fr; } }
