/* Prüfungs-Countdown – Designs „garten“ und „retro“. Alles unter .pc-countdown, damit das Theme nicht hineinfunkt. */

@font-face { font-family: "PC Fredoka"; src: url("../fonts/fredoka-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "PC Fredoka"; src: url("../fonts/fredoka-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "PC Fredoka"; src: url("../fonts/fredoka-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "PC Nunito"; src: url("../fonts/nunito-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "PC Nunito"; src: url("../fonts/nunito-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "PC Courier"; src: url("../fonts/courier-prime-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "PC Courier"; src: url("../fonts/courier-prime-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* ---------- Gemeinsam ---------- */
.pc-countdown {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-sizing: border-box;
  width: 100%;
  padding: clamp(32px, 6vw, 72px) 16px;
  font-family: "PC Nunito", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
}
.pc-countdown *, .pc-countdown *::before, .pc-countdown *::after { box-sizing: border-box; }
.pc-countdown.pc-vollbild { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; }

/* Anmeldung und Server-Speicherung (WordPress mit Konto) */
.pc-anmeldung {
  box-sizing: border-box; max-width: 400px; margin: 16vh auto 40px; padding: 28px 28px 22px;
  font: 16px/1.5 "Courier Prime", ui-monospace, monospace; color: #8c3b2b;
  background: #fffaf6; border: 2.5px solid #8c3b2b; border-radius: 12px; box-shadow: 0 5px 0 #8c3b2b;
}
.pc-anmeldung p { margin: 0 0 12px; }
.pc-anmeldung__titel { font-weight: 700; font-size: 18px; letter-spacing: .02em; }
.pc-anmeldung label { display: block; font-size: 14px; font-weight: 700; }
.pc-anmeldung input[type="text"], .pc-anmeldung input[type="password"] {
  box-sizing: border-box; width: 100%; margin-top: 4px; padding: 9px 11px; font: inherit; color: #5a2a20;
  background: #fff; border: 2px solid #8c3b2b; border-radius: 8px;
}
.pc-anmeldung input:focus-visible { outline: 3px solid #f6b3ad; outline-offset: 1px; }
.pc-anmeldung .login-remember label { display: flex; gap: 8px; align-items: center; font-weight: 400; }
.pc-anmeldung input[type="submit"] {
  padding: 9px 20px; font: inherit; font-weight: 700; color: #8c3b2b; cursor: pointer;
  background: #f9c89b; border: 2px solid #8c3b2b; border-radius: 8px; box-shadow: 0 3px 0 #8c3b2b;
}
.pc-anmeldung a { color: inherit; }
.pc-abmelden {
  position: fixed; right: 10px; bottom: 8px; z-index: 50; padding: 3px 8px;
  font: 12px "Courier Prime", ui-monospace, monospace; color: #8c3b2b; text-decoration: none;
  background: rgba(255, 250, 246, .85); border: 1.5px solid #8c3b2b; border-radius: 6px; opacity: .7;
}
.pc-abmelden:hover, .pc-abmelden:focus-visible { opacity: 1; }
.pc-sync-hinweis {
  position: fixed; left: 50%; bottom: 14px; z-index: 60; transform: translateX(-50%); max-width: min(92vw, 520px); margin: 0;
  padding: 8px 14px; font: 13px/1.4 "Courier Prime", ui-monospace, monospace; color: #8c3b2b;
  background: #fff3c4; border: 2px solid #8c3b2b; border-radius: 8px; box-shadow: 0 3px 0 #8c3b2b;
}
.pc-countdown :where(p, h2, ul) { margin: 0; padding: 0; }
.pc-countdown .pc-kicker { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.pc-countdown .pc-titel { margin: 6px 0 0; font-size: clamp(28px, 6vw, 44px); line-height: 1.12; letter-spacing: 0; text-transform: none; }
.pc-countdown .pc-fakten { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; }
.pc-countdown .pc-fakt { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 6px 14px; font-size: 14px; font-weight: 700; }
.pc-countdown .pc-fakt::before { font-size: 15px; line-height: 1; }
.pc-countdown .pc-fakt--mond::before { content: "🌙"; }
.pc-countdown .pc-fakt--sonne::before { content: "☀️"; }
.pc-countdown .pc-fakt--kalender::before { content: "📅"; }
.pc-countdown button { font: inherit; cursor: pointer; }
.pc-countdown button:focus-visible { outline: 3px solid #7a2e55; outline-offset: 3px; }
.pc-countdown [hidden] { display: none !important; }

.pc-konfetti {
  position: absolute; top: -16px; z-index: 5; width: 9px; height: 13px; border-radius: 2px; pointer-events: none;
  animation: pc-konfetti 3s cubic-bezier(.25, .6, .4, 1) forwards;
}
@keyframes pc-konfetti {
  to { transform: translate(var(--wind, 0), calc(100vh + 40px)) rotate(var(--dreh, 360deg)); opacity: .2; }
}

/* ---------- Design 1: Garten ---------- */
.pc-garten {
  color: #4a3a4f;
  background:
    radial-gradient(circle at 16% 14%, #fff3c4 0 54px, rgba(255, 236, 170, .45) 56px, transparent 110px),
    linear-gradient(180deg, #ffdbe7 0%, #ffeedd 52%, #def5e4 100%);
}
.pc-garten .pc-kicker { color: #9c3d64; }
.pc-garten .pc-titel { font-family: "PC Fredoka", "Segoe UI", sans-serif; font-weight: 700; color: #4a3a4f; }

.pc-g-himmel { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.pc-g-wolke {
  position: absolute; width: 120px; height: 38px; border-radius: 40px; background: #fff; opacity: .85;
  box-shadow: 26px -18px 0 4px #fff, 64px -6px 0 0 #fff;
  animation: pc-wolke 60s linear infinite;
}
.pc-g-wolke--1 { top: 9%; left: -160px; }
.pc-g-wolke--2 { top: 24%; left: -160px; transform: scale(.7); animation-duration: 80s; animation-delay: -30s; opacity: .7; }
.pc-g-wolke--3 { top: 6%; left: -160px; transform: scale(1.15); animation-duration: 95s; animation-delay: -62s; }
@keyframes pc-wolke { to { translate: calc(100vw + 340px) 0; } }
.pc-g-bluete {
  position: absolute; top: -24px; width: 14px; height: 14px; border-radius: 70% 0 70% 0;
  background: linear-gradient(135deg, #ffc2d4, #ff9cbb); opacity: .75; scale: var(--gr, 1);
  animation: pc-bluete 14s linear infinite;
}
@keyframes pc-bluete {
  0% { transform: translate(0, 0) rotate(0); }
  50% { transform: translate(40px, 55vh) rotate(200deg); }
  100% { transform: translate(-10px, 110vh) rotate(420deg); }
}

.pc-g-karte {
  position: relative; width: min(560px, 100%); padding: 40px clamp(18px, 5vw, 44px) 32px;
  background: rgba(255, 255, 255, .78); border-radius: 36px;
  box-shadow: 0 2px 0 rgba(255, 255, 255, .9) inset, 0 24px 60px rgba(210, 110, 150, .22), 0 6px 0 #ffd0de;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
/* Washi-Tape oben links und rechts */
.pc-g-karte::before, .pc-g-karte::after {
  content: ""; position: absolute; top: -12px; width: 96px; height: 26px; opacity: .9;
  background: repeating-linear-gradient(45deg, #ffb3c9 0 8px, #ffd6e2 8px 16px);
}
.pc-g-karte::before { left: 28px; transform: rotate(-6deg); }
.pc-g-karte::after { right: 28px; transform: rotate(5deg); background: repeating-linear-gradient(45deg, #a8e6be 0 8px, #d3f4de 8px 16px); }

.pc-g-buehne { position: relative; height: 270px; margin: 10px auto 0; max-width: 420px; }
.pc-g-pflanze { position: absolute; left: 50%; bottom: 0; width: 200px; height: 250px; translate: -50% 0; overflow: visible; transform-origin: 50% 100%; }
.pc-g-pflanze.is-wackeln { animation: pc-wackeln .9s ease; }
@keyframes pc-wackeln { 20% { transform: rotate(-4deg); } 45% { transform: rotate(3deg); } 70% { transform: rotate(-1.5deg); } 100% { transform: rotate(0); } }
.pc-g-augen { transform-box: fill-box; transform-origin: center; animation: pc-blinzeln 5s infinite; }
@keyframes pc-blinzeln { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.pc-g-knospe, .pc-g-blume { transition: opacity .6s ease; }
.pc-g-kranz { animation: pc-drehen 24s linear infinite; }
@keyframes pc-drehen { to { transform: rotate(360deg); } }
.pc-g-blatt path { transition: none; }

.pc-g-blase {
  position: absolute; top: 34px; right: 2%; z-index: 2; max-width: 168px; padding: 10px 14px;
  font-family: "PC Fredoka", sans-serif; font-weight: 500; font-size: 15px; line-height: 1.3; color: #4a3a4f; text-align: left;
  background: #fff; border: 2.5px solid #ffb3c9; border-radius: 18px 18px 18px 4px;
  box-shadow: 0 6px 0 #ffe0ea;
}
.pc-g-blase.is-neu { animation: pc-plopp .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pc-plopp { from { transform: scale(.6); opacity: 0; } }

.pc-g-tropfen { position: absolute; inset: 0; pointer-events: none; }
.pc-g-tropf {
  position: absolute; top: 0; width: 11px; height: 15px; background: #7cc2ff;
  border-radius: 50% 50% 50% 50% / 64% 64% 36% 36%; opacity: 0;
  animation: pc-tropf .9s ease-in forwards;
}
@keyframes pc-tropf { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(150px) scale(.7); opacity: 0; } }

.pc-g-tage { display: flex; flex-direction: column; align-items: center; margin-top: 18px; font-family: "PC Fredoka", sans-serif; }
.pc-g-zahl {
  font-size: clamp(72px, 19vw, 128px); font-weight: 700; line-height: .95; font-variant-numeric: tabular-nums;
  color: #d9466f; text-shadow: 0 5px 0 #ffd0de;
}
.is-bluehend .pc-g-zahl { font-size: clamp(48px, 13vw, 84px); }
.pc-g-einheit { margin-top: 4px; font-size: 22px; font-weight: 600; color: #4a3a4f; }

.pc-g-uhr { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.pc-g-pille {
  display: flex; flex-direction: column; align-items: center; min-width: 84px; padding: 8px 10px 6px;
  background: #fff; border: 2px dashed #ffb3c9; border-radius: 18px;
}
.pc-g-pille__zahl { font-family: "PC Fredoka", sans-serif; font-size: 28px; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; color: #4a3a4f; }
.pc-g-pille__name { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #6d5873; }

.pc-g-weg { margin-top: 24px; }
.pc-g-balken { position: relative; height: 18px; background: #ffe3ec; border-radius: 999px; box-shadow: inset 0 2px 0 rgba(0, 0, 0, .05); }
.pc-g-fuellung {
  position: absolute; inset: 0 auto 0 0; border-radius: inherit;
  background: repeating-linear-gradient(-45deg, #7ad597 0 10px, #95e0ad 10px 20px);
  background-size: 28px 28px; animation: pc-streifen 1.2s linear infinite;
  transition: width 1s ease;
}
@keyframes pc-streifen { to { background-position: 28px 0; } }
.pc-g-spross {
  position: absolute; right: -14px; top: 50%; width: 30px; height: 30px; translate: 0 -50%;
  display: grid; place-items: center; background: #fff; border: 2.5px solid #7ad597; border-radius: 50%;
}
.pc-g-spross::before { content: "🌱"; font-size: 15px; line-height: 1; }
.pc-g-wegtext { margin-top: 8px; font-size: 14px; font-weight: 700; color: #6d5873; }

.pc-garten .pc-fakten { margin-top: 18px; }
.pc-garten .pc-fakt { background: #fff7fa; border: 1.5px solid #ffd0de; border-radius: 999px; color: #4a3a4f; }

.pc-g-knopf {
  margin-top: 24px; padding: 12px 26px; border: 0; border-radius: 999px;
  font-family: "PC Fredoka", sans-serif !important; font-size: 18px !important; font-weight: 600; color: #1f3d5c;
  background: #c4e6ff; box-shadow: 0 5px 0 #86c2f2; transition: transform .15s ease, box-shadow .15s ease;
}
.pc-g-knopf::before { content: "💧 "; }
.pc-g-knopf:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #86c2f2; }
.pc-g-knopf:active { transform: translateY(4px); box-shadow: 0 1px 0 #86c2f2; }

@media (max-width: 520px) {
  .pc-g-buehne { height: auto; display: flex; flex-direction: column; align-items: center; gap: 10px; }
  .pc-g-blase { position: relative; top: auto; right: auto; max-width: 100%; border-radius: 18px; }
  .pc-g-pflanze { position: relative; left: auto; translate: none; }
  .pc-g-uhr { gap: 6px; }
  .pc-g-pille { min-width: 0; flex: 1; }
  .pc-g-pille__name { font-size: 10px; letter-spacing: .04em; }
}

/* ---------- Design 2: Retro-Desktop ---------- */
.pc-retro {
  --r-tinte: #8c3b2b;
  --r-pfirsich: #f9c89b;
  --r-rosa: #f6b3ad;
  --r-rosahell: #fbd5d0;
  --r-blau: #c7cdea;
  --r-papier: #fffaf6;
  color: var(--r-tinte);
  font-family: "PC Courier", "Courier New", monospace;
  background:
    linear-gradient(rgba(140, 59, 43, .07) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(140, 59, 43, .07) 1px, transparent 1px) 0 0 / 32px 32px,
    #fde4d6;
}
.pc-retro .pc-kicker { color: var(--r-tinte); font-size: 13px; }
.pc-retro .pc-titel { margin-top: 8px; font-size: clamp(26px, 3.2vw, 40px); font-family: "PC Courier", "Courier New", monospace; font-weight: 700; color: var(--r-tinte); }
.pc-retro button:focus-visible { outline-color: #5a2418; }

.pc-r-deko { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.pc-r-sticker { position: absolute; display: block; animation: pc-r-schweben 7s ease-in-out infinite; }
.pc-r-sticker svg, .pc-r-smiley svg { display: block; width: 100%; height: auto; overflow: visible; }
.pc-r-sticker svg *, .pc-r-smiley svg * { stroke: var(--r-tinte); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.pc-retro svg [stroke="none"] { stroke: none; }
@keyframes pc-r-schweben { 50% { transform: translateY(-9px) rotate(4deg); } }

.pc-r-tisch {
  position: relative; width: min(1120px, 100%);
  display: grid; grid-template-columns: 1fr 1.4fr 1fr;
  grid-template-areas: "lade haupt dialog" "pruefi haupt datei" "pruefi auswahl blase";
  gap: 30px 34px; align-items: start; text-align: left;
}

.pc-r-fenster {
  position: relative; background: var(--r-papier);
  border: 2.5px solid var(--r-tinte); border-radius: 12px;
  box-shadow: 6px 6px 0 rgba(140, 59, 43, .16);
}
.pc-r-fenster.is-wackeln { animation: pc-r-wackeln .5s ease; }
@keyframes pc-r-wackeln { 20% { transform: translateX(-6px) rotate(-1deg); } 45% { transform: translateX(5px) rotate(1deg); } 70% { transform: translateX(-3px); } }
.pc-r-leiste {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 38px; padding: 5px 7px 5px 14px;
  border-bottom: 2.5px solid var(--r-tinte); border-radius: 9px 9px 0 0;
  background: repeating-linear-gradient(-45deg, #fcdcbd 0 6px, #f9cba2 6px 12px);
}
.pc-r-titel { font-size: 14px; font-weight: 700; letter-spacing: .06em; }
.pc-r-x { position: relative; flex: none; width: 26px; height: 26px; padding: 0; border: 2px solid var(--r-tinte); border-radius: 6px; background: var(--r-rosa); }
.pc-r-x::before, .pc-r-x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 2.5px; background: var(--r-tinte); border-radius: 2px; translate: -50% -50%; rotate: 45deg; }
.pc-r-x::after { rotate: -45deg; }
.pc-r-x:hover { background: #f39c95; }
.pc-r-inhalt { padding: 18px 20px 20px; }

/* Hauptfenster */
.pc-r-haupt { grid-area: haupt; text-align: center; }
.pc-r-haupt .pc-r-inhalt { padding: 34px 26px 32px; }
.pc-r-tage { margin-top: 20px; }
.pc-r-zahl {
  display: block; font-size: clamp(84px, 11vw, 150px); font-weight: 700; line-height: .9; letter-spacing: -.04em;
  font-variant-numeric: tabular-nums; color: var(--r-tinte); text-shadow: 5px 5px 0 var(--r-rosa);
}
.pc-retro.is-fertig .pc-r-zahl { font-size: clamp(46px, 6.5vw, 80px); letter-spacing: 0; }
.pc-r-einheit { display: block; margin-top: 10px; font-size: 22px; font-weight: 700; }
.pc-r-uhr { display: flex; justify-content: center; gap: 12px; margin-top: 24px; }
.pc-r-knopfbox {
  display: flex; flex-direction: column; align-items: center; min-width: 80px; padding: 6px 10px 5px;
  border: 2.5px solid var(--r-tinte); border-radius: 8px; box-shadow: inset 0 -4px 0 rgba(140, 59, 43, .14);
}
.pc-r-knopfbox--pfirsich { background: var(--r-pfirsich); }
.pc-r-knopfbox--blau { background: var(--r-blau); }
.pc-r-knopfbox b { font-size: 26px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.pc-r-knopfbox small { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.pc-r-smiley { position: absolute; top: -58px; right: -44px; width: 118px; pointer-events: none; animation: pc-r-schweben 6s ease-in-out infinite; }
.pc-r-smiley__strahlen { transform-box: view-box; transform-origin: 60px 60px; animation: pc-r-drehen 40s linear infinite; }
@keyframes pc-r-drehen { to { transform: rotate(360deg); } }

/* Ladefenster */
.pc-r-lade { grid-area: lade; }
.pc-r-ladetext { font-size: 15px; font-weight: 700; text-align: center; }
.pc-r-balken { position: relative; height: 28px; margin-top: 12px; overflow: hidden; background: #fff; border: 2.5px solid var(--r-tinte); border-radius: 7px; }
.pc-r-fuellung {
  position: absolute; inset: 0 auto 0 0; border-right: 2.5px solid var(--r-tinte);
  background: repeating-linear-gradient(-45deg, #f6b3ad 0 8px, #f9cdc8 8px 16px); background-size: 22.6px 22.6px;
  animation: pc-r-streifen 1.4s linear infinite; transition: width 1s ease;
}
@keyframes pc-r-streifen { to { background-position: 22.6px 0; } }
.pc-r-prozent { position: relative; display: block; width: max-content; margin: 2px auto 0; padding: 0 7px; font-size: 14px; font-weight: 700; line-height: 19px; background: rgba(255, 250, 246, .92); border-radius: 4px; }
.pc-r-klein { margin-top: 8px; font-size: 13px; text-align: center; }

/* Prüfi */
.pc-r-pruefi { grid-area: pruefi; }
.pc-r-pruefi.is-huepfen { animation: pc-r-huepfen .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pc-r-huepfen { 40% { transform: translateY(-8px); } }
.pc-r-leinwand {
  display: block; width: 100%; height: auto; aspect-ratio: 48 / 30; image-rendering: pixelated; image-rendering: crisp-edges;
  border: 2.5px solid var(--r-tinte); border-radius: 8px;
  background:
    linear-gradient(rgba(140, 59, 43, .06) 1px, transparent 1px) 0 0 / 8px 8px,
    linear-gradient(90deg, rgba(140, 59, 43, .06) 1px, transparent 1px) 0 0 / 8px 8px,
    #fff1e4;
}
.pc-r-werte { display: grid; gap: 8px; margin-top: 16px; }
.pc-r-wert { display: flex; align-items: center; gap: 10px; }
.pc-r-wert__name { width: 66px; font-size: 15px; font-weight: 700; }
.pc-r-wert__punkte { display: flex; gap: 3px; }
.pc-r-wert__punkte i {
  width: 22px; height: 22px; background: #ead5ca;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='m20 3 5 11 12 1.5-9 8.5 2.5 12L20 30l-10.5 6 2.5-12-9-8.5L15 14Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='m20 3 5 11 12 1.5-9 8.5 2.5 12L20 30l-10.5 6 2.5-12-9-8.5L15 14Z'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: background-color .3s ease;
}
.pc-r-wert--satt i.is-voll { background: #ee9a52; }
.pc-r-wert--wissen i.is-voll { background: #8d98d6; }
.pc-r-wert--laune i.is-voll { background: #ec7781; }

/* Auswahlrahmen */
.pc-r-auswahl { grid-area: auswahl; position: relative; padding: 24px 20px 26px; text-align: center; border: 2.5px dotted var(--r-tinte); }
.pc-r-griff { position: absolute; width: 13px; height: 13px; background: var(--r-papier); border: 2.5px solid var(--r-tinte); }
.pc-r-griff--lo { top: -8px; left: -8px; }
.pc-r-griff--ro { top: -8px; right: -8px; }
.pc-r-griff--lu { bottom: -8px; left: -8px; }
.pc-r-griff--ru { bottom: -8px; right: -8px; }
.pc-r-auswahl__frage { font-size: 18px; font-weight: 700; letter-spacing: .02em; }
.pc-r-knoepfe { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 16px; }
.pc-r-knopf {
  padding: 6px 16px; border: 2.5px solid var(--r-tinte); border-radius: 8px;
  font-family: "PC Courier", "Courier New", monospace !important; font-size: 15px !important; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--r-tinte); box-shadow: 0 4px 0 var(--r-tinte); transition: transform .12s ease, box-shadow .12s ease;
}
.pc-r-knopf--pfirsich { background: var(--r-pfirsich); }
.pc-r-knopf--blau { background: var(--r-blau); }
.pc-r-knopf--rosa { background: var(--r-rosa); }
.pc-r-knopf:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--r-tinte); }
.pc-r-knopf:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--r-tinte); }

/* Sprechblase */
.pc-r-blasenbox { grid-area: blase; padding-bottom: 14px; }
.pc-r-blase {
  position: relative; display: flex; align-items: center; min-height: 96px; padding: 16px 18px;
  font-size: 16px; font-weight: 700; line-height: 1.4;
  background: var(--r-rosahell); border: 2.5px solid var(--r-tinte); border-radius: 14px; box-shadow: 6px 6px 0 rgba(140, 59, 43, .16);
}
.pc-r-blase::after {
  content: ""; position: absolute; left: 34px; bottom: -11px; width: 18px; height: 18px;
  background: var(--r-rosahell); border-right: 2.5px solid var(--r-tinte); border-bottom: 2.5px solid var(--r-tinte); transform: rotate(45deg);
}
.pc-r-blase.is-neu { animation: pc-plopp .4s cubic-bezier(.3, 1.6, .5, 1); }

/* Dialog und Datei */
.pc-r-dialog { grid-area: dialog; text-align: center; }
.pc-r-frage { font-size: 20px; font-weight: 700; letter-spacing: .04em; }
.pc-l-blase p { max-height: 11em; overflow-y: auto; overflow-wrap: anywhere; }
.pc-r-spruchkopf { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.pc-r-spruch { margin-top: 10px !important; font-size: 17px; font-weight: 700; line-height: 1.45; text-wrap: balance; }
.pc-r-datei { grid-area: datei; }
.pc-r-datei .pc-fakten { display: block; }
.pc-retro .pc-fakt { display: flex; align-items: baseline; gap: 8px; padding: 7px 0; font-size: 15px; border-bottom: 1.5px dashed rgba(140, 59, 43, .4); }
.pc-retro .pc-fakt:last-child { border-bottom: 0; }
.pc-retro .pc-fakt::before { content: "★"; color: #c2621f; }

@media (max-width: 980px) {
  .pc-r-tisch { grid-template-columns: 1fr 1fr; grid-template-areas: "haupt haupt" "lade dialog" "pruefi auswahl" "pruefi blase" "datei datei"; }
  .pc-r-smiley { right: -14px; top: -52px; width: 100px; }
}
@media (max-width: 640px) {
  .pc-r-tisch { grid-template-columns: 1fr; grid-template-areas: "haupt" "lade" "pruefi" "auswahl" "blase" "dialog" "datei"; gap: 26px; }
  .pc-r-haupt { margin-top: 36px; }
  .pc-r-haupt .pc-r-inhalt { padding: 28px 16px 24px; }
  .pc-r-smiley { right: -6px; top: -44px; width: 82px; }
  .pc-r-uhr { gap: 8px; }
  .pc-r-knopfbox { min-width: 0; flex: 1; }
  .pc-r-sticker { opacity: .6; scale: .75; }
  .pc-r-sticker--mitte { display: none; }
}

/* ---------- Design 3: Lernplan (baut auf Retro auf) ---------- */
/* Taskleiste */
.pc-l-taskleiste {
  position: relative; display: flex; align-items: center; gap: 8px; width: min(1120px, 100%); margin: 0 auto 40px; padding: 7px 10px;
  background: var(--r-papier); border: 2.5px solid var(--r-tinte); border-radius: 12px; box-shadow: 6px 6px 0 rgba(140, 59, 43, .16);
}
.pc-lernplan.pc-vollbild { display: block; }
/* Gemütlicher Hintergrund: warmes Licht, feine Stoffpunkte */
.pc-retro.pc-lernplan {
  background:
    radial-gradient(circle at 2px 2px, rgba(140, 59, 43, .09) 1.5px, transparent 2px) 0 0 / 26px 26px,
    radial-gradient(ellipse 60% 45% at 10% 6%, rgba(255, 226, 180, .9), transparent 70%),
    radial-gradient(ellipse 55% 45% at 92% 96%, rgba(246, 179, 173, .55), transparent 70%),
    linear-gradient(170deg, #fee9dc 0%, #fbdccf 55%, #f6cfc4 100%);
}
/* Pflanzen: Hängetöpfe oben, Töpfe auf einem Regalbrett unten (eigene Zeichnungen) */
.pc-lernplan::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    url("../img/haengetopf.svg") left 1% top 0 / 120px auto no-repeat,
    url("../img/haengetopf.svg") right 1.5% top 0 / 100px auto no-repeat,
    url("../img/monstera.svg") left -14px bottom 20px / 270px auto no-repeat,
    url("../img/bogenhanf.svg") right 4px bottom 22px / 200px auto no-repeat,
    url("../img/tulpe.svg") left 21% bottom 22px / 46px auto no-repeat,
    url("../img/keimling.svg") right 21% bottom 22px / 44px auto no-repeat,
    linear-gradient(#8c3b2b, #8c3b2b) left 0 bottom 24px / 100% 2.5px no-repeat,
    linear-gradient(#f0c2a0, #e3a882) left 0 bottom 0 / 100% 24px no-repeat;
}
@media (max-width: 820px) {
  .pc-lernplan .pc-r-sticker--unten { display: none; }
  .pc-lernplan::after {
    background:
      url("../img/haengetopf.svg") left 0 top 0 / 72px auto no-repeat,
      url("../img/monstera.svg") left -10px bottom 14px / 160px auto no-repeat,
      url("../img/bogenhanf.svg") right 0 bottom 16px / 120px auto no-repeat,
      url("../img/tulpe.svg") left 46% bottom 16px / 32px auto no-repeat,
      linear-gradient(#8c3b2b, #8c3b2b) left 0 bottom 18px / 100% 2.5px no-repeat,
      linear-gradient(#f0c2a0, #e3a882) left 0 bottom 0 / 100% 18px no-repeat;
  }
}
.pc-lernplan .pc-r-tisch { margin: 0 auto; }
/* Startansicht ohne Ladefenster: Aktionen direkt unter Prüfi */
.pc-l-start { grid-template-areas: "links haupt dialog" "links haupt datei" "links blase datei"; }
.pc-l-links { grid-area: links; display: grid; gap: 30px; align-content: start; }
.pc-l-links > * { grid-area: auto; }
/* Aktions-Kacheln im Prüfi-Fenster */
.pc-l-aktionen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; margin-top: 16px; padding-top: 16px; border-top: 2px dashed rgba(140, 59, 43, .35); }
.pc-l-aktion {
  position: relative; display: flex; align-items: center; gap: 7px; min-width: 0; padding: 8px 14px 8px 8px;
  font: inherit; color: var(--r-tinte); background: var(--r-pfirsich);
  border: 2.5px solid var(--r-tinte); border-radius: 9px; box-shadow: 0 4px 0 var(--r-tinte);
  transition: transform .12s ease, box-shadow .12s ease;
}
.pc-l-aktion--blau { background: var(--r-blau); }
.pc-l-aktion--rosa { background: var(--r-rosa); }
.pc-l-aktion--gelb { background: #fde7a6; }
.pc-l-aktion:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--r-tinte); }
.pc-l-aktion:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--r-tinte); }
.pc-l-aktion:focus-visible { outline: 3px solid #5a2418; outline-offset: 2px; }
.pc-l-aktion__bild { flex: none; width: 30px; height: 24px; image-rendering: pixelated; image-rendering: crisp-edges; }
.pc-l-aktion__name { min-width: 0; font-size: 12px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
.pc-l-aktion__taste { position: absolute; top: 3px; right: 5px; font: inherit; font-size: 10px; font-weight: 700; opacity: .55; }
.pc-l-startlogo {
  flex: none; width: 36px; height: 32px; border: 2px solid var(--r-tinte); border-radius: 7px;
  background: url("../img/startlogo.svg") center / 24px auto no-repeat, var(--r-pfirsich); image-rendering: pixelated;
}
.pc-l-tab {
  padding: 5px 14px; font-size: 14px; font-weight: 700; letter-spacing: .04em; color: var(--r-tinte);
  background: #fff; border: 2px solid var(--r-tinte); border-radius: 7px; box-shadow: inset 0 -3px 0 rgba(140, 59, 43, .14);
}
.pc-l-tab:hover { background: #fff3ea; }
.pc-l-tbtimer { order: 2; }
.pc-l-leistenuhr { order: 3; }
.pc-l-timerpop { order: 4; }
.pc-l-tbtimer { font-variant-numeric: tabular-nums; }
.pc-l-tbtimer.is-laeuft { background: var(--r-blau); animation: pc-l-pulsieren 2s ease-in-out infinite; }
.pc-l-tbtimer.is-offen { background: #fff3ea; box-shadow: inset 0 3px 0 rgba(140, 59, 43, .18); }
.pc-l-timerpop { position: absolute; top: calc(100% + 12px); right: 80px; z-index: 60; width: min(340px, calc(100vw - 32px)); text-align: center; }
.pc-l-timerpop .pc-r-fenster { box-shadow: 6px 6px 0 rgba(140, 59, 43, .22); animation: pc-q-auf .22s ease; }
.pc-l-timerpop .pc-r-inhalt { padding: 16px 18px 18px; }
.pc-l-tab[aria-pressed="true"] { background: var(--r-pfirsich); box-shadow: inset 0 3px 0 rgba(140, 59, 43, .18); }
.pc-l-leistenuhr { margin-left: auto; padding: 4px 10px; font-size: 14px; font-weight: 700; border: 2px solid rgba(140, 59, 43, .4); border-radius: 7px; font-variant-numeric: tabular-nums; }

/* Startseite: Aufbau wie Version 1 */
.pc-l-faktenzeile { margin-top: 20px; font-size: 13px; font-weight: 700; }
.pc-l-woche .pc-r-inhalt { padding-top: 16px; }
.pc-l-streifen { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.pc-l-wtag {
  display: flex; flex-direction: column; align-items: center; gap: 1px; min-height: 64px; padding: 4px 0 5px;
  color: var(--r-tinte); background: #fff; border: 2px solid rgba(140, 59, 43, .35); border-radius: 7px; transition: transform .12s ease;
}
.pc-l-wtag:hover { transform: translateY(-2px); border-color: var(--r-tinte); }
.pc-l-wtag small { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.pc-l-wtag b { font-size: 16px; line-height: 1.1; }
.pc-l-wtag .pc-l-punkte { justify-content: center; min-height: 9px; }
.pc-l-wtag .pc-l-punkte i { width: 7px; height: 7px; }
.pc-l-wtag.is-heute { background: var(--r-pfirsich); border-color: var(--r-tinte); }
.pc-l-wtag.is-pruefung { background: var(--r-rosa); border-color: var(--r-tinte); }
.pc-l-wtag.is-erledigt b::after { content: "✓"; margin-left: 1px; font-size: 11px; }
.pc-l-wocheheute { margin: 14px 0 4px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.pc-l-zumplan { display: block; width: 100%; margin-top: 14px; letter-spacing: .06em !important; }

/* Lernplan-Ansicht */
.pc-l-tisch { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); grid-template-areas: none; gap: 30px; }
.pc-l-abschnitt { margin-bottom: 8px !important; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.pc-l-thementeil { border-top: 2.5px solid var(--r-tinte); background: repeating-linear-gradient(0deg, transparent 0 31px, rgba(140, 59, 43, .05) 31px 32px); }
.pc-l-thementeil .pc-l-themenliste { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.pc-l-thementeil .pc-l-themaform { flex-wrap: wrap; }
.pc-l-thementeil .pc-l-themaform input { flex: 1 1 100%; }
.pc-l-mehreinst { margin-top: 18px; padding-top: 14px; border-top: 2px dashed rgba(140, 59, 43, .45); }
.pc-l-mehreinst .pc-l-einst { margin-top: 0; padding-top: 0; border-top: 0; grid-template-columns: 1fr; }
.pc-l-mehreinst .pc-l-gefahr { margin-left: 0; }
/* planer.exe schlicht: Eingabezeile, Themen als Liste, kompakte Einstellungen */
.pc-l-tisch .pc-l-spalte > * { min-width: 0; }
.pc-l-planer .pc-l-themaform { display: grid; grid-template-columns: minmax(0, 1fr) auto; margin-top: 14px; }
.pc-l-planer .pc-l-themaform input { grid-column: 1 / -1; }
.pc-l-planer .pc-l-themaform input, .pc-l-planer .pc-l-themaform select { width: 100%; min-width: 0; }
.pc-l-planer .pc-l-themaform .pc-r-knopf { padding: 4px 14px; font-size: 18px !important; }
.pc-l-thementeil .pc-l-themenliste { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 0; }
.pc-l-thementeil .pc-l-thema {
  display: flex; align-items: center; gap: 10px; padding: 7px 4px; background: none; border: 0;
  border-bottom: 1.5px dashed rgba(140, 59, 43, .35); border-radius: 0; box-shadow: none; transform: none;
}
.pc-l-thementeil .pc-l-thema::before { content: ""; flex: none; width: 10px; height: 10px; background: var(--f, #bfa79c); border: 1.5px solid var(--r-tinte); border-radius: 50%; }
.pc-l-thementeil .pc-l-thema__kopf { display: contents; }
.pc-l-thementeil .pc-l-thema .pc-l-text { flex: 1; min-width: 0; }
.pc-l-thementeil .pc-l-bloecke { order: 2; flex: none; gap: 3px; }
.pc-l-thementeil .pc-l-bloecke i { width: 11px; height: 11px; border-width: 1.5px; }
.pc-l-thementeil .pc-l-thema__kopf .pc-l-weg { order: 3; margin: 0; }
.pc-l-thementeil .pc-l-thema__fuss { display: none; }
.pc-l-thementeil .pc-l-thema.is-fertig .pc-l-text { text-decoration: line-through; opacity: .7; }
.pc-l-mehreinst .pc-l-einst { gap: 6px; }
.pc-l-mehreinst .pc-l-einst .pc-l-regler, .pc-l-mehreinst .pc-l-einst .pc-l-check { padding: 2px 0; background: none; border: 0; }
.pc-l-mehreinst .pc-l-datenzeile { margin-top: 10px; }
.pc-l-spalte { display: grid; gap: 28px; align-content: start; min-width: 0; }
.pc-l-tisch .pc-l-spalte > * { grid-area: auto; }
.pc-l-planlinks .pc-r-blasenbox { margin-top: -6px; }
.pc-l-heutekopf { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.pc-l-zuheute { font-size: 13px; }
.pc-l-heute .pc-l-eintrag { margin-top: 12px; }
.pc-l-mini-fenster .pc-r-inhalt { display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
.pc-l-minileinwand { width: 112px; flex: none; cursor: pointer; }
.pc-l-minileinwand.is-nacht { background-color: #e7d6e8; }
.pc-l-ministufe { font-size: 14px; font-weight: 700; }
.pc-lernplan input, .pc-lernplan select { font: inherit; color: var(--r-tinte); }

/* Prüfi */
.pc-l-leinwand { cursor: pointer; }
.pc-l-leinwand:focus-visible { outline: 3px solid #5a2418; outline-offset: 3px; }
.pc-l-leinwand.is-nacht { background-color: #e7d6e8; }
.pc-l-leinwand.is-spiel { cursor: none; box-shadow: 0 0 0 4px var(--r-pfirsich); }
.pc-l-stufe { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.pc-l-stufe b { min-width: 44px; padding: 2px 6px; font-size: 14px; text-align: center; background: var(--r-pfirsich); border: 2px solid var(--r-tinte); border-radius: 6px; }
.pc-l-xp { position: relative; flex: 1; height: 12px; overflow: hidden; background: #fff; border: 2px solid var(--r-tinte); border-radius: 6px; }
.pc-l-xp i { position: absolute; inset: 0 auto 0 0; background: repeating-linear-gradient(-45deg, #a9b2e3 0 6px, #c7cdea 6px 12px); transition: width .6s ease; }
.pc-l-stufe small { font-size: 12px; font-weight: 700; white-space: nowrap; }
.pc-l-auswahl .pc-r-knoepfe { gap: 10px; }
.pc-l-auswahl .pc-r-knopf { padding: 6px 12px; }

/* Sprechblase mit Knöpfen */
.pc-l-blase { flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; }
.pc-l-blasenknoepfe { justify-content: flex-start; margin-top: 0; }
.pc-l-blasenknoepfe .pc-r-knopf { padding: 4px 12px; font-size: 13px !important; }

/* Listen (heute, Tag) */
.pc-l-serie { margin-bottom: 10px; font-size: 14px; font-weight: 700; }
.pc-l-liste { display: grid; gap: 2px; list-style: none; }
.pc-l-leer { padding: 10px 0; font-size: 14px; font-style: italic; }
.pc-l-eintrag-zeile { display: flex; align-items: center; gap: 6px; padding: 6px 0; border-bottom: 1.5px dashed rgba(140, 59, 43, .35); }
.pc-l-eintrag-zeile:last-child { border-bottom: 0; }
.pc-l-eintrag-zeile label { display: flex; flex: 1; align-items: center; gap: 9px; min-width: 0; font-size: 14px; font-weight: 700; cursor: pointer; }
.pc-l-eintrag-zeile input {
  appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 0;
  background: #fff; border: 2px solid var(--r-tinte); border-radius: 5px; cursor: pointer; display: grid; place-items: center;
}
.pc-l-eintrag-zeile input:checked { background: var(--r-pfirsich); }
.pc-l-eintrag-zeile input:checked::after { content: ""; width: 9px; height: 5px; margin-top: -2px; border-left: 2.5px solid var(--r-tinte); border-bottom: 2.5px solid var(--r-tinte); transform: rotate(-45deg); }
.pc-l-eintrag-zeile input:focus-visible { outline: 3px solid #5a2418; outline-offset: 2px; }
.pc-l-eintrag-zeile.is-fertig .pc-l-text { text-decoration: line-through; text-decoration-thickness: 2px; opacity: .75; }
.pc-l-punkt { flex: none; width: 10px; height: 10px; border: 1.5px solid var(--r-tinte); border-radius: 50%; }
.pc-l-text { min-width: 0; overflow-wrap: anywhere; }
.pc-l-weg { flex: none; width: 24px; height: 24px; padding: 0; font-size: 16px; font-weight: 700; line-height: 1; color: var(--r-tinte); background: none; border: 2px solid transparent; border-radius: 5px; }
.pc-l-weg:hover { background: var(--r-rosa); border-color: var(--r-tinte); }

/* Kalender */
.pc-l-kalkopf { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pc-l-pfeil { min-width: 40px; padding: 2px 10px !important; font-size: 20px !important; letter-spacing: 0 !important; }
.pc-l-pfeil:disabled { opacity: .35; cursor: default; transform: none; box-shadow: 0 4px 0 var(--r-tinte); }
.pc-l-monat { font-size: 18px; font-weight: 700; text-transform: capitalize; }
.pc-l-raster { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-top: 14px; }
.pc-l-wt { padding-bottom: 2px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-align: center; text-transform: uppercase; }
.pc-l-tag {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 4px;
  min-width: 0; min-height: 64px; padding: 5px 6px; text-align: left; color: var(--r-tinte); background: #fff;
  border: 2px solid rgba(140, 59, 43, .35); border-radius: 8px; transition: transform .12s ease, border-color .12s ease;
}
.pc-l-tag:hover { transform: translateY(-2px); border-color: var(--r-tinte); }
.pc-l-nr { font-size: 14px; font-weight: 700; }
.pc-l-tag.is-vorbei { background: rgba(255, 255, 255, .55); }
.pc-l-tag.is-vorbei .pc-l-nr { opacity: .7; }
.pc-l-tag.is-heute { border-color: var(--r-tinte); background: var(--r-pfirsich); }
.pc-l-tag.is-gewaehlt { border-color: var(--r-tinte); box-shadow: 0 0 0 3px var(--r-blau), 4px 4px 0 rgba(140, 59, 43, .2); }
.pc-l-tag.is-pruefung { background: var(--r-rosa); border-color: var(--r-tinte); }
.pc-l-tag.is-pruefung::after {
  content: ""; position: absolute; top: 4px; right: 4px; width: 16px; height: 16px; background: var(--r-tinte);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='m20 3 5 11 12 1.5-9 8.5 2.5 12L20 30l-10.5 6 2.5-12-9-8.5L15 14Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='m20 3 5 11 12 1.5-9 8.5 2.5 12L20 30l-10.5 6 2.5-12-9-8.5L15 14Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.pc-l-tag.is-erledigt::after {
  content: ""; position: absolute; top: 7px; right: 6px; width: 11px; height: 6px;
  border-left: 2.5px solid var(--r-tinte); border-bottom: 2.5px solid var(--r-tinte); transform: rotate(-45deg);
}
.pc-l-punkte { display: flex; flex-wrap: wrap; align-items: center; gap: 3px; }
.pc-l-punkte i { width: 9px; height: 9px; border: 1.5px solid var(--r-tinte); border-radius: 50%; }
.pc-l-punkte i.is-fertig { opacity: .35; }
.pc-l-punkte small { font-size: 11px; font-weight: 700; line-height: 1; }
.pc-l-luecke { min-height: 1px; }
.pc-l-chips { display: grid; gap: 2px; width: 100%; min-width: 0; }
.pc-l-chip { display: block; min-width: 0; padding: 1px 4px; overflow: hidden; font-size: 10px; font-weight: 700; line-height: 1.35; white-space: nowrap; text-overflow: ellipsis; background: rgba(255, 255, 255, .85); border: 1px solid rgba(140, 59, 43, .25); border-left: 4px solid var(--f, #bfa79c); border-radius: 4px; }
.pc-l-chip.is-fertig { text-decoration: line-through; opacity: .5; }
.pc-l-mehr { font-size: 10px; font-weight: 700; line-height: 1; }
.pc-l-legende { margin-top: 12px; font-size: 13px; font-weight: 700; }

/* Eigene Einträge, Themen-Formular */
.pc-l-eintrag, .pc-l-themaform { display: flex; gap: 8px; margin-top: 14px; }
.pc-l-eintrag input, .pc-l-themaform input, .pc-l-themaform select {
  min-width: 0; flex: 1; padding: 7px 10px; font-size: 14px; background: #fff; border: 2px solid var(--r-tinte); border-radius: 7px;
}
.pc-l-themaform select { flex: none; width: auto; }
.pc-l-eintrag input:focus-visible, .pc-l-themaform input:focus-visible, .pc-l-themaform select:focus-visible { outline: 3px solid #5a2418; outline-offset: 1px; }
.pc-l-eintrag input::placeholder, .pc-l-themaform input::placeholder { color: #9a6a5d; opacity: 1; }
.pc-l-eintrag .pc-r-knopf, .pc-l-themaform .pc-r-knopf { flex: none; padding: 4px 12px; letter-spacing: .06em; }
.pc-l-themaform { margin-top: 0; }
.pc-l-hinweis { margin-top: 8px; font-size: 13px; font-weight: 700; color: #a3301f; }
.pc-l-hinweis:empty { display: none; }
.pc-l-themeninfo { margin-bottom: 12px !important; padding: 9px 12px; font-size: 13px; font-weight: 700; line-height: 1.45; background: var(--r-rosahell); border: 2px dashed rgba(140, 59, 43, .45); border-radius: 9px; }
.pc-l-themenliste { display: grid; grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)); gap: 12px; margin-top: 14px; list-style: none; }
.pc-l-themenliste:empty { display: none; }
.pc-l-thema {
  display: grid; gap: 9px; align-content: start; padding: 10px 12px 10px; font-size: 14px; font-weight: 700;
  background: #fff; border: 2px solid var(--r-tinte); border-top: 8px solid var(--f, #bfa79c); border-radius: 10px; box-shadow: 4px 4px 0 rgba(140, 59, 43, .14);
  transition: transform .15s ease;
}
.pc-l-thema:hover { transform: translateY(-2px) rotate(-.4deg); }
.pc-l-thema.is-fertig { background: #fff8ec; }
.pc-l-thema__kopf { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; }
.pc-l-thema__kopf .pc-l-weg { margin: -4px -6px 0 0; }
.pc-l-bloecke { display: flex; flex-wrap: wrap; gap: 4px; }
.pc-l-bloecke i { width: 15px; height: 15px; background: #fff; border: 2px solid var(--r-tinte); border-radius: 3px; }
.pc-l-bloecke i.is-fertig { background: var(--f, #bfa79c); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12); }
.pc-l-thema__fuss { display: flex; align-items: center; gap: 6px; }
.pc-l-thema__fuss small { flex: 1; }
.pc-l-thema__fuss .pc-l-mini { width: 24px; height: 24px; font-size: 14px; }
.pc-l-fort { position: relative; height: 10px; overflow: hidden; background: #fff; border: 1.5px solid var(--r-tinte); border-radius: 5px; }
.pc-l-fort i { position: absolute; inset: 0 auto 0 0; }
.pc-l-thema small { font-size: 12px; }
.pc-l-einst { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 2px dashed rgba(140, 59, 43, .45); }
.pc-l-einst .pc-l-regler, .pc-l-einst .pc-l-check { justify-content: space-between; padding: 8px 10px; background: #fff; border: 2px solid rgba(140, 59, 43, .35); border-radius: 9px; }
.pc-l-einst .pc-l-regler span { flex: 1; min-width: 0; font-size: 13px; }
.pc-l-einst .pc-l-regler .pc-l-mini { flex: none; }
.pc-l-einst .pc-l-check { justify-content: flex-start; }
.pc-l-einst .pc-l-check span { font-size: 13px; }
.pc-l-regler { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.pc-l-regler b { min-width: 18px; text-align: center; }
.pc-l-mini { width: 28px; height: 28px; padding: 0; font-size: 16px; font-weight: 700; color: var(--r-tinte); background: var(--r-blau); border: 2px solid var(--r-tinte); border-radius: 6px; }
.pc-l-mini:hover { background: #b3bbe4; }
.pc-l-check { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; cursor: pointer; }
.pc-l-check input { width: 18px; height: 18px; accent-color: #8c3b2b; }
.pc-l-datenzeile { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pc-l-datenzeile .pc-l-link { padding: 5px 11px; font-size: 13px; text-decoration: none; background: #fff; border: 2px solid var(--r-tinte); border-radius: 7px; box-shadow: 0 3px 0 var(--r-tinte); transition: transform .12s ease, box-shadow .12s ease; }
.pc-l-datenzeile .pc-l-link:hover { transform: translateY(-1px); box-shadow: 0 4px 0 var(--r-tinte); }
.pc-l-datenzeile .pc-l-link:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--r-tinte); }
.pc-l-datenzeile .pc-l-gefahr { margin-left: auto; background: var(--r-rosa); }
.pc-l-link { padding: 2px 0; font-size: 13px; font-weight: 700; color: var(--r-tinte); text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; }
.pc-l-link:hover { text-decoration-thickness: 2px; }

/* Timer */
.pc-r-timer { text-align: center; }
.pc-l-modi { display: inline-flex; overflow: hidden; border: 2px solid var(--r-tinte); border-radius: 8px; }
.pc-l-modus { padding: 4px 12px; font-size: 13px; font-weight: 700; color: var(--r-tinte); background: #fff; border: 0; }
.pc-l-modus + .pc-l-modus { border-left: 2px solid var(--r-tinte); }
.pc-l-modus[aria-pressed="true"] { background: var(--r-pfirsich); }
.pc-l-zeit { margin: 10px 0 2px; font-size: 52px; font-weight: 700; line-height: 1; letter-spacing: .02em; font-variant-numeric: tabular-nums; text-shadow: 3px 3px 0 var(--r-blau); }
.pc-r-timer.is-laeuft .pc-l-zeit { animation: pc-l-pulsieren 2s ease-in-out infinite; }
@keyframes pc-l-pulsieren { 50% { text-shadow: 3px 3px 0 var(--r-rosa); } }
.pc-l-tomaten { margin-top: 12px; font-size: 13px; }
.pc-l-naechste-titel { margin-top: 18px; padding-top: 12px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; border-top: 2.5px solid var(--r-tinte); }
.pc-l-naechste { display: grid; gap: 6px; margin-top: 8px; list-style: none; }
.pc-l-naechste button { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 8px; width: 100%; padding: 6px 8px; text-align: left; color: var(--r-tinte); background: #fff; border: 2px solid rgba(140, 59, 43, .3); border-radius: 7px; }
.pc-l-naechste button:hover { border-color: var(--r-tinte); }
.pc-l-naechste b { font-size: 13px; }
.pc-l-naechste span { display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.pc-l-naechste em { display: flex; align-items: center; gap: 6px; font-style: normal; overflow-wrap: anywhere; }

@media (max-width: 980px) {
  .pc-l-start { grid-template-columns: 1fr 1fr; grid-template-areas: "haupt haupt" "links dialog" "links datei" "links blase"; }
}
@media (max-width: 1080px) {
  .pc-l-tisch { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 860px) {
  /* eine Spalte: Heute zuerst, dann Kalender, Tag, Timer, Prüfi, Themen */
  .pc-l-tisch { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .pc-l-spalte { display: contents; }
  .pc-l-tisch .pc-r-heute { order: 1; }
  .pc-l-tisch .pc-r-kalender { order: 2; }
  .pc-l-tisch .pc-r-timer { order: 4; }
  .pc-l-tisch .pc-r-mini { order: 5; }
  .pc-l-tisch .pc-r-blasenbox { order: 6; }
}
@media (max-width: 640px) {
  .pc-l-start { grid-template-columns: 1fr; grid-template-areas: "haupt" "links" "blase" "datei" "dialog"; }
  .pc-l-links { gap: 26px; }
  .pc-l-taskleiste { margin-bottom: 26px; padding: 6px; gap: 6px; }
  .pc-l-tab { padding: 5px 9px; font-size: 13px; }
  .pc-l-timerpop { right: 0; left: 0; margin: 0 auto; }
  .pc-l-startlogo { display: none; }
  .pc-l-tag { min-height: 46px; padding: 4px; }
  .pc-l-chip { height: 5px; padding: 0; font-size: 0; border: 0; border-radius: 3px; background: var(--f, #bfa79c); }
  .pc-l-nr { font-size: 13px; }
  .pc-l-punkte i { width: 7px; height: 7px; }
  .pc-l-raster { gap: 4px; }
  .pc-l-themenliste, .pc-l-thementeil .pc-l-themenliste { grid-template-columns: 1fr; }
  .pc-l-datenzeile .pc-l-gefahr { margin-left: 0; }
  .pc-l-themaform { flex-wrap: wrap; }
  .pc-l-themaform input { flex-basis: 100%; }
}

/* ---------- Lernplan-Erweiterungen: Karten, Erfolge, Druck ---------- */
.pc-l-taskleiste { flex-wrap: wrap; }

/* Karteikarten */
.pc-k-tisch { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-areas: none; gap: 30px; }
.pc-k-tisch > .pc-l-spalte > * { grid-area: auto; min-width: 0; }
.pc-k-neuteil { padding-bottom: 16px; border-bottom: 2.5px solid var(--r-tinte); }
.pc-k-karteiteil { padding-top: 16px; }
.pc-k-themazeile { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px; }
.pc-k-themazeile .pc-r-knoepfe { margin-top: 0; flex-wrap: nowrap; }
.pc-k-themazeile .pc-k-feld { min-width: 0; }
.pc-k-themazeile .pc-k-feld input { width: 100%; min-width: 0; }
.pc-k-themazeile .pc-r-knopf { padding: 6px 12px; }
.pc-k-text small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc-k-liste { max-height: 460px; }
.pc-k-kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.pc-k-kopf select, .pc-k-form select, .pc-k-form textarea, .pc-k-form input, .pc-k-suche {
  padding: 7px 10px; font: inherit; font-size: 14px; color: var(--r-tinte); background: #fff; border: 2px solid var(--r-tinte); border-radius: 7px;
}
.pc-k-kopf select:focus-visible, .pc-k-form select:focus-visible, .pc-k-form textarea:focus-visible, .pc-k-form input:focus-visible, .pc-k-suche:focus-visible { outline: 3px solid #5a2418; outline-offset: 1px; }
.pc-k-faellig { font-size: 14px; font-weight: 700; }
.pc-k-buehne { margin: 18px 0 16px; perspective: 1200px; }
.pc-k-karte { position: relative; display: grid; cursor: pointer; transform-style: preserve-3d; transition: transform .5s cubic-bezier(.3, 1.3, .5, 1); }
.pc-k-karte.is-umgedreht { transform: rotateY(180deg); cursor: default; }
.pc-k-karte.is-leer { cursor: default; }
.pc-k-seite {
  position: relative; grid-area: 1 / 1; min-width: 0; min-height: 210px; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 24px 26px 24px 34px;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  border: 2.5px solid var(--r-tinte); border-radius: 12px; box-shadow: 6px 6px 0 rgba(140, 59, 43, .16);
}
.pc-k-vorne {
  background:
    linear-gradient(transparent 31px, rgba(140, 59, 43, .12) 32px) 0 14px / 100% 32px,
    #fffaf6;
}
.pc-k-vorne::before { content: ""; position: absolute; top: 0; bottom: 0; left: 18px; width: 2px; background: rgba(236, 119, 129, .45); }
.pc-k-hinten { transform: rotateY(180deg); background: var(--r-rosahell); }
.pc-k-seite small { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.pc-k-seite p { font-size: 20px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; white-space: pre-line; }
.pc-k-tipp { font-size: 12px; opacity: .7; }
.pc-k-rueckfrage { font-size: 13px; font-style: italic; opacity: .8; overflow-wrap: anywhere; white-space: pre-line; }
.pc-k-hinweis { font-size: 12px; font-weight: 400; font-style: italic; }
.pc-k-formknoepfe { justify-content: flex-start; }
.pc-k-form { display: grid; gap: 10px; }
.pc-k-feld { display: grid; gap: 4px; font-size: 13px; font-weight: 700; }
.pc-k-form textarea { resize: vertical; min-height: 56px; }
.pc-k-faecher { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.pc-k-fach {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 74px; padding-bottom: 5px; overflow: hidden;
  background: #fff; border: 2px solid var(--r-tinte); border-radius: 6px 6px 3px 3px;
}
.pc-k-fach::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--h, 0%); background: repeating-linear-gradient(0deg, #fcdcbd 0 4px, #f9cba2 4px 6px); transition: height .4s ease; }
.pc-k-fach b, .pc-k-fach small { position: relative; }
.pc-k-fach b { font-size: 18px; }
.pc-k-fach small { font-size: 11px; font-weight: 700; }
.pc-k-suche { width: 100%; margin-top: 14px; }
.pc-k-liste { display: grid; margin-top: 8px; max-height: 520px; overflow-y: auto; list-style: none; }
.pc-k-eintrag { display: flex; align-items: flex-start; gap: 8px; padding: 7px 2px; border-bottom: 1.5px dashed rgba(140, 59, 43, .35); }
.pc-k-text { display: grid; flex: 1; min-width: 0; gap: 2px; }
.pc-k-text b { font-size: 14px; overflow-wrap: anywhere; }
.pc-k-text small { font-size: 12px; overflow-wrap: anywhere; }
.pc-k-eintrag .pc-l-punkt { margin-top: 5px; }
.pc-k-eintrag.is-aktiv { background: var(--r-rosahell); border-radius: 6px; }
.pc-k-text small { white-space: pre-line; }
.pc-k-meta { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 3px; }
.pc-k-themamarke { padding: 1px 6px; font-size: 11px; font-weight: 700; background: #fff; border: 1.5px dashed var(--r-tinte); border-radius: 4px; }
.pc-k-fachmarke { flex: none; padding: 1px 5px; font-size: 11px; font-weight: 700; border: 1.5px solid var(--r-tinte); border-radius: 4px; }

/* Erfolge */
.pc-e-tisch { grid-template-columns: 1fr 1fr 1fr; grid-template-areas: "abzeichen abzeichen statistik" "schrank check blase"; gap: 28px 30px; }
.pc-e-tisch .pc-r-abzeichen { grid-area: abzeichen; }
.pc-e-tisch .pc-r-statistik { grid-area: statistik; }
.pc-e-tisch .pc-r-schrank { grid-area: schrank; }
.pc-e-tisch .pc-r-check { grid-area: check; }
.pc-e-titel { margin-bottom: 10px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.pc-e-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; list-style: none; }
.pc-e-abz {
  display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 12px 8px 10px; text-align: center;
  background: #f6ece6; border: 2px dashed rgba(140, 59, 43, .4); border-radius: 10px;
}
.pc-e-abz.is-frei { background: #fff; border: 2px solid var(--r-tinte); box-shadow: 4px 4px 0 rgba(140, 59, 43, .14); }
.pc-e-symbol { display: grid; place-items: center; width: 44px; height: 44px; font-size: 24px; font-weight: 700; background: #ead5ca; border-radius: 50%; }
.pc-e-abz.is-frei .pc-e-symbol { background: var(--r-pfirsich); border: 2px solid var(--r-tinte); }
.pc-e-abz b { font-size: 13px; }
.pc-e-abz small { font-size: 11px; line-height: 1.3; }
.pc-e-diagramm { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; height: 190px; padding-bottom: 2px; border-bottom: 2.5px solid var(--r-tinte); }
.pc-e-spalte { display: grid; grid-template-rows: auto 1fr auto auto; justify-items: center; align-items: end; min-width: 0; }
.pc-e-balken { width: 70%; min-height: 3px; background: repeating-linear-gradient(-45deg, #f6b3ad 0 6px, #f9cdc8 6px 12px); border: 2px solid var(--r-tinte); border-bottom: 0; border-radius: 5px 5px 0 0; align-self: end; transition: height .5s ease; }
.pc-e-spalte.is-heute .pc-e-balken { background: repeating-linear-gradient(-45deg, #f2a15f 0 6px, #f9c89b 6px 12px); }
.pc-e-wert, .pc-e-tag, .pc-e-einh { font-size: 11px; font-weight: 700; }
.pc-e-tag { margin-top: 4px; }
.pc-e-einh { min-height: 14px; }
.pc-e-summen { display: grid; gap: 4px; margin-top: 16px; list-style: none; }
.pc-e-summen li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; font-size: 14px; border-bottom: 1.5px dashed rgba(140, 59, 43, .35); }
.pc-e-schrank { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.pc-e-outfit { display: grid; gap: 2px; padding: 8px 6px; font: inherit; color: var(--r-tinte); text-align: center; background: #fff; border: 2px solid var(--r-tinte); border-radius: 8px; box-shadow: 0 3px 0 var(--r-tinte); }
.pc-e-outfit b { font-size: 13px; }
.pc-e-outfit small { font-size: 11px; }
.pc-e-outfit[aria-pressed="true"] { background: var(--r-pfirsich); }
.pc-e-outfit:disabled { cursor: default; opacity: .55; box-shadow: none; border-style: dashed; }
.pc-e-hinweis { justify-content: center; margin-top: 12px; }

/* Popup: Prüfi fragt eine Karte ab */
.pc-q-overlay {
  position: fixed; inset: 0; z-index: 99999; display: grid; place-items: center; padding: 16px;
  background: rgba(90, 36, 24, .32); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  animation: pc-q-dimmen .2s ease;
}
.pc-q-overlay .pc-r-fenster { display: flex; flex-direction: column; width: min(580px, 100%); max-height: calc(100vh - 32px); max-height: calc(100svh - 32px); text-align: left; animation: pc-q-auf .28s cubic-bezier(.3, 1.4, .5, 1); }
.pc-q-overlay .pc-r-inhalt { overflow-y: auto; padding: 22px 24px 24px; }
.pc-q-kopf { display: flex; align-items: center; gap: 14px; }
.pc-q-pruefi { flex: none; width: 56px; height: auto; image-rendering: pixelated; image-rendering: crisp-edges; }
.pc-q-info { display: grid; gap: 2px; }
.pc-q-info b { font-size: 17px; }
.pc-q-info small { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.pc-q-frage { margin-top: 16px !important; font-size: 19px; font-weight: 700; line-height: 1.4; white-space: pre-line; overflow-wrap: anywhere; }
.pc-q-antwort { margin-top: 16px; padding: 14px 16px; background: var(--r-rosahell); border: 2px dashed var(--r-tinte); border-radius: 10px; animation: pc-q-auf .25s ease; }
.pc-q-antwort small { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.pc-q-antwort p { margin-top: 4px !important; font-size: 16px; line-height: 1.45; white-space: pre-line; overflow-wrap: anywhere; }
.pc-q-rueckmeldung { margin-top: 16px !important; font-weight: 700; }
.pc-q-overlay .pc-r-knoepfe { justify-content: flex-start; margin-top: 18px; }
@keyframes pc-q-auf { from { opacity: 0; transform: translateY(14px) scale(.97); } }
@keyframes pc-q-dimmen { from { opacity: 0; } }
@media (max-width: 640px) {
  .pc-q-overlay .pc-r-inhalt { padding: 18px 16px 20px; }
  .pc-q-frage { font-size: 17px; }
}

/* Druckansicht des Lernplans */
.pc-l-druck { display: none; }
@media print {
  html.pc-druckmodus body * { visibility: hidden !important; }
  html.pc-druckmodus .pc-l-druck, html.pc-druckmodus .pc-l-druck * { visibility: visible !important; }
  html.pc-druckmodus .pc-l-druck { display: block; position: absolute; top: 0; left: 0; width: 100%; color: #000; font-family: "Courier New", monospace; }
  .pc-l-druck h2 { margin: 0 0 4px; font-size: 20px; }
  .pc-l-druck p { margin: 0 0 14px; font-size: 13px; }
  .pc-l-druck table { width: 100%; border-collapse: collapse; font-size: 12px; }
  .pc-l-druck td { padding: 5px 6px; border-bottom: 1px solid #999; vertical-align: top; }
  .pc-l-druck td:first-child { width: 90px; white-space: nowrap; }
  .pc-l-druck__box { width: 24px; text-align: center; }
}

@media (max-width: 980px) {
  .pc-k-tisch { grid-template-columns: minmax(0, 1fr); }
  .pc-e-tisch { grid-template-columns: 1fr 1fr; grid-template-areas: "blase blase" "abzeichen abzeichen" "statistik check" "schrank schrank"; }
}
@media (max-width: 640px) {
  .pc-e-tisch { grid-template-columns: 1fr; grid-template-areas: "blase" "abzeichen" "statistik" "check" "schrank"; }
  .pc-e-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pc-k-seite p { font-size: 17px; }
  .pc-k-seite { min-height: 180px; padding: 20px 18px 20px 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .pc-k-karte { transition: none; }
}

/* ---------- Muster „leopard“ (Attribut muster="leopard", für retro und lernplan) ---------- */
.pc-muster-leopard {
  --leo-kraeftig: url("../img/leopard.svg");
  --leo-fell: #f3c68f;
}
/* Fensterleisten, Balken und aktiver Tab; Hintergrund bewusst ohne Muster */
.pc-muster-leopard .pc-r-leiste { background: var(--leo-kraeftig) 0 0 / 100px 100px, var(--leo-fell); }
.pc-muster-leopard .pc-r-haupt .pc-r-leiste { background-size: 110px 110px, auto; }
.pc-muster-leopard .pc-r-titel:not(:empty) { padding: 1px 8px; background: var(--r-papier); border: 2px solid var(--r-tinte); border-radius: 6px; }
.pc-muster-leopard .pc-r-fuellung { background: var(--leo-kraeftig) 0 0 / 56px 56px, var(--leo-fell); animation: none; }
.pc-muster-leopard .pc-l-xp i,
.pc-muster-leopard .pc-e-balken,
.pc-muster-leopard .pc-e-spalte.is-heute .pc-e-balken,
.pc-muster-leopard .pc-k-fach::before { background: var(--leo-kraeftig) 0 0 / 44px 44px, var(--leo-fell); }

/* ---------- Wintermodus (Knopf „❄ winter“ in der Taskleiste) ---------- */
/* WINTER-AUTO-START */
/* automatisch erzeugt von _werkzeug-winter.py – nicht von Hand ändern */
.pc-winter .pc-anmeldung { color: #4b4671; border: 2.5px solid #4b4671; box-shadow: 0 5px 0 #4b4671; }
.pc-winter .pc-anmeldung input[type="text"], .pc-winter .pc-anmeldung input[type="password"] { color: #322e4c; border: 2px solid #4b4671; }
.pc-winter .pc-anmeldung input:focus-visible { outline: 3px solid #eeb5c2; }
.pc-winter .pc-anmeldung input[type="submit"] { color: #4b4671; background: #b4cee0; border: 2px solid #4b4671; box-shadow: 0 3px 0 #4b4671; }
.pc-winter .pc-abmelden { color: #4b4671; border: 1.5px solid #4b4671; }
.pc-winter .pc-sync-hinweis { color: #4b4671; border: 2px solid #4b4671; box-shadow: 0 3px 0 #4b4671; }
.pc-retro.pc-winter { --r-tinte: #4b4671; --r-pfirsich: #b4cee0; --r-rosa: #eeb5c2; --r-rosahell: #f5d6dd; background:
    linear-gradient(rgba(75, 70, 113, .07) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(75, 70, 113, .07) 1px, transparent 1px) 0 0 / 32px 32px,
    #e0ebf3; }
.pc-retro.pc-winter button:focus-visible { outline-color: #2f2b47; }
.pc-winter .pc-r-fenster { box-shadow: 6px 6px 0 rgba(75, 70, 113, .16); }
.pc-winter .pc-r-leiste { background: repeating-linear-gradient(-45deg, #cedfeb 0 6px, #b9d2e2 6px 12px); }
.pc-winter .pc-r-x:hover { background: #e99fb0; }
.pc-winter .pc-r-knopfbox { box-shadow: inset 0 -4px 0 rgba(75, 70, 113, .14); }
.pc-winter .pc-r-fuellung { background: repeating-linear-gradient(-45deg, #eeb5c2 0 8px, #f3ced6 8px 16px); }
.pc-winter .pc-r-leinwand { background:
    linear-gradient(rgba(75, 70, 113, .06) 1px, transparent 1px) 0 0 / 8px 8px,
    linear-gradient(90deg, rgba(75, 70, 113, .06) 1px, transparent 1px) 0 0 / 8px 8px,
    #fff1e4; }
.pc-winter .pc-r-wert__punkte i { background: #caddea; }
.pc-winter .pc-r-wert--satt i.is-voll { background: #78a8c8; }
.pc-winter .pc-r-wert--laune i.is-voll { background: #e28198; }
.pc-winter .pc-r-blase { box-shadow: 6px 6px 0 rgba(75, 70, 113, .16); }
.pc-retro.pc-winter .pc-fakt { border-bottom: 1.5px dashed rgba(75, 70, 113, .4); }
.pc-retro.pc-winter .pc-fakt::before { color: #5d568b; }
.pc-winter .pc-l-taskleiste { box-shadow: 6px 6px 0 rgba(75, 70, 113, .16); }
.pc-retro.pc-lernplan.pc-winter { background:
    radial-gradient(circle at 2px 2px, rgba(75, 70, 113, .09) 1.5px, transparent 2px) 0 0 / 26px 26px,
    radial-gradient(ellipse 60% 45% at 10% 6%, rgba(202, 221, 233, .9), transparent 70%),
    radial-gradient(ellipse 55% 45% at 92% 96%, rgba(238, 181, 194, .55), transparent 70%),
    linear-gradient(170deg, #e5eff5 0%, #dae7f0 55%, #cfe0eb 100%); }
.pc-lernplan.pc-winter::after { background:
    url("../img/haengetopf.svg") left 1% top 0 / 120px auto no-repeat,
    url("../img/haengetopf.svg") right 1.5% top 0 / 100px auto no-repeat,
    url("../img/monstera.svg") left -14px bottom 20px / 270px auto no-repeat,
    url("../img/bogenhanf.svg") right 4px bottom 22px / 200px auto no-repeat,
    url("../img/tulpe.svg") left 21% bottom 22px / 46px auto no-repeat,
    url("../img/keimling.svg") right 21% bottom 22px / 44px auto no-repeat,
    linear-gradient(#4b4671, #4b4671) left 0 bottom 24px / 100% 2.5px no-repeat,
    linear-gradient(#b1cddf, #92b9d3) left 0 bottom 0 / 100% 24px no-repeat; }
@media (max-width: 820px) {
  .pc-lernplan.pc-winter::after { background:
      url("../img/haengetopf.svg") left 0 top 0 / 72px auto no-repeat,
      url("../img/monstera.svg") left -10px bottom 14px / 160px auto no-repeat,
      url("../img/bogenhanf.svg") right 0 bottom 16px / 120px auto no-repeat,
      url("../img/tulpe.svg") left 46% bottom 16px / 32px auto no-repeat,
      linear-gradient(#4b4671, #4b4671) left 0 bottom 18px / 100% 2.5px no-repeat,
      linear-gradient(#b1cddf, #92b9d3) left 0 bottom 0 / 100% 18px no-repeat; }
}
.pc-winter .pc-l-aktionen { border-top: 2px dashed rgba(75, 70, 113, .35); }
.pc-winter .pc-l-aktion:focus-visible { outline: 3px solid #2f2b47; }
.pc-winter .pc-l-tab { box-shadow: inset 0 -3px 0 rgba(75, 70, 113, .14); }
.pc-winter .pc-l-tbtimer.is-offen { box-shadow: inset 0 3px 0 rgba(75, 70, 113, .18); }
.pc-winter .pc-l-timerpop .pc-r-fenster { box-shadow: 6px 6px 0 rgba(75, 70, 113, .22); }
.pc-winter .pc-l-tab[aria-pressed="true"] { box-shadow: inset 0 3px 0 rgba(75, 70, 113, .18); }
.pc-winter .pc-l-leistenuhr { border: 2px solid rgba(75, 70, 113, .4); }
.pc-winter .pc-l-wtag { border: 2px solid rgba(75, 70, 113, .35); }
.pc-winter .pc-l-thementeil { background: repeating-linear-gradient(0deg, transparent 0 31px, rgba(75, 70, 113, .05) 31px 32px); }
.pc-winter .pc-l-mehreinst { border-top: 2px dashed rgba(75, 70, 113, .45); }
.pc-winter .pc-l-thementeil .pc-l-thema { border-bottom: 1.5px dashed rgba(75, 70, 113, .35); }
.pc-winter .pc-l-thementeil .pc-l-thema::before { background: var(--f, #9cb1bf); }
.pc-winter .pc-l-leinwand:focus-visible { outline: 3px solid #2f2b47; }
.pc-winter .pc-l-eintrag-zeile { border-bottom: 1.5px dashed rgba(75, 70, 113, .35); }
.pc-winter .pc-l-eintrag-zeile input:focus-visible { outline: 3px solid #2f2b47; }
.pc-winter .pc-l-tag { border: 2px solid rgba(75, 70, 113, .35); }
.pc-winter .pc-l-tag.is-gewaehlt { box-shadow: 0 0 0 3px var(--r-blau), 4px 4px 0 rgba(75, 70, 113, .2); }
.pc-winter .pc-l-chip { border: 1px solid rgba(75, 70, 113, .25); border-left: 4px solid var(--f, #9cb1bf); }
.pc-winter .pc-l-eintrag input:focus-visible, .pc-winter .pc-l-themaform input:focus-visible, .pc-winter .pc-l-themaform select:focus-visible { outline: 3px solid #2f2b47; }
.pc-winter .pc-l-eintrag input::placeholder, .pc-winter .pc-l-themaform input::placeholder { color: #665e99; }
.pc-winter .pc-l-hinweis { color: #504a78; }
.pc-winter .pc-l-themeninfo { border: 2px dashed rgba(75, 70, 113, .45); }
.pc-winter .pc-l-thema { border-top: 8px solid var(--f, #9cb1bf); box-shadow: 4px 4px 0 rgba(75, 70, 113, .14); }
.pc-winter .pc-l-bloecke i.is-fertig { background: var(--f, #9cb1bf); }
.pc-winter .pc-l-einst { border-top: 2px dashed rgba(75, 70, 113, .45); }
.pc-winter .pc-l-einst .pc-l-regler, .pc-winter .pc-l-einst .pc-l-check { border: 2px solid rgba(75, 70, 113, .35); }
.pc-winter .pc-l-check input { accent-color: #4b4671; }
.pc-winter .pc-l-naechste button { border: 2px solid rgba(75, 70, 113, .3); }
@media (max-width: 640px) {
  .pc-winter .pc-l-chip { background: var(--f, #9cb1bf); }
}
.pc-winter .pc-k-kopf select:focus-visible, .pc-winter .pc-k-form select:focus-visible, .pc-winter .pc-k-form textarea:focus-visible, .pc-winter .pc-k-form input:focus-visible, .pc-winter .pc-k-suche:focus-visible { outline: 3px solid #2f2b47; }
.pc-winter .pc-k-seite { box-shadow: 6px 6px 0 rgba(75, 70, 113, .16); }
.pc-winter .pc-k-vorne { background:
    linear-gradient(transparent 31px, rgba(75, 70, 113, .12) 32px) 0 14px / 100% 32px,
    #fffaf6; }
.pc-winter .pc-k-vorne::before { background: rgba(226, 129, 152, .45); }
.pc-winter .pc-k-fach::before { background: repeating-linear-gradient(0deg, #cedfeb 0 4px, #b9d2e2 4px 6px); }
.pc-winter .pc-k-eintrag { border-bottom: 1.5px dashed rgba(75, 70, 113, .35); }
.pc-winter .pc-e-abz { border: 2px dashed rgba(75, 70, 113, .4); }
.pc-winter .pc-e-abz.is-frei { box-shadow: 4px 4px 0 rgba(75, 70, 113, .14); }
.pc-winter .pc-e-symbol { background: #caddea; }
.pc-winter .pc-e-balken { background: repeating-linear-gradient(-45deg, #eeb5c2 0 6px, #f3ced6 6px 12px); }
.pc-winter .pc-e-spalte.is-heute .pc-e-balken { background: repeating-linear-gradient(-45deg, #84b0cd 0 6px, #b4cee0 6px 12px); }
.pc-winter .pc-e-summen li { border-bottom: 1.5px dashed rgba(75, 70, 113, .35); }
.pc-winter .pc-q-overlay { background: rgba(47, 43, 71, .32); }
/* WINTER-AUTO-ENDE */

/* WINTER-HAND-START */
/* Hintergrund: Schnee draußen, drinnen warmes Kerzen- und Lampenlicht */
.pc-retro.pc-lernplan.pc-winter {
  background:
    radial-gradient(circle at 2px 2px, rgba(255, 255, 255, .9) 1.6px, transparent 2.2px) 0 0 / 26px 26px,
    radial-gradient(ellipse 55% 45% at 8% 4%, rgba(255, 214, 150, .75), transparent 70%),
    radial-gradient(ellipse 40% 35% at 96% 8%, rgba(255, 226, 180, .55), transparent 70%),
    radial-gradient(ellipse 45% 40% at 22% 100%, rgba(255, 200, 140, .55), transparent 70%),
    radial-gradient(ellipse 55% 45% at 92% 96%, rgba(242, 167, 189, .45), transparent 70%),
    linear-gradient(170deg, #fbf1e6 0%, #eef0f4 50%, #dfe7f1 100%);
}
/* Winterszene statt Pflanzen: Mobiles oben, Schneemann, Laterne, Tanne und Geschenke auf Schnee */
.pc-lernplan.pc-winter::after {
  background:
    url("../img/mobile.svg") left 2% top 0 / 110px auto no-repeat,
    url("../img/mobile.svg") right 2% top 0 / 92px auto no-repeat,
    url("../img/schneemann.svg") left 0 bottom 14px / 200px auto no-repeat,
    url("../img/laterne.svg") left 16% bottom 20px / 96px auto no-repeat,
    url("../img/tanne.svg") right 0 bottom 14px / 210px auto no-repeat,
    url("../img/laterne.svg") right 17% bottom 20px / 74px auto no-repeat,
    url("../img/geschenk.svg") left 27% bottom 22px / 54px auto no-repeat,
    url("../img/geschenk.svg") right 26% bottom 22px / 44px auto no-repeat,
    radial-gradient(ellipse 18% 70% at 10% 100%, #fff 60%, transparent 62%) left 0 bottom 0 / 100% 46px no-repeat,
    radial-gradient(ellipse 22% 80% at 55% 100%, #fff 60%, transparent 62%) left 0 bottom 0 / 100% 40px no-repeat,
    linear-gradient(#4a4570, #4a4570) left 0 bottom 24px / 100% 2.5px no-repeat,
    linear-gradient(#fffdf9, #f4f1ee) left 0 bottom 0 / 100% 25px no-repeat;
}
@media (max-width: 820px) {
  .pc-lernplan.pc-winter::after {
    background:
      url("../img/mobile.svg") left 0 top 0 / 64px auto no-repeat,
      url("../img/schneemann.svg") left -6px bottom 10px / 120px auto no-repeat,
      url("../img/laterne.svg") left 44% bottom 16px / 58px auto no-repeat,
      url("../img/tanne.svg") right -6px bottom 10px / 124px auto no-repeat,
      linear-gradient(#4a4570, #4a4570) left 0 bottom 18px / 100% 2.5px no-repeat,
      linear-gradient(#fffdf9, #f4f1ee) left 0 bottom 0 / 100% 19px no-repeat;
  }
}
/* Fensterleisten im Strickmuster (Norweger) */
.pc-winter .pc-r-leiste { background: url("../img/strick.svg") 0 0 / 48px 24px, #fbf3e8; }
.pc-winter .pc-r-titel:not(:empty) { padding: 1px 8px; background: #fffaf3; border: 2px solid var(--r-tinte); border-radius: 6px; }
/* Fenster wie warmes Papier, weicher Schatten */
.pc-retro.pc-winter { --r-papier: #fffaf3; }
.pc-winter .pc-r-fenster, .pc-winter .pc-l-taskleiste { box-shadow: 6px 6px 0 rgba(74, 69, 112, .14), 0 10px 30px rgba(255, 190, 120, .18); }
/* Fallender Schnee (Klicks gehen durch), etwas sanfter */
.pc-w-schnee {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(circle at 20px 30px, #fff 2.2px, transparent 3px) 0 0 / 150px 170px,
    radial-gradient(circle at 90px 110px, #fff 1.6px, transparent 2.4px) 0 0 / 190px 210px,
    radial-gradient(circle at 60px 60px, rgba(255, 255, 255, .85) 3px, transparent 3.8px) 0 0 / 240px 270px;
  filter: drop-shadow(0 0 1px rgba(74, 69, 112, .35));
  animation: pc-w-fallen 24s linear infinite;
}
@keyframes pc-w-fallen {
  to { background-position: 40px 170px, -30px 210px, 20px 270px; }
}
.pc-winter .pc-r-tisch { position: relative; z-index: 1; }
.pc-winter .pc-l-taskleiste { z-index: 3; }
/* Schneeflocke mit Gesicht statt Sonne */
.pc-winter .pc-r-smiley .pc-w-rand { stroke: #4a4570; stroke-width: 9; }
.pc-winter .pc-r-smiley .pc-w-arm { stroke: #ffffff; stroke-width: 5; }
.pc-winter .pc-r-smiley__strahlen { animation-duration: 70s; }
/* Winter-Sticker mit eigenen Strichfarben */
.pc-r-sticker .w-dick { stroke-width: 8; }
.pc-r-sticker .w-weiss { stroke: #ffffff; stroke-width: 4; }
.pc-r-sticker .w-rosa { stroke: #d9718a; stroke-width: 4; }
/* Knopf in der Taskleiste */
.pc-l-winter { order: 2; min-width: 92px; }
.pc-l-winter[aria-pressed="true"] { background: #f7d3dc; }
/* Emely: Leopardenmuster bleibt im Winter unverändert (vor das Strickmuster) */
.pc-muster-leopard.pc-winter .pc-r-leiste { background: var(--leo-kraeftig) 0 0 / 100px 100px, var(--leo-fell); }
.pc-muster-leopard.pc-winter .pc-r-haupt .pc-r-leiste { background-size: 110px 110px, auto; }
.pc-muster-leopard.pc-winter .pc-r-fuellung { background: var(--leo-kraeftig) 0 0 / 56px 56px, var(--leo-fell); }
/* WINTER-HAND-ENDE */

/* ---------- Ruhige Darstellung ---------- */
@media (prefers-reduced-motion: reduce) {
  .pc-countdown *, .pc-countdown *::before, .pc-countdown *::after { animation: none !important; transition: none !important; }
  .pc-g-bluete { display: none; }
}
