/* ==========================================================================
   Gartenarchitektur Sylt – Satina Engels
   Haupt-Stylesheet (site03, Relaunch)
   Mobile-first, ohne Framework. Fonts: Fraunces (Display) + Inter (Text),
   lokal gehostet (css/fonts.css).
   ========================================================================== */

/* ---------- Design-Tokens ------------------------------------------------ */
:root {
  --pine-950: #0f1f19;
  --pine-900: #14291f;
  --pine-800: #1d3a2c;
  --pine-700: #2a5240;
  --green-600: #3e7458;
  --green-500: #568e6e;
  --sage-300: #a9c4b2;
  --cream: #f6f4ee;
  --paper: #ffffff;
  --ink-900: #1f241f;
  --ink-600: #4d564e;
  --ink-400: #79817a;
  --line: #e4e1d6;
  --red-600: #a83a32;

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 31, 25, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 31, 25, 0.10);
  --header-h: 72px;
}

/* ---------- Basis --------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-900);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink-900);
  margin: 0 0 0.6em;
  letter-spacing: 0.005em;
}

h1 {
  font-size: clamp(2.1rem, 4.2vw + 1rem, 3.4rem);
  font-weight: 600;
}

h2 {
  font-size: clamp(1.7rem, 2.4vw + 1rem, 2.4rem);
}

h3 {
  font-size: clamp(1.2rem, 1.2vw + 1rem, 1.45rem);
}

p {
  margin: 0 0 1.1em;
}

a {
  color: var(--green-600);
  text-decoration: none;
}

a:hover {
  color: var(--pine-700);
}

:focus-visible {
  outline: 3px solid var(--green-500);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Überspringt-Link */
.skip {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  background: var(--pine-900);
  color: var(--cream);
  padding: 0.7em 1.2em;
  border-radius: 0 0 10px 10px;
  transition: top 0.2s ease;
}

.skip:focus {
  top: 0;
}

/* ---------- Layout-Helfer ------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 44px);
}

.section {
  padding-block: clamp(60px, 9vw, 104px);
}

.section--tint {
  background: var(--cream);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(32px, 5vw, 52px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.overline {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 0.9em;
}

.overline--light {
  color: var(--sage-300);
}

.lead {
  font-size: clamp(1.1rem, 1vw + 1rem, 1.25rem);
  color: var(--ink-600);
  margin-bottom: 1.2em;
}

.text-muted {
  color: var(--ink-600);
}

/* ---------- Buttons -------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.78em 1.55em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--cream {
  background: var(--cream);
  color: var(--pine-950);
}

.btn--cream:hover {
  background: #fff;
  color: var(--pine-950);
}

.btn--pine {
  background: var(--pine-700);
  color: var(--cream);
}

.btn--pine:hover {
  background: var(--pine-800);
  color: #fff;
}

.btn--outline {
  border-color: rgba(246, 244, 238, 0.65);
  color: var(--cream);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.9);
}

.btn--outline-pine {
  border-color: var(--pine-700);
  color: var(--pine-700);
}

.btn--outline-pine:hover {
  background: var(--pine-700);
  color: var(--cream);
}

.btn--block {
  width: 100%;
}

/* ---------- Header ---------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--pine-900);
  color: var(--cream);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  min-height: var(--header-h);
  flex-wrap: wrap;
  padding-block: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  margin-right: auto;
}

.brand:hover {
  color: #fff;
}

.brand-mark {
  width: 26px;
  height: 26px;
  flex: none;
  color: var(--sage-300);
}

.brand-name {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1vw + 0.8rem, 1.3rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-name em {
  font-style: normal;
  color: var(--sage-300);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 26px);
}

.site-nav a {
  color: #cfdcd3;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.site-nav a:hover {
  color: #fff;
}

.site-nav a[aria-current="page"] {
  color: #fff;
  border-bottom-color: var(--sage-300);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-phone {
  color: #cfdcd3;
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
}

.header-phone:hover {
  color: #fff;
}

.header-cta {
  padding: 0.62em 1.25em;
  font-size: 0.9rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  margin: -10px -10px;
  cursor: pointer;
  color: var(--cream);
}

.nav-toggle svg {
  width: 26px;
  height: 26px;
}

/* Mobile Navigation */
@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }

  .header-phone {
    display: none;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--pine-900);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-md);
    padding: 8px 0 12px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px clamp(20px, 5vw, 44px);
    font-size: 1.05rem;
    border-bottom: 0;
  }

  .site-nav a[aria-current="page"] {
    background: rgba(255, 255, 255, 0.07);
    border-left: 3px solid var(--sage-300);
  }
}

@media (max-width: 560px) {
  .header-cta {
    display: none;
  }
}

/* ---------- Seitenkopf (Unterseiten) ----------------------------------------- */
.page-head {
  background: var(--pine-900);
  color: var(--cream);
  padding-block: clamp(52px, 8vw, 84px);
}

.page-head h1 {
  color: #fff;
  margin-bottom: 0.35em;
  max-width: 20em;
}

.page-head .lead {
  color: #cfdcd3;
  margin-bottom: 0;
  max-width: 58em;
}

/* ---------- Hero ------------------------------------------------------------ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(540px, 84vh, 800px);
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
  overflow: hidden;
  background: var(--pine-950);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(15, 31, 25, 0.88) 0%,
    rgba(15, 31, 25, 0.66) 45%,
    rgba(15, 31, 25, 0.25) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  color: var(--cream);
}

.hero-content h1 {
  color: #fff;
  margin-bottom: 0.45em;
  text-wrap: balance;
}

.hero-lead {
  font-size: clamp(1.05rem, 0.8vw + 0.95rem, 1.22rem);
  color: #dde6df;
  margin-bottom: 1.6em;
  max-width: 34em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-note {
  margin-top: 2em;
  font-size: 0.85rem;
  color: var(--sage-300);
}

/* ---------- Teaser-Karten / Grids ------------------------------------------- */
.grid {
  display: grid;
  gap: clamp(18px, 2.5vw, 28px);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 960px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-media img {
  transform: scale(1.04);
}

.card-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card-kicker {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-600);
}

.card-body h3 {
  margin: 0;
  font-size: 1.18rem;
}

.card-body p {
  margin: 0;
  color: var(--ink-600);
  font-size: 0.98rem;
}

.card-link {
  margin-top: auto;
  padding-top: 10px;
  font-weight: 600;
  font-size: 0.95rem;
}

.card-link::after {
  content: " →";
}

/* Preis-Karte (Leistungen) */
.price-tag {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(62, 116, 88, 0.12);
  color: var(--pine-700);
  font-size: 0.85rem;
  font-weight: 600;
  width: fit-content;
}

/* ---------- Split (Bild + Text) --------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.split--reverse {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.split--reverse .split-media {
  order: 2;
}

@media (max-width: 860px) {
  .split,
  .split--reverse {
    grid-template-columns: 1fr;
  }

  .split--reverse .split-media {
    order: 0;
  }
}

.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--cream);
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-card {
  max-width: 380px;
}

.portrait-card .portrait {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}

.portrait-caption {
  padding: 18px 22px 20px;
  background: var(--paper);
}

.portrait-caption .name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.portrait-caption .role {
  font-size: 0.9rem;
  color: var(--ink-600);
}

/* ---------- Leistungsphasen (Leistungen-Seite) ------------------------------- */
.phase {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(32px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
}

.phase:last-of-type {
  border-bottom: 0;
}

.phase--reverse {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.phase--reverse .phase-media {
  order: 2;
}

.phase-media {
  border-radius: var(--radius);
  overflow: hidden;
  background: #f1eee4;
  box-shadow: var(--shadow-sm);
}

.phase-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.phase-media img[alt*="Plan"],
.plan-img {
  object-fit: contain;
  padding: 10px;
  background: #fbfaf6;
}

.phase-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pine-700);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 14px;
}

@media (max-width: 860px) {
  .phase {
    grid-template-columns: 1fr;
  }

  .phase--reverse .phase-media {
    order: 0;
  }
}

/* ---------- Galerie / Bildstreifen -------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 2vw, 20px);
}

.gallery figure {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--cream);
  box-shadow: var(--shadow-sm);
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery figcaption {
  font-size: 0.85rem;
  color: var(--ink-600);
  padding: 8px 12px 10px;
}

@media (max-width: 860px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}

/* Planbilder (contain statt cover) */
.plan-card {
  background: #fbfaf6;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.plan-card .card-media {
  aspect-ratio: 4 / 3;
  background: #f1eee4;
}

.plan-card .card-media img {
  object-fit: contain;
  padding: 10px;
}

/* ---------- Referenzen-Liste --------------------------------------------------- */
.ref-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
}

@media (max-width: 900px) {
  .ref-cols {
    grid-template-columns: 1fr;
  }
}

.ref-block h3 {
  font-size: 1.05rem;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pine-700);
  margin-bottom: 18px;
}

.ref-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 0.97rem;
}

.ref-row:last-child {
  border-bottom: 0;
}

.ref-year {
  font-weight: 600;
  color: var(--green-600);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.ref-entry {
  color: var(--ink-900);
}

@media (max-width: 520px) {
  .ref-row {
    grid-template-columns: 1fr;
    gap: 2px;
    padding-block: 14px;
  }
}

/* ---------- Zeitstrahl (Büro) ---------------------------------------------------- */
.timeline {
  display: grid;
  gap: 0;
  position: relative;
}

.timeline-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  padding: 16px 0 16px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-item:last-child {
  border-bottom: 0;
}

.timeline-date {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--pine-700);
  white-space: nowrap;
}

.timeline-item p {
  margin: 0;
}

@media (max-width: 520px) {
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* ---------- Aktuelles: PDF-Karten -------------------------------------------------- */
.pdf-card .card-media img {
  object-fit: contain;
  padding: 12px;
  background: #f1eee4;
}

.pdf-note {
  font-size: 0.88rem;
  color: var(--ink-600);
}

/* ---------- Video (Two-Click-Load) --------------------------------------------------- */
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--pine-950);
  box-shadow: var(--shadow-md);
}

.video-embed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-embed .play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 0;
  background: rgba(246, 244, 238, 0.92);
  color: var(--pine-900);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease, background 0.2s ease;
}

.video-embed .play-btn:hover {
  transform: scale(1.06);
  background: #fff;
}

.video-embed .play-btn svg {
  width: 30px;
  height: 30px;
  margin-left: 4px;
}

.video-embed .video-label {
  position: absolute;
  left: 18px;
  bottom: 14px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

/* ---------- Kontakt-Band / Kontakt-Seite ---------------------------------------------- */
.cta-band {
  background: var(--pine-900);
  color: var(--cream);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(32px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  box-shadow: var(--shadow-md);
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  color: #cfdcd3;
  margin-bottom: 1.4em;
}

.cta-contact {
  display: grid;
  gap: 14px;
  font-size: 0.98rem;
}

.cta-contact a {
  color: var(--cream);
}

.cta-contact a:hover {
  color: #fff;
  text-decoration: underline;
}

.cta-contact .label {
  color: var(--sage-300);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 2px;
}

@media (max-width: 860px) {
  .cta-band {
    grid-template-columns: 1fr;
  }
}

/* Adresse-Karte (Kontakt-Seite) */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 56px);
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 36px);
}

.contact-card h2 {
  margin-bottom: 1.2em;
}

.contact-list {
  display: grid;
  gap: 18px;
}

.contact-list .label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green-600);
  margin-bottom: 3px;
}

.contact-list p {
  margin: 0;
}

/* ---------- Formular --------------------------------------------------------------- */
.form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 620px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-900);
}

.field label .req {
  color: var(--red-600);
}

.field input,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink-900);
  background: var(--paper);
  border: 1px solid #cfd6cc;
  border-radius: var(--radius-sm);
  padding: 0.75em 1em;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--pine-700);
  box-shadow: 0 0 0 3px rgba(42, 82, 64, 0.15);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--red-600);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field .hint {
  font-size: 0.82rem;
  color: var(--ink-400);
}

.field .error-msg {
  display: none;
  font-size: 0.85rem;
  color: var(--red-600);
}

.field.has-error .error-msg {
  display: block;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  display: none;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 0.97rem;
}

.form-status.is-visible {
  display: block;
}

.form-status--success {
  background: rgba(62, 116, 88, 0.14);
  border: 1px solid var(--green-500);
  color: var(--pine-800);
}

.form-status--error {
  background: rgba(168, 58, 50, 0.1);
  border: 1px solid var(--red-600);
  color: var(--red-600);
}

/* ---------- Footer --------------------------------------------------------------------- */
.site-footer {
  background: var(--pine-950);
  color: #cfdcd3;
  padding-top: clamp(48px, 7vw, 72px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(32px, 5vw, 48px);
}

.footer-grid h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 16px;
}

.footer-brand .brand {
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.92rem;
  max-width: 30em;
  margin-bottom: 0;
}

.footer-nav {
  display: grid;
  gap: 9px;
  align-content: start;
}

.footer-nav a {
  color: #cfdcd3;
  font-size: 0.95rem;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-contact {
  font-size: 0.95rem;
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-contact a {
  color: #cfdcd3;
}

.footer-contact a:hover {
  color: #fff;
}

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #93a39a;
}

.footer-legal a {
  color: #b9c8bf;
}

.footer-legal a:hover {
  color: #fff;
}

.footer-legal nav {
  display: flex;
  gap: 18px;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Rechtstexte (Impressum/Datenschutz) ----------------------------------------- */
.legal {
  max-width: 820px;
}

.legal h2 {
  margin-top: 1.4em;
  font-size: 1.5rem;
}

.legal h3 {
  font-size: 1.15rem;
  font-family: var(--font-body);
  font-weight: 700;
}

.legal p,
.legal li {
  color: var(--ink-600);
}

.legal ul {
  padding-left: 1.2em;
}

/* ---------- Scroll-Animationen (nur mit JS) -------------------------------------------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

html.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  html.js .reveal {
    opacity: 1;
    transform: none;
  }
}
