/* Familie Fricke – alle Stile
   Tischlerei-Look: klare Kanten, Creme, Bordeaux, Poppins. */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

/* ---------- Variablen ---------- */
:root {
  --creme: #F7F4EF;
  --weiss: #FFFFFF;
  --tinte: #1A1A1A;
  --grau: #6B6B6B;
  --linie: rgba(26, 26, 26, .10);
  --bordeaux: #6B1B23;
  --bordeaux-zart: #F1E4E5;
  --gold: #E9A825;
  --gold-text: #8A5A00;
  --zart: #EDE9E3;
  --schatten: 0 12px 32px rgba(26, 26, 26, .06);
  --schatten-fein: 0 4px 14px rgba(26, 26, 26, .05);
}

/* ---------- Grundlagen ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  background: var(--creme);
  color: var(--tinte);
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.4;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
  user-select: none;
  -webkit-user-select: none;
  overscroll-behavior: none;
}

input,
textarea,
select {
  user-select: text;
  -webkit-user-select: text;
  font-family: inherit;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

a {
  color: var(--bordeaux);
}

a:hover {
  color: #4a1218;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 300;
  letter-spacing: -0.01em;
}

/* ---------- Hülle ---------- */
.huelle {
  display: flex;
  height: 100dvh;
  overflow: hidden;
}

/* ---------- Seitenleiste ---------- */
.seitenleiste {
  width: 96px;
  flex-shrink: 0;
  background: var(--weiss);
  border-right: 1px solid var(--linie);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
  gap: 6px;
}

.logo {
  width: 52px;
  height: 52px;
  background: var(--bordeaux);
  color: var(--weiss);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.nav-knopf {
  width: 76px;
  height: 70px;
  border: 0;
  background: transparent;
  color: #4A4A4A;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
}

.nav-knopf .nav-emoji,
.nav-knopf > span:first-child {
  font-size: 26px;
  line-height: 1;
}

.nav-knopf .nav-label,
.nav-knopf > span:last-child {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .02em;
}

.nav-knopf.aktiv {
  background: var(--creme);
  color: var(--bordeaux);
  box-shadow: inset 3px 0 0 var(--bordeaux);
}

.nav-knopf:focus-visible {
  outline: 2px solid var(--bordeaux);
  outline-offset: -2px;
}

/* ---------- Inhalt ---------- */
.inhalt {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 22px 26px;
  gap: 16px;
  overflow: hidden;
}

/* ---------- Kopf ---------- */
.kopf {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.kopf-zeit,
.kopf-titel {
  font-size: 40px;
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.kopf-zeit {
  font-variant-numeric: tabular-nums;
}

.kopf-trenner {
  width: 1px;
  height: 30px;
  background: rgba(26, 26, 26, .25);
  align-self: center;
  flex-shrink: 0;
}

.kopf-aktionen {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}

.kopf-frei {
  flex: 1;
}

/* ---------- Personen-Leiste ---------- */
.personen-leiste {
  display: flex;
  gap: 10px;
  align-items: center;
}

.person-ring {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: conic-gradient(var(--p, var(--bordeaux)) calc(var(--fortschritt, 0) * 1%), #E6E0D7 0);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0;
  flex-shrink: 0;
}

.person-ring.aktiv {
  outline: 3px solid var(--bordeaux);
  outline-offset: 2px;
}

.person-bild {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid var(--creme);
  background: var(--p, var(--bordeaux));
  color: var(--weiss);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 500;
  flex-shrink: 0;
  overflow: hidden;
}

.person-bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.sterne-zahl {
  position: absolute;
  right: -4px;
  bottom: -4px;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  background: var(--weiss);
  border: 1px solid rgba(26, 26, 26, .15);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
  color: var(--tinte);
}

/* ---------- Seite (scrollbar) ---------- */
.seite {
  flex: 1;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

/* ---------- Karte ---------- */
.karte {
  background: var(--weiss);
  box-shadow: var(--schatten);
  padding: 18px;
}

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(26, 26, 26, .14);
  background: var(--weiss);
  color: var(--tinte);
  font-size: 15px;
  font-weight: 500;
  border-radius: 0;
  white-space: nowrap;
}

.knopf:active {
  background: #F0ECE6;
}

.knopf:focus-visible {
  outline: 2px solid var(--bordeaux);
  outline-offset: 2px;
}

.knopf-dunkel {
  background: var(--tinte);
  color: var(--weiss);
  border-color: var(--tinte);
}

.knopf-dunkel:active {
  background: #333333;
}

.knopf-bordeaux {
  background: var(--bordeaux);
  color: var(--weiss);
  border-color: var(--bordeaux);
}

.knopf-bordeaux:active {
  background: #55151c;
}

.knopf-klein {
  height: 36px;
  padding: 0 12px;
  font-size: 14px;
}

.knopf-rund {
  width: 44px;
  padding: 0;
}

/* ---------- Chip ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(26, 26, 26, .14);
  background: var(--weiss);
  color: var(--tinte);
  font-size: 14px;
  font-weight: 500;
  border-radius: 0;
  white-space: nowrap;
}

.chip.aktiv {
  background: var(--tinte);
  color: var(--weiss);
  border-color: var(--tinte);
}

.chip:focus-visible {
  outline: 2px solid var(--bordeaux);
  outline-offset: 2px;
}

/* ---------- Versal-Label ---------- */
.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--grau);
}

.label.label-strich::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--bordeaux);
  flex-shrink: 0;
}

/* ---------- Aufgaben-Spalten ---------- */
.raster-spalten {
  display: grid;
  grid-template-columns: repeat(var(--spalten, 6), minmax(0, 1fr));
  gap: 12px;
  height: 100%;
  min-height: 0;
}

.spalte {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: color-mix(in srgb, var(--p, var(--grau)) 14%, white);
  border-top: 4px solid var(--p, var(--grau));
  box-shadow: var(--schatten);
}

.spalte-kopf {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 12px 12px;
  border-bottom: 1px solid rgba(26, 26, 26, .08);
  flex-shrink: 0;
}

.spalte-kopf .person-bild {
  width: 40px;
  height: 40px;
  border: 0;
  font-size: 17px;
}

.spalte-kopf-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.spalte-name {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.1;
}

.spalte-sterne {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-text);
  font-variant-numeric: tabular-nums;
}

.spalte-sterne::before {
  content: '';
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}

.spalte-sub {
  font-size: 13px;
  color: var(--grau);
}

.spalte-liste {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 8px 12px;
  overflow: auto;
  min-height: 0;
  flex: 1;
}

.gruppe-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 4px 2px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--grau);
}

.gruppe-label .emoji {
  font-size: 15px;
  letter-spacing: 0;
}

/* ---------- Aufgabe ---------- */
.aufgabe {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 54px;
  padding: 8px 10px 8px 6px;
  background: var(--weiss);
  border: 1px solid rgba(26, 26, 26, .06);
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
  border-radius: 0;
}

.aufgabe.erledigt {
  background: color-mix(in srgb, var(--p, var(--grau)) 22%, white);
  border-color: color-mix(in srgb, var(--p, var(--grau)) 40%, white);
}

.aufgabe-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
  min-width: 0;
}

.aufgabe-sterne {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-text);
}

.haken {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(26, 26, 26, .25);
  background: var(--weiss);
  position: relative;
}

.haken.an {
  background: var(--p, var(--bordeaux));
  border-color: var(--p, var(--bordeaux));
}

.haken.an::after {
  content: '';
  width: 6px;
  height: 11px;
  border: solid var(--weiss);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}

/* ---------- Emoji ---------- */
.emoji {
  font-size: var(--gr, 22px);
  line-height: 1;
  flex-shrink: 0;
  text-align: center;
}

/* ---------- Sterne schweben ---------- */
@keyframes schweben {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-40px);
  }
}

.plus-sterne {
  position: absolute;
  right: 12px;
  top: 6px;
  color: var(--gold);
  font-weight: 600;
  font-size: 14px;
  pointer-events: none;
  animation: schweben 900ms ease-out forwards;
}

/* ---------- Kacheln (Einkauf) ---------- */
.kachel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 170px;
  padding: 12px;
  background: var(--weiss);
  box-shadow: var(--schatten-fein);
  border: 1px solid transparent;
  text-align: center;
  border-radius: 0;
}

.kachel .emoji {
  font-size: 58px;
}

.kachel-name {
  font-size: 14px;
  font-weight: 500;
}

.kachel.an {
  background: var(--bordeaux-zart);
  box-shadow: inset 0 0 0 2px var(--bordeaux);
}

.menge {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.menge button {
  width: 44px;
  height: 40px;
  border: 1px solid rgba(26, 26, 26, .14);
  background: var(--weiss);
  font-size: 18px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
}

.menge button:active {
  background: #F0ECE6;
}

.menge-zahl {
  min-width: 28px;
  text-align: center;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* ---------- Monats-Kalender ---------- */
.monat {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  background: var(--weiss);
  border: 1px solid var(--linie);
  box-shadow: var(--schatten);
  min-height: 0;
}

.tag {
  padding: 6px 8px;
  overflow: hidden;
  border-right: 1px solid var(--linie);
  border-bottom: 1px solid var(--linie);
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-height: 0;
}

.tag:nth-child(7n) {
  border-right: 0;
}

.tag-zahl {
  font-size: 14px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  align-self: flex-start;
}

.tag.fremd .tag-zahl {
  color: var(--grau);
}

.tag.heute .tag-zahl {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bordeaux);
  color: var(--weiss);
  border-radius: 50%;
}

.termin {
  font-size: 12px;
  padding: 3px 6px;
  border-left: 3px solid var(--p, var(--bordeaux));
  background: color-mix(in srgb, var(--p, var(--bordeaux)) 16%, white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.termin-mehr {
  font-size: 11px;
  font-weight: 600;
  color: var(--grau);
}

/* ---------- Essens-Raster ---------- */
.essen-raster {
  display: grid;
  grid-template-columns: 110px repeat(7, minmax(0, 1fr));
  gap: 8px;
  min-height: 0;
}

.mahlzeit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  background: var(--zart);
  border: 1px solid transparent;
  text-align: center;
  min-height: 120px;
  border-radius: 0;
}

.mahlzeit .emoji {
  font-size: 64px;
}

.mahlzeit-name {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
}

.mahlzeit.leer {
  background: transparent;
  border: 1px dashed rgba(26, 26, 26, .2);
  color: var(--grau);
}

.mahlzeit.heute {
  box-shadow: inset 0 0 0 3px var(--bordeaux);
}

/* ---------- Listen ---------- */
.liste-eintrag {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 8px 4px;
  border-bottom: 1px solid var(--linie);
}

.liste-eintrag:last-child {
  border-bottom: 0;
}

.liste-eintrag .person-bild {
  width: 32px;
  height: 32px;
  border: 0;
  font-size: 14px;
}

/* ---------- Fortschritt ---------- */
.fortschritt {
  height: 6px;
  background: #EDE9E3;
  overflow: hidden;
  width: 100%;
}

.fortschritt > span {
  display: block;
  height: 100%;
  background: var(--bordeaux);
  transition: width .3s ease;
}

/* ---------- Dialog ---------- */
.dialog-hinter {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, .45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 16px;
}

.dialog {
  background: var(--weiss);
  max-width: 560px;
  width: calc(100% - 32px);
  max-height: 90dvh;
  overflow: auto;
  padding: 24px;
  box-shadow: 0 24px 60px rgba(26, 26, 26, .25);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dialog-titel {
  font-size: 24px;
  font-weight: 300;
  letter-spacing: -0.01em;
}

.dialog-knoepfe {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* ---------- Formularfelder ---------- */
.feld {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feld > label,
.feld-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--tinte);
}

.feld input,
.feld select,
.feld textarea {
  height: 48px;
  padding: 0 12px;
  border: 1px solid rgba(26, 26, 26, .18);
  background: var(--weiss);
  color: var(--tinte);
  font-size: 16px;
  border-radius: 0;
  width: 100%;
}

.feld textarea {
  height: auto;
  min-height: 120px;
  padding: 10px 12px;
  resize: vertical;
  line-height: 1.4;
}

.feld input:focus,
.feld select:focus,
.feld textarea:focus {
  outline: 2px solid var(--bordeaux);
  outline-offset: -1px;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: var(--tinte);
  color: var(--weiss);
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 500;
  z-index: 60;
  box-shadow: 0 12px 32px rgba(26, 26, 26, .25);
  max-width: calc(100% - 32px);
}

.toast.fehler {
  background: var(--bordeaux);
}

/* ---------- Bildschirmschoner ---------- */
.schoner {
  position: fixed;
  inset: 0;
  background: var(--creme);
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 24px;
}

.schoner-uhr {
  font-size: 160px;
  font-weight: 200;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.schoner-datum {
  font-size: 24px;
  font-weight: 300;
  color: var(--grau);
}

/* ---------- Anmeldung ---------- */
.anmelden {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--creme);
  padding: 16px;
  z-index: 45;
}

.anmelden-karte {
  background: var(--weiss);
  width: 420px;
  max-width: 100%;
  padding: 32px;
  box-shadow: var(--schatten);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.anmelden-titel {
  font-size: 40px;
  font-weight: 300;
  letter-spacing: -0.01em;
}

/* ---------- Handy-Leiste unten ---------- */
.leiste-unten {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--weiss);
  border-top: 1px solid var(--linie);
  z-index: 30;
  padding-bottom: env(safe-area-inset-bottom);
}

.leiste-unten button {
  flex: 1;
  height: 64px;
  border: 0;
  background: transparent;
  color: #4A4A4A;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 11px;
  font-weight: 500;
}

.leiste-unten button .nav-emoji,
.leiste-unten button > span:first-child {
  font-size: 22px;
  line-height: 1;
}

.leiste-unten button.aktiv {
  color: var(--bordeaux);
}

/* ---------- Sichtbarkeits-Hilfen ---------- */
.versteckt {
  display: none !important;
}

.nur-handy {
  display: none;
}

.nur-gross {
  display: initial;
}

/* ---------- Handy ---------- */
@media (max-width: 899px) {
  .seitenleiste {
    display: none;
  }

  .leiste-unten {
    display: flex;
  }

  .inhalt {
    padding: 14px 12px 84px;
    gap: 12px;
  }

  .kopf {
    gap: 12px;
  }

  .kopf-zeit,
  .kopf-titel {
    font-size: 22px;
  }

  .kopf-trenner {
    height: 20px;
  }

  .person-ring {
    width: 40px;
    height: 40px;
  }

  .person-bild {
    width: 32px;
    height: 32px;
    font-size: 14px;
    border-width: 2px;
  }

  .sterne-zahl {
    min-width: 18px;
    height: 18px;
    font-size: 10px;
    padding: 0 4px;
  }

  .raster-spalten {
    grid-template-columns: minmax(0, 1fr);
    height: auto;
  }

  .essen-raster {
    display: block;
  }

  .essen-raster > * {
    margin-bottom: 8px;
  }

  .monat {
    grid-auto-rows: minmax(64px, auto);
  }

  .schoner-uhr {
    font-size: 96px;
  }

  .nur-handy {
    display: initial;
  }

  .nur-gross {
    display: none;
  }
}

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .plus-sterne {
    animation: none;
    opacity: 0;
  }
}

/* Nachbesserungen nach dem ersten Test */
a.nav-knopf { text-decoration: none; color: inherit; }
.nav-knopf { flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.nav-emoji { font-size: 26px; line-height: 1; }
.nav-label { font-size: 12px; font-weight: 500; }
img.logo { width: 52px; height: 52px; display: block; padding: 0; background: none; }
.kopf-links { display: flex; align-items: baseline; gap: 14px; }
.kopf-links .kopf-zeit::after { content: ""; display: inline-block; width: 1px; height: 30px; background: rgba(26,26,26,.25); margin-left: 14px; vertical-align: middle; }
.leiste-unten .nav-knopf { width: auto; flex: 1; height: 64px; }
@media (max-width: 899px) { .kopf-links .kopf-zeit::after { height: 18px; margin-left: 8px; } }
/* Sternzahl nur im Kopf als Ecke, sonst normal im Fluss */
.sterne-zahl { position: static; border: 0; background: none; padding: 0; height: auto; color: var(--gold-text); font-size: 12px; }
.person-ring .sterne-zahl { position: absolute; right: -4px; bottom: -4px; height: 22px; padding: 0 5px; background: var(--weiss); border: 1px solid rgba(26,26,26,.15); color: var(--tinte); }
.person-ring { position: relative; }
.personen-leiste { margin-left: auto; }
.seite { display: flex; flex-direction: column; }
.seite > * { flex-shrink: 0; }
.seite > .raster-spalten { flex: 1 1 auto; min-height: 420px; }
.aufgabe .knopf-klein { width: 30px; height: 30px; padding: 0; border-color: transparent; background: transparent; color: var(--grau); flex-shrink: 0; }
.aufgabe > span:not(.haken):not(.emoji):not(.sterne-zahl) { line-height: 1.25; overflow-wrap: anywhere; }
/* Aufgabenzeile als kleines Raster: Haken | Bild | Titel, darunter die Sterne */
.aufgabe { display: grid !important; grid-template-columns: 24px 28px minmax(0, 1fr) auto; column-gap: 8px; row-gap: 2px; align-items: center; position: relative; }
.aufgabe > .haken { grid-column: 1; grid-row: 1 / span 2; }
.aufgabe > .emoji { grid-column: 2; grid-row: 1 / span 2; text-align: center; }
.aufgabe > span:nth-child(3) { grid-column: 3; grid-row: 1; font-size: 14px; font-weight: 500; overflow-wrap: normal; word-break: normal; hyphens: auto; }
.aufgabe > .sterne-zahl { grid-column: 3; grid-row: 2; margin: 0 !important; justify-self: start; }
.aufgabe > .knopf-klein { grid-column: 4; grid-row: 1 / span 2; margin: 0 !important; display: none; }
@media (max-width: 899px) { .aufgabe > .knopf-klein { display: flex; } }
