/* ==========================================================================
   A&H Alltagshelfer - Pflegebox-Antrag im Gespraech
   Zielgruppe 60+ und Angehoerige: grosse Schrift, grosse Tasten, AA-Kontrast.
   Alles unter .ahpa gekapselt. Das Formular (.ap) ist bewusst amtlich gehalten.
   ========================================================================== */
.ahpa {
  --gold: #CDA272;
  --gold-hell: #E9D3B3;
  --gold-tief: #8A6338;      /* Messing fuer Text und Knoepfe, 5:1 auf Weiss */
  --creme: #FAF6F0;
  --tinte: #2B2724;
  --leise: #625A54;          /* 6:1 auf Weiss */
  --linie: rgba(43, 39, 36, .14);
  --rot: #A63A28;
  --weich: cubic-bezier(.16, 1, .3, 1);
  --schatten: 0 18px 40px -20px rgba(80, 56, 30, .45), 0 2px 6px rgba(80, 56, 30, .06);
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  line-height: 1.55;
  color: var(--tinte);
  padding: 10px 0 60px;
}
.ahpa *, .ahpa *::before, .ahpa *::after { box-sizing: border-box; }
.ahpa [hidden] { display: none !important; }
.ahpa h2, .ahpa p, .ahpa ol, .ahpa dl, .ahpa dd { margin: 0; padding: 0; }
.ahpa ol { list-style: none; }
.ahpa li::before { content: none; }
.ahpa button { font-family: inherit; }
/* Ueberschriften, die per Skript den Fokus bekommen, ohne Rahmen (manche Themes setzen :focus) */
.ahpa [tabindex="-1"]:focus { outline: none; }
/* Das Theme gibt <small> einen negativen Abstand nach oben: hier neutralisieren */
.ahpa small { margin: 0 !important; position: static !important; line-height: 1.4 !important; }

.ahpa-buehne { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.ahpa--ohne-formular .ahpa-buehne { grid-template-columns: minmax(0, 820px); justify-content: center; }
.ahpa-erklaerung { padding: 14px 18px; border-radius: 14px; background: var(--creme); font-size: 16px; line-height: 1.5; }
.ahpa-erklaerung p { margin: 0 0 6px !important; font-weight: 600; }
.ahpa-erklaerung ul { margin: 0; padding-left: 20px; }

/* ---------- Gespraech ---------- */
.ahpa-gespraech {
  background: #fff; border-radius: 28px; box-shadow: var(--schatten), inset 0 0 0 1px rgba(205, 162, 114, .25);
  padding: 0 0 34px; overflow: hidden;
}
.ahpa-kopf {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 20px 30px 22px;
  background: linear-gradient(180deg, var(--creme), #fff);
}
.ahpa-kopf__bild {
  flex: none; width: 52px; height: 52px; border-radius: 50%;
  background: #fff url("/wp-content/themes/AandH/img/logo.png") center / 78% no-repeat;
  box-shadow: 0 0 0 1px var(--linie), 0 6px 14px -8px rgba(80, 56, 30, .5);
}
.ahpa-kopf__name { font-weight: 700; font-size: 17px; }
.ahpa-kopf__zeit { font-size: 15px; color: var(--leise); }
.ahpa-fortschritt { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--creme); }
.ahpa-fortschritt span { display: block; height: 100%; width: 0; background: var(--gold); transition: width .6s var(--weich); }

/* bisherige Antworten */
.ahpa .ahpa-verlauf { padding: 18px 30px 0; display: grid; gap: 12px; }
.ahpa-eintrag { display: grid; gap: 6px; }
.ahpa-mehr { text-align: center; }
.ahpa-eintrag__frage { font-size: 15px; color: var(--leise); max-width: 85%; }
.ahpa-eintrag__antwort {
  justify-self: end; display: flex; align-items: center; gap: 12px; max-width: 88%;
  padding: 10px 16px; border-radius: 18px 18px 6px 18px; background: var(--creme); font-weight: 600; font-size: 16px;
}
.ahpa-aendern {
  flex: none; border: 0; background: none; padding: 4px 2px; cursor: pointer;
  font-size: 14px; font-weight: 600; color: var(--gold-tief); text-decoration: underline; text-underline-offset: 3px;
}
.ahpa-aendern:focus-visible { outline: 3px solid var(--gold-tief); outline-offset: 2px; border-radius: 4px; }

/* aktuelle Frage */
.ahpa-aktuell { padding: 26px 30px 0; }
.ahpa-frage { animation: ahpa-rein .5s var(--weich); }
@keyframes ahpa-rein { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.ahpa-blase {
  position: relative; max-width: 620px; padding: 22px 24px; margin-bottom: 22px;
  border-radius: 6px 22px 22px 22px; background: var(--creme); box-shadow: inset 0 0 0 1px rgba(205, 162, 114, .3);
}
.ahpa-frage__text {
  font-family: "Playfair Display", Georgia, serif; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.25; font-weight: 700;
  color: var(--tinte); outline: none; overflow-wrap: break-word;
}
.ahpa-hilfe { margin-top: 10px !important; font-size: 17px; color: var(--leise); }
.ahpa-tippt { display: inline-flex; gap: 6px; padding: 18px 20px; margin-bottom: 0; }
.ahpa-tippt span { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); animation: ahpa-punkt 1s infinite ease-in-out; }
.ahpa-tippt span:nth-child(2) { animation-delay: .15s; }
.ahpa-tippt span:nth-child(3) { animation-delay: .3s; }
@keyframes ahpa-punkt { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-4px); } }

.ahpa-antwort { display: grid; gap: 16px; }
.ahpa-text { font-size: 18px; }
.ahpa-klein { font-size: 16px; color: var(--leise); }
.ahpa-klein a, .ahpa-haekchen a { color: var(--gold-tief); font-weight: 600; }

/* Auswahl-Kacheln */
.ahpa-wahlen { display: grid; gap: 12px; }
.ahpa-wahlen--zwei { grid-template-columns: 1fr 1fr; }
.ahpa-wahlen--reihe { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ahpa-wahl {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px;
  min-height: 64px; padding: 14px 20px; border: 0; border-radius: 16px; cursor: pointer; text-align: left;
  background: #fff; color: var(--tinte); box-shadow: inset 0 0 0 2px var(--linie);
  transition: box-shadow .2s, background .2s, transform .15s;
}
.ahpa-wahl:hover { box-shadow: inset 0 0 0 2px var(--gold); background: var(--creme); }
.ahpa-wahl:active { transform: scale(.985); }
.ahpa-wahl:focus-visible { outline: 3px solid var(--gold-tief); outline-offset: 3px; }
.ahpa-wahl.ist-gewaehlt { box-shadow: inset 0 0 0 3px var(--gold-tief); background: var(--creme); }
.ahpa-wahl__text { font-size: 19px; font-weight: 600; }
.ahpa-wahl__klein { font-size: 15px; color: var(--leise); }
.ahpa-wahlen--reihe .ahpa-wahl { align-items: center; padding: 14px 8px; }
.ahpa-wahlen--reihe .ahpa-wahl__text { font-family: "Playfair Display", Georgia, serif; font-size: 26px; }
.ahpa-wahlen--reihe .ahpa-wahl--breit { grid-column: span 5; align-items: flex-start; padding: 14px 20px; }
.ahpa-wahlen--reihe .ahpa-wahl--breit .ahpa-wahl__text { font-family: "Montserrat", sans-serif; font-size: 18px; }

/* Eingabefelder */
.ahpa-felder { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px 18px; }
.ahpa-feld { grid-column: span 6; display: grid; gap: 7px; }
.ahpa-feld--klein { grid-column: span 2; }
.ahpa-feld--klein + .ahpa-feld { grid-column: span 4; }
.ahpa-feld__label { font-size: 16px; font-weight: 600; }
.ahpa-eingabe {
  width: 100%; min-height: 58px; padding: 12px 18px; margin: 0; border: 0; border-radius: 14px;
  font: 500 20px/1.3 "Montserrat", sans-serif; color: var(--tinte); background: #fff;
  box-shadow: inset 0 0 0 2px var(--linie); transition: box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.ahpa-eingabe::placeholder { color: #8E857E; }
.ahpa-eingabe:focus { outline: none; box-shadow: inset 0 0 0 2px var(--gold-tief), 0 0 0 4px rgba(205, 162, 114, .3); }
.ahpa-eingabe--nr { font-size: 24px; letter-spacing: .12em; text-transform: uppercase; }
.ist-falsch .ahpa-eingabe { box-shadow: inset 0 0 0 2px var(--rot); background: #FDF3F1; }
.ahpa-meldung { font-size: 15px; font-weight: 600; color: var(--rot); }

.ahpa-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ahpa-chip {
  min-height: 48px; padding: 0 20px; border: 0; border-radius: 999px; cursor: pointer; background: #fff;
  font-size: 17px; font-weight: 600; color: var(--tinte); box-shadow: inset 0 0 0 2px var(--linie); transition: all .2s;
}
.ahpa-chip:hover { box-shadow: inset 0 0 0 2px var(--gold); }
.ahpa-chip.ist-gewaehlt { background: var(--gold-tief); color: #fff; box-shadow: none; }
.ahpa-chip:focus-visible { outline: 3px solid var(--gold-tief); outline-offset: 2px; }

.ahpa-datum { display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 14px; max-width: 420px; }
.ahpa-datum .ahpa-feld { grid-column: auto; }
.ahpa-datum .ahpa-eingabe { text-align: center; font-size: 22px; }

.ahpa-andere { margin-top: 4px; }

/* Versichertenkarte als Erklaerbild */
.ahpa-karte {
  position: relative; width: 300px; height: 180px; border-radius: 14px; padding: 16px 18px; color: #fff;
  background: linear-gradient(135deg, #2F6B5E, #1E4E44 60%, #173C35);
  box-shadow: 0 20px 34px -18px rgba(23, 60, 53, .8); font-family: Arial, Helvetica, sans-serif;
}
.ahpa-karte__kasse { display: block; font-size: 13px; font-weight: 700; letter-spacing: .02em; opacity: .9; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ahpa-karte__chip { position: absolute; left: 18px; top: 62px; width: 40px; height: 30px; border-radius: 6px; background: linear-gradient(135deg, #E8D6A8, #B99A5A); }
.ahpa-karte__nr {
  position: absolute; right: 14px; top: 60px; padding: 4px 8px; border-radius: 6px; font-size: 15px; font-weight: 700; letter-spacing: .06em;
  background: rgba(255, 255, 255, .95); color: var(--tinte); box-shadow: 0 0 0 3px var(--gold);
}
.ahpa-karte__name { position: absolute; left: 18px; bottom: 16px; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }

/* Box */
.ahpa-pakete { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ahpa-paket {
  display: grid; gap: 4px; align-content: start; text-align: left; padding: 18px 20px; border: 0; border-radius: 18px; cursor: pointer;
  background: #fff; color: var(--tinte); box-shadow: inset 0 0 0 2px var(--linie); transition: box-shadow .2s, background .2s, transform .15s;
}
.ahpa-paket:hover { box-shadow: inset 0 0 0 2px var(--gold); background: var(--creme); }
.ahpa-paket:active { transform: scale(.985); }
.ahpa-paket:focus-visible { outline: 3px solid var(--gold-tief); outline-offset: 3px; }
.ahpa-paket.ist-gewaehlt { box-shadow: inset 0 0 0 3px var(--gold-tief); background: var(--creme); }
.ahpa-paket__icons { display: flex; gap: 6px; margin-bottom: 6px; color: var(--gold-tief); }
.ahpa-paket__icons svg { width: 30px; height: 30px; padding: 4px; border-radius: 9px; background: var(--creme); }
.ahpa-paket__name { font-size: 19px; font-weight: 700; }
.ahpa-paket__text { font-size: 16px; color: var(--leise); }
.ahpa-paket__inhalt { font-size: 14px; color: var(--leise); margin-top: 6px; }
.ahpa-paket__hinweis { display: block; margin-top: 8px; padding: 8px 10px; border-radius: 10px; background: #FFF6E5; color: #6B4A16; font-size: 14px; line-height: 1.4; }
.ahpa-paket--selbst { background: var(--creme); border: 2px dashed rgba(138, 99, 56, .45); box-shadow: none; align-content: center; }

.ahpa-auswahl { display: grid; gap: 14px; padding-top: 8px; scroll-margin-top: 20px; }
.ahpa-fuell__spur { height: 12px; border-radius: 999px; background: var(--creme); overflow: hidden; box-shadow: inset 0 0 0 1px var(--linie); }
.ahpa-fuell__spur span { display: block; height: 100%; width: 0; background: var(--gold-tief); transition: width .5s var(--weich); }
.ahpa-fuell__text { margin-top: 8px !important; font-size: 16px; font-weight: 600; }
.ahpa-produkte { display: grid; gap: 8px; }
.ahpa-produkt {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) 48px 36px 48px; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--linie);
}
.ahpa-produkt.ist-drin { box-shadow: inset 0 0 0 2px var(--gold-tief); background: var(--creme); }
.ahpa-produkt__icon { color: var(--gold-tief); }
.ahpa-produkt__icon svg { width: 34px; height: 34px; }
.ahpa-produkt__name b { display: block; font-size: 17px; }
.ahpa-produkt__name small { font-size: 14px; color: var(--leise); }
.ahpa-produkte--gesperrt { margin-top: 6px; }
.ahpa-produkte__titel { margin: 0 !important; font-size: 15px; font-weight: 700; color: var(--leise); }
.ahpa-produkt.ist-gesperrt { grid-template-columns: 44px minmax(0, 1fr) auto; background: #F6F4F2; box-shadow: none; }
.ahpa-produkt.ist-gesperrt .ahpa-produkt__icon, .ahpa-produkt.ist-gesperrt .ahpa-produkt__name { opacity: .55; }
.ahpa-produkt__marke { padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; color: var(--leise); background: #fff; box-shadow: inset 0 0 0 1px var(--linie); }
.ahpa-mm {
  width: 48px; height: 48px; border: 0; border-radius: 50%; cursor: pointer; font-size: 24px; line-height: 1;
  background: #fff; color: var(--tinte); box-shadow: inset 0 0 0 2px var(--linie);
}
.ahpa-mm:hover:not([disabled]) { background: var(--gold-tief); color: #fff; box-shadow: none; }
.ahpa-mm[disabled] { opacity: .35; cursor: not-allowed; }
.ahpa-zahl { text-align: center; font-weight: 700; font-size: 19px; }

/* Pruefen */
.ahpa-pruefliste { display: grid; gap: 4px; }
.ahpa-pruef { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--linie); }
.ahpa-pruef:last-child { border-bottom: 0; }
.ahpa-pruef dt { font-size: 15px; color: var(--leise); font-weight: 600; }
.ahpa-pruef dd { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; font-size: 17px; }

/* Unterschrift */
.ahpa-sig { position: relative; height: 200px; border-radius: 16px; background: var(--creme); box-shadow: inset 0 0 0 2px var(--gold-hell); }
.ahpa-sig.ist-falsch { box-shadow: inset 0 0 0 2px var(--rot); }
.ahpa-sig canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: crosshair; border-radius: inherit; }
.ahpa-sig__linie {
  position: absolute; left: 24px; right: 24px; bottom: 34px; padding-top: 8px; border-top: 2px solid rgba(138, 99, 56, .4);
  font-size: 15px; color: var(--leise); pointer-events: none; transition: opacity .3s;
}
.ahpa-sig.hat-strich .ahpa-sig__linie { opacity: .3; }
.ahpa-sig__weg {
  position: absolute; top: 12px; right: 12px; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; cursor: pointer;
  background: #fff; font-size: 15px; font-weight: 600; color: var(--gold-tief); box-shadow: 0 2px 8px rgba(43, 39, 36, .12);
}
.ahpa-haken { display: grid; gap: 14px; }
.ahpa-haekchen { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; cursor: pointer; font-size: 17px; }
.ahpa-haekchen input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ahpa-haekchen__box { width: 30px; height: 30px; border-radius: 9px; background: #fff; box-shadow: inset 0 0 0 2px var(--gold-tief); transition: background .2s; }
.ahpa-haekchen input:checked + .ahpa-haekchen__box {
  background: var(--gold-tief) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.ahpa-haekchen input:focus-visible + .ahpa-haekchen__box { outline: 3px solid var(--tinte); outline-offset: 2px; }
.ahpa-haekchen.ist-falsch .ahpa-haekchen__box { box-shadow: inset 0 0 0 2px var(--rot); background: #FDF3F1; }

/* Knoepfe */
.ahpa-leiste { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 28px; }
.ahpa-leiste > :only-child { margin-left: auto; }
.ahpa-knopf {
  display: inline-flex; align-items: center; justify-content: center; min-height: 60px; padding: 0 30px; border: 0; border-radius: 999px;
  cursor: pointer; white-space: nowrap; text-decoration: none !important;
  background: var(--gold-tief); color: #fff !important; font: 700 18px/1 "Montserrat", sans-serif;
  box-shadow: 0 14px 26px -14px rgba(138, 99, 56, .9); transition: transform .15s, background .2s, box-shadow .2s;
}
.ahpa-knopf:hover { background: #7A5630; }
.ahpa-knopf:active { transform: translateY(1px) scale(.99); }
.ahpa-knopf:focus-visible { outline: 3px solid var(--tinte); outline-offset: 3px; }
.ahpa-knopf[disabled] { opacity: .45; cursor: not-allowed; }
.ahpa-knopf--leise { background: #fff; color: var(--tinte) !important; box-shadow: inset 0 0 0 2px var(--linie); }
.ahpa-knopf--leise:hover { background: var(--creme); box-shadow: inset 0 0 0 2px var(--gold); }
.ahpa-info { display: flex; }
.ahpa-testlinks { display: flex; flex-wrap: wrap; gap: 12px; }
.ahpa-testlinks .ahpa-knopf { min-height: 52px; font-size: 16px; }

/* Fertig */
.ahpa-test { padding: 14px 18px; border-radius: 14px; background: #FFF6E5; color: #6B4A16; font-size: 16px; font-weight: 600; }
.ahpa-test.ist-hervor { background: #EAF4EE; color: #1E5A36; }
.ahpa-gesendet { display: grid; gap: 6px; padding: 18px 22px; border-radius: 16px; background: #EAF4EE; color: #1E5A36; font-size: 17px; }
.ahpa-gesendet__titel { font-family: "Playfair Display", Georgia, serif; font-size: 22px; font-weight: 700; }

/* ---------- Rechts: Antrag fuellt sich ---------- */
.ahpa-seite { position: sticky; top: 24px; }
.ahpa-seite__titel { font-family: "Playfair Display", Georgia, serif; font-size: 22px; font-weight: 700; }
.ahpa-seite__text { margin: 6px 0 16px !important; font-size: 15px; color: var(--leise); }
.ahpa-mini { position: relative; border-radius: 6px; overflow: hidden; background: #fff; box-shadow: 0 26px 50px -26px rgba(43, 39, 36, .55), 0 0 0 1px var(--linie); }

/* ---------- Das offizielle Formular (Anlage 2) ---------- */
.ahpa-blatt-rahmen { position: relative; overflow: hidden; background: #fff; }
.ahpa-blatt {
  position: absolute; left: 0; top: 0; width: 595px; height: 841px; transform-origin: top left;
  background: #fff center / 100% 100% no-repeat;
}
.ahpa-f {
  position: absolute; white-space: nowrap; line-height: 1; color: #0A2970;
  font-family: Helvetica, Arial, sans-serif; font-weight: 400; border-radius: 1px;
}
.ahpa-f--bild { object-fit: contain; object-position: center bottom; }
.ahpa-f--kreuz { background: linear-gradient(45deg, transparent 42%, #0A2970 42% 58%, transparent 58%), linear-gradient(-45deg, transparent 42%, #0A2970 42% 58%, transparent 58%); }
.ahpa-f.ist-neu { animation: ahpa-neu 1.6s ease; }
@keyframes ahpa-neu { 0% { background: #F6D89E; box-shadow: 0 0 0 2px #F6D89E; } 100% { background: transparent; box-shadow: 0 0 0 2px transparent; } }
.ahpa-seitenwahl { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.ahpa-seitenwahl + .ahpa-seitenwahl { margin-top: -4px; }
.ahpa-seitenwahl button {
  min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; cursor: pointer; background: #fff;
  font: 600 14px "Montserrat", sans-serif; color: var(--tinte); box-shadow: inset 0 0 0 1.5px var(--linie);
}
.ahpa-seitenwahl button.ist-aktiv { background: var(--gold-tief); color: #fff; box-shadow: none; }
.ahpa-seitenwahl button:focus-visible { outline: 3px solid var(--gold-tief); outline-offset: 2px; }
.ahpa-vorschau { display: grid; gap: 18px; }
.ahpa-vorschau__titel { margin: 10px 0 -6px !important; font: 600 17px "Montserrat", sans-serif; color: var(--tinte); }
.ahpa-vorschau__titel:first-child { margin-top: 0 !important; }
.ahpa-vorschau .ahpa-blatt-rahmen { border-radius: 6px; box-shadow: 0 24px 50px -24px rgba(43, 39, 36, .6), 0 0 0 1px var(--linie); }

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
  .ahpa-frage, .ahpa-f.ist-neu, .ahpa-tippt span { animation: none; }
  .ahpa-fortschritt span, .ahpa-fuell__spur span { transition: none; }
}

/* ---------- Tablet und Handy ---------- */
@media (max-width: 1099px) {
  .ahpa-buehne { grid-template-columns: 1fr; }
  .ahpa-seite { display: none; }
}
@media (max-width: 767px) {
  .ahpa { font-size: 17px; padding-bottom: 30px; }
  .ahpa-gespraech { border-radius: 20px; margin: 0 -6px; }
  .ahpa-kopf, .ahpa .ahpa-verlauf, .ahpa-aktuell { padding-left: 18px; padding-right: 18px; }
  .ahpa-blase { padding: 18px; }
  .ahpa-frage__text { font-size: 25px; hyphens: auto; -webkit-hyphens: auto; }
  .ahpa-wahlen--zwei, .ahpa-pakete { grid-template-columns: 1fr; }
  .ahpa-wahlen--reihe { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
  .ahpa-feld--klein, .ahpa-feld--klein + .ahpa-feld { grid-column: span 6; }
  .ahpa-pruef { grid-template-columns: 1fr; gap: 2px; }
  .ahpa-produkt { grid-template-columns: 36px minmax(0, 1fr) 44px 28px 44px; gap: 8px; padding: 10px; }
  .ahpa-mm { width: 44px; height: 44px; }
  .ahpa-leiste { flex-direction: column-reverse; align-items: stretch; }
  .ahpa-leiste > :only-child { margin-left: 0; }
  .ahpa-knopf { width: 100%; }
  .ahpa-karte { width: 100%; max-width: 300px; }
}

