/* ==========================================================================
   baustellen.tools – Marke
   Schriften, Fuß mit Farbband, Startseite, Anmeldung, Registrierung und
   Rechtstexte. Farben, Maße und die Bausteine aller Seiten stehen in stil.css.
   ========================================================================== */

/* --- Schriften: lokal, SIL Open Font License (schriften/OFL-*.txt) --------- */

@font-face { font-family: "Outfit"; src: url("../schriften/outfit-regular.woff2") format("woff2"), url("../schriften/outfit-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../schriften/outfit-bold.woff2") format("woff2"), url("../schriften/outfit-bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("../schriften/worksans-regular.woff2") format("woff2"), url("../schriften/worksans-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("../schriften/worksans-bold.woff2") format("woff2"), url("../schriften/worksans-bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }

/* --- Kleinigkeiten, die nur mit der Marke Sinn haben ----------------------- */

.kopf--marke .kopf__wege > .knopf, .kopf__rechts > .knopf + .knopf { margin-left: 0.25rem; }
.marke a.karte:hover { border-color: #B9CDE4; }
.marke .lage__punkt { fill: var(--plan); }
.marke .bgs-mass:hover { fill: var(--plan); }

/* --- Fuß ------------------------------------------------------------------- */

.fussband { background: var(--nacht); color: var(--auf-nacht); }
.fussband a { color: #fff; }
.fussband a:hover { color: var(--himmel); }
.farbband {
  height: 14px;
  background: linear-gradient(112deg, var(--nacht-tief) 0 30%, var(--plan) 30% 54%, var(--himmel) 54% 78%, var(--nebel) 78% 100%);
}
.fussband__innen {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.2rem 2rem; align-items: start;
  padding: 2.6rem 0 2.2rem;
}
.fussband__marke img { width: 186px; height: 20px; }
.fussband__marke p { margin: 0.8rem 0 0; font-size: 0.95rem; }
.fussband__wege { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; justify-content: flex-end; font-size: 0.95rem; padding-top: 0.2rem; }
.fussband__marke { grid-row: span 2; }
.fussband__wege--werkzeuge a { font-weight: 700; }
/* Fuß nach Spalten: Werkzeuge je Kategorie, Hilfe, Rechtliches (web.fuss_spalten); die Sprachwahl steht bei der Marke */
.fussband__innen:has(.fussband__spalten) { grid-template-columns: minmax(13rem, 17rem) minmax(0, 1fr); gap: 1.6rem 3rem; }
.fussband__spalten { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1.6rem 1.5rem; }
.fussband__titel { margin: 0 0 0.55rem; font-family: inherit; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #93A6BC; }
.fussband__spalte ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.1rem; }
.fussband__spalte a { display: inline-block; padding: 0.3rem 0; font-size: 0.95rem; overflow-wrap: break-word; hyphens: auto; }
.fussband__spalte a[href^="mailto:"] { overflow-wrap: anywhere; hyphens: none; }
.fussband__sprache { display: flex; align-items: center; gap: 0.6rem; margin-top: 1rem; font-size: 0.9rem; color: #93A6BC; }
.fussband .sprachwahl__eintrag { color: #fff; min-width: 2.5rem; min-height: 2.5rem; }
.fussband .sprachwahl__eintrag[aria-current] { background: rgba(255, 255, 255, 0.14); color: #fff; }
.fussband .sprachwahl__eintrag--fehlt { color: #93A6BC; }
@media (max-width: 34rem) { .fussband__spalten { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fussband__spalte a { padding: 0.55rem 0; } }
.fussband__klein { grid-column: 1 / -1; margin: 0.6rem 0 0; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.85rem; color: #93A6BC; }

/* --- Anmeldung ------------------------------------------------------------- */

.anmeldung {
  max-width: 25rem; margin: clamp(1rem, 5vw, 3.5rem) auto 0; padding: 2.2rem 2rem 1.8rem;
  background: #fff; border: 1px solid var(--linie); border-radius: var(--rundung); box-shadow: var(--schatten);
}
.anmeldung__zeichen { width: 92px; height: 68px; margin: 0 auto 1rem; }
.anmeldung__titel { font-size: 1.6rem; text-align: center; margin-bottom: 1.2rem; }
.anmeldung__formular { max-width: none; }
.anmeldung__formular .knopf { width: 100%; }
.anmeldung__vergessen { align-self: flex-end; margin-top: -0.55rem; font-size: 0.86rem; }
.anmeldung__fuss { margin: 1.3rem 0 0; padding-top: 1.1rem; border-top: 1px solid var(--linie); font-size: 0.9rem; color: var(--neben); text-align: center; }

/* Registrierung: dieselbe Karte, breiter, Felder zweispaltig */
.anmeldung--breit { max-width: 35rem; }
.anmeldung__text { margin: -0.3rem 0 1.4rem; text-align: center; color: var(--neben); font-size: 0.95rem; line-height: 1.55; }
.anmeldung__aktion { text-align: center; }
.registrierung { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.95rem 0.9rem; }
.registrierung .voll { grid-column: 1 / -1; }
.registrierung__name { margin: -0.35rem 0 0; font-size: 0.86rem; color: var(--neben); line-height: 1.5; }
.registrierung__name b { color: var(--plan); font-family: var(--anzeige); font-size: 0.95rem; }
.registrierung__regel { margin: -0.5rem 0 0; font-size: 0.82rem; color: var(--neben); }
.registrierung__zustimmung { align-items: flex-start !important; line-height: 1.5; font-size: 0.88rem; }
.registrierung__zustimmung input { margin-top: 0.25rem; flex: none; }
.registrierung__weiter { margin: -0.35rem 0 0; text-align: center; line-height: 1.5; }

/* Registrierung mit Buchung (vom Preisrechner): die Buchung steht als eigener Kasten über den Kontofeldern */
.reg-buchung {
  display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 0.85rem 0.9rem; align-items: end;
  min-width: 0; margin: 0 0 0.35rem; padding: 1rem 1.1rem 1.05rem;
  background: var(--stempel-hell); border: 1px solid #B9CDE4; border-radius: var(--rundung-klein);
}
.reg-buchung__titel { float: left; width: 100%; grid-column: 1 / -1; padding: 0; font-family: var(--anzeige); font-weight: 700; font-size: 1.02rem; color: var(--tinte); }
.reg-buchung__projekt { grid-column: 1 / -1; }
.formular .reg-buchung label { color: var(--tinte); }
.formular .reg-buchung__zahl input { width: 5.6rem; font-variant-numeric: tabular-nums; }
.formular .reg-buchung__zahl small { display: inline; color: var(--neben); }
.reg-buchung .reg-buchung__zahlweise { justify-self: end; background: #fff; border: 1px solid #C9D9EB; }
.reg-buchung .reg-buchung__zahlweise input:checked + span { background: var(--plan); color: #fff; box-shadow: none; }
.reg-buchung__summe { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.2rem 1rem; margin: 0.1rem 0 0; padding-top: 0.8rem; border-top: 1px solid #C9D9EB; }
.reg-buchung__rechnung { font-size: 0.9rem; color: var(--neben); font-variant-numeric: tabular-nums; }
.reg-buchung__betrag { font-family: var(--anzeige); font-size: 1.45rem; line-height: 1.1; color: var(--tinte); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.reg-buchung__betrag span + span { font-family: var(--schrift); font-size: 0.9rem; font-weight: 400; color: var(--neben); letter-spacing: 0; }
.reg-buchung__klein { grid-column: 1 / -1; margin: 0; font-size: 0.82rem; line-height: 1.5; color: var(--neben); }
.bestaetigung__buchung { margin: -0.6rem 0 1.3rem; padding: 0.7rem 0.9rem; background: var(--stempel-hell); border: 1px solid #B9CDE4; border-radius: var(--rundung-klein); font-size: 0.9rem; line-height: 1.5; color: var(--tinte); text-align: center; }

/* Bestätigungscode: ein Feld, große Ziffern mit festem Abstand (Einfügen und Autofill bleiben einfach) */
.bestaetigung__adresse { color: var(--tinte); overflow-wrap: anywhere; }
.bestaetigung__formular label { color: var(--tinte); }
.formular .bestaetigung__code {
  font-family: var(--anzeige); font-size: 1.85rem; font-weight: 700; line-height: 1.2;
  letter-spacing: 0.42em; text-align: center; padding: 0.6rem 0 0.6rem 0.42em;
  font-variant-numeric: tabular-nums; color: var(--tinte);
}
.bestaetigung__code::placeholder { color: var(--stahl); font-weight: 400; }
.bestaetigung__frist { margin: -0.35rem 0 0; font-size: 0.86rem; color: var(--neben); }
.bestaetigung__weiter {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.7rem 1rem;
  margin-top: 1.2rem; font-size: 0.92rem;
}
.bestaetigung__weiter form { margin: 0; }
.bestaetigung__weiter .knopf[disabled] { opacity: 0.55; cursor: default; }
.bestaetigung__weiter .knopf[disabled]:hover { background: var(--karton); border-color: var(--linie); }
.bestaetigung__grenze { margin: 0; color: var(--neben); }

/* Sprungziele (/konto#email) nicht unter dem festen Kopf */
.marke .abschnitt[id] { scroll-margin-top: 6.5rem; }

/* Kontoseite: Code für eine neue E-Mail-Adresse – dieselben Ziffern, kleiner, in der Zeile */
.formular .bestaetigung__code.konto-email__code { font-size: 1.35rem; width: 9.5em; max-width: 100%; }
.konto-email__text { margin: 0 0 0.9rem; max-width: 46rem; line-height: 1.55; }
.konto-email__fehler { margin: -0.9rem 0 0.8rem; }
.konto-email__weiter { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.5rem; }
.konto-email__weiter form { margin: 0; }
.konto-email__weiter .knopf[disabled] { opacity: 0.55; cursor: default; }
.konto-email__weiter .knopf[disabled]:hover { background: var(--karton); border-color: var(--linie); }

/* --- Rechtstexte ----------------------------------------------------------- */

.rechtstext { padding-bottom: clamp(3rem, 7vw, 5rem); }
.rechtstext h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.rechtstext h2 { font-size: 1.2rem; }
.rechtstext h2[id] { scroll-margin-top: 5.5rem; }      /* Sprungziel (z. B. #cookies) nicht unter dem Kopf */
.rechtstext__fehlt { color: var(--fehler); font-weight: 700; }

/* --- Editor (Bauablaufplaner) ---------------------------------------------- */

.ed-kopf__marke { display: block; flex: none; }
.ed-kopf__marke img { width: 30px; height: 30px; border-radius: 7px; }
.marke #ed-name { font-family: var(--anzeige); font-weight: 700; }


/* ==========================================================================
   Öffentliche Seiten: Abschnitte, Fragen, Aufruf, Zahlweise-Schalter
   Gemeinsam für Startseite, Werkzeugseiten und Registrierung. Alles, was nur die Startseite braucht,
   steht in startseite.css (nur dort eingebunden).
   ========================================================================== */


/* Startseite und Werkzeugseiten (Körperklasse „startseite“): Überschriften in der Schrift des Schriftzugs, Kopf haftet oben */
.startseite { font-size: 1.0625rem; line-height: 1.6; --anzeige: var(--plakat); --anzeige-weite: -0.015em; }
.startseite .kopf--marke { position: sticky; }
.startseite .kopf__wege { justify-content: flex-end; }

/* Kopf für Besucher: die Wege rechts in einer Zeile; am schmalen Bildschirm stehen sie im Menü (details#haupt-menue),
   „Kostenlos starten“ bleibt daneben sichtbar. Tippziele dort mindestens 44 px. */
.kopf--besucher .kopf__wege { justify-content: flex-end; }
/* Lösungen im Kopf: aufklappbar, je Eintrag Name und für wen */
.kopf__loesungen > summary { list-style: none; }
.kopf__loesungen > summary::-webkit-details-marker { display: none; }
.kopf__loesungen > summary .zeichen { transition: transform var(--dauer); }
.kopf__loesungen[open] > summary .zeichen { transform: rotate(180deg); }
.kopf__loesungen .menue__liste { min-width: 21rem; padding: 0.5rem; }
.menue__eintrag--zwei { flex-direction: column; align-items: flex-start; gap: 0.1rem; white-space: normal; padding: 0.6rem 0.75rem; }
.menue__eintrag--zwei small { font-size: 0.82rem; line-height: 1.35; color: var(--neben); }
.hauptmenue__titel { margin: 0.5rem 0.7rem 0.15rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--neben); }
.hauptmenue__liste .hauptmenue__unter { padding-left: 1.3rem; }
.hauptmenue { display: none; }
.hauptmenue__knopf { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: var(--rundung-klein); color: var(--tinte); }
.hauptmenue__knopf:hover, .hauptmenue[open] > .hauptmenue__knopf { background: var(--nebel); }
.hauptmenue__knopf:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
.hauptmenue__liste { width: min(19rem, calc(100vw - 1rem)); padding: 0.5rem; }
.hauptmenue__liste .menue__eintrag { min-height: 2.75rem; font-size: 1.02rem; }
.hauptmenue__liste .menue__sprache { padding: 0.5rem 0.7rem 0.2rem; margin-top: 0.35rem; }
.kopf--marke .hauptmenue__liste .sprachwahl__eintrag { min-width: 2.75rem; min-height: 2.75rem; padding: 0 0.5rem; }
.hauptmenue__start { display: flex; justify-content: center; width: 100%; min-height: 2.9rem; margin-top: 0.6rem; }
@media (max-width: 56rem) {
  .kopf--besucher .kopf__wege, .kopf--besucher .kopf__anmelden, .kopf--besucher .kopf__rechts > .sprachwahl { display: none; }
  .hauptmenue { display: block; }
  .kopf--besucher .kopf__registrieren { min-height: 2.75rem; }
  .kopf--besucher .kopf__rechts { gap: 0.35rem; }
}
@media (max-width: 26rem) { .kopf--besucher .logo__wort { width: 104px; height: 12px; } .kopf--besucher .kopf__innen { gap: 0.4rem; } }
@media (max-width: 21.5rem) { .kopf--besucher .logo__wort { display: none; } }

/* Stichpunkte mit einer kleinen Raute */
.rauten { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.rauten li { position: relative; padding-left: 1.45rem; }
.rauten li::before {
  content: ""; position: absolute; left: 0.15rem; top: 0.52em; width: 0.46rem; height: 0.46rem;
  border: 2px solid var(--raute, var(--plan)); border-radius: 1px; transform: rotate(45deg);
}

.abschnitt-st { padding: clamp(3.5rem, 8vw, 6rem) 0; scroll-margin-top: 4rem; }
.abschnitt-st__titel { font-size: clamp(1.8rem, 3.4vw, 2.5rem); line-height: 1.12; letter-spacing: -0.02em; max-width: 24ch; text-wrap: balance; }
.abschnitt-st__einleitung { margin: 1rem 0 0; max-width: 40rem; font-size: 1.08rem; color: var(--neben); }

/* Fragen */
.fragen { background: #fff; border-top: 1px solid var(--linie); }
.fragen__innen { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 2rem clamp(2rem, 6vw, 5rem); align-items: start; }
.fragen__liste details { border-bottom: 1px solid var(--linie); }
.fragen__liste details:first-child { border-top: 1px solid var(--linie); }
.fragen__liste summary {
  list-style: none; cursor: pointer; position: relative; padding: 1.1rem 2.5rem 1.1rem 0;
  font-family: var(--anzeige); font-weight: 700; font-size: 1.08rem; color: var(--tinte);
}
.fragen__liste summary::-webkit-details-marker { display: none; }
.fragen__liste summary::after {
  content: ""; position: absolute; right: 0.4rem; top: 50%; width: 0.6rem; height: 0.6rem; margin-top: -0.45rem;
  border-right: 2px solid var(--plan); border-bottom: 2px solid var(--plan); transform: rotate(45deg); transition: transform 0.15s ease;
}
.fragen__liste details[open] summary::after { transform: rotate(225deg); margin-top: -0.15rem; }
.fragen__liste summary:hover { color: var(--plan); }
.fragen__liste details p { margin: 0 0 1.2rem; max-width: 40rem; color: #2D3F55; }

/* Aufruf: Nachtblau mit der Diagonale des Markenbogens */
.aufruf { position: relative; overflow: hidden; isolation: isolate; background: var(--nacht); color: var(--auf-nacht); padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.aufruf::before, .aufruf::after { content: ""; position: absolute; inset: 0; z-index: -1; }
.aufruf::before { background: var(--plan); clip-path: polygon(calc(100% - 300px) 0, calc(100% - 246px) 0, calc(100% - 386px) 100%, calc(100% - 440px) 100%); }
.aufruf::after { background: var(--himmel); opacity: 0.75; clip-path: polygon(calc(100% - 234px) 0, calc(100% - 226px) 0, calc(100% - 366px) 100%, calc(100% - 374px) 100%); }
.aufruf__innen { display: grid; justify-items: start; gap: 0.9rem; }
.aufruf__titel { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.12; max-width: 20ch; }
.aufruf__text { margin: 0 0 0.8rem; font-size: 1.08rem; }
.aufruf__kontakt { margin: 0.6rem 0 0; font-size: 0.95rem; color: #9FB3C9; }
.aufruf__kontakt a { color: #fff; text-decoration-color: var(--himmel); text-underline-offset: 0.2em; }

/* Zahlweise als Schalter (Preisrechner der Startseite, Registrierung mit Buchung) */
.rechner__zahlweise, .reg-buchung__zahlweise { display: inline-flex; padding: 3px; background: var(--nebel); border-radius: 999px; }
.rechner__zahlweise label, .reg-buchung__zahlweise label { position: relative; display: block; margin: 0; cursor: pointer; }
.rechner__zahlweise input, .reg-buchung__zahlweise input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.rechner__zahlweise span, .reg-buchung__zahlweise span { display: block; padding: 0.42rem 0.95rem; border-radius: 999px; font-size: 0.9rem; font-weight: 400; color: var(--neben); line-height: 1.3; }
.rechner__zahlweise input:checked + span, .reg-buchung__zahlweise input:checked + span { background: #fff; color: var(--tinte); font-weight: 700; box-shadow: 0 1px 2px rgba(14, 35, 64, 0.16); }
.rechner__zahlweise input:focus-visible + span, .reg-buchung__zahlweise input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 2px; }

@media (max-width: 62rem) {
  .aufruf::before, .aufruf::after { opacity: 0.35; }
}
@media (max-width: 56rem) {
  .fragen__innen { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .fragen__liste summary::after { transition: none; }
}
@media print {
  .aufruf, .fussband .farbband { display: none; }
}

/* --- Pfad (Brotkrumen) auf allen Unterseiten: Werkzeugseiten, Lösungen, Bibliothek, Handbuch, Rechtstexte --- */
.ws-pfad { display: flex; flex-wrap: wrap; gap: 0.2rem 0.5rem; margin: 0 0 1rem; font-size: 0.9rem; color: var(--neben); }
.ws-pfad a { color: var(--neben); }
.ws-pfad a:hover { color: var(--plan); }
.ws-pfad span:last-child { color: var(--ebene, var(--tinte)); font-weight: 700; }

/* --- Alle Seiten: schmalere Bildschirme ---------------------------------------- */

@media (max-width: 56rem) {
  .fussband__innen, .fussband__innen:has(.fussband__spalten) { grid-template-columns: 1fr; }
  .fussband__wege { justify-content: flex-start; }
}

@media (max-width: 40rem) {
  .registrierung { grid-template-columns: minmax(0, 1fr); }
  .reg-buchung { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 0.9rem 0.85rem 0.95rem; }
  .formular .reg-buchung__zahl input { width: 100%; }
  .reg-buchung .reg-buchung__zahlweise { grid-column: 1 / -1; justify-self: start; }
  .rechner__knopf { margin-left: 0; width: 100%; min-width: 0; white-space: normal; }
  .rechner__buchen { min-width: 0; }
  .anmeldung { padding: 1.8rem 1.2rem 1.5rem; }
}

/* --- Cookie-Hinweis (nur notwendige Cookies, kein Einwilligungsdialog) ---- */

.cookie-hinweis {
  position: fixed; left: 1rem; bottom: 1rem; z-index: 60;
  width: min(27rem, calc(100vw - 2rem));
  padding: 1rem 1.15rem 1.05rem;
  background: var(--nacht); color: var(--auf-nacht);
  border: 1px solid rgba(255, 255, 255, 0.16);           /* hebt sich auch vom nachtblauen Kopfbereich ab */
  border-radius: var(--rundung);
  box-shadow: 0 2px 4px rgba(14, 35, 64, 0.18), 0 18px 40px -12px rgba(14, 35, 64, 0.55);
  font-size: 0.9rem; line-height: 1.5;
}
.cookie-hinweis[hidden] { display: none; }
.cookie-hinweis__titel { margin: 0 0 0.3rem; font-family: var(--anzeige); font-weight: 700; font-size: 1rem; color: #fff; letter-spacing: -0.01em; }
.cookie-hinweis__text { margin: 0 0 0.85rem; }
.cookie-hinweis__wege { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; }
.cookie-hinweis__wege a { color: var(--himmel); }
.cookie-hinweis__wege a:hover { color: #fff; }
.cookie-hinweis :focus-visible { outline-color: var(--himmel); }
@media (max-width: 600px) {
  .cookie-hinweis { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; width: auto; }
}
@media print { .cookie-hinweis { display: none; } }

/* --- Einladung in ein Team (dieselbe Karte wie die Anmeldung) ------------------------------- */
.einladung__titel { line-height: 1.2; text-wrap: balance; }
.einladung__projekt { display: block; color: var(--plan); }
.einladung__fakten {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem 1rem; margin: 0 0 1.4rem; padding: 0.8rem 0.9rem;
  border-radius: var(--rundung-klein); background: var(--nebel);
}
.einladung__fakten div { min-width: 0; }
.einladung__fakt--breit { grid-column: 1 / -1; }
.einladung__fakten dt { font-size: 0.78rem; color: var(--neben); }
.einladung__fakten dd { margin: 0.1rem 0 0; font-weight: 700; font-size: 0.92rem; overflow-wrap: anywhere; line-height: 1.35; }
.einladung__fakten dd small { font-weight: 400; color: var(--neben); }
.einladung__konto { margin: 0 0 1rem; line-height: 1.55; }
.einladung__klein { margin: 0.8rem 0 0; font-size: 0.88rem; color: var(--neben); text-align: center; }
.einladung__ablehnen {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; margin: 1.4rem 0 0; padding-top: 1.1rem;
  border-top: 1px solid var(--linie); font-size: 0.86rem; color: var(--neben);
}
.einladung__ablehnen span { flex: 1 1 14rem; line-height: 1.45; }
@media (max-width: 34rem) { .einladung__fakten { grid-template-columns: minmax(0, 1fr); } }


.st-bibliothek .st-weiter { margin-left: auto; }
/* sehr schmale Handys (bis 368 px), angemeldet: die Wortmarke kleiner, damit „Projekte“ und der Kontoknopf nebeneinander passen */
@media (max-width: 23rem) { .kopf--konto .logo__wort { width: 104px; height: 12px; } .kopf--konto .kopf__innen { gap: 0.4rem; } .kopf--konto .kopf__weg { padding-left: 0.35rem; padding-right: 0.35rem; } }
@media (max-width: 21rem) { .kopf--konto .logo__wort { display: none; } }

/* --- Kopf am schmalen Bildschirm (stand früher im Abschnitt des Handbuchs, gilt aber für alle Seiten) --- */
/* Im Kopf ist auf dem Handy kein Platz für „Handbuch“: Angemeldet steht es im Kontomenü, sonst im Fuß der Seite */
@media (max-width: 40rem) { .kopf__weg--handbuch, .kopf__weg--werkzeuge { display: none; } }          /* stehen im Kontomenü und im Fuß */
@media (max-width: 26rem) { .kopf--marke .sprachwahl { margin-right: 0; } .kopf--marke .sprachwahl__eintrag { min-width: 1.9rem; padding: 0 0.25rem; } }
/* angemeldet am Handy: neben Logo, „Projekte“ und Kontoknopf ist kein Platz – die Sprachwahl steht dann im Kontomenü */
.menue__sprache { display: none; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.35rem 0.9rem; font-size: 0.92rem; color: var(--neben); }
.menue__sprache--immer { display: flex; border-top: 1px solid var(--linie, #e3e6eb); margin-top: 0.5rem; padding: 0.5rem 0 0; }   /* im Menü der Werkzeuge: immer */
@media (max-width: 34rem) { .kopf--konto .kopf__rechts > .sprachwahl { display: none; } .menue__sprache { display: flex; } }

/* --- Startseite: Zeile „Alle Werkzeuge“ unter den Reitern, Verweis an einer Station --- */
.station__mehr { display: inline-block; margin-top: 0.5rem; font-weight: 700; }
.station__mehr::after { content: " ›"; }
.st-bibliothek { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.7rem; margin: 2rem 0 0; padding: 0.9rem 1.1rem; border: 1px solid var(--linie, #D9E0E8); border-radius: var(--rundung, 10px); background: #fff; }
.st-bibliothek__titel { font-weight: 700; margin-right: 0.3rem; }
.st-bibliothek__eintrag { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.3rem 0.75rem; border-radius: 999px; background: var(--ebene-hell, var(--grund)); color: var(--tinte); text-decoration: none; font-size: 0.95rem; }
.st-bibliothek__eintrag:hover { color: var(--ebene, var(--plan-tief)); }
