/* =========================================================
   ANIMA TERRA – Seele der Erde · Olivenöl aus Gedici

   Gestaltungsidee: eine ruhige, redaktionelle Erzählung.
   Creme trägt die Seite, Bild und Text wechseln die Seiten,
   der dunkle Olivton gehört dem Video und dem Seitenende.
   ========================================================= */

:root {
  /* Farben */
  --olive: #626B42;
  --olive-deep: #35402D;
  --terra: #A6533C;
  --brown: #70513D;
  --cream: #F4EFE5;
  --sand: #DED2BC;
  --sand-soft: #E9E1D1;            /* Sand, zur Hälfte in Creme gemischt */
  --line: rgba(112, 81, 61, 0.26);
  --line-light: rgba(244, 239, 229, 0.3);

  /* Schrift */
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  /* Maße */
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --maxw: 82rem;
  --edge: max(var(--gutter), calc((100vw - var(--maxw)) / 2));
  --section: clamp(4.5rem, 10vw, 9.5rem);

  color-scheme: light;
}

/* ---------- Grundlagen ---------- */

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

[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--cream);
  color: var(--olive-deep);
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, p, figure, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }

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

a { color: inherit; text-decoration-color: var(--terra); text-underline-offset: 0.2em; }

:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }

::selection { background: var(--sand); color: var(--olive-deep); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 50;
  padding: 0.6rem 1rem;
  background: var(--olive-deep);
  color: var(--cream);
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* Nur für Vorleseprogramme sichtbar */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- Schrift ---------- */

h1, h2, .lead, .statement, .signature, .variety dt {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 60, "WONK" 0;
}

h1 {
  font-size: clamp(2.3rem, 1.2rem + 4.6vw, 4rem);
  line-height: 1.03;
  font-weight: 350;
  letter-spacing: -0.022em;
  color: var(--olive-deep);
  text-wrap: balance;
}
h1 em {
  display: block;
  padding-bottom: 0.08em;
  font-weight: 300;
  color: var(--olive);
}

h2 {
  font-size: clamp(2rem, 1.35rem + 2.6vw, 3.3rem);
  line-height: 1.08;
  font-weight: 350;
  letter-spacing: -0.016em;
  color: var(--olive);
  text-wrap: balance;
}

.eyebrow {
  font-family: var(--font-body);
  font-variation-settings: normal;
  font-size: 0.78rem;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terra);
}

.lead {
  font-size: clamp(1.25rem, 1.08rem + 0.7vw, 1.55rem);
  line-height: 1.46;
  font-weight: 360;
}

figcaption {
  margin-top: 0.75rem;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--brown);
}

.signature {
  position: relative;
  padding-top: 1.6rem;
  font-size: 1.75rem;
  line-height: 1.2;
  font-style: italic;
  font-weight: 340;
  color: var(--olive);
}
.signature::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 2.75rem;
  height: 1px;
  background: var(--terra);
}

/* Abstände in Textspalten */
.flow > * + * { margin-top: 1.25em; }
.flow > .eyebrow + h2 { margin-top: 1rem; }
.flow > h2 + * { margin-top: 1.9rem; }
.flow > .lead + * { margin-top: 1.7rem; }
.flow > .signature { margin-top: 2.75rem; }

/* ---------- Schaltfläche ---------- */

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1.6rem;
  border: 1px solid var(--olive);
  border-radius: 999px;
  color: var(--olive-deep);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.button:hover {
  background: var(--olive-deep);
  border-color: var(--olive-deep);
  color: var(--cream);
}
.button__arrow { transition: transform 0.3s ease; }
.button:hover .button__arrow { transform: translateY(3px); }

.button--solid {
  background: var(--olive-deep);
  border-color: var(--olive-deep);
  color: var(--cream);
}
.button--solid:hover {
  background: var(--olive);
  border-color: var(--olive);
}

/* ---------- Platzhalter (klar gekennzeichnet, leicht austauschbar) ---------- */

.placeholder {
  border: 1px dashed rgba(112, 81, 61, 0.62);
  background: var(--sand-soft);
  color: var(--brown);
}
.placeholder__tag {
  display: block;
  font-size: 0.68rem;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.placeholder__text {
  display: block;
  font-size: 0.95rem;
  line-height: 1.45;
}

/* ---------- Kopfzeile ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding: 0.9rem var(--edge);
  background: var(--cream);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  line-height: 1.1;
  text-decoration: none;
}
.brand__mark {
  width: auto;
  height: 2.75rem;
}
.brand__text {
  display: grid;
  gap: 0.35rem;
  justify-items: start;
}
.brand__wordmark {
  width: auto;
  height: 0.95rem;
}
.brand__sub {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brown);
}

/* Startseite: Solange das große Logo im Einstieg zu sehen ist, bleibt die Kopfzeile ohne Logo.
   Ohne JavaScript ist das Logo in der Kopfzeile immer sichtbar. */
.js .site-header--home .brand { transition: opacity 0.35s ease, visibility 0.35s; }
.js .site-header--home:not(.shows-brand) .brand {
  opacity: 0;
  visibility: hidden;
}

.nav-toggle { display: none; }

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem clamp(1.1rem, 2.4vw, 2.4rem);
}
.site-nav a {
  display: inline-block;
  padding: 0.35rem 0;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  background: linear-gradient(var(--terra), var(--terra)) left bottom / 0 1px no-repeat;
  transition: background-size 0.35s ease;
}
.site-nav a:hover,
.site-nav a:focus-visible { background-size: 100% 1px; }

@media (max-width: 63.99rem) {
  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.1rem;
    border: 1px solid var(--olive);
    border-radius: 999px;
    background: transparent;
    color: var(--olive-deep);
    font: 500 0.9rem/1.2 var(--font-body);
    cursor: pointer;
  }
  .js .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 0.25rem var(--gutter) 1.5rem;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
  }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul { flex-direction: column; gap: 0; }
  .js .site-nav a {
    display: block;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
    background: none;
    font-size: 1.05rem;
  }
  .js .site-nav li:last-child a { border-bottom: 0; }
}

/* ---------- 1 · Einstieg ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "brand" "head" "media" "body";
  row-gap: clamp(1.75rem, 5vw, 2.5rem);
  padding: clamp(1.5rem, 5vw, 2.5rem) var(--gutter) 0;
}
.hero__head {
  grid-area: head;
  display: grid;
  gap: 1.1rem;
}
.hero__brand { grid-area: brand; }
.hero__logo {
  width: clamp(9.5rem, 44vw, 12rem);
  height: auto;
}
.hero__media {
  grid-area: media;
  position: relative;
  overflow: hidden;
  margin-inline: calc(var(--gutter) * -1);
}
.hero__media img {
  width: 100%;
  height: min(58svh, 32rem);
  object-fit: cover;
  object-position: 50% 30%;   /* hält Himmel und Baumkronen im Bild, auch bei breitem Ausschnitt */
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 32%;
  background: linear-gradient(to top, rgba(53, 64, 45, 0.62), rgba(53, 64, 45, 0));
  pointer-events: none;
}
.hero__media figcaption {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 1rem;
  z-index: 1;
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--cream);
}
.hero__body {
  grid-area: body;
  display: grid;
  gap: 1.9rem;
  justify-items: start;
  max-width: 36rem;
}
.hero__body .lead { font-size: clamp(1.15rem, 0.95rem + 0.55vw, 1.4rem); }

@media (min-width: 64rem) {
  h1 { font-size: clamp(3rem, 4.6vw, 4.9rem); }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    /* leere Zeilen oben und unten halten Logo, Überschrift und Text gemeinsam auf Bildmitte */
    grid-template-areas: ". media" "brand media" "head media" "body media" ". media";
    grid-template-rows: 1fr auto auto auto 1fr;
    column-gap: clamp(2.5rem, 5vw, 5rem);
    row-gap: 2.25rem;
    padding: 0 0 0 var(--edge);
  }
  .hero__brand { margin-bottom: -0.5rem; }
  .hero__logo { width: clamp(9.5rem, 24vh, 13.5rem); }
  .hero__media { margin: 0; }
  .hero__media img { height: clamp(34rem, calc(100svh - 4.6rem), 56rem); }
  .hero__media figcaption { left: 1.5rem; bottom: 1.25rem; }
}

/* ---------- 2 · Irene & David ---------- */

.story {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  padding: var(--section) var(--edge);
}
.story__media {
  position: relative;
  max-width: 36rem;
  padding: 0 12% 12% 0;
}
.story__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.story__photo figcaption { max-width: 50%; }
.story__portrait {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 0.6rem var(--cream);
}
.story__text { max-width: 36rem; }

@media (min-width: 64rem) {
  .story {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: start;
  }
  .story__media { max-width: none; }
  .story__text { justify-self: end; }
}
@media (min-width: 64rem) and (min-height: 46rem) {
  .story__media { position: sticky; top: 6.5rem; }
}

/* ---------- 3 · Unser Olivenhain ---------- */

.grove {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(3rem, 7vw, 6rem);
  padding: var(--section) var(--edge);
  background: var(--sand-soft);
}
.grove .eyebrow { color: var(--brown); }

.grove__intro {
  display: grid;
  gap: 1.5rem;
  max-width: 64rem;
}
.statement {
  font-size: clamp(1.9rem, 1.1rem + 3.3vw, 4rem);
  line-height: 1.13;
  font-weight: 340;
  letter-spacing: -0.018em;
  text-wrap: balance;
}
.fact {
  font-style: italic;
  color: var(--terra);
  white-space: nowrap;
}

.grove__detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
}
.treefield__dots {
  width: 100%;
  height: auto;
}
.treefield__dots circle { fill: var(--olive); }
.grove__note { max-width: 27rem; }
.coords {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 0.9rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--brown);
}
.coords__place {
  font-weight: 500;
  letter-spacing: 0.04em;
}

.grove__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1.25rem;
  align-items: start;
}
.grove__gallery-title { grid-column: 1 / -1; }
.shot img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.shot--a { grid-column: 1 / -1; }
.shot--a img { aspect-ratio: 4 / 5; }
.shot--d { grid-column: 1 / -1; }
.shot--d img { aspect-ratio: 7 / 5; }

@media (min-width: 48rem) {
  .grove__gallery {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: clamp(1.25rem, 2.5vw, 2.5rem);
  }
  .shot--a { grid-column: 1 / span 5; }
  .shot--b { grid-column: 6 / span 4; margin-top: clamp(3rem, 8vw, 7rem); }
  .shot--c { grid-column: 10 / span 3; margin-top: clamp(1rem, 2vw, 2rem); }
  .shot--c img { aspect-ratio: 2 / 3; }
  .shot--d { grid-column: 5 / span 8; margin-top: clamp(0.5rem, 2vw, 2rem); }
}

@media (min-width: 64rem) {
  .grove__detail {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: clamp(3rem, 7vw, 7rem);
    align-items: end;
  }
}

/* ---------- 4 · Unsere Oliven ---------- */

.olives {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
  padding: var(--section) var(--edge);
}
.olives__text { max-width: 38rem; }
.olives h2 em {
  font-weight: 300;
  color: var(--terra);
}
.varieties {
  margin-top: 2.25rem;
  border-top: 1px solid var(--line);
}
.variety {
  display: grid;
  gap: 0.5rem 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}
.variety dt {
  font-size: 1.6rem;
  line-height: 1.2;
  font-style: italic;
  font-weight: 360;
  color: var(--olive);
}
.olives__photo { max-width: 36rem; }
.olives__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

@media (min-width: 40rem) {
  .variety {
    grid-template-columns: 9.5rem minmax(0, 1fr);
    align-items: baseline;
  }
}
@media (min-width: 64rem) {
  .olives { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .olives__photo { max-width: none; }
}

/* ---------- 5 · Video ---------- */

.film {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: clamp(2.5rem, 5vw, 4rem);
  padding: var(--section) var(--edge);
  background: var(--olive-deep);
  color: var(--cream);
}
.film__intro {
  max-width: 40rem;
  text-align: center;
}
.film .eyebrow { color: var(--sand); }
.film h2 { color: var(--cream); }

.film__frame {
  width: 100%;
  max-width: 64rem;
}
.film__frame figcaption {
  margin-top: 0.9rem;
  text-align: center;
  color: var(--sand);
}

.player {
  position: relative;
  overflow: hidden;
  background: #2B3425;
}
.player video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.player.is-idle::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(53, 64, 45, 0.2);
  pointer-events: none;
}
.player__play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.7rem 0.95rem 1.4rem;
  border: 0;
  border-radius: 999px;
  background: var(--cream);
  color: var(--olive-deep);
  font: 600 1rem/1 var(--font-body);
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 0.5rem 2rem rgba(31, 38, 26, 0.35);
  transition: background-color 0.3s ease;
}
.player__play:hover { background: var(--sand); }
.player__play:focus-visible { outline-color: var(--cream); }
.player__play svg { fill: var(--terra); }

.player__missing {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-content: center;
  gap: 0.4rem;
  text-align: center;
  background: #2B3425;
  border-color: var(--line-light);
  color: var(--sand);
}

/* ---------- 6 · Unser Olivenöl ---------- */

.oil {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "head" "media" "info";
  gap: clamp(2.25rem, 6vw, 3rem);
  padding: var(--section) var(--edge);
}
.oil__head { grid-area: head; max-width: 34rem; }
.oil__info { grid-area: info; max-width: 34rem; }

.oil__media {
  grid-area: media;
  max-width: 30rem;
}
.oil__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* Erntedatum: kleine Angabe unter dem Einleitungstext */
.harvest {
  display: grid;
  gap: 0.2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.harvest__label {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brown);
}
.harvest__value {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 60, "WONK" 0;
  font-size: 1.4rem;
  line-height: 1.25;
  font-weight: 360;
  font-variant-numeric: lining-nums;
}

/* Preisliste: ruhige Zeilen mit feinen Linien, keine Kacheln */
.prices {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: lining-nums tabular-nums;
}
.prices caption {
  padding-bottom: 0.9rem;
  text-align: left;
}
.prices tbody th,
.prices tbody td {
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
  vertical-align: baseline;
  white-space: nowrap;
}
.prices tbody tr:last-child > * { border-bottom: 1px solid var(--line); }
.prices tbody th,
.prices__amount {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 60, "WONK" 0;
  font-size: 1.4rem;
  line-height: 1.2;
  font-weight: 360;
}
.prices tbody th { text-align: left; }
.prices tbody .prices__unit {
  width: 100%;
  padding-inline: 1rem;
  text-align: right;
  font-size: 0.84rem;
  color: var(--brown);
}
.prices__amount {
  text-align: right;
  color: var(--olive);
}
/* Bestellen: nur per Telefon oder E-Mail */
.order {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}
.order__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.order__actions .button {
  flex: 1 1 13rem;
  justify-content: center;
}
.order__direct {
  font-size: 0.84rem;
  color: var(--brown);
}

@media (min-width: 64rem) {
  .oil {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    grid-template-areas: "media head" "media info";
    grid-template-rows: auto auto;
    align-content: center;
    column-gap: clamp(3rem, 7vw, 6rem);
    row-gap: 2.5rem;
  }
  .oil__head { align-self: end; }
  .oil__info { align-self: start; }
  .oil__media { max-width: none; align-self: center; }
}

/* ---------- 7 · Abschluss ---------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
  padding: var(--section) var(--edge);
  background: var(--sand);
}
.contact .eyebrow { color: var(--brown); }
.contact h2 {
  max-width: 21ch;
  color: var(--olive-deep);
}
.contact .signature { color: var(--olive-deep); }

.contact__ways {
  display: grid;
  gap: 1.4rem;
}
.contact__ways li {
  display: grid;
  gap: 0.2rem;
  justify-items: start;
}
.contact__label {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brown);
}
.contact__ways a {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 60, "WONK" 0;
  font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.8rem);
  line-height: 1.25;
  font-weight: 360;
  font-variant-numeric: lining-nums;
  overflow-wrap: anywhere;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: color 0.3s ease;
}
.contact__ways a:hover { color: var(--terra); }

.contact__photo { max-width: 26rem; }
.contact__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

@media (min-width: 64rem) {
  .contact { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
  .contact__photo { max-width: none; }
}

/* ---------- Fußzeile ---------- */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  padding: clamp(2.5rem, 6vw, 4rem) var(--edge);
  background: var(--olive-deep);
  color: var(--cream);
}
.site-footer__logo {
  width: 11.5rem;
  height: auto;
}
.site-footer__place {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sand);
}
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  font-size: 0.88rem;
  color: var(--sand);
}
.soon {
  margin-left: 0.35rem;
  padding: 0.15rem 0.45rem;
  border: 1px dashed var(--line-light);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---------- Impressum und Datenschutz ---------- */

.legal { padding: clamp(3rem, 8vw, 6rem) var(--edge) var(--section); }
.legal__inner { max-width: 42rem; }
.legal h1 { font-size: clamp(2.3rem, 1.6rem + 2.6vw, 3.5rem); }
.legal h2 {
  font-size: 1.55rem;
  line-height: 1.2;
}
.legal .flow > .eyebrow + h1 { margin-top: 1rem; }
.legal .flow > h2 { margin-top: 2.75rem; }
.legal .flow > h2 + * { margin-top: 0.9rem; }
.legal address { font-style: normal; }
.legal ul {
  padding-left: 1.2rem;
  list-style: disc;
}
.legal li + li { margin-top: 0.35rem; }
.legal a { overflow-wrap: anywhere; }
.legal .flow > .legal__date {
  margin-top: 2.75rem;
  font-size: 0.84rem;
  color: var(--brown);
}
.legal .flow > .legal__back { margin-top: 2.5rem; }

.placeholder--note {
  display: grid;
  gap: 0.3rem;
  padding: 1rem 1.25rem;
}
.placeholder--inline {
  display: inline-block;
  margin-block: 0.15rem;
  padding: 0.05rem 0.55rem;
  font-size: 0.92em;
}

.site-footer__legal a { text-decoration-color: var(--line-light); }
.site-footer__legal a:hover,
.site-footer__legal a[aria-current="page"] { text-decoration-color: currentColor; }

/* ---------- Bewegung: zurückhaltend, und nur wenn erwünscht ---------- */

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  .hero__media img { animation: ankommen 1.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }

  .reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(1rem);
    transition: opacity 1s ease, transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .reveal-ready [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}

@keyframes ankommen {
  from { transform: scale(1.045); }
  to { transform: none; }
}

@media print {
  .site-header { position: static; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
