/* saniPEP Karriereseite im sanipep Kachel-Design-System.
   Quelle der Gestaltungsregeln: sani-marketing-design-MCP (get_tile_design_system)
   und die Referenz-Filialseite ALB64. Kernidee: striktes Raster gleich grosser
   Kacheln (Zusammenfassungen nur ganzzahlig), Eckenradius 14px, Inter,
   Formen-Vokabular (Globuli-Punkte, Kapsel ueber zwei Kacheln, X-Kreuz,
   Apotheken-Raute), Sani Rot nur fuer Aktionen, Footer vollflaechig Petrol. */

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/inter-400.da03732a27e1.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/inter-600.2ede57db1a3a.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/inter-700.8ca0a5155296.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/inter-800.900ae45e40b8.woff2") format("woff2");
}

:root {
  --rot: #bd2a17;
  --rot-d: #93200f;
  --petrol: #21606f;
  --petrol-d: #17414c;
  --terra: #d0532f;
  --terra-d: #b34124;
  --mint: #35897b;
  --mint-d: #2a7268;
  --lachs: #eba98f;
  --lachs-h: #f3c0b0;
  --creme: #f0e9d8;
  --creme-h: #fdfbf6;
  --petrol-tint: #ecf3f4;
  --rot-tint: #fbeeec;
  --ink: #182226;
  --muted: #5d6b75;
  --line: #e3e8ea;
  --radius: 14px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.5;
}

h1, h2, h3, h4 { color: var(--petrol); letter-spacing: 0; }
a { color: var(--petrol); }

.inner { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.wide { max-width: 1280px; margin: 0 auto; padding: 0 16px; }

/* --- Kopfzeile ---------------------------------------------------------- */

.site-head { border-bottom: 1px solid var(--line); background: #fff; }
.site-head .wide { display: flex; align-items: center; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.site-head img { height: 38px; width: auto; display: block; }
.site-head nav { margin-left: auto; display: flex; gap: 20px; align-items: center; }
.site-head nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; }
.site-head nav a:hover { color: var(--rot); }
/* .cta muss die nav-Farbregel schlagen, sonst steht roter Text auf Rot. */
.site-head nav a.head-cta { min-height: 38px; padding: 8px 16px; color: #fff; }
.site-head nav a.head-cta:hover { color: #fff; }

/* --- Hero-Mosaik --------------------------------------------------------- */

.hero-mosaic { padding: 26px 0 0; }
.mosaic {
  /* Grundregel des Kachel-Systems: alle Grundkacheln exakt gleich gross,
     Zusammenfassungen nur als ganzzahlige Vielfache. */
  --cell: calc((min(100vw, 1280px) - 32px) / 4);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: var(--cell);
  grid-auto-flow: dense;
  border-radius: var(--radius);
  overflow: hidden;
}
.tile { position: relative; overflow: hidden; min-width: 0; }
.t-2x1 { grid-column: span 2; }
.t-2x2 { grid-column: span 2; grid-row: span 2; }
.tile-stack {
  /* Kapsel-Regel: die Form entsteht erst aus ZWEI benachbarten Kacheln.
     Der Stapel ist selbst 1x2 gross und garantiert die Nachbarschaft
     in jedem Umbruch. */
  grid-row: span 2;
  display: grid;
  grid-template-rows: 1fr 1fr;
  min-width: 0;
}

.t-intro {
  background: var(--creme);
  padding: clamp(20px, 3.4vw, 46px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.t-intro h1 {
  color: var(--ink);
  font-size: clamp(1.55rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 12px;
}
.t-intro .lead {
  color: var(--muted);
  font-size: clamp(.95rem, 1.6vw, 1.15rem);
  line-height: 1.5;
  margin: 0;
  max-width: 46ch;
}

.t-slogan {
  background: var(--rot);
  padding: clamp(16px, 2.6vw, 36px);
  display: flex;
  align-items: center;
}
.t-slogan p {
  color: #fff;
  font-weight: 800;
  font-size: clamp(1.25rem, 2.6vw, 2.1rem);
  line-height: 1.12;
  margin: 0;
}

/* Globuli: vollstaendiges 4x5-Punktraster in einer Kachel. */
.t-globuli {
  background: var(--petrol);
  background-image: radial-gradient(circle, var(--creme) 22%, transparent 25%);
  background-size: 25% 20%;
}

/* Kapsel: obere und untere Haelfte in zwei Kacheln, die Pille laeuft ueber
   die gemeinsame Kante und wird von overflow:hidden geschnitten. */
.t-kapsel-oben { background: var(--terra); }
.t-kapsel-unten { background: var(--terra-d); }
.t-kapsel-oben::after, .t-kapsel-unten::after {
  content: "";
  position: absolute;
  left: 27%;
  width: 46%;
  height: 150%;
  border-radius: 999px;
}
.t-kapsel-oben::after { top: 32%; background: var(--lachs); }
.t-kapsel-unten::after { bottom: 32%; background: var(--lachs-h); }

.t-kreuz {
  background: var(--petrol-d);
  display: flex;
  align-items: center;
  justify-content: center;
}
.t-kreuz svg { width: 62%; height: 62%; }
.t-kreuz svg rect { fill: var(--lachs-h); }

.t-raute {
  background: var(--petrol-tint);
  display: flex;
  align-items: center;
  justify-content: center;
}
.t-raute .raute {
  width: 52%;
  aspect-ratio: 1;
  background: #fff;
  border-radius: 14%;
  transform: rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.t-raute .raute span {
  transform: rotate(-45deg);
  color: var(--rot);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1;
}

.t-action {
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  padding: clamp(14px, 2vw, 24px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.t-action .icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--rot-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rot);
}
.t-action .icon svg { width: 18px; height: 18px; }
.t-action b { color: var(--ink); font-size: clamp(.95rem, 1.5vw, 1.15rem); font-weight: 800; }
.t-action small { color: var(--muted); font-size: .82rem; line-height: 1.35; }
.t-action:hover { background: var(--rot-tint); }
.t-action:hover b { color: var(--rot); }

/* --- Abschnittskoepfe --------------------------------------------------- */

.sec { padding: 58px 0; }
.sec.alt { background: var(--creme-h); }
.head { margin: 0 0 26px; }
.head .kicker {
  display: inline-block; color: var(--rot); font-weight: 700; font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px;
}
.head h2 {
  color: var(--ink);
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  font-weight: 800; margin: 0; position: relative; padding-left: 16px;
}
.head h2::before {
  content: ""; position: absolute; left: 0; top: .12em; bottom: .12em;
  width: 5px; border-radius: 5px; background: var(--rot);
}
.head p { color: var(--muted); margin: 8px 0 0 16px; }

/* --- Slogan-Band (ersetzt das alte Parallax-Band) ------------------------ */

.slogan-band {
  position: relative;
  background: var(--rot);
  color: #fff;
  padding: 72px 0;
  overflow: hidden;
}
.slogan-band::after {
  /* Einzelne grosse Bogenform am rechten Rand - das verbindende Element
     aus dem Formen-Vokabular, kein Deko-Gewitter. */
  content: "";
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: var(--rot-d);
}
.slogan-band .inner { position: relative; z-index: 1; }
.slogan-band h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; margin: 0 0 10px; max-width: 18ch; }
.slogan-band p { color: rgba(255, 255, 255, .92); font-size: 1.12rem; margin: 0 0 20px; max-width: 50ch; }
.slogan-band .claim { color: #fff; font-weight: 700; font-size: .95rem; opacity: .92; }

/* --- Stellen ------------------------------------------------------------ */

.jobs-head { padding: 46px 16px 18px; }
.jobs-head h2 {
  color: var(--ink); font-size: clamp(1.75rem, 3vw, 2.35rem); font-weight: 800;
  line-height: 1.08; margin: 0; padding-left: 0;
}
.jobs-head h2::before { display: none; }
.jobs-head .kicker {
  display: block; color: var(--rot); font-weight: 700; font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px;
}

/* Stellen als Info-Kacheln: gleiche Grundkacheln im fugenlosen Raster,
   kraeftige Flaechenfarben im Wechsel, Text unten, Link in Weiss. */
.jobs-mosaic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 46px;
}
.job-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  aspect-ratio: 1;
  padding: clamp(18px, 2.6vw, 34px);
  color: #fff;
}
.job-card:nth-child(6n+1) { background: var(--mint); }
.job-card:nth-child(6n+2) { background: var(--petrol); }
.job-card:nth-child(6n+3) { background: var(--terra); }
.job-card:nth-child(6n+4) { background: var(--petrol-d); }
.job-card:nth-child(6n+5) { background: var(--mint-d); }
.job-card:nth-child(6n+6) { background: var(--terra-d); }
.job-card::after {
  /* Kleines Globuli-Raster als Eck-Dekoration (accentIcons-Regel). */
  content: "";
  position: absolute;
  top: 20px;
  right: 20px;
  width: 56px;
  height: 42px;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .38) 24%, transparent 27%);
  background-size: 25% 33.4%;
}
.job-card h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 800; line-height: 1.18; margin: 0 0 8px; color: #fff;
}
.job-card h3 a { color: inherit; text-decoration: none; }
.job-card h3 a:hover { text-decoration: underline; }
.job-card .copy { color: rgba(255, 255, 255, .85); font-size: 1rem; line-height: 1.35; margin: 0 0 16px; }
.job-card .action { padding-top: 2px; }
.job-card .more {
  display: inline-flex; align-items: center; gap: 8px;
  color: #fff; font-weight: 800; font-size: .95rem; text-decoration: none;
}
.job-card .more svg { width: 18px; height: 18px; transition: transform .15s ease; }
.job-card .more:hover { text-decoration: underline; }
.job-card .more:hover svg { transform: translateX(3px); }

.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; background: var(--rot); border: 1px solid var(--rot);
  border-radius: var(--radius);
  color: #fff; font-weight: 800; font-size: .95rem; line-height: 1;
  text-decoration: none; padding: 11px 18px; cursor: pointer;
  font-family: inherit;
}
.cta:hover { background: var(--rot-d); border-color: var(--rot-d); color: #fff; }
.cta svg { width: 18px; height: 18px; flex: 0 0 18px; }
.cta.ghost { background: transparent; color: var(--petrol); border-color: var(--line); font-weight: 700; }
.cta.ghost:hover { background: var(--petrol-tint); color: var(--petrol); border-color: var(--petrol); }
.cta.invert { background: #fff; border-color: #fff; color: var(--rot); }
.cta.invert:hover { background: var(--creme); border-color: var(--creme); color: var(--rot-d); }

/* --- Standorte ---------------------------------------------------------- */

.map-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; align-items: stretch; }
#map {
  height: 100%; min-height: 420px; width: 100%; border-radius: var(--radius);
  border: none; z-index: 0;
}
.loc-list { display: flex; flex-direction: column; gap: 12px; }
.loc-card {
  display: flex; gap: 13px; padding: 16px;
  border-radius: var(--radius); background: var(--petrol-tint);
}
.loc-pin {
  flex: 0 0 40px; height: 40px; border-radius: 11px; background: #fff;
  display: flex; align-items: center; justify-content: center;
}
.loc-pin svg { width: 18px; height: 18px; }
.loc-card b { display: block; color: var(--petrol); font-size: 1.02rem; font-weight: 700; line-height: 1.2; }
.loc-card .sub { color: var(--rot); font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin: 2px 0 5px; }
.loc-card .addr { color: var(--muted); font-size: .9rem; line-height: 1.45; }

/* --- Stellendetail ------------------------------------------------------ */

.detail-head { background: var(--petrol-tint); padding: 46px 0 40px; }
.detail-head .crumb { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }
.detail-head .crumb a { color: var(--muted); text-decoration: none; }
.detail-head .crumb a:hover { color: var(--rot); }
.detail-head h1 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); font-weight: 800; margin: 0 0 10px; line-height: 1.08; }
.detail-head .meta { color: var(--muted); margin-bottom: 22px; }
.detail-head .meta b { color: var(--ink); font-weight: 600; }
.detail-head .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px;
  border: none; border-radius: 999px; background: #fff;
  color: var(--petrol); font-size: .85rem; font-weight: 600;
}
.chip svg { width: 14px; height: 14px; }

.jobtext { padding: 46px 0 10px; }
.jobtext h2, .jobtext h3 { font-size: 1.45rem; font-weight: 800; margin: 34px 0 12px; }
.jobtext h2:first-child, .jobtext h3:first-child { margin-top: 0; }
.jobtext h4 { font-size: 1.1rem; font-weight: 700; margin: 24px 0 8px; }
.jobtext p { margin: 0 0 14px; }
.jobtext ul, .jobtext ol { margin: 0 0 18px; padding-left: 22px; }
.jobtext li { margin-bottom: 6px; }
.jobtext strong, .jobtext b { color: var(--ink); }
.jobtext a { color: var(--rot); }

/* Bewerben-Kachel: Slogan-Modul in Rot, CTA invertiert. */
.applybar { padding: 10px 0 64px; }
.applybar .box {
  background: var(--rot); color: #fff; border-radius: var(--radius); padding: 26px 24px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
}
.applybar .box p { margin: 0; color: rgba(255, 255, 255, .88); }
.applybar .box b { color: #fff; display: block; font-size: 1.15rem; margin-bottom: 4px; }
.applybar .box .cta { margin-left: auto; }

/* --- Formulare ---------------------------------------------------------- */

.form-wrap { padding: 46px 0 70px; max-width: 640px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 5px; }
.field .help { color: var(--muted); font-size: .88rem; margin-top: 4px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field input[type="file"], .field textarea, .field select {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1px solid #cfd7da; border-radius: 10px; padding: 10px 12px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 2px solid var(--petrol); outline-offset: -1px; border-color: var(--petrol);
}
.field.error input, .field.error textarea { border-color: var(--rot); }
.field .err { color: var(--rot); font-size: .88rem; margin-top: 4px; }
/* Honeypot: fuer Menschen unsichtbar, fuer Bots ein ausfuellbares Feld.
   Bewusst NICHT ueber left:-9999px - das zaehlt zur Seitenbreite und erzeugt
   auf schmalen Bildschirmen waagerechten Ueberlauf. Dieses Muster nimmt keinen
   Platz ein und bleibt trotzdem im DOM. */
.hp {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.note { background: var(--petrol-tint); padding: 14px 16px; border-radius: var(--radius); margin-bottom: 22px; }
.note.ok { background: #e8f3e9; }
.note.err { background: var(--rot-tint); }

.centerbox { padding: 80px 0; max-width: 640px; }
.centerbox h1 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 800; margin: 0 0 14px; }
.centerbox p { color: var(--muted); font-size: 1.08rem; }
.centerbox .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* --- Fusszeile: vollflaechig Petrol, ruhiger Abschluss ohne Raster ------- */

.site-foot { background: var(--petrol-d); color: var(--petrol-tint); margin-top: 0; }
.site-foot .wide {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  padding-top: 40px; padding-bottom: 40px; font-size: .92rem;
}
.site-foot .brandcol b { display: block; color: #fff; font-size: 1.2rem; font-weight: 800; margin-bottom: 6px; }
.site-foot .brandcol span { color: var(--lachs-h); font-weight: 700; font-style: italic; }
.site-foot h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 10px; }
.site-foot a { display: block; color: var(--petrol-tint); text-decoration: none; margin-bottom: 6px; }
.site-foot a:hover { color: var(--creme); }
.site-foot .copyright { color: rgba(236, 243, 244, .65); margin-top: 8px; }

/* --- Umbrueche ---------------------------------------------------------- */

@media (max-width: 980px) { .jobs-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .map-grid { grid-template-columns: 1fr; } #map { min-height: 300px; } }
@media (max-width: 768px) {
  .sec { padding: 42px 0; }
  .jobs-head { padding: 34px 12px 16px; }
  .wide { padding: 0 12px; }
  .mosaic { --cell: calc((100vw - 24px) / 4); }
  .job-card h3 { font-size: 1.15rem; }
  .applybar .box .cta { margin-left: 0; width: 100%; }
  .slogan-band { padding: 56px 0; }
  .site-foot .wide { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 640px) {
  /* Mobil: 2 Spalten, gleiche Quellreihenfolge - dense schliesst die Luecken,
     das Raster bleibt ganzzahlig, die Kapsel bleibt ein 1x2-Stapel. */
  .mosaic { grid-template-columns: repeat(2, 1fr); --cell: calc((100vw - 24px) / 2); }
  /* Stellen-Kacheln: einspaltig und inhaltshoch, sonst platzt das Quadrat. */
  .jobs-mosaic { grid-template-columns: 1fr; }
  .job-card { aspect-ratio: auto; min-height: 190px; }
}
@media (max-width: 700px) {
  .site-head .wide { flex-wrap: wrap; gap: 10px 16px; }
  .site-head nav { margin-left: 0; width: 100%; flex-wrap: wrap; gap: 10px 18px; }
  .site-head nav a { font-size: .9rem; }
}

/* --- Terminfindung ------------------------------------------------------- */

/* `.hint` wird auf den nicht-oeffentlichen Seiten benutzt und war hier nie
   definiert - deshalb heisst die Klasse hier `.hinweis` und ist gestylt. */
.hinweis { color: var(--muted); font-size: .92rem; }

.terminseite { padding: 46px 0 70px; max-width: 900px; }
.terminseite h1 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 800; margin: 0 0 12px; }
.terminseite h2 { font-size: 1.15rem; margin: 26px 0 10px; }
.terminseite > p { color: var(--muted); }
.note.err { background: var(--rot-tint); color: var(--rot-d); }

.wochenblock { margin: 18px 0; }
.raster {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}
.rastertag {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  background: #fff;
  min-width: 0;
}
.rastertag h3 {
  margin: 0 0 8px; font-size: .82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .4px; color: var(--muted);
}

/* Die Kachel ist das Label - die Checkbox darin bleibt bedienbar, ist aber
   unsichtbar. Ohne JavaScript, damit die Seite auch ohne Skript funktioniert. */
.slot {
  display: block; margin-bottom: 6px; padding: 9px 8px;
  border: 1px solid var(--line); border-radius: 10px;
  text-align: center; cursor: pointer; font-variant-numeric: tabular-nums;
  background: #fff; color: var(--ink);
}
.slot input { position: absolute; opacity: 0; width: 0; height: 0; }
.slot:hover { border-color: var(--petrol); }
.slot:has(input:checked) { background: var(--petrol); border-color: var(--petrol); color: #fff; font-weight: 700; }
.slot:has(input:focus-visible) { outline: 2px solid var(--petrol); outline-offset: 2px; }
/* Schon von jemand anderem markiert bzw. vom Bewerber vorgeschlagen. */
.slot.kollege { border-color: var(--petrol); background: var(--petrol-tint); }
.slot.bewerber { border-color: var(--rot); background: var(--rot-tint); font-weight: 700; }

.sticky-actions {
  position: sticky; bottom: 0; z-index: 5;
  display: flex; gap: 12px; flex-wrap: wrap;
  padding: 14px 0; margin-top: 8px;
  background: linear-gradient(to top, #fff 72%, transparent);
}

/* Legende zu den Einfaerbungen im Raster. */
.slotlegende { display: flex; flex-wrap: wrap; gap: 16px; margin: 14px 0 0; font-size: .9rem; color: var(--muted); }
.slotlegende span { display: flex; align-items: center; gap: 7px; }
.slotlegende i {
  width: 15px; height: 15px; border-radius: 5px; display: inline-block;
  border: 1px solid var(--line); background: #fff;
}
.slotlegende i.ich { background: var(--petrol); border-color: var(--petrol); }
.slotlegende i.kollege { background: var(--petrol-tint); border-color: var(--petrol); }
.slotlegende i.bewerber { background: var(--rot-tint); border-color: var(--rot); }

.terminwahl { display: flex; flex-direction: column; gap: 10px; align-items: stretch; margin-bottom: 8px; }
.terminknopf { justify-content: flex-start; text-align: left; font-size: 1.02rem; padding: 15px 18px; }

.gegenbox { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 14px; }
.gegenbox > summary { cursor: pointer; color: var(--petrol); font-weight: 700; }

@media (max-width: 640px) {
  .raster { grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); gap: 8px; }
  .rastertag { padding: 8px; }
}
