/* Hallmark · shape: kept (content order) · genre: editorial · theme: custom "Textmarker" (paper, graphite, highlighter yellow) · redesign: full
 * paper: #F2F2EF · accent: #F7E733 highlighter · display: Anton · body: Inter · hand: Reenie Beanie (the owner chose it over a scan) · hero: Ledge · nav: kept, a heavy graphite bar under it · footer: kept, graphite · signature: the clock rolling back to 17:30 and the highlighter swiping over it
 * axes: light/display-condensed/warm-yellow · posture: committed · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S4 R4 V5 · weakest: S, the handwriting is a font, kept by the owner's choice; real photographs come later */
/* Hallmark · waive 38iii · one phrase, "halb sechs.", swiped with highlighter inside the hero head · the highlighter is the page's material and the hero is its one marked heading */

/* KI ohne Kram – kiohnekram.de · Estilo "Textmarker": papel claro, tinta grafito y el amarillo de un subrayador
   como único color. El subrayador se dibuja con marker.svg (bordes irregulares, se sale un poco de la línea).
   Sin cookies, sin terceros: fuentes servidas desde /fonts (licencia OFL, ver fonts/OFL-*.txt).
   CSP estricta: nada de estilos ni scripts en línea; todo aquí y en uhr.js / frueh.js. */

@font-face { font-family: "Anton"; font-weight: 400; font-display: swap; src: url("fonts/anton-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Reenie Beanie"; font-weight: 400; font-display: swap; src: url("fonts/reenie-beanie-latin-400-normal.woff2") format("woff2"); }

:root {
  --color-paper: #F2F2EF;       /* papel */
  --color-paper-2: #E7E7E2;     /* bandas */
  --color-paper-3: #FBFBF9;     /* hojas (cajas de prompts) */
  --color-ink: #1F2124;         /* grafito */
  --color-ink-2: #3B3E43;       /* texto corrido */
  --color-muted: #63676D;
  --color-rule: #CDCDC6;        /* líneas finas */
  --color-rule-strong: #A3A49D; /* barra "Vorher" */
  --color-marker: #F7E733;      /* subrayador amarillo */
  --color-marker-deep: #E9D41C;
  --color-on-ink: #F2F2EF;      /* texto sobre grafito */
  --color-on-ink-2: #B9BCC0;
  --color-focus: #1F2124;
  --color-success: #1F7A4F;
  --color-mask: #000;           /* solo para la máscara de los rodillos */
  --font-display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hand: "Reenie Beanie", "Segoe Print", cursive;
  --rule-hair: 1px; --rule-bar: 4px;
  --rand: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; scrollbar-color: var(--color-muted) var(--color-paper); }
body { margin: 0; overflow-x: clip; background: var(--color-paper); color: var(--color-ink-2); font-family: var(--font-body); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
::selection { background: var(--color-marker); color: var(--color-ink); }
img, svg { display: block; }
a { color: var(--color-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--color-ink); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-synthesis: none; text-transform: uppercase; letter-spacing: 0.004em; line-height: 1.02; color: var(--color-ink); overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: var(--rand); }

/* El subrayador: una pasada de marker.svg detrás del texto, un poco torcida y más larga que la palabra */
.marker { position: relative; z-index: 0; }
.marker::before { content: ""; position: absolute; z-index: -1; left: -0.12em; right: -0.2em; top: 0.2em; bottom: 0.1em; background: url("marker.svg") center / 100% 100% no-repeat; transform: rotate(-1.4deg); }

/* Notas a mano: fuente Reenie Beanie, un poco giradas */
.notiz { font-family: var(--font-hand); font-size: 44px; line-height: 1; color: var(--color-ink); transform: rotate(-6deg); }

/* --- Cabecera: una barra gruesa de grafito debajo ---------------------------------------- */
.kopf { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; padding-block: 20px; position: relative; z-index: 2; }
.kopf::after { content: ""; position: absolute; left: var(--rand); right: var(--rand); bottom: 0; height: var(--rule-bar); background: var(--color-ink); }
.logo { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; text-decoration: none; color: var(--color-ink); }
.logo:hover { color: var(--color-ink); }
/* Logo: "KI OHNE KRAM" en Anton con el subrayador sobre "OHNE" */
.logo-marke { display: inline-flex; gap: 0.2em; font-family: var(--font-display); text-transform: uppercase; font-size: 34px; line-height: 1; color: var(--color-ink); isolation: isolate; }
.logo-marke > span { position: relative; z-index: 0; }
.logo-marke > span::before { content: ""; position: absolute; z-index: -1; left: -0.14em; right: -0.18em; top: 0.18em; bottom: -0.06em; background: url("marker.svg") center / 100% 100% no-repeat; transform: rotate(-2deg); }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text small { font-size: 14px; color: var(--color-muted); }
.menu { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; font-size: 16px; }
.menu a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.menu a:hover { text-decoration: underline; }
.menu .menu-knopf { padding: 0 16px; border: 2px solid var(--color-ink); }
.menu .menu-knopf:hover { background: var(--color-marker); text-decoration: none; }

/* --- Botones: bloques rectos ------------------------------------------------------- */
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border: 2px solid var(--color-ink); font-weight: 700; font-size: 17px; text-decoration: none; white-space: nowrap; color: var(--color-ink); }
.knopf svg { flex: none; }
.knopf-voll { background: var(--color-marker); color: var(--color-ink); }
.knopf-voll:hover { background: var(--color-ink); color: var(--color-on-ink); text-decoration: none; }
.knopf-voll:active { background: var(--color-ink-2); color: var(--color-on-ink); }
.knopf-rand { background: transparent; }
.knopf-rand:hover { background: var(--color-marker); text-decoration: none; }
.knopf-rand:active { background: var(--color-marker-deep); }
.knopf-dunkel { background: var(--color-ink); color: var(--color-on-ink); }
.knopf-dunkel:hover { background: var(--color-ink-2); color: var(--color-on-ink); text-decoration: none; }
.knopf-dunkel:active { background: var(--color-muted); }

/* --- Inicio: titular de cartel ------------------------------------------------------- */
.hero .wrap { padding-block: 40px 96px; container-type: inline-size; }
.plakat { font-size: min(13.5cqi, 7.25rem); line-height: 0.9; isolation: isolate; }
.plakat > span { display: block; white-space: nowrap; }
.hero-unten { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 64px; align-items: start; margin-top: 32px; padding-top: 28px; border-top: var(--rule-hair) solid var(--color-rule); }
.lead { font-size: 21px; line-height: 1.45; max-width: 34em; }
.vorteile { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 0; margin: 28px 0 0; padding: 0; font-size: 16px; color: var(--color-muted); }
.vorteile li + li { margin-left: 16px; padding-left: 16px; border-left: var(--rule-hair) solid var(--color-rule); }

/* El reloj: 20:47 tachado, rodillos hasta 17:30; al llegar, el subrayador pasa por encima (uhr.js) */
.uhr-panel { position: relative; justify-self: end; text-align: right; }
.uhr-panel .notiz { position: absolute; left: -24px; top: 4px; }
.uhr { display: flex; flex-direction: column; align-items: flex-end; gap: 0; font-family: var(--font-display); font-variant-numeric: tabular-nums; user-select: none; }
.uhr-alt { position: relative; font-size: clamp(40px, 4.4vw, 64px); line-height: 1; color: var(--color-rule-strong); }
.uhr-strich { position: absolute; left: -6%; right: -6%; top: 50%; height: 0.07em; background: var(--color-ink); transform: rotate(-5deg) scaleX(1); transform-origin: left center; }
.uhr-zeile { display: flex; align-items: center; gap: 0.08em; margin-top: -0.12em; font-size: clamp(96px, 11vw, 160px); }
.uhr-neu { position: relative; display: flex; line-height: 1; color: var(--color-ink); isolation: isolate; }
.uhr-neu::before { content: ""; position: absolute; z-index: -1; left: -0.1em; right: -0.12em; top: 0.42em; bottom: 0.2em; background: url("marker.svg") center / 100% 100% no-repeat; transform: rotate(-1.5deg) scaleX(1); transform-origin: left center; }
/* Cada cifra es un rodillo: una tira vertical vista por una ventana de una cifra, bordes difuminados */
.rolle { display: inline-block; height: 1.3em; overflow: hidden; width: 0.5em; text-align: center;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, var(--color-mask) 14%, var(--color-mask) 86%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, var(--color-mask) 14%, var(--color-mask) 86%, transparent 100%); }
.rolle-band { display: flex; flex-direction: column; }
.rolle-band span { height: 1.3em; line-height: 1.3; }
/* Los dos puntos, dibujados (el carácter „:“ no queda centrado entre rodillos) */
.doppelpunkt { position: relative; width: 0.22em; height: 1.3em; }
.doppelpunkt::before, .doppelpunkt::after { content: ""; position: absolute; left: 50%; width: 0.1em; height: 0.1em; margin-left: -0.05em; background: var(--color-ink); }
.doppelpunkt::before { top: 0.5em; }
.doppelpunkt::after { top: 0.86em; }
.uhr-haken { width: 0.42em; height: 0.42em; flex: none; color: var(--color-ink); }
.uhr-haken path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.uhr-fuss { margin: 12px 0 0 auto; font-size: 15px; color: var(--color-muted); max-width: 30em; }

/* Estado inicial de la animación (solo con JS y sin „reducir movimiento“) */
.js:not(.feierabend) .uhr-alt { color: transparent; }
.js:not(.feierabend) .uhr-strich { transform: rotate(-5deg) scaleX(0); }
.js:not(.feierabend) .uhr-neu::before { transform: rotate(-1.5deg) scaleX(0); }
.js:not(.feierabend) .uhr-haken path { stroke-dashoffset: 1; }
.js:not(.feierabend) .uhr-fuss, .js:not(.feierabend) .uhr-panel .notiz { opacity: 0; }
.js .uhr-alt { transition: color 0.9s ease 0.5s; }
.js .uhr-strich { transition: transform 0.45s cubic-bezier(.6,0,.2,1) 0.2s; }
.js .uhr-neu::before { transition: transform 0.6s cubic-bezier(.6,0,.2,1) 0.35s; }
.js .uhr-haken path { transition: stroke-dashoffset 0.55s cubic-bezier(.6,0,.2,1) 0.9s; }
.js .uhr-fuss { transition: opacity 0.8s ease 1.2s; }
.js .uhr-panel .notiz { transition: opacity 0.4s ease 1.5s; }

/* --- Für wen: los oficios en letra de cartel ------------------------------------------ */
.fuer-wen { background: var(--color-paper-2); border-block: var(--rule-hair) solid var(--color-rule); }
.fuer-wen .wrap { padding-block: 48px 56px; }
.fuer-wen p { font-size: 16px; color: var(--color-muted); margin-bottom: 12px; }
.branchen { list-style: none; margin: 0; padding: 0; font-family: var(--font-display); text-transform: uppercase; font-size: clamp(32px, 4.8vw, 64px); line-height: 1.08; color: var(--color-ink); }
.branchen li { display: inline; }
.branchen li:not(:last-child)::after { content: ", "; color: var(--color-rule-strong); }
.branchen li:last-child::after { content: "."; }

/* --- Secciones ------------------------------------------------------------------------ */
.abschnitt { padding-block: 128px; }
.abschnitt h2 { font-size: clamp(48px, 6.4vw, 96px); }
.kopfzeile { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 64px; align-items: end; padding-bottom: 32px; border-bottom: var(--rule-hair) solid var(--color-rule); }
.einleitung { font-size: 20px; color: var(--color-ink-2); max-width: 30em; }

/* So geht's: tres columnas separadas por líneas, cada una con su número enorme */
.schritte { list-style: none; counter-reset: schritt; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 48px 0 0; padding: 0; }
.schritte li { counter-increment: schritt; padding: 0 32px; border-left: var(--rule-hair) solid var(--color-rule); }
.schritte li:first-child { padding-left: 0; border-left: 0; }
.schritte li:last-child { padding-right: 0; }
.schritte li::before { content: counter(schritt); display: block; font-family: var(--font-display); font-size: clamp(120px, 14vw, 200px); line-height: 0.9; color: var(--color-ink); margin-bottom: 20px; }
.schritte h3 { font-size: clamp(28px, 2.6vw, 40px); }
.schritte p { margin-top: 12px; font-size: 17px; }

/* --- Vídeos: banda de papel más oscuro, miniaturas con un filo fino ------------------------- */
.videos { background: var(--color-paper-2); border-block: var(--rule-hair) solid var(--color-rule); }
.karten { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
.karte { position: relative; display: flex; flex-direction: column; height: 100%; color: var(--color-ink); text-decoration: none; }
.karte-bild { order: -2; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border: var(--rule-hair) solid var(--color-ink); background: var(--color-ink); }
.karte:hover .karte-bild { outline: 3px solid var(--color-ink); outline-offset: 3px; }
.karte-titel { margin-top: 16px; font-size: 19px; line-height: 1.3; font-weight: 700; }
.karte:hover .karte-titel { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
/* Comparación antes / con KI: dos barras proporcionales; el tiempo con KI va subrayado */
.vergleich { margin: auto 0 0; padding-top: 20px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px 12px; align-items: center; font-size: 14px; }
.vergleich dt { color: var(--color-muted); }
.vergleich dd { margin: 0; }
.balken { height: 8px; background: var(--color-rule-strong); }
.balken-ki { background: var(--color-ink); min-width: 6px; }
.anteil-3 { width: 3%; } .anteil-8 { width: 8%; } .anteil-10 { width: 10%; } .anteil-13 { width: 13%; } .anteil-17 { width: 17%; }
.vergleich .zeit { text-align: right; color: var(--color-ink-2); white-space: nowrap; }
.vergleich .zeit-ki { position: relative; z-index: 0; font-family: var(--font-display); font-size: 24px; line-height: 1; color: var(--color-ink); }
.vergleich .zeit-ki::before { content: ""; position: absolute; z-index: -1; left: -0.2em; right: -0.25em; top: 0.3em; bottom: -0.1em; background: url("marker.svg") center / 100% 100% no-repeat; transform: rotate(-2deg); }
.videos-fuss { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; align-items: center; margin-top: 48px; padding-top: 20px; border-top: var(--rule-hair) solid var(--color-rule); }
.beispiel-hinweis { font-size: 14px; color: var(--color-muted); }
.alle { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }

/* --- Vertrauen: tres frases grandes en filas, cada una con su línea al lado -------------- */
.abschnitt .klein-kopf { font-size: clamp(28px, 2.6vw, 40px); color: var(--color-muted); }
.punkte { margin-top: 32px; }
.punkt { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px 64px; align-items: baseline; padding-block: 32px; border-top: var(--rule-hair) solid var(--color-rule); }
.punkt:last-child { border-bottom: var(--rule-hair) solid var(--color-rule); }
.punkt h3 { font-size: clamp(44px, 5.6vw, 84px); }
.punkt p { font-size: 18px; max-width: 30em; }

/* --- Für Betriebe: la única superficie amarilla, como una hoja entera marcada ------------- */
.betriebe { background: var(--color-marker); color: var(--color-ink); }
.betriebe-inhalt { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px 64px; align-items: center; padding-block: 112px; }
.betriebe .notiz-bald { position: absolute; top: 56px; left: calc(var(--rand) - 8px); font-size: 52px; }
.betriebe h2 { font-size: clamp(48px, 6vw, 88px); }
.betriebe p:not(.notiz) { margin-top: 24px; font-size: 19px; max-width: 32em; color: var(--color-ink); }
.betriebe .knopf { margin-top: 32px; }
.angebot { list-style: none; margin: 0; padding: 0; }
.angebot li { padding-block: 16px; border-top: 2px solid var(--color-ink); font-family: var(--font-display); text-transform: uppercase; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.02; color: var(--color-ink); }
.angebot li:last-child { border-bottom: 2px solid var(--color-ink); }

/* --- Franja YouTube --------------------------------------------------------------- */
.abo .wrap { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; padding-block: 88px; }
.abo h2 { font-size: clamp(40px, 5vw, 72px); }
.abo p { margin-top: 8px; font-size: 18px; }

/* --- Pie: grafito ------------------------------------------------------------------------ */
.fuss { background: var(--color-ink); color: var(--color-on-ink-2); font-size: 15px; --color-focus: var(--color-marker); }
.fuss a, .fuss a:hover, .fuss .logo-marke { color: var(--color-on-ink); }
.fuss .logo-marke > span { color: var(--color-ink); }
.fuss .logo-text small { color: var(--color-on-ink-2); }
.fuss .wrap { padding-block: 44px 40px; }
.fuss-zeile { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: center; }
.fuss .logo-marke { font-size: 28px; }
.fuss-links { display: flex; flex-wrap: wrap; gap: 0 28px; }
.fuss-links a, .fuss-mail { display: inline-flex; align-items: center; min-height: 44px; }
.fuss-hinweis { margin: 20px 0 0; padding-top: 20px; border-top: var(--rule-hair) solid var(--color-ink-2); font-size: 14px; color: var(--color-on-ink-2); }

/* --- Páginas legales y 404 ----------------------------------------------------------- */
.recht .wrap { padding-block: 48px 104px; }
.recht article { max-width: 46em; padding: 48px; background: var(--color-paper-3); border: var(--rule-hair) solid var(--color-rule); }
.recht h1 { font-size: clamp(44px, 6vw, 72px); margin: 0 0 28px; }
.recht h2 { font-family: var(--font-body); font-weight: 700; text-transform: none; font-size: 22px; letter-spacing: normal; margin: 32px 0 8px; }
.recht p, .recht address { margin: 0 0 16px; color: var(--color-ink-2); font-style: normal; }
.platzhalter { background: var(--color-marker); color: var(--color-ink); }
.weg { padding-block: 56px 120px; }
.weg .uhr-alt { font-family: var(--font-display); font-size: clamp(88px, 14vw, 168px); color: var(--color-ink); }
.weg h1 { font-size: clamp(44px, 6vw, 72px); margin: 32px 0 0; }
.weg p { color: var(--color-ink-2); margin: 16px 0 28px; }

/* --- Vorlagen ------------------------------------------------------------------------ */
.vorlagen-kopf { padding-block: 40px 8px; }
.vorlagen-kopf h1 { font-size: clamp(48px, 7vw, 96px); line-height: 0.98; }
.vorlagen-kopf p { margin: 20px 0 0; font-size: 20px; color: var(--color-ink-2); max-width: 38em; }
.zurueck { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 8px; color: var(--color-ink-2); font-weight: 700; }
.vorlagen-liste { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 0; border-top: var(--rule-hair) solid var(--color-rule); border-left: var(--rule-hair) solid var(--color-rule); }
.vorlage-karte { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 28px 24px; border-bottom: var(--rule-hair) solid var(--color-rule); border-right: var(--rule-hair) solid var(--color-rule); text-decoration: none; color: var(--color-ink); }
.vorlage-karte:hover { color: var(--color-ink); background: var(--color-paper-3); }
.vorlage-nr { font-size: 14px; font-weight: 700; color: var(--color-muted); }
.vorlage-karte h2 { font-family: var(--font-body); font-weight: 700; text-transform: none; font-size: 24px; line-height: 1.2; letter-spacing: -0.01em; }
.vorlage-karte p { margin: 0; color: var(--color-ink-2); font-size: 16px; }
.vorlage-art { align-self: flex-start; margin-top: auto; padding: 2px 6px; font-size: 15px; font-weight: 700; color: var(--color-ink); background: var(--color-marker); }

.prompts { list-style: none; counter-reset: p; margin: 40px 0 0; padding: 0; display: grid; gap: 24px; max-width: 860px; }
.prompts > li { counter-increment: p; }
.prompts h2 { display: flex; align-items: center; gap: 12px; font-family: var(--font-body); font-weight: 700; text-transform: none; font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 12px; }
.prompts h2::before { content: counter(p); flex: none; display: grid; place-items: center; width: 36px; height: 36px; background: var(--color-ink); color: var(--color-on-ink); font-family: var(--font-display); font-weight: 400; font-size: 20px; }
.hinweis-text { margin: 0 0 12px; color: var(--color-ink-2); font-size: 17px; }
.prompt-box { position: relative; padding: 20px 24px; background: var(--color-paper-3); color: var(--color-ink); border: var(--rule-hair) solid var(--color-rule); border-left: var(--rule-bar) solid var(--color-ink); }
.prompt-box p { margin: 0; font-size: 18px; line-height: 1.55; white-space: pre-line; }
.prompt-box .luecke { background: var(--color-marker); padding: 0 4px; font-style: italic; }
.kopieren { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 12px; padding: 0 20px; border: 0; background: var(--color-ink); color: var(--color-on-ink); font: 700 16px var(--font-body); cursor: pointer; }
.kopieren:hover { background: var(--color-ink-2); }
.kopieren:active { background: var(--color-muted); }
.kopieren.ok { background: var(--color-success); }
.tipp { max-width: 860px; margin: 32px 0 0; padding: 20px 24px; border: var(--rule-hair) dashed var(--color-rule-strong); color: var(--color-ink-2); }
.tipp b { color: var(--color-ink); }
.vorlage-ende { max-width: 860px; margin: 48px 0 0; padding: 32px; background: var(--color-paper-2); border-top: var(--rule-bar) solid var(--color-ink); display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; }
.vorlage-ende p { margin: 0; font-size: 20px; font-weight: 700; color: var(--color-ink); }
.vorlage-ende .knoepfe { margin: 0; }
.vorlage-ende .knopf { flex-wrap: wrap; padding: 12px 24px; text-align: center; white-space: normal; }

/* „Demnächst · ab TT.MM.“ en enlaces a vídeos aún no publicados (demnaechst.js) */
.demnaechst { display: inline-block; margin-left: 12px; padding: 4px 8px; background: var(--color-marker); color: var(--color-ink); font-size: 13px; font-weight: 700; white-space: nowrap; }
.karte .demnaechst { order: -1; align-self: flex-start; margin: 12px 0 0; }

/* Avisos importantes arriba de una plantilla (p. ej. Brief vom Amt) */
.achtung { max-width: 860px; margin: 32px 0 0; padding: 20px 24px; border: 2px solid var(--color-ink); background: var(--color-paper-3); }
.achtung p { margin: 0 0 8px; }
.achtung b { background: var(--color-marker); color: var(--color-ink); }
.achtung ul { margin: 0; padding-left: 24px; display: grid; gap: 8px; }

/* Secciones genéricas que usan las Vorlagen */
.abschnitt.ohne-oben { padding-top: 0; }

/* --- Tablet y móvil --------------------------------------------------------------------- */
@media (max-width: 1000px) {
  .karten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hero-unten, .kopfzeile, .betriebe-inhalt, .punkt { grid-template-columns: minmax(0, 1fr); }
  .uhr-panel { justify-self: start; text-align: left; padding-top: 40px; }
  .uhr-panel .notiz { left: auto; right: 0; top: 0; }
  .uhr { align-items: flex-start; }
  .uhr-fuss { margin-left: 0; }
  .schritte { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .schritte li, .schritte li:first-child, .schritte li:last-child { padding: 24px 0 0; border-left: 0; border-top: var(--rule-hair) solid var(--color-rule); }
  .schritte li:first-child { border-top: 0; padding-top: 0; }
  .abschnitt { padding-block: 88px; }
}
@media (max-width: 640px) {
  :root { --rand: 16px; }
  body { font-size: 17px; }
  .logo-text small { display: none; }
  .logo-marke { font-size: 28px; }
  .menu { gap: 0 16px; font-size: 15px; }
  .menu .menu-knopf { display: none; }
  .hero .wrap { padding-block: 32px 72px; }
  .lead { font-size: 19px; }
  .vorteile { display: grid; gap: 4px; }
  .vorteile li + li { margin-left: 0; padding-left: 0; border-left: 0; }
  .karten { grid-template-columns: minmax(0, 1fr); }
  .abschnitt { padding-block: 72px; }
  .betriebe-inhalt { padding-block: 88px 72px; }
  .betriebe .notiz-bald { top: 28px; font-size: 44px; }
  .abo .wrap { padding-block: 64px; }
  .recht article { padding: 28px 20px; }
}
@media (max-width: 380px) {
  .knopf { padding: 0 18px; font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
