/*
  AURELIS IMMOBILIEN — concept demo stylesheet.
  Design language: architectural light. Warm white, graphite, brass. Didone
  display over a neutral grotesk, wide margins, hairline rules, strict grid.
*/

.au {
  --ink: #1c1c1a;
  --ink-2: #55554f;
  --ink-3: #8d8d85;
  --paper: #f6f4f0;
  --paper-2: #ece8e1;
  --white: #fdfcfa;
  --brass: #9a7b4f;
  --rule: rgba(28, 28, 26, .13);
  --rule-soft: rgba(28, 28, 26, .07);
  --display: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shell: 1500px;
  --gut: clamp(20px, 5.5vw, 88px);

  margin: var(--appv-bar-h) 0 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16.5px;
  font-weight: 350;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}
.au *, .au *::before, .au *::after { box-sizing: border-box; }
:where(.au) img { display: block; max-width: 100%; height: auto; }
:where(.au) a { color: inherit; text-decoration: none; }
:where(.au) p { margin: 0 0 1.1em; }
.au :focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.au .skip { position: fixed; left: 12px; top: -80px; z-index: 200; padding: 10px 16px; color: var(--white); background: var(--ink); transition: top .18s; }
.au .skip:focus { top: calc(var(--appv-bar-h) + 10px); }

.au-shell { width: min(100% - var(--gut) * 2, var(--shell)); margin-inline: auto; }

.au h1, .au h2, .au h3 { margin: 0; font-family: var(--display); font-weight: 400; line-height: 1.08; letter-spacing: -.018em; }
.au h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); }
.au h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); }
.au h3 { font-size: clamp(1.05rem, 1.4vw, 1.22rem); font-family: var(--sans); font-weight: 600; letter-spacing: 0; }

.au-eyebrow { margin: 0 0 18px; font-size: .7rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--brass); }
.au-hint { color: var(--ink-3); font-size: .82rem; }

/* ---------------------------------------------------------------- buttons */

.au-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 26px; border: 1px solid var(--ink); border-radius: 2px;
  color: var(--white); background: var(--ink); cursor: pointer;
  font-family: var(--sans); font-size: .84rem; font-weight: 600; letter-spacing: .04em;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.au-btn:hover { background: var(--brass); border-color: var(--brass); }
.au-btn--ghost { color: var(--ink); background: transparent; border-color: var(--rule); }
.au-btn--ghost:hover { color: var(--ink); background: transparent; border-color: var(--brass); }
.au-btn--ghost b { font-weight: 700; color: var(--brass); }
.au-btn--lg { min-height: 56px; padding: 15px 34px; }
.au-btn--block { display: flex; width: 100%; margin-top: 10px; }

.au-link { display: inline-flex; align-items: center; gap: 10px; font-size: .84rem; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--rule); padding-bottom: 4px; transition: .2s; }
.au-link:hover { color: var(--brass); border-color: var(--brass); }
.au-link i { font-style: normal; transition: transform .2s; }
.au-link:hover i { transform: translateX(5px); }
.au-link--lg { margin-top: 46px; }
.au-link--back { margin-bottom: 26px; border: 0; }
.au-link--back:hover i { transform: translateX(-5px); }

/* ----------------------------------------------------------------- header */

.au-head { position: sticky; top: var(--appv-bar-h); z-index: 90; background: rgba(246, 244, 240, .92); border-bottom: 1px solid var(--rule-soft); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.au-head__inner { display: flex; align-items: center; gap: 30px; height: 78px; }
.au-logo { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.au-logo svg { width: 24px; height: 24px; color: var(--brass); }
.au-logo span { display: flex; flex-direction: column; line-height: 1.08; font-family: var(--display); font-size: 1.32rem; letter-spacing: .02em; }
.au-logo i { font-family: var(--sans); font-size: .56rem; font-style: normal; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-3); }
.au-logo__mark { font-family: var(--display); font-size: 1.6rem; }
.au-nav { display: flex; gap: 28px; margin-left: auto; }
.au-nav a { font-size: .86rem; font-weight: 500; color: var(--ink-2); transition: color .2s; }
.au-nav a:hover { color: var(--ink); }
.au-nav a[aria-current] { color: var(--brass); }
.au-head__actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.au-head__actions .au-btn { min-height: 42px; padding: 10px 18px; font-size: .8rem; }

.au-burger { display: none; width: 42px; height: 42px; padding: 0; border: 1px solid var(--rule); border-radius: 2px; background: none; cursor: pointer; }
.au-burger span, .au-burger::before, .au-burger::after { content: ""; display: block; width: 17px; height: 1px; margin: 4px auto; background: var(--ink); transition: transform .2s, opacity .2s; }
.au-burger[aria-expanded="true"] span { opacity: 0; }
.au-burger[aria-expanded="true"]::before { transform: translateY(5px) rotate(45deg); }
.au-burger[aria-expanded="true"]::after { transform: translateY(-5px) rotate(-45deg); }
.au-mobile { display: none; }

/* ------------------------------------------------------------------- hero */

.au-hero { padding: clamp(80px, 10vw, 140px) 0 0; }
.au-hero__inner { max-width: 60ch; padding-bottom: clamp(40px, 5vw, 66px); }
.au-hero h1 { margin-bottom: 26px; }
.au-hero__lead { max-width: 52ch; color: var(--ink-2); font-size: 1.06rem; }
.au-hero__media { overflow: hidden; }
.au-hero__media picture, .au-hero__img { width: 100%; height: clamp(320px, 52vh, 620px); object-fit: cover; }
.au-hero__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; padding: 30px 0; border-bottom: 1px solid var(--rule); }
.au-hero__meta dl { display: flex; flex-wrap: wrap; gap: 14px 56px; margin: 0; }
.au-hero__meta dt { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.au-hero__meta dd { margin: 4px 0 0; font-family: var(--display); font-size: 1.9rem; }

/* --------------------------------------------------------------- sections */

.au-section { padding: clamp(64px, 8vw, 118px) 0; }
.au-section--top { padding-top: clamp(30px, 4vw, 48px); }
.au-section--rule { border-top: 1px solid var(--rule-soft); }
.au-quiet { background: var(--paper-2); }

.au-pagehead { padding: clamp(90px, 11vw, 150px) 0 clamp(40px, 5vw, 68px); }
.au-pagehead--media { padding-bottom: 0; }
.au-pagehead__lead { max-width: 58ch; margin-top: 24px; color: var(--ink-2); }
.au-pagehead__media { margin-top: clamp(34px, 4vw, 56px); }
.au-pagehead__media picture, .au-pagehead__media img { width: 100%; height: clamp(260px, 42vh, 480px); object-fit: cover; }

.au-sectionhead { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: end; margin-bottom: 52px; }
.au-sectionhead__aside { max-width: 44ch; margin: 0; color: var(--ink-2); font-size: .95rem; }

/* ------------------------------------------------------------------ cards */

.au-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 42px); }
.au-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--rule-soft); }
.au-card.is-hidden { display: none; }
.au-card__media { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; }
.au-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .3, 1); }
.au-card:hover .au-card__media img { transform: scale(1.04); }
.au-card__status { position: absolute; top: 14px; left: 14px; padding: 6px 12px; background: var(--white); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); }
.au-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 22px; }
.au-card__place { margin: 0 0 8px; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.au-card h3 { font-family: var(--display); font-size: 1.45rem; font-weight: 400; letter-spacing: -.01em; }
.au-card__lead { margin: 10px 0 18px; color: var(--ink-2); font-size: .92rem; line-height: 1.6; }
.au-keyfacts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 18px; padding: 16px 0; border-block: 1px solid var(--rule-soft); }
.au-keyfacts dt { font-size: .64rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.au-keyfacts dd { margin: 3px 0 0; font-size: .92rem; font-weight: 600; }
.au-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; }
.au-price { font-family: var(--display); font-size: 1.55rem; }
.au-price--lg { display: block; margin: 0 0 20px; font-size: clamp(1.9rem, 3vw, 2.5rem); }

.au-heart { width: 42px; height: 42px; padding: 0; border: 1px solid var(--rule); border-radius: 2px; background: none; cursor: pointer; color: var(--ink-2); transition: .2s; }
.au-heart svg { width: 21px; height: 21px; margin: 0 auto; }
.au-heart:hover { color: var(--brass); border-color: var(--brass); }
.au-heart[aria-pressed="true"] { color: var(--white); background: var(--brass); border-color: var(--brass); }
.au-heart[aria-pressed="true"] svg path { fill: currentColor; }

/* ----------------------------------------------------------------- filter */

.au-filter { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px 22px; align-items: end; padding: 26px 0 30px; border-block: 1px solid var(--rule); }
.au-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.au-field > span { font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.au-field > span b { color: var(--brass); }
.au-field input, .au-field select, .au-field textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--rule); border-radius: 2px; color: var(--ink); background: var(--white); font: inherit; font-size: .93rem; }
.au-field input[type="range"] { padding: 0; border: 0; background: none; accent-color: var(--brass); }
.au-field textarea { resize: vertical; }
.au-field--grow { grid-column: span 2; }
.au-field--wide { grid-column: 1 / -1; }
.au-field--inline { flex-direction: row; align-items: center; gap: 10px; }
.au-field--inline select { width: auto; }
.au-filter .au-btn { align-self: end; }

.au-resultbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0 30px; }
.au-resultbar p { margin: 0; font-size: .84rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.au-resultbar b { font-family: var(--display); font-size: 1.5rem; color: var(--ink); }
.au-empty { padding: 40px 0; color: var(--ink-3); }
.au-empty a { color: var(--brass); text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------------ split */

.au-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(34px, 5vw, 84px); align-items: center; }
.au-split--reverse .au-split__media { order: 2; }
.au-split__copy h2 { margin-bottom: 22px; }
.au-split__copy p { max-width: 52ch; color: var(--ink-2); }

.au-steps { margin: 34px 0 0; padding: 0; list-style: none; }
.au-steps li { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 18px; padding: 20px 0; border-top: 1px solid var(--rule-soft); }
.au-steps span { font-family: var(--display); font-size: 1.5rem; color: var(--brass); }
.au-steps h3 { margin-bottom: 6px; }
.au-steps p { margin: 0; color: var(--ink-2); font-size: .93rem; }

/* ---------------------------------------------------------------- gallery */

.au-gallery { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 4vw, 70px); align-items: start; }
.au-gallery__text p { max-width: 42ch; color: var(--ink-2); }
.au-gallery__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.au-gallery__item { display: block; overflow: hidden; }
.au-gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.au-gallery__item--tall { grid-row: span 2; }
.au-gallery__item--tall img { height: 100%; min-height: 320px; }

/* ----------------------------------------------------------------- detail */

.au-detail__head { padding: clamp(40px, 6vw, 74px) 0 clamp(28px, 3vw, 40px); max-width: 70ch; }
.au-detail__lead { margin-top: 20px; color: var(--ink-2); font-size: 1.08rem; }
.au-detail__main { overflow: hidden; }
.au-detail__main picture, .au-detail__img { width: 100%; height: clamp(300px, 56vh, 660px); object-fit: cover; }
.au-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.au-thumb { padding: 0; border: 1px solid transparent; background: none; cursor: pointer; overflow: hidden; aspect-ratio: 4 / 3; }
.au-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .62; transition: opacity .2s; }
.au-thumb.is-active { border-color: var(--brass); }
.au-thumb.is-active img, .au-thumb:hover img { opacity: 1; }

.au-detail__body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .8fr); gap: clamp(30px, 5vw, 76px); align-items: start; padding: clamp(48px, 6vw, 84px) 0 0; }
.au-detail__text h2 { margin: 0 0 18px; font-size: clamp(1.5rem, 2.2vw, 2rem); }
.au-detail__text h2:not(:first-child) { margin-top: 44px; }
.au-detail__text p { color: var(--ink-2); max-width: 68ch; }
.au-rooms { width: 100%; border-collapse: collapse; }
.au-rooms th, .au-rooms td { padding: 12px 0; text-align: left; border-bottom: 1px solid var(--rule-soft); font-size: .95rem; }
.au-rooms th { font-weight: 500; color: var(--ink-2); }
.au-rooms td { text-align: right; font-weight: 600; }
.au-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 22px; margin: 0; padding: 0; list-style: none; }
.au-features li { position: relative; padding: 9px 0 9px 20px; border-bottom: 1px solid var(--rule-soft); color: var(--ink-2); font-size: .93rem; }
.au-features li::before { content: ""; position: absolute; top: 19px; left: 0; width: 9px; height: 1px; background: var(--brass); }

.au-detail__aside { padding: 28px; background: var(--white); border: 1px solid var(--rule-soft); }
.au-datasheet { margin: 0 0 22px; }
.au-datasheet > div { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--rule-soft); }
.au-datasheet dt { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.au-datasheet dd { margin: 0; font-weight: 600; text-align: right; }
.au-agent { display: flex; align-items: center; gap: 16px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--rule-soft); }
.au-agent__photo { display: block; flex: 0 0 auto; width: 64px; height: 64px; overflow: hidden; border-radius: 50%; }
.au-agent__photo img { width: 100%; height: 100%; object-fit: cover; }
.au-agent div { display: flex; flex-direction: column; }
.au-agent b { font-size: .98rem; }
.au-agent span { color: var(--ink-3); font-size: .82rem; }

/* ------------------------------------------------------------------ forms */

.au-formwrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 5vw, 76px); align-items: start; padding-top: clamp(56px, 7vw, 96px); }
.au-formwrap__intro p { max-width: 40ch; color: var(--ink-2); }
.au-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.au-form h2 { grid-column: 1 / -1; }
.au-form .au-btn { grid-column: 1 / -1; justify-self: start; }
.au-form--card { align-content: start; padding: clamp(26px, 3vw, 38px); background: var(--white); border: 1px solid var(--rule-soft); }
.au-merk-cta { margin-top: clamp(40px, 5vw, 68px); }

/* ---------------------------------------------------------------- contact */

.au-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.au-contact h2 { margin-bottom: 16px; font-size: 1.8rem; }
.au-contact h2:not(:first-child) { margin-top: 40px; }
.au-contact address { font-style: normal; color: var(--ink-2); line-height: 1.9; }

/* -------------------------------------------------------------------- CTA */

.au-cta { padding: clamp(60px, 8vw, 110px) 0; color: var(--paper); background: var(--ink); }
.au-cta .au-eyebrow { color: #cbb289; }
.au-cta__inner { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; align-items: center; gap: 40px; }
.au-cta p { max-width: 48ch; margin: 20px 0 0; color: rgba(246, 244, 240, .76); }
.au-cta .au-btn { color: var(--ink); background: var(--paper); border-color: var(--paper); }
.au-cta .au-btn:hover { color: var(--white); background: var(--brass); border-color: var(--brass); }

/* ----------------------------------------------------------------- footer */

.au-foot { padding: clamp(50px, 6vw, 84px) 0 34px; border-top: 1px solid var(--rule); }
.au-foot__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: clamp(26px, 4vw, 60px); padding-bottom: 36px; }
.au-foot h2 { margin-bottom: 14px; font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.au-foot p { max-width: 34ch; margin-top: 12px; color: var(--ink-2); font-size: .9rem; }
.au-foot__grid > div > a { display: block; padding: 5px 0; color: var(--ink-2); font-size: .92rem; }
.au-foot__grid > div > a:hover { color: var(--brass); }
.au-foot address { font-style: normal; color: var(--ink-2); font-size: .92rem; line-height: 1.9; }
.au-note { padding-top: 26px; border-top: 1px solid var(--rule-soft); color: var(--ink-3); font-size: .78rem; line-height: 1.7; }
.au-note a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------------ motion */

/* The hidden start state is scoped to html.appv-demo, which the demo kit sets
   once its script runs. Without JavaScript nothing is ever hidden. */
@media (prefers-reduced-motion: no-preference) {
  html.appv-demo [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1); }
  html.appv-demo [data-reveal].is-in { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------- responsive */

@media (max-width: 1180px) {
  .au-nav { display: none; }
  .au-burger { display: block; }
  .au-mobile { display: block; max-height: 0; overflow: hidden; background: var(--white); border-top: 1px solid var(--rule-soft); transition: max-height .26s ease; }
  .au-mobile.is-open { max-height: 360px; }
  .au-mobile a { display: block; padding: 14px var(--gut); border-bottom: 1px solid var(--rule-soft); font-size: 1rem; }
  .au-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .au-filter { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .au-detail__body, .au-formwrap { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .au-sectionhead, .au-split, .au-gallery, .au-contact, .au-cta__inner { grid-template-columns: minmax(0, 1fr); }
  .au-split--reverse .au-split__media { order: 0; }
  .au-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .au-hero__meta dl { gap: 14px 32px; }
}

@media (max-width: 680px) {
  .au-head__inner { height: 62px; gap: 12px; }
  .au-head__actions > .au-btn { display: none; }
  .au-grid { grid-template-columns: minmax(0, 1fr); }
  .au-filter, .au-form, .au-features { grid-template-columns: minmax(0, 1fr); }
  .au-field--grow { grid-column: auto; }
  .au-foot__grid { grid-template-columns: minmax(0, 1fr); }
  .au-thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .au-keyfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .au-gallery__grid { grid-template-columns: minmax(0, 1fr); }
  .au-gallery__item--tall { grid-row: auto; }
  .au-gallery__item--tall img { min-height: 0; }
}
