/* Styling der serverseitig gerenderten SEO-Seiten (Phase 9b):
   /ziel/:slug, /kategorie/:slug, /ort/:slug.
   Bewusst eigenstaendig und schlank gehalten - diese Seiten laden weder
   Leaflet noch die App-Module, sondern nur reset.css, variables.css und
   diese Datei. */

body {
  background: var(--color-background);
  color: var(--color-text);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
}

a {
  color: var(--color-primary-dark);
}

/* --- Kopf-/Fusszeile --- */
/*
 * Aufbau nach dem Vorbild einer Dienstleistungsseite (2026-08-01): farbig
 * abgesetzte Kopfzeile, darunter ein Hero, dann Abschnitte mit wechselndem
 * Untergrund, zum Schluss eine dunkle Fusszeile. Die Farben bleiben die
 * bisherigen - neu ist nur die Gliederung.
 */

.seo-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  /* Verlauf statt einer Flaeche: Er traegt die Kopfzeile in den Hero hinein,
     sodass beide als ein Block wirken. */
  background: linear-gradient(135deg, var(--color-primary-deep), var(--color-primary));
  color: #fff;
}

.seo-header__brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-decoration: none;
}

/* logo-white.png ist eine weisse Silhouette und steht damit ohne Zutat auf
   dem dunklen Verlauf. Frueher lag hier eine weisse Kachel darunter - die
   stammte aus der Zeit des dunklen Logos und machte das weisse unsichtbar. */
.seo-header__logo {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
}

.seo-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.92rem;
}

.seo-nav a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.seo-nav a:hover,
.seo-nav a:focus {
  color: #fff;
  text-decoration: underline;
}

/* Der eine hervorgehobene Weg der Kopfzeile. Mehr als einer waere keiner. */
.seo-nav__cta {
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-md);
  font-weight: 600;
}

/* --- Hero --- */

.seo-hero {
  padding: 72px var(--space-lg) 80px;
  background: linear-gradient(135deg, var(--color-primary-deep), var(--color-primary));
  color: #fff;
  text-align: center;
}

/* Kopfbereich mit Foto (Zielseiten).
 *
 * Drei Ebenen in einem eigenen Stapel (isolation): unten der Verlauf des
 * Kopfbereichs als Rueckfall, wenn das Bild nicht laedt, darueber das Foto,
 * darueber ein Schleier - und erst darauf der Text. Die negativen z-index
 * ersparen dabei einen zusaetzlichen Behaelter um den Inhalt.
 *
 * Mehr Luft nach oben und unten als beim farbigen Kopfbereich: Der Text steht
 * ohnehin in der Mitte, der Zuwachs ist genau die Flaeche, auf der das Foto
 * unverdeckt zu sehen ist.
 */
.seo-hero--image {
  position: relative;
  isolation: isolate;
  padding: 104px var(--space-lg) 112px;
  /* Faengt die weissen Stellen im Bild ab, an denen der Schleier allein zu
     wenig waere. Auf den Knoepfen wieder aufgehoben - dort steht dunkle
     Schrift auf hellem Grund. */
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.seo-hero__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  /* cover statt contain: Der Kopfbereich ist eine Flaeche, kein Bilderrahmen -
     ein Foto mit Balken links und rechts saehe aus wie ein Fehler. */
  object-fit: cover;
}

/* Der Schleier. Die Werte sind nicht frei gewaehlt: Bei 55 % bleibt selbst
   eine weisse Bildstelle dunkel genug, dass weisse Schrift darauf das
   Kontrastverhaeltnis 4,5:1 der WCAG erreicht. Oben und unten etwas mehr,
   weil dort die kleinen Angaben stehen - in der Mitte, hinter der grossen
   Ueberschrift, bleibt das Foto am hellsten. */
.seo-hero--image::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(8, 26, 8, 0.68) 0%,
    rgba(8, 26, 8, 0.55) 45%,
    rgba(8, 26, 8, 0.72) 100%
  );
}

/* Auf einem Foto traegt die Abstufung nicht mehr - die Angaben stehen sonst
   je nach Bildstelle im Nichts. */
.seo-hero--image .seo-hero__lead {
  opacity: 1;
}

.seo-hero--image .seo-hero__meta {
  opacity: 0.95;
}

/* Dunkel statt hell hinterlegt: Auf einem hellen Foto verschwaende die
   weisse Fuellung, die auf dem Verlauf richtig ist. */
.seo-hero--image .seo-hero__badge {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(0, 0, 0, 0.35);
}

.seo-hero--image .place__button {
  text-shadow: none;
}

/* Der Bildnachweis: sichtbar, aber als Letztes zu lesen. */
.seo-hero__credit {
  margin-top: var(--space-lg);
  font-size: 0.78rem;
  opacity: 0.85;
}

.seo-hero__credit a {
  color: inherit;
  text-decoration: underline;
}

.seo-hero__badge {
  display: inline-block;
  margin-bottom: var(--space-lg);
  padding: 6px 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.seo-hero h1 {
  max-width: 760px;
  margin: 0 auto var(--space-md);
  /* clamp statt Medienabfragen: Die Ueberschrift waechst stufenlos mit der
     Breite, statt an zwei Punkten zu springen. */
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
}

.seo-hero__lead {
  max-width: 640px;
  margin: 0 auto var(--space-xl);
  font-size: 1.05rem;
  opacity: 0.92;
}

.seo-hero__btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

/* Kurze Belege unter den Knoepfen - je Angabe ein Haken. */
.seo-hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: 40px;
  font-size: 0.88rem;
  opacity: 0.8;
}

.seo-hero__meta span::before {
  content: '\2713\00a0\00a0';
  font-weight: 700;
}

/* --- Abschnitte --- */

.seo-section {
  padding: 72px var(--space-lg);
}

/* Wechselnder Untergrund: Er trennt die Abschnitte ohne Linien und macht
   auf einer langen Seite ueberhaupt erst erkennbar, wo einer endet. */
.seo-section:nth-of-type(even) {
  background: var(--color-surface-alt);
}

.seo-container {
  max-width: 1080px;
  margin: 0 auto;
}

/* Schmaler fuer Fliesstext: Ueber 70 Zeichen je Zeile wird Lesen anstrengend. */
.seo-container--narrow {
  max-width: 760px;
}

/* Schlussaufruf eines Abschnitts: ein einzelner Knopf, mittig. */
.seo-cta {
  text-align: center;
}

.seo-label {
  display: block;
  margin-bottom: var(--space-sm);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-primary);
}

.seo-section__title {
  margin-bottom: var(--space-sm);
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 800;
  color: var(--color-primary-dark);
}

.seo-section__lead {
  max-width: 680px;
  margin: 0 auto var(--space-xl);
  text-align: center;
  color: var(--color-text-muted);
}

/* --- Kacheln --- */

.seo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-lg);
}

.seo-card {
  padding: var(--space-xl);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
}

.seo-card__icon {
  display: block;
  margin-bottom: var(--space-sm);
  font-size: 2rem;
  line-height: 1;
}

.seo-card__title {
  margin-bottom: var(--space-xs);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.seo-card__text {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* --- Nummerierter Ablauf --- */

.seo-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: var(--space-lg);
  /* Die Nummern zaehlt CSS, nicht die Vorlage: So bleibt die Reihenfolge auch
     dann richtig, wenn ein Schritt dazukommt oder wegfaellt. */
  counter-reset: schritt;
  list-style: none;
  padding: 0;
}

.seo-step {
  counter-increment: schritt;
  padding: var(--space-xl) var(--space-lg);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  text-align: center;
}

.seo-step::before {
  content: counter(schritt);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: var(--space-md);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
}

.seo-step__title {
  margin-bottom: var(--space-xs);
  font-weight: 700;
  color: var(--color-primary-dark);
}

.seo-step__text {
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

/* --- Aufklappbare Fragen --- */

.seo-faq {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

/* <details> statt einer Nachbildung mit JavaScript: Der Browser kann das
   selbst, samt Tastaturbedienung und Vorlesen. */
.seo-faq details {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.seo-faq summary {
  padding: var(--space-md) var(--space-lg);
  font-weight: 600;
  cursor: pointer;
  color: var(--color-primary-dark);
}

.seo-faq details[open] summary {
  border-bottom: 1px solid var(--color-border);
}

.seo-faq__body {
  padding: var(--space-md) var(--space-lg);
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* --- Fusszeile --- */

.seo-footer {
  padding: var(--space-xl) var(--space-lg);
  background: var(--color-primary-deep);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.85rem;
  text-align: center;
}

.seo-footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: underline;
}

.seo-footer__legal {
  margin-top: var(--space-sm);
}

.seo-footer__credit {
  margin-top: var(--space-sm);
  font-size: 0.8rem;
  opacity: 0.75;
}

/* --- Brotkruemelnavigation --- */

.seo-breadcrumbs {
  max-width: 1080px;
  margin: 0 auto;
  padding: var(--space-md) var(--space-lg) 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.seo-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  list-style: none;
  padding: 0;
  margin: 0;
}

.seo-breadcrumbs li:not(:last-child)::after {
  content: '\203a';
  margin-left: var(--space-xs);
}

/* --- Grundlayout --- */

.seo-main {
  max-width: 1080px;
  margin: 0 auto;
  padding: var(--space-lg);
}

/* Inhaltsseiten (Ziel, Impressum, Datenschutz) bleiben schmal - dort steht
   Fliesstext, kein Raster. */
.seo-main--narrow {
  max-width: 800px;
}

@media (max-width: 720px) {
  .seo-hero {
    padding: 48px var(--space-md) 56px;
  }

  /* Muss hinter .seo-hero stehen: gleiche Spezifitaet, es gewinnt die
     spaetere Regel. */
  .seo-hero--image {
    padding: 72px var(--space-md) 80px;
  }

  .seo-section {
    padding: 48px var(--space-md);
  }
}

/* --- Detailseite --- */

.place__category {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--category-color, var(--color-text-muted));
  margin-bottom: var(--space-xs);
}

.place__category a {
  color: inherit;
}

.place__title {
  font-size: 2rem;
  line-height: 1.25;
  margin-bottom: var(--space-sm);
}

.place__lead {
  font-size: 1.1rem;
  color: var(--color-text-muted);
}

.place__description {
  margin: var(--space-lg) 0;
}

.place__description p + p {
  margin-top: var(--space-md);
}

.place__section {
  margin-top: var(--space-lg);
  padding: var(--space-lg);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
}

.place__section h2 {
  font-size: 1.15rem;
  margin-bottom: var(--space-md);
}

.place__facts {
  display: grid;
  gap: var(--space-sm);
}

.place__fact {
  display: grid;
  grid-template-columns: minmax(9rem, 30%) 1fr;
  gap: var(--space-md);
}

.place__fact dt {
  color: var(--color-text-muted);
}

.place__facilities,
.place__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  list-style: none;
  padding: 0;
}

.place__facilities li,
.place__tags li {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-xs) var(--space-sm);
  font-size: 0.9rem;
}

.place__address {
  font-style: normal;
  margin-bottom: var(--space-md);
}

.place__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.place__button {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  background: var(--color-primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.place__button:hover,
.place__button:focus {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Auf dem farbigen Hero kehrt sich das Verhaeltnis um: weisser Grund,
   gruene Schrift. Sonst verschwaende der Knopf im Verlauf. */
.seo-hero .place__button {
  background: #fff;
  color: var(--color-primary-dark);
}

.seo-hero .place__button--secondary {
  background: var(--color-surface);
  color: var(--color-primary-dark);
  border: 1px solid var(--color-border);
}

.place__button--secondary {
  background: var(--color-surface);
  color: var(--color-primary-dark);
  border: 1px solid var(--color-border);
}

.place__related {
  margin-top: var(--space-xl);
  color: var(--color-text-muted);
}

/* --- Landingpages (Kategorie/Ort) --- */

.listing__header {
  margin-bottom: var(--space-lg);
}

.listing__header h1 {
  font-size: 1.85rem;
  line-height: 1.25;
}

.listing__count {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.listing__intro {
  margin-top: var(--space-sm);
}

.listing__items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
  list-style: none;
  padding: 0;
  margin: 0;
}

.card {
  height: 100%;
  padding: var(--space-lg);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  /* Hebt sich beim Ueberfahren leicht an - dieselbe Bewegung wie bei den
     Knoepfen, damit die Seite eine Sprache spricht. */
  transition: transform 0.15s, box-shadow 0.15s;
}

.card:hover,
.card:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.12);
}

.card__category {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--category-color, var(--color-text-muted));
}

.card__title {
  font-size: 1.1rem;
  margin: var(--space-xs) 0;
}

.card__title a {
  text-decoration: none;
}

.card__title a:hover,
.card__title a:focus {
  text-decoration: underline;
}

.card__text {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.card__meta {
  margin-top: var(--space-xs);
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.listing__siblings {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.listing__siblings h2 {
  font-size: 1.05rem;
  margin-bottom: var(--space-sm);
}

.listing__siblings ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-md);
  list-style: none;
  padding: 0;
  font-size: 0.95rem;
}

.listing__siblings span {
  color: var(--color-text-muted);
}

@media (min-width: 700px) {
  .listing__items {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Impressum und Datenschutz in der Fusszeile aller oeffentlichen Seiten. */
.seo-footer__legal {
  margin-top: var(--space-xs);
}

/* --- Rechtstexte (Impressum, Datenschutz) --------------------------------
   Lange Fliesstexte: hier zaehlt Lesbarkeit, nicht Gestaltung. Etwas mehr
   Zeilenabstand als im uebrigen Projekt, klare Abstaende vor den
   Zwischenueberschriften, damit die Abschnitte auffindbar bleiben. */

.legal {
  line-height: 1.6;
}

.legal h1 {
  font-size: 1.6rem;
  margin-bottom: var(--space-md);
}

.legal h2 {
  font-size: 1.1rem;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.legal p,
.legal ul {
  margin-bottom: var(--space-md);
}

.legal ul {
  padding-left: 1.25em;
  display: grid;
  gap: var(--space-xs);
}

.legal__lead {
  font-size: 1.05rem;
  padding: var(--space-md);
  border-left: 3px solid var(--color-primary);
  background: var(--color-background);
}

.legal__address {
  font-style: normal;
  margin-bottom: var(--space-md);
}

/* Unuebersehbar: eine unvollstaendige Pflichtseite darf nicht wie eine
   fertige aussehen. */
.legal__warning {
  padding: var(--space-md);
  border: 2px solid var(--color-danger);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-danger);
}

.legal__updated {
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* --- Anleitung "Karte einbetten" (Phase 13i) ------------------------------ */

.embed-guide__lead {
  font-size: 1.05rem;
  margin-bottom: var(--space-lg);
}

.embed-guide__list,
.embed-guide__steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding-left: var(--space-lg);
}

.embed-guide__list {
  list-style: disc;
}

.embed-guide__steps {
  list-style: decimal;
}

/* Karte und Eingabefelder nebeneinander, auf dem Smartphone untereinander -
   die Karte zuerst, weil dort der Standort gewählt wird. */
.embed-guide__picker {
  display: grid;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

@media (min-width: 720px) {
  .embed-guide__picker {
    grid-template-columns: 2fr 1fr;
  }
}

.embed-guide__map {
  height: 320px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.embed-guide__map p {
  padding: var(--space-md);
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.embed-guide__controls {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.embed-guide__field {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.embed-guide__field label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.embed-guide__field input,
.embed-guide__field select,
.embed-guide__field textarea {
  padding: var(--space-sm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.9rem;
}

.embed-guide__field textarea {
  /* Der Schnipsel ist Quelltext - dafür eine feste Laufweite, sonst rutschen
     die Zeilen auseinander und wirken fehlerhaft. */
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.8rem;
  resize: vertical;
}

.embed-guide__categories {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  margin-bottom: var(--space-md);
}

.embed-guide__checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs) var(--space-md);
  margin-top: var(--space-xs);
}

.embed-guide__checkboxes label {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.9rem;
}

.embed-guide__count {
  margin: var(--space-sm) 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Ein zu kleiner Umkreis ist der häufigste Fehlgriff - er soll auffallen,
   bevor der Text kopiert wird. */
.embed-guide__count--warn {
  color: var(--color-danger);
  font-weight: 600;
}

.embed-guide__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.embed-guide__quote {
  border-left: 3px solid var(--color-primary);
  padding: var(--space-sm) var(--space-md);
  background: #f5f5f5;
  font-size: 0.9rem;
}

.embed-guide__faq dt {
  font-weight: 600;
  margin-top: var(--space-md);
}

.embed-guide__faq dd {
  margin-left: 0;
  font-size: 0.95rem;
}

/* Landingpages tragen ihre Abschnitte selbst - dort darf der Rahmen weder
   begrenzen noch einruecken, sonst laufen die farbigen Flaechen nicht mehr
   ueber die volle Breite. */
.seo-main--flush {
  max-width: none;
  padding: 0;
}

/* --- Ortssuche im Baukasten (2026-08-01) ---------------------------------- */

.embed-guide__search {
  display: flex;
  gap: var(--space-sm);
}

.embed-guide__search input {
  flex: 1 1 auto;
  min-width: 0;
  padding: var(--space-sm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.9rem;
}

/* Der Knopf steht neben einem schmalen Feld - die grosse Polsterung der
   Hauptknoepfe sprengt die Zeile. */
.embed-guide__search .place__button {
  padding: var(--space-sm) var(--space-md);
  font-size: 0.9rem;
  white-space: nowrap;
}

.embed-guide__search-status {
  margin-top: var(--space-xs);
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.embed-guide__search-status:empty {
  display: none;
}

.embed-guide__search-status--warn {
  color: var(--color-danger);
}

.embed-guide__results {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-top: var(--space-xs);
  list-style: none;
  padding: 0;
}

/* Ganze Zeile als Trefferfläche: Auf dem Smartphone ist ein Wort in einer
   Liste sonst kaum zu treffen. */
.embed-guide__result {
  display: block;
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  font: inherit;
  font-size: 0.88rem;
  text-align: left;
  cursor: pointer;
}

.embed-guide__result:hover,
.embed-guide__result:focus {
  border-color: var(--color-primary);
  background: var(--color-surface-alt);
}

/* Der Ausweg für den seltenen Fall, dass die Suche nichts findet. Steht
   zugeklappt da - Koordinaten sind nicht der übliche Weg. */
.embed-guide__manual summary {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: var(--space-xs) 0;
}

.embed-guide__manual[open] {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
