/* Anlasswerk – gemeinsame Grundlage für alle Seiten. Nur lokale Dateien,
   keine externen Aufrufe. Bausteine: Kopf, Karten, Wischreihen, Geräte,
   Karussell, Scroll-Laptop, Fuß. */

/* ---------- Schrift: Inter, selbst gehostet (variable Datei, 400 bis 700) ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Farben und Maße ----------
   Oxblood ist der einzige Akzent: Anfrage-Knöpfe und kleine Marken.
   Amber ist Baustelle: Solange es sichtbar ist, ist die Seite nicht fertig. */
:root {
  --grund: #F5F5F7;
  --karte: #FFFFFF;
  --tinte: #1D1D1F;
  --text: #424245;
  --grau: #6E6E73;        /* kleine graue Schrift, ab 4,5:1 */
  --grau-gross: #86868B;  /* nur große Schrift, 3:1 reicht */
  --ziffer: #8E8E93;      /* große Ziffern 01, 02 …, 3:1 auf Weiß */
  --linie: #D2D2D7;
  --oxblood: #6E1423;
  --amber: #9A5B00;
  --radius: 22px;
  --schatten: 0 2px 12px rgba(0, 0, 0, .06);
  --schatten-hoch: 0 8px 28px rgba(0, 0, 0, .10);
  --breite: 1200px;
  --rand: 24px;
  --kopf: 60px;
}
@media (max-width: 480px) {
  :root { --rand: 20px; }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--kopf) + 12px); }
body {
  margin: 0;
  background: var(--grund);
  color: var(--tinte);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;   /* nur Wörter, die allein breiter sind als die Zeile (große Schrift am Handy) */
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--tinte); outline-offset: 3px; }
.dunkel :focus-visible, .folie-dunkel :focus-visible, .karte-dunkel :focus-visible, .beleg-karte-dunkel :focus-visible { outline-color: #F5F5F7; }

.wrap { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }

/* ---------- Knöpfe und Textlinks ---------- */
.knopf {
  display: inline-block;
  border: 0;
  border-radius: 999px;
  padding: 14px 24px;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}
.knopf-mittel { padding: 12px 20px; font-size: 15px; }
.knopf-klein { padding: 8px 16px; font-size: 14px; }
.knopf-anfrage { background: var(--oxblood); color: #FFFFFF; }
.knopf-tinte { background: var(--tinte); color: #FFFFFF; }
.knopf-hell { background: #FFFFFF; color: var(--tinte); }
.knopf-rand { background: #FFFFFF; color: var(--tinte); border: 1px solid var(--linie); padding: 10px 18px; font-size: 14px; }
.knopf-leise {
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(0, 0, 0, .05);
  color: var(--tinte);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.knopf:hover { opacity: .88; }
.textlink { font-weight: 600; text-decoration: none; }
.textlink:hover, .kopf-links a:hover, .fuss a:hover { text-decoration: underline; text-underline-offset: 4px; }
/* Am Handy Tippfläche mindestens 44 × 44 px (Apple HIG), ohne dass sich das
   Aussehen ändert: eine unsichtbare Fläche, mittig über dem Element. */
@media (max-width: 760px) {
  :where(.knopf, .knopf-leise, .textlink, .textlink-knopf, .info-knopf, .karte a, .anfrage-tel a) { position: relative; z-index: 1; }
  :where(.knopf, .knopf-leise, .textlink, .textlink-knopf, .info-knopf, .karte a, .anfrage-tel a)::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: max(100%, 44px);
    height: max(100%, 44px);
    transform: translate(-50%, -50%);
  }
  /* Mail und Telefon stehen untereinander: echte Höhe statt Fläche, sonst überdecken sie sich */
  .anfrage-tel a { display: inline-block; padding: 12px 0; }
}

/* ---------- Kopf: klebend, deckend ----------
   Halbtransparent mit Weichzeichner verwischte dunkle Abschnitte darunter
   zu einem grauen Fleck hinter dem Logo. */
.kopf {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #FBFBFD;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}
.kopf-innen { height: var(--kopf); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.kopf-logo { display: block; flex: 0 0 auto; }
.kopf-logo img { height: 44px; width: auto; }
.kopf-nav { display: flex; align-items: center; gap: 22px; }
.kopf-links { display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.kopf-links a { text-decoration: none; }
/* Reiter der aktuellen Seite: halbfett mit festem Strich (Hover hat 1 px) */
.kopf-links a[aria-current="page"] { font-weight: 600; text-decoration: underline 2px; text-underline-offset: 6px; }
.nav-toggle { display: none; }

@media (max-width: 760px) {
  .kopf-logo img { height: 34px; }
  .kopf-nav { gap: 6px; }
  .nav-toggle {
    order: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--tinte);
    border-radius: 1px;
    transition: transform .2s ease;
  }
  .nav-toggle span { position: relative; }
  .nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
  .nav-toggle span::before { top: -6px; }
  .nav-toggle span::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] span { background: transparent; }
  .nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
  .kopf-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px var(--rand) 16px;
    background: #FBFBFD;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    font-size: 17px;
  }
  .kopf-links.is-open { display: flex; }
  .kopf-links a { display: block; padding: 12px 0; }
  /* Ohne JavaScript lässt sich das Menü nicht öffnen: Knopf weg, die
     Abschnitte sind ohnehin auf derselben Seite. */
  html:not(.js) .nav-toggle { display: none; }
}

/* ---------- Abschnitte, Überschriften ---------- */
.abschnitt { padding-top: 56px; }
.marke {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--grau);
}
.marke-oxblood { color: var(--oxblood); }
.titel { margin-bottom: 24px; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; letter-spacing: -.015em; }
.titel-gross { margin-bottom: 8px; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.12; }
.leise { color: var(--grau-gross); }
/* Bleibt zusammen und rutscht als Ganzes in die nächste Zeile; bricht nur,
   wenn es allein breiter ist als die Zeile (große Schrift am Handy) */
.am-stueck { display: inline-block; }
.einleitung { max-width: 680px; margin-bottom: 24px; font-size: 17px; color: var(--text); }

/* ---------- Großer Satz ---------- */
.start { padding-top: clamp(48px, 8vw, 96px); padding-bottom: 32px; }
.start .marke { margin-bottom: 16px; font-size: 14px; letter-spacing: .04em; }
.start h1 { max-width: 980px; font-size: clamp(40px, 6.4vw, 80px); line-height: 1.04; letter-spacing: -.025em; }
.start-lead { max-width: 640px; margin-top: 24px; font-size: clamp(18px, 2vw, 22px); line-height: 1.45; color: var(--text); }
.start-lead-zwei { margin-top: 12px; }
.start-knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 32px; }
.start-ort { margin-top: 24px; font-size: 15px; color: var(--grau); }

/* ---------- Karten ---------- */
.karte {
  background: var(--karte);
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  transition: transform .25s ease, box-shadow .25s ease;
}
a.karte { text-decoration: none; }
@media (hover: hover) {
  .karte:hover { transform: translateY(-3px); box-shadow: var(--schatten-hoch); }
}
.karte-dunkel { background: #000000; color: #F5F5F7; }
.karte-nacht { background: var(--tinte); color: #FFFFFF; box-shadow: none; }

/* Baustelle: fehlendes Bild. Text immer als [FEHLT: …]. */
.platzhalter {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border: 2px dashed var(--amber);
  border-radius: 14px;
  background: rgba(154, 91, 0, .06);
  color: var(--amber);
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}

/* ---------- Wischreihen ----------
   scroll-snap, ohne sichtbaren Balken. Der Innenabstand richtet die erste
   Karte an der Inhaltskante aus. Pfeile und Punkte nur mit JavaScript. */
.reihe-wrap {
  --kante: max(var(--rand), calc((100% - var(--breite)) / 2 + var(--rand)));
  position: relative;
}
.reihe {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--kante);
  padding: 8px var(--kante) 32px;
  scrollbar-width: none;
}
.reihe::-webkit-scrollbar { display: none; }
.reihe > * { flex: 0 0 min(80%, 360px); scroll-snap-align: start; }
.reihe > .karte-schmal { flex-basis: min(78%, 300px); }
.reihe > .karte-breit { flex-basis: min(80%, 440px); }

.pfeil {
  position: absolute;
  top: 45%;
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(210, 210, 215, .72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--tinte);
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity .2s ease;
  cursor: pointer;
}
/* Am Rechner (ab 1100 px) stehen alle Reihen bündig mit Logo und
   Anfrage-Knopf: Die Kante wird vom Innenabstand zum Außenabstand, die Reihe
   endet also am Seitenrand des Inhalts. Es stehen immer nur ganze Karten
   darin (--n nebeneinander), weitergeblättert wird mit den Pfeilen.
   Darunter (Tablet, Handy) bleibt es eine wischbare Reihe. */
@media (min-width: 1100px) {
  .reihe {
    --n: 3;
    margin-inline: var(--kante);
    padding-inline: 0;
    scroll-padding-inline: 0;
  }
  .reihe:has(> .karte-schmal), .reihe:has(> .mahnstufe) { --n: 4; }
  .reihe-wrap .reihe > :not(.muster) { flex-basis: calc((100% - (var(--n) - 1) * 20px) / var(--n)); }
  /* Muster sind verschieden breit: Was am Rand nicht ganz hineinpasst,
     blendet site.js aus (Klasse halb), statt es anzuschneiden. */
  .reihe > .halb { opacity: 0; }
  .reihe-muster > * { transition: opacity .2s ease; }
  /* Reihen mit wenigen Karten: Passen alle in die Seitenbreite, stehen sie
     als festes Raster, ohne Wischen und ohne Pfeile. */
  .reihe.reihe-raster {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    overflow: visible;
  }
  .reihe.reihe-raster > * { min-width: 0; }
  .reihe-raster ~ .pfeil { display: none !important; }
}

/* Pfeile links und rechts neben der Reihe, im Seitenrand. Ist der Rand zu
   schmal, liegen sie auf der Kartenkante. Am Anfang ist der linke aus, am
   Ende der rechte; passen alle Karten hinein, fehlen beide (site.js). */
.pfeil-links { left: max(4px, calc(var(--kante) - 58px)); }
.pfeil-rechts { right: max(4px, calc(var(--kante) - 58px)); }
.pfeil:disabled { opacity: .35; cursor: default; }
.reihe-wrap:not(.hat-mehr) .pfeil { display: none !important; }
@media (min-width: 1100px) {
  html.js .pfeil { display: flex; opacity: 1; }
  html.js .pfeil:disabled { opacity: .35; }
}
/* 1100 bis 1319 px: Der Seitenrand ist zu schmal für Pfeile neben der
   Reihe (mit Scrollbalken), sie lägen auf den Karten oder am Fensterrand.
   Dann stehen sie darunter, rechtsbündig an der Inhaltskante; den Platz
   gibt es nur, wenn sie sichtbar sind. */
@media (min-width: 1100px) and (max-width: 1319px) {
  html.js .reihe-wrap.hat-mehr { padding-bottom: 44px; }
  .pfeil { top: auto; bottom: 0; transform: none; }
  .pfeil-links { left: auto; right: calc(var(--kante) + 56px); }
  .pfeil-rechts { right: var(--kante); }
}
/* Tablet und Handy: statt Pfeilen Punkte mittig unter der Reihe, Form und
   Größe wie im Schaufenster (Punkte, site.js). */
.punkte.reihe-punkte { display: none; width: max-content; margin: 0 auto; }
@media (max-width: 1099px) {
  .reihe-wrap.hat-mehr .punkte.reihe-punkte { display: flex; }
}

/* Karte mit Bild unten (Websites, Werkzeuge) */
.projekt { display: flex; flex-direction: column; overflow: hidden; }
.projekt-text { padding: 26px 26px 0; }
.projekt-text h3 { font-size: 24px; letter-spacing: -.01em; }
.projekt-text h3 span { font-weight: 500; color: var(--grau); }
.projekt-text p:not(.marke) { margin-top: 6px; font-size: 15px; line-height: 1.45; color: var(--text); }
.projekt .marke { font-size: 12px; margin-bottom: 6px; }
.projekt-bild { margin-top: auto; padding: 22px 26px 0; }
.projekt-bild img { width: 100%; border-radius: 10px 10px 0 0; box-shadow: 0 -2px 14px rgba(0, 0, 0, .08); }
.projekt .platzhalter { min-height: 220px; margin: 22px 26px 26px; }
/* ---------- Werkzeug-Reihe (Startseite) ----------
   Drei große Karten: am Rechner fest nebeneinander (reihe-raster), darunter
   wischbar. Die Bildfelder sind quadratisch und bei allen drei Karten gleich
   groß; sie sitzen unten bündig (margin-top: auto). */
.reihe-gross > .projekt { flex-basis: min(86%, 400px); }
.reihe-gross .projekt-text { padding-bottom: 22px; }
@media (min-width: 1100px) {
  /* Subgrid: Text- und Bildzeile liegen in allen Karten auf einer Höhe */
  .reihe-gross.reihe-raster { grid-template-rows: auto auto; }
  .reihe-gross.reihe-raster > .projekt { display: grid; grid-row: span 2; grid-template-rows: subgrid; }
}

/* Drehende Handys (site.js, data-handy-dreh): drei Standbilder, eins vorn
   in der Mitte, zwei kleiner an den Seiten. Die Plätze stehen im Markup,
   ohne JavaScript und bei reduzierter Bewegung bleibt das Bild stehen.
   Maße so gewählt, dass kein Gerät aus dem quadratischen Feld ragt, auch im
   Übergang: das Bild ist so hoch wie das Feld, seitlich um 62 % seiner
   Breite verschoben und auf 76 % verkleinert. Der Pause-Knopf steht unter
   dem Feld, nie über den Geräten. */
.handy-dreh { display: flex; flex: none; flex-direction: column; margin: auto 26px 26px; }
.handy-dreh-buehne {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  background: linear-gradient(180deg, #1A1A1A 0%, #000000 100%);
  overflow: hidden;
  cursor: zoom-in;
}
.handy-dreh-buehne img {
  position: absolute;
  top: 0;
  left: 50%;
  width: auto;
  max-width: none;
  height: 100%;
  transition: transform .9s ease, filter .9s ease;
}
.handy-dreh-buehne img[data-platz="mitte"] { z-index: 3; transform: translateX(-50%); }
.handy-dreh-buehne img[data-platz="links"] { z-index: 2; transform: translateX(-112%) scale(.76); filter: brightness(.7); }
.handy-dreh-buehne img[data-platz="rechts"] { z-index: 1; transform: translateX(12%) scale(.76); filter: brightness(.7); }
.handy-dreh-pause { align-self: flex-end; height: 28px; margin-top: 8px; padding: 0 12px; font-size: 12px; }
@media (prefers-reduced-motion: reduce) {
  .handy-dreh-buehne img { transition: none; }
}

/* Band unter einer Reihe, die mit einer Aufforderung endet (Werkzeuge,
   Fallstudie, Websites): dunkel, Text links, Knopf rechts, am Handy
   untereinander. Unten viel heller Abstand, damit nie zwei dunkle Flächen
   aneinanderstoßen. Keine Aufforderungskarten in Reihen. */
.band { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; margin: 8px 0 88px; padding: 32px 40px; text-decoration: none; }
.band h3 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.015em; color: #FFFFFF; }
.band p { margin-top: 8px; font-size: 16px; color: #D2D2D7; }
.band .knopf { flex: none; }
@media (max-width: 760px) {
  .band { flex-direction: column; align-items: flex-start; padding: 26px; }
}

/* Drei Handys nebeneinander, das mittlere vorn. Die Standbilder haben einen
   durchsichtigen Rand und dürfen sich darum überlappen. Die Geräte stehen
   ganz im Kasten, nichts wird angeschnitten. */
.handy-reihe {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 22px 26px 26px;
  padding: 4px 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #1A1A1A 0%, #000000 100%);
  overflow: hidden;
}
.handy-reihe img { width: 34%; margin: 0 -6%; }
.handy-reihe .mitte { position: relative; z-index: 1; width: 41%; }
.handy-reihe-zwei img { width: 41%; margin: 0 -2%; }
.karte-dunkel .projekt-text h3 { color: #FFFFFF; }
.karte-dunkel .projekt-text p:not(.marke) { color: #D2D2D7; }
.karte-dunkel .marke { color: #A1A1A6; }
.karte-dunkel .projekt-text h3 span { color: #A1A1A6; }
/* iPad-Foto auf schwarzem Grund: ganz zu sehen, nie beschnitten. Gleich
   großes, quadratisches Feld wie die Handys; unten zusätzlich so viel Platz
   wie deren Pause-Knopf (8 + 28 px), damit alle Felder bündig stehen. */
/* Breite ausdrücklich: Safari rechnet das Quadrat sonst auf die volle
   Kartenbreite und schneidet das iPad rechts an. */
.board-bild { display: flex; flex: none; align-items: center; justify-content: center; width: calc(100% - 52px); aspect-ratio: 1 / 1; margin: auto 26px 62px; }
.board-bild .blatt { width: 100%; }
.board-bild img { width: 100%; height: auto; object-fit: contain; box-shadow: none; }
.karte-dunkel { box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }

/* ---------- Fallstudie: Schritte ---------- */
.schritt { display: flex; flex-direction: column; gap: 14px; padding: 22px; }
.ziffer { font-size: 40px; font-weight: 700; line-height: 1; letter-spacing: -.02em; color: var(--ziffer); }
.schritt h3 { font-size: 20px; letter-spacing: -.01em; }
.schritt p:not(.ziffer) { margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--text); }
.schritt-bild {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  margin-top: auto;
  border-radius: 14px;
  background: var(--grund);
  overflow: hidden;
}
.schritt-bild img { width: auto; height: auto; max-height: 100%; }
/* Startseite: Jede Schritt-Karte ist als Ganzes ein Link (/markenaufbau/#…).
   Fokusrahmen nach innen, damit die Reihe ihn nicht abschneidet. */
a.schritt { color: inherit; }
a.schritt:focus-visible { outline-offset: -4px; }
.schritt-mehr { font-size: 14px; font-weight: 600; color: var(--tinte); }
a.schritt:hover .schritt-mehr { text-decoration: underline; text-underline-offset: 4px; }
.weg-knopf { margin: 28px 0 24px; }
/* Handy-Standbild auf dunklem Grund, ganz zu sehen (nie anschneiden) */
.schritt-bild-dunkel { background: linear-gradient(180deg, #1A1A1A 0%, #000000 100%); }
/* Marke: Wortmarke, Farben und Monogramm auf dem Papier der Classicfabrik */
.marken-blatt { flex-direction: column; gap: 22px; padding: 0 18px; background: #F4F6F7; }
.marken-blatt .marken-logo { width: 100%; }
/* Die Zeile ist so breit wie die Fläche; wird es eng, werden Farbpunkte und
   Monogramm gemeinsam kleiner, statt herauszuragen. */
.marken-zeile { display: flex; align-items: center; justify-content: center; gap: 18px; width: 100%; }
.farben { display: flex; flex: 0 1 auto; gap: 8px; min-width: 0; }
.tupfer { flex: 0 1 24px; width: 24px; height: auto; aspect-ratio: 1 / 1; min-width: 0; border-radius: 50%; }
.tupfer-marine { background: #031219; }
.tupfer-papier { background: #F4F6F7; box-shadow: inset 0 0 0 1px #B8BEC2; }
.tupfer-orange { background: #E55402; }
.marken-blatt .marken-monogramm { flex: 0 1 52px; width: 52px; min-width: 0; border-radius: 10px; }

/* ---------- Leistungsleiste ----------
   Mittig unter dem Schaufenster. Die automatischen Außenabstände am ersten
   und letzten Eintrag zentrieren, ohne dass am Handy beim Wischen vorn
   etwas unerreichbar wird. */
.leistungen { display: flex; gap: 28px; overflow-x: auto; padding: 48px var(--rand) 8px; scrollbar-width: none; }
.leistungen::-webkit-scrollbar { display: none; }
.leistung:first-child { margin-left: auto; }
.leistung:last-child { margin-right: auto; }
.leistung {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 112px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.leistung-bild {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 76px;
  padding: 6px;
  border-radius: 12px;
  background: #FFFFFF;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .06);
}
.leistung-bild img { width: auto; max-width: 100%; height: auto; max-height: 100%; }
.leistung-bild-dunkel { background: #000000; }
.leistung-blatt { box-shadow: 0 1px 4px rgba(0, 0, 0, .18); }
.leistung-monogramm { border-radius: 8px; }
.leistung:hover span:last-child { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Geräte ----------
   Unten der Bildschirm in fester Größe, per matrix3d (site.js) auf die vier
   Ecken des Rahmens gelegt, darüber das Rahmenbild mit durchsichtigem
   Bildschirm. Die Rahmen nur auf dunklem Grund: Ihr grauer Lichtkranz wird
   per Maske weich ausgeblendet. Ohne JavaScript zeigt <noscript> ein
   fertig gerechnetes Standbild. */
.geraet { position: relative; overflow: hidden; }
.geraet-laptop { aspect-ratio: 1536 / 1024; }
.geraet-handy { aspect-ratio: 900 / 1890; }
.geraet-still, .geraet-live, .geraet-rahmen { position: absolute; inset: 0; width: 100%; height: 100%; }
.geraet-live { display: none; }
html.js .geraet-live { display: block; }
.geraet-schirm {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  background: #0B0B0B;
  transform-origin: 0 0;
  visibility: hidden;    /* bis site.js die Matrix gesetzt hat */
}
.geraet-laptop .geraet-schirm { width: 1440px; height: 900px; }
.geraet-laptop[data-geraet="seite"] .geraet-schirm { width: 1100px; height: 688px; }
.geraet-handy .geraet-schirm { width: 390px; height: 844px; }
.geraet-schirm img { width: 100%; max-width: none; }
.geraet-schirm::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, .10) 0%, rgba(255, 255, 255, .03) 38%, rgba(255, 255, 255, 0) 55%);
}
.geraet-laptop :is(.geraet-rahmen, .geraet-still), img.laptop-maske {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 97.5%, transparent 100%), linear-gradient(180deg, transparent 0, #000 9%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 97.5%, transparent 100%), linear-gradient(180deg, transparent 0, #000 9%, #000 88%, transparent 100%);
  mask-composite: intersect;
}
.geraet-handy :is(.geraet-rahmen, .geraet-still) {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 82%, transparent 92%), linear-gradient(180deg, transparent 0, #000 12%, #000 94%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 82%, transparent 92%), linear-gradient(180deg, transparent 0, #000 12%, #000 94%, transparent 100%);
  mask-composite: intersect;
}
/* Laptop so groß wie die Spalte, nie angeschnitten. Im Rahmenbild reicht
   der Laptop von 17 % bis 96 % der Breite und von 9 % bis 83 % der Höhe;
   Breite und negative Ränder rechnen genau dieses Schwarz heraus, sodass das
   Gerät selbst die Spalte füllt. „lighten“ lässt das übrige Schwarz im
   Verlauf der Folie verschwinden. Das Handy davor ist ein fertiges
   Standbild mit durchsichtigem Rand (assets/geraete/handy-*.webp): Dadurch
   scheint der Laptop nicht durch sein Display. Seine rechte Kante schließt
   mit der des Laptops ab, seine Unterkante mit der Spalte. */
.geraete-paar { position: relative; display: flow-root; }  /* flow-root: die negativen Ränder bleiben drin */
/* Der unsichtbare Rand des Laptops ragt über das Paar hinaus und läge sonst
   über Links und Knöpfen daneben (Websites-Reihe, Schaufenster bei 820). */
.geraete-paar { pointer-events: none; }
.geraete-paar .geraet-laptop { width: 126.6%; margin: -11.4% 0 -14.4% -21.5%; mix-blend-mode: lighten; }
.handy-still { position: absolute; right: -6.7%; bottom: 0; width: 32%; margin-bottom: -5.4%; }

/* ---------- Schaufenster (Karussell) ----------
   Eine Wischreihe; site.js ergänzt Autoplay, Punkte und Pause. */
.schaufenster { padding-top: 16px; }
.schaufenster-buehne { border-radius: 28px; overflow: hidden; box-shadow: var(--schatten); background: #000000; }
.karussell-reihe { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
.karussell-reihe::-webkit-scrollbar { display: none; }
.folie {
  display: flex;
  flex: 0 0 100%;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  gap: 32px 40px;
  min-height: 460px;
  padding: clamp(28px, 4vw, 56px);
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.folie-dunkel { background: linear-gradient(180deg, #1A1A1A 0%, #000000 100%); color: #F5F5F7; }
.folie-hell { background: linear-gradient(180deg, #FFFFFF 0%, #F0F0F3 100%); }
.folie-text { position: relative; flex: 1 1 280px; min-width: 0; }
.folie-text h2 { font-size: clamp(30px, 3.6vw, 44px); }
.folie-text p:not(.marke) { margin: 12px 0 24px; font-size: 18px; line-height: 1.45; color: var(--text); }
.folie-dunkel h2 { color: #FFFFFF; }
.folie-dunkel .folie-text p:not(.marke) { color: #D2D2D7; }
.folie-dunkel .marke { color: #A1A1A6; }
.folie-bild { flex: 1.6 1 400px; min-width: 0; }
.vorher-nachher { display: flex; align-items: flex-end; justify-content: center; gap: 24px; }
.vorher-nachher figure { margin: 0; }
.vorher-nachher figure:first-child { width: 40%; max-width: 230px; }
.vorher-nachher figure:last-child { width: 50%; max-width: 290px; }
.vorher-nachher img { width: 100%; border-radius: 6px; box-shadow: 0 10px 30px rgba(0, 0, 0, .12); }
.vorher-nachher figure:last-child img { box-shadow: 0 20px 50px rgba(0, 0, 0, .18); }
.vorher-nachher figcaption { margin-top: 10px; font-size: 13px; color: var(--grau); text-align: center; }
.vorher-nachher figure:last-child figcaption { color: var(--tinte); font-weight: 600; }

.karussell-steuerung { display: flex; justify-content: center; align-items: center; gap: 14px; padding-top: 16px; }
.punkte { display: flex; align-items: center; gap: 2px; padding: 4px 8px; border-radius: 999px; background: rgba(0, 0, 0, .05); }
.punkt {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.punkt::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--ziffer);
  transition: width .3s ease;
}
.punkt[aria-current="true"] { width: 40px; }
.punkt[aria-current="true"]::before { width: 28px; background: var(--tinte); }
/* Handy und Tablet (Schaufenster und Reihen gleich): jeder Punkt eine
   eigene Tippfläche, 44 px hoch und 28 px breit, der aktive 40 px. So
   bleibt die Pille auch bei 7 Punkten schmal. */
@media (max-width: 1099px) {
  .punkte { gap: 0; padding: 0 4px; }
  .punkt { flex: none; width: 28px; height: 44px; }
  .punkt[aria-current="true"] { width: 40px; }
}

/* ---------- Belege-Karten ---------- */
.beleg { display: flex; flex-direction: column; gap: 16px; padding: 24px; }
.beleg .marke { font-size: 12px; margin-bottom: 6px; }
.beleg h3 { font-size: 22px; letter-spacing: -.01em; }
.beleg p:not(.marke) { margin-top: 4px; font-size: 14px; color: var(--text); }
.beleg-bild { display: flex; justify-content: center; padding: 18px; border-radius: 14px; background: var(--grund); }
.beleg-bild img { width: 82%; box-shadow: 0 8px 24px rgba(0, 0, 0, .12); }
.beleg-bild .breit { width: 100%; border-radius: 6px; }
/* Handy-Standbild auf dunklem Grund, ganz zu sehen, füllt die Resthöhe */
.beleg-bild-dunkel { align-items: center; padding: 8px; background: linear-gradient(180deg, #1A1A1A 0%, #000000 100%); }
.beleg-bild-dunkel img { width: auto; box-shadow: none; }
.beleg .textlink, .beleg .knopf-rand { align-self: flex-start; margin-top: auto; font-size: 14px; }
/* Knopf, der aussieht wie ein Textlink (Vorher/Nachher-Umschalter in Reihen) */
.textlink-knopf { padding: 0; border: 0; background: none; color: var(--tinte); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.textlink-knopf:hover { text-decoration: underline; text-underline-offset: 4px; }
/* Belege-Reihe: Die graue Fläche ist mindestens 340 px hoch und füllt den
   Rest der Karte, der Beleg steht mittig darin. So bleibt zwischen Bild und
   Link kein Weiß, auch wenn eine Nachbarkarte höher ist. Bilder ganz zu
   sehen, so groß wie in 340 px (abzüglich Innenabstand). */
.reihe .beleg .beleg-bild { flex: 1 0 340px; align-items: center; }
.reihe .beleg .beleg-bild img { width: auto; max-width: 100%; max-height: 304px; }
.reihe .beleg .beleg-bild-dunkel img { max-height: 324px; }
.reihe .beleg .beleg-bild .breit { width: 100%; height: auto; }
/* Das Feld steht direkt unter dem Text, der Link unten auf einer Linie */
.reihe .beleg > .textlink, .reihe .beleg > .textlink-knopf { margin-top: auto; }
.beleg-foto { flex-direction: column; justify-content: center; gap: 10px; min-height: 420px; border-radius: var(--radius); padding: 24px; font-size: 16px; }
.beleg-foto strong { font-size: 12px; letter-spacing: .06em; }

/* ---------- Leiste der Unterseite (/anlaesse/, /belege/) ----------
   Wie bei Apple direkt unter dem Kopf: links der Titel, rechts die
   Abschnitte als Text, der aktive in Tinte mit Strich (site.js). Klebt
   unter dem Kopf; passt die rechte Seite nicht, ist sie wischbar, der
   Titel bleibt stehen. Sprungziele unter Kopf und Leiste. */
html:has(.unterleiste) { scroll-padding-top: calc(var(--kopf) + 48px + 12px); }
.unterleiste {
  position: sticky;
  top: var(--kopf);
  z-index: 40;
  background: var(--grund);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}
.unterleiste-innen { display: flex; align-items: center; gap: 24px; max-width: var(--breite); height: 48px; margin: 0 auto; padding: 0 var(--rand); }
.unterleiste-titel { flex: none; font-size: 19px; font-weight: 600; letter-spacing: -.01em; text-decoration: none; }
.unterleiste-reihe {
  position: relative;
  display: flex;
  gap: 24px;
  min-width: 0;
  margin: 0 0 0 auto;
  padding: 0;
  overflow-x: auto;
  list-style: none;
  scrollbar-width: none;
}
.unterleiste-reihe::-webkit-scrollbar { display: none; }
.unterleiste-reihe a { display: block; padding: 14px 0; font-size: 13px; line-height: 16px; color: var(--grau); text-decoration: none; white-space: nowrap; }
.unterleiste-reihe a:hover { color: var(--tinte); }
.unterleiste-reihe a[aria-current] { color: var(--tinte); text-decoration: underline 2px; text-underline-offset: 6px; }
/* Weicher Auslauf (24 px) nur an dem Rand, hinter dem noch Einträge folgen;
   site.js setzt mehr-links und mehr-rechts beim Scrollen. */
.unterleiste-reihe.mehr-rechts {
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 24px), transparent);
  mask-image: linear-gradient(to right, #000 calc(100% - 24px), transparent);
}
.unterleiste-reihe.mehr-links {
  -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 24px), transparent);
  mask-image: linear-gradient(to left, #000 calc(100% - 24px), transparent);
}
.unterleiste-reihe.mehr-links.mehr-rechts {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 24px, #000 calc(100% - 24px), transparent);
  mask-image: linear-gradient(to right, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}
@media (max-width: 760px) {
  .unterleiste-innen { gap: 16px; padding-right: 0; }
  .unterleiste-titel { font-size: 17px; }
  .unterleiste-reihe { gap: 12px; padding-right: var(--rand); }
}

/* ---------- Beleg-Karten (/belege/) ----------
   Links Text und Umschalter, rechts das Blatt; am Handy das Blatt oben.
   Blätter nie beschneiden. */
.belege-liste { display: grid; gap: 24px; padding-top: 24px; }
/* /shop/ Entstehung: Zwischenüberschriften „So ist er heute.“ und „Der Weg dahin.“ */
.entstehung-kopf { padding-top: 16px; }
.entstehung-kopf .titel { margin-bottom: 8px; }
.entstehung-kopf .einleitung { margin-bottom: 0; }
/* Bildzeile ohne feste Höhe: Breite je Bild nach seinem Format (--r =
   Breite / Höhe), alle Bilder gleich hoch, zusammen so breit wie die Karte.
   Ein Bild füllt die Breite, zwei stehen nebeneinander. Unter 700 px ein
   Bild pro Zeile, hohe Bilder höchstens 70 % der Fensterhöhe. */
.bild-zeile { display: flex; align-items: flex-start; gap: 20px; margin-top: 24px; padding: 0 clamp(24px, 4vw, 48px); }
/* ×100: Liegt die Summe der Wachstumswerte unter 1 (ein Hochformat allein),
   verteilt CSS sonst nur einen Teil der Breite */
.bild-zeile > figure { flex: calc(var(--r) * 100) 1 0; min-width: 0; margin: 0; }
.bild-zeile a { display: block; cursor: zoom-in; }
.bild-zeile img { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 8px 24px rgba(0, 0, 0, .12); }
.bild-zeile figcaption { margin-top: 10px; font-size: 14px; color: var(--text); overflow-wrap: normal; word-break: normal; }
/* Sehr schmales Bild (Handy-Ganzseite): Unterschrift kleiner, nie im Wort
   getrennt, darf etwas breiter sein als das Bild (höchstens zwei Zeilen) */
.bild-zeile .bild-hoch figcaption { width: max-content; min-width: 100%; max-width: 8.5em; font-size: 13px; }
/* Fast quadratisches Einzelbild (Startseite): ab 1000 px groß neben dem
   Text statt über die volle Breite (sonst über 1000 px hoch) */
@media (min-width: 1000px) {
  .beleg-karte-reihe.bild-neben { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: start; }
  .bild-neben .bild-zeile { margin-top: 0; padding-left: 0; }
}
@media (max-width: 699px) {
  .bild-zeile { flex-direction: column; align-items: stretch; gap: 24px; }
  .bild-zeile > figure { flex: none; }
  .bild-zeile img { width: auto; max-width: 100%; max-height: 70vh; max-height: 70svh; margin: 0 auto; }
  .bild-zeile figcaption { text-align: center; }
}
/* Der Weg dahin: zurückgenommene Karten, Text oben, das Bild direkt
   darunter. Am Rechner drei nebeneinander (freier Platz bleibt unten in der
   Karte, nicht zwischen Text und Bild), am Tablet Bild neben dem Text, am
   Handy untereinander. Bildfläche so hoch wie das Bild. */
.weg-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.weg-karte { display: flex; flex-direction: column; gap: 18px; padding: 24px; }
.weg-karte .marke { margin-bottom: 6px; font-size: 12px; }
.weg-karte h4 { font-size: 18px; line-height: 1.3; letter-spacing: -.01em; }
.weg-karte p:not(.marke) { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--text); }
.weg-bild { display: block; cursor: zoom-in; }
.weg-bild img { display: block; width: 100%; height: auto; border-radius: 8px; box-shadow: 0 6px 18px rgba(0, 0, 0, .10); }
@media (max-width: 999px) {
  .weg-raster { grid-template-columns: minmax(0, 1fr); }
  .weg-karte { flex-direction: row; align-items: flex-start; gap: 24px; }
  .weg-karte .weg-text { flex: 1 1 0; }
  .weg-bild { flex: 0 0 42%; }
}
@media (max-width: 559px) {
  .weg-karte { flex-direction: column; }
  .weg-bild { flex: none; }
}
.beleg-karte { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: 32px 48px; padding: clamp(24px, 4vw, 48px); }
.beleg-karte h2, .beleg-karte-titel { font-size: clamp(28px, 3vw, 40px); }
.beleg-stand { margin-top: 14px; }
.beleg-stand .marke { margin-bottom: 2px; font-size: 12px; }
.beleg-stand p:not(.marke) { font-size: 16px; color: var(--text); }
.beleg-satz { margin-top: 14px; font-size: 17px; color: var(--text); }
.beleg-karte h3:not(.beleg-karte-titel) { margin: 28px 0 8px; font-size: 15px; font-weight: 600; letter-spacing: 0; }
.fehlte { margin: 0; padding-left: 1.2em; font-size: 16px; line-height: 1.5; color: var(--text); }
.fehlte li + li { margin-top: 4px; }
.beleg-karte .umschalter-knopf { margin-top: 28px; }
/* Vorher und Nachher im selben Rasterfeld: die verborgene Fassung hält
   ihren Platz (unsichtbar, auch für Vorleseprogramme) */
.stapel { display: grid; }
.stapel > * { grid-area: 1 / 1; }
.stapel > [hidden] { display: block !important; visibility: hidden; }
.beleg-karte-blatt { display: flex; justify-content: center; padding: clamp(16px, 3vw, 36px); border-radius: 14px; background: var(--grund); }
.blatt { display: block; width: min(100%, 440px); cursor: zoom-in; }
.beleg-karte-dunkel { background: linear-gradient(180deg, #1A1A1A 0%, #000000 100%); }
.blatt.blatt-handy { width: min(100%, 300px); }
/* /shop/: Bildschirmaufnahmen sind quer, sie nutzen das ganze Bildfeld */
#beispiel .beleg-karte-blatt .blatt { width: 100%; }
/* Zwei Blätter nebeneinander (eBay: Zahnrad und Gitterblende), schmal untereinander */
.beleg-karte-paar { gap: clamp(12px, 2vw, 24px); align-items: flex-start; }
.beleg-karte-paar figure { flex: 1 1 0; min-width: 0; margin: 0; }
.beleg-karte-paar .blatt { width: 100%; }
.beleg-karte-paar figcaption { margin-top: 10px; font-size: 13px; color: var(--grau); text-align: center; }
.beleg-absatz { margin-top: 8px; font-size: 16px; color: var(--text); }
.beleg-karte .fehlte + .beleg-absatz { margin-top: 10px; }
@media (max-width: 560px) {
  .beleg-karte-paar { flex-direction: column; align-items: center; }
  .beleg-karte-paar figure { width: min(100%, 360px); }
}
.blatt.blatt-handy img { box-shadow: none; }
.blatt img { width: 100%; box-shadow: 0 10px 30px rgba(0, 0, 0, .12); }
.beleg-karte-reihe { grid-template-columns: minmax(0, 1fr); padding-left: 0; padding-right: 0; }
.beleg-karte-reihe .beleg-karte-text { padding: 0 clamp(24px, 4vw, 48px); max-width: 760px; }
.beleg-karte-reihe .reihe-wrap { --kante: clamp(24px, 4vw, 48px); }
.beleg-karte-reihe .reihe { padding-bottom: 8px; }
.mahnstufe, .blatt-karte { margin: 0; }
.reihe > .mahnstufe { flex-basis: min(70%, 236px); }
.reihe > .blatt-karte { flex-basis: min(70%, 300px); padding: 18px; }
/* Gleich hohes Bildfeld für A4-Blätter und Mail-Bilder, alles ganz zu sehen */
.blatt-karte .blatt { display: flex; align-items: center; justify-content: center; width: 100%; height: 340px; }
.blatt-karte .blatt img { width: auto; max-width: 100%; height: auto; max-height: 100%; }
/* Lange Handy-Ganzseiten (/shop/): höherer Rahmen, damit sie ganz und noch erkennbar sind */
.reihe:has(.blatt-karte-hoch) .blatt-karte .blatt { height: 480px; }
@media (max-width: 560px) { .reihe:has(.blatt-karte-hoch) .blatt-karte .blatt { height: 400px; } }
/* /markenaufbau/: Markenblatt (Wortmarke, Farben, Monogramm) und dunkles
   Bildfeld für Geräte-Standbilder in der Reihe */
.blatt-karte .marken-blatt { padding: 0 24px; border-radius: 14px; }
.blatt-karte div.marken-blatt { cursor: default; }
.blatt-karte .marken-blatt img { box-shadow: none; }
.blatt-karte .marken-blatt .marken-logo { width: 100%; }
.blatt-karte .marken-blatt .marken-zeichen { width: 60%; }
.blatt-karte .marken-blatt .marken-monogramm { flex-basis: 64px; width: 64px; }
.blatt-karte .blatt.beleg-karte-dunkel { border-radius: 14px; }
/* Foto mit schwarzem Grund (iPad im Ständer): Feld in reinem Schwarz, sonst
   zeichnen sich die Bildkanten im Verlauf ab */
.blatt-karte .blatt.blatt-foto-schwarz { background: #000000; }
.blatt-karte .blatt.blatt-foto-schwarz img { box-shadow: none; }
/* /markenaufbau/: Das erste Bild steht groß neben dem Text, die Reihe
   darunter beginnt mit dem zweiten. Rahmen in den Reihen so hoch wie das
   Bild (reihe-frei), die Karten oben bündig: kein Weiß über breiten Bildern. */
.beleg-karte-reihe.mit-erstem { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.mit-erstem .beleg-karte-erstes { padding-right: clamp(24px, 4vw, 48px); }
.mit-erstem > .reihe-wrap, .mit-erstem > .weiter-knopf { grid-column: 1 / -1; }
.mit-erstem > .weiter-knopf { padding: 0 clamp(24px, 4vw, 48px); }
.beleg-karte-erstes .blatt-karte { margin: 0; }
.beleg-karte-erstes .blatt-karte .blatt { height: auto; }
.beleg-karte-erstes .blatt-karte .blatt img { max-height: 520px; }
.beleg-karte-erstes .blatt-karte .blatt.beleg-karte-dunkel { padding: 24px; }
.beleg-karte-erstes .marken-blatt, .reihe-frei .marken-blatt { min-height: 260px; }
.reihe-frei { align-items: flex-start; }
/* Passt die Reihe ganz ins Bild, teilen sich die Karten die volle Breite:
   keine Lücke am Ende. Längere Reihen bleiben wischbar (kein freier Platz). */
.reihe-frei > .blatt-karte { flex-grow: 1; }
.reihe-frei .blatt-karte .blatt { height: auto; }
.reihe-frei .blatt-karte .blatt img { max-height: 420px; }
.reihe-frei .blatt-karte .blatt.beleg-karte-dunkel { padding: 16px; }
/* Geräte-Standbilder auf dunklem Grund: Rahmen eng ums Gerät, Gerät größer */
.reihe-frei .blatt.blatt-handy, .beleg-karte-erstes .blatt.blatt-handy { width: fit-content; max-width: 100%; margin-inline: auto; }
.reihe-frei .blatt.blatt-handy img { max-height: 480px; }
.beleg-karte-erstes .blatt.blatt-handy img { max-height: 560px; }
.blatt-karte:has(.blatt-handy) figcaption { text-align: center; }
/* Gleich hohe Rahmen: site.js setzt Bild-, Rahmen- und Kartenbreite je
   Reihe (Klasse mit-mass). Passt die Reihe ganz hinein, füllen die Karten
   die Breite, die Rahmen stehen mittig darin. */
.reihe-wrap .reihe-frei.mit-mass > .blatt-karte { flex-grow: 0; flex-shrink: 0; }
.reihe-wrap .reihe-frei.mit-mass.reihe-passt > .blatt-karte { flex-grow: 1; }
.reihe-frei.mit-mass .blatt-karte .blatt { max-width: 100%; margin-inline: auto; }
.reihe-frei.mit-mass .blatt-karte .blatt img { max-width: none; max-height: none; }
/* Unter 700 px: Die Reihe ist so hoch wie die Karte im Bild (site.js),
   die Höhe wechselt beim Wischen sanft */
.reihe.reihe-folgt { align-items: flex-start; overflow-y: hidden; transition: height .25s ease; }
@media (prefers-reduced-motion: reduce) { .reihe.reihe-folgt { transition: none; } }
/* Monogramm mit Luft oben und unten (Rahmen mindestens 260 px hoch) */
.reihe-frei .marken-blatt .marken-zeichen { width: min(60%, 180px); }
@media (max-width: 820px) {
  .beleg-karte-reihe.mit-erstem { grid-template-columns: minmax(0, 1fr); }
  .mit-erstem .beleg-karte-erstes { padding: 0 clamp(24px, 4vw, 48px); }
}
.mahnstufe figcaption, .blatt-karte figcaption { margin-top: 12px; font-size: 14px; color: var(--text); }
.mahnstufe figcaption .marke, .blatt-karte figcaption .marke { display: block; margin-bottom: 2px; font-size: 12px; }
#anlasswerk .beleg-karte { margin-bottom: 8px; }
#anlasswerk .einleitung p + p { margin-top: 10px; }
.belege-notiz { font-size: 15px; color: var(--grau); }
@media (max-width: 820px) {
  .beleg-karte { grid-template-columns: minmax(0, 1fr); }
  .beleg-karte-blatt { order: -1; }
}

/* ---------- Leistungen (/betrieb/) ----------
   Große Karten, oben Text, unten das Bild auf hellem Grund (unbeschnitten)
   oder die Handys auf dunklem. */
.leistungs-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.leistungs-karte { display: flex; flex-direction: column; overflow: hidden; }
.leistungs-text { padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 36px) 0; }
.leistungs-text:last-child { padding-bottom: clamp(24px, 3vw, 36px); }
.leistungs-text h3 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.015em; }
.leistungs-text p { margin-top: 10px; font-size: 16px; color: var(--text); }
.leistungs-text p .textlink { font-size: 15px; color: var(--tinte); }
.leistungs-bild {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 280px;
  margin: 24px clamp(24px, 3vw, 36px) clamp(24px, 3vw, 36px);
  padding: 20px;
  border-radius: 14px;
  background: var(--grund);
  overflow: hidden;
}
.leistungs-bild img { width: auto; max-width: 100%; max-height: 100%; box-shadow: 0 8px 24px rgba(0, 0, 0, .10); }
.leistungs-bild.marken-blatt { padding: 0 32px; background: #F4F6F7; }
.leistungs-bild.marken-blatt img { box-shadow: none; }
/* Die Bildfläche richtet sich nach dem Bild, nicht nach der Nachbarkarte:
   Ist die Nachbarkarte höher, bleibt der freie Platz unten in der Karte. */
.leistungs-karte > .leistungs-bild, .leistungs-karte > .leistungs-bild-dunkel { flex: 0 0 auto; }
.leistungs-karte > .handy-reihe { flex: 1 1 auto; }
.leistungs-karte > .leistungs-bild-dunkel { display: flex; align-items: center; }
.projekt > .leistungs-bild-dunkel { display: flex; flex: 1 1 auto; align-items: center; }
.projekt > .leistungs-bild-dunkel { flex: none; margin: auto 26px 26px; }
.projekt > .projekt-text:has(+ .leistungs-bild-dunkel) { padding-bottom: 22px; }
/* Link unten in der Projektkarte, bei allen Karten auf einer Linie */
.projekt > .leistungs-bild-dunkel:has(+ .projekt-link) { margin-bottom: 14px; }
.projekt-link { position: relative; margin: 0 26px 26px; font-size: 14px; }
.karte-dunkel .projekt-link { color: #FFFFFF; }
.leistungs-bild-dunkel > .geraete-paar { width: 100%; }
.leistungs-bild.marken-blatt { gap: 28px; min-height: 300px; height: auto; }
.leistungs-bild.marken-blatt .marken-logo { width: 100%; }
.leistungs-bild.marken-blatt .tupfer { flex-basis: 32px; width: 32px; }
.leistungs-bild.marken-blatt .marken-monogramm { flex-basis: 76px; width: 76px; border-radius: 14px; }
.leistungs-liste { flex: 1; margin: 24px clamp(24px, 3vw, 36px) clamp(24px, 3vw, 36px); padding: 24px 28px; border-radius: 14px; background: var(--grund); }
.leistungs-liste .marke { font-size: 12px; }
.leistungs-liste { display: flex; flex-direction: column; }
.leistungs-liste ul { display: flex; flex: 1; flex-direction: column; justify-content: space-between; margin: 0; padding: 0; list-style: none; }
.leistungs-liste li { padding: 10px 0; border-top: 1px solid var(--linie); font-size: 16px; }
.leistungs-bild-breit { height: auto; padding: 16px; }
.leistungs-bild-breit .blatt { width: 100%; }
.leistungs-bild-breit img { width: 100%; max-height: none; }
/* Laptop und Handy auf dunklem Grund, Höhe ergibt sich aus der Breite */
.leistungs-bild-dunkel {
  margin: 24px clamp(24px, 3vw, 36px) clamp(24px, 3vw, 36px);
  padding: 48px 32px 32px;
  border-radius: 14px;
  background: linear-gradient(180deg, #1A1A1A 0%, #000000 100%);
}
.leistungs-karte .handy-reihe { margin: 24px clamp(24px, 3vw, 36px) clamp(24px, 3vw, 36px); height: 280px; }
.leistungs-karte .handy-reihe img { width: auto; height: 100%; margin: 0 -4%; }
@media (max-width: 820px) {
  .leistungs-raster { grid-template-columns: minmax(0, 1fr); }
}
/* Letzte Karte (Werkzeuge) am Rechner über beide Spalten, Text links, Handys rechts */
@media (min-width: 821px) {
  .leistungs-karte-breit { grid-column: 1 / -1; flex-direction: row; align-items: center; }
  .leistungs-karte-breit > .leistungs-text { flex: 1 1 0; padding-bottom: clamp(24px, 3vw, 36px); }
  .leistungs-karte-breit > .handy-reihe { flex: 0 0 auto; }
}

/* ---------- Fallstudie kurz (/betrieb/) ---------- */
.fallstudie { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 40px; padding: clamp(28px, 4vw, 56px); background: linear-gradient(180deg, #1A1A1A 0%, #000000 100%); }
.fallstudie-text { flex: 1 1 280px; min-width: 0; }
.fallstudie-text .marke { color: #A1A1A6; }
.fallstudie-text h2 { font-size: clamp(28px, 3.4vw, 40px); color: #FFFFFF; }
.fallstudie-text p:not(.marke) { margin: 12px 0 24px; font-size: 17px; color: #D2D2D7; }
.fallstudie-bild { flex: 1.4 1 380px; min-width: 0; }
.fallstudie-bild .geraet-laptop { aspect-ratio: 1100 / 733; }

/* ---------- Methode (/betrieb/) ---------- */
.methode-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.methode-karte { padding: clamp(24px, 3vw, 36px); }
.methode-karte h3 { margin-bottom: 16px; font-size: 22px; }
.methode-karte dl { margin: 0; }
.methode-karte dl > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--linie); }
.methode-karte dt { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--grau); }
.methode-karte dd { margin: 0; font-size: 16px; }
.methode-karte .hinweis { color: var(--grau); }
.methode-notiz { margin-top: 14px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--grau); }
.baustelle { color: var(--amber); }
@media (max-width: 640px) {
  .methode-raster { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Preiskarten mit „i“ (/betrieb/) ----------
   Das „i“ ist als Tippfläche 24 × 24 px groß, sichtbar ist ein Kreis von
   16 px. Ohne Skript setzt der Browser das Fenster mittig ins Bild; mit
   Skript (.ist-verankert) steht es am i, immer 16 px vom Rand. */
.preis-gruppe-titel { margin: 32px 0 14px; font-size: 15px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--grau); }
.preis h4 { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.3; }
.betrag.betrag-text { font-size: 22px; letter-spacing: -.01em; }
.preis-breit { max-width: 760px; }
.preis-breit .preis-text { font-size: 15px; color: var(--text); }
/* Fünf Preiskarten am Rechner in einer Reihe statt 4 + 1 */
@media (min-width: 1100px) {
  .raster.raster-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
/* Am Tablet zwei Spalten statt 3 + 2, die letzte Karte über die ganze Breite */
@media (min-width: 561px) and (max-width: 1099px) {
  .raster.raster-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .raster.raster-5 > :last-child { grid-column: 1 / -1; }
}
/* Sechs Preiskarten (Startseite): am Rechner 3 + 3, am Tablet 2 + 2 + 2 */
@media (min-width: 1100px) {
  .raster.raster-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 561px) and (max-width: 1099px) {
  .raster.raster-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.preis-zeile { font-size: 17px; font-weight: 600; color: var(--tinte); }
.preise-mehr-zwei a + a { margin-left: 20px; }
.preis-fuss { max-width: 760px; margin-top: 24px; font-size: 15px; color: var(--text); }
.eigenstaendig { margin-top: 32px; }   /* Text A unter der Betreuung (/betrieb/) */
.info-bindung { display: inline-block; }   /* wie .am-stueck */
.info-knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin: -4px 0 -4px 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--grau);
  vertical-align: middle;
  cursor: pointer;
}
.info-knopf span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}
.info-knopf:hover, .info-knopf[aria-expanded="true"] { color: var(--tinte); }
.info-knopf[aria-expanded="true"] span { background: var(--tinte); border-color: var(--tinte); color: #FFFFFF; }
.info-fenster {
  width: min(340px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  margin: auto;
  padding: 16px 18px;
  overflow: auto;
  border: 0;
  border-radius: 14px;
  background: #FFFFFF;
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
  box-shadow: 0 10px 32px rgba(0, 0, 0, .18);
}
.info-fenster.ist-verankert { position: fixed; inset: auto; margin: 0; }

/* ---------- Formular (in den Anfrage-Karten) ---------- */
.formular { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; max-width: 640px; margin: 0 auto; text-align: left; }
.feld-breit, .feld-aktion { grid-column: 1 / -1; }
.feld-honig { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.feld label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--text); }
.feld input, .feld textarea {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--linie);
  border-radius: 12px;
  background: var(--grund);
  color: var(--tinte);
  font: inherit;
  font-size: 16px;
}
.feld textarea { min-height: 130px; resize: vertical; }
.feld input:focus-visible, .feld textarea:focus-visible { outline: 2px solid var(--tinte); outline-offset: 1px; }
.feld-aktion { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.anfrage-karte .formular-hinweis { flex: 1 1 260px; max-width: none; margin: 0; font-size: 13px; line-height: 1.5; color: var(--grau); }
.feld [aria-invalid="true"] { border-color: var(--oxblood); }
.anfrage-karte .feld-fehler { max-width: none; margin: 6px 0 0; font-size: 14px; font-weight: 600; color: var(--oxblood); }
.anfrage-karte .feld-fehler:empty { display: none; }
.anfrage-karte .formular-meldung { grid-column: 1 / -1; max-width: none; margin: 0; font-size: 16px; color: var(--tinte); }
.anfrage-karte .formular-danke { margin: 8px auto 0; font-size: 21px; font-weight: 600; color: var(--tinte); }
.formular-danke:focus { outline: none; }
@media (max-width: 560px) {
  .formular { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Anlässe ----------
   Produktkarten, darunter die Muster als wischbare Reihen. Alle Bilder
   stehen gleich hoch und ganz in ihrer Karte (object-fit: contain); zu
   breite Motive werden kleiner, nie beschnitten. */
/* Fünf Karten: 3 + 2, die beiden unteren breiter; schmaler 2 + 2 + 1 mit
   der letzten über die volle Breite; am Handy eine Spalte. */
.produkt-raster { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.produkt-raster > * { grid-column: span 2; }
.produkt-raster > :nth-child(n+4) { grid-column: span 3; }
@media (max-width: 900px) {
  .produkt-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .produkt-raster > *, .produkt-raster > :nth-child(n+4) { grid-column: span 1; }
  .produkt-raster > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .produkt-raster { grid-template-columns: minmax(0, 1fr); }
}
.produkt { display: flex; flex-direction: column; gap: 8px; padding: 28px; }
.produkt .marke { margin-bottom: 0; font-size: 12px; }
.produkt h3 { font-size: 20px; letter-spacing: -.01em; }
.produkt p:not(.marke) { font-size: 15px; color: var(--text); }
.produkt .textlink { margin-top: auto; padding-top: 8px; font-size: 14px; }
.stufen { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-top: 20px; font-size: 14px; color: var(--grau); }
.stufen b { color: var(--tinte); font-weight: 600; }
.gruppe { margin-top: 36px; }
.gruppe-kopf { margin-bottom: 4px; }
.gruppe-kopf .marke { margin-bottom: 4px; font-size: 12px; }
.gruppe-kopf h3 { font-size: 22px; letter-spacing: -.01em; }
.gruppe-kopf p:not(.marke) { max-width: 680px; margin-top: 4px; font-size: 16px; color: var(--text); }
.reihe-muster > .muster { flex: 0 0 auto; margin: 0; padding: 16px; }
.muster img {
  width: auto;
  height: 320px;
  max-width: min(560px, 74vw);
  object-fit: contain;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .10);
}
.muster .blatt { width: auto; }
/* width 0 + min-width 100 %: die Unterschrift bestimmt die Kartenbreite
   nicht mit, sie bricht in der Breite des Bildes um */
.muster figcaption { width: 0; min-width: 100%; margin-top: 12px; font-size: 13px; line-height: 1.45; color: var(--grau); }
.muster figcaption b { color: var(--tinte); font-weight: 600; }
.muster-paar > div { display: flex; gap: 16px; align-items: flex-end; }
.muster-paar img { max-width: 34vw; }
@media (max-width: 560px) {
  .muster img { height: 260px; }
}

/* ---------- Rechtstexte (Impressum, Datenschutz) und 404 ----------
   Nur Layout: Breite etwa 680 px, Schrift Inter. Der Text selbst bleibt
   Wort für Wort, wie ihn die Kanzlei geliefert hat. */
/* Lange Wörter (etwa „INTERESSENABWÄGUNG“ in Versalien) dürfen getrennt
   werden, sonst entsteht bei 320 px seitliches Scrollen. Der Text bleibt. */
.legal { padding: clamp(40px, 6vw, 72px) 0 64px; overflow-wrap: break-word; hyphens: auto; }
.legal .wrap { max-width: calc(680px + 2 * var(--rand)); }
.legal h1 { margin-bottom: 28px; font-size: clamp(24px, 7.4vw, 44px); }
.legal h2 { margin: 36px 0 12px; font-size: 20px; letter-spacing: -.01em; line-height: 1.3; }
.legal p, .legal address, .legal li { font-size: 16px; line-height: 1.6; color: var(--text); }
.legal p, .legal address { margin: 0 0 14px; }
.legal address { font-style: normal; }
.legal ul { margin: 0 0 14px; padding-left: 1.2em; }
.legal a { color: var(--tinte); text-underline-offset: 3px; }
.legal-stand { margin-top: 32px !important; font-size: 14px !important; color: var(--grau) !important; }
.legal-back a { font-weight: 600; text-decoration: none; }
.legal-back a:hover { text-decoration: underline; }

/* ---------- Großansicht (site.js, <dialog>) ----------
   Ganzes Fenster: oben der Kopf wie die Kopfleiste, darunter das Bild ganz
   zu sehen, auf abgedunkeltem Grund. */
.gross {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--tinte);
}
.gross[open] { display: flex; flex-direction: column; }
/* Fast deckend: Die Seite darunter ist nicht mehr lesbar. Oben eine dunkle
   Leiste mit hellem „Schließen“, darunter das Bild ganz und mittig, mit
   Abstand zum Rand (Handy 16 px, Rechner bis 48 px). */
.gross::backdrop { background: rgba(0, 0, 0, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.gross { --gross-rand: clamp(16px, 3vw, 48px); }
.gross-leiste { flex: none; }
.gross-leiste-innen { height: var(--kopf); display: flex; align-items: center; justify-content: flex-end; }
.gross .knopf-hell:focus-visible { outline-color: #F5F5F7; }
.gross-flaeche { flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 var(--gross-rand) var(--gross-rand); }
/* Ganze Seiten: lesbar breit, im Großbild scrollen */
.gross.gross-lang .gross-flaeche { align-items: flex-start; overflow-y: auto; }
.gross.gross-lang .gross-flaeche img { max-width: 100%; max-height: none; height: auto; }
.gross-flaeche img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100vh - var(--kopf) - var(--gross-rand));
  max-height: calc(100dvh - var(--kopf) - var(--gross-rand));
}

/* ---------- Ganzseite zum Scrollen (/shop/, /markenaufbau/#shop) ----------
   Karte mit fester Höhe, darin die ganze Seite in voller Kartenbreite; man
   scrollt in der Karte. Oben „Zum Scrollen“ und der Umschalter (Rechner,
   Handy, Vorher), unten ein Verlauf, der am Ende verschwindet (site.js).
   Am Handy nie in einer Wischreihe; am Ende scrollt die Seite weiter. */
.ganzseite { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: #FFFFFF; box-shadow: var(--schatten); }
.ganzseite-kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 12px 16px; border-bottom: 1px solid rgba(0, 0, 0, .06); }
.ganzseite-hinweis { font-size: 13px; color: var(--grau); }
.ganzseite-wahl { display: inline-flex; gap: 4px; padding: 3px; border-radius: 999px; background: var(--grund); }
.ganzseite-wahl button { min-height: 32px; padding: 4px 14px; border: 0; border-radius: 999px; background: transparent; color: var(--text); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.ganzseite-wahl button[aria-pressed="true"] { background: var(--tinte); color: #FFFFFF; }
.ganzseite-fenster { height: 75vh; height: 75svh; max-height: 980px; overflow-y: auto; background: var(--grund); }
.ganzseite-fenster:focus-visible { outline-offset: -3px; }
.ganzseite-fenster > a { display: block; cursor: zoom-in; }
.ganzseite-fenster > a[hidden] { display: none; }
.ganzseite-fenster img { display: block; width: 100%; height: auto; }
/* Handy-Ganzseite im Rechner-Fenster: schmal und mittig */
.ganzseite-fenster > .ganzseite-handy { width: min(390px, 100%); margin: 0 auto; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); }
.ganzseite-verlauf { position: absolute; left: 0; right: 0; bottom: 0; height: 72px; pointer-events: none; background: linear-gradient(rgba(245, 245, 247, 0), rgba(245, 245, 247, .96)); transition: opacity .3s; }
.ganzseite.am-ende .ganzseite-verlauf { opacity: 0; }
@media (max-width: 820px) {
  .ganzseite-fenster { height: 70vh; height: 70svh; }
}
/* Mehrere Umschalter (eBay-Vorlage: Artikel, Vorher/Nachher, Rechner/Handy):
   Gruppen nebeneinander, bei wenig Platz untereinander */
.ganzseite-wahlen { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 8px; }
@media (max-width: 560px) { .ganzseite-wahlen { justify-content: flex-start; } }
/* Alle Ganzseiten zum Scrollen (seit 13.11.2026 gleich gebaut): der Text
   steht über dem Kasten in Lesebreite, der Kasten bekommt die volle
   Kartenbreite. So wird die Rechner-Fassung am Rechner groß genug zum Lesen.
   /markenaufbau/ 03 und 08 (erstes-breit), /belege/ #ebay (beleg-karte-ganz),
   /shop/ „Seite für Seite“ (seite-block). */
.beleg-karte-reihe.mit-erstem.erstes-breit,
.beleg-karte.beleg-karte-ganz { grid-template-columns: minmax(0, 1fr); align-items: start; }
.erstes-breit .beleg-karte-erstes { padding: 0 clamp(24px, 4vw, 48px); }
.beleg-karte-ganz .beleg-karte-text { max-width: 680px; }
/* Wort mit Bindestrich, das nicht umbrechen darf („eBay-Vorlage“). Kein
   U+2011: Inter hat das Zeichen nicht, die Ersatzschrift sieht anders aus. */
.ohne-umbruch { white-space: nowrap; }

/* /shop/ „Der Shop, Seite für Seite“: Erklärung oben, Ganzseite darunter */
.seite-block { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding: clamp(24px, 3vw, 40px); }
.seite-block h3 { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.02em; }
.seite-block-text p:not(.ziffer) { margin-top: 12px; font-size: 16px; line-height: 1.55; color: var(--text); }
.seite-block-text { max-width: 680px; }

/* ---------- Scroll-Laptop „Sehen Sie selbst.“ ----------
   Mit JavaScript: Abschnitt etwa 320 vh hoch, die Bühne klebt, im
   Bildschirm läuft die ganze Seite mit. Ohne JavaScript und bei
   reduzierter Bewegung: normale Höhe, Standbild. */
.sehen { margin-top: 56px; padding: 72px 0 56px; background: #000000; color: #F5F5F7; }
.sehen-kopf { text-align: center; }
.sehen-kopf .marke { color: #A1A1A6; letter-spacing: .08em; }
.sehen-kopf h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -.025em; text-wrap: balance; }
.sehen-kopf p:not(.marke) { max-width: 560px; margin: 14px auto 0; font-size: 19px; line-height: 1.45; color: #A1A1A6; }
.sehen-buehne { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 28px var(--rand) 0; overflow: hidden; }
.sehen-buehne .geraet { width: min(1000px, 100%); }
html.js .sehen-bahn { height: 270vh; }
html.js .sehen-buehne { position: sticky; top: 0; height: 100vh; height: 100svh; padding-top: calc(var(--kopf) + 8px); padding-bottom: 16px; }
html.js .sehen-buehne .geraet { width: min(1000px, 100%, calc((100vh - 200px) * 1.5)); width: min(1000px, 100%, calc((100svh - 200px) * 1.5)); }
@media (prefers-reduced-motion: reduce) {
  html.js .sehen-bahn { height: auto; }
  html.js .sehen-buehne { position: relative; height: auto; padding-top: 28px; }
  html.js .sehen-buehne .geraet { width: min(1000px, 100%); }
}
/* Am Rechner so groß, wie die Fensterhöhe erlaubt. Im Rahmenbild reicht der
   Laptop von 16,5 % bis 96,5 % der Breite und von 9,4 % bis 82,2 % der Höhe.
   Die negativen Ränder rechnen das Schwarz darüber und darunter heraus, die
   Verschiebung stellt den Laptop selbst in die Mitte. 205 px = Kopf, Reiter,
   Zeile und Abstände; 2,06 = 1,5 ÷ 0,728 (Rahmenhöhe je Laptophöhe). Reiter
   und Zeile liegen über dem Rahmenbild, damit sie sichtbar und klickbar
   bleiben. */
@media (min-width: 1100px) {
  html.js .sehen-buehne :is(.reiter, .sehen-zeile) { position: relative; z-index: 1; }
  html.js .sehen-buehne .geraet {
    --lb: min(1500px, (100vw - 2 * var(--rand)) / .8, (100vh - 205px) * 2.06);
    --lb: min(1500px, (100vw - 2 * var(--rand)) / .8, (100svh - 205px) * 2.06);
    flex: none;
    width: var(--lb);
    margin: calc(var(--lb) * -.0627) 0 calc(var(--lb) * -.1187);
    transform: translateX(-6.5%);
  }
}
/* Schmal: Das Rahmenbild hat links viel Schwarz. Der Laptop darf darum über
   den Rand ragen und rückt so weit nach links, dass er mittig steht. */
@media (max-width: 760px) {
  .sehen-buehne .geraet, html.js .sehen-buehne .geraet { flex: 0 0 auto; width: 128%; transform: translateX(-6%); }
}
/* Hochformat: Der Laptop richtet sich nach der Breite und ist viel
   niedriger als das Fenster. Die Bühne ist darum nur so hoch wie ihr
   Inhalt und klebt wie am Rechner direkt unter dem Kopf (nicht mittig in
   100 vh). Das Schwarz über und unter dem Laptop im Rahmenbild fällt weg
   wie am Rechner; der Laptop ist so breit wie der Inhalt. */
@media (max-aspect-ratio: 1/1) and (prefers-reduced-motion: no-preference) {
  html.js .sehen-buehne { height: auto; justify-content: flex-start; }
  html.js .sehen-buehne .geraet {
    --lb: min(1500px, (100vw - 2 * var(--rand)) / .8);
    flex: none;
    width: var(--lb);
    margin: calc(var(--lb) * -.0627) 0 calc(var(--lb) * -.1187);
    transform: translateX(-6.5%);
  }
  html.js .sehen-buehne :is(.reiter, .sehen-zeile) { position: relative; z-index: 1; }
}
/* /shop/ „Das Design“: Laptop größer als auf /betrieb/. Am Rechner ist der
   Laptop selbst (80 % des Rahmenbilds) so breit wie das Raster (1152 px),
   solange die Fensterhöhe reicht; 225 px = Kopf, Leiste, Reiter, Zeile. Im
   Hochformat fast so breit wie das Fenster (12 px Luft je Seite, das Gerät
   bleibt ganz). Ohne JavaScript entfällt der Laptop. */
@media (prefers-reduced-motion: no-preference) {
  html.js .sehen-gross .sehen-buehne { padding-top: calc(var(--kopf) + 48px + 8px); }   /* unter Kopf und Leiste der Seite */
}
@media (min-width: 1100px) {
  html.js .sehen-gross .sehen-buehne .geraet {
    --lb: min(1440px, (100vw - 2 * var(--rand)) / .8, (100vh - 225px) * 2.06);
    --lb: min(1440px, (100vw - 2 * var(--rand)) / .8, (100svh - 225px) * 2.06);
  }
}
@media (max-aspect-ratio: 1/1) and (prefers-reduced-motion: no-preference) {
  html.js .sehen-gross .sehen-buehne .geraet { --lb: min(1440px, (100vw - 24px) / .8); }
}
html:not(.js) .sehen-gross .sehen-bahn { display: none; }
/* /shop/: Laptop als erster Eindruck, ohne Kopfzeilen, läuft langsamer
   (längere Bahn). Ohne JavaScript entfällt der Abschnitt ganz. */
html.js .sehen-langsam .sehen-bahn { height: 420vh; }
.sehen-langsam { margin-top: 24px; padding-top: 0; }
html:not(.js) .sehen-langsam { display: none; }
.sehen-langsam .reiter { display: none !important; }   /* ein Reiter: kein Umschalter nötig (site.js braucht ihn trotzdem) */
.reiter { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--tinte); }
.reiter .kurz { display: none; }
.reiter button {
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #A1A1A6;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.reiter button:hover { color: #F5F5F7; }
.reiter button[aria-selected="true"] { background: #F5F5F7; color: var(--tinte); }
.reiter button:focus-visible { outline-color: #F5F5F7; }
/* Schmal: kurze Namen, damit die Reiter in eine Zeile passen */
@media (max-width: 560px) {
  .reiter .lang { display: none; }
  .reiter .kurz { display: inline; }
  .reiter button { min-height: 44px; padding: 8px 14px; font-size: 14px; }
}
/* Sehr schmal (320 px): vier Reiter passen nur mit weniger Innenabstand */
@media (max-width: 345px) {
  .reiter button { padding: 8px 10px; }
}
.sehen-zeile { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 14px; font-size: 15px; color: #A1A1A6; text-align: center; }
.sehen-zeile b, .sehen-zeile a { color: #F5F5F7; font-weight: 600; }
.fort { display: block; width: 160px; height: 3px; border-radius: 2px; background: #2A2A2D; overflow: hidden; }
.fort i { display: block; width: 0; height: 100%; background: #F5F5F7; }

/* ---------- So läuft es, Preise ---------- */
.raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
/* Vier Schritte: 4 nebeneinander oder 2 × 2, nie 3 + 1 */
@media (min-width: 561px) and (max-width: 1099px) {
  #ablauf .raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.ablauf-karte { padding: 28px; }
.ablauf-karte .ziffer { font-size: 44px; }
.ablauf-karte h3 { margin: 12px 0 6px; font-size: 20px; letter-spacing: -.01em; }
.ablauf-karte p:not(.ziffer) { font-size: 15px; color: var(--text); }
.preis { display: flex; flex-direction: column; gap: 8px; padding: 28px; }
.preis h3 { font-size: 18px; font-weight: 600; letter-spacing: 0; line-height: 1.3; }
.betrag { margin-top: auto; font-size: 34px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.betrag span { font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--grau); }
.karte-nacht .betrag span { color: #A1A1A6; }
.preise-mehr { margin-top: 20px; font-size: 15px; }

/* ---------- Anfrage, Anlässe, Fuß ---------- */
.anfrage { padding-top: 72px; padding-bottom: 40px; }
.anfrage-karte { padding: clamp(32px, 6vw, 72px); border-radius: 28px; text-align: center; }
.anfrage-karte h2 { font-size: clamp(30px, 4.4vw, 52px); }
.anfrage-karte p { max-width: 560px; margin: 16px auto 32px; font-size: 19px; color: var(--text); }
.anfrage-karte .knopf { padding: 15px 28px; font-size: 17px; }
.anfrage-karte .anfrage-tel { margin: 24px auto 0; font-size: 16px; }
.anfrage-tel a { font-weight: 600; text-decoration: none; white-space: nowrap; }
.anfrage-tel a:hover { text-decoration: underline; text-underline-offset: 4px; }
.anlass-zeile { padding-bottom: 48px; }
.anlass { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding: 20px 24px; }
.anlass img { width: 120px; border-radius: 12px; background: #F0F0F3; }
.anlass-text { flex: 1 1 240px; min-width: 0; }
.anlass-text .marke { font-size: 12px; margin-bottom: 4px; }
.anlass-text p:not(.marke) { font-size: 18px; font-weight: 600; line-height: 1.35; }
.anlass > span { font-size: 15px; font-weight: 600; }
.anlass:hover > span { text-decoration: underline; text-underline-offset: 4px; }

/* Fuß: Marke, Kontakt, Menü, darunter die Rechtszeile */
.fuss { border-top: 1px solid var(--linie); }
.fuss a { text-decoration: none; }
.fuss-raster { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding-top: 44px; padding-bottom: 36px; }
.fuss-logo { display: inline-block; }
.fuss-logo img { height: 56px; width: auto; }
.fuss-marke p { margin-top: 12px; font-size: 15px; color: var(--text); }
.fuss-liste { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; font-size: 15px; }
.fuss-liste a { display: inline-block; padding: 4px 0; }
.fuss-recht { display: flex; flex-wrap: wrap; gap: 8px 16px; padding-top: 18px; padding-bottom: 22px; border-top: 1px solid var(--linie); font-size: 13px; color: var(--grau); }
@media (max-width: 760px) {
  .fuss-raster { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 24px; }
  .fuss-marke { grid-column: 1 / -1; }
  /* Tippfläche 44 px hoch; die Links stehen zu dicht für eine unsichtbare Fläche */
  .fuss-liste { gap: 0; }
  .fuss-liste a, .fuss-recht a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
  .fuss-recht { align-items: center; gap: 0 16px; padding-top: 6px; padding-bottom: 10px; }
}

/* ---------- Weniger Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  .karte, .pfeil, .punkt::before, .nav-toggle span::before, .nav-toggle span::after { transition: none; }
  .karte:hover { transform: none; }
}
