/* ==========================================================================
   Flow2Print, Marketing-Vorlage
   Richtung: Ein Motiv (das gefaltete Blatt aus dem Flow2Print-Zeichen)
   Type: Stack Sans Headline 300 / Stack Sans Text 400+500
   Fonts lokal gehostet (kein externer Font-Abruf).
   ========================================================================== */

@font-face {
  font-family: "Stack Sans Headline";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("assets/fonts/stack-sans-headline-300-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Stack Sans Headline";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("assets/fonts/stack-sans-headline-300-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: "Stack Sans Text";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/stack-sans-text-var-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Stack Sans Text";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/stack-sans-text-var-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;
}

:root {
  --ground: #f5f4f0;
  --paper: #ffffff;
  --ink: #121721;
  --muted: #525d70;
  --accent: #075fd8;
  --accent-hover: #0354c2;
  --accent-deep: #143f7a;
  --accent-mid: #9dc4f0;
  --accent-soft: #eaf1fc;
  --on-accent: #ffffff;
  --line: #e2e0d8;
  --error: #b91c1c;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);

  --font-display: "Stack Sans Text", "Segoe UI", sans-serif;
  --font-text: "Stack Sans Text", "Segoe UI", sans-serif;

  --edge: clamp(20px, 4vw, 48px);
  --measure: 1360px;
}

/* Das gefaltete Blatt: abgeschnittene obere rechte Ecke. */
.fold {
  clip-path: polygon(
    0 0,
    calc(100% - var(--f, 48px)) 0,
    100% var(--f, 48px),
    100% 100%,
    0 100%
  );
}

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

html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (max-width: 860px) {
  html { scroll-padding-top: 66px; }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--step-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.028em;
  line-height: 1.04;
  text-wrap: balance;
  margin: 0;
}

p { margin: 0; text-wrap: pretty; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }

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

.footer :focus-visible,
.cta :focus-visible,
.showcase :focus-visible,
.pipe-route :focus-visible,
.tile-deep :focus-visible,
.b-d :focus-visible,
.topbar-menu:focus-visible {
  outline-color: currentColor;
}

::selection { background: var(--accent-mid); color: var(--ink); }

.skip-link {
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  z-index: 100;
  background: var(--ink);
  color: var(--on-accent);
  padding: 0;
  text-decoration: none;
  font-weight: 500;
}
.skip-link:focus {
  inline-size: auto;
  block-size: auto;
  overflow: visible;
  clip-path: none;
  white-space: normal;
  padding: .75rem 1.25rem;
}

/* Buttons: gefüllt, quadratisch, mit der gefalteten Ecke des Motivs. */
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 500;
  font-size: var(--step-body);
  padding: 0.9rem 2rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  --f: 14px;
  clip-path: polygon(0 0, calc(100% - var(--f)) 0, 100% var(--f), 100% 100%, 0 100%);
  transition: background-color 0.18s ease;
}
.btn:hover { background: var(--accent-hover); }
.btn:active { background: var(--accent-deep); }
.btn-small { padding: 0.6rem 1.25rem; font-size: var(--step-small); }

/* ==========================================================================
   Hauptmenü, schlichte Leiste: Zeichen, wenige Links, eine Aktion
   ========================================================================== */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  column-gap: 32px;
  height: 64px;
  padding: 0 var(--edge);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.topbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.025em;
  text-decoration: none;
}
.topbar-brand .mark { width: 28px; height: 28px; }

/* Links mittig zwischen Marke und CTA, Untermenüs klappen bei Hover/Fokus auf */
.topbar-links {
  display: flex;
  align-items: center;
  gap: 4px 30px;
  justify-self: center;
  height: 100%;
}
.topbar-links > a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9375rem;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.topbar-links > a:hover { color: var(--accent); }

.nav-group {
  display: flex;
  align-items: center;
  align-self: stretch;
  position: relative;
}
.nav-group > a {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9375rem;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.nav-group > a::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1.5px);
  transition: transform 0.15s ease;
}
.nav-group:hover > a, .nav-group:focus-within > a,
.nav-group > a:hover { color: var(--accent); }
.nav-group:hover > a::after, .nav-group:focus-within > a::after {
  transform: rotate(225deg) translate(-1.5px, -1.5px);
}

.nav-sub {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 220px;
  display: grid;
  padding: 10px;
  background: var(--paper);
  border: 1px solid var(--line); /* taste-skill-ignore */
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(21, 32, 51, 0.14); /* taste-skill-ignore */
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}
.nav-group:hover .nav-sub, .nav-group:focus-within .nav-sub {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.nav-sub a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9375rem;
  white-space: nowrap;
  transition: background 0.12s ease, color 0.12s ease;
}
.nav-sub a:hover { background: var(--accent-soft); color: var(--accent); }
.nav-sub small {
  display: block;
  padding: 2px 14px 6px;
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  background: var(--ground);
  border-radius: 8px;
  font-size: 0.8125rem;
  line-height: 1;
}
.lang-switch b, .lang-switch a {
  padding: 5px 8px;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
}
.lang-switch b { background: var(--ink); color: var(--paper); }
.lang-switch a { color: var(--muted); transition: color 0.15s ease; }
.lang-switch a:hover { color: var(--accent); }

.topbar .btn-small { justify-self: end; }

.topbar-menu {
  display: none;
  align-items: center;
  gap: 8px;
  justify-self: end;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--accent-soft);
  border: 0;
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
}
.topbar-menu svg { width: 20px; height: 20px; }
.topbar-menu .menu-chev { transition: transform 0.2s ease; transform-origin: 12px 14px; }
.topbar-menu[aria-expanded="true"] .menu-chev { transform: rotate(180deg); }

/* ==========================================================================
   HERO, gedruckte Karte neben der Maschinen-Fotografie
   ========================================================================== */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 12px;
  min-height: calc(100svh - 64px);
  background: var(--ground);
}

.hero-card {
  background: var(--paper);
  display: flex;
  flex-direction: column;
  --f: 40px;
  clip-path: polygon(0 0, calc(100% - var(--f)) 0, 100% var(--f), 100% 100%, 0 100%);
}

/* Druckkontrollstreifen wie auf dem Druckbogen: Passer, Volltoner, Ueberdrucke. */
.press-strip {
  display: flex;
  height: 52px;
  flex: 0 0 auto;
  overflow: hidden;
}
.press-strip .p { flex: 0 0 34px; }
.press-strip .p.grow { flex: 1 0 0; }
.press-strip .c { background: #00a2dd; }
.press-strip .m { background: #e6007e; }
.press-strip .y { background: #ffe200; }
.press-strip .k { background: #1a1b1d; }
.press-strip .r { background: #d9261c; }
.press-strip .g { background: #009640; }
.press-strip .b { background: #2e3192; }
.press-strip .k50 { background: #8d9199; }
.press-strip .paper { background: var(--paper); }
.press-strip .reg {
  flex: 0 0 34px;
  background:
    radial-gradient(circle at 50% 50%, transparent 8px, var(--ink) 8.5px, var(--ink) 11px, transparent 11.5px), /* taste-skill-ignore Passer-Ring */
    linear-gradient(var(--ink), var(--ink)) 50% 50% / 2px 30px no-repeat, /* taste-skill-ignore Passer-Kreuz */
    linear-gradient(var(--ink), var(--ink)) 50% 50% / 30px 2px no-repeat; /* taste-skill-ignore Passer-Kreuz */
}
.press-strip .lbl {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  color: var(--muted);
  white-space: nowrap;
}

.hero-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: start;
  padding: clamp(2.5rem, 7vh, 5.5rem) clamp(1.5rem, 4.5vw, 4.25rem);
  gap: 0;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: -0.025em;
}
.wordmark .mark { width: 42px; height: 42px; }

.hero-card h1 {
  font-size: clamp(2.5rem, 4.1vw, 4.15rem);
  margin-top: 0;
  max-width: 14ch;
}

.hero-lead {
  margin-top: 1.5rem;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 42ch;
}

.hero-card .btn { margin-top: 2.25rem; }

.hero-card-body .btn { margin-bottom: 0; }

.hero-photo {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  --f: 56px;
}
.hero-photo .crossfade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 50%;
  opacity: 0;
  transition: opacity 2.1s ease;
}
.hero-photo .crossfade.is-on { opacity: 1; }
.hero-photo .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 50%;
  opacity: 0;
}
.hero-photo .hero-video.is-playing { opacity: 1; }
.hero-photo .crossfade:first-child { position: relative; }

/* ==========================================================================
   Sections, ein Raster, ein Rand
   ========================================================================== */

.section {
  max-width: var(--measure);
  margin: 0 auto;
  padding: clamp(96px, 12vw, 180px) var(--edge) 0;
}

.section h2 { font-size: var(--step-head); }

/* ==========================================================================
   ABLAUF, drei klar gegliederte Stufen auf einer Linie
   ========================================================================== */

.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  counter-reset: flow-stage;
}

.flow-title {
  grid-column: 1 / -1;
  padding-bottom: clamp(12px, 2vw, 24px);
}

.flow-stage {
  counter-increment: flow-stage;
  display: flex;
  flex-direction: column;
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  --f: 24px;
  clip-path: polygon(0 0, calc(100% - var(--f)) 0, 100% var(--f), 100% 100%, 0 100%);
}

.stage-1,
.stage-2,
.stage-3 {
  grid-column: auto;
}

.flow-stage .tile {
  width: 100%;
  height: clamp(230px, 22vw, 290px);
  clip-path: none;
  flex: 0 0 auto;
}

.tile {
  overflow: hidden;
  display: grid;
  place-items: center;
  --f: 22px;
  clip-path: polygon(0 0, calc(100% - var(--f)) 0, 100% var(--f), 100% 100%, 0 100%);
}
.tile-soft { background: var(--accent-soft); }
.tile-mid { background: var(--accent-mid); }
.tile-deep { background: var(--accent-deep); }

.tile-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flow-stage figcaption {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 20px 24px 26px;
}
.flow-stage figcaption::before {
  content: "0" counter(flow-stage);
  display: inline-block;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.flow-stage h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.flow-stage figcaption p {
  margin-top: 8px;
  font-size: 1rem;
  color: var(--muted);
  max-width: 38ch;
  line-height: 1.5;
}
.flow-stage figcaption .media-description {
  margin-top: auto;
  padding-top: 14px;
  font-size: 0.875rem;
}

/* UI-Fragmente: echte Produkt-Stücke, Produktregeln innen. */
.ui-frag {
  font-family: var(--font-text);
  color: var(--ink);
  line-height: 1.4;
}

.frag-designer {
  width: 15em;
  font-size: 0.95rem;
}
.frag-toolbar {
  display: flex;
  gap: 6px;
  padding: 8px;
  background: var(--paper);
  border: 1px solid var(--line); /* taste-skill-ignore */
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}
.frag-toolbar i {
  width: 18px; height: 18px;
  background: var(--accent-soft);
  border: 1px solid var(--line); /* taste-skill-ignore */
  border-radius: 5px;
}
.frag-canvas {
  background: #eef2f7;
  border: 1px solid var(--line); /* taste-skill-ignore */
  border-radius: 0 0 10px 10px;
  padding: 18px;
  display: grid;
  place-items: center;
}
.frag-card {
  position: relative;
  width: 100%;
  aspect-ratio: 85 / 55;
  background: var(--paper);
  border: 1px solid #d7dee8; /* taste-skill-ignore */
  padding: 10px 12px;
}
.fc-name { display: block; font-weight: 500; font-size: 0.95em; }
.fc-sub { display: block; font-size: 0.72em; color: var(--muted); margin-top: 2px; }
.fc-line { position: absolute; left: 12px; bottom: 9px; width: 34%; height: 4px; background: var(--accent); }
.frag-card::after {
  content: "";
  position: absolute;
  top: -4px; right: -4px;
  width: 7px; height: 7px;
  background: var(--accent);
}

.frag-preflight {
  width: 15em;
  font-size: 0.95rem;
  background: var(--paper);
  border: 1px solid var(--line); /* taste-skill-ignore */
  border-radius: 10px;
  padding: 14px 16px;
}
.fp-title { font-weight: 500; font-size: 1.05em; }
.frag-preflight ul { list-style: none; margin: 10px 0 0; padding: 0; }
.frag-preflight li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85em;
  padding: 4px 0;
}
.frag-preflight li i,
.bf-check p i {
  flex: 0 0 auto;
  width: 13px; height: 13px;
  background: #256b43;
  border-radius: 3px;
  position: relative;
}
.frag-preflight li i::after,
.bf-check p i::after {
  content: "";
  position: absolute;
  left: 3.5px; top: 2.5px;
  width: 5px; height: 3px;
  border-left: 1.6px solid #fff;
  border-bottom: 1.6px solid #fff;
  transform: rotate(-45deg);
}
.fp-status {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line); /* taste-skill-ignore */
  font-size: 0.8em;
  font-weight: 500;
  color: #256b43;
}

/* ==========================================================================
   SHOWCASE, ein Control, auf Postergröße
   ========================================================================== */

.showcase {
  margin-top: clamp(96px, 12vw, 180px);
  background: var(--sc, var(--accent));
  min-height: 78svh;
  overflow: hidden;
  transition: background-color 0.9s ease;
}
.showcase.released { --sc: var(--accent-deep); }

.showcase-inner {
  position: relative;
  min-height: 78svh;
  max-width: var(--measure);
  margin: 0 auto;
  padding: clamp(56px, 7vw, 96px) var(--edge);
}

.showcase h2 {
  color: var(--on-accent);
  font-size: clamp(28px, 2.6vw, 40px);
}
.showcase-sub {
  color: var(--accent-soft);
  font-size: 1.0625rem;
  margin-top: 10px;
  max-width: 34ch;
}

/* Job-Statusleiste: reagiert über .released mit der Freigabe */
.sp-status {
  margin-top: clamp(30px, 3.5vw, 52px);
  display: flex;
  flex-wrap: wrap;
  width: fit-content;
  background: var(--paper);
  --f: 12px;
  clip-path: polygon(0 0, calc(100% - var(--f)) 0, 100% var(--f), 100% 100%, 0 100%);
  padding: 10px 14px;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  gap: 4px 10px;
}
.sp-status .st {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}
.sp-status .st i {
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  --f: 4px;
  clip-path: polygon(0 0, calc(100% - var(--f)) 0, 100% var(--f), 100% 100%, 0 100%);
  background: #c9d2dd;
  transition: background-color 0.6s ease;
}
.sp-status .st.done { color: var(--ink); }
.sp-status .st.done i { background: #256b43; }
.showcase.released .st.gate { color: var(--ink); }
.showcase.released .st.gate i { background: #256b43; }
.showcase.released .st.next { color: var(--ink); }
.showcase.released .st.next i { background: var(--accent); }

.showcase-panel {
  position: absolute;
  right: max(calc(var(--edge) * -1), -4%);
  bottom: -10%;
  font-size: clamp(1.5rem, 1rem + 1.7vw, 2.1rem);
  width: 19em;
}

.sp-card {
  background: var(--paper);
  border-radius: 0.5em;
  padding: 0.9em;
  display: flex;
  flex-direction: column;
  gap: 0.75em;
}

.sp-preview {
  position: relative;
  background: var(--ground);
  border: 1px solid var(--line); /* taste-skill-ignore */
  aspect-ratio: 85 / 55;
  padding: 0.6em 0.7em;
  overflow: hidden;
}
.spc-name { display: block; font-weight: 500; font-size: 0.72em; }
.spc-sub { display: block; font-size: 0.5em; color: var(--muted); margin-top: 0.2em; }
.spc-line { position: absolute; left: 0.7em; bottom: 0.55em; width: 34%; height: 0.16em; background: var(--accent); }
.spc-brand { position: absolute; right: 0.7em; bottom: 0.5em; font-size: 0.4em; color: var(--muted); }
.sp-preview.format-9050 { aspect-ratio: 90 / 50; }

.sp-controls { display: flex; flex-direction: column; gap: 0.75em; }

.sp-field { display: block; }
.sp-field span {
  display: block;
  font-size: 0.4em;
  font-weight: 500;
  margin-bottom: 0.35em;
  color: var(--muted);
}
.sp-field input {
  width: 100%;
  font: inherit;
  font-size: 0.55em;
  font-weight: 500;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--muted); /* taste-skill-ignore */
  border-radius: 0.35em;
  padding: 0.45em 0.6em;
}
.sp-field input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

.sp-seg, .cd-seg {
  display: flex;
  background: var(--accent-soft);
  border-radius: 0.45em;
  padding: 0.18em;
  gap: 0.18em;
}
.sp-seg button, .cd-seg button {
  flex: 1;
  font: inherit;
  font-size: 0.42em;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 0.32em;
  padding: 0.5em 0.8em;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.sp-seg button.seg-on, .cd-seg button.seg-on {
  background: var(--paper);
  color: var(--ink);
}
.sp-seg button:hover:not(.seg-on), .cd-seg button:hover:not(.seg-on) { color: var(--ink); }

.sp-release {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font: inherit;
  font-size: 0.45em;
  font-weight: 500;
  color: var(--ink);
  background: transparent;
  border: 0;
  padding: 0.3em 0;
  cursor: pointer;
  text-align: left;
}
.sp-track {
  flex: 0 0 auto;
  width: 2.2em;
  height: 1.25em;
  background: #c9d3e0;
  border-radius: 1em;
  position: relative;
  transition: background-color 0.2s ease;
}
.sp-thumb {
  position: absolute;
  top: 0.14em; left: 0.14em;
  width: 0.97em; height: 0.97em;
  background: var(--paper);
  border-radius: 50%;
  transition: transform 0.2s ease;
}
.sp-release[aria-pressed="true"] .sp-track { background: #256b43; }
.sp-release[aria-pressed="true"] .sp-thumb { transform: translateX(0.95em); }

/* ==========================================================================
   Motivband, Blätter trennen die Seitenhälften
   ========================================================================== */

.motif-band {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 0 var(--edge);
  margin-top: clamp(96px, 12vw, 180px);
  height: 88px;
  overflow: hidden;
}
.motif-band i {
  flex: 1 1 0;
  min-width: 0;
  height: 88px;
  --f: 14px;
  clip-path: polygon(0 0, calc(100% - var(--f)) 0, 100% var(--f), 100% 100%, 0 100%);
}
.motif-band i:nth-child(4n+1) { background: var(--accent-soft); height: 60px; }
.motif-band i:nth-child(4n+2) { background: var(--accent-mid); height: 88px; }
.motif-band i:nth-child(4n+3) { background: var(--accent-soft); height: 72px; }
.motif-band i:nth-child(4n) { background: var(--accent-mid); height: 50px; }

/* ==========================================================================
   STANDARDS, Namen auf Kacheln
   ========================================================================== */

.proof-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.proof-tile {
  background: var(--paper);
  border: 1px solid var(--line);
  aspect-ratio: 3 / 2;
  padding: 24px;
  --f: 16px;
  clip-path: polygon(0 0, calc(100% - var(--f)) 0, 100% var(--f), 100% 100%, 0 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.proof-head {
  grid-column: span 2;
  aspect-ratio: auto;
  background: var(--accent);
  border-color: transparent;
  justify-content: flex-end;
}
.proof-head h2 { color: var(--on-accent); font-size: clamp(28px, 3vw, 48px); }
.pt-name { font-size: clamp(1.375rem, 1.1rem + 1vw, 2rem); font-weight: 500; letter-spacing: -0.01em; }
.pt-sub { margin-top: 8px; font-size: var(--step-small); color: var(--muted); }

/* ==========================================================================
   BOARD, Nahaufnahmen des Produkts
   ========================================================================== */

.board-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 104px;
  gap: 8px;
}
.b-tile {
  position: relative;
  overflow: hidden;
  --f: 18px;
  clip-path: polygon(0 0, calc(100% - var(--f)) 0, 100% var(--f), 100% 100%, 0 100%);
}
.b-head { grid-column: span 6; grid-row: span 2; background: var(--accent); padding: 24px; display: flex; flex-direction: column; }
.b-head h2 { color: var(--on-accent); font-size: clamp(30px, 3.4vw, 54px); }
.b-head .b-steps { margin-top: auto; color: var(--on-accent); font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.02em; }
.b-a { grid-column: span 6; grid-row: span 4; background: var(--accent-soft); }
.b-b { grid-column: span 3; grid-row: span 4; background: var(--accent-mid); }
.b-c { grid-column: span 3; grid-row: span 4; background: var(--paper); }
.b-d { grid-column: span 3; grid-row: span 2; background: var(--accent-deep); }
.b-e { grid-column: span 6; grid-row: span 2; background: var(--paper); }
.b-f { grid-column: span 3; grid-row: span 2; background: var(--accent-mid); }
.b-g { grid-column: span 6; grid-row: span 2; background: var(--accent-soft); }

.b-cap {
  position: absolute;
  left: 20px; bottom: 16px;
  display: flex;
  flex-direction: column;
  z-index: 2;
}
.b-cap strong { font-weight: 500; font-size: 1.125rem; }
.b-cap span { font-size: 0.875rem; color: var(--muted); margin-top: 2px; }
.b-d .b-cap strong, .b-d .b-cap span { color: var(--on-accent); }
.b-d .b-cap span { color: var(--accent-mid); }
.b-b .b-cap span, .b-f .b-cap span { color: var(--ink); }

.b-tile .ui-frag.crop {
  position: absolute;
  font-size: 1.75rem;
  color: var(--ink);
}

/* Designer-Nahaufnahme */
.bf-designer { width: 12em; }
.bf-tools { display: flex; gap: 0.3em; }
.bf-tools i {
  width: 1em; height: 1em;
  background: var(--paper);
  border: 1px solid var(--line); /* taste-skill-ignore */
  border-radius: 0.2em;
}
.bf-stage {
  margin-top: 0.35em;
  background: #e4ebf3;
  border: 1px solid var(--line); /* taste-skill-ignore */
  padding: 0.5em;
  display: flex;
  flex-direction: column;
  gap: 0.35em;
}
.bf-sel, .bf-obj { background: var(--paper); border: 1px solid #d7dee8; /* taste-skill-ignore */ padding: 0.35em 0.5em; }
.bf-sel { border: 1.5px solid var(--accent); /* taste-skill-ignore */ font-weight: 500; font-size: 0.7em; }
.bf-obj { font-size: 0.55em; color: var(--muted); width: 60%; }
.b-a .ui-frag.crop { top: 10%; left: 20%; font-size: 2.05rem; }

/* Route */
.bf-route { width: 8.5em; font-size: 1em; }
.bfr-label { font-size: 0.55em; color: var(--ink); font-weight: 500; }
.bfr-to { font-size: 0.95em; font-weight: 500; margin-top: 0.2em; }
.bfr-meta { font-size: 0.5em; color: var(--ink); margin-top: 0.4em; }
.b-b .ui-frag.crop { top: 16%; left: 10%; font-size: 1.85rem; }

/* Preflight-Checks */
.bf-check { font-size: 1em; }
.bf-check p {
  display: flex; align-items: center; gap: 0.4em;
  background: var(--paper);
  border: 1px solid var(--line); /* taste-skill-ignore */
  border-radius: 0.3em;
  padding: 0.4em 0.6em;
  font-size: 0.5em;
  font-weight: 500;
  white-space: nowrap;
}
.bf-check p + p { margin-top: 0.4em; }
.bf-check p i { width: 0.95em; height: 0.95em; }
.bf-check p i::after { left: 0.26em; top: 0.18em; width: 0.36em; height: 0.22em; }
.b-c .ui-frag.crop { top: 14%; left: 14%; font-size: 2.2rem; }

/* Varianten */
.bf-seg {
  display: flex;
  background: var(--paper);
  border-radius: 0.5em;
  padding: 0.22em;
  gap: 0.22em;
  font-size: 1em;
}
.bf-seg span {
  font-size: 0.45em;
  font-weight: 500;
  padding: 0.55em 0.9em;
  border-radius: 0.36em;
  color: var(--muted);
  white-space: nowrap;
}
.bf-seg .bf-seg-on { background: var(--accent-soft); color: var(--ink); }
.b-d .ui-frag.crop { top: 18%; left: 12%; font-size: 1.9rem; }

/* Nachbestellen */
.bf-reorder { font-size: 1em; width: 13em; }
.bfr-row {
  display: flex; align-items: baseline; justify-content: space-between;
  border-bottom: 1px solid var(--line); /* taste-skill-ignore */
  padding: 0.4em 0.2em;
}
.bfr-prod { font-size: 0.55em; font-weight: 500; }
.bfr-date { font-size: 0.42em; color: var(--muted); }
.bfr-btn {
  display: inline-block;
  margin-top: 0.5em;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.45em;
  font-weight: 500;
  padding: 0.6em 1.1em;
  border-radius: 0.35em;
}
.b-e .ui-frag.crop { top: 16%; left: 6%; font-size: 2rem; }

/* Admin-Zeilen */
.bf-admin { font-size: 1em; width: 9em; }
.bfa-row {
  display: flex; align-items: center; gap: 0.45em;
  font-size: 0.5em;
  font-weight: 500;
  background: var(--paper);
  border: 1px solid var(--line); /* taste-skill-ignore */
  border-radius: 0.3em;
  padding: 0.45em 0.6em;
  white-space: nowrap;
}
.bfa-row + .bfa-row { margin-top: 0.35em; }
.bfa-row i {
  width: 0.9em; height: 0.9em;
  background: var(--accent-soft);
  border: 1px solid var(--line); /* taste-skill-ignore */
  border-radius: 0.2em;
  flex: 0 0 auto;
}
.bfa-row.lock i { background: var(--accent-mid); }
.b-f .ui-frag.crop { top: 14%; left: 10%; font-size: 1.8rem; }

/* Job-Status */
.bf-job { font-size: 1em; }
.bfj-id { font-size: 0.5em; color: var(--muted); font-weight: 500; }
.bfj-pill {
  display: inline-block;
  margin-top: 0.3em;
  background: #e7f4ee;
  color: #256b43;
  font-size: 0.55em;
  font-weight: 500;
  padding: 0.35em 0.8em;
  border-radius: 1em;
}
.bfj-meta { font-size: 0.42em; color: var(--muted); margin-top: 0.5em; }
.b-g .ui-frag.crop { top: 18%; left: 8%; font-size: 2.05rem; }

/* ==========================================================================
   FAQ, Reiterkarten
   ========================================================================== */

.faq { max-width: var(--measure); }
.faq h2 { text-align: left; margin: 0 auto; padding-left: 0; }
.faq > h2, .faq-stack { margin-left: 16.666%; margin-right: 16.666%; }

.faq-stack { margin-top: 48px; }

.faq-card {
  position: relative;
  background: var(--card-bg, var(--accent-soft));
  --f: 28px;
  clip-path: polygon(0 0, calc(100% - var(--f)) 0, 100% var(--f), 100% 100%, 0 100%);
  margin-top: -28px;
  padding: 28px 0 46px;
}
.faq-card:first-child { margin-top: 0; }
.faq-card:nth-child(even) { --card-bg: var(--accent-mid); }

.faq-tab {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  min-height: 62px;
  font: inherit;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 2px 24px 14px;
  cursor: pointer;
}
.faq-tab .tab {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--ink);
  opacity: 0.72;
}
.faq-tab .q {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--ink);
}

.faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.faq-card.open .faq-body { grid-template-rows: 1fr; }
.faq-body > p {
  overflow: hidden;
  font-size: 1rem;
  color: var(--ink);
  max-width: 50ch;
  padding: 0 24px;
}
.faq-card.open .faq-body > p { padding-bottom: 8px; }
.faq-card:not(.open) .faq-body > p { visibility: hidden; }

/* ==========================================================================
   CTA, der Dialog steht schon offen
   ========================================================================== */

.cta {
  margin-top: clamp(96px, 12vw, 180px);
  background: var(--accent);
  min-height: 90svh;
}
.cta-grid {
  max-width: var(--measure);
  margin: 0 auto;
  min-height: 90svh;
  padding: clamp(56px, 7vw, 96px) var(--edge);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-items: center;
}
.cta-left {
  grid-column: 1 / 6;
  align-self: end;
  padding-bottom: 5vh;
}
.cta-left h2 {
  color: var(--on-accent);
  font-size: clamp(56px, 7vw, 112px);
  line-height: 0.95;
}
.cta-left p {
  color: var(--accent-soft);
  font-size: 1.0625rem;
  margin-top: 22px;
  max-width: 38ch;
}

.cta-dialog {
  grid-column: 7 / 12;
  justify-self: center;
  width: min(440px, 100%);
  background: var(--paper);
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 24px 60px -24px rgba(8, 22, 48, 0.45); /* taste-skill-ignore */
}
.cd-title { font-weight: 500; font-size: 1.25rem; }
.cd-field { display: block; margin-top: 22px; }
.cd-field > span {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 8px;
}
.cd-field input,
.cd-field select,
.cd-field textarea {
  width: 100%;
  font: inherit;
  font-weight: 500;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--muted); /* taste-skill-ignore */
  border-radius: 8px;
  padding: 10px 14px;
}
.cd-field input:focus,
.cd-field select:focus,
.cd-field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.cd-field textarea { resize: vertical; min-height: 7rem; }
.cd-seg { margin-top: 18px; font-size: 1rem; }
.cd-seg button { font-size: 0.95rem; padding: 9px 12px; }
.cd-btn {
  display: block;
  margin-top: 22px;
  background: var(--accent);
  color: var(--on-accent);
  text-align: center;
  font-weight: 500;
  padding: 13px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.cd-btn:hover { background: var(--accent-hover); }

/* ==========================================================================
   FOOTER, das Zeichen, groß gebaut
   ========================================================================== */

.footer {
  margin-top: clamp(96px, 12vw, 180px);
  background: var(--accent-deep);
  color: var(--on-accent);
  padding: clamp(56px, 7vw, 96px) var(--edge) 40px;
}

.footer-mark {
  max-width: var(--measure);
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: clamp(180px, 30vh, 300px);
}
.footer-mark a {
  flex: 1 1 0;
  min-width: 0;
  --f: 20px;
  clip-path: polygon(0 0, calc(100% - var(--f)) 0, 100% var(--f), 100% 100%, 0 100%);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 0 0 16px 18px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
  transition: filter 0.18s ease;
}
.footer-mark a:hover { filter: brightness(1.12); }
.footer-mark .f1 { background: #3a67a5; height: 62%; color: var(--accent-soft); }
.footer-mark .f2 { background: var(--accent-mid); height: 88%; color: var(--ink); }
.footer-mark .f3 { background: var(--paper); height: 100%; color: var(--ink); }
.footer-mark .f4 { background: var(--accent); height: 74%; color: var(--on-accent); }
.footer-mark .f5 { background: #3a67a5; height: 92%; color: var(--accent-soft); }
.footer-mark .f6 { background: var(--accent-mid); height: 56%; color: var(--ink); }
.footer-mark .mark-chevron span { margin-top: auto; }
.footer-mark .mark-chevron::before {
  content: "";
  position: absolute;
  inset: 0;
  top: -12%;
  margin: auto;
  width: 34%;
  height: 44%;
  background: var(--accent-deep);
  clip-path: polygon(0 0, 62% 0, 100% 50%, 62% 100%, 0 100%, 38% 50%);
}

.footer-cols {
  max-width: var(--measure);
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  column-gap: 24px;
}
.fcol { grid-column: span 2; display: flex; flex-direction: column; gap: 8px; }
.fcol-h { font-weight: 500; font-size: 0.9375rem; margin-bottom: 6px; }
.fcol a {
  color: var(--accent-mid);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.15s ease;
}
.fcol a:hover { color: var(--on-accent); }
.fcol-contact p { color: var(--accent-mid); font-size: 0.9375rem; overflow-wrap: break-word; }

.footer-credits {
  max-width: var(--measure);
  margin: 48px auto 0;
  font-size: var(--step-small);
  color: var(--accent-mid);
  line-height: 1.5;
}
.footer-row {
  max-width: var(--measure);
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9375rem;
}
.footer-row p { color: var(--accent-mid); }
.footer .btn-small { --f: 10px; }

/* ==========================================================================
   Motion, Erscheinen der Teile
   ========================================================================== */

.rv { opacity: 0; transform: translateY(16px); }
.rv.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--d, 0ms);
}

/* ==========================================================================
   Geteilte Bausteine für die weiteren Sections
   ========================================================================== */

.section-lead {
  font-size: var(--step-lead);
  color: var(--muted);
  max-width: 44ch;
  margin-top: 18px;
  font-family: var(--font-text);
}

.prod-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.prod-head .section-lead { margin: 0 0 8px; }

/* PRODUKTE, Papierformate in echten Proportionen */
.prod-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
}
.prod-tile {
  --f: 20px;
  clip-path: polygon(0 0, calc(100% - var(--f)) 0, 100% var(--f), 100% 100%, 0 100%);
  background: var(--accent-soft);
  min-height: 230px;
  padding: 20px 14px 14px;
  display: flex;
  flex-direction: column;
}
.prod-tile:nth-child(even) { background: var(--accent-mid); }
.prod-tile .prod-sheet { margin: auto; }
.prod-sheet {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line); /* taste-skill-ignore */
  --f: 8px;
  clip-path: polygon(0 0, calc(100% - var(--f)) 0, 100% var(--f), 100% 100%, 0 100%);
}
.prod-sheet .ps-line {
  position: absolute;
  left: 10%;
  bottom: 12%;
  width: 42%;
  height: 3px;
  background: var(--accent);
}
/* Innengrafik: Bild-/Logofeld + Typozeilen + Sicherheitsrahmen */
.prod-sheet::before {
  content: "";
  position: absolute;
  left: 9%;
  top: 12%;
  width: 30%;
  height: 28%;
  background: var(--accent-soft);
}
.prod-sheet::after {
  content: "";
  position: absolute;
  background: repeating-linear-gradient(to bottom, transparent 0 3px, var(--line) 3px 5px); /* taste-skill-ignore gesetzte Textzeilen */
}
.prod-sheet .ps-crop {
  position: absolute;
  inset: 7%;
  border: 1px dashed var(--line); /* taste-skill-ignore */
}
.ar-card { width: 82%; aspect-ratio: 85 / 55; }
.ar-card::before { width: 15%; height: 36%; }
.ar-card::after { left: 30%; top: 15%; width: 56%; height: 42%; }
.ar-flyer { width: 88%; aspect-ratio: 210 / 148; }
.ar-flyer::before { width: 40%; height: 40%; }
.ar-flyer::after { left: 55%; top: 15%; width: 37%; height: 52%; }
.ar-brochure { width: 46%; aspect-ratio: 210 / 297; }
.ar-brochure::before { width: 82%; height: 24%; }
.ar-brochure::after { left: 9%; top: 44%; width: 82%; height: 36%; }
.ar-poster { width: 50%; aspect-ratio: 420 / 594; }
.ar-poster::before { width: 82%; height: 42%; }
.ar-poster::after { left: 9%; top: 62%; width: 82%; height: 20%; }
.ar-sticker { width: 52%; aspect-ratio: 1 / 1; clip-path: none; border-radius: 50%; }
.ar-sticker .ps-line { left: 24%; bottom: 22%; width: 52%; }
.ar-sticker::before { left: 33%; top: 24%; width: 34%; height: 20%; }
.ar-sticker::after { left: 20%; top: 52%; width: 60%; height: 18%; }
.ar-sticker .ps-crop { border-radius: 50%; }
.ar-rollup { width: 26%; aspect-ratio: 85 / 200; }
.ar-rollup::before { width: 76%; height: 18%; }
.ar-rollup::after { left: 12%; top: 38%; width: 76%; height: 42%; }
.ar-rollup .ps-line { left: 12%; bottom: 8%; width: 50%; }
.prod-tile .b-cap { position: static; margin-top: 16px; }
.prod-tile .b-cap strong { font-size: 1rem; }
.prod-tile .b-cap span { display: block; font-size: 0.8125rem; color: var(--muted); margin-top: 2px; }
.prod-tile:nth-child(even) .b-cap span { color: var(--ink); }

/* ZIELGRUPPEN */
.who-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}
.who-tile {
  --f: 20px;
  clip-path: polygon(0 0, calc(100% - var(--f)) 0, 100% var(--f), 100% 100%, 0 100%);
  background: var(--paper);
  padding: 26px 22px 30px;
}
.who-tile h3 {
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 1.25rem;
}
.who-tile p {
  overflow-wrap: anywhere;
  margin-top: 10px;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.5;
}

/* PIPELINE, Checkliste und Routing-Kette */
.pipe-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 6px;
}
.pipe-block {
  --f: 22px;
  clip-path: polygon(0 0, calc(100% - var(--f)) 0, 100% var(--f), 100% 100%, 0 100%);
  padding: 30px 28px 34px;
}
.pipe-check { grid-column: span 7; background: var(--paper); }
.pipe-route { grid-column: span 5; background: var(--accent-deep); }
.pipe-block .b-cap { position: static; }
.pipe-route .b-cap strong { color: var(--on-accent); }
.pipe-route .b-cap span { color: var(--accent-mid); }
.check-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
}
.check-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 1rem;
}
.check-list i {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  background: #256b43;
  --f: 4px;
  clip-path: polygon(0 0, calc(100% - var(--f)) 0, 100% var(--f), 100% 100%, 0 100%);
  transform: translateY(2px);
}
.route-chain {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.route-chain li {
  background: var(--paper);
  padding: 14px 18px;
  --f: 12px;
  clip-path: polygon(0 0, calc(100% - var(--f)) 0, 100% var(--f), 100% 100%, 0 100%);
}
.route-chain .rc-step { display: block; font-weight: 500; }
.route-chain .rc-sub { display: block; font-size: 0.8125rem; color: var(--muted); margin-top: 2px; }
.pipe-note {
  margin-top: 22px;
  font-size: 0.9375rem;
  color: var(--accent-soft);
  line-height: 1.55;
}

/* INTEGRATIONEN */
.int-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.int-tile {
  --f: 20px;
  clip-path: polygon(0 0, calc(100% - var(--f)) 0, 100% var(--f), 100% 100%, 0 100%);
  background: var(--paper);
  padding: 26px 24px 30px;
}
.int-mark {
  background: var(--accent-soft);
  border-radius: 8px;
  padding: 10px 14px;
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent-deep);
  margin-bottom: 18px;
}
.int-tile h3 {
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 1.25rem;
}
.int-tile p {
  overflow-wrap: anywhere;
  margin-top: 10px;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.5;
}

/* BETRIEB */
.ops-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}
.ops-tile {
  --f: 18px;
  clip-path: polygon(0 0, calc(100% - var(--f)) 0, 100% var(--f), 100% 100%, 0 100%);
  background: var(--accent-soft);
  padding: 22px 20px 26px;
}
.ops-tile h3 {
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 1.0625rem;
}
.ops-tile p {
  overflow-wrap: anywhere;
  margin-top: 8px;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
}
.ops-tile:nth-child(even) { background: var(--paper); }
.b2b-grid .ops-tile:nth-child(odd) { background: var(--paper); }
.b2b-grid .ops-tile:nth-child(even) { background: var(--accent-soft); }
.b2b-grid .ops-tile:nth-child(even) .int-mark { background: var(--paper); }

/* STIMME */
.quote-box {
  margin: 0 auto;
  max-width: 820px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
.quote-box .mark { width: 56px; height: 56px; }
.quote-box p {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.1rem + 2.6vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.quote-box footer {
  font-size: 0.9375rem;
  color: var(--muted);
}

/* ==========================================================================
   Vergleich: eigene Plattform gegen shop-native Systeme
   ========================================================================== */

.vs { margin-top: var(--gap); }
.vs-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  max-width: var(--w);
  margin: 0 auto 48px;
  padding: 0 var(--edge);
}
.vs-head h2 { font-size: clamp(2.4rem, 5vw, 4rem); margin: 0; }
.vs-head .section-lead { max-width: 30ch; margin: 0 0 6px; }

.vs-camps {
  max-width: var(--w);
  margin: 0 auto 32px;
  padding: 0 var(--edge);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.vs-camp {
  --f: 16px;
  clip-path: polygon(0 0, calc(100% - var(--f)) 0, 100% var(--f), 100% 100%, 0 100%);
  background: var(--paper);
  padding: 18px 20px 22px;
}
.vs-camp strong { display: block; font-size: 0.95rem; font-weight: 600; }
.vs-camp span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.vs-table {
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 var(--edge);
}
.vs-f2p { background: var(--accent-soft); }

/* ==========================================================================
   Unterseiten: Impressum, Datenschutz
   ========================================================================== */

.legal-page { background: var(--ground); }
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 10vh var(--edge) 12vh;
}
.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}
.legal h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  margin: 42px 0 8px;
}
.legal p { color: var(--muted); line-height: 1.7; margin: 0 0 14px; }
.legal a { color: var(--accent); }
.legal-note {
  border-left: 3px solid var(--accent-mid);
  padding: 10px 16px;
  background: var(--accent-soft);
  border-radius: 0 10px 10px 0;
  color: var(--ink) !important;
  font-size: 0.9375rem;
}
.legal-footer { margin-top: 0; }

/* ==========================================================================
   Phone
   ========================================================================== */

@media (max-width: 860px) {
  .topbar { height: 56px; column-gap: 12px; }

  .topbar-menu { display: inline-flex; }

  /* Nur das Zeichen, wenn Marke, Menü und CTA sich sonst schneiden */
  @media (max-width: 460px) {
    .topbar-brand { font-size: 0; }
    .topbar-brand .mark { width: 30px; height: 30px; }
  }

  .topbar-links {
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    height: auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px var(--edge) 16px;
    background: var(--paper);
    border-bottom: 2px solid var(--line);
  }
  .topbar-links.open { display: flex; }
  .topbar-links > a,
  .nav-group > a {
    font-size: 1.05rem;
    padding: 14px 0;
    color: var(--ink);
  }

  /* Untermenüs mobil als eingezogener, immer sichtbarer Baum */
  .nav-group { display: block; }
  .nav-group > a { display: flex; }
  .nav-group > a::after { display: none; }
  .nav-sub {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    min-width: 0;
    padding: 0 0 10px 18px;
    border: 0;
    box-shadow: none; /* taste-skill-ignore */
    clip-path: none;
    border-left: 2px solid var(--line);
    margin-left: 2px;
  }
  .nav-sub a { font-size: 0.9375rem; color: var(--muted); padding: 9px 0 9px 12px; }
  .nav-sub small { display: none; }
  .lang-switch { align-self: flex-start; margin-top: 14px; }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 10px;
    gap: 0;
  }
  .hero-photo {
    order: -1;
    height: 48svh;
    --f: 40px;
    margin: 0 2px;
  }
  .hero-card {
    margin: -24px 2px 0;
    --f: 34px;
  }
  .press-strip { height: 40px; }
  .press-strip .p, .press-strip .reg { flex-basis: 26px; }
  .press-strip .lbl { font-size: 0.6rem; padding: 0 10px; }
  .hero-card-body { padding: 6vh var(--edge) 4vh; }
  .hero-card h1 { font-size: 8vw; margin-top: 4vh; }
  .wordmark { font-size: 1.35rem; }
  .wordmark .mark { width: 34px; height: 34px; }

  .flow-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .flow-title { padding-bottom: 4px; }
  .flow-stage .tile { height: clamp(200px, 52vw, 280px); }

  .showcase { min-height: 74svh; }
  .showcase-inner { min-height: 74svh; }
  .showcase h2 { font-size: 26px; }
  .showcase-panel {
    font-size: 1.5rem;
    width: 116vw;
    right: auto;
    left: -4%;
    bottom: -8%;
  }

  .motif-band { height: 56px; }
  .motif-band i:nth-child(n) { height: 56px; }
  .motif-band i:nth-child(2n) { display: none; }

  .proof-board { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .proof-head { grid-column: span 2; aspect-ratio: auto; min-height: 120px; }
  .proof-tile { aspect-ratio: 3 / 2; padding: 18px; }
  .pt-name { font-size: 1.25rem; }

  .board-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 28vw; gap: 6px; }
  .b-head { grid-column: span 2; grid-row: span 1; }
  .b-head h2 { font-size: 9vw; }
  .b-a { grid-column: span 2; grid-row: span 3; }
  .b-b { grid-column: span 1; grid-row: span 2; }
  .b-c { grid-column: span 1; grid-row: span 2; }
  .b-d { grid-column: span 1; grid-row: span 2; }
  .b-f { grid-column: span 1; grid-row: span 2; }
  .b-e { grid-column: span 2; grid-row: span 2; }
  .b-g { grid-column: span 2; grid-row: span 2; }
  .b-tile .ui-frag.crop { font-size: 1.3rem; }
  .b-b .ui-frag.crop { font-size: 1.3rem; left: 8%; }
  .b-b .bf-route { width: auto; max-width: 8em; }
  .b-c .ui-frag.crop { font-size: 1.35rem; }
  .b-head .b-steps { display: none; }
  .b-cap strong { font-size: 1rem; }
  .b-cap span { font-size: 0.8125rem; }

  .faq > h2, .faq-stack { margin-left: 0; margin-right: 0; }
  .faq-card { --f: 22px; margin-top: -22px; padding: 24px 0 40px; }
  .faq-tab { padding: 2px 18px 12px; }
  .faq-tab .q { font-size: 1rem; }
  .faq-body > p { padding: 0 18px; }

  .cta { min-height: 84svh; }
  .cta-grid {
    min-height: 84svh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8vh;
  }
  .cta-left { align-self: auto; padding-bottom: 0; }
  .cta-left h2 { font-size: 13vw; }
  .cta-dialog { width: 100%; align-self: center; }

  .footer-mark { height: 22vh; min-height: 150px; }
  .footer-mark a { padding: 0 0 12px; justify-content: center; }
  .footer-mark a span {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 0.75rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .fcol { grid-column: span 1; }

  .vs-head { display: block; }
  .vs-head .section-lead { margin: 16px 0 0; }
  .vs-camps { grid-template-columns: minmax(0, 1fr); }

  .prod-head { display: block; }
  .prod-head .section-lead { margin: 16px 0 0; }
  .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prod-tile { min-height: 190px; }
  .who-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pipe-grid { grid-template-columns: minmax(0, 1fr); }
  .pipe-check, .pipe-route { grid-column: span 1; }
  .int-grid { grid-template-columns: minmax(0, 1fr); }
  .ops-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote-box { padding: 0 8px; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; }
  .rv.in { transition: none; }
  .crossfade { transition: none; }
  .hero-video { display: none; }
  .showcase, .sp-track, .sp-thumb, .faq-body { transition: none; }
}

/* ==========================================================================
   Druck: eine Druckerei-Website sollte sich selbst sauber drucken können
   ========================================================================== */

@media print {
  .topbar, .skip-link, .tile-video, .press-strip, .motif-band,
  .hero-photo, .footer-mark, .footer-credits, .topbar-menu {
    display: none !important;
  }
  * {
    color: #152033 !important;
    background: transparent !important;
    box-shadow: none !important; /* taste-skill-ignore */
  }
  html, body { background: #fff; }
  .hero { display: block; min-height: auto; padding: 0; }
  .hero-card { margin: 0; clip-path: none; }
  .section, .showcase, .cta, .footer {
    margin-top: 24px;
    min-height: auto;
    padding: 16px 0;
  }
  .rv { opacity: 1 !important; transform: none !important; }
  .showcase-panel {
    position: static;
    width: auto;
    max-width: 480px;
    font-size: 1rem;
    margin-top: 24px;
  }
  .faq-body { grid-template-rows: 1fr; }
  .faq-card:not(.open) .faq-body > p { visibility: visible; }
  .ui-frag.crop { position: static; font-size: 1rem; }
  .flow-grid, .proof-board, .board-grid, .faq-stack, .cta-grid, .footer-cols {
    margin-left: 0;
    margin-right: 0;
  }
}
