/* Trumolea — Richtung "Das Produkt funktioniert" (taste-skill seed 725836308), Palette "Blatt und Kugelschreiber".
   Die Seite ist das weiße Abschlussblatt; die eigenen Fragmente des Produkts tragen die Farbe. */

@font-face { font-family: "Switzer"; src: url("fonts/switzer-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("fonts/switzer-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --bg: #ffffff;
  --surface: #f4f4f4;
  --surface-2: #e7e7e7;
  --ink: #111111;
  --muted: #6b6b6b;
  --accent: #1a4be0;
  --accent-ink: #ffffff;
  --field-dark: #111111;
  --field-dark-ink: #ffffff;
  /* die eigenen Statusfarben des Produkts, nur innerhalb von [data-ui] verwendet */
  --ui-ok: #1d7a4b;
  --ui-warn: #a85f00;
  --ui-bad: #c0321d;
  --ui-line: #d9d9d9;

  --font: "Switzer", "Helvetica Neue", Arial, system-ui, sans-serif;
  --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);
  --step-display: clamp(3rem, 1rem + 7.4vw, 8.25rem);

  --margin: clamp(16px, 2.2vw, 32px);
  --gutter: clamp(12px, 1.7vw, 24px);
  --section: clamp(120px, 14vw, 200px);
  --radius: 4px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --t-hover: 150ms;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-body);
  line-height: 1.45;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; text-wrap: balance; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
button, input, select { font: inherit; color: inherit; letter-spacing: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.wrap {
  padding-left: max(var(--margin), env(safe-area-inset-left, 0px));
  padding-right: max(var(--margin), env(safe-area-inset-right, 0px));
}
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Schaltflächen: eine Form auf der ganzen Seite */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 44px; padding: 0 1.1em; border: 0; border-radius: var(--radius);
  background: var(--accent); color: var(--accent-ink); font-weight: 500; font-size: 15px;
  text-decoration: none; cursor: pointer;
  transition: transform var(--t-hover) var(--ease-out), background-color var(--t-hover) ease;
}
.btn:hover { background: #143bb5; }
.btn:active { transform: translateY(1px) scale(0.98); }

/* Kopfleiste */
.bar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--bg);
}
.bar__in { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.wordmark { font-weight: 500; font-size: 20px; letter-spacing: -0.03em; color: var(--ink); text-decoration: none; }
.bar__links { display: flex; gap: 24px; margin-left: auto; }
.bar__links a, .lang {
  font-size: 15px; color: var(--ink); text-decoration: none; background: none; border: 0; padding: 6px 0; cursor: pointer;
  transition: color var(--t-hover) ease;
}
.bar__links a:hover, .lang:hover { color: var(--accent); }
.lang { color: var(--muted); }
.bar .btn { min-height: 38px; }
@media (max-width: 860px) {
  .bar__links { display: none; }
  .lang { margin-left: auto; }
}

/* Hero: Satz durch einen Rahmen geteilt, die Walze bewegt sich beim Scrollen */
.hero { position: relative; height: 330svh; }
.hero__stage {
  position: sticky; top: 68px; height: calc(100svh - 68px); overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) clamp(440px, 38vw, 600px) minmax(0, 1fr);
  column-gap: var(--gutter); align-items: center;
}
.hero h1 { display: contents; }
.hero__half { font-size: var(--step-head); line-height: 1.02; letter-spacing: -0.035em; font-weight: 500; align-self: center; }
.hero__half--l { grid-column: 1; grid-row: 1; }
.hero__half--r { grid-column: 3; grid-row: 1; text-align: right; }
.hero__sub {
  grid-column: 1; grid-row: 1; align-self: end; margin-bottom: 40px;
  max-width: 30ch; font-size: var(--step-body); display: grid; gap: 20px; justify-items: start;
}
.hero__reel-col { grid-column: 2; grid-row: 1; height: 100%; position: relative; }
.reel {
  position: absolute; left: 0; right: 0; top: 50%;
  display: grid; gap: 24px;
  transform: translateY(var(--shift, -50%));
  transition: transform 700ms var(--ease-out);
}
.frame { display: grid; grid-template-rows: auto auto; gap: 10px; transition: opacity 500ms ease; }
.frame:not(.is-on) { opacity: 0.35; }
.frame__cap { font-size: var(--step-small); color: var(--muted); }
.hero__count { position: absolute; right: 0; bottom: 18px; font-size: var(--step-small); color: var(--muted); }

@media (max-width: 1000px) {
  .hero { height: auto; }
  .hero__stage { position: static; height: auto; display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 20px; padding-block: 28px 64px; overflow: visible; }
  .hero__half { font-size: clamp(2.25rem, 9vw, 3.5rem); }
  .hero__half--l, .hero__half--r, .hero__sub, .hero__reel-col { grid-column: 1; grid-row: auto; }
  .hero__half--r { text-align: right; }
  .hero__sub { max-width: 34ch; margin: 8px 0 0; align-self: start; }
  .hero__reel-col { height: auto; }
  .reel { position: static; transform: none; }
  .frame:not(.is-on) { opacity: 1; }
  .frame:not(:first-child) { display: none; }
  .hero__count { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero { height: auto; }
  .hero__stage { position: static; height: auto; min-height: calc(100svh - 68px); }
  .reel { transition: none; position: static; transform: none; }
  .frame:not(:first-child) { display: none; }
  .hero__count { display: none; }
}

/* Fragmente des Produkts: innerhalb von [data-ui] gelten die eigenen Konventionen des Produkts */
[data-ui] {
  background: var(--bg); color: var(--ink); border: 1px solid var(--ui-line); border-radius: var(--radius);
  font-size: 14px; line-height: 1.35; letter-spacing: 0; min-width: 0; overflow: hidden;
}
.ui-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; background: var(--surface); }
.ui-head b { font-weight: 500; }
.ui-head span { color: var(--muted); font-size: 13px; }
.ui-body { padding: 10px 14px; }
.ui-rows { width: 100%; border-collapse: collapse; }
.ui-rows td { padding: 5px 0; border-bottom: 1px solid var(--surface-2); }
.ui-rows td:last-child { text-align: right; }
.ui-rows tr.sum td { border-bottom: 0; font-weight: 500; padding-top: 8px; }
.ui-input {
  width: 8.5em; text-align: right; padding: 4px 8px; border: 1px solid var(--ui-line); /* taste-skill-ignore: form field inside data-ui */ border-radius: var(--radius); background: var(--bg);
}
.ui-input:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.ui-diff { font-weight: 500; }
.ui-diff.is-bad { color: var(--ui-bad); }
.ui-diff.is-ok { color: var(--ui-ok); }
.ui-foot { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px 14px; background: var(--surface); }
.ui-foot select { padding: 4px 6px; /* taste-skill-ignore: form field inside data-ui */ border: 1px solid var(--ui-line); border-radius: var(--radius); background: var(--bg); max-width: 100%; }
.ui-btn {
  padding: 5px 10px; border-radius: var(--radius); border: 1px solid var(--ui-line); background: var(--bg); cursor: pointer;
  transition: background-color var(--t-hover) ease, transform var(--t-hover) var(--ease-out);
}
.ui-btn:hover { background: var(--surface-2); }
.ui-btn:active { transform: scale(0.97); }
.ui-btn.is-primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.ui-btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.ui-sig { color: var(--muted); font-size: 13px; }
.ui-sig b { color: var(--ink); font-weight: 500; }
.ui-status { margin-left: auto; font-size: 13px; }
.ui-status.is-ok { color: var(--ui-ok); }
.ui-pill { display: inline-block; padding: 1px 7px; border-radius: 99px; font-size: 12px; background: var(--surface-2); }
.ui-pill.ok { background: #dcefe4; color: var(--ui-ok); }
.ui-pill.warn { background: #f6e8d2; color: var(--ui-warn); }
.ui-pill.bad { background: #f7dcd6; color: var(--ui-bad); }

.floor-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; padding: 12px 14px; }
.floor-grid button {
  aspect-ratio: 4 / 3; border: 0; border-radius: 3px; background: var(--surface-2); font-size: 12px; cursor: pointer;
  display: grid; place-items: center; transition: transform var(--t-hover) var(--ease-out);
}
.floor-grid button:hover { transform: translateY(-2px); }
.floor-grid .s-a { background: #dcefe4; color: var(--ui-ok); }
.floor-grid .s-d { background: #f6e8d2; color: var(--ui-warn); }
.floor-grid .s-s { background: #f7dcd6; color: var(--ui-bad); }
.floor-grid .is-sel { outline: 2px solid var(--ink); outline-offset: 1px; }
.floor-detail { padding: 0 14px 12px; color: var(--muted); font-size: 13px; min-height: 2.6em; }
.floor-detail b { color: var(--ink); font-weight: 500; }

.ticket-code { font-size: 22px; letter-spacing: 0.06em; font-weight: 500; padding: 16px 14px 8px; }

/* Abschnitte */
section[id] { scroll-margin-top: 80px; }
.sec { padding-block: var(--section) 0; }
.reveal > * { transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.js .reveal:not(.is-in) > * { opacity: 0; transform: translateY(24px); }
.reveal.is-in > *:nth-child(2) { transition-delay: 80ms; }
.reveal.is-in > *:nth-child(3) { transition-delay: 160ms; }
.reveal.is-in > *:nth-child(4) { transition-delay: 240ms; }
@media (prefers-reduced-motion: reduce) { .js .reveal:not(.is-in) > * { opacity: 1; transform: none; } .reveal > * { transition: none; } }

/* Showcase: Die Überschrift ist die Suche */
.ask { min-height: 88svh; display: grid; align-content: start; gap: 0; }
.ask h2 { font-size: var(--step-lead); color: var(--muted); letter-spacing: -0.02em; margin-bottom: 18px; }
.ask__line { position: relative; }
.ask__input {
  display: block; width: 100%; border: 0; background: none; padding: 0; outline: none;
  font-size: var(--step-display); letter-spacing: -0.045em; line-height: 1.05; color: var(--ink); border-radius: 0;
  caret-color: var(--accent); border-bottom: 4px solid transparent;
}
.ask__input:focus-visible { outline: none; border-bottom-color: var(--accent); }
.ask__answer { margin-top: 48px; max-width: 600px; }
.ask__answer .ui-rows td { padding: 8px 0; }
.ask__examples { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 40px; }
.ask__examples button {
  border: 0; background: none; padding: 6px 0; font-size: 17px; color: var(--accent); cursor: pointer; text-align: left;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em;
}
.ask__examples button:hover { color: var(--ink); }
@media (max-width: 700px) {
  .ask { min-height: 0; }
  .ask__input { font-size: 11vw; }
  .ask__answer { margin-top: 28px; }
  .ask__examples button { background: var(--surface); padding: 0 14px; min-height: 44px; text-decoration: none; border-radius: var(--radius); color: var(--ink); }
}

/* Funktionen: Die Modulliste als eigenes Befehlsmenü des Produkts */
.cmd h2 { font-size: var(--step-head); margin-bottom: 36px; max-width: 16ch; }
.cmd__box { border: 0; background: none; padding: 0; }
.cmd__search {
  width: min(100%, 860px); height: 1.9em; border: 0; border-radius: var(--radius); background: var(--surface);
  padding: 0 0.6em; font-size: clamp(1.375rem, 1rem + 1.6vw, 2.25rem); letter-spacing: -0.02em;
}
.cmd__search::placeholder { color: var(--muted); }
.cmd__list { list-style: none; margin: 20px 0 0; padding: 0; }
.cmd__row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 24px;
  padding: 10px 14px; margin-inline: -14px; border-radius: var(--radius); cursor: pointer;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.cmd__name { font-size: var(--step-head); letter-spacing: -0.04em; line-height: 1.1; }
.cmd__keys { display: flex; gap: 6px; }
.cmd__keys kbd {
  font-family: var(--font); font-size: 18px; min-width: 1.9em; height: 1.9em; display: grid; place-items: center;
  border-radius: var(--radius); background: var(--surface);
}
.cmd__desc { grid-column: 1 / -1; display: none; font-size: 17px; max-width: 60ch; padding-bottom: 6px; }
.cmd__row.is-sel { background: var(--accent); color: var(--accent-ink); }
.cmd__row.is-sel .cmd__keys kbd { background: rgba(255, 255, 255, 0.18); }
.cmd__row.is-sel .cmd__desc { display: block; }
.cmd__row[hidden] { display: none; }
.cmd__empty { font-size: var(--step-lead); color: var(--muted); padding: 12px 0; }
@media (max-width: 700px) {
  .cmd__search { height: 56px; font-size: 20px; }
  .cmd__name { font-size: 8.5vw; }
  .cmd__keys { display: none; }
  .cmd__desc { font-size: 16px; }
}

/* Ablauf: Eine Störungsmeldung, vier Stationen */
.flow { margin-top: var(--section); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.flow__field { position: relative; min-height: 84svh; padding: 28px; display: grid; grid-template-rows: auto 1fr auto; }
.flow__field:nth-child(1) { background: var(--surface); }
.flow__field:nth-child(2) { background: var(--surface-2); }
.flow__field:nth-child(3) { background: #cfcfcf; }
.flow__field:nth-child(4) { background: var(--field-dark); color: var(--field-dark-ink); }
.flow h2 { font-size: var(--step-lead); letter-spacing: -0.02em; max-width: 14ch; }
.flow__card { align-self: center; justify-self: center; width: min(100%, 268px); transition: transform var(--t-hover) var(--ease-out); }
.flow__field:hover .flow__card { transform: translateY(-6px); }
.flow__card .ui-body { display: grid; gap: 6px; }
.flow__card .muted { color: var(--muted); font-size: 13px; }
.flow__check { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 4px; }
.flow__check li { display: flex; gap: 8px; align-items: baseline; }
.flow__check li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 2px; background: var(--surface-2); }
.flow__check li.done::before { background: var(--ui-ok); }
.flow__card .big { font-size: 22px; font-weight: 500; }
.flow__clause { font-size: clamp(1.375rem, 1rem + 1vw, 2rem); line-height: 1.12; letter-spacing: -0.03em; max-width: 13ch; }
@media (max-width: 900px) {
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow__field { min-height: 64svh; padding: 20px; grid-template-rows: auto auto 1fr; gap: 28px; }
  .flow__card { align-self: start; justify-self: start; }
  .flow__clause { order: -1; font-size: 24px; }
  .flow h2 { order: -2; font-size: 24px; }
}

/* Nachweis: Das Protokoll als Tabelle */
.log h2 { font-size: clamp(2.5rem, 1rem + 4.4vw, 5rem); letter-spacing: -0.045em; line-height: 1; }
.log h2 span { display: block; }
.log h2 span + span { padding-left: calc((100% - 11 * var(--gutter)) / 12 * 2 + 2 * var(--gutter)); }
.log__table-wrap { margin-top: 72px; overflow-x: auto; }
.log table { width: 100%; border-collapse: collapse; font-size: 17px; }
.log th { text-align: left; font-weight: 400; color: var(--muted); font-size: var(--step-small); padding: 0 14px 12px; }
.log td { padding: 14px; vertical-align: top; }
.log tbody tr:nth-child(odd) td { background: var(--surface); }
.log td:first-child { width: 14%; white-space: nowrap; }
.log td:nth-child(2) { width: 34%; }
.log td:nth-child(3) { width: 22%; color: var(--muted); }
.log td:last-child { text-align: right; color: var(--muted); }
.log tr.gap td { background: none !important; padding: 10px; }
@media (max-width: 700px) {
  .log h2 { font-size: 11vw; }
  .log h2 span + span { padding-left: 0; }
  .log thead { display: none; }
  .log table, .log tbody, .log tr, .log td { display: block; width: auto !important; }
  .log tr { padding: 12px 14px; }
  .log tbody tr:nth-child(odd) { background: var(--surface); }
  .log td { padding: 0; background: none !important; text-align: left !important; }
  .log td:first-child { font-size: 22px; color: var(--ink); margin-bottom: 6px; }
  .log td:first-child:empty { display: none; }
  .log td:nth-child(3), .log td:last-child { display: inline; font-size: 15px; }
  .log td:nth-child(3)::after { content: " · "; }
}

/* Häufige Fragen: Fragenindex, eine Antwort */
.faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }
.faq__list { grid-column: 1 / span 5; list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.faq h2 { grid-column: 1 / span 5; font-size: 18px; color: var(--muted); letter-spacing: -0.01em; margin-bottom: 18px; font-weight: 400; }
.faq__q {
  display: flex; gap: 14px; align-items: baseline; width: 100%; text-align: left; border: 0; background: none; padding: 0;
  font-size: 18px; color: var(--muted); cursor: pointer; transition: color var(--t-hover) ease;
}
.faq__q::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); transform: translateY(-2px); transition: background-color var(--t-hover) ease; }
.faq__q:hover, .faq__q[aria-expanded="true"] { color: var(--ink); }
.faq__q[aria-expanded="true"]::before { background: var(--accent); }
.faq__a-inline { display: none; }
.faq__pane { grid-column: 7 / span 6; grid-row: 1 / span 2; position: sticky; top: 120px; font-size: clamp(1.375rem, 1.1rem + 0.8vw, 1.75rem); line-height: 1.3; max-width: 30ch; letter-spacing: -0.02em; transition: opacity var(--t-hover) ease; }
.faq__pane.is-fading { opacity: 0; }
@media (max-width: 860px) {
  .faq { display: block; }
  .faq__pane { display: none; }
  .faq__a-inline { font-size: 19px; line-height: 1.4; padding: 10px 0 4px 22px; color: var(--ink); }
  .faq__q[aria-expanded="true"] + .faq__a-inline { display: block; }
}

/* Kontakt: Ein Feld */
.contact { padding-block: 200px 160px; display: grid; justify-content: start; }
.contact__col { width: min(100%, 520px); }
.contact h2 { font-size: clamp(1.375rem, 1.2rem + 0.5vw, 1.75rem); letter-spacing: -0.02em; line-height: 1.25; font-weight: 500; }
.contact h2 span { display: block; }
.contact h2 span:first-child { color: var(--muted); }
.contact form { position: relative; margin-top: 28px; }
.contact__field {
  width: 100%; height: 64px; border: 0; border-radius: var(--radius); background: var(--surface);
  padding: 0 64px 0 20px; font-size: 18px;
}
.contact__field:focus { outline: 2px solid var(--accent); outline-offset: -2px; }
.contact__send { position: absolute; right: 10px; top: 10px; width: 44px; min-height: 44px; padding: 0; }
.contact__note { margin-top: 16px; font-size: var(--step-small); color: var(--muted); min-height: 1.4em; }
.contact__note.is-err { color: var(--ui-bad); }
.contact__rows { margin-top: 72px; display: grid; gap: 10px; font-size: 15px; }
.contact__rows div { display: grid; grid-template-columns: 7em minmax(0, 1fr); gap: 12px; }
.contact__rows dt { color: var(--muted); }
.contact__rows dd { margin: 0; }
@media (max-width: 700px) {
  .contact { padding-block: 120px 100px; }
  .contact__field { height: 60px; }
  .contact__send { top: 8px; }
  .contact__rows div { grid-template-columns: minmax(0, 1fr); gap: 2px; margin-bottom: 10px; }
}

/* Fußzeile: Ein Raster aus Kacheln */
.foot { padding: 8px max(10px, env(safe-area-inset-right, 0px)) max(10px, env(safe-area-inset-bottom, 0px)) max(10px, env(safe-area-inset-left, 0px)); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; }
.tile { background: var(--surface); border-radius: var(--radius); padding: 24px; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; min-width: 0; }
.tile--statement { grid-column: 1 / span 4; }
.tile--statement p:first-child { font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; }
.tile--statement p:last-child { font-size: var(--step-small); color: var(--muted); }
.tile--nav { grid-column: 5 / span 3; }
.tile--nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.tile--nav a { color: var(--ink); text-decoration: none; font-size: 16px; }
.tile--nav a:hover { color: var(--accent); }
.tile--time { grid-column: 8 / span 2; }
.tile--time b { font-size: 24px; font-weight: 500; letter-spacing: -0.02em; }
.tile--mail { grid-column: 10 / span 3; justify-content: flex-end; }
.tile--mail a { font-size: 20px; color: var(--ink); overflow-wrap: anywhere; }
.tile--word { grid-column: 1 / span 8; min-height: 320px; background: var(--field-dark); color: var(--field-dark-ink); display: grid; place-items: center; }
.tile--word span { font-size: 9vw; font-weight: 500; letter-spacing: -0.06em; line-height: 1; }
.tile--cta { grid-column: 9 / span 4; min-height: 320px; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-size: 28px; letter-spacing: -0.02em; line-height: 1.15; transition: background-color var(--t-hover) ease; }
.tile--cta:hover { background: #143bb5; }
.tile--cta svg { align-self: flex-end; transition: transform var(--t-hover) var(--ease-out); }
.tile--cta:hover svg { transform: translate(4px, -4px); }
.muted { color: var(--muted); }
@media (max-width: 860px) {
  .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .tile { padding: 20px; min-height: 160px; }
  .tile--word { grid-column: 1 / -1; order: -2; min-height: 160px; }
  .tile--word span { font-size: 18vw; }
  .tile--cta { grid-column: 1 / -1; order: -1; min-height: 160px; }
  .tile--nav, .tile--mail { grid-column: span 1; }
  .tile--time, .tile--statement { grid-column: span 1; }
  .tile--statement p:first-child { font-size: 18px; }
  .tile--mail a { font-size: 16px; }
}
@media (max-width: 420px) {
  .tile--time, .tile--statement, .tile--nav, .tile--mail { grid-column: 1 / -1; }
}

/* ---------- Cookie-Hinweis ---------- */
.consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: var(--field-dark); color: var(--field-dark-ink);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.consent__in {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 18px; padding-bottom: 18px;
}
.consent__txt { flex: 1 1 420px; font-size: var(--step-small); color: #cfcfcf; max-width: 60ch; }
.consent__txt a { color: var(--field-dark-ink); }
.consent__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.consent__essential {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 1.1em; border: 1px solid #4a4a4a; border-radius: var(--radius);
  background: transparent; color: var(--field-dark-ink); font-size: 15px; cursor: pointer;
  transition: border-color var(--t-hover) ease;
}
.consent__essential:hover { border-color: #7a7a7a; }
@media (max-width: 640px) {
  .consent__in { flex-direction: column; align-items: stretch; }
  .consent__btns { justify-content: stretch; }
  .consent__btns > * { flex: 1; }
}

/* ---------- Werbeblocker-Sperre ---------- */
html.is-adblock * { pointer-events: none !important; }
