.b7res { --r-akzent: #c8902e; --r-linie: #e3dfd8; --r-grau: #8a857d; display: flex; flex-direction: column; gap: 40px; font-family: 'B7 Lato', Arial, sans-serif; color: #222; }
.b7res [hidden] { display: none !important; }
.b7res-schritt { display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 130px; }
.b7res-titel { display: flex; align-items: center; gap: 14px; font-family: 'B7 Oswald', 'Arial Narrow', sans-serif; font-weight: 500; font-size: 28px; line-height: 1.2; color: #000; margin: 0 0 6px; }
.b7res-nr { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: #000; color: #fff; font-size: 18px; }
.b7res-lade { color: var(--r-grau); }

.b7res-monat { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 460px; }
.b7res-monatname { font-family: 'B7 Oswald', 'Arial Narrow', sans-serif; font-size: 22px; margin: 0; }
.b7res-pfeil { width: 44px; height: 44px; border: 1px solid var(--r-linie); background: #fff; border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer; color: #000; }
.b7res-pfeil:hover:not(:disabled) { border-color: #000; }
.b7res-pfeil:disabled { opacity: .3; cursor: default; }

.b7res-kal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; max-width: 460px; transition: opacity .2s; }
.b7res-kal.ist-ladend { opacity: .45; pointer-events: none; }
.b7res-wt { text-align: center; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--r-grau); padding-bottom: 4px; }
.b7res-tag { position: relative; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border: 1px solid var(--r-linie); background: #fff; border-radius: 6px; font-size: 17px; font-family: inherit; color: #000; cursor: pointer; padding: 0; transition: border-color .15s, background-color .15s, color .15s; }
.b7res-tag:hover:not(:disabled) { border-color: #000; }
.b7res-tag.ist-frei { font-weight: 700; }
.b7res-tag.ist-wenig { font-weight: 700; }
.b7res-tag.ist-wenig::after { content: ""; position: absolute; bottom: 7px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--r-akzent); }
.b7res-tag:disabled { background: transparent; border-color: transparent; color: #b9b4ac; cursor: default; }
.b7res-tag.ist-voll:disabled span, .b7res-tag.ist-gesperrt:disabled span { text-decoration: line-through; }
.b7res-tag.ist-heute { box-shadow: inset 0 0 0 1px #000; }
.b7res-tag.ist-gewaehlt { background: #000; border-color: #000; color: #fff; }
.b7res-tag.ist-gewaehlt::after { background: #fff; }
.b7res-legende { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 4px 0 0; padding: 0; font-size: 14px; color: #555; }
.b7res-legende li { display: flex; align-items: center; gap: 8px; }
.b7res-legende i { display: inline-block; width: 14px; height: 14px; border-radius: 3px; border: 1px solid var(--r-linie); background: #fff; }
.b7res-legende i.ist-wenig { position: relative; }
.b7res-legende i.ist-wenig::after { content: ""; position: absolute; left: 3px; top: 3px; width: 6px; height: 6px; border-radius: 50%; background: var(--r-akzent); }
.b7res-legende i.ist-voll { background: #ece9e4; border-color: #ece9e4; }

.b7res-label { font-weight: 700; margin: 10px 0 0; }
.b7res-hinweis { font-size: 15px; color: #555; margin: 0; }
.b7res-hinweis a { color: #000; font-weight: 700; }
.b7res-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.b7res-chip { min-width: 76px; min-height: 46px; padding: 8px 14px; border: 1px solid var(--r-linie); border-radius: 999px; background: #fff; font-family: inherit; font-size: 16px; color: #000; cursor: pointer; }
.b7res-chip:hover { border-color: #000; }
.b7res-chip.ist-gewaehlt { background: #000; border-color: #000; color: #fff; }

.b7res-bereiche { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 10px; }
.b7res-bereich { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px 16px; border: 1px solid var(--r-linie); border-radius: 6px; background: #fff; font-family: inherit; text-align: left; cursor: pointer; color: #000; }
.b7res-bereich strong { font-family: 'B7 Oswald', 'Arial Narrow', sans-serif; font-weight: 500; font-size: 20px; }
.b7res-bereich span { font-size: 14px; color: #555; }
.b7res-bereich:hover:not(:disabled) { border-color: #000; }
.b7res-bereich.ist-gewaehlt { border-color: #000; box-shadow: inset 0 0 0 1px #000; background: #faf8f4; }
.b7res-bereich:disabled { opacity: .45; cursor: default; }

.b7res-stepper { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--r-linie); border-radius: 999px; background: #fff; padding: 4px; align-self: flex-start; }
.b7res-step { width: 44px; height: 44px; border: 0; border-radius: 50%; background: #f1eee9; font-size: 24px; line-height: 1; cursor: pointer; color: #000; }
.b7res-step:hover:not(:disabled) { background: #000; color: #fff; }
.b7res-step:disabled { opacity: .3; cursor: default; }
.b7res-zahl { min-width: 120px; text-align: center; font-weight: 700; font-size: 17px; }

.b7res-auswahl { margin: 0; padding: 12px 16px; background: #f4f2ee; border-left: 3px solid #000; font-weight: 700; }
.b7res-felder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.b7res-feld { display: flex; flex-direction: column; gap: 6px; }
.b7res-feld:last-child { grid-column: 1 / -1; }
.b7res-feld label { font-size: 15px; font-weight: 700; }
.b7res-input { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #cfcac2; border-radius: 4px; background: #fff; font: inherit; font-size: 17px; color: #000; }
textarea.b7res-input { min-height: 96px; resize: vertical; }
.b7res-input:focus { outline: 3px solid #f0b400; outline-offset: 1px; border-color: #000; }
.b7res-input[aria-invalid="true"] { border-color: #b3261e; }
.b7res-feldfehler { margin: 0; font-size: 14px; color: #b3261e; }
.b7res-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.b7res-klein { font-size: 14px; color: #555; margin: 0; }
.b7res-klein a { color: #000; }
.b7res-senden { align-self: flex-start; min-width: 260px; }
.b7res-senden:disabled { opacity: .6; cursor: progress; }
.b7res-meldung { padding: 14px 16px; border-radius: 4px; margin: 0; }
.b7res-fehler { background: #fbeaea; color: #8c1d18; }

.b7res-karte { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.b7res-karte:focus { outline: none; }
.b7res-haken { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: #000; color: #fff; font-size: 28px; margin: 0; }
.b7res-zf { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px 24px; width: 100%; margin: 0; padding: 18px 20px; background: #f4f2ee; border-radius: 6px; }
.b7res-zf dt { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: #6b665e; }
.b7res-zf dd { margin: 2px 0 0; font-weight: 700; }
.btn-rahmen-dunkel { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 28px; font-size: 16px; text-decoration: none; background: transparent; color: #000; border: 1px solid #000; border-radius: 3px; }
.btn-rahmen-dunkel:hover { background: #000; color: #fff; }

.b7res button:focus-visible, .b7res a:focus-visible { outline: 3px solid #f0b400; outline-offset: 3px; }

@media (max-width: 767px) {
  .b7res { gap: 32px; }
  .b7res-titel { font-size: 23px; }
  .b7res-felder { grid-template-columns: minmax(0, 1fr); }
  .b7res-bereiche { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b7res-kal { gap: 4px; }
  .b7res-tag { font-size: 16px; }
  .b7res-senden { width: 100%; }
  .b7res-chip { min-width: 0; flex: 1 0 calc(25% - 8px); }
}

/* Schritte */
.b7res { gap: 28px; }
.b7res-fortschritt { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; list-style: none; margin: 0; padding: 0; counter-reset: none; }
.b7res-fs { position: relative; display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 3px solid var(--r-linie); color: var(--r-grau); font-size: 15px; }
.b7res-fs.ist-aktiv { border-bottom-color: #000; color: #000; font-weight: 700; }
.b7res-fs.ist-fertig { border-bottom-color: #000; color: #000; }
.b7res-fs > span, .b7res-fs-knopf { display: flex; align-items: center; gap: 10px; }
.b7res-fs-knopf { border: 0; background: none; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.b7res-fs-knopf:hover .b7res-fs-name { text-decoration: underline; text-underline-offset: 3px; }
.b7res-fs-nr { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--r-linie); background: #fff; font-size: 14px; font-weight: 700; }
.b7res-fs.ist-aktiv .b7res-fs-nr, .b7res-fs.ist-fertig .b7res-fs-nr { background: #000; border-color: #000; color: #fff; }
.b7res-schritt { min-height: 420px; }
.b7res-titel:focus { outline: none; }
.b7res-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; padding-top: 20px; border-top: 1px solid var(--r-linie); }
.b7res-zurueck { border: 0; background: none; padding: 10px 4px; font: inherit; font-weight: 700; color: #000; cursor: pointer; }
.b7res-zurueck:hover { text-decoration: underline; text-underline-offset: 3px; }
.b7res-weiter:disabled { background: #cfcac2; border-color: #cfcac2; color: #fff; cursor: not-allowed; }
.b7res-nav .b7res-senden { align-self: auto; }
@media (max-width: 767px) {
  .b7res-fs { font-size: 13px; }
  .b7res-fs > span, .b7res-fs-knopf { gap: 6px; }
  .b7res-fs-nr { width: 26px; height: 26px; }
  .b7res-schritt { min-height: 0; }
  .b7res-nav { flex-wrap: wrap; }
  .b7res-nav .btn { flex: 1 1 auto; }
}
@media (max-width: 420px) {
  .b7res-fs-name { display: none; }
  .b7res-fs.ist-aktiv .b7res-fs-name { display: inline; }
}
