/* ==========================================================
   Ferienwohnung Ruraue – Stylesheet
   ========================================================== */

/* ---------- Fonts (lokal eingebunden, keine Google-Server) ---------- */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/fraunces-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/fraunces-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/fraunces-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/fraunces-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/manrope-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/manrope-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2"); }

/* ---------- Variablen ---------- */
:root {
  --green-900: #0b3a25;
  --green-800: #0f4d31;
  --green-700: #0f6139;
  --green-500: #167e59;
  --green-100: #e3eee7;
  --gold: #a88050;
  --gold-light: #d9c3a0;
  --cream: #f7f3ec;
  --sand: #efe8dc;
  --white: #ffffff;
  --ink: #1d2621;
  --muted: #5d6862;
  --line: #e2dbcf;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px -24px rgba(11, 58, 37, .35);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 84px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-500); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0 0 .6em; color: var(--green-900); letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1.1em; }
ul { padding-left: 1.2em; }
section[id] { scroll-margin-top: var(--header-h); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 128px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.2rem;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.lead { font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.6; color: var(--muted); }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--green-900); color: #fff; padding: .7em 1em; z-index: 1000; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.7em; border-radius: 999px; border: 1px solid transparent;
  font: 600 .95rem/1 var(--sans); letter-spacing: .02em; text-decoration: none;
  cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--green-700); color: #fff; }
.btn-primary:hover { background: var(--green-800); color: #fff; transform: translateY(-2px); }
.btn-ghost { border-color: var(--green-700); color: var(--green-700); background: transparent; }
.btn-ghost:hover { background: var(--green-700); color: #fff; }
.btn-light { background: #fff; color: var(--green-900); }
.btn-light:hover { background: var(--gold-light); color: var(--green-900); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 243, 236, .88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0,0,0,.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }

.logo { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; color: var(--green-800); }
.logo small { font: 600 .66rem/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: .35rem; }
.logo span { font: 500 1.75rem/1 var(--serif); letter-spacing: -.01em; }
.logo:hover { color: var(--green-700); }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); }
.main-nav a { position: relative; font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none; padding: .4em 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--green-700); }
.main-nav .btn { padding: .8em 1.4em; color: #fff; }
.main-nav .btn::after { display: none; }

.nav-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--green-700); color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .3s, background .3s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 820px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 28px;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav-open .main-nav { opacity: 1; transform: none; visibility: visible; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav li a { display: block; padding: 1rem 0; font-size: 1.15rem; border-bottom: 1px solid var(--line); }
  .main-nav li a::after { display: none; }
  .main-nav li:last-child a { margin-top: 1.2rem; border: 0; text-align: center; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(40px, 6vw, 80px) clamp(72px, 9vw, 120px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero h1 em { font-style: italic; color: var(--green-700); }
.hero .lead { max-width: 34em; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-media { position: relative; }
.hero-media .main-img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.hero-media .float-img {
  position: absolute; left: -12%; bottom: -10%; width: 38%;
  aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: var(--radius-sm); border: 6px solid var(--cream); box-shadow: var(--shadow);
}
.hero-badge {
  position: absolute; right: -14px; top: 28px;
  background: var(--green-700); color: #fff; border-radius: 999px;
  padding: .8em 1.3em; font-weight: 600; font-size: .9rem; box-shadow: var(--shadow);
}
.hero-badge strong { font: 500 1.2rem var(--serif); margin-right: .25em; }

.facts { margin-top: clamp(48px, 7vw, 88px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { padding: 22px 20px; display: flex; align-items: center; gap: 14px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact svg { flex: none; width: 30px; height: 30px; color: var(--gold); }
.fact span { font-size: .95rem; line-height: 1.35; color: var(--muted); }
.fact strong { display: block; color: var(--green-900); font-weight: 700; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { margin-inline: 6% 0; }
  .hero-media .float-img { left: -6%; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .facts { grid-template-columns: 1fr; }
  .fact + .fact { border-left: 0; border-top: 1px solid var(--line); }
  .hero-badge { right: 8px; }
}

/* ---------- Wohnung / Ausstattung ---------- */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 96px); align-items: center; margin-bottom: clamp(48px, 6vw, 72px); }
.intro-grid h2 { margin: 0; }
.intro-grid p { margin: 0; padding-left: clamp(20px, 3vw, 36px); border-left: 2px solid var(--gold); color: var(--muted); font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; }

.rooms { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 36px); }
.room { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 0 var(--line); transition: transform .4s, box-shadow .4s; }
.room:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.room-img { aspect-ratio: 16 / 10; overflow: hidden; }
.room-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.room:hover .room-img img { transform: scale(1.05); }
.room-body { padding: clamp(24px, 3vw, 36px); }
.room-body .num { font: italic 400 1rem var(--serif); color: var(--gold); display: block; margin-bottom: .4rem; }
.room-body p { color: var(--muted); margin: 0; }

.service-note { margin-top: clamp(28px, 4vw, 44px); display: flex; align-items: center; gap: 18px; padding: 22px 28px; background: var(--green-100); border-radius: var(--radius); color: var(--green-900); font-weight: 500; }
.service-note svg { flex: none; width: 30px; height: 30px; color: var(--green-700); }

@media (max-width: 820px) {
  .intro-grid, .rooms { grid-template-columns: 1fr; }
}

/* ---------- Lage ---------- */
.location { background: var(--green-900); color: #dfe9e3; position: relative; overflow: hidden; }
.location::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 85% 0%, rgba(22,126,89,.55), transparent 55%);
  pointer-events: none;
}
.location .container { position: relative; }
.location h2 { color: #fff; }
.location .eyebrow { color: var(--gold-light); }
.location-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.location-text p { color: #c9d8cf; font-size: 1.08rem; }
.location-img { margin-top: 2rem; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; }
.location-img img { width: 100%; height: 100%; object-fit: cover; }

.distances { list-style: none; margin: 0; padding: 0; }
.distances li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.distances li:first-child { border-top: 1px solid rgba(255,255,255,.14); }
.distances .label { color: #fff; font-weight: 600; }
.distances .label small { display: block; font-weight: 400; color: #a9c0b3; font-size: .9rem; }
.distances .dist { font: 400 1.5rem/1 var(--serif); color: var(--gold-light); white-space: nowrap; }

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

/* ---------- Preise ---------- */
.prices-head { text-align: center; max-width: 640px; margin: 0 auto clamp(44px, 6vw, 64px); }
.prices-head .eyebrow { justify-content: center; }
.prices-head .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 36px); }
.price-card { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); }
.price-card.is-featured { border-color: var(--green-700); box-shadow: var(--shadow); }
.price-card .price-img { aspect-ratio: 3 / 2; overflow: hidden; }
.price-card .price-img img { width: 100%; height: 100%; object-fit: cover; }
.price-body { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; flex: 1; }
.price-body h3 { margin-bottom: .2em; }
.price-body .size { color: var(--muted); font-size: .95rem; margin-bottom: 1.4rem; }
.price-list { list-style: none; margin: 0 0 1.4rem; padding: 0; }
.price-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.price-list li span { color: var(--muted); }
.price-list li strong { font: 500 1.6rem/1 var(--serif); color: var(--green-800); white-space: nowrap; }
.price-body .extra { font-size: .93rem; color: var(--muted); margin: auto 0 0; }
.price-footnote { text-align: center; margin-top: 32px; color: var(--muted); }

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

/* ---------- Galerie-Teaser ---------- */
.teaser { background: var(--sand); }
.teaser-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 5vw, 52px); }
.teaser-head h2 { margin: 0; }
.teaser-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(140px, 18vw, 230px); gap: clamp(10px, 1.4vw, 18px); }
.teaser-grid a { border-radius: var(--radius-sm); overflow: hidden; display: block; }
.teaser-grid a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.teaser-grid a:nth-child(4) { grid-row: span 2; }
.teaser-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.teaser-grid a:hover img { transform: scale(1.06); }
@media (max-width: 700px) {
  .teaser-grid { grid-template-columns: repeat(2, 1fr); }
  .teaser-grid a:nth-child(4) { grid-row: span 1; }
}

/* ---------- CTA ---------- */
.cta { padding-block: clamp(64px, 8vw, 100px); }
.cta-box {
  position: relative; overflow: hidden; border-radius: calc(var(--radius) * 1.4);
  background: var(--green-700); color: #fff;
  padding: clamp(36px, 6vw, 72px);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center;
}
.cta-box::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 340px; height: 340px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 0 0 40px rgba(255,255,255,.04), 0 0 0 90px rgba(255,255,255,.03); }
.cta-box h2 { color: #fff; margin-bottom: .3em; }
.cta-box p { color: #d3e6da; margin: 0; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; position: relative; z-index: 1; }
.cta-actions a.phone { font: 400 clamp(1.5rem, 3vw, 2rem)/1.1 var(--serif); color: #fff; text-decoration: none; }
.cta-actions a.phone:hover { color: var(--gold-light); }
@media (max-width: 820px) { .cta-box { grid-template-columns: 1fr; } }

/* ---------- Unterseiten-Kopf ---------- */
.page-hero { padding-block: clamp(48px, 7vw, 96px) clamp(32px, 4vw, 56px); }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); margin-bottom: .3em; }
.page-hero .lead { max-width: 40em; margin: 0; }

/* ---------- Galerie ---------- */
.filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(28px, 4vw, 44px); }
.filter button {
  font: 600 .9rem/1 var(--sans); padding: .85em 1.35em; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.filter button:hover { border-color: var(--green-700); }
.filter button.is-active { background: var(--green-700); border-color: var(--green-700); color: #fff; }
/* Fallback ohne JS: Spalten; mit JS: Masonry-Raster (Originalformat der Bilder bleibt erhalten) */
.gallery { columns: 3 280px; column-gap: clamp(10px, 1.4vw, 18px); padding-bottom: clamp(72px, 10vw, 120px); }
.gallery-item { break-inside: avoid; margin-bottom: clamp(10px, 1.4vw, 18px); display: block; border-radius: var(--radius-sm); overflow: hidden; position: relative; cursor: zoom-in; background: var(--sand); }
.gallery-item img { width: 100%; transition: transform .9s cubic-bezier(.2,.7,.2,1), opacity .4s; }
.gallery.is-masonry { columns: auto; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 4px; row-gap: 0; align-items: start; }
.gallery.is-masonry .gallery-item { margin-bottom: 0; }
@media (max-width: 900px) { .gallery.is-masonry { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery.is-masonry { grid-template-columns: 1fr; } }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,58,37,.45), transparent 45%); opacity: 0; transition: opacity .4s; }
.gallery-item:hover::after { opacity: 1; }
.gallery-item[hidden] { display: none; }

/* ---------- Lightbox ---------- */
.js-lb { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(8, 24, 16, .94); display: none; align-items: center; justify-content: center; padding: 64px 16px; }
.lightbox.is-open { display: flex; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-height: calc(100vh - 160px); width: auto; max-width: 100%; border-radius: 6px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox figcaption { color: #d6e3db; font-size: .95rem; margin-top: 14px; text-align: center; }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.lb-btn:hover { background: rgba(255,255,255,.18); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-counter { position: absolute; top: 28px; left: 24px; color: #9fb7a9; font-size: .9rem; letter-spacing: .1em; }
@media (max-width: 640px) {
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
}

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); padding-bottom: clamp(72px, 10vw, 120px); }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); }
.contact-card h2 { font-size: 1.7rem; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .ic { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--green-100); color: var(--green-700); display: flex; align-items: center; justify-content: center; }
.contact-list .ic svg { width: 20px; height: 20px; }
.contact-list small { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.contact-list a, .contact-list span.val { font-weight: 600; font-size: 1.1rem; color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--green-700); }
.address { font: 400 1.5rem/1.4 var(--serif); color: var(--green-900); margin-bottom: 1.6rem; }
.contact-img { border-radius: var(--radius-sm); overflow: hidden; margin-top: 1.8rem; aspect-ratio: 16 / 9; }
.contact-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 820px; padding-bottom: clamp(72px, 10vw, 120px); }
.legal h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 2.4em; }
.legal h3 { font-size: 1.25rem; margin-top: 1.8em; margin-bottom: .5em; }
.legal h2:first-child, .legal h3:first-child { margin-top: 0; }
.legal p, .legal li { color: #3d4842; }
.legal a { word-break: break-word; }
.legal .box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); margin-bottom: 2rem; }
.legal .box p:last-child { margin-bottom: 0; }
.legal .source { font-size: .9rem; color: var(--muted); margin-top: 3em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: #b9cbc0; padding-top: clamp(56px, 7vw, 88px); font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.site-footer .logo { color: #fff; margin-bottom: 1.2rem; }
.site-footer .logo small { color: var(--gold-light); }
.site-footer h3 { font: 700 .78rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1.2rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { color: #e3ece6; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .88rem; }
.footer-bottom nav a { margin-left: 22px; }
.footer-bottom nav a:first-child { margin-left: 0; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Einblend-Animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
