/* Buche 7 · See-You-Soon-Seite. Alles in einer Datei, von oben nach unten:
   Farben und Maße, Grundregeln, Kopf und Fuß, dann die Teile der Seite. */

/* spectral-cyrillic-ext-300-normal */
/* spectral-cyrillic-300-normal */
/* spectral-vietnamese-300-normal */
/* spectral-latin-ext-300-normal */
/* spectral-latin-300-normal */
/* spectral-cyrillic-ext-300-italic */
/* spectral-cyrillic-300-italic */
/* spectral-vietnamese-300-italic */
/* spectral-latin-ext-300-italic */
/* spectral-latin-300-italic */
/* spectral-cyrillic-ext-400-normal */
/* spectral-cyrillic-400-normal */
/* spectral-vietnamese-400-normal */
/* spectral-latin-ext-400-normal */
/* spectral-latin-400-normal */
/* spectral-cyrillic-ext-400-italic */
/* spectral-cyrillic-400-italic */
/* spectral-vietnamese-400-italic */
/* spectral-latin-ext-400-italic */
/* spectral-latin-400-italic */
/* archivo-vietnamese-wght-normal */
/* archivo-latin-ext-wght-normal */
/* archivo-latin-wght-normal */
/* Buche 7 · Design-Tokens aus dem Markenhandbuch, Ausgabe 1 */

:root {
  /* Farben: Buchenholz, gedeckter Tisch */
  --papier: #f4efe6;
  --kalk: #eae2d3;
  --sand: #d8cbb4;
  --taupe: #a08b6f;
  --umbra: #6b5138;
  --espresso: #2e2419;
  --laub: #55604b;

  /* Semantik: nie mehr als zwei Flächenfarben je Anwendung */
  --bg: var(--papier);
  --bg-2: var(--kalk);
  --line: var(--sand);
  --ink: var(--espresso);
  --ink-2: var(--umbra);
  --label: var(--umbra);
  --label-soft: var(--taupe);
  --accent: var(--umbra);
  --btn-bg: var(--espresso);
  --btn-ink: var(--papier);
  --scrim: 46 36 25;

  /* Schrift: Spectral ist die Stimme, Archivo die Ordnung */
  --font-stimme: 'Spectral', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --font-ordnung: 'Archivo Variable', 'Archivo', 'Helvetica Neue', Arial, sans-serif;

  --t-display: clamp(2.75rem, 1.4rem + 5.2vw, 5.5rem); /* Titel 44 bis 88 */
  --t-h2: clamp(2.125rem, 1.2rem + 3.4vw, 4rem);
  --t-h3: clamp(1.5rem, 1.15rem + 1.3vw, 2.25rem);
  --t-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --t-body: clamp(1rem, 0.94rem + 0.28vw, 1.1875rem); /* Lesetext 16 bis 19 */
  --t-small: 0.9375rem;
  --t-label: 0.75rem; /* Etikett 10 bis 13 */
  --t-label-s: 0.6875rem;
  --track-label: 0.18em;
  --lh-body: 1.7;
  --lh-title: 1.08;

  /* Raum */
  --gutter: clamp(1.25rem, 5vw, 5.5rem);
  --max: 1400px;
  --measure: 62ch;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;
  --space-7: clamp(6rem, 12vw, 11rem);
  --section: clamp(7rem, 14vw, 13.5rem);

  /* Bewegung */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-1: 0.35s;
  --dur-2: 0.8s;
  --dur-3: 1.2s;

  /* Kanten: Papier hat keine Rundungen */
  --radius: 0;

  --nav-h: 76px;
  --z-nav: 40;
  --z-menu: 50;
  --z-preloader: 60;
}

/* Espresso als Fläche gibt es nur noch im Menü; die Seiten bleiben hell. */
[data-theme='abend'] {
  --bg: var(--espresso);
  --bg-2: #3a2e22;
  --line: #4d3d2e;
  --ink: var(--papier);
  --ink-2: var(--sand);
  --label: var(--sand);
  --label-soft: var(--taupe);
  --accent: var(--sand);
  --btn-bg: var(--papier);
  --btn-ink: var(--espresso);
  --scrim: 244 239 230;
}

/* Kalk-Fläche als zweite Fläche innerhalb der hellen Welt */
[data-surface='kalk'] {
  --bg: var(--kalk);
  --bg-2: var(--papier);
}
/* Buche 7 · Basis */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: auto;
  background: var(--papier);
}

html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-stimme);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'kern', 'liga', 'onum';
  overflow-x: clip;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}
a,
button,
input,
label {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 1.5px solid var(--accent);
  outline-offset: 4px;
}

/* Typografie */

h1,
h2,
h3,
h4 {
  font-family: var(--font-stimme);
  font-weight: 300;
  line-height: var(--lh-title);
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
}
h1 em,
h2 em,
h3 em,
.italic {
  font-style: italic;
  font-weight: 300;
}
h1 {
  font-size: var(--t-display);
}
h2 {
  font-size: var(--t-h2);
}
h3 {
  font-size: var(--t-h3);
}
h4 {
  font-size: var(--t-lead);
}

p {
  margin: 0;
}
p + p {
  margin-top: 1em;
}

.lead {
  font-size: var(--t-lead);
  line-height: 1.5;
  font-weight: 300;
}
.small {
  font-size: var(--t-small);
}
.muted {
  color: var(--ink-2);
}
.measure {
  max-width: var(--measure);
}

/* Etikett: Archivo, versal, gesperrt */
.label {
  font-family: var(--font-ordnung);
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--label);
  line-height: 1.4;
}
.label-s {
  font-size: var(--t-label-s);
}
.label.soft {
  color: var(--label-soft);
}

.num {
  font-family: var(--font-ordnung);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

/* Links */
.link {
  position: relative;
  display: inline-block;
  font-family: var(--font-ordnung);
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  padding-bottom: 0.35em;
}
.link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transition: transform var(--dur-2) var(--ease-out);
}
.link:hover::after {
  transform: scaleX(0.35);
  transform-origin: left;
}
.link-text {
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--label-soft);
  transition: text-decoration-color var(--dur-1);
}
.link-text:hover {
  text-decoration-color: currentColor;
}

/* Buttons: rechteckig wie ein Etikett */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
  font-family: var(--font-ordnung);
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  line-height: 1;
  padding: 1.1em 1.6em;
  background: var(--btn-bg);
  color: var(--btn-ink);
  border: 1px solid var(--btn-bg);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    color var(--dur-2) var(--ease-out),
    border-color var(--dur-2) var(--ease-out),
    transform var(--dur-1) var(--ease-out);
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg);
  transform: translateY(101%);
  transition: transform var(--dur-2) var(--ease-out);
  z-index: -1;
}
.btn:hover {
  color: var(--ink);
}
.btn:hover::before {
  transform: translateY(0);
}
.btn:active {
  transform: translateY(1px);
}
.btn .icon {
  width: 1.1em;
  height: 1.1em;
  transition: transform var(--dur-2) var(--ease-out);
}
.btn:hover .icon {
  transform: translateX(0.25em);
}
/* Mit dem Finger bedient: Knöpfe mindestens 44 px hoch */
@media (max-width: 1023px) {
  .btn {
    min-height: 2.75rem;
  }
}
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn.ghost::before {
  background: var(--ink);
}
.btn.ghost:hover {
  color: var(--bg);
  border-color: var(--ink);
}

/* Layout */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap-wide {
  width: 100%;
  padding-inline: var(--gutter);
}
.section {
  padding-block: var(--section);
}
.section-tight {
  padding-block: var(--space-6);
}
.grid {
  display: grid;
  gap: var(--space-4);
}
.grid-12 {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2.5vw, 2.5rem);
}
.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* Bilder: ein Bild pro Fläche, es darf atmen */
.frame {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
}
.frame > picture,
.frame > img,
.frame > video,
.frame > div > picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.frame img,
.frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.frame.r-3-2 {
  aspect-ratio: 3 / 2;
}
.frame.r-2-3 {
  aspect-ratio: 2 / 3;
}
.frame.r-4-5 {
  aspect-ratio: 4 / 5;
}
.frame.r-1-1 {
  aspect-ratio: 1;
}
.frame.r-16-9 {
  aspect-ratio: 16 / 9;
}
.frame.r-4-3 {
  aspect-ratio: 4 / 3;
}
.frame.r-21-9 {
  aspect-ratio: 21 / 9;
}
.frame .zoom {
  transition: transform 1.4s var(--ease-out);
  will-change: transform;
}
.frame:hover .zoom,
a:hover .frame .zoom {
  transform: scale(1.04);
}

/* Bildunterschrift */
.caption {
  margin-top: 0.9rem;
  font-size: var(--t-small);
  color: var(--ink-2);
  font-style: italic;
}

/* Icons */
.icon {
  width: 1.5rem;
  height: 1.5rem;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Bewegung: Startzustände, die GSAP auflöst */
[data-reveal] {
  opacity: 0;
  transform: translateY(1rem);
}
[data-split],
[data-fill] {
  visibility: hidden;
}
[data-hero-intro] {
  opacity: 0;
}
.no-motion [data-hero-intro] {
  opacity: 1;
}
[data-split] .line {
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}
.no-motion [data-reveal] {
  opacity: 1;
  transform: none;
}
.no-motion [data-split],
.no-motion [data-fill] {
  visibility: visible;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  [data-hero-intro] {
    opacity: 1;
    transform: none;
  }
  [data-split],
  [data-fill] {
    visibility: visible;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Utilities */
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hide-mobile {
  display: none;
}
@media (min-width: 768px) {
  .hide-mobile {
    display: initial;
  }
  .hide-desktop {
    display: none;
  }
}

/* Formulare: Etikett über dem Feld, Fehler darunter */
.field {
  display: grid;
  gap: 0.5rem;
}
.field label {
  font-family: var(--font-ordnung);
  font-size: var(--t-label-s);
  font-weight: 500;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--label);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: var(--t-body);
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 0.6em 0;
  width: 100%;
  transition: border-color var(--dur-1);
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--label-soft);
  opacity: 1;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%236b5138' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 1.5rem;
}
.field textarea {
  min-height: 6rem;
  resize: vertical;
}
.field .hint {
  font-size: var(--t-small);
  color: var(--ink-2);
}
.field .error {
  font-size: var(--t-small);
  color: #8a3b2c;
  display: none;
}
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-bottom-color: #8a3b2c;
}
.field.is-invalid .error {
  display: block;
}
.form-row {
  display: grid;
  gap: var(--space-3) var(--space-4);
}
@media (min-width: 640px) {
  .form-row.cols-2 {
    grid-template-columns: 1fr 1fr;
  }
  .form-row.cols-3 {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.honey {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}
.form-status {
  font-size: var(--t-small);
  color: var(--ink-2);
  min-height: 1.5em;
}
.form-status.ok {
  color: var(--laub);
}
.form-status.err {
  color: #8a3b2c;
}
/* Buche 7 · Vorab-Seite: Ergänzungen zur gemeinsamen Basis (tokens.css, base.css) */

:root {
  --kopf-h: 5rem;
}

/* Papierkorn: liegt fest über allem und greift nicht ein */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='k'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23k)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* Kopf: Wortmarke links, Eintragen rechts */
.kopf {
  position: relative;
  z-index: 3;
}
.kopf-zeile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  height: var(--kopf-h);
}
.kopf-logo {
  display: inline-flex;
  color: var(--ink);
}
.kopf-logo .logo-word {
  opacity: 1;
}
.kopf-rechts {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
}
.kopf-btn {
  padding: 0.95em 1.35em;
}
@media (max-width: 767px) {
  .kopf-zeile {
    height: 4.5rem;
  }
  .kopf-btn {
    padding: 0.9em 1.1em;
  }
}

/* Fuß */
.fuss {
  background: var(--kalk);
  border-top: 1px solid var(--line);
  padding-block: var(--space-6) calc(var(--space-4) + env(safe-area-inset-bottom, 0px));
}
.fuss-grid {
  display: grid;
  gap: var(--space-5);
}
.fuss-marke {
  color: var(--ink);
}
.fuss-col {
  display: grid;
  gap: 0.7rem;
  align-content: start;
  justify-items: start;
  font-size: var(--t-small);
}
.fuss-col p {
  margin: 0;
}
.fuss-kontakt {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.fuss-kontakt .icon {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--ink-2);
}
.fuss-kontakt:hover span {
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}
.fuss-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
  font-family: var(--font-ordnung);
  font-size: var(--t-label-s);
  letter-spacing: 0.08em;
  color: var(--ink-2);
}
.fuss-legal {
  display: flex;
  gap: 1.5rem;
}
.fuss-bottom a:hover {
  color: var(--ink);
}
/* Am Handy steht der Fuß mittig unter der Marke */
@media (max-width: 767px) {
  .fuss-grid {
    justify-items: center;
    text-align: center;
    gap: var(--space-4);
  }
  .fuss-col {
    justify-items: center;
  }
  .fuss-col p {
    max-width: 24ch;
  }
  .fuss-bottom {
    justify-content: center;
    text-align: center;
    gap: 0.6rem 1.5rem;
  }
  .fuss-legal {
    justify-content: center;
  }
}
@media (min-width: 768px) {
  .fuss-grid {
    grid-template-columns: auto 1fr 1fr;
    gap: var(--space-6);
    align-items: start;
  }
}

/* Rechtstexte, Danke, 404 */
.legal-seite {
  padding-block: var(--space-5) var(--space-7);
}

/* Während des Auftakts steht die Seite still */
html.intro-laeuft {
  overflow: hidden;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  color: inherit;
  line-height: 1;
  --mark-h: 1.7em;
}

.zwiesel {
  height: var(--mark-h);
  width: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35px;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.logo-word {
  font-family: var(--font-stimme);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: .34em;
  font-size: 1em;
  white-space: nowrap;
  display: inline-flex;
  align-items: baseline;
  gap: .34em;
}

.logo-word .w {
  letter-spacing: inherit;
}

.logo-word .seven {
  font-style: italic;
  letter-spacing: 0;
  position: relative;
  top: -.02em;
}

.logo-stacked {
  flex-direction: column;
  gap: 1.1em;
  text-align: center;
  --mark-h: 2.6em;
}

.logo-stacked .logo-word {
  padding-left: .34em;
}

.logo-sub {
  margin-top: .6em;
  letter-spacing: .22em;
}

.logo-s {
  font-size: .8rem;
}

.logo-m {
  font-size: 1rem;
}

.logo-l {
  font-size: 1.6rem;
}

.logo-xl {
  font-size: clamp(2rem, 1rem + 4vw, 4rem);
}

.logo-mark {
  --mark-h: 2em;
}
.consent {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  z-index: 25;
  background: var(--papier);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -36px #2e241973;
  transform: translateY(1rem);
  opacity: 0;
  transition: transform .7s var(--ease-out),
      opacity .7s var(--ease-out);
}

.consent.is-open {
  transform: none;
  opacity: 1;
}

.consent-inner {
  display: grid;
  gap: .9rem;
  padding: 1.1rem 1.25rem 1.2rem;
}

.consent-text {
  margin: 0;
  font-size: var(--t-small);
  line-height: 1.5;
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.consent .btn {
  padding: .85em 1.1em;
}

@media (width <= 899px) {
  .consent-inner {
    gap: .75rem;
    padding: .9rem 1rem 1rem;
  }

  .consent-text {
    font-size: .9rem;
    line-height: 1.45;
  }

  .consent-actions {
    gap: .5rem;
  }

  .consent .btn {
    flex: auto;
    justify-content: center;
    min-height: 2.75rem;
    padding: .7em .8em;
    letter-spacing: .12em;
  }
}

@media (width >= 900px) {
  .consent {
    left: var(--gutter);
    right: auto;
    bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
    width: min(26rem, calc(100vw - 2 * var(--gutter)));
  }
}

/* ---------- Die Seite selbst: Bühne, Eintragung, Rechtstexte ---------- */

.nl {
  display: grid;
  gap: .4rem;
  width: 100%;
}

.nl-fields {
  display: grid;
  gap: .9rem 1.5rem;
  align-items: center;
}

.field.nl-field input {
  padding: .6em 0;
  font-size: var(--t-small);
  border-bottom-color: var(--ink);
}

@media (width <= 1023px) {
  .field.nl-field input {
    font-size: 1rem;
    padding: .7em 0;
  }
}

.field.nl-field input::placeholder {
  font-family: var(--font-ordnung);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 1;
}

.field.nl-field .error, .field.nl-check .error {
  font-size: .75rem;
}

.nl-check {
  gap: .25rem;
}

.field.nl-check .nl-check-label {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--font-ordnung);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.3;
  white-space: nowrap;
  cursor: pointer;
}

.field.nl-check .nl-check-label input {
  appearance: none;
  -webkit-appearance: none;
  width: 1.5rem;
  height: 1.5rem;
  margin: 0;
  flex: none;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--bg);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.field.nl-check .nl-check-label input:before {
  content: "";
  width: .8rem;
  height: .8rem;
  background: var(--ink);
  transform: scale(0);
  transition: transform .2s var(--ease-out);
}

.field.nl-check .nl-check-label input:checked:before {
  transform: scale(1);
}

@media (width <= 1023px) {
  .field.nl-check .nl-check-label {
    padding-block: .5rem;
  }

  .field.nl-check .nl-check-label input {
    width: 1.75rem;
    height: 1.75rem;
  }
}

.nl-btn {
  justify-self: start;
  padding: .85em 1.2em;
}

.nl-status:empty {
  display: none;
}

.nl-status, .nl-thanks {
  font-size: var(--t-small);
  margin: 0;
}

@media (width >= 640px) {
  .nl-fields {
    grid-template-columns: 1fr 1fr;
  }

  .nl-check {
    grid-column: 1 / -1;
  }
}

@media (width >= 1024px) {
  .nl .nl-fields {
    grid-template-columns: minmax(8rem, 1fr) minmax(8rem, 1fr) auto auto;
    gap: clamp(1.5rem, 2.6vw, 3.5rem);
    align-items: center;
  }

  .nl .nl-check {
    grid-column: auto;
  }

  .nl-footer .nl-fields {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto auto;
    gap: var(--space-5);
  }

  .nl-footer .nl-btn {
    justify-self: end;
  }
}
.intro {
  position: fixed;
  inset: 0;
  z-index: 28;
  display: grid;
  place-items: center;
  overflow: hidden;
  touch-action: none;
  overscroll-behavior: contain;
  background: var(--papier);
  color: var(--ink);
  animation: .8s 10s forwards intro-notfall;
}

@keyframes intro-notfall {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.no-motion .intro, .no-motion .intro-mark {
  display: none;
}

.intro-licht {
  position: absolute;
  inset: -20%;
  background: radial-gradient(at 50% 56%, #f4efe600 0% 35%, #eae2d3d9 100%);
  pointer-events: none;
}

.intro-satz {
  position: relative;
  margin: 0;
  padding-inline: var(--gutter);
  text-align: center;
  font-family: var(--font-stimme);
  font-weight: 300;
  font-size: clamp(min(1.9rem, 8.2vw), 1rem + 4.2vw, 6rem);
  line-height: 1.06;
  letter-spacing: -.01em;
  padding-top: 6vh;
}

.intro-zeile {
  display: block;
  white-space: nowrap;
}

.intro-wort {
  display: inline-block;
  opacity: 0;
  will-change: transform, opacity;
}

.intro-wort em {
  font-style: italic;
}

.intro-skip {
  position: absolute;
  left: 50%;
  bottom: calc(clamp(1.5rem, 5vh, 3rem) + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  font-family: var(--font-ordnung);
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--ink-2);
  padding: .6em .2em .5em;
  border-bottom: 1px solid;
  transition: color var(--dur-1);
}

.intro-skip:hover {
  color: var(--ink);
}

.intro-mark {
  position: fixed;
  inset: 0;
  z-index: 29;
  display: grid;
  justify-items: center;
  align-content: start;
  padding-top: clamp(3rem, 9vh, 6rem);
  pointer-events: none;
  color: var(--ink);
}
.buehne {
  display: grid;
  grid-template-areas: "text"
                       "bild"
                       "streifen";
}

.buehne-text {
  grid-area: text;
  display: grid;
  gap: var(--space-3);
  align-content: center;
  padding: var(--space-6) var(--gutter) var(--space-5);
}

.buehne-lead {
  margin-top: var(--space-2);
}

.buehne-titel {
  font-size: clamp(2rem, .8rem + 3.3vw, 4.5rem);
  max-width: 22ch;
}

.buehne-lead {
  max-width: 34ch;
}

.buehne-bild {
  grid-area: bild;
  position: relative;
  height: 50svh;
  min-height: 18rem;
  max-height: 34rem;
  overflow: hidden;
  margin-bottom: var(--space-6);
  mask-image: linear-gradient(#0000 0%, #000 14%);
  -webkit-mask-image: linear-gradient(#0000 0%, #000 14%);
}

@media (width <= 374px) {
  .buehne-titel {
    font-size: 1.875rem;
  }
}

.buehne-bild-inner {
  --zoom: 1.22;
  position: absolute;
  inset: 0;
  transform-origin: 68% 82%;
  animation: 30s ease-in-out infinite alternate buehne-drift;
}

@keyframes buehne-drift {
  from {
    transform: scale(var(--zoom));
  }

  to {
    transform: scale(calc(var(--zoom) * 1.06)) translate(-1%, -1%);
  }
}

.buehne-bild picture {
  position: absolute;
  inset: 0;
  display: block;
}

.buehne-bild img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 100%;
}

.buehne-streifen {
  grid-area: streifen;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--papier);
}

.streifen-inner {
  display: grid;
  gap: var(--space-4);
  padding: var(--space-4) var(--gutter) var(--space-5);
}

.streifen-satz, .buehne-streifen .nl-thanks {
  margin: 0;
  font-family: var(--font-stimme);
  font-weight: 300;
  font-size: var(--t-body);
  line-height: 1.35;
  max-width: 30ch;
}

.buehne-streifen .nl-thanks {
  max-width: none;
  color: var(--laub);
}

@media (width >= 1024px) {
  .buehne {
    grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
    grid-template-rows: minmax(0, 1fr) auto;
    grid-template-areas: "text bild"
                         "streifen streifen";
    min-height: calc(100dvh - var(--kopf-h));
  }

  .buehne-text {
    gap: var(--space-3);
    padding: var(--space-3) clamp(2.5rem, 5vw, 5rem) var(--space-3) var(--gutter);
  }

  .buehne-bild {
    height: auto;
    min-height: 0;
    max-height: none;
    margin: 0;
    mask-image: linear-gradient(to right, #0000 0%, #000 30%), linear-gradient(#0000 0%, #000 24%);
    -webkit-mask-image: linear-gradient(to right, #0000 0%, #000 30%), linear-gradient(#0000 0%, #000 24%);
    mask-composite: intersect;
    -webkit-mask-composite: source-in;
  }

  .buehne-bild img {
    object-position: 65% 100%;
  }

  .buehne-bild-inner {
    --zoom: 1;
  }

  .streifen-inner {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: clamp(3rem, 7vw, 12rem);
    padding: 1.2rem var(--gutter);
  }

  .streifen-satz {
    max-width: none;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .buehne-bild-inner {
    animation: none;
  }
}

.haus-satz {
  margin-top: var(--space-4);
  font-family: var(--font-stimme);
  font-weight: 300;
  font-size: clamp(1.7rem, 1rem + 2.6vw, 3.4rem);
  line-height: 1.25;
  letter-spacing: -.005em;
  max-width: 34ch;
}

.haus-drei {
  list-style: none;
  margin: var(--space-6) 0 0;
  padding: 0;
  display: grid;
  gap: var(--space-4);
}

.haus-drei li {
  display: grid;
  gap: .8rem;
  align-content: start;
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
}

.haus-drei p {
  color: var(--ink-2);
  max-width: 32ch;
}

@media (width >= 768px) {
  .haus-drei {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
  }
}

.eintragen {
  background: var(--kalk);
}

.eintragen-kopf {
  display: grid;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.eintragen-kopf > div {
  display: grid;
  gap: var(--space-3);
}

.eintragen-titel {
  max-width: 16ch;
}

.eintragen-lead {
  max-width: 44ch;
}

.eintragen-zeile {
  padding-block: var(--space-4);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.eintragen-zeile .field.nl-field input {
  font-size: var(--t-body);
  padding: .7em 0;
}

.eintragen-hinweis {
  margin-top: var(--space-3);
  max-width: 60ch;
}

.eintragen-dank {
  display: grid;
  gap: var(--space-3);
  justify-items: start;
  padding-block: var(--space-2);
}

.eintragen-dank-titel {
  font-family: var(--font-stimme);
  font-weight: 300;
  font-size: var(--t-h3);
  line-height: 1.25;
  max-width: 24ch;
}

.eintragen-dank-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-4);
  margin-top: var(--space-2);
}

@media (width >= 1024px) {
  .eintragen-kopf {
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: var(--space-4) clamp(3rem, 7vw, 7rem);
  }

  .eintragen-lead {
    justify-self: end;
  }
}

.kurz {
  padding-block: var(--space-6) var(--space-7);
  display: grid;
  gap: var(--space-4);
  max-width: 56ch;
  min-height: 60dvh;
  align-content: center;
}

.kurz-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-4);
}

.legal {
  display: grid;
  gap: var(--space-5);
  max-width: 68ch;
}

.legal-head {
  display: grid;
  gap: var(--space-3);
}

.legal-block {
  display: grid;
  gap: 1rem;
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
}

.legal-block h2 {
  font-size: var(--t-h3);
}

.legal {
  display: grid;
  gap: var(--space-5);
  max-width: 68ch;
}

.legal-head {
  display: grid;
  gap: var(--space-3);
}

.legal-block {
  display: grid;
  gap: 1rem;
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
}

.legal-block h2 {
  font-size: var(--t-h3);
}

.legal-dl {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(10rem, auto) 1fr;
  gap: .5rem 1.5rem;
  font-size: var(--t-small);
}

.legal-dl dt {
  color: var(--ink-2);
}

.legal-dl dd {
  margin: 0;
}

@media (width <= 480px) {
  .legal-dl {
    grid-template-columns: 1fr;
    gap: .15rem;
  }

  .legal-dl dd {
    margin-bottom: .6rem;
  }
}

.intro, .intro-mark { display: none; }
