/* hausmeister.deals — Basis-Stylesheet. Mobile-first, kein Build-Step. */

:root {
  --papier: #F6F5F1;
  --tinte: #161D1A;
  --moos: #1C6B4A;
  --nebel: #E4E2DA;
  --nacht: #14201A;

  --schrift-ueberschrift: 'Archivo', sans-serif;
  --schrift-text: 'Inter', sans-serif;
  --schrift-label: 'Space Mono', monospace;

  --radius: 6px;
  --breite-inhalt: 72rem;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--schrift-text);
  font-size: 1rem;
  line-height: 1.5;
}

#hauptinhalt {
  flex: 1 0 auto;
}

.fusszeile {
  flex-shrink: 0;
}

h1, h2, h3 {
  font-family: var(--schrift-ueberschrift);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--moos);
}

img {
  max-width: 100%;
  display: block;
}

.eyebrow {
  font-family: var(--schrift-label);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--moos);
  margin-bottom: 0.75em;
}

:focus-visible {
  outline: 2px solid var(--moos);
  outline-offset: 2px;
}

/* Anmelde-Banner */

.anmelde-banner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.55rem 1.25rem;
  background: linear-gradient(90deg, #17573c, var(--moos) 45%, #1f7e56 55%, var(--moos) 100%);
  background-size: 220% 100%;
  animation: anmelde-banner-fluss 14s linear infinite;
  color: var(--papier);
  text-decoration: none;
  font-size: 0.85rem;
  overflow: hidden;
}

.anmelde-banner:hover {
  background: #17573c;
  animation-play-state: paused;
}

.anmelde-banner-marquee {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.anmelde-banner-track {
  display: flex;
  width: max-content;
  gap: 4rem;
  animation: anmelde-banner-marquee 22s linear infinite;
}

.anmelde-banner:hover .anmelde-banner-track {
  animation-play-state: paused;
}

.anmelde-banner-text {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--papier);
  white-space: nowrap;
}

.anmelde-banner-text strong {
  color: #fff;
}

.anmelde-banner-dot {
  flex-shrink: 0;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #a8f0cd;
  box-shadow: 0 0 0 0 rgba(168, 240, 205, 0.6);
  animation: anmelde-banner-puls 1.8s ease-out infinite;
}

.anmelde-banner-cta {
  position: relative;
  flex-shrink: 0;
  font-family: var(--schrift-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.75rem;
  white-space: nowrap;
  color: var(--nacht);
  background: var(--papier);
  padding: 0.3rem 0.7rem;
  border-radius: calc(var(--radius) - 2px);
  overflow: hidden;
}

.anmelde-banner-cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(28, 107, 74, 0.35), transparent);
  animation: anmelde-banner-schein 3.2s ease-in-out infinite;
}

@keyframes anmelde-banner-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 2rem)); }
}

@keyframes anmelde-banner-fluss {
  from { background-position: 0% 0; }
  to { background-position: -220% 0; }
}

@keyframes anmelde-banner-puls {
  0% { box-shadow: 0 0 0 0 rgba(168, 240, 205, 0.6); }
  70% { box-shadow: 0 0 0 0.4rem rgba(168, 240, 205, 0); }
  100% { box-shadow: 0 0 0 0 rgba(168, 240, 205, 0); }
}

@keyframes anmelde-banner-schein {
  0% { left: -60%; }
  100% { left: 130%; }
}

@media (prefers-reduced-motion: reduce) {
  .anmelde-banner,
  .anmelde-banner-track,
  .anmelde-banner-dot,
  .anmelde-banner-cta::after {
    animation: none;
  }
}

/* Kopfzeile */

.kopf {
  border-bottom: 1px solid var(--nebel);
}

.kopf-inner {
  max-width: var(--breite-inhalt);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo {
  font-family: var(--schrift-ueberschrift);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--tinte);
  text-decoration: none;
}

.logo span {
  color: var(--moos);
}

.hauptnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.9rem;
}

.hauptnav a {
  color: var(--tinte);
  text-decoration: none;
}

.hauptnav a:hover {
  color: var(--moos);
}

.kopf-aktionen {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.kopf-anmelden {
  color: var(--tinte);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.kopf-anmelden:hover {
  color: var(--moos);
}

.kopf-registrieren {
  background: var(--moos);
  color: var(--papier);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.55rem 1.1rem;
  border-radius: calc(var(--radius) - 2px);
}

.kopf-registrieren:hover {
  background: #17573c;
}

/* Betriebs-Dashboard: "Dashboard" öffnet per Hover ein Menü zu den drei
   Bereichen; ein Klick führt weiterhin ganz normal zur Übersichtsseite. */

.kopf-dashboard-menu {
  position: relative;
}

.kopf-dashboard-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.4rem;
  flex-direction: column;
  min-width: 11rem;
  background: #fff;
  border: 1px solid var(--nebel);
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(20, 32, 26, 0.12);
  padding: 0.4rem;
  z-index: 30;
}

.kopf-dashboard-menu:hover .kopf-dashboard-dropdown,
.kopf-dashboard-menu:focus-within .kopf-dashboard-dropdown {
  display: flex;
}

.kopf-dashboard-dropdown a {
  padding: 0.55rem 0.75rem;
  border-radius: calc(var(--radius) - 4px);
  color: var(--tinte);
  text-decoration: none;
  font-size: 0.9rem;
}

.kopf-dashboard-dropdown a:hover {
  background: #f2f7f3;
  color: var(--moos);
}

/* In-Page-Navigation zwischen den vier Dashboard-Seiten (auch ohne Hover
   nutzbar, z. B. auf Touch-Geräten). Mobil: waagerechte Leiste über dem
   Inhalt. Ab 48rem: senkrechte Spalte am linken Bildschirmrand, mit Abstand
   zum Rand (Layout-Padding) statt bündig daran zu kleben, und "position:
   sticky", damit sie beim Scrollen von oben bis zum Seitenende sichtbar
   bleibt (dasselbe Prinzip wie das alte .dashboard-sidebar weiter unten). */

.betrieb-dashboard-layout {
  max-width: var(--breite-inhalt);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  flex-direction: column;
}

.betrieb-dashboard-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--nebel);
}

.betrieb-dashboard-nav a,
.kunde-dashboard-nav a {
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  color: var(--tinte);
  text-decoration: none;
  font-size: 0.88rem;
}

.betrieb-dashboard-nav a:hover,
.kunde-dashboard-nav a:hover {
  background: #f2f7f3;
}

.betrieb-dashboard-nav a.ist-aktiv,
.kunde-dashboard-nav a.ist-aktiv {
  background: var(--moos);
  color: var(--papier);
}

.betrieb-dashboard-layout .schmalseite {
  margin: 1.5rem 0;
  max-width: 30rem;
}

/* Kunden-Bereich: nur zwei Seiten (Anfragen/Nachrichten), deshalb kein
   Sidebar-Layout wie beim Betrieb — einfache Pillennav über dem Inhalt. */

.kunde-dashboard-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.5rem;
}

@media (min-width: 48rem) {
  .betrieb-dashboard-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 2.5rem;
  }

  .betrieb-dashboard-nav {
    flex: 0 0 11rem;
    flex-direction: column;
    gap: 0.2rem;
    padding: 1.5rem 0;
    border-bottom: none;
    border-right: 1px solid var(--nebel);
    position: sticky;
    top: 1.5rem;
    align-self: flex-start;
  }
}

/* Hero (Startseite) */

.hero {
  padding: 3.5rem 1.25rem 4rem;
}

.hero-inner {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
}

/* Leistungs-Katalog (Startseite) */

.katalog {
  padding: 0.5rem 1.25rem 4.5rem;
}

.katalog-inner {
  max-width: var(--breite-inhalt);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.katalog-kachel {
  display: block;
  background: #fff;
  border: 1px solid var(--nebel);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-decoration: none;
  color: var(--tinte);
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.katalog-kachel:hover {
  border-color: var(--moos);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(20, 32, 26, 0.08);
}

.katalog-kachel-icon {
  display: block;
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.katalog-kachel h2 {
  font-size: 1.15rem;
  margin-bottom: 0.3em;
}

.katalog-kachel p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin: 0;
}

@media (max-width: 54rem) {
  .katalog-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 35rem) {
  .katalog-inner {
    grid-template-columns: 1fr;
  }
}

/* Fehlerseite */

.fehlerseite {
  max-width: 34rem;
  margin: 4rem auto;
  padding: 0 1.25rem;
  text-align: center;
}

/* Schmale Inhaltsseiten (Login, Dashboard-Stub) */

.schmalseite {
  max-width: 26rem;
  margin: 3rem auto 4rem;
  padding: 0 1.25rem;
}

.fehlermeldung {
  background: #fff;
  border: 1px solid #b3261e;
  border-left-width: 4px;
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  color: #7a1c16;
  font-size: 0.9rem;
}

.login-formular {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 1.5rem;
}

.login-formular label {
  font-family: var(--schrift-label);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.75rem;
}

/* Anfrage-Formular: alles auf einer Seite ohne Scrollen ausfüllbar */

.anfrage-seite {
  max-width: 34rem;
  margin: 1.5rem auto 2rem;
}

.anfrage-formular {
  margin-top: 1rem;
}

.anfrage-formular label {
  margin-top: 0;
}

/* Generische Varianten desselben "passt auf eine Seite"-Musters für andere
   dichte Formulare (z. B. Betriebs-Registrierung mit PLZ/Stadt-Zeile). */

.formular-schmal {
  max-width: 34rem;
  margin: 1.5rem auto 2rem;
}

.formular-kompakt {
  margin-top: 1rem;
}

.formular-kompakt label {
  margin-top: 0;
}

.formular-reihe {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 0.85rem;
  margin-top: 0.75rem;
}

.formular-reihe > div {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.formular-reihe--strasse {
  grid-template-columns: 1fr 7rem;
}

.formular-reihe--plz {
  grid-template-columns: 7rem 1fr;
}

@media (max-width: 30rem) {
  .formular-reihe,
  .formular-reihe--strasse,
  .formular-reihe--plz {
    grid-template-columns: 1fr;
  }
}

.login-formular input {
  border: 1px solid var(--nebel);
  border-radius: calc(var(--radius) - 2px);
  padding: 0.7rem 0.85rem;
  font-size: 1rem;
  font-family: var(--schrift-text);
  color: var(--tinte);
  background: #fff;
}

.login-formular button {
  margin-top: 1.25rem;
  border: none;
  background: var(--moos);
  color: var(--papier);
  font-family: var(--schrift-text);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.85rem 1.25rem;
  border-radius: calc(var(--radius) - 2px);
  cursor: pointer;
}

.login-formular button:hover {
  background: #17573c;
}

.login-hinweis {
  margin-top: 1.25rem;
  font-size: 0.9rem;
}

.link-button {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  color: var(--moos);
  text-decoration: underline;
  cursor: pointer;
}

.link-button:hover {
  color: #17573c;
}

.staedte-auswahl {
  border: 1px solid var(--nebel);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  margin-top: 1rem;
}

.staedte-auswahl legend {
  font-family: var(--schrift-label);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0 0.35rem;
}

.checkbox-zeile {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.92rem;
  margin: 0.35rem 0;
}

.formular-karte {
  margin-top: 1.5rem;
  background: #fff;
  border: 1px solid var(--nebel);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.formular-erfolg {
  text-align: center;
}

/* Meine Anfragen: Übersichtsliste + Angebots-Karten */

.anfragen-liste {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.anfragen-eintrag {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--nebel);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  text-decoration: none;
  color: var(--tinte);
  transition: border-color 0.15s;
}

.anfragen-eintrag:hover {
  border-color: var(--moos);
}

.anfragen-eintrag-titel {
  font-weight: 600;
  flex: 1 1 auto;
}

.anfragen-eintrag-datum {
  font-size: 0.85rem;
  color: var(--tinte-hell, #6b6a63);
}

.anfragen-badge {
  font-family: var(--schrift-label);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--moos);
  color: var(--papier);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
}

.anfragen-badge--warten {
  background: var(--nebel);
  color: var(--tinte);
}

/* Aufträge-Übersicht des Betriebs: Zeile mit optionalem
   "Als erledigt markieren"-Button. .anfragen-eintrag bleibt unverändert
   (wird von Nachrichten-/Anfragen-Übersichten als reiner Link genutzt) —
   hier braucht die Zeile zusätzlich einen Button, also trägt ein äußeres
   div den Karten-Rahmen (identisch zu .anfragen-eintrag) und ein inneres
   a nur noch den Klickbereich zu den Nachrichten. */
.anfragen-eintrag-karte {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--nebel);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  transition: border-color 0.15s;
}

.anfragen-eintrag-karte:hover {
  border-color: var(--moos);
}

.anfragen-eintrag-karte .anfragen-eintrag-inhalt {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  flex: 1 1 auto;
  min-width: 0;
  text-decoration: none;
  color: var(--tinte);
}

.button-erledigt {
  border: none;
  background: #1D5FA8;
  color: #fff;
  font-family: var(--schrift-text);
  font-weight: 500;
  font-size: 0.85rem;
  padding: 0.5rem 0.9rem;
  border-radius: calc(var(--radius) - 2px);
  cursor: pointer;
  white-space: nowrap;
}

.button-erledigt:hover {
  background: #164a85;
}

.button-erledigt.ist-rot {
  background: #B23A2E;
}

.button-erledigt.ist-rot:hover {
  background: #8f2e24;
}

.nachrichten-badge {
  display: inline-block;
  font-family: var(--schrift-label);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  background: #B23A2E;
  color: var(--papier);
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  vertical-align: middle;
}

.anfrage-warten-hinweis {
  margin-top: 1.5rem;
}

.angebot-karte {
  margin-top: 1rem;
}

.angebot-preis {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--moos);
  margin: 0 0 0.5rem;
}

.angebot-nachricht {
  white-space: pre-line;
  margin: 0 0 0.75rem;
}

.angebot-zeitraum {
  font-size: 0.9rem;
  color: var(--tinte-hell, #6b6a63);
  margin: 0 0 0.75rem;
}

.angebot-karte form {
  margin-top: 0.85rem;
}

.angebot-karte form button {
  border: none;
  background: var(--moos);
  color: var(--papier);
  font-family: var(--schrift-text);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.65rem 1.1rem;
  border-radius: calc(var(--radius) - 2px);
  cursor: pointer;
}

.angebot-karte form button:hover {
  background: #17573c;
}

.angebot-angenommen-hinweis {
  margin: 0.85rem 0 0;
  font-weight: 600;
  color: var(--moos);
}

.angebot-nicht-ausgewaehlt-hinweis {
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  color: var(--tinte-hell, #6b6a63);
}

.anfragen-eintrag--statisch {
  cursor: default;
}

.anfragen-eintrag--statisch:hover {
  border-color: var(--nebel);
}

.dashboard-abschnitt-titel {
  font-family: var(--schrift-ueberschrift);
  font-size: 1.05rem;
  margin: 2rem 0 0;
}

/* Dienstleistung vorschlagen: ein Reiter (Details/Summary) je Hauptmenü-Kategorie */

.kategorie-reiter {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1rem;
}

.kategorie-reiter-eintrag {
  background: #fff;
  border: 1px solid var(--nebel);
  border-radius: var(--radius);
  padding: 0.9rem 1.25rem;
}

.kategorie-reiter-eintrag summary {
  cursor: pointer;
  font-weight: 600;
}

.kategorie-reiter-eintrag[open] summary {
  margin-bottom: 0.75rem;
}

/* Kompakte Chips je Dienstleistung — Preis-Eingabe passiert im preis-modal,
   nicht inline, damit die Kategorie auf einen Blick passt. */

.dienstleistung-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.dienstleistung-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--nebel);
  background: #fff;
  color: var(--tinte);
  font-family: var(--schrift-text);
  font-size: 0.85rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
}

.dienstleistung-chip:hover {
  border-color: var(--moos);
}

.dienstleistung-chip--bepreist {
  border-color: var(--moos);
  background: #f2f7f3;
}

.dienstleistung-chip-preis {
  font-weight: 600;
  color: var(--moos);
}

.dienstleistung-chip-zeitraum {
  font-size: 0.8rem;
  color: var(--tinte-hell, #6b6a63);
}

.dienstleistung-chip--neu {
  border-style: dashed;
  color: var(--moos);
}

/* Preis-Modal: identischer Rahmen wie .anfrage-modal, eigener Name, weil
   fachlich unabhängig (Preis statt Anfrage). max-height + overflow-y sorgen
   dafür, dass das Fenster immer auf den Bildschirm passt. */

.preis-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  width: min(26rem, calc(100vw - 2.5rem));
  max-height: calc(100vh - 2.5rem);
  overflow-y: auto;
  border: none;
  border-radius: var(--radius);
  padding: 1.75rem;
  background: var(--papier);
}

.preis-modal::backdrop {
  background: rgba(20, 32, 26, 0.55);
}

.preis-modal-schliessen {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  border: none;
  background: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--tinte);
  cursor: pointer;
  padding: 0.25rem;
}

/* Registrierungs-Wahl: Kunde vs. Betrieb */

.wahl-seite {
  max-width: 34rem;
}

.wahl-karten {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.wahl-karte {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: #fff;
  border: 1px solid var(--nebel);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  color: var(--tinte);
  transition: border-color 0.15s, transform 0.15s;
}

.wahl-karte:hover {
  border-color: var(--moos);
  transform: translateY(-1px);
}

.wahl-karte-titel {
  font-family: var(--schrift-ueberschrift);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--moos);
}

.wahl-karte-text {
  font-size: 0.9rem;
  color: var(--tinte-hell, #6b6a63);
}

.erfolg-titel {
  font-family: var(--schrift-ueberschrift);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--moos);
  margin-bottom: 0.4em;
}

/* Honeypot: für Menschen unsichtbar */
.firma-feld {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Dashboard: linke Sidebar (4 Container) + Inhalt, mobile-first */

.dashboard-layout {
  max-width: var(--breite-inhalt);
  margin: 2.5rem auto 4rem;
  padding: 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.dashboard-sidebar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.dashboard-sidebar-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--nebel);
  border-radius: var(--radius);
  padding: 0.85rem 0.5rem;
  color: var(--tinte);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  min-width: 0;
}

.dashboard-sidebar-item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-sidebar-item svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.dashboard-sidebar-item:hover {
  border-color: var(--moos);
}

.dashboard-sidebar-item.aktiv {
  background: var(--moos);
  border-color: var(--moos);
  color: var(--papier);
}

.dashboard-inhalt {
  min-width: 0;
}

.dashboard-inhalt .login-formular {
  max-width: 28rem;
}

@media (min-width: 48rem) {
  .dashboard-layout {
    flex-direction: row;
    align-items: flex-start;
  }

  .dashboard-sidebar {
    display: flex;
    flex: 0 0 13rem;
    flex-direction: column;
    position: sticky;
    top: 1.5rem;
  }

  .dashboard-sidebar-item {
    justify-content: flex-start;
    font-size: 0.9rem;
    padding: 0.85rem 1rem;
  }

  .dashboard-inhalt {
    flex: 1;
  }
}

.dashboard-kacheln {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.dashboard-kachel {
  flex: 1;
  min-width: 10rem;
  background: #fff;
  border: 1px solid var(--nebel);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-decoration: none;
  color: var(--tinte);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.dashboard-kachel strong {
  font-family: var(--schrift-ueberschrift);
  font-size: 1.75rem;
}

.dashboard-kachel span {
  font-size: 0.85rem;
  opacity: 0.75;
}

.erfolg-hinweis {
  background: #e7f4ee;
  border: 1px solid var(--moos);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  color: #124a33;
  font-size: 0.9rem;
}

.vorlagen-liste {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.vorlagen-liste li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--nebel);
}

.vorlagen-liste button {
  border: none;
  background: var(--moos);
  color: var(--papier);
  padding: 0.5rem 0.9rem;
  border-radius: calc(var(--radius) - 2px);
  cursor: pointer;
  white-space: nowrap;
}

.tarif-zeile {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.tarif-zeile label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.75rem;
  text-transform: none;
}

.tarif-zeile input {
  border: 1px solid var(--nebel);
  border-radius: calc(var(--radius) - 2px);
  padding: 0.5rem;
  width: 7rem;
}

.sofort-vorschau {
  margin-top: 1rem;
}

.sofort-vorschau label {
  margin-top: 0 !important;
}

#sofort-vorschau-ausgabe {
  font-family: var(--schrift-label);
  font-size: 1.05rem;
  margin: 0.75rem 0 0;
}

/* Betriebsprofil / Preisliste */

.betrieb-kopf {
  max-width: var(--breite-inhalt);
  margin: 2.5rem auto 1.5rem;
  padding: 0 1.25rem;
}

.betrieb-beschreibung {
  max-width: 42rem;
  opacity: 0.85;
}

.konflikt-hinweis {
  max-width: var(--breite-inhalt);
  margin: 0 auto 1.5rem;
  padding: 1rem 1.25rem;
  background: #fff3cd;
  border: 1px solid #e0b23e;
  border-radius: var(--radius);
}

.konflikt-hinweis form {
  margin-top: 0.75rem;
}

.konflikt-hinweis button {
  border: none;
  background: var(--tinte);
  color: var(--papier);
  padding: 0.6rem 1rem;
  border-radius: calc(var(--radius) - 2px);
  cursor: pointer;
}

/* Leistungs-Detailseite (z. B. /leistung/winterdienst) */

.leistung-titel {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.leistung-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.6rem;
  background: #e7f4ee;
  border-radius: var(--radius);
}

.leistung-titel h1 {
  margin-bottom: 0.15em;
}

/* Detail-Katalog (Subleistungen als Buttons) */

.leistung-details {
  max-width: var(--breite-inhalt);
  margin: 0 auto 2rem;
  padding: 0 1.25rem;
}

.leistung-details h2 {
  font-size: 1.1rem;
  margin-bottom: 0.85rem;
}

.detail-chip-liste {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.detail-chip {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--nebel);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
  line-height: 1.3;
  color: var(--tinte);
  text-decoration: none;
  cursor: pointer;
}

.detail-chip:hover,
.detail-chip:focus-visible {
  border-color: var(--moos);
  color: var(--moos);
}

.plz-suchbereich {
  max-width: var(--breite-inhalt);
  margin: 0 auto 1.5rem;
  padding: 0 1.25rem;
}

.plz-leiste-form {
  width: 100%;
}

.plz-leiste-form label {
  display: block;
  font-family: var(--schrift-label);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

.plz-leiste-feld {
  display: flex;
  gap: 0.6rem;
}

.plz-leiste-feld input {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--nebel);
  border-radius: calc(var(--radius) - 2px);
  padding: 0.65rem 0.85rem;
  font-size: 1rem;
  font-family: var(--schrift-label);
  color: var(--tinte);
}

.plz-leiste-feld button {
  border: none;
  background: var(--moos);
  color: var(--papier);
  font-family: var(--schrift-text);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.65rem 1.1rem;
  border-radius: calc(var(--radius) - 2px);
  cursor: pointer;
  white-space: nowrap;
}

.plz-leiste-feld button:hover {
  background: #17573c;
}

@media (min-width: 40rem) {
  .plz-leiste-feld {
    max-width: 24rem;
  }
}

/* Anfrage-Modal: öffnet direkt aus der PLZ-Suche, ohne Datenbank-Trefferliste */

.anfrage-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  width: min(34rem, calc(100vw - 2.5rem));
  max-height: calc(100vh - 2.5rem);
  overflow-y: auto;
  border: none;
  border-radius: calc(var(--radius) + 6px);
  padding: 2rem 2.25rem 2.25rem;
  background: var(--papier);
  box-shadow: 0 20px 60px rgba(20, 32, 26, 0.25);
}

.anfrage-modal::backdrop {
  background: rgba(20, 32, 26, 0.6);
}

.anfrage-modal-schliessen {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: none;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--tinte-hell, #6b6a63);
  cursor: pointer;
  padding: 0;
  transition: background 0.15s, color 0.15s;
}

.anfrage-modal-schliessen:hover {
  background: var(--nebel);
  color: var(--tinte);
}

.anfrage-modal .login-formular input {
  transition: border-color 0.15s, box-shadow 0.15s;
}

.anfrage-modal .login-formular input:focus {
  border-color: var(--moos);
  outline: none;
  box-shadow: 0 0 0 3px rgba(28, 107, 74, 0.15);
}

.anfrage-modal-trennlinie {
  border: none;
  border-top: 1px solid var(--nebel);
  margin: 0.85rem 0;
}

.anfrage-modal-untertitel {
  margin: 0 0 1.25rem;
  color: var(--tinte-hell, #6b6a63);
  font-size: 0.92rem;
}

.formular-aktionen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.formular-aktionen button,
.formular-aktionen .button-outline {
  margin-top: 0;
}

.button-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--moos);
  background: transparent;
  color: var(--moos);
  text-decoration: none;
  font-family: var(--schrift-text);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.85rem 1.25rem;
  border-radius: calc(var(--radius) - 2px);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.button-outline:hover {
  background: var(--moos);
  color: var(--papier);
}

.anbieter-anzahl {
  font-family: var(--schrift-label);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--moos);
  margin-bottom: 1rem;
}

.anbieterliste {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.anbieter-karte {
  position: relative;
  background: #fff;
  border: 1px solid var(--nebel);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.anbieter-karte:hover {
  border-color: var(--moos);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(20, 32, 26, 0.08);
}

.anbieter-karte--guenstigste {
  border-color: var(--moos);
  border-width: 2px;
  background: #f4faf7;
}

.anbieter-guenstigste-label {
  display: inline-block;
  font-family: var(--schrift-label);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--moos);
  color: var(--papier);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin: 0 0 0.85rem;
}

.anbieter-karte-hauptzeile {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
}

.anbieter-karte-text {
  min-width: 0;
}

.anbieter-karte-text h2 {
  font-size: 1.15rem;
  margin-bottom: 0.25em;
}

.anbieter-karte-text h2 a {
  color: var(--tinte);
  text-decoration: none;
}

.anbieter-karte-text h2 a:hover {
  color: var(--moos);
}

.anbieter-ort {
  font-size: 0.85rem;
  opacity: 0.7;
  margin: 0 0 0.5em;
}

.anbieter-beschreibung {
  font-size: 0.92rem;
  opacity: 0.85;
  margin: 0;
}

.anbieter-karte-preis {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
  text-align: right;
}

.preis-fest {
  font-family: var(--schrift-label);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  white-space: nowrap;
}

@media (max-width: 32rem) {
  .anbieter-karte-hauptzeile {
    flex-direction: column;
  }

  .anbieter-karte-preis {
    align-items: flex-start;
    text-align: left;
    width: 100%;
  }

  .anbieter-karte-preis .mengen-formular {
    width: 100%;
  }

  .anbieter-karte-preis .mengen-formular button {
    width: 100%;
  }
}

.preisliste {
  max-width: var(--breite-inhalt);
  margin: 0 auto 4rem;
  padding: 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.preisliste-position {
  background: #fff;
  border: 1px solid var(--nebel);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: space-between;
}

.preisliste-position--anfrage {
  opacity: 0.9;
}

.preisliste-kategorie {
  font-family: var(--schrift-label);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--moos);
  margin-bottom: 0.3em;
}

.preisliste-position-text h2 {
  font-size: 1.1rem;
  margin-bottom: 0.3em;
}

.preisliste-position-text p {
  font-size: 0.92rem;
  opacity: 0.85;
  margin: 0;
}

.preis-ab {
  font-family: var(--schrift-label);
  font-size: 1.2rem;
  margin: 0 0 0.75rem;
}

.preis-abrechnung {
  font-size: 0.8rem;
  opacity: 0.7;
}

.preis-anfrage {
  font-family: var(--schrift-label);
  font-size: 1.05rem;
  margin: 0 0 0.3rem;
}

.anfrage-grund {
  font-size: 0.85rem;
  opacity: 0.75;
  margin: 0 0 0.75rem;
}

.mengen-formular {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: flex-end;
}

.mengen-formular label {
  font-family: var(--schrift-label);
  font-size: 0.75rem;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.mengen-formular input[type="number"],
.mengen-formular input[type="text"] {
  border: 1px solid var(--nebel);
  border-radius: calc(var(--radius) - 2px);
  padding: 0.5rem;
  font-family: var(--schrift-text);
  width: 8rem;
}

.mengen-formular button {
  border: none;
  background: var(--moos);
  color: var(--papier);
  padding: 0.6rem 1rem;
  border-radius: calc(var(--radius) - 2px);
  cursor: pointer;
  white-space: nowrap;
}

.mengen-formular button:hover {
  background: #17573c;
}

/* Warenkorb */

.warenkorb-seite, .kasse-seite {
  max-width: var(--breite-inhalt);
  margin: 2.5rem auto 4rem;
  padding: 0 1.25rem;
}

.hinweis-anfrage {
  background: #fff3cd;
  border: 1px solid #e0b23e;
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
}

.warenkorb-tabelle-wrapper {
  overflow-x: auto;
}

.warenkorb-tabelle {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.warenkorb-tabelle th,
.warenkorb-tabelle td {
  border-bottom: 1px solid var(--nebel);
  padding: 0.75rem;
  text-align: left;
  font-size: 0.9rem;
  vertical-align: top;
}

.mengen-update {
  display: flex;
  gap: 0.4rem;
}

.mengen-update input {
  width: 4.5rem;
  border: 1px solid var(--nebel);
  border-radius: calc(var(--radius) - 2px);
  padding: 0.4rem;
}

.warenkorb-summe {
  margin-top: 1.25rem;
  font-size: 1.1rem;
}

.button-link {
  display: inline-block;
  background: var(--moos);
  color: var(--papier);
  text-decoration: none;
  padding: 0.85rem 1.5rem;
  border-radius: calc(var(--radius) - 2px);
  font-weight: 500;
}

.button-link:hover {
  background: #17573c;
}

/* Kasse */

.kasse-uebersicht {
  margin-bottom: 1.5rem;
}

.kasse-uebersicht ul {
  padding-left: 1.2rem;
}

.kasse-formular textarea,
.login-formular textarea {
  border: 1px solid var(--nebel);
  border-radius: calc(var(--radius) - 2px);
  padding: 0.7rem 0.85rem;
  font-family: var(--schrift-text);
  resize: vertical;
}

/* Nachrichten-Tool: Chat je Auftrag, gleiche Bausteine auf Betriebs- und
   Kundenseite (betrieb-nachricht.php / meine-nachricht.php). */

.chat-verlauf {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 1.5rem 0;
  max-height: 26rem;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.chat-leer {
  color: var(--tinte-hell, #6b6a63);
  font-size: 0.9rem;
}

.chat-nachricht {
  max-width: 80%;
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius);
  border: 1px solid var(--nebel);
  background: #fff;
}

.chat-nachricht--eigen {
  align-self: flex-end;
  background: #f2f7f3;
  border-color: var(--moos);
}

.chat-nachricht--fremd {
  align-self: flex-start;
}

.chat-nachricht-text {
  margin: 0 0 0.3rem;
  white-space: pre-line;
  font-size: 0.92rem;
}

.chat-nachricht-zeit {
  margin: 0;
  font-size: 0.75rem;
  color: var(--tinte-hell, #6b6a63);
}

.chat-formular-label {
  margin-top: 0;
}

.chat-formular textarea {
  resize: vertical;
}

.button-sekundaer {
  border: 1px solid var(--nebel);
  background: transparent;
  color: var(--tinte);
  font-family: var(--schrift-text);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.7rem 1.1rem;
  border-radius: calc(var(--radius) - 2px);
  cursor: pointer;
}

.button-sekundaer:hover {
  border-color: #b3261e;
  color: #7a1c16;
}

.angebot-ablehnen-form {
  margin-top: 1rem;
}

/* Status */

.status-positionen {
  padding-left: 1.2rem;
}

.status-positionen li {
  margin-bottom: 0.6rem;
}

/* Warenkorbleiste */

.warenkorbleiste {
  position: sticky;
  bottom: 0;
  background: var(--nacht);
  color: var(--papier);
  z-index: 10;
}

.warenkorbleiste-inner {
  max-width: var(--breite-inhalt);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.warenkorbleiste a {
  color: var(--papier);
  font-weight: 500;
  text-decoration: underline;
}

/* Fusszeile */

.fusszeile {
  background: var(--nacht);
  color: var(--papier);
  margin-top: 4rem;
}

.fusszeile-inner {
  max-width: var(--breite-inhalt);
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
}

.fusszeile-marke {
  font-family: var(--schrift-ueberschrift);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.fusszeile-marke span {
  color: #6fbb98;
}

.fusszeile-claim {
  opacity: 0.8;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.fusszeile-reihe {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1.5rem;
}

.fusszeile-links,
.fusszeile-rechts {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.fusszeile-links a,
.fusszeile-rechts a {
  color: var(--papier);
  opacity: 0.8;
  text-decoration: none;
  font-size: 0.9rem;
}

.fusszeile-links a:hover,
.fusszeile-rechts a:hover {
  opacity: 1;
}

.center {
  text-align: center;
}

.fusszeile-copy {
  font-size: 0.8rem;
  opacity: 0.6;
  margin: 0;
  text-align: center;
}

/* Rechtstexte (Impressum, Datenschutz, AGB): kompakte Karte statt
   ungebändigtem Fließtext über die volle Breite, mit engerem
   Absatz-/Überschriften-Rhythmus als der Browser-Standard. */

.rechtstext-seite {
  max-width: 44rem;
  margin: 2.5rem auto 4rem;
  padding: 0 1.25rem;
}

.rechtstext-stand {
  margin-bottom: 1rem;
}

.rechtstext {
  background: #fff;
  border: 1px solid var(--nebel);
  border-radius: var(--radius);
  padding: 2rem 2.25rem 2.5rem;
}

.rechtstext h1 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.rechtstext-toc {
  list-style: none;
  margin: 0 0 2rem;
  padding: 1rem 1.25rem;
  background: var(--papier);
  border: 1px solid var(--nebel);
  border-radius: calc(var(--radius) - 2px);
  columns: 2;
  column-gap: 1.5rem;
}

.rechtstext-toc li {
  break-inside: avoid;
  margin-bottom: 0.3rem;
  font-size: 0.86rem;
}

.rechtstext-toc a {
  color: var(--tinte);
  text-decoration: none;
}

.rechtstext-toc a:hover {
  color: var(--moos);
}

.rechtstext h2 {
  font-size: 1.02rem;
  margin: 0 0 0.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--nebel);
  scroll-margin-top: 5rem;
}

.rechtstext h2:first-of-type {
  padding-top: 0;
  border-top: none;
}

.rechtstext p {
  font-size: 0.93rem;
  line-height: 1.55;
  margin-bottom: 0.85rem;
}

.rechtstext h2 + p {
  margin-top: 0;
}

.rechtstext p:last-child {
  margin-bottom: 0;
}

@media (max-width: 30rem) {
  .rechtstext {
    padding: 1.5rem 1.25rem 1.75rem;
  }

  .rechtstext-toc {
    columns: 1;
  }
}

/* Ratgeber */

.ratgeber-uebersicht {
  max-width: var(--breite-inhalt);
  margin: 0 auto 4rem;
  padding: 0 1.25rem;
}

.ratgeber-leer {
  text-align: center;
  opacity: 0.75;
}

.ratgeber-gruppe {
  margin-bottom: 2.5rem;
}

.ratgeber-gruppe h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  scroll-margin-top: 5rem;
}

.ratgeber-karte {
  display: block;
  background: #fff;
  border: 1px solid var(--nebel);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  text-decoration: none;
  color: var(--tinte);
  margin-bottom: 1rem;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.ratgeber-karte:hover {
  border-color: var(--moos);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(20, 32, 26, 0.08);
}

.ratgeber-karte h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3em;
}

.ratgeber-karte p {
  font-size: 0.92rem;
  opacity: 0.85;
  margin: 0 0 0.5em;
}

.ratgeber-karte-meta {
  font-family: var(--schrift-label);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--moos);
  opacity: 1;
  margin: 0;
}

.ratgeber-karte--pillar {
  border-color: var(--moos);
}

.ratgeber-karte--pillar h3 {
  font-size: 1.3rem;
}

.ratgeber-cluster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 0;
}

.ratgeber-cluster-grid .ratgeber-karte {
  margin-bottom: 0;
}

/* Artikel-Detailseite */

.ratgeber-artikel-seite {
  max-width: var(--breite-inhalt);
  margin: 2rem auto 4rem;
  padding: 0 1.25rem;
}

.ratgeber-breadcrumb {
  font-size: 0.82rem;
  margin-bottom: 1.5rem;
  opacity: 0.8;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em;
}

.ratgeber-breadcrumb a {
  color: var(--tinte);
  text-decoration: none;
}

.ratgeber-breadcrumb a:hover {
  color: var(--moos);
}

.ratgeber-artikel-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

.ratgeber-artikel {
  background: #fff;
  border: 1px solid var(--nebel);
  border-radius: var(--radius);
  padding: 2rem 2.25rem 2.5rem;
}

.ratgeber-artikel h1 {
  font-size: 1.65rem;
  margin-bottom: 0.4em;
}

.ratgeber-untertitel {
  font-size: 1.05rem;
  opacity: 0.8;
  margin-bottom: 1em;
}

.ratgeber-artikel .intro {
  font-size: 1.02rem;
  opacity: 0.9;
}

.ratgeber-toc {
  margin-top: 1.5rem;
}

.ratgeber-inhalt h2 {
  font-size: 1.2rem;
  margin: 1.75rem 0 0.6em;
  scroll-margin-top: 5rem;
}

.ratgeber-inhalt h3 {
  font-size: 1.05rem;
  margin: 1.25rem 0 0.5em;
}

.ratgeber-inhalt p {
  font-size: 0.96rem;
  line-height: 1.6;
}

.ratgeber-inhalt ul,
.ratgeber-inhalt ol {
  margin: 0 0 1em;
  padding-left: 1.4em;
}

.ratgeber-inhalt li {
  margin-bottom: 0.4em;
}

.ratgeber-fazit {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--nebel);
}

.ratgeber-fazit h2 {
  font-size: 1.1rem;
}

.ratgeber-faq {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--nebel);
}

.ratgeber-faq h2 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.ratgeber-faq-eintrag {
  border: 1px solid var(--nebel);
  border-radius: calc(var(--radius) - 2px);
  padding: 0.75rem 1rem;
  margin-bottom: 0.6rem;
}

.ratgeber-faq-eintrag summary {
  font-weight: 500;
  cursor: pointer;
}

.ratgeber-faq-eintrag p {
  margin: 0.6em 0 0;
  font-size: 0.92rem;
}

.ratgeber-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ratgeber-box {
  background: #fff;
  border: 1px solid var(--nebel);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

.ratgeber-box h2 {
  font-size: 0.95rem;
  margin-bottom: 0.6em;
}

.ratgeber-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

.ratgeber-box a {
  font-size: 0.9rem;
  text-decoration: none;
}

.ratgeber-box a:hover {
  color: var(--moos);
}

.ratgeber-box--footer {
  margin-top: 2rem;
}

@media (min-width: 56rem) {
  .ratgeber-artikel-layout {
    grid-template-columns: minmax(0, 1fr) 18rem;
  }
}

@media (max-width: 30rem) {
  .ratgeber-artikel {
    padding: 1.5rem 1.25rem 1.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
