/* ==========================================================================
   Ainsley Homes – Design System
   Tokens, Basis-Typografie und Komponenten. Ohne Build-Tools nutzbar:
   <link rel="stylesheet" href="/assets/css/ainsley.css">
   Übersicht und Beispiele: /brand/components.html
   ========================================================================== */

/* ---------- Schriften (selbst gehostet, SIL OFL) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Kumbh Sans";
  src: url("/assets/fonts/kumbh-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Markenfarben */
  --ah-navy-950: #04121f; /* Seitenhintergrund im Dark Mode */
  --ah-navy-900: #071d33; /* Navy – Primärfarbe */
  --ah-navy-800: #0e2a45;
  --ah-navy-700: #173a5c; /* Hover */
  --ah-navy-500: #4a6582; /* Sekundär-Navy */
  --ah-gold-500: #cc9933; /* Gold – Akzent */
  --ah-gold-600: #806016; /* Gold für Text auf hellem Grund */
  --ah-gold-100: #f4e9d2;

  /* Neutrale Töne */
  --ah-cream: #f5f2ec;
  --ah-sand: #eae4d8;
  --ah-gray-50: #f7f7f7;
  --ah-white: #ffffff;
  --ah-ink: #1f2a37;
  --ah-muted: #5a6470;
  --ah-border: #ddd7cb;
  --ah-error: #c8473d;

  /* Semantische Rollen (werden im Dark Mode umgeschaltet) */
  --bg: var(--ah-cream);
  --surface: var(--ah-white);
  --surface-alt: var(--ah-sand);
  --text: var(--ah-ink);
  --heading: var(--ah-navy-900);
  --muted: var(--ah-muted);
  --line: var(--ah-border);
  --accent: var(--ah-gold-500);
  --accent-text: var(--ah-gold-600);
  --btn-primary-bg: var(--ah-navy-900);
  --btn-primary-fg: var(--ah-cream);
  --btn-primary-hover: var(--ah-navy-700);

  /* Typografie */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Kumbh Sans", "Helvetica Neue", Arial, sans-serif;
  --fs-display: clamp(2.25rem, 1.2rem + 3.6vw, 3.75rem); /* 36 → 60 */
  --fs-h1: clamp(2rem, 1.3rem + 2.4vw, 3rem); /* 32 → 48 */
  --fs-h2: clamp(1.625rem, 1.2rem + 1.4vw, 2.25rem); /* 26 → 36 */
  --fs-h3: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); /* 20 → 24 */
  --fs-lead: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); /* 17 → 20 */
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.8125rem;
  --tracking-caps: 0.16em;

  /* Abstände, Radien, Schatten */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --section-y: clamp(4rem, 3rem + 4vw, 7rem);
  --container: 1340px;
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --radius-sm: 10px;
  --radius-md: 20px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-card: 3px 3px 12px rgba(0, 0, 0, 0.08);
  --shadow-lift: 0 18px 40px -18px rgba(7, 29, 51, 0.35);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: var(--ah-navy-950);
    --surface: var(--ah-navy-900);
    --surface-alt: var(--ah-navy-800);
    --text: #e6e4e0;
    --heading: #f5f2ec;
    --muted: #a3aebb;
    --line: rgba(245, 242, 236, 0.14);
    --accent-text: var(--ah-gold-500);
    --btn-primary-bg: var(--ah-cream);
    --btn-primary-fg: var(--ah-navy-900);
    --btn-primary-hover: var(--ah-white);
  }
}
:root[data-theme="dark"] {
  --bg: var(--ah-navy-950);
  --surface: var(--ah-navy-900);
  --surface-alt: var(--ah-navy-800);
  --text: #e6e4e0;
  --heading: #f5f2ec;
  --muted: #a3aebb;
  --line: rgba(245, 242, 236, 0.14);
  --accent-text: var(--ah-gold-500);
  --btn-primary-bg: var(--ah-cream);
  --btn-primary-fg: var(--ah-navy-900);
  --btn-primary-hover: var(--ah-white);
}

/* ---------- Basis ---------- */
*,
*::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(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg,
picture {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--heading);
  font-weight: 300;
  line-height: 1.15;
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}
h1,
.h1 {
  font-size: var(--fs-h1);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
h2,
.h2 {
  font-size: var(--fs-h2);
}
h3,
.h3 {
  font-size: var(--fs-h3);
  font-weight: 400;
}
h4,
.h4 {
  font-size: 1.125rem;
  font-weight: 500;
}
.display {
  font-size: var(--fs-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 300;
}

p {
  margin: 0 0 var(--space-4);
  text-wrap: pretty;
}
.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: var(--fs-small);
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}
a:hover {
  color: var(--accent-text);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--accent-text);
  margin: 0 0 var(--space-4);
}
.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 100;
  background: var(--ah-navy-900);
  color: var(--ah-white);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
}
.skip-link:focus {
  top: var(--space-4);
  color: var(--ah-white);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section {
  padding: var(--section-y) 0;
}
.section--alt {
  background: var(--surface-alt);
}
.section--dark {
  --heading: var(--ah-cream);
  --text: #d9dfe6;
  --muted: #a3aebb;
  --line: rgba(245, 242, 236, 0.14);
  --accent-text: var(--ah-gold-500);
  background: var(--ah-navy-900);
  color: var(--text);
}
.section__head {
  max-width: 46rem;
  margin-bottom: var(--space-7);
}
.section__head--center {
  margin-inline: auto;
  text-align: center;
}
.grid {
  display: grid;
  gap: var(--space-5);
}
.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr));
}
.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
}
.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
}

/* ---------- Buttons ---------- */
/* Auf dunklen Flächen wird der Primär-Button hell */
.section--dark,
.hero,
.cta-box {
  --btn-primary-bg: var(--ah-cream);
  --btn-primary-fg: var(--ah-navy-900);
  --btn-primary-hover: var(--ah-white);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 1.05rem 1.75rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.btn:hover {
  transform: translateY(-1px);
}
.btn svg {
  width: 1.1em;
  height: 1.1em;
  flex: none;
}
.btn--primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
}
.btn--primary:hover {
  background: var(--btn-primary-hover);
  color: var(--btn-primary-fg);
}
.btn--gold {
  background: var(--ah-gold-500);
  color: var(--ah-navy-900);
}
.btn--gold:hover {
  background: #d9a844;
  color: var(--ah-navy-900);
}
.btn--outline {
  border-color: currentColor;
  color: var(--heading);
  background: transparent;
}
.btn--outline:hover {
  background: var(--heading);
  color: var(--bg);
}
.section--dark .btn--outline:hover {
  color: var(--ah-navy-900);
}
.btn--sm {
  padding: 0.8rem 1.25rem;
  font-size: 0.75rem;
}
.btn-row .btn {
  white-space: normal;
  text-align: center;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--heading);
}
.link-arrow::after {
  content: "→";
  transition: transform 0.25s var(--ease);
}
.link-arrow:hover::after {
  transform: translateX(4px);
}

/* ---------- Chips ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: transparent;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  color: var(--text);
  text-decoration: none;
}
.chip--solid {
  background: var(--ah-gold-100);
  border-color: transparent;
  color: var(--ah-navy-900);
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* ---------- Ankündigungsleiste ---------- */
.topbar {
  background: var(--ah-navy-900);
  color: var(--ah-cream);
  font-size: 0.8125rem;
  text-align: center;
  padding: 0.6rem var(--gutter);
}
.topbar a {
  color: var(--ah-gold-500);
  font-weight: 600;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  min-height: 76px;
}
.site-header__logo img {
  width: clamp(9rem, 7rem + 5vw, 11.5rem);
}
.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.nav {
  display: flex;
  gap: var(--space-5);
}
.nav a {
  text-decoration: none;
  font-size: var(--fs-small);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  font-size: var(--fs-small);
}
@media (max-width: 767px) {
  .nav,
  .hide-sm {
    display: none;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--ah-navy-900);
  color: #d9dfe6;
  --heading: var(--ah-cream);
  --muted: #a3aebb;
  --accent-text: var(--ah-gold-500);
  padding: clamp(5rem, 3rem + 8vw, 10rem) 0 clamp(4rem, 3rem + 5vw, 8rem);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::before {
  /* Verlauf für Lesbarkeit über Fotos */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    100deg,
    rgba(7, 29, 51, 0.96) 0%,
    rgba(7, 29, 51, 0.82) 45%,
    rgba(7, 29, 51, 0.35) 100%
  );
}
.hero__mark {
  /* Bildmarke als Wasserzeichen */
  position: absolute;
  z-index: -1;
  right: -6%;
  bottom: -18%;
  width: min(60vw, 44rem);
  opacity: 0.07;
  pointer-events: none;
}
.hero__content {
  max-width: 50rem;
}
.hero .lead {
  color: #d9dfe6;
  max-width: 38rem;
  margin-bottom: var(--space-6);
}

/* ---------- Karten ---------- */
.card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-color: transparent;
}
.card h3 {
  margin: 0;
}
.card p {
  margin: 0;
  color: var(--muted);
}
.card__num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 2.25rem;
  line-height: 1;
  color: var(--accent);
}
.card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ah-gold-100);
  color: var(--ah-navy-900);
}
.card__icon svg {
  width: 1.4rem;
  height: 1.4rem;
}
.card .link-arrow {
  margin-top: auto;
  padding-top: var(--space-3);
}

/* Objekt-/Projektkarte */
.property-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.property-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  color: inherit;
}
.property-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--ah-sand);
}
.property-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.property-card__media .chip {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
}
.property-card__body {
  padding: var(--space-5);
  display: grid;
  gap: var(--space-2);
}
.property-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--heading);
  margin: 0;
}
.property-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--fs-small);
  color: var(--muted);
}

/* Bild-Platzhalter, bis echte Fotos vorliegen */
.media-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(204, 153, 51, 0.22), transparent 55%),
    linear-gradient(160deg, var(--ah-navy-700), var(--ah-navy-900));
}
.media-placeholder img,
.media-placeholder svg {
  width: 22%;
  opacity: 0.5;
}

/* ---------- Kennzahlen ---------- */
.stats {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
}
.stat {
  border-top: 1px solid var(--line);
  padding-top: var(--space-5);
}
.stat__value {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--fs-display);
  line-height: 1;
  color: var(--heading);
}
.stat__value em {
  font-style: normal;
  color: var(--accent);
}
.stat__label {
  margin-top: var(--space-3);
  color: var(--muted);
}

/* ---------- Prozess-Schritte ---------- */
.steps {
  counter-reset: step;
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  padding: 0;
  margin: 0;
  list-style: none;
}
.step {
  counter-increment: step;
  position: relative;
  padding-top: var(--space-6);
  border-top: 1px solid var(--line);
}
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -0.9rem;
  left: 0;
  padding-right: var(--space-3);
  background: var(--step-bg, var(--bg));
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--accent-text);
  letter-spacing: 0.06em;
}
.section--alt .step {
  --step-bg: var(--surface-alt);
}
.section--dark .step {
  --step-bg: var(--ah-navy-900);
}
.step h3 {
  margin-bottom: var(--space-2);
}
.step p {
  color: var(--muted);
  margin: 0;
}

/* ---------- Nummerierte Vorteile ---------- */
.benefits {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.benefit {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: var(--space-5);
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--line);
}
.benefit:first-child {
  border-top: 1px solid var(--line);
}
.benefit__num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent-text);
}
.benefit h3 {
  margin-bottom: var(--space-2);
}
.benefit p {
  margin: 0;
  color: var(--muted);
}

/* ---------- Kundenstimme ---------- */
.testimonial {
  margin: 0;
  padding: var(--space-6);
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  gap: var(--space-4);
}
.testimonial blockquote {
  margin: 0;
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--heading);
}
.testimonial blockquote::before {
  content: "„";
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 0.6;
  color: var(--accent);
}
.testimonial figcaption {
  font-size: var(--fs-small);
  color: var(--muted);
}
.testimonial figcaption strong {
  color: var(--heading);
  font-weight: 600;
}

/* ---------- FAQ (natives <details>) ---------- */
.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: var(--space-5);
  padding: var(--space-5) 0;
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--heading);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  line-height: 1;
  color: var(--accent-text);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details > div {
  padding: 0 0 var(--space-5);
  color: var(--muted);
  max-width: 48rem;
}

/* ---------- CTA-Box ---------- */
.cta-box {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  gap: var(--space-5);
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  padding: clamp(2rem, 1rem + 4vw, 4rem);
  border-radius: var(--radius-lg);
  background: var(--ah-navy-900);
  color: #d9dfe6;
  --heading: var(--ah-cream);
  --muted: #a3aebb;
  --accent-text: var(--ah-gold-500);
  --line: rgba(245, 242, 236, 0.16);
}
.cta-box h2 {
  margin-bottom: var(--space-3);
}
.cta-box p {
  margin: 0;
}
.cta-box .btn-row {
  justify-content: flex-start;
}
@media (min-width: 900px) {
  .cta-box .btn-row {
    justify-content: flex-end;
  }
}
.cta-box__mark {
  position: absolute;
  z-index: -1;
  right: -3rem;
  top: -3rem;
  width: 16rem;
  opacity: 0.08;
}

/* ---------- Kontakt ---------- */
.contact-list {
  display: grid;
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  text-decoration: none;
}
.contact-item__icon {
  width: 3rem;
  height: 3rem;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--accent-text);
}
.contact-item__icon svg {
  width: 1.2rem;
  height: 1.2rem;
}
.contact-item__label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--muted);
}
.contact-item__value {
  display: block;
  font-size: 1.0625rem;
  color: var(--heading);
}
a.contact-item:hover .contact-item__value {
  color: var(--accent-text);
}

/* ---------- Formulare ---------- */
.field {
  display: grid;
  gap: var(--space-2);
}
.field label {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--heading);
}
.input,
.textarea,
.select {
  width: 100%;
  padding: 0.95rem 1.1rem;
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.input:focus,
.textarea:focus,
.select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(204, 153, 51, 0.22);
}
.textarea {
  min-height: 8rem;
  resize: vertical;
}
.checkbox {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-size: var(--fs-small);
  color: var(--muted);
}
.checkbox input {
  accent-color: var(--ah-navy-900);
  margin-top: 0.25rem;
}
.inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.inline-form .input {
  flex: 1 1 16rem;
  border-radius: var(--radius-pill);
  padding-inline: 1.4rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ah-navy-900);
  color: #b4beca;
  --heading: var(--ah-cream);
  --line: rgba(245, 242, 236, 0.14);
  padding: var(--space-8) 0 var(--space-5);
  font-size: var(--fs-small);
}
.site-footer__grid {
  display: grid;
  gap: var(--space-7);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
}
.site-footer__brand img {
  width: 11rem;
  margin-bottom: var(--space-4);
}
.site-footer h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--ah-gold-500);
  font-weight: 600;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-2);
}
.site-footer a {
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--ah-cream);
}
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid var(--line);
}
.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
}
.social {
  display: flex;
  gap: var(--space-3);
}
.social a {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--ah-cream);
}
.social a:hover {
  border-color: var(--ah-gold-500);
  color: var(--ah-gold-500);
}
.social svg {
  width: 1rem;
  height: 1rem;
}

/* ---------- Rechtstexte (Impressum, Datenschutz) ---------- */
.page-intro {
  padding: clamp(3rem, 2rem + 4vw, 5rem) 0 var(--space-6);
  border-bottom: 1px solid var(--line);
}
.page-intro h1 {
  margin: 0;
}
.prose {
  max-width: 46rem;
  overflow-wrap: break-word;
}
.prose h2 {
  font-size: var(--fs-h3);
  font-weight: 400;
  margin: var(--space-7) 0 var(--space-3);
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  font-size: 1.125rem;
  font-weight: 500;
  margin: var(--space-5) 0 var(--space-2);
}
.prose ul {
  margin: 0 0 var(--space-4);
  padding-left: 1.25rem;
}
.prose li {
  margin-bottom: var(--space-2);
}
.prose li::marker {
  color: var(--accent-text);
}
.prose address {
  font-style: normal;
  margin: 0 0 var(--space-4);
}
.prose a {
  color: var(--heading);
}
.prose a:hover {
  color: var(--accent-text);
}
.prose .small {
  color: var(--muted);
}

/* ---------- Animation ---------- */
.reveal {
  animation: ah-rise 0.9s var(--ease) both;
}
.reveal-2 {
  animation-delay: 0.12s;
}
.reveal-3 {
  animation-delay: 0.24s;
}
@keyframes ah-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    animation: none;
  }
  .btn,
  .card,
  .property-card {
    transition: none;
  }
}
