/* ==========================================================
   fürStudenten.de – Design „Collegeblock“
   ========================================================== */
:root {
  --blau: #1d4ed8;          /* Tinte */
  --blau-dunkel: #1e3a8a;   /* dunkle Tinte */
  --blau-hell: #f1f6ff;
  --blau-rand: #dbe4f3;
  --karo: #e3edff;          /* Karolinien */
  --weiss: #ffffff;
  --papier: #fffdf7;
  --grund: #fbfdff;
  --text: #1f2937;
  --text-leise: #6b7280;
  --rand: #dbe4f3;
  --marker: #fde047;        /* Textmarker-Gelb */
  --rot: #ef4444;
  --spar: #047857;
  --spar-bg: #ecfdf5;
  --radius: 14px;
  --schatten: 0 8px 22px rgba(30, 58, 138, .08);
  --hand: "Caveat", "Comic Sans MS", cursive;
  --schrift: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
#nurstudis, #kategorien, #kalender, #deals { scroll-margin-top: 90px; }

body {
  margin: 0;
  font-family: var(--schrift);
  color: var(--text);
  line-height: 1.5;
  background-color: var(--grund);
  background-image:
    linear-gradient(var(--karo) 1px, transparent 1px),
    linear-gradient(90deg, var(--karo) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1320px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 28px; } }

:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; border-radius: 6px; }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Kopfzeile ---------- */
.kopf {
  background: rgba(255, 255, 255, .94);
  border-bottom: 2px dashed #bfdbfe;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(4px);
}
.kopf-inhalt { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none;
  font-family: var(--hand); font-weight: 700; font-size: 34px; line-height: 1;
  color: var(--blau-dunkel);
}
.logo span { color: inherit; }
.logo u { text-decoration: none; background: linear-gradient(transparent 60%, var(--marker) 60%); }
.logo-bild { flex: none; }
.akzent { display: none; }
html[data-saison="herbst"] .akzent-herbst,
html[data-saison="winter"] .akzent-winter,
html[data-saison="fruehling"] .akzent-fruehling,
html[data-saison="sommer"] .akzent-sommer { display: inline; }
html:not([data-saison]) .akzent-herbst { display: inline; }

.hauptnav { display: flex; gap: 22px; }
.hauptnav a { color: var(--text); text-decoration: none; font-weight: 800; font-size: 15px; padding: 4px 0; }
.hauptnav a.an, .hauptnav a:hover { color: var(--blau); box-shadow: inset 0 -3px 0 var(--marker); }

/* ---------- Seitenaufbau ---------- */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  grid-template-areas: "hero countdown" "deals seite";
  gap: 28px 32px;
  padding-top: 28px;
  padding-bottom: 48px;
  align-items: start;
}
.hero { grid-area: hero; }
.countdown-bereich { grid-area: countdown; align-self: stretch; display: flex; }
.deals { grid-area: deals; min-width: 0; }
.seitenleiste { grid-area: seite; display: flex; flex-direction: column; gap: 24px; position: sticky; top: 92px; }

/* ---------- Hero (Collegeblock-Blatt) ---------- */
.hero {
  position: relative;
  background: var(--papier);
  border-radius: 6px;
  padding: 36px 40px 32px 72px;
  box-shadow: 0 2px 0 #e5e7eb, var(--schatten);
  background-image: linear-gradient(90deg, transparent 52px, #fca5a5 52px, #fca5a5 54px, transparent 54px);
}
.hero h1 {
  font-family: var(--hand);
  font-size: clamp(44px, 6vw, 66px);
  line-height: .95;
  margin: 0 0 10px;
  color: var(--blau-dunkel);
  max-width: 640px;
}
.hero h1 mark { background: linear-gradient(transparent 55%, var(--marker) 55%); color: inherit; padding: 0 4px; }
.hero p { margin: 0 0 22px; font-size: 18px; color: var(--text-leise); font-weight: 600; max-width: 560px; }
.kritzel {
  position: absolute; right: 36px; top: 26px;
  font-family: var(--hand); font-size: 28px; color: var(--rot);
  transform: rotate(8deg); text-align: center; line-height: 1;
}
.kritzel span { display: block; font-size: 58px; }

.suche {
  display: flex; align-items: center; gap: 8px;
  background: var(--weiss);
  border: 2.5px solid var(--blau-dunkel);
  border-radius: 14px;
  padding: 6px 6px 6px 16px;
  max-width: 620px;
  box-shadow: 4px 4px 0 var(--blau-dunkel);
}
.suche:focus-within { box-shadow: 4px 4px 0 var(--blau); border-color: var(--blau); }
.suche input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  font: 600 16px var(--schrift); color: var(--text); padding: 10px 0;
}
.suche input::-webkit-search-cancel-button { display: none; }
.leeren {
  border: 0; background: var(--blau-hell); color: var(--text-leise);
  width: 32px; height: 32px; border-radius: 50%; cursor: pointer; flex: none;
}
.finden {
  flex: none; cursor: pointer;
  background: var(--marker); border: 2px solid var(--blau-dunkel); border-radius: 10px;
  padding: 10px 20px; font: 900 15px var(--schrift); color: var(--blau-dunkel);
}
.finden:hover { background: #facc15; }

/* ---------- Schnellwahl unter der Suche ---------- */
.schnellwahl { display: flex; gap: 12px; margin-top: 18px; max-width: 620px; }
.sw-knopf {
  flex: 1; min-width: 0;
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px 8px 8px;
  background: var(--weiss);
  border: 2px solid var(--blau-dunkel); border-radius: 12px;
  box-shadow: 2px 2px 0 var(--blau-dunkel);
  color: var(--blau-dunkel); text-decoration: none;
  font-weight: 900; font-size: 14px; line-height: 1.15;
  transition: transform .1s, box-shadow .1s, background .1s;
}
.sw-knopf:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--blau-dunkel); background: #fefce8; }
.sw-symbol {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; font-size: 20px;
  background: var(--marker); border: 2px solid var(--blau-dunkel);
}
.sw-text { overflow-wrap: anywhere; }

/* ---------- Abreißkalender (Countdown) ---------- */
.abreiss {
  width: 100%;
  background: var(--weiss);
  border-radius: 10px;
  box-shadow: 0 10px 26px rgba(30, 58, 138, .12);
  position: relative;
  padding-top: 24px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.spirale { position: absolute; top: 8px; left: 0; right: 0; display: flex; justify-content: space-around; padding: 0 24px; }
.spirale i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; box-shadow: inset 0 2px 2px rgba(0, 0, 0, .25); }
.abreiss .kopfzeile { background: var(--rot); color: #fff; text-align: center; font-weight: 900; letter-spacing: .12em; padding: 8px; font-size: 13px; }
.abreiss .gross { text-align: center; padding: 10px 16px 18px; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.abreiss .tag { font-size: 76px; font-weight: 900; line-height: 1; }
.abreiss .was { font-family: var(--hand); font-size: 34px; color: var(--blau-dunkel); line-height: 1.05; }
.abreiss .noch { display: inline-block; margin-top: 8px; background: var(--marker); font-weight: 900; padding: 4px 12px; border-radius: 999px; font-size: 14px; }

/* ---------- Kategorien ---------- */
.chips { display: flex; gap: 10px; overflow-x: auto; padding: 4px 4px 8px 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; cursor: pointer;
  background: var(--weiss); color: var(--text);
  border: 2px solid var(--blau-dunkel); border-radius: 12px;
  padding: 7px 14px; font: 800 14px var(--schrift);
  box-shadow: 2px 2px 0 var(--blau-dunkel);
  transition: transform .1s, box-shadow .1s;
}
.chip:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--blau-dunkel); }
.chip[aria-pressed="true"] { background: var(--blau); color: #fff; }

/* ---------- Leiste ---------- */
.leiste { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 0 22px; }
.anzahl { margin: 0; font-family: var(--hand); font-size: 26px; color: var(--blau-dunkel); }
.leiste-rechts { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.schalter { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; font-weight: 700; }
.schalter input { position: absolute; opacity: 0; pointer-events: none; }
.spur { width: 42px; height: 24px; background: #e5e7eb; border: 2px solid var(--blau-dunkel); border-radius: 999px; position: relative; transition: background .2s; }
.spur::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; background: #fff; border: 2px solid var(--blau-dunkel); border-radius: 50%; transition: transform .2s; }
.schalter input:checked + .spur { background: var(--marker); }
.schalter input:checked + .spur::after { transform: translateX(18px); }
.schalter input:focus-visible + .spur { outline: 3px solid #93c5fd; outline-offset: 2px; }
.sortieren { display: inline-flex; align-items: center; gap: 8px; color: var(--text-leise); font-weight: 700; }
.sortieren select {
  border: 2px solid var(--blau-dunkel); background: var(--weiss); color: var(--text);
  border-radius: 10px; padding: 7px 10px; font: 700 14px var(--schrift); cursor: pointer;
}

/* ---------- Deal-Karten ---------- */
.liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 26px 22px; }
.karte {
  position: relative;
  background: var(--weiss);
  border: 2px solid var(--blau-rand);
  border-radius: var(--radius);
  padding: 18px;
  display: flex; flex-direction: column; gap: 9px;
  box-shadow: var(--schatten);
  transition: transform .15s ease, box-shadow .15s ease;
}
.karte:nth-child(3n+1) { transform: rotate(-.6deg); }
.karte:nth-child(3n+2) { transform: rotate(.5deg); }
.karte:nth-child(3n)   { transform: rotate(-.3deg); }
.karte:hover { transform: rotate(0) translateY(-3px); box-shadow: 0 14px 30px rgba(30, 58, 138, .13); }
.tape {
  position: absolute; top: -11px; left: 50%; width: 84px; height: 22px; margin-left: -42px;
  background: rgba(253, 224, 71, .78); transform: rotate(-3deg); border-radius: 2px;
}
.bild {
  height: 110px; display: flex; align-items: center; justify-content: center;
  font-size: 58px; background: var(--blau-hell); border-radius: 10px; overflow: hidden;
}
.bild img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.stempel {
  position: absolute; right: 12px; top: 92px;
  transform: rotate(-12deg);
  border: 2.5px solid var(--rot); color: var(--rot); background: #fff;
  font-weight: 900; font-size: 13px; padding: 2px 8px; border-radius: 8px;
}
.etikett {
  position: absolute; left: 10px; top: 14px; z-index: 2;
  background: var(--marker); color: var(--blau-dunkel);
  border: 2px solid var(--blau-dunkel); border-radius: 8px;
  padding: 2px 9px; font-weight: 900; font-size: 12.5px;
  transform: rotate(-4deg); box-shadow: 2px 2px 0 var(--blau-dunkel);
}
.beschreibung { margin: -2px 0 0; font-size: 14px; color: #374151; font-weight: 600; line-height: 1.4; }

.zielgruppe { font-size: 12.5px; font-weight: 900; color: var(--blau-dunkel); background: var(--blau-hell); border: 1.5px solid var(--blau-rand); border-radius: 8px; padding: 3px 8px; align-self: flex-start; }
.zielgruppe span { font-weight: 700; color: var(--text-leise); }
.zielgruppe.ziel-lokal { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.anleitung { background: var(--blau-hell); border: 1.5px dashed var(--blau-rand); border-radius: 10px; padding: 6px 10px; font-size: 13.5px; }
.anleitung summary { cursor: pointer; font-weight: 900; color: var(--blau-dunkel); list-style: none; }
.anleitung summary::-webkit-details-marker { display: none; }
.anleitung summary::before { content: "▸ "; }
.anleitung[open] summary::before { content: "▾ "; }
.anleitung ol { margin: 6px 0 2px; padding-left: 20px; font-weight: 600; }
.anleitung li { margin: 3px 0; }

/* ---------- Bereich „Nur für Studis“ ---------- */
.nurstudis {
  position: relative; margin: 0 0 26px; padding: 22px 20px 24px; border-radius: 14px;
  background: var(--papier); border: 2.5px solid var(--blau-dunkel); box-shadow: 4px 4px 0 var(--blau-dunkel);
}
.nurstudis::before {
  content: ""; position: absolute; top: -11px; right: 50px; width: 100px; height: 22px;
  background: rgba(253, 224, 71, .85); transform: rotate(3deg); border-radius: 2px;
}
.ns-kopf { margin-bottom: 18px; }
.ns-kopf h2 { margin: 0; font-family: var(--hand); font-size: 42px; line-height: 1; color: var(--blau-dunkel); }
.ns-kopf p { margin: 4px 0 0; color: var(--text-leise); font-weight: 700; }
.ns-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px 20px; }

/* ---------- Black-Week-Bereich ---------- */
.blackweek {
  position: relative;
  margin: 0 0 26px;
  padding: 22px 20px 24px;
  border-radius: 14px;
  color: #fff;
  background-color: #111827;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 24px 24px;
  box-shadow: 0 12px 30px rgba(17, 24, 39, .25);
}
.blackweek::before {
  content: ""; position: absolute; top: -10px; left: 40px; width: 110px; height: 22px;
  background: rgba(253, 224, 71, .85); transform: rotate(-3deg); border-radius: 2px;
}
.bw-kopf { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.bw-kopf h2 { margin: 0; font-family: var(--hand); font-size: 44px; line-height: 1; color: var(--marker); }
.bw-kopf p { margin: 4px 0 0; color: #d1d5db; font-weight: 700; }
.bw-countdown { background: var(--marker); color: #111827; font-weight: 900; padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.bw-countdown:empty { display: none; }
.bw-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px 20px; }
.bw-liste .karte { color: var(--text); }

.karte-kopf { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 22px; }
.kat { font-size: 12px; font-weight: 900; color: var(--blau); letter-spacing: .05em; text-transform: uppercase; }
.badge-studi { font-size: 12px; font-weight: 800; color: var(--blau-dunkel); }
.badge-ablauf { font-size: 12px; font-weight: 900; background: var(--marker); color: var(--blau-dunkel); padding: 2px 9px; border-radius: 999px; }
.karte h2 { font-size: 16px; font-weight: 800; margin: 0; line-height: 1.3; }

.preisblock { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.preis { font-family: var(--hand); font-size: 42px; font-weight: 700; color: var(--blau-dunkel); line-height: .9; }
.preis-klein { font-size: 30px; }
.uvp { color: var(--text-leise); text-decoration: line-through; font-weight: 700; }
.uvp-text { color: var(--text-leise); font-weight: 700; font-size: 14px; }
.ersparnis { font-size: 13px; font-weight: 800; color: var(--spar); background: var(--spar-bg); padding: 2px 8px; border-radius: 6px; }

.studi { background: #fefce8; border: 1.5px dashed #facc15; border-radius: 10px; padding: 8px 10px; font-size: 14px; font-weight: 600; }
.studi strong { color: var(--blau-dunkel); }

.angebote { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.angebote li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-top: 1.5px dashed var(--blau-rand); color: var(--text-leise); font-weight: 600; }
.angebote li.best { color: var(--text); font-weight: 800; }
.angebote li.best .shop::after {
  content: "Bester Preis"; margin-left: 6px; font-size: 11px; font-weight: 800; white-space: nowrap; display: inline-block;
  color: var(--spar); background: var(--spar-bg); padding: 1px 6px; border-radius: 4px; vertical-align: 1px;
}
.angebote a { color: var(--blau); font-weight: 800; text-decoration: none; }
.angebote a:hover { text-decoration: underline; }
.leise { color: var(--text-leise); }
.preis-stand { margin: -2px 0 0; font-size: 11px; font-weight: 600; color: var(--text-leise); }

.knopf {
  margin-top: auto; display: block; text-align: center; text-decoration: none;
  background: var(--blau); color: #fff;
  border: 2px solid var(--blau-dunkel); border-radius: 10px;
  padding: 10px 12px; font-weight: 900; font-size: 14px;
  box-shadow: 0 3px 0 var(--blau-dunkel);
  transition: transform .1s, box-shadow .1s;
}
.knopf:hover { transform: translateY(1px); box-shadow: 0 2px 0 var(--blau-dunkel); }
.knopf.inaktiv { background: var(--weiss); color: var(--text-leise); border-style: dashed; border-color: var(--blau-rand); box-shadow: none; cursor: default; transform: none; }

.leer {
  grid-column: 1 / -1; text-align: center; padding: 40px 16px;
  background: var(--papier); border: 2px dashed var(--blau-rand); border-radius: var(--radius);
  color: var(--text-leise); font-weight: 600;
}
.leer button {
  margin-top: 10px; cursor: pointer;
  background: var(--marker); border: 2px solid var(--blau-dunkel); border-radius: 10px;
  padding: 8px 16px; font: 800 14px var(--schrift); color: var(--blau-dunkel);
}

.hinweis { margin: 34px 0 0; font-size: 13px; color: var(--text-leise); text-align: center; background: rgba(255,255,255,.8); border-radius: 10px; padding: 12px; }

/* ---------- Seitenleiste: Kalender & Stundenplan ---------- */
.zettel { background: var(--weiss); border-radius: 10px; padding: 18px; box-shadow: 0 10px 26px rgba(30, 58, 138, .10); }
.zettel h2 { margin: 0 0 10px; font-family: var(--hand); font-size: 30px; color: var(--blau-dunkel); line-height: 1; }
.monat-kopf { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.monat-kopf h2 { margin: 0; }
.blaettern { display: flex; gap: 6px; }
.blaettern button {
  width: 32px; height: 32px; cursor: pointer; border-radius: 8px;
  background: var(--weiss); border: 2px solid var(--blau-dunkel); color: var(--blau-dunkel);
  font: 900 18px/1 var(--schrift);
}
.blaettern button:hover { background: var(--marker); }

.kal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; font-size: 14px; font-weight: 700; }
.kal .wt { color: var(--text-leise); font-size: 11px; font-weight: 900; padding-bottom: 4px; }
.kal .t { padding: 7px 0; position: relative; border-radius: 8px; }
.kal .heute { background: var(--marker); }
.kal .ev-gross::after, .kal .ev-klein::after {
  content: ""; position: absolute; inset: 0 2px; border-radius: 50%;
  border: 2.5px solid var(--rot); transform: rotate(-8deg); pointer-events: none;
}
.kal .ev-klein::after { border-color: var(--blau); transform: rotate(6deg); }
.kal .ev-gross, .kal .ev-klein { cursor: help; }
.legende { display: flex; gap: 14px; margin-top: 10px; font-size: 12px; color: var(--text-leise); font-weight: 700; }
.legende i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; vertical-align: -2px; border: 2.5px solid; }
.legende .l-gross { border-color: var(--rot); }
.legende .l-klein { border-color: var(--blau); }

.stundenplan { list-style: none; margin: 0; padding: 0; }
.stundenplan li { display: flex; gap: 10px; align-items: baseline; padding: 8px 0; border-bottom: 1.5px dashed var(--blau-rand); font-weight: 800; }
.stundenplan li:last-child { border-bottom: 0; }
.stundenplan .d { font-family: var(--hand); font-size: 24px; color: var(--rot); width: 60px; flex: none; }
.stundenplan small { display: block; color: var(--text-leise); font-weight: 600; }
.stundenplan .sym { margin-left: auto; font-size: 18px; }
.stundenplan .in { display: block; font-size: 12px; color: var(--blau); font-weight: 800; }
.stundenplan .leer-text { color: var(--text-leise); font-weight: 600; }

.sticky {
  background: #fef08a; padding: 16px 18px; transform: rotate(1.5deg);
  box-shadow: 0 10px 20px rgba(0, 0, 0, .08);
  font-family: var(--hand); font-size: 26px; color: #713f12; line-height: 1.1;
}

/* ---------- Fußzeile & Textseiten ---------- */
.fuss { background: rgba(255,255,255,.94); border-top: 2px dashed #bfdbfe; padding: 20px 0; font-size: 14px; color: var(--text-leise); font-weight: 600; }
.fuss-inhalt { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.fuss a { color: var(--text-leise); }
.fuss a:hover { color: var(--blau); }

.textseite {
  max-width: 780px;
  background: var(--papier);
  border-radius: 6px;
  padding: 32px 28px 32px 72px;
  margin: 32px auto;
  box-shadow: var(--schatten);
  background-image: linear-gradient(90deg, transparent 52px, #fca5a5 52px, #fca5a5 54px, transparent 54px);
}
.textseite h1 { margin-top: 0; font-family: var(--hand); font-size: 48px; line-height: 1; color: var(--blau-dunkel); }
.textseite h2 { font-size: 1.1rem; margin-top: 26px; color: var(--blau-dunkel); }
.textseite a { color: var(--blau); }

/* ---------- Tablet & Handy ---------- */
@media (max-width: 1100px) {
  .kritzel {
    position: static; display: inline-flex; align-items: center; gap: 6px;
    transform: rotate(-2deg); font-size: 24px; margin-bottom: 6px;
  }
  .kritzel span { display: inline; font-size: 26px; }
}
@media (max-width: 1020px) {
  .layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "hero" "countdown" "deals" "seite";
    gap: 22px;
  }
  .seitenleiste { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: start; }
  .abreiss { padding-top: 0; }
  .spirale { display: none; }
  .abreiss .kopfzeile { padding: 6px; font-size: 12px; }
  .abreiss .gross { flex-direction: row; gap: 4px 14px; justify-content: flex-start; align-content: center; text-align: left; padding: 14px 18px; flex-wrap: wrap; }
  .abreiss .tag { font-size: 56px; }
  .abreiss .noch { margin-top: 0; }
}
@media (max-width: 600px) {
  .schnellwahl { gap: 8px; margin-top: 14px; }
  .sw-knopf { flex-direction: column; text-align: center; gap: 6px; padding: 10px 4px 8px; font-size: 12.5px; }
  .sw-symbol { width: 34px; height: 34px; font-size: 18px; }
  .kopf-inhalt { min-height: 60px; }
  .logo { font-size: 27px; }
  .logo-bild { width: 42px; height: 36px; }
  .hauptnav { gap: 14px; }
  .hero { padding: 24px 18px 22px 40px; background-image: linear-gradient(90deg, transparent 26px, #fca5a5 26px, #fca5a5 28px, transparent 28px); }
  .hero p { font-size: 16px; }
  .kritzel { font-size: 22px; }
  .kritzel span { font-size: 22px; }
  .suche { box-shadow: 3px 3px 0 var(--blau-dunkel); padding-left: 10px; }
  .stift { display: none; }
  .finden { padding: 10px 12px; }
  .leiste { align-items: flex-start; }
  .leiste-rechts { width: 100%; justify-content: space-between; flex-wrap: nowrap; gap: 10px; }
  .schalter { font-size: 14px; white-space: nowrap; flex: none; gap: 8px; }
  .sortieren { flex: 1; min-width: 0; justify-content: flex-end; }
  .sortieren span { display: none; }
  .sortieren select { width: 100%; max-width: 200px; min-width: 0; }
  .liste { grid-template-columns: 1fr; }
  .blackweek { padding: 18px 14px 20px; margin-left: -4px; margin-right: -4px; }
  .nurstudis { padding: 18px 14px 20px; }
  .ns-kopf h2 { font-size: 34px; }
  .ns-liste { grid-auto-flow: column; grid-auto-columns: 82%; grid-template-columns: none; overflow-x: auto; padding: 12px 4px 6px; scroll-snap-type: x mandatory; }
  .ns-liste .karte { scroll-snap-align: start; }
  .bw-kopf h2 { font-size: 36px; }
  .bw-liste { grid-auto-flow: column; grid-auto-columns: 82%; grid-template-columns: none; overflow-x: auto; padding: 12px 4px 6px; scroll-snap-type: x mandatory; }
  .bw-liste .karte { scroll-snap-align: start; }
  .abreiss .tag { font-size: 46px; }
  .abreiss .was { font-size: 28px; }
  .textseite { padding: 24px 18px 24px 40px; background-image: linear-gradient(90deg, transparent 26px, #fca5a5 26px, #fca5a5 28px, transparent 28px); }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
  .karte, .karte:nth-child(n) { transform: none; }
}
