/* TopfKompass, Komponenten-Schicht. Schriften, Farbwelt und Grundgeruest
   liegen in brand.css (laedt davor in base.html). */

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font: inherit; font-weight: 600; font-size: 0.98rem; line-height: 1;
  padding: 0.92em 1.35em; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s, border-color 0.25s;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn-haupt {
  background: var(--koralle-ink); color: #fff;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 12px 24px -12px rgba(191, 56, 38, 0.7);
}
.btn-haupt:hover {
  background: var(--koralle-tief); color: #fff; transform: translateY(-2px);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 18px 34px -14px rgba(191, 56, 38, 0.75);
}
.btn-zweit { background: transparent; color: var(--tinte); border-color: var(--hairline); }
.btn-zweit:hover { border-color: var(--tinte); color: var(--tinte); transform: translateY(-2px); background: rgba(36, 28, 23, 0.03); }
.btn:disabled { opacity: 0.65; cursor: progress; transform: none; }

/* Suche und Chips */
.suche { margin: 2rem 0 0; max-width: 560px; position: relative; z-index: 2; }
.suche-form {
  display: flex; align-items: center; gap: 0.65rem;
  background: var(--karte); border: 1px solid var(--hairline);
  border-radius: var(--radius-riesig); padding: 0.5rem 0.5rem 0.5rem 1.15rem;
  box-shadow: var(--schatten-2);
}
.suche-form .lupe { width: 22px; height: 22px; color: var(--tinte-3); flex: 0 0 auto; }
.suche-form input {
  flex: 1; min-width: 0; border: 0; background: transparent;
  font: inherit; font-size: 1.02rem; color: var(--tinte); padding: 0.65rem 0;
}
.suche-form input::placeholder { color: var(--tinte-3); }
.suche-form input:focus { outline: none; }
.suche-form:focus-within { border-color: var(--koralle); box-shadow: 0 0 0 4px rgba(229, 83, 61, 0.14), var(--schatten-2); }
.suche-form .btn { padding: 0.82em 1.25em; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.15rem 0 0; }
.chip {
  font-size: 0.87rem; font-weight: 500; text-decoration: none; color: var(--tinte-2);
  background: rgba(255, 255, 255, 0.7); border: 1px solid var(--hairline);
  padding: 0.45em 0.9em; border-radius: 999px;
  transition: color 0.22s var(--ease), border-color 0.22s var(--ease), background 0.22s var(--ease), transform 0.22s var(--ease);
}
.chip:hover { color: var(--koralle-ink); border-color: var(--koralle); background: #fff; transform: translateY(-1px); }
.chip-aktiv { background: var(--koralle-ink); border-color: var(--koralle-ink); color: #fff; }
.chip-aktiv:hover { color: #fff; background: var(--koralle-tief); }
.chip-reset { border-style: dashed; }
.statistik { color: var(--tinte-2); font-size: 0.9rem; margin-top: 20px; }
.statistik strong { color: var(--koralle-ink); font-weight: 600; }

/* Trefferliste */
.ergebnis-titel { font-size: 1.35rem; margin: 34px 0 16px; }
.karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.karte {
  display: block; text-decoration: none; color: var(--tinte);
  background: var(--karte); border: 1px solid var(--hairline);
  border-radius: var(--radius-gross); padding: 22px 24px;
  box-shadow: var(--schatten-1);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.karte:hover { border-color: rgba(191, 56, 38, 0.4); box-shadow: var(--schatten-2); transform: translateY(-2px); }
.karte h3, .karte h4 { margin: 0 0 4px; font-size: 1.12rem; line-height: 1.25; color: var(--tinte); }
.karte-ort { margin: 0 0 6px; font-size: 0.85rem; color: var(--tinte-3); }
.karte-teaser { margin: 0 0 10px; font-size: 0.9rem; color: var(--tinte-2); }
.karte-tags { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  display: inline-flex; align-items: center; gap: 0.4em;
  font-size: 0.78rem; font-weight: 500; background: var(--pfirsich); color: var(--koralle-tief);
  border-radius: 9px; padding: 0.3em 0.7em;
}
.karte-schloss { display: flex; align-items: center; gap: 6px; margin: 12px 0 0; font-size: 0.78rem; color: var(--tinte-3); }
.leer { color: var(--tinte-2); }
.karte-meta { margin: 10px 0 0; font-size: 0.8rem; color: var(--tinte-3); }
.karte-statisch { cursor: default; }
.karte-statisch:hover { border-color: var(--hairline); box-shadow: var(--schatten-1); transform: none; }
.karte-titellink { color: inherit; text-decoration: none; }
.karte-titellink:hover { color: var(--koralle-ink); text-decoration: underline; }

/* Werkzeug-Details (Mini-UI in den Bento-Karten) */
.detail-belege { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.tag-hell { background: rgba(255, 255, 255, 0.6); border: 1px solid var(--hairline); color: var(--tinte-2); }
.tag-hell svg { width: 14px; height: 14px; color: var(--koralle); }
.tag-link { background: transparent; border: 1px solid rgba(191, 56, 38, 0.3); color: var(--koralle-ink); font-weight: 600; }
.tag-gestrichen {
  background: transparent; border: 1px solid var(--hairline); color: var(--tinte-3);
  text-decoration: line-through; text-decoration-color: var(--koralle); text-decoration-thickness: 1.5px;
}
.detail-plan { display: flex; flex-direction: column; gap: 0.6rem; }
.detail-plan .zeile { display: flex; align-items: center; gap: 0.7rem; }
.detail-plan .zeile b { font-size: 0.82rem; font-weight: 500; color: var(--tinte-2); width: 8.5em; flex: 0 0 auto; }
.detail-plan .balken { height: 10px; border-radius: 999px; }
.detail-werkbank { display: flex; flex-direction: column; gap: 0.6rem; }
.werkbank-mini {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 0.65rem 0.8rem; border: 1px solid var(--hairline); border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.6); font-size: 0.92rem;
}
.werkbank-mini .nm { font-weight: 600; }
.sterne-mini { display: inline-flex; gap: 1px; color: var(--honig); }
.sterne-mini svg { width: 14px; height: 14px; }
.sterne-mini .aus { color: var(--sand); }
.detail-chat { display: flex; flex-direction: column; gap: 0.55rem; }
.blase { max-width: 88%; padding: 0.65rem 0.9rem; border-radius: 16px; font-size: 0.9rem; line-height: 1.45; }
.blase-frage { align-self: flex-start; background: var(--sand); color: var(--tinte); border-bottom-left-radius: 5px; }
.blase-antwort { align-self: flex-end; background: var(--koralle-ink); color: #fff; border-bottom-right-radius: 5px; }
.chat-notiz { font-size: 0.8rem; color: var(--tinte-3); display: flex; align-items: center; gap: 0.4em; }
.chat-notiz svg { width: 14px; height: 14px; color: var(--koralle); }

/* Portale */
.portale-intro { color: var(--tinte-2); max-width: 60ch; margin: 0 0 24px; }
.portal-gruppe, .faq-eintrag { border-bottom: 1px solid var(--hairline); margin: 0; }
.portal-gruppe:first-of-type, .faq-eintrag:first-of-type { border-top: 1px solid var(--hairline); }
.portal-gruppe summary, .faq-eintrag summary {
  cursor: pointer; padding: 1.2rem 3rem 1.2rem 0; position: relative; list-style: none;
  font-family: var(--schrift-display); font-weight: 600; font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  color: var(--tinte); transition: color 0.2s;
}
.portal-gruppe summary::-webkit-details-marker, .faq-eintrag summary::-webkit-details-marker { display: none; }
.portal-gruppe summary:hover, .faq-eintrag summary:hover { color: var(--koralle-ink); }
.portal-gruppe[open] summary, .faq-eintrag[open] summary { color: var(--koralle-ink); }
.portal-gruppe summary .ic, .faq-eintrag summary .ic {
  position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--hairline);
  display: grid; place-items: center; transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.portal-gruppe summary .ic::before, .faq-eintrag summary .ic::before,
.portal-gruppe summary .ic::after, .faq-eintrag summary .ic::after {
  content: ""; position: absolute; background: var(--koralle-ink); border-radius: 2px;
}
.portal-gruppe summary .ic::before, .faq-eintrag summary .ic::before { width: 12px; height: 2px; }
.portal-gruppe summary .ic::after, .faq-eintrag summary .ic::after { width: 2px; height: 12px; transition: transform 0.3s var(--ease); }
.portal-gruppe[open] summary .ic, .faq-eintrag[open] summary .ic { background: var(--koralle-ink); border-color: var(--koralle-ink); }
.portal-gruppe[open] summary .ic::before, .faq-eintrag[open] summary .ic::before,
.portal-gruppe[open] summary .ic::after, .faq-eintrag[open] summary .ic::after { background: #fff; }
.portal-gruppe[open] summary .ic::after, .faq-eintrag[open] summary .ic::after { transform: scaleY(0); }
.faq-eintrag p { margin: 0; padding: 0 3rem 1.4rem 0; max-width: 56em; color: var(--tinte-2); font-size: 1rem; }
.portal-liste { list-style: none; margin: 0; padding: 0 0 18px; }
.portal-liste li { padding: 9px 0; border-top: 1px solid var(--hairline-soft); font-size: 0.92rem; }
.portal-liste li:first-child { border-top: none; }
.portal-liste a { display: block; word-break: break-all; font-size: 0.85rem; }
.portal-desc { display: block; color: var(--tinte-2); font-size: 0.85rem; }

/* Abschluss-CTA */
.finale-karte {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(165deg, var(--papier-2), #F6E7D6);
  border: 1px solid var(--hairline-soft); border-radius: var(--radius-xl);
  padding: clamp(44px, 6vw, 84px) clamp(24px, 5vw, 64px);
}
.finale-karte::before {
  content: ""; position: absolute; left: 50%; top: -40%; width: min(90%, 760px); aspect-ratio: 2/1;
  transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, rgba(229, 83, 61, 0.16), transparent 65%);
  pointer-events: none;
}
.finale-karte h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); position: relative; z-index: 1; margin: 0; }
.finale-karte p { margin: 1.1rem auto 0; max-width: 34em; color: var(--tinte-2); font-size: 1.08rem; position: relative; z-index: 1; }
.finale-aktionen { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; position: relative; z-index: 1; }
.finale-notiz { margin-top: 1.2rem; font-size: 0.9rem; color: var(--tinte-3); position: relative; z-index: 1; }

/* Steckbrief */
.brotkrume { margin: 28px 0 8px; font-size: 0.9rem; }
.steckbrief h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin: 8px 0 4px; }
.steckbrief-ort { color: var(--tinte-3); margin: 0 0 10px; }
.teaser { font-size: 1.05rem; max-width: 70ch; color: var(--tinte-2); }
.feld { margin: 28px 0; }
.feld h2 { font-size: 1.2rem; display: flex; align-items: center; gap: 8px; margin: 0 0 6px; }
.feld p { margin: 0; max-width: 70ch; white-space: pre-line; }
.kontakt-liste { list-style: none; margin: 0; padding: 0; }
.kontakt-liste li { padding: 2px 0; }
.quelle-meta { color: var(--tinte-3); font-size: 0.85rem; margin: 34px 0; }
.warnung-eingestellt {
  background: var(--pfirsich); border-left: 3px solid var(--koralle-ink);
  border-radius: var(--radius); color: var(--koralle-tief);
  padding: 12px 16px; margin: 14px 0; max-width: 70ch;
}
.pruef-hinweis { color: var(--tinte-2); font-size: 0.85rem; margin: 6px 0 0; max-width: 70ch; }
.feld-gesperrt h2 { color: var(--tinte-3); }
.blur-platzhalter { filter: blur(5px); user-select: none; pointer-events: none; color: var(--tinte-3); max-width: 60ch; }
.cta-karte {
  background: var(--karte); border: 1px solid var(--hairline);
  border-left: 3px solid var(--koralle-ink);
  border-radius: var(--radius-gross); padding: 24px 26px; margin: 30px 0; max-width: 560px;
  box-shadow: var(--schatten-1);
}
.cta-karte h2 { margin: 0 0 8px; font-size: 1.25rem; }
.cta-karte p { margin: 0 0 16px; color: var(--tinte-2); }

/* Hinweis-Karte (DB fehlt) */
.hinweis-karte {
  margin: 60px auto; max-width: 560px; text-align: center;
  background: var(--karte); border: 1px solid var(--hairline);
  border-radius: var(--radius-gross); padding: 36px 28px; box-shadow: var(--schatten-1);
}
.hinweis-karte code { background: var(--sand); padding: 2px 6px; border-radius: 6px; }

/* Chat-Widget */
.chat-knopf {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  display: flex; align-items: center; gap: 9px;
  background: var(--espresso); color: var(--papier);
  border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 999px;
  padding: 13px 21px; font: inherit; font-size: 0.93rem; font-weight: 600; cursor: pointer;
  box-shadow: var(--schatten-2);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.chat-knopf:hover { transform: translateY(-2px); box-shadow: var(--schatten-lift); }
.chat-knopf svg { color: var(--koralle-hell); }
.chat-panel[hidden] { display: none; }
.chat-panel {
  position: fixed; right: 18px; bottom: 80px; z-index: 90;
  width: min(380px, calc(100vw - 36px)); height: min(520px, 70vh); height: min(520px, 70dvh);
  display: flex; flex-direction: column;
  background: var(--karte); border: 1px solid var(--hairline); border-radius: var(--radius-gross);
  box-shadow: var(--schatten-lift); overflow: hidden;
}
.chat-kopf { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--hairline-soft); background: var(--papier); }
.chat-avatar {
  width: 42px; height: 42px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--pfirsich); color: var(--koralle-ink);
}
.chat-avatar svg { width: 24px; height: 24px; }
.chat-kopf-text { flex: 1; min-width: 0; font-family: var(--schrift-display); }
.chat-untertitel { display: block; font-family: var(--schrift-text); font-size: 0.78rem; color: var(--tinte-3); }
.chat-schliessen {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 40px; height: 40px; border-radius: 50%;
  background: none; border: none; font-size: 1.5rem; line-height: 1;
  color: var(--tinte-3); cursor: pointer; padding: 0;
}
.chat-schliessen:hover { color: var(--tinte); background: var(--sand); }
.chat-verlauf { flex: 1; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.chat-nachricht { max-width: 88%; border-radius: 16px; padding: 8px 12px; font-size: 0.92rem; white-space: pre-wrap; overflow-wrap: break-word; }
.chat-nachricht.von-user { align-self: flex-end; background: var(--koralle-ink); color: #fff; border-bottom-right-radius: 5px; }
.chat-nachricht.von-lotse { align-self: flex-start; background: var(--sand); border-bottom-left-radius: 5px; }
.chat-log { align-self: flex-start; font-size: 0.76rem; color: var(--tinte-3); display: flex; align-items: center; gap: 6px; padding: 0 4px; }
.chat-log::before { content: "\2713"; color: var(--koralle); font-weight: 700; }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--hairline-soft); }
.chat-form input {
  /* 16px verhindert den iOS-Autozoom beim Fokussieren. */
  flex: 1; font: inherit; padding: 9px 12px; min-width: 0;
  border: 1px solid var(--hairline); border-radius: var(--radius); background: #fff;
}
.chat-form input:focus { border-color: var(--koralle); outline: none; box-shadow: 0 0 0 3px rgba(229, 83, 61, 0.16); }
.chat-form .btn { padding: 9px 16px; }

/* Fahrplan */
.fahrplan-kopf { padding: 40px 0 4px; }
.fahrplan-kopf h1 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); margin: 0.55rem 0 14px; }
.fahrplan-intro { max-width: 70ch; margin: 0 0 8px; color: var(--tinte-2); }
.fahrplan-ehrlich { color: var(--tinte-3); font-size: 0.9rem; max-width: 70ch; margin: 0; }
.fahrplan-form {
  display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 14px; align-items: end;
  margin: 26px 0 10px; padding: 24px;
  background: var(--karte); border: 1px solid var(--hairline); border-radius: var(--radius-gross);
  box-shadow: var(--schatten-2);
}
.fahrplan-feld { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.fahrplan-feld label { font-size: 0.82rem; font-weight: 600; color: var(--tinte-2); }
.fahrplan-feld input, .fahrplan-feld select {
  font: inherit; padding: 10px 13px; min-height: 46px; border: 1px solid var(--hairline);
  border-radius: var(--radius); background: var(--papier); color: var(--tinte); min-width: 0;
}
.fahrplan-feld select, .status-form select, .merken-form select {
  appearance: none; -webkit-appearance: none; padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 L6 6.5 L11 1.5' fill='none' stroke='%23574a41' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.fahrplan-feld input:focus, .fahrplan-feld select:focus { border-color: var(--koralle); outline: none; box-shadow: 0 0 0 3px rgba(229, 83, 61, 0.16); }
.fahrplan-fehler {
  color: var(--koralle-tief); background: var(--pfirsich); border-left: 3px solid var(--koralle-ink);
  border-radius: var(--radius); padding: 10px 14px; max-width: 60ch;
}
.fahrplan-ergebnis h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 34px 0 6px; }
.fahrplan-ergebnis h3 { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; margin: 26px 0 6px; }
.schritte { list-style: none; margin: 10px 0 0; padding: 0; }
.schritt { margin: 0 0 34px; }
.schritt-nr {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--pfirsich); color: var(--koralle-tief);
  font-size: 0.95rem; font-weight: 700; font-family: var(--schrift-display);
}
.schritt-begruendung { max-width: 75ch; margin: 0 0 14px; color: var(--tinte-2); }
@media (max-width: 780px) { .fahrplan-form { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .fahrplan-form { grid-template-columns: 1fr; } }

/* Stapel-Logik: die drei Stufen, solange kein Plan berechnet ist */
.stapel-logik { margin: clamp(48px, 8vw, 80px) 0 0; }
.stufen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stufe {
  background: var(--karte); border: 1px solid var(--hairline);
  border-radius: var(--radius-gross); padding: 26px 26px 28px; box-shadow: var(--schatten-1);
}
.stufe b {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 13px;
  font-family: var(--schrift-display); font-weight: 700; font-size: 1.25rem;
  background: var(--pfirsich); color: var(--koralle-tief);
}
.stufe h3 { font-size: 1.16rem; margin: 14px 0 8px; }
.stufe p { margin: 0; font-size: 0.92rem; color: var(--tinte-2); }
@media (max-width: 720px) { .stufen { grid-template-columns: 1fr; } }

/* USP-Vergleich */
.usp-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.usp-tabelle { border-collapse: collapse; width: 100%; min-width: 780px; font-size: 0.9rem; }
.usp-tabelle th, .usp-tabelle td {
  padding: 16px 18px 16px 0; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--hairline-soft);
}
.usp-tabelle thead th {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--tinte-3); border-bottom: 1px solid var(--hairline); padding-bottom: 10px;
}
.usp-tabelle tbody th { font-weight: 600; padding-right: 22px; }
.usp-tabelle td { color: var(--tinte-2); }
.usp-tabelle .usp-wir { background: var(--pfirsich); padding-left: 16px; padding-right: 16px; color: var(--tinte); }
.usp-tabelle thead .usp-wir { color: var(--koralle-tief); border-bottom-color: var(--koralle-ink); }
.usp-messung {
  color: var(--tinte-2); font-size: 0.85rem; max-width: 64ch; margin-top: 18px;
  padding-left: 14px; border-left: 2px solid var(--koralle);
}

/* Werkbank */
.wb-neu { margin-top: 26px; }
.wb-neu h2, .wb-liste h2, .wb-projekt h2 { font-size: 1.45rem; }
.wb-form {
  display: flex; flex-direction: column; gap: 14px; max-width: 640px;
  padding: 24px; background: var(--karte);
  border: 1px solid var(--hairline); border-radius: var(--radius-gross);
  box-shadow: var(--schatten-1);
}
.wb-form input, .wb-form textarea, .notiz-form textarea {
  font: inherit; padding: 10px 12px; border: 1px solid var(--hairline);
  border-radius: var(--radius); background: #fff; color: var(--tinte); min-width: 0;
}
.wb-form textarea, .notiz-form textarea { resize: vertical; }
.wb-form input:focus, .wb-form textarea:focus, .notiz-form textarea:focus {
  border-color: var(--koralle); outline: none; box-shadow: 0 0 0 3px rgba(229, 83, 61, 0.16);
}
.kategorie-wahl { border: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.kategorie-wahl legend { font-size: 0.82rem; font-weight: 600; color: var(--tinte-2); padding: 0; margin-bottom: 4px; width: 100%; }
.chip-check { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; min-height: 38px; }
.chip-check input { accent-color: var(--koralle-ink); width: 16px; height: 16px; margin: 0; }
.wb-liste { margin-top: 40px; }
.wb-projekt h1 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin: 8px 0 4px; }
.wb-aktionen { margin: 18px 0 30px; }
.wb-loeschen { margin-top: 26px; }
.btn-link-gefahr {
  background: none; border: none; cursor: pointer; font: inherit;
  font-size: 0.82rem; color: var(--koralle-tief); text-decoration: underline;
  padding: 10px 2px; min-height: 38px;
}
.btn-link-gefahr:hover { color: var(--koralle-ink); }

/* Sterne-, Status- und Notiz-Widgets */
.wb-feld-label { font-size: 0.82rem; font-weight: 600; color: var(--tinte-2); min-width: 64px; }
.sterne-form { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; margin: 14px 0 0; }
.stern {
  background: none; border: none; cursor: pointer; padding: 0;
  width: 38px; height: 38px; border-radius: var(--radius);
  font-size: 1.35rem; line-height: 1; color: var(--tinte-3);
}
.stern:hover { color: var(--honig); background: var(--sand); }
.stern-voll { color: var(--honig); }
.stern-reset {
  background: none; border: none; cursor: pointer; font: inherit;
  font-size: 0.8rem; color: var(--tinte-3); text-decoration: underline;
  padding: 8px; min-height: 38px;
}
.status-form { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 8px 0 0; }
.status-form select, .merken-form select {
  font: inherit; padding: 8px 10px; min-height: 38px; min-width: 0;
  border: 1px solid var(--hairline); border-radius: var(--radius);
  background: #fff; color: var(--tinte);
}
.status-form select:focus, .merken-form select:focus { border-color: var(--koralle); outline: none; box-shadow: 0 0 0 3px rgba(229, 83, 61, 0.16); }
.notiz-form { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin: 12px 0 0; }
.notiz-form textarea { width: 100%; }
.merken-form { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 12px 0 0; max-width: 480px; }
.merken-form select { flex: 1; }
.merken-leer { margin: 12px 0 0; font-size: 0.85rem; color: var(--tinte-3); }
.merken-ok { margin: 12px 0 0; font-weight: 600; color: var(--gruen-ok); }

/* Leerzustand mit Picto */
.leer-bild {
  display: flex; align-items: center; gap: 24px; max-width: 680px;
  background: var(--karte); border: 1px solid var(--hairline);
  border-radius: var(--radius-gross); padding: 24px 26px; box-shadow: var(--schatten-1);
}
.leer-bild .leer { margin: 0; }
@media (max-width: 560px) { .leer-bild { flex-direction: column; align-items: flex-start; } }

/* Seitenkopf (Fahrplan, Werkbank): Text links, Picto rechts */
.seiten-kopf { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; }
.seiten-kopf .picto-gross { margin-top: 14px; }
@media (max-width: 640px) { .seiten-kopf { flex-direction: column-reverse; align-items: flex-start; gap: 4px; } }

/* Berater: Projekt-Beratung + Antragsskizzen in der Werkbank */
.wb-beratung { margin: 8px 0 34px; }
.wb-beratung form { margin: 0 0 8px; }
.beratung-karte {
  background: var(--karte); border: 1px solid var(--hairline);
  border-radius: var(--radius-gross); padding: 18px 20px; margin-top: 14px;
  box-shadow: var(--schatten-1);
}
.ki-text { white-space: pre-wrap; overflow-wrap: anywhere; margin-top: 8px; font-size: 0.95rem; }
.beratung-archiv { margin-top: 12px; }
.beratung-archiv summary, .skizze summary { cursor: pointer; padding: 10px 0; font-weight: 600; font-size: 0.9rem; list-style: none; }
.skizze-form { margin: 12px 0 0; }
.skizze { margin-top: 10px; border-top: 1px solid var(--hairline-soft); }
.skizze-download { color: var(--koralle-tief); font-size: 0.9rem; }
.berater-meldung { color: var(--tinte-2); font-size: 0.9rem; margin: 8px 0 0; }

@media (max-width: 560px) {
  .suche-form { flex-wrap: wrap; border-radius: var(--radius-gross); padding: 0.9rem; }
  .suche-form input { flex: 1 1 100%; padding: 0.4rem 0.3rem; }
  .suche-form .btn { flex: 1 1 100%; }
  .fuss { padding-bottom: 88px; }
}
@media (prefers-reduced-motion: reduce) {
  .karte, .chip, .btn, .werkzeug { transition: none; }
}
