/* ==========================================================================
   JuhlReal – juhlreal.webnova.at
   Ein einziges Stylesheet, mobile first. Keine Frameworks.
   ========================================================================== */

/* --- Fonts (selbst gehostet, kein Google-CDN) ---------------------------- */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/playfair-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/playfair-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/montserrat-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- Tokens -------------------------------------------------------------- */
:root {
  --ink: #0b0b0b;
  --panel: #3a3a3a;
  --panel-soft: #444;
  --cream: #f7f4e8;
  --gold: #c6a75e;
  --gold-lo: #b0914a;
  --gold-hi: #ddc588;
  --white: #fff;
  --on-dark: #f3f1ea;
  --on-dark-mute: rgba(243, 241, 234, .72);
  --on-light: #1d1d1d;
  --on-light-mute: #5c5c5c;
  --line-dark: rgba(255, 255, 255, .14);
  --line-light: rgba(0, 0, 0, .1);

  --serif: 'Playfair Display', 'Iowan Old Style', Georgia, serif;
  --sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 10px;

  --shell: 1300px;
  --gut: clamp(1.25rem, 4vw, 3.25rem);
  --sec-y: clamp(4rem, 9vw, 8rem);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --- Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--on-dark);
  font: 400 clamp(.95rem, .35vw + .87rem, 1.0625rem)/1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--serif); font-weight: 600; line-height: 1.14; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.shell { width: min(100% - (var(--gut) * 2), var(--shell)); margin-inline: auto; }

.skip {
  position: fixed; inset-inline-start: 1rem; top: -6rem; z-index: 200;
  background: var(--gold); color: #14100a; padding: .7rem 1.2rem;
  border-radius: 0 0 var(--r-sm) var(--r-sm); font-weight: 600;
  transition: top .2s var(--ease);
}
.skip:focus { top: 0; }

/* --- Buttons ------------------------------------------------------------- */
.btn {
  --btn-bg: linear-gradient(135deg, var(--gold-hi), var(--gold-lo));
  display: inline-flex; align-items: center; gap: .6em;
  padding: .95em 1.7em;
  background: var(--btn-bg);
  color: #191305;
  border: 0; border-radius: 999px;
  font: 600 .875rem/1 var(--sans);
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s var(--ease);
  box-shadow: 0 6px 22px -12px rgba(198, 167, 94, .9);
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 14px 30px -14px rgba(198, 167, 94, .95); }
.btn:active { transform: translateY(0); }
.btn__arrow { transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--ghost {
  background: transparent; color: var(--on-dark);
  border: 1px solid var(--line-dark); box-shadow: none;
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); filter: none; }

.btn--light { background: var(--ink); color: var(--cream); box-shadow: none; }

/* --- Header -------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.header__inner {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 96px;
}
.brand { flex: none; margin-inline-end: auto; display: flex; }
.brand img { width: clamp(118px, 11vw, 148px); height: auto; }

.mainnav { display: contents; }
.mainnav > ul {
  display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem);
}
.mainnav a {
  text-decoration: none;
  font-size: .9375rem;
  color: var(--on-dark);
  padding: .4rem 0;
  position: relative;
  transition: color .2s var(--ease);
}
.mainnav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--gold);
  transition: right .3s var(--ease);
}
.mainnav a:hover, .mainnav a[aria-current] { color: var(--gold); }
.mainnav a:hover::after, .mainnav a[aria-current]::after { right: 0; }
.mainnav__cta { display: none; }

.header__cta { flex: none; }

.burger {
  display: none;
  width: 46px; height: 46px; flex: none;
  background: transparent; border: 1px solid var(--line-dark); border-radius: 12px;
  padding: 0; cursor: pointer;
}
.burger span {
  display: block; width: 20px; height: 1.5px; margin: 4px auto;
  background: var(--on-dark); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 1000px) {
  .header__inner { min-height: 72px; }
  .header__cta { display: none; }
  .burger { display: block; }
  .mainnav {
    display: block;
    position: fixed; inset: 72px 0 auto;
    background: var(--ink);
    border-bottom: 1px solid var(--line-dark);
    padding: 1rem var(--gut) 2rem;
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform .38s var(--ease), visibility .38s;
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
  }
  .mainnav.is-open { transform: translateY(0); visibility: visible; }
  .mainnav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .mainnav > ul a {
    display: block; padding: .95rem .25rem; font-size: 1.05rem;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
  }
  .mainnav a::after { display: none; }
  .mainnav__cta { display: inline-flex; margin-top: 1.5rem; }
}

/* --- Section-Bausteine --------------------------------------------------- */
.section { padding-block: var(--sec-y); position: relative; }
.section--dark { background: var(--panel); color: var(--on-dark); }
.section--black { background: var(--ink); color: var(--on-dark); }
.section--cream { background: var(--cream); color: var(--on-light); }
.section--cream .sec-head__watermark { color: rgba(0, 0, 0, .045); }

.sec-head { position: relative; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head__label {
  display: inline-block;
  font-size: .75rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.sec-head__watermark {
  position: absolute; left: -.06em; top: -.55em;
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  line-height: 1;
  color: rgba(255, 255, 255, .05);
  text-transform: uppercase;
  pointer-events: none; user-select: none; white-space: nowrap;
  z-index: 0;
}
.sec-head__title {
  position: relative; z-index: 1;
  font-size: clamp(1.9rem, 4vw, 3.05rem);
  max-width: 22ch;
}
.sec-head--center { text-align: center; }
.sec-head--center .sec-head__watermark { left: 50%; transform: translateX(-50%); }
.sec-head--center .sec-head__title { margin-inline: auto; }
.sec-head__lead { position: relative; z-index: 1; margin-top: 1.25rem; max-width: 62ch; color: var(--on-dark-mute); }
.section--cream .sec-head__lead { color: var(--on-light-mute); }

/* --- Hero ---------------------------------------------------------------- */
.hero { background: var(--ink); padding: 0 0 clamp(2rem, 4vw, 3.5rem); }
.hero__stage {
  position: relative;
  border-radius: var(--r-lg);
  border-top-right-radius: clamp(60px, 9vw, 130px);
  overflow: hidden;
  isolation: isolate;
  min-height: min(78vh, 720px);
  display: grid;
}
@media (max-width: 700px) { .hero__stage { min-height: 76vh; border-top-right-radius: 56px; } }

.hero__slide {
  grid-area: 1 / 1;
  position: relative;
  opacity: 0;
  transition: opacity 1.1s var(--ease);
  pointer-events: none;
}
.hero__slide.is-active { opacity: 1; pointer-events: auto; }

.hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 8s linear;
}
.hero__slide.is-active .hero__img { transform: scale(1); }
.hero__slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(9, 9, 9, .78) 0%, rgba(9, 9, 9, .45) 45%, rgba(9, 9, 9, .2) 100%);
}

.hero__inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  min-height: inherit;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 5rem);
  max-width: 46rem;
}
.hero__eyebrow {
  font-size: .75rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 1.1rem;
}
.hero__title {
  font-size: clamp(2.1rem, 6.2vw, 4.25rem);
  font-variant: small-caps;
  letter-spacing: .005em;
  color: #fff;
  text-wrap: balance;
}
.hero__text { margin-top: 1.4rem; max-width: 44ch; color: rgba(255, 255, 255, .82); }
.hero__actions { margin-top: 2.1rem; display: flex; flex-wrap: wrap; gap: .85rem; }

.hero__dots {
  position: absolute; z-index: 3; left: clamp(1.5rem, 5vw, 5rem); bottom: clamp(1.5rem, 4vw, 2.5rem);
  display: flex; gap: .55rem;
}
.hero__dots button {
  width: 30px; height: 4px; padding: 0; border: 0; border-radius: 99px; cursor: pointer;
  background: rgba(255, 255, 255, .3);
  transition: background .3s var(--ease), width .3s var(--ease);
}
.hero__dots button[aria-current="true"] { background: var(--gold); width: 46px; }

.hero__scroll {
  position: absolute; z-index: 3; right: clamp(1.25rem, 3vw, 2.25rem); bottom: clamp(1.5rem, 4vw, 2.5rem);
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255, 255, 255, .7); text-decoration: none;
}
.hero__scroll svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; animation: nudge 2.2s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (max-width: 640px) { .hero__scroll { display: none; } }

/* --- Claim-Band ---------------------------------------------------------- */
.claim {
  background: var(--ink);
  padding-block: clamp(2.5rem, 6vw, 5rem);
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.claim p {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3.1vw, 2.35rem);
  line-height: 1.35;
  text-align: center;
  max-width: 24ch;
  margin-inline: auto;
  color: var(--on-dark);
}

/* --- Über ---------------------------------------------------------------- */
.about__intro { display: grid; gap: 2rem; align-items: end; }
@media (min-width: 900px) { .about__intro { grid-template-columns: minmax(0, 1fr) auto; } }
.about__intro p { max-width: 46ch; color: var(--on-dark-mute); }

.about__images { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); margin-top: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 760px) { .about__images { grid-template-columns: 1fr 1fr; } }
.about__images img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: var(--r-md);
  border-bottom-left-radius: clamp(30px, 5vw, 64px);
}
.about__images img:nth-child(2) { border-bottom-left-radius: var(--r-md); border-top-right-radius: clamp(30px, 5vw, 64px); }

.about__statement {
  display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
  margin-top: clamp(3rem, 7vw, 5.5rem);
}
@media (min-width: 820px) { .about__statement { grid-template-columns: minmax(0, 1fr) 260px; } }
.about__statement h3 {
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  font-weight: 400;
  line-height: 1.28;
}
.about__statement strong { font-weight: 700; }
.about__portrait {
  width: min(260px, 62vw); aspect-ratio: 1; border-radius: 50%;
  object-fit: cover; object-position: top center;
  background: radial-gradient(circle at 50% 30%, #6b5525, #1a1a1a 72%);
  justify-self: center;
}

.pillars {
  display: grid; gap: clamp(2rem, 4vw, 3rem);
  margin-top: clamp(3rem, 7vw, 5.5rem);
}
@media (min-width: 760px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar__icon { width: 58px; height: 58px; object-fit: contain; margin-bottom: 1.4rem; }
.pillar h3 { font-family: var(--sans); font-size: 1.0625rem; font-weight: 700; line-height: 1.4; margin-bottom: .7rem; }
.pillar p { color: var(--on-dark-mute); font-size: .9375rem; }

/* --- Assets-Liste -------------------------------------------------------- */
.assets {
  margin-top: clamp(3rem, 7vw, 5.5rem);
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  padding: clamp(1.75rem, 4vw, 3rem);
}
.assets h3 { font-size: clamp(1.35rem, 2.6vw, 2rem); margin-bottom: 1.75rem; }
.assets ul { display: grid; gap: .85rem 2.5rem; }
@media (min-width: 640px) { .assets ul { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .assets ul { grid-template-columns: repeat(3, 1fr); } }
.assets li {
  position: relative; padding-inline-start: 1.5rem;
  color: var(--on-dark-mute); font-size: .9375rem;
}
.assets li::before {
  content: ''; position: absolute; inset-inline-start: 0; top: .72em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
}

/* --- Immobilien-Karten --------------------------------------------------- */
.props { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
@media (min-width: 700px) { .props { grid-template-columns: 1fr 1fr; } }

.prop-card { height: 100%; }
.prop-card__link {
  display: flex; flex-direction: column; height: 100%;
  text-decoration: none;
  background: var(--white);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  box-shadow: 0 2px 10px -6px rgba(0, 0, 0, .35);
}
.prop-card__link:hover { transform: translateY(-5px); box-shadow: 0 22px 40px -26px rgba(0, 0, 0, .65); }
.prop-card__media { display: block; overflow: hidden; }
.prop-card__media img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  transition: transform .6s var(--ease);
}
.prop-card__link:hover .prop-card__media img { transform: scale(1.05); }
.prop-card__body { display: block; padding: 1.35rem 1.4rem 1.5rem; color: var(--on-light); }
.prop-card__type {
  display: block; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 600; color: var(--gold-lo); margin-bottom: .55rem;
}
.prop-card__title {
  display: block;
  font-family: var(--serif); font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  font-weight: 600; line-height: 1.25;
  color: var(--gold-lo); margin-bottom: .6rem;
}
.prop-card__addr {
  display: flex; align-items: flex-start; gap: .5rem;
  font-size: .84rem; color: var(--on-light-mute); line-height: 1.5;
}
.prop-card__addr svg {
  width: 15px; height: 15px; flex: none; margin-top: .18em;
  fill: none; stroke: var(--gold-lo); stroke-width: 1.6;
}

/* --- Testimonials -------------------------------------------------------- */
.testi__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 980px) { .testi__grid { grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); } }

.testi__track { position: relative; }
.testi__item {
  display: none;
}
.testi__item.is-active { display: block; animation: fadeUp .5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.testi__stars { display: flex; gap: .2rem; margin-bottom: 1.25rem; color: var(--gold); }
.testi__stars svg { width: 17px; height: 17px; fill: currentColor; }
.testi__quote {
  font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.75;
  color: var(--on-dark);
}
.testi__person { display: flex; align-items: center; gap: 1rem; margin-top: 1.75rem; }
.testi__person img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; flex: none; background: #222; }
.testi__person h3 { font-family: var(--serif); font-size: 1.0625rem; }
.testi__person p { font-size: .84rem; color: var(--on-dark-mute); margin: .15rem 0 0; }

.testi__nav { display: flex; gap: .5rem; margin-top: 2.25rem; }
.testi__nav button {
  width: 34px; height: 3px; padding: 0; border: 0; border-radius: 99px; cursor: pointer;
  background: rgba(255, 255, 255, .22);
  transition: background .3s var(--ease);
}
.testi__nav button[aria-current="true"] { background: var(--gold); }

.testi__media { position: relative; }
.testi__media img:first-child {
  width: 82%; border-radius: var(--r-md); aspect-ratio: 4 / 3; object-fit: cover;
}
.testi__media img:last-child {
  position: absolute; right: 0; bottom: -12%;
  width: 58%; border-radius: var(--r-md); aspect-ratio: 4 / 3; object-fit: cover;
  border: 6px solid var(--panel);
}
@media (max-width: 979px) { .testi__media { margin-bottom: 4rem; } }

/* --- CTA-Band ------------------------------------------------------------ */
.cta { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); }
.cta__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
}
.cta::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(8, 8, 8, .9) 5%, rgba(8, 8, 8, .55) 60%, rgba(8, 8, 8, .35) 100%);
}
.cta .sec-head__title { max-width: 18ch; }

/* --- Footer -------------------------------------------------------------- */
.site-footer { background: var(--ink); padding-block: clamp(2.5rem, 5vw, 4rem); }
.footer__claim {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.6vw, 1.9rem);
  line-height: 1.4; text-align: center;
  max-width: 26ch; margin: 0 auto clamp(2rem, 4vw, 3rem);
  color: var(--on-dark);
}
.footer__card {
  background: var(--panel);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 4vw, 3.25rem);
  display: grid; gap: clamp(1.75rem, 4vw, 3rem);
}
@media (min-width: 820px) {
  .footer__card { grid-template-columns: 1.4fr 1.1fr .8fr; }
  .footer__bar { grid-column: 1 / -1; }
}
.footer__col--brand img { width: 150px; margin-bottom: 1.25rem; }
.footer__col--brand p { color: var(--on-dark-mute); font-size: .9rem; max-width: 34ch; }
.footer__col h2 { font-size: 1.2rem; margin-bottom: 1.25rem; }
.footer__contact li { display: flex; gap: .8rem; margin-bottom: 1rem; font-size: .9rem; color: var(--on-dark-mute); line-height: 1.6; }
.footer__contact svg { width: 20px; height: 20px; flex: none; margin-top: .2em; fill: none; stroke: var(--gold); stroke-width: 1.4; }
.footer__contact a { text-decoration: none; transition: color .2s var(--ease); }
.footer__contact a:hover { color: var(--gold); }
.footer__links li { margin-bottom: .55rem; }
.footer__links a {
  text-decoration: none; font-size: .9rem; color: var(--on-dark-mute);
  display: inline-flex; align-items: center; gap: .5rem;
  transition: color .2s var(--ease), gap .2s var(--ease);
}
.footer__links a::before { content: '›'; color: var(--gold); }
.footer__links a:hover { color: var(--gold); gap: .7rem; }
.footer__bar {
  border-top: 1px solid var(--line-dark); padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
  font-size: .8rem; color: var(--on-dark-mute);
}
.footer__bar p { margin: 0; }
.footer__bar a { text-decoration: none; }
.footer__bar a:hover { color: var(--gold); }

/* --- Innenseiten-Kopf ---------------------------------------------------- */
.page-hero {
  background: var(--panel);
  padding-block: clamp(3rem, 8vw, 6rem);
  text-align: center;
}
.page-hero__crumbs {
  display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap;
  font-size: .8rem; color: var(--on-dark-mute); margin-bottom: 1rem;
}
.page-hero__crumbs a { text-decoration: none; }
.page-hero__crumbs a:hover { color: var(--gold); }
.page-hero__crumbs li::after { content: '·'; margin-inline-start: .5rem; color: var(--gold); }
.page-hero__crumbs li:last-child::after { content: none; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
.page-hero__lead { margin: 1.25rem auto 0; max-width: 58ch; color: var(--on-dark-mute); }

/* --- Formulare ----------------------------------------------------------- */
.formsec { position: relative; isolation: isolate; background: var(--panel); overflow: hidden; }
.formsec__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.formsec::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(12, 12, 12, .82), rgba(12, 12, 12, .6));
}
.formsec__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 940px) { .formsec__grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); } }

.formcard {
  background: var(--white); color: var(--on-light);
  border-radius: var(--r-md);
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .8);
}
.formcard h2 { font-family: var(--sans); font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.25; margin-bottom: 1.75rem; }

.field { margin-bottom: .9rem; position: relative; }
.field label {
  display: block; font-size: .78rem; font-weight: 600; letter-spacing: .04em;
  color: #4a4a4a; margin-bottom: .35rem;
}
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .9375rem;
  padding: .85rem 1rem;
  color: var(--on-light);
  background: #fff;
  border: 1px solid #d9d5c8; border-radius: 999px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { border-radius: var(--r-sm); min-height: 122px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23777' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 16px; padding-inline-end: 2.6rem; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(198, 167, 94, .18); outline: none;
}
.field--row { display: grid; gap: .9rem; }
@media (min-width: 520px) { .field--row { grid-template-columns: 1fr 1fr; } }

.check { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: 1rem; font-size: .82rem; line-height: 1.55; color: #4a4a4a; }
.check input { width: 18px; height: 18px; flex: none; margin-top: .18em; accent-color: var(--gold-lo); }

.form__note { font-size: .78rem; color: #6a6a6a; margin-top: 1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__status { margin-top: 1rem; font-size: .88rem; font-weight: 600; }
.form__status[data-state="error"] { color: #b3261e; }
.form__status[data-state="ok"] { color: #1f7a3d; }

.formsec__copy h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 1.25rem; }
.formsec__copy p { color: rgba(255, 255, 255, .84); }
.formsec__copy strong { color: #fff; }
.formsec__hint {
  margin-top: 1.5rem; padding: 1.1rem 1.25rem;
  border-inline-start: 3px solid var(--gold);
  background: rgba(255, 255, 255, .06);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: .9rem;
}

/* --- Kontaktkarten ------------------------------------------------------- */
.contact-cards { display: grid; gap: clamp(1rem, 2.5vw, 1.5rem); }
@media (min-width: 760px) { .contact-cards { grid-template-columns: repeat(3, 1fr); } }
.contact-card {
  display: flex; gap: 1.1rem; align-items: flex-start;
  background: var(--ink); border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--r-md); padding: 1.5rem;
}
.contact-card__icon {
  width: 52px; height: 52px; flex: none;
  border: 1px solid var(--line-dark); border-radius: 50%;
  display: grid; place-items: center;
}
.contact-card__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--on-dark); stroke-width: 1.4; }
.contact-card h2 { font-size: 1.1rem; margin-bottom: .4rem; }
.contact-card p, .contact-card a { font-size: .9rem; color: var(--on-dark-mute); text-decoration: none; line-height: 1.6; }
.contact-card a:hover { color: var(--gold); }

/* --- Immobilien-Detail --------------------------------------------------- */
.detail { display: grid; gap: clamp(2rem, 4vw, 3rem); align-items: start; }
@media (min-width: 980px) { .detail { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }

.gal__stage {
  position: relative; display: grid;
  border-radius: var(--r-md); overflow: hidden; background: #1b1b1b;
}
.gal__slide { grid-area: 1 / 1; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; opacity: 0; transition: opacity .45s var(--ease); }
.gal__slide.is-active { opacity: 1; }
.gal__thumbs { display: flex; gap: .6rem; margin-top: .75rem; overflow-x: auto; padding-bottom: .35rem; scrollbar-width: thin; }
.gal__thumb {
  flex: none; width: 96px; padding: 0; border: 2px solid transparent; border-radius: var(--r-sm);
  overflow: hidden; cursor: pointer; background: none; opacity: .6;
  transition: opacity .25s var(--ease), border-color .25s var(--ease);
}
.gal__thumb img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.gal__thumb.is-active, .gal__thumb:hover { opacity: 1; border-color: var(--gold); }

.detail__aside {
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  padding: clamp(1.4rem, 3vw, 2rem);
  position: sticky; top: 104px;
}
@media (max-width: 979px) { .detail__aside { position: static; } }
.facts { margin: 0 0 1.75rem; }
.facts__row {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .7rem 0; border-bottom: 1px solid var(--line-dark);
  font-size: .875rem;
}
.facts__row:last-child { border-bottom: 0; }
.facts dt { color: var(--on-dark-mute); margin: 0; }
.facts dd { margin: 0; font-weight: 600; text-align: end; }
.detail__actions { display: grid; gap: .7rem; }
.detail__actions .btn { justify-content: center; }

.detail__body h2 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); margin: 2.25rem 0 1rem; }
.detail__body p { color: var(--on-dark-mute); }

/* --- Rechtstexte --------------------------------------------------------- */
.legal { background: var(--panel); }
.legal__inner { max-width: 78ch; }
.legal__inner h2 {
  font-size: clamp(1.3rem, 2.6vw, 1.85rem);
  margin: 2.5rem 0 .9rem;
  scroll-margin-top: 100px;
}
.legal__inner h3 { font-size: 1.1rem; margin: 1.75rem 0 .6rem; }
.legal__inner h2:first-child { margin-top: 0; }
.legal__inner p, .legal__inner li { color: var(--on-dark-mute); }
.legal__inner a { color: var(--gold); overflow-wrap: anywhere; }
.legal__inner ul { margin: 0 0 1.1em; padding-inline-start: 1.25rem; }
.legal__inner li { list-style: disc; margin-bottom: .4rem; }
.legal__inner dl { margin: 0 0 1.1em; }
.legal__inner dt { font-weight: 600; color: var(--on-dark); margin-top: .8rem; }
.legal__inner dd { margin: 0; color: var(--on-dark-mute); }
.legal__toc {
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark);
  border-radius: var(--r-md); padding: 1.5rem; margin-bottom: 2.5rem;
}
.legal__toc h2 { font-size: 1.05rem; margin: 0 0 .9rem; }
.legal__toc li { list-style: none; margin-bottom: .4rem; }
.legal__toc a { font-size: .9rem; }

/* --- 404 ----------------------------------------------------------------- */
.nf { background: var(--panel); text-align: center; padding-block: clamp(5rem, 14vw, 10rem); }
.nf h1 { font-size: clamp(3.5rem, 12vw, 8rem); color: var(--gold); }
.nf p { color: var(--on-dark-mute); margin: 1rem auto 2rem; max-width: 44ch; }

/* --- Scroll-Reveal ------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__img { transform: none; }
}
