/* =========================================================================
   Weingut Thomas Hensel — private Seite über die Weine aus Bad Dürkheim
   Keine externen Fonts, keine externen Skripte, keine externen Bilder.
   Alles, was sich bewegt, ist unter „Bewegung" gesammelt und lässt sich
   über prefers-reduced-motion vollständig abschalten.
   ========================================================================= */

:root {
  --ink:        #101216;
  --ink-soft:   #1b1f26;
  --paper:      #ffffff;
  --paper-soft: #f4f5f7;
  --line:       #e1e4e9;
  --grey:       #5f6570;

  /* Hausfarbe: das Violett vom AUFWIND-Etikett, leicht entsättigt */
  --haus:       #6a5a93;
  --haus-d:     #4e4173;   /* Text auf Weiß */
  --haus-l:     #a99bd0;   /* Text auf Dunkel */

  /* genuss7 — ausschließlich für Links und Kauf-Buttons */
  --g7-green:   #1e5128;
  --g7-green-d: #17401f;

  --serif: Georgia, "Times New Roman", Times, serif;
  --sans:  "Myriad Pro", "Open Sans", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --gap:  clamp(48px, 7vw, 104px);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* Linienfarben. Eine Klasse auf der Section färbt Eyebrow, Rule, Badge,
   Zahlen, Karten-Hover und den aktiven Ankerlink automatisch mit. */
.line--aufwind    { --haus:#6a5a93; --haus-d:#4e4173; --haus-l:#b3a6d8; }
.line--hoehenflug { --haus:#2f6f91; --haus-d:#245c79; --haus-l:#8ec4e0; }
.line--ikarus     { --haus:#b5762f; --haus-d:#8a5820; --haus-l:#e0ae6d; }
.line--zero       { --haus:#7e9a85; --haus-d:#4f6a56; --haus-l:#b3ccb8; }

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;   /* sonst verschwinden Ankerziele unterm Header */
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--g7-green); }
a:hover { color: var(--g7-green-d); }

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.18;
  margin: 0 0 .6em;
  letter-spacing: .01em;
}

h1 { font-size: clamp(31px, 5.4vw, 58px); }
h2 { font-size: clamp(25px, 3.4vw, 38px); }
h3 { font-size: clamp(19px, 2.1vw, 24px); }
h4 { font-size: 18px; }

p { margin: 0 0 1.1em; }

.wrap        { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 40px, 800px);       margin-inline: auto; }

.section { padding-block: var(--gap); position: relative; }
.section--soft { background: var(--paper-soft); }
.section--ink  { background: var(--ink); color: #e6e8ec; }
.section--ink h2, .section--ink h3 { color: #fff; }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--haus-d);
  margin: 0 0 14px;
}
.section--ink .eyebrow, .feature .eyebrow, .hero .eyebrow { color: var(--haus-l); }

.lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.6; }

.rule {
  width: 56px; height: 2px; background: var(--haus);
  border: 0; margin: 0 0 26px;
}
.rule--center { margin-inline: auto; }

.center { text-align: center; }
.mt-l   { margin-top: 46px; }
.mt-m   { margin-top: 36px; }
.narrow { max-width: 70ch; }

/* ------------------------------------------------------------------ Buttons */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 32px;
  border: 1px solid transparent;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s var(--ease);
  cursor: pointer;
}
.btn + .btn { margin-left: 12px; }
.btn:active { transform: translateY(1px); }

.btn--shop       { background: var(--g7-green); color: #fff; }
.btn--shop:hover { background: var(--g7-green-d); color: #fff; }

.btn--haus       { background: var(--haus); color: #fff; }
.btn--haus:hover { background: var(--haus-d); color: #fff; }

.btn--ghost       { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn--outline       { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }

.btn--small { padding: 11px 22px; font-size: 12px; }

/* ------------------------------------------------------------------- Header */

.topbar {
  background: var(--g7-green);
  color: #fff;
  font-size: 13px;
  letter-spacing: .04em;
}
.topbar .wrap {
  display: flex; flex-wrap: wrap; gap: 6px 24px;
  align-items: center; justify-content: space-between;
  padding-block: 9px;
}
.topbar a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

.header-sentinel { height: 1px; margin-bottom: -1px; }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(16,18,22,.94);
  border-bottom: 1px solid rgba(169,155,208,.24);
  transition: background .22s ease, box-shadow .22s ease;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding-block: 16px;
  transition: padding .22s ease;
}
.is-scrolled .site-header {
  background: rgba(16,18,22,.985);
  box-shadow: 0 6px 26px rgba(0,0,0,.28);
}
.is-scrolled .site-header .wrap { padding-block: 9px; }
.is-scrolled .brand__name { font-size: 20px; }
.is-scrolled .brand__sub  { opacity: 0; height: 0; margin-top: 0; }

.brand { text-decoration: none; color: #fff; display: block; }
.brand__name {
  font-family: var(--serif);
  font-size: 25px; letter-spacing: .3em; text-transform: uppercase;
  line-height: 1; white-space: nowrap;
  transition: font-size .22s ease;
}
.brand__sub {
  display: block; margin-top: 7px;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--haus-l);
  overflow: hidden;
  transition: opacity .18s ease, height .22s ease, margin .22s ease;
}

.nav { display: flex; align-items: center; gap: 24px; }
.nav a {
  color: #d5d8de; text-decoration: none;
  font-size: 14px; letter-spacing: .07em; text-transform: uppercase;
  padding-block: 6px; border-bottom: 1px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--haus-l); }
.nav .btn { padding: 11px 22px; font-size: 12px; }
.nav .btn:hover { border-bottom-color: transparent; }

.nav-toggle {
  display: none;
  background: none; border: 1px solid rgba(255,255,255,.4); color: #fff;
  padding: 9px 14px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
}

/* Lesefortschritt, direkt unter dem Header */
.progress {
  position: fixed; left: 0; top: 0; z-index: 70;
  height: 3px; width: 100%;
  background: var(--haus);
  transform: scaleX(var(--progress, 0));
  transform-origin: 0 50%;
  pointer-events: none;
}

.skip {
  position: absolute; left: -9999px;
  background: #fff; color: var(--ink); padding: 12px 18px; z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------------------------------------------------------------------- Hero */

.hero {
  position: relative;
  min-height: clamp(460px, 76vh, 730px);
  display: flex; align-items: center;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background: var(--ink) center/cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(8,9,12,.80) 0%, rgba(8,9,12,.52) 52%, rgba(8,9,12,.20) 100%);
}
.hero .wrap { position: relative; z-index: 2; padding-block: 84px; }
.hero__inner { max-width: 680px; }
.hero h1 { color: #fff; margin-bottom: .35em; text-wrap: balance; }
.hero p { font-size: clamp(17px, 1.9vw, 20px); color: #e2e4e9; max-width: 54ch; }
.hero .btn { margin-top: 14px; }

.hero--page { min-height: clamp(300px, 44vh, 430px); }
.hero--page h1 { margin-bottom: .25em; }

/* ------------------------------------------------------------------- Trust */

.trust { background: var(--ink-soft); color: #d5d8de; }
.trust ul {
  list-style: none; margin: 0; padding: 18px 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 40px;
  font-size: 14px; letter-spacing: .04em;
}
.trust li::before { content: "▪"; color: var(--haus-l); margin-right: 9px; }

/* ------------------------------------------------ Ankerleiste „Flughöhe" */

.line-nav {
  position: sticky; top: 60px; z-index: 40;
  background: var(--ink-soft);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.line-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 4px 30px; justify-content: center;
}
.line-nav a {
  display: block; padding: 15px 0;
  color: #b9bdc6; text-decoration: none;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  border-bottom: 2px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.line-nav a:hover { color: #fff; }
.line-nav a[aria-current="true"] { color: #fff; border-bottom-color: var(--haus-l); }

/* -------------------------------------------------------------------- Grids */

.grid { display: grid; gap: 30px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Kategorie-Kachel */
.tile {
  position: relative; display: block; overflow: hidden;
  text-decoration: none; color: #fff; background: var(--ink);
  min-height: 330px;
}
.tile img {
  width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0;
  opacity: .78;
  transition: transform .7s var(--ease), opacity .4s ease;
}
.tile__body {
  position: relative; z-index: 2; padding: 28px;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 330px;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 28%, rgba(0,0,0,.80) 100%);
}
.tile__body h3 { color: #fff; margin-bottom: .3em; }
.tile__body p { font-size: 15px; color: #d7dae0; margin: 0; }
.tile__more {
  margin-top: 14px; font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--haus-l);
}

/* ---------------------------------------------------------------- Weinkarte */

.wine {
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s var(--ease);
}
.wine__media {
  background: var(--paper-soft);
  padding: 26px; text-align: center; overflow: hidden;
}
.wine__media img {
  margin-inline: auto; max-height: 300px; width: auto;
  transition: transform .6s var(--ease);
}
.wine__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.wine__badge {
  display: inline-block; align-self: flex-start;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--haus-d); border: 1px solid var(--haus); padding: 4px 10px;
  margin-bottom: 12px;
}
.wine__body h3 { font-size: 21px; margin-bottom: .4em; }
.wine__body p  { font-size: 15.5px; color: #33363d; }

.specs { width: 100%; border-collapse: collapse; margin: 6px 0 18px; font-size: 14px; }
.specs th, .specs td { text-align: left; padding: 7px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { font-weight: 400; color: var(--grey); width: 48%; }
.specs td { font-weight: 700; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }

/* Süßeskala, direkt aus dem Restzuckerwert des Shops */
.sweet { margin: 0 0 18px; font-size: 12px; color: var(--grey); }
.sweet__bar {
  display: block;
  position: relative; height: 4px; margin: 8px 0 6px;
  background: linear-gradient(90deg, var(--line), var(--haus-l));
}
.sweet__bar span {
  position: absolute; top: -4px; left: var(--v, 0%);
  width: 12px; height: 12px; margin-left: -6px;
  background: var(--haus); border-radius: 50%;
}
.sweet__scale { display: flex; justify-content: space-between; letter-spacing: .1em; text-transform: uppercase; font-size: 10.5px; }

.wine__cta { margin-top: auto; }
.wine__cta .btn { display: block; text-align: center; }

/* Riesige Etiketten-Kürzel als blasses Wasserzeichen */
.label-mark {
  position: absolute; right: 2%; top: 6%;
  font-family: var(--sans); font-weight: 700; text-transform: lowercase;
  letter-spacing: -.06em; line-height: .78;
  font-size: clamp(90px, 15vw, 240px);
  color: var(--ink); opacity: .045;
  pointer-events: none; user-select: none; z-index: 0;
}
.section--ink .label-mark { color: #fff; opacity: .05; }
.section > .wrap { position: relative; z-index: 1; }

/* ------------------------------------------------------------------- Splits */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { overflow: hidden; }
.split__media img { width: 100%; object-fit: cover; }
.split--portrait .split__media img { max-height: 640px; }

/* ------------------------------------------------------------------ Feature */

.feature {
  position: relative; color: #fff;
  background: var(--ink) center/cover no-repeat fixed;
  padding-block: clamp(84px, 12vw, 156px);
  text-align: center;
}
.feature::after { content: ""; position: absolute; inset: 0; background: rgba(8,9,12,.62); }
.feature .wrap-narrow { position: relative; z-index: 2; }
.feature h2 { color: #fff; }
.feature p { color: #e2e4e9; }

/* Redaktionelles Vollbreiten-Band, z. B. für Ikarus */
.band { background: var(--ink); color: #e6e8ec; padding-block: var(--gap); position: relative; overflow: hidden; }
.band h2, .band h3 { color: #fff; }
.band .split__media img { border: 1px solid rgba(255,255,255,.12); }

/* --------------------------------------------------------------------- Fakt */

.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; grid-template-columns: repeat(4, 1fr); }
.facts strong {
  display: block; font-family: var(--serif); font-size: clamp(32px, 4.2vw, 48px);
  color: var(--haus-d); line-height: 1; margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.facts span { font-size: 15px; color: var(--grey); }
.section--ink .facts span  { color: #b8bcc5; }
.section--ink .facts strong { color: var(--haus-l); }

/* ------------------------------------------------------------------- Prosa */

.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.7em; color: var(--ink); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose img { margin: 1.8em 0; }
.prose figure { margin: 1.8em 0; }
.prose figcaption { font-size: 13.5px; color: var(--grey); margin-top: 8px; }
.prose blockquote {
  margin: 1.8em 0; padding: 4px 0 4px 26px;
  border-left: 3px solid var(--haus);
  font-family: var(--serif); font-size: clamp(19px, 2.2vw, 24px); line-height: 1.45;
  color: var(--ink-soft);
}
.prose blockquote cite { display: block; margin-top: 14px; font: 400 14px/1.4 var(--sans); color: var(--grey); font-style: normal; }

.table-wrap { overflow-x: auto; margin: 0 0 1.6em; }
table.data { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 460px; }
table.data th, table.data td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
table.data thead th { background: var(--paper-soft); color: var(--ink); font-weight: 700; }

/* --------------------------------------------------------------------- FAQ */

details.faq { border-bottom: 1px solid var(--line); padding: 4px 0; }
details.faq summary {
  cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: 20px;
  padding: 18px 34px 18px 0; position: relative;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 15px;
  font-size: 26px; color: var(--haus-d); line-height: 1;
}
details.faq[open] summary::after { content: "–"; }
details.faq p { padding-right: 34px; margin-bottom: 18px; }

@supports (interpolate-size: allow-keywords) {
  details.faq::details-content {
    height: 0; overflow: hidden;
    transition: height .3s var(--ease), content-visibility .3s allow-discrete;
  }
  details.faq[open]::details-content { height: auto; }
}

/* ---------------------------------------------------------------- Beiträge */

.post-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); background: var(--paper);
  transition: border-color .22s ease, box-shadow .22s ease;
}
.post-card__body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--haus-d); margin-bottom: 10px; }
.post-card h3 { font-size: 21px; margin-bottom: .45em; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--haus-d); }
.post-card p { font-size: 15.5px; color: #33363d; }
.post-card__more { margin-top: auto; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }

.post-meta { font-size: 13.5px; color: var(--grey); letter-spacing: .04em; }

.shopbox {
  border: 1px solid var(--line); border-left: 3px solid var(--haus);
  background: var(--paper-soft); padding: 26px 28px; margin: 2.4em 0 1.6em;
}
.shopbox h3 { margin-bottom: .4em; }
.shopbox p:last-of-type { margin-bottom: 1.1em; }

/* ----------------------------------------------------------------- Kontakt */

.info-card { border: 1px solid var(--line); padding: 32px; background: var(--paper); height: 100%; }
.info-card h3 { margin-bottom: .5em; }
.info-card p:last-child { margin-bottom: 0; }

.notice {
  border: 1px solid var(--line); background: var(--paper-soft);
  padding: 20px 24px; font-size: 15px; color: #33363d;
}

/* ------------------------------------------------------------------ Footer */

.site-footer { background: var(--ink); color: #a7abb4; font-size: 15px; padding-block: 56px 34px; }
.site-footer a { color: #d2d5db; text-decoration: none; }
.site-footer a:hover { color: var(--haus-l); text-decoration: underline; }
.site-footer h4 {
  color: #fff; font-family: var(--sans); font-size: 12px;
  letter-spacing: .18em; text-transform: uppercase; margin-bottom: 16px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-bottom {
  margin-top: 44px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between;
  font-size: 13px; color: #838790;
}
.footer-legal { font-size: 13.5px; line-height: 1.6; }

/* ==================================================================== Bewegung
   Grundregel: Ohne JavaScript ist alles sichtbar. Erst html.js darf
   verstecken — sonst bleibt bei einem Skriptfehler die Seite leer.
   ============================================================================ */

[data-reveal] { opacity: 1; transform: none; }

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Der Versatz kommt aus CSS, damit JS keine Inline-Styles schreiben muss */
.js .reveal-group.is-in > *:nth-child(1) { transition-delay: 0ms; }
.js .reveal-group.is-in > *:nth-child(2) { transition-delay: 90ms; }
.js .reveal-group.is-in > *:nth-child(3) { transition-delay: 180ms; }
.js .reveal-group.is-in > *:nth-child(4) { transition-delay: 270ms; }
.js .reveal-group.is-in > *:nth-child(5) { transition-delay: 360ms; }
.js .reveal-group.is-in > *:nth-child(6) { transition-delay: 450ms; }
.js .reveal-group.is-in > *:nth-child(7) { transition-delay: 540ms; }
.js .reveal-group.is-in > *:nth-child(n+8) { transition-delay: 630ms; }
.js .reveal-group > * {
  opacity: 0; transform: translateY(18px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.js .reveal-group.is-in > * { opacity: 1; transform: none; }

/* Das LCP-Element wird nicht eingeblendet, nur bewegt — sonst verschiebt
   sich der gemessene Zeitpunkt des größten Elements. */
.js .hero h1 { opacity: 1; transform: translateY(14px); transition: transform .7s var(--ease); }
.js .hero h1.is-in { transform: none; }

/* Ken Burns auf einer eigenen Ebene, nie auf background-position */
@keyframes kenburns {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to   { transform: scale(1.11) translate3d(-1.6%, -1.1%, 0); }
}
.js .hero__bg {
  will-change: transform;
  animation: kenburns 30s ease-in-out infinite alternate;
}

/* Transform-Parallax: eine einzige Custom Property, CSS rechnet den Rest */
.js [data-parallax] {
  transform: translate3d(0, calc(var(--sy, 0) * -0.05px), 0);
  will-change: transform;
}

/* Lesefortschritt nativ, wo verfügbar */
@keyframes progress-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@supports (animation-timeline: scroll()) {
  .progress {
    transform: scaleX(0);
    animation: progress-grow linear;
    animation-timeline: scroll(root block);
  }
}

@media (hover: hover) and (pointer: fine) {
  .tile:hover img       { transform: scale(1.06); opacity: .86; }
  .wine:hover           { border-color: var(--haus); box-shadow: 0 14px 40px rgba(16,18,22,.10); }
  .wine:hover .wine__media img { transform: scale(1.045); }
  .post-card:hover      { border-color: var(--haus); box-shadow: 0 14px 40px rgba(16,18,22,.10); }
}

/* --------------------------------------------------------------- Responsive */

@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .facts   { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .feature { background-attachment: scroll; }   /* iOS kennt fixed nicht */
  .line-nav { top: 52px; }
  .line-nav ul { gap: 2px 20px; }
  .line-nav a { font-size: 12px; padding: 12px 0; }

  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-top: 1px solid rgba(169,155,208,.28);
    padding: 10px 20px 22px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.09); }
  .nav .btn { margin-top: 16px; text-align: center; }
  .site-header .wrap { position: relative; }
  .is-scrolled .brand__sub { opacity: 1; height: auto; margin-top: 7px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  html { scroll-padding-top: 76px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .split, .split--reverse .split__media { grid-template-columns: 1fr; order: 0; }
  .facts, .footer-grid { grid-template-columns: 1fr; }
  .btn { display: block; text-align: center; }
  .btn + .btn { margin-left: 0; margin-top: 12px; }
  .brand__name { font-size: 20px; letter-spacing: .24em; }
  .topbar .wrap { justify-content: center; text-align: center; }
  .hero .wrap { padding-block: 60px; }
  .hero--page .wrap { padding-block: 48px; }
  .label-mark { display: none; }
  .line-nav ul { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; }
  .line-nav a { white-space: nowrap; }
}

/* ------------------------------------------------------- Bewegung abschalten */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js [data-reveal],
  .js .reveal-group > *,
  .js .hero h1 { opacity: 1 !important; transform: none !important; }
  .js [data-parallax] { transform: none !important; }
  .js .hero__bg { animation: none; transform: none; }
  .feature { background-attachment: scroll; }
}

@media print {
  .site-header, .topbar, .line-nav, .progress, .nav-toggle, .site-footer { display: none; }
  body { font-size: 12pt; color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
}
