:root {
  --black: #111;
  --white: #fff;
  --grey: #999;
  --line: #bbb;
  --font: 'DM Sans', system-ui, sans-serif;
  --track: .08em;
  --dur: .25s;                          /* passt zu FADE_MS in main.js */
  --ease: cubic-bezier(.22, 1, .36, 1); /* weiches Abbremsen */
  interpolate-size: allow-keywords;     /* erlaubt Übergänge auf height: auto (FAQ) */
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;  /* Anker (#schritte, #faq) nicht unter dem Sticky-Header verstecken */
  scrollbar-gutter: stable;  /* kein Seitensprung, wenn ein Pop-up das Scrollen sperrt */
  overscroll-behavior-y: none; /* kein Nachfedern am Seitenanfang/-ende → Header bleibt wirklich stehen */
}

/* Sanfter Übergang beim Seitenwechsel (Chrome, Edge, Safari); der Header bleibt dabei stehen */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }

/* Hover-Farbwechsel nicht hart umschalten */
.btn, .btn-outline, .sayhi-btn, .menu a, .filter a, .sound-btn {
  transition: background-color .2s, color .2s;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  letter-spacing: var(--track);
  line-height: 1.5;
  padding-top: 74px; /* Platz für den fest stehenden Header (Logo 46px + 2 × 14px) */
}
img { max-width: 100%; display: block; }
a { color: inherit; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0 0 1rem; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.section { padding: 2rem 0 4rem; }

/* Header */
/* fest am oberen Rand: bewegt sich beim Scrollen kein Stück (auch nicht beim Nachfedern auf dem Handy) */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 14px 16px; background: rgba(255,255,255,.95);
}
.btn-outline {
  justify-self: start; border: 1.5px solid var(--black); padding: 4px 10px;
  font-size: .8rem; text-decoration: none; font-weight: 500;
}
.btn-outline:hover { background: var(--black); color: var(--white); }
.logo img { height: 46px; width: auto; }
.menu-toggle {
  justify-self: end; background: none; border: 0; cursor: pointer; padding: 6px;
  display: grid; gap: 4px;
}
.menu-toggle span {
  width: 20px; height: 2px; background: var(--black); display: block;
  transition: transform var(--dur) var(--ease), opacity var(--dur);
}
/* Burger wird zum × */
.menu-toggle[aria-expanded=true] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded=true] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded=true] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
/* Menü "Panel unter dem Header": klappt von oben auf, Punkte rechtsbündig unter dem Burger,
   die Seite dahinter wird blass. Schließen dauert länger als --dur → MENU_MS in main.js */
.menu {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 2;
  background: var(--white); border-top: 1.5px solid var(--black); border-bottom: 1.5px solid var(--black);
  display: flex; flex-direction: column; align-items: flex-end; gap: .5rem;
  padding: 2rem 16px 2.4rem;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .45s cubic-bezier(.77, 0, .18, 1) .1s;
}
.menu.is-open { clip-path: inset(0 0 0 0); transition: clip-path .55s cubic-bezier(.77, 0, .18, 1); }
.menu[hidden] { display: none; }
.menu a {
  position: relative; text-decoration: none; text-transform: uppercase;
  font-size: clamp(1.6rem, 3.6vw, 2.8rem); font-weight: 700; letter-spacing: .08em; line-height: 1.2;
  opacity: 0; transform: translateY(-14px);
  transition: opacity .15s, transform .15s;
}
.menu.is-open a { opacity: 1; transform: none; transition: opacity .4s ease, transform .5s var(--ease); }
.menu.is-open a:nth-child(1) { transition-delay: .18s; }
.menu.is-open a:nth-child(2) { transition-delay: .24s; }
.menu.is-open a:nth-child(3) { transition-delay: .30s; }
.menu.is-open a:nth-child(4) { transition-delay: .36s; }
.menu.is-open a:nth-child(5) { transition-delay: .42s; }
.menu.is-open a:nth-child(6) { transition-delay: .48s; }
/* Unterstreichung beim Drüberfahren */
.menu a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; background: var(--black);
  transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease);
}
.menu a:hover::after, .menu a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.menu-scrim {
  position: fixed; inset: 0; z-index: -1; background: rgba(255,255,255,.82);
  opacity: 0; visibility: hidden; transition: opacity .35s ease .15s, visibility 0s linear .5s;
}
.site-header.menu-open .menu-scrim { opacity: 1; visibility: visible; transition: opacity .4s ease, visibility 0s; }

/* Button "Text rollt": beim Drüberfahren rollt der Text einmal nach oben durch.
   Mit [data-auto-roll] rollt er zusätzlich ab und zu von selbst (main.js) */
.btn-roll { display: inline-flex; align-items: center; text-decoration: none; color: inherit; }
.btn-roll .roll { display: inline-block; height: 1.3em; line-height: 1.3em; overflow: hidden; }
.btn-roll .roll-stack { display: block; transition: transform .45s cubic-bezier(.77, 0, .18, 1); }
.btn-roll .roll-stack > span { display: block; white-space: nowrap; }
.btn-roll:hover .roll-stack, .btn-roll:focus-visible .roll-stack { transform: translateY(-50%); }
.btn-roll.is-rolling .roll-stack { animation: roll-once .6s cubic-bezier(.77, 0, .18, 1); }
@keyframes roll-once { from { transform: none; } to { transform: translateY(-50%); } }
.btn-outline.btn-roll:hover { background: none; color: inherit; }
.btn-roll--outline {
  border: 1.5px solid var(--black); padding: 12px 20px; margin-top: 1.4rem;
  font-size: .95rem; font-weight: 700; letter-spacing: .08em;
}
.btn-roll--big { margin-top: 0; padding: 16px 26px; font-size: 1.1rem; }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center;
  padding: 4rem 0 1.5rem;
}
.hero h1 { font-size: clamp(4rem, 10vw, 7.5rem); margin: 0; line-height: 1; font-weight: 700; }
.hero-lines { font-size: clamp(1.6rem, 3.6vw, 2.8rem); font-weight: 500; line-height: 1.35; margin: .5rem 0 0; letter-spacing: .1em; }
.film-link {
  font: inherit; letter-spacing: inherit; font-weight: 700; background: none; border: 0;
  padding: 0; cursor: pointer; color: inherit;
}
.film-link span { display: inline-block; transition: transform .2s; }
.film-link:hover span { transform: translateX(8px); }

/* Schreibmaschine im Hero: feste Zeilenhöhe, damit "Film ab" beim Tippen nicht springt */
.tw-line { display: block; min-height: 1.35em; white-space: nowrap; }
.hero-lines .film-link { margin-top: .1em; }
.hero-lines .film-link.tw-pending { opacity: 0; transform: translateY(10px); }
.hero-lines .film-link.tw-shown { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s var(--ease); }
/* Blinkender Cursor (Hero, ARTGALLERY, ÜBER MICH) */
.tw-cursor {
  display: inline-block; width: .07em; min-width: 3px; height: .9em; margin-left: .08em;
  vertical-align: -.1em; background: currentColor; animation: tw-blink .8s steps(1) infinite;
}
.tw-cursor[hidden] { display: none; }
.tw-cursor.is-done { opacity: 0; animation: none; transition: opacity .4s; }
@keyframes tw-blink { 50% { opacity: 0; } }
/* Überschriften, die beim Scrollen getippt werden: noch nicht getippte Buchstaben halten ihren Platz */
.ts-off { visibility: hidden; }
.hero-video { justify-self: end; width: min(100%, 360px); }
.hero-video { position: relative; }
/* Banner-Video schiebt sich beim Laden von rechts herein */
.hero { overflow-x: clip; }
.hero-video { animation: slide-in-right 1s var(--ease) .25s both; }
@keyframes slide-in-right { from { opacity: 0; transform: translateX(90px); } }
.hero-video video { aspect-ratio: 9/16; object-fit: cover; width: 100%; display: block; background: #ddd; cursor: pointer; }
.sound-btn {
  position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border: 0; cursor: pointer;
  background: rgba(0,0,0,.7); color: var(--white); font: inherit; font-size: .8rem; letter-spacing: var(--track);
}
.sound-btn:hover { background: var(--black); }
.sound-btn[hidden] { display: none; }

/* Headings */
.display {
  font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 700; line-height: 1.05;
  letter-spacing: .1em; margin: 0;
}
.sub { margin: 0 0 1.5rem 4px; font-size: 1rem; }

/* Gallery tiles */
.gallery-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.tile {
  position: relative; aspect-ratio: 3/4; overflow: hidden; background: #2a2a2a; text-decoration: none;
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tile:hover img { transform: scale(1.05); }
.tile-label {
  position: absolute; left: 0; right: 0; bottom: 1.1rem; text-align: center;
  color: var(--white); font-size: clamp(1rem, 2.2vw, 1.9rem); letter-spacing: .1em;
  text-shadow: 0 1px 8px rgba(0,0,0,.5);
}
.tile-arrow { position: absolute; top: 6px; right: 12px; color: var(--white); font-size: 1.6rem; }

/* Über mich */
.about-grid {
  display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 2rem 4rem;
  margin-top: 2rem; align-items: start;
}
.about-photo { width: 100%; aspect-ratio: 3/4; object-fit: cover; background: #ddd; }
.about-text p { max-width: 640px; font-size: 1.05rem; line-height: 1.6; margin: 0 0 1rem; }
.about-text .about-lead { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; line-height: 1.2; letter-spacing: .02em; margin-bottom: 1.4rem; }
.about-facts {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 1.2rem;
  border-top: 1px solid var(--black); padding-top: 1rem; margin: 1.8rem 0 0; max-width: 640px;
}
.about-facts dt { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: #555; }
.about-facts dd { margin: .3rem 0 0; font-weight: 700; }
.about-text .about-film { margin-top: 1.8rem; color: #555; font-size: .95rem; }
.about-film .film-link { color: var(--black); margin-left: .4rem; }
/* Linie über einer Überschrift zieht sich von links auf (Klasse .draw setzt main.js) */
.draw { transform: scaleX(0); transform-origin: left; transition: transform .9s cubic-bezier(.6, 0, .2, 1); }
.draw.is-visible { transform: none; }

/* Steps: beim Scrollen setzt main.js --a von 0 bis 1 (ohne JavaScript bleibt alles bei 1) */
.steps-title { margin-bottom: 3rem; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 4.5rem; }
.step {
  --a: 1;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 14rem) minmax(0, 2fr);
  grid-template-rows: auto 1fr; gap: 1.4rem 2rem; align-items: start;
}
.step-num {
  grid-column: 1; grid-row: 1 / 3; font-size: clamp(3.5rem, 11vw, 9rem); font-weight: 700;
  line-height: .85; letter-spacing: -.03em; transform: translateY(calc((1 - var(--a)) * 50px));
}
.step-line {
  grid-column: 2 / 4; grid-row: 1; height: 5px; margin-top: .4rem; background: var(--black);
  transform-origin: left; transform: scaleX(var(--a));
}
.step h3 {
  grid-column: 2; grid-row: 2; margin: 0; font-size: 1.25rem; line-height: 1.25;
  opacity: var(--a); transform: translateY(calc((1 - var(--a)) * 24px));
}
.step-body { grid-column: 3; grid-row: 2; }
.step-body p { margin: 0; font-size: 1.05rem; opacity: calc(.2 + .8 * var(--a)); }
.step-body .btn-roll { opacity: var(--a); }
.steps-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem;
  border-top: 1.5px solid var(--black); padding-top: 2.5rem; margin: 5rem 0 0 auto; max-width: 780px;
}
.steps-cta p { margin: 0; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; line-height: 1.15; letter-spacing: .02em; }

/* FAQ */
.faq { background: var(--black); color: var(--white); padding: 2rem 0 3rem; }
.faq h2 { font-size: 1.6rem; margin: 0 0 1rem 1.5rem; letter-spacing: .1em; }
.faq details { border-top: 1px solid #555; padding: .9rem 1.5rem; }
.faq details:last-child { border-bottom: 1px solid #555; }
.faq summary { cursor: pointer; list-style: none; font-weight: 500; font-size: .95rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: #bbb; font-size: .9rem; margin: .8rem 0 0; }
/* Antwort auf- und zuklappen statt springen (wo der Browser ::details-content kennt) */
.faq details::details-content {
  block-size: 0; overflow: hidden;
  transition: block-size .35s var(--ease), content-visibility .35s allow-discrete;
}
.faq details[open]::details-content { block-size: auto; }

/* Claim */
.claim { text-align: center; padding: 4rem 0 5rem; }
.claim p { font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 500; letter-spacing: .12em; margin: 0 0 2rem; }
.btn {
  display: inline-block; background: var(--black); color: var(--white); border: 0;
  padding: 14px 28px; font: inherit; letter-spacing: var(--track); text-decoration: none; cursor: pointer;
}
.btn:hover { background: #333; }

/* Gallery page */
.filter { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 2rem; }
.filter a { border: 1px solid var(--black); padding: 4px 12px; text-decoration: none; font-size: .9rem; }
.filter a.active, .filter a:hover { background: var(--black); color: var(--white); }
.masonry { columns: 3 260px; column-gap: 8px; }
.masonry figure { margin: 0 0 8px; break-inside: avoid; }
.masonry figcaption { font-size: .8rem; padding: 4px 0; }
.empty { color: var(--grey); }

/* Modal */
.modal {
  position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.9);
  display: grid; place-items: center; padding: 16px;
  opacity: 0; transition: opacity var(--dur) var(--ease);
}
.modal.is-open { opacity: 1; }
.modal[hidden] { display: none; }
.modal-body { width: min(1000px, 100%); transform: scale(.97); transition: transform var(--dur) var(--ease); }
.modal.is-open .modal-body { transform: none; }
.modal-body iframe { width: 100%; aspect-ratio: 16/9; border: 0; }
.modal-body img { max-height: 88vh; margin: auto; opacity: 0; transition: opacity .3s; }
.modal-body img.loaded { opacity: 1; }
.modal-close {
  position: absolute; top: 10px; right: 16px; background: none; border: 0;
  color: var(--white); font-size: 2.5rem; cursor: pointer;
}

/* Anfrageformular "say hi" */
.hp { position: absolute; left: -9999px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mobile-only { display: none; }
.legal { max-width: 760px; }

.sayhi-modal { background: rgba(255,255,255,.55); overflow-y: auto; place-items: start center; padding: 16px 0; }
/* gleiche Breite wie .container → Box schließt links mit dem Text und rechts mit dem Video ab */
.sayhi-box {
  position: relative; background: var(--white); border: 1.5px solid var(--black);
  width: min(1180px, 100% - 32px); padding: 2rem 3rem 3.5rem; margin: auto;
  transform: translateY(16px); transition: transform var(--dur) var(--ease);
}
.sayhi-modal.is-open .sayhi-box { transform: none; }
.sayhi-close {
  position: absolute; top: 22px; right: 26px; width: 26px; height: 26px;
  background: none; border: 0; cursor: pointer;
}
.sayhi-close::before, .sayhi-close::after {
  content: ''; position: absolute; left: -3px; top: 12px; width: 32px; height: 1.5px; background: var(--black);
}
.sayhi-close::before { transform: rotate(45deg); }
.sayhi-close::after { transform: rotate(-45deg); }

.sayhi-title {
  font-size: clamp(3.5rem, 8vw, 6.5rem); font-weight: 700; letter-spacing: .18em;
  text-align: center; margin: 0 0 2.5rem; line-height: 1.1;
}
.sayhi-form, .sayhi-done { width: min(710px, 100%); margin: 0 auto; }
.sayhi-done { text-align: center; font-size: 1.3rem; letter-spacing: .12em; padding: 2rem 0; }
.sayhi-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.sayhi-fields { display: grid; gap: 24px; align-content: start; }

.sayhi input[type=text], .sayhi input[type=email], .sayhi input[type=date], .sayhi textarea {
  width: 100%; border: 0; border-bottom: 1.5px solid transparent; border-radius: 0; background: #f7f7f7;
  font: inherit; font-size: 1.15rem; font-weight: 400; letter-spacing: .12em; color: var(--black);
  padding: 2px 10px; min-height: 32px;
}
.sayhi textarea { resize: vertical; min-height: 316px; padding: 10px 20px; line-height: 1.4; }
.sayhi ::placeholder { color: #9a9a9a; opacity: 1; }
.sayhi input:focus, .sayhi textarea:focus { outline: none; border-bottom-color: var(--black); }
.sayhi .invalid { border-bottom-color: #b02a2a !important; }

.sayhi-actions {
  grid-column: 1 / -1; width: min(336px, 100%); margin: 3.5rem auto 0; display: grid; gap: 10px;
}
.sayhi-btn {
  display: block; text-align: center; border: 1.5px solid var(--black); background: var(--white); color: var(--black);
  font: inherit; font-size: 1.15rem; letter-spacing: .18em; padding: 4px; cursor: pointer;
}
.sayhi-btn:hover { background: var(--black); color: var(--white); }
.sayhi-upload:focus-within { outline: 2px solid var(--black); outline-offset: 2px; }
.sayhi-file {
  display: flex; align-items: center; gap: .5rem; background: #f7f7f7; border: 1px solid #ddd;
  padding: 6px 8px; font-size: .7rem; letter-spacing: .1em;
}
.sayhi-file[hidden] { display: none; }
.sayhi-file span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sayhi-file-clear { background: none; border: 0; font-size: 1.3rem; line-height: 1; cursor: pointer; padding: 0 4px; }
.sayhi-consent { display: flex; gap: .5rem; align-items: flex-start; font-size: .7rem; letter-spacing: .05em; color: #555; margin-top: 4px; }
.sayhi-consent input { margin-top: 2px; accent-color: var(--black); }
.sayhi-consent.invalid { color: #b02a2a; }
.sayhi-errors { margin: 0; padding: 0 0 0 1rem; color: #b02a2a; font-size: .8rem; }
.sayhi-errors[hidden] { display: none; }
.sayhi-submit[disabled] { opacity: .5; cursor: wait; }
.sayhi-page .sayhi-title { margin-top: 1rem; }
html.modal-open, html.modal-open body { overflow: hidden; }

/* Erfolgsmeldung, Fehler und Dateiname erscheinen weich statt schlagartig */
.sayhi-done:not([hidden]), .sayhi-errors:not([hidden]), .sayhi-file:not([hidden]) {
  animation: fade-up .4s var(--ease);
}
@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } }

/* Einblenden beim Scrollen (Klasse .reveal setzt main.js) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Wer reduzierte Bewegung eingestellt hat, bekommt keine Animationen */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0s !important; animation-duration: 0s !important;
  }
  /* eigene Regel: ältere Browser verwerfen sonst den ganzen Selektor */
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 2rem 0 1rem; font-size: .85rem; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.footer-grid a { text-decoration: none; }
.footer-logo { width: 110px; height: auto; margin-bottom: .5rem; }
.copyright { color: var(--grey); font-size: .75rem; margin-top: 2rem; }

/* Mobile */
@media (max-width: 760px) {
  /* Handy: Der Hero füllt erst den ganzen Bildschirm (nur Text). Beim Wischen bleibt der Text
     stehen (position: sticky) und das Video gleitet ganz normal mit dem Finger darüber.
     Kein JavaScript beim Scrollen → läuft so flüssig wie normales Scrollen. */
  /* 100lvh + Puffer: die erste Zeile ist sicher höher als der sichtbare Bereich, auch wenn Safaris
     Leiste unten durchsichtig über der Seite schwebt → vom Video ist am Start nichts zu sehen */
  .hero {
    grid-template-columns: 1fr; grid-template-rows: calc(100lvh - 66px + 32px) auto;
    gap: 0; padding: 0 0 2rem; overflow-x: visible;
  }
  .hero-text {
    grid-row: 1 / 3; grid-column: 1; align-self: start;
    position: sticky; top: 0; height: calc(100svh - 66px); box-sizing: border-box; /* top: 0 = direkt unter dem Header, weil der body scrollt */
    display: flex; flex-direction: column; justify-content: center; padding-bottom: 6rem;
    transform-origin: left center;
  }
  /* Header absolut ruhig auf dem iPhone: Nicht das ganze Fenster scrollt, sondern der <body>.
     So klappt Safaris Adressleiste beim Scrollen nicht mehr ein und aus – genau das hat den
     Header vorher ein Stück nach oben geschoben und das Logo angeschnitten. */
  html { height: 100%; overflow: hidden; scroll-padding-top: 0; }
  body {
    height: 100%; box-sizing: border-box; overflow-y: auto; overscroll-behavior-y: none;
    padding-top: 66px; /* Header auf dem Handy: Logo 38px + 2 × 14px */
    scroll-padding-top: 80px; scroll-behavior: smooth;
  }
  .site-header { background: var(--white); }
  .hero-lines .film-link > span { rotate: 90deg; }
  .hero-lines .film-link.tw-shown > span { animation: bob 1.4s ease-in-out .6s infinite; }
  /* translate wirkt vor dem Drehen, also hier direkt nach unten (0 → 7px) */
  @keyframes bob { 50% { translate: 0 7px; } }
  .hero-video {
    grid-row: 2; grid-column: 1; justify-self: stretch; width: 100%; overflow: hidden; z-index: 1;
    animation: none; /* das Reinschieben von rechts gilt nur am Desktop */
  }
  /* Bewusst ohne Blasser-/Kleinerwerden beim Scrollen: das hat in Safari am iPhone die Schrift
     flackern lassen. Der Text bleibt einfach ruhig stehen, das Video gleitet darüber. */
  .menu-toggle { margin-right: -6px; } /* Burger-Strich schließt bündig mit dem Video ab */
  .gallery-tiles { grid-template-columns: 1fr 1fr; }
  .step { grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto 1fr; gap: .8rem 1rem; }
  .step-num { grid-column: 1; grid-row: 1 / 4; font-size: 3rem; }
  .step-line { grid-column: 2; height: 4px; }
  .step h3 { grid-column: 2; grid-row: 2; font-size: 1.1rem; }
  .step-body { grid-column: 2; grid-row: 3; }
  .step-body p { font-size: .95rem; }
  .steps-cta { margin-top: 3.5rem; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 360px; }
  .about-facts { grid-template-columns: 1fr; }
  .menu { padding: 1.4rem 16px 1.8rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .logo img { height: 38px; }

  .desk-only { display: none; }
  .mobile-only { display: inline; }
  p.mobile-only { display: block; }
  .sayhi-modal { background: var(--white); padding: 0; place-items: start stretch; }
  .sayhi-box { border: 0; width: 100%; min-height: 100%; padding: 1.5rem 22px 3rem; }
  .sayhi-close { top: 1.9rem; right: 22px; }
  .sayhi-title { font-size: 2.6rem; text-align: left; margin: 0; letter-spacing: .14em; }
  .sayhi-sub { font-size: 1.25rem; letter-spacing: .12em; margin: .2rem 0 1.8rem 4px; line-height: 1.5; }
  .sayhi-form { grid-template-columns: 1fr; }
  .sayhi-fields { gap: 24px; margin-bottom: 24px; }
  .sayhi input[type=text], .sayhi input[type=email], .sayhi input[type=date], .sayhi textarea { font-size: .95rem; }
  .sayhi textarea { min-height: 152px; padding: 6px 10px; }
  .sayhi-actions { width: 100%; margin-top: 1.8rem; }
  .sayhi-btn { font-size: 1rem; }
  .sayhi-submit {
    justify-self: center; background: var(--black); color: var(--white); padding: 8px 22px; margin-top: 1.2rem; font-size: .95rem;
  }
  .faq h2, .faq details { padding-inline: 0; margin-left: 0; }
}

/* Typo-Animation: Buchstaben gleiten nacheinander aus einer Maske nach oben (siehe main.js) */
.typo-sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
/* Polster, damit Ä-Punkte und Unterlängen nicht abgeschnitten werden; der negative Rand hält die Zeilenhöhe gleich */
.typo-word {
  display: inline-block; overflow: clip; vertical-align: top;
  padding-block: .2em; margin-block: -.2em;
}
.typo-letter {
  display: inline-block; transform: translateY(140%);
  transition: transform .8s var(--ease) var(--d, 0ms);
}
.typo.is-visible .typo-letter { transform: none; }
.typo-fade {
  opacity: 0; transform: translateY(10px);
  transition: opacity .6s ease var(--d, 0ms), transform .6s var(--ease) var(--d, 0ms);
}
.typo-fade.is-visible, .typo.is-visible .typo-fade { opacity: 1; transform: none; }
