/* =================================================================== */
/* === 1. GRUNDEINSTELLUNGEN & BODY (Ihre Farbpalette) === */
/* =================================================================== */

body {
    background-color: #fce57e; /* Original-Gelb */
    color: #222;
    font-family: 'Inter', 'Roboto', sans-serif;
    line-height: 1.6;
}

/* =================================================================== */
/* === 2. HAUPT-LAYOUT & CONTAINER (Globale Struktur) === */
/* =================================================================== */

.uxm-template-beach {
    max-width: 1140px;
    margin: 2rem auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.uxm-container {
    width: 100%;
}

.uxm-row {
    padding: 0 2rem; /* Seitlicher Abstand für die meisten Reihen */
    margin-bottom: 2.5rem;
}

/* =================================================================== */
/* === 3. DIE SPITZE (Hero, Titel, Warnung, Icon-Bar) === */
/* =================================================================== */

/* Container für den gesamten oberen Bereich */
.uxm-topbody {
    padding: 0;
    margin-bottom: 0;
}

/* Wrapper für das Hero-Bild */
.uxm-hero-image-wrapper img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 12px 12px 0 0; /* Passt sich dem Hauptcontainer an */
    display: block;
}

/* Die weiße Box, die über dem Bild schwebt */
.uxm-hero-content {
    position: relative;
    padding: 2rem;
    margin: -100px 2rem 0 2rem;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    z-index: 10;
}

h1.uxm-beach-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #781d27; /* Ihr Rot */
    margin: 0 0 0.25rem 0;
    line-height: 1.2;
}

h2.uxm-beach-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    color: #6c757d;
    margin: 0 0 1.5rem 0;
}

.uxm-warning-banner {
    background-color: #fdf2e2;
    border-left: 4px solid #ffc107;
    color: #856404;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    font-weight: 500;
}
.uxm-warning-banner div {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.uxm-icon-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2rem;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid #f1e9b2; /* Ihre dezente gelbe Trennlinie */
}
.icon-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.icon-item img {
    width: 28px;
    height: 28px;
}
.icon-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* =================================================================== */
/* === 4. DIE MITTE (Haupttext & Sidebar mit Info-Boxen) === */
/* =================================================================== */

.uxm-main-area {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.uxm-mainbody {
    flex: 2; /* Hauptinhalt nimmt mehr Platz ein */
    min-width: 0; /* Wichtiger Flexbox-Fix */
}
.uxm-mainbody h2, .uxm-mainbody h3 { /* Überschriften im Haupttext */
    color: #781d27;
}

.uxm-sidebody-a {
    flex: 1; /* Sidebar nimmt weniger Platz ein */
    min-width: 300px;
    align-self: flex-start; /* Klebt oben, auch wenn der Haupttext länger ist */
}

.uxm-sidebody-b {
    flex: 1;            /* wie A */
    min-width: 300px;   /* wie A */
    align-self: flex-start;
}


/* Styling für die Info-Boxen in der Sidebar */
.info-box {
    background-color: #fef6d8; /* Ihr Boxen-Gelb */
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}
.info-box-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #912B3B;
    margin-top: 0;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f1e9b2;
}
.info-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.info-box ul li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.info-box ul li .icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}


/* =================================================================== */
/* === 5. RESPONSIVE ANPASSUNGEN === */
/* =================================================================== */

@media (max-width: 992px) {
    .uxm-main-area {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .uxm-main-area {
        flex-direction: column; /* Sidebar rutscht unter den Haupttext */
    }
    .uxm-hero-content {
        margin: -60px 1rem 0 1rem;
        padding: 1.5rem;
    }
    h1.uxm-beach-title {
        font-size: 2.2rem;
    }
    .uxm-row {
        padding: 0 1rem;
    }
}

/* =================================================================== */
/* === ICONBARS (Primär + Sekundär) === */
/* =================================================================== */

/* Sekundäre Iconbar */
.uxm-icon-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem ;
    padding: 2rem 1rem;
    border-top: 1px solid #f1e9b2;
    border-bottom: 3px solid #781d27;
    background-color: #fff8dc;
}

.icon-item {
    display: flex;
    flex-direction: column;
    flex: 0 1 150px; /* oder ein fester Wert wie 25% */
    align-items: center;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    color: #781d27;
    text-align: center;
    max-width: 120px;
}

.icon-item i {
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
    color: #781d27;
}


/* Primäre Iconbar */
.uxm-icon-bar-primary {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    padding: 1.5rem 1rem 2rem 1rem;
    border-bottom: 2px solid #781d27;
    background-color: #fffaf0;
}

.icon-item-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: #781d27;
    text-align: center;
    max-width: 140px;
}

.icon-item-large i {
    font-size: 2.4rem;
    margin-bottom: 0.5rem;
    color: #781d27;
}

.uxm-warning-banner {
    background: #ffe6e6;
    padding: 1em;
    border-left: 5px solid #b30000;
    margin-bottom: 1.5em;
    font-weight: bold;
}
.uxm-warning-entry {
    margin-bottom: 0.3em;
    display: flex;
    align-items: center;
    gap: 0.5em;
}
.uxm-warning-entry i {
    color: #b30000;
}

.uxm-strand-header {
    margin-bottom: 1.5rem;
}

.strand-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.strand-meta-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    font-size: 1rem;
    color: #333;
}

.uxm-geo-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem; /* Abstand zwischen den Einträgen */
  margin: 0.5rem 0 1rem 0;
  align-items: center;
}

.geo-item {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  color: #333;
}

.geo-item i {
  margin-right: 0.4em;
  color: #800000; /* Optional: Iconfarbe */
}

/* Wrapper für Buslinien-Ausgabe */
.umx-buslinien {
  margin-top: 2rem;
  padding: 1rem 1.5rem;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 6px;
}

/* Überschrift der Buslinien-Sektion */
.umx-buslinien h5 {
  margin-top: 0;
  font-size: 1.1rem;
  font-weight: bold;
  color: #333;
}

/* Buslinien-Liste */
.umx-buslinien ul {
  padding-left: 1.2rem;
  margin: 0.5rem 0 1rem;
}

.umx-buslinien li {
  margin-bottom: 0.4rem;
  line-height: 1.5;
}

/* Link zur TIB-Seite */
.umx-buslinien a {
  color: #0077cc;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.umx-buslinien a:hover {
  color: #005199;
}

/* Hinweisbox (sowohl mit als auch ohne Linien) */
.umx-info-box {
  margin-top: 1rem;
  padding: 1rem;
  background-color: #fffbe5;
  border-left: 4px solid #ffc107;
  border-radius: 4px;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.4;
}

/* Abstand zwischen den Abschnitten */
.umx-section {
  margin-bottom: 2rem;
}

/* Abstand der Überschriften zu folgendem Text */
.umx-section h4 {
  margin-bottom: 0.75rem;
}

/* Absatztextabstand (p) */
.umx-section p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Warn- und Infoboxen */
.umx-info-box {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 5px;
  background-color: #fdf8e4;
  border-left: 4px solid #f5c842;
  color: #444;
}

/* Extra Klasse für Warnung */
.umx-info-box.umx-warning {
  background-color: #fff0f0;
  border-left-color: #cc0000;
}

.umx-buslinien ul {
  list-style: disc inside;
  padding-left: 1rem;
}

.umx-buslinien li {
  margin-bottom: 0.5rem;
}

.umx-section h4 {
  color: #7b2c27; /* Rotbraun – bitte anpassen, wenn anderer Farbwert gewünscht ist */
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* Grundabstand zwischen den Bereichen */
.umx-section {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e0e0e0;
}

/* Rotbraune Überschriften */
.umx-section h4 {
  color: #7b2c27;
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

/* Textabsatz innerhalb eines Abschnitts */
.umx-section p {
  margin-top: 0.3rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Info-Boxen (Hinweise) */
.umx-info-box {
  background-color: #fff8e1;
  border-left: 4px solid #ffc107;
  padding: 1rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  border-radius: 4px;
}

/* Zusätzliche Warnhinweise */
.umx-info-box.umx-warning {
  background-color: #ffeaea;
  border-left-color: #d32f2f;
  color: #7b2c27;
}
/* Rotbraune Farbe für alle umx-Zwischenüberschriften */
.umx-kartenbereich h3,
.umx-access-section h4,
.umx-access-section h5,
.umx-info-box h4,
.umx-kartenbereich .umx-karte-headline {
    color: #85231b; /* rotbraun */
    font-weight: bold;
}

/* Abstand zwischen den Bereichen */
.umx-access-section {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

/* Überschrift zur Karte */
.umx-kartenbereich {
    margin-top: 2rem;
}

/* Abstand zwischen Karte und Text */
.umx-kartenbereich .umx-karte {
    margin-bottom: 2rem;
}

/* Optional: Abstand zwischen Info-Boxen und anderen Elementen */
.umx-info-box {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 4px;
    background-color: #fff8e5;
    border-left: 4px solid #f0b400;
}

/* Warnfarbe für spezielle Fälle */
.umx-info-box.umx-warning {
    border-left-color: #e53935;
    background-color: #ffebee;
}

.umx-main-title {
  color: #7c1f1f; /* Rotbraun */
  font-size: 2rem;
  margin-bottom: 1rem;
}

.umx-introtext,
.umx-fulltext {
  margin-bottom: 2rem;
  line-height: 1.6;
}

.umx-video {
  margin: 2rem 0;
}

.umx-video-headline {
  color: #7c1f1f;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* =================================================================== */
/* === Sidebars A und B (Primär + Sekundär) === */
/* =================================================================== */
.umx-infobox-group {
  background-color: #f9f9f9; /* Einheitlicher Hintergrund */
  margin-bottom: 1.2em;      /* Abstand zum nächsten Block */
  padding: 0.8em 1em;        /* Innenabstand für Lesbarkeit */
  border-radius: 6px;        /* sanfte Kanten, optional */
}

.umx-infobox-group strong,
.umx-infobox-group-title {
  display: block;
  font-size: 1.15em;
  font-weight: 600;
  margin-bottom: 0.5em;
  color: #333;
}

.umx-infobox-group-title {
  display: block;
  font-size: 1.15em;
  font-weight: 600;
  margin-bottom: 0.2em;  /* ↓ Reduzierter Abstand zum ersten Punkt */
  color: #333;
}

.umx-infobox-group p,
.umx-infobox-group div,
.umx-infobox-group span {
  margin-top: 0.1em;
  margin-bottom: 0.2em;
}

.umx-infobox-group {
  background-color: #f9f9f9;
  margin-bottom: 1.2em;
  padding: 0.9em 1em 0.8em 1em;  /* Oben etwas mehr, unten etwas weniger */
  border-radius: 6px;
}

.umx-infobox-group strong {
  display: block;
  margin-bottom: 0.2em;  /* Abstand von Label zum Inhalt z. B. Nordküste */
}


/* === Floating-Overlay ohne Layout-Verschiebung ================== */
/* === Hero-Wrapper als Anker =================================== */
.uxm-hero-wrap {
  position: relative;
}

/* Hero-Inhalt bleibt „unter“ dem Overlay klickbar */
.uxm-hero-content {
  position: relative;
  z-index: 1;
}

/* === Floater: sicher am Wrapper verankert ===================== */
/* Floater am Hero-Wrapper verankern – JETZT von oben */
/* ===== Variablen ===== */
:root{
  --uxm-sticky-top: 95px;     /* Höhe Header/Tabs */
  --floater-bottom: 320px;     /* Abstand von unten im Hero */
}

/* Hero darf sticky/fixed nicht brechen */
.uxm-hero-wrap,
.uxm-hero-content{
  position: relative;
  overflow: visible !important;
  transform: none !important;
}

/* ===== Floater: im Hero unten andocken ===== */
.uxm-hero-floater{
  position: absolute;
  left: clamp(12px, 2.2vw, 28px);
  bottom: var(--floater-bottom);
  z-index: 80;
  pointer-events: none;
}

.uxm-floater-inner{
  display: flex;
  align-items: flex-end;      /* Unterkante als Referenz */
  gap: 1.2rem;
  padding: 0 2rem;
  pointer-events: auto;       /* Inhalte klickbar */
}

/* Wappen + Titel */
.uxm-wappen-badge{
  display:block;
  height: clamp(72px, 10vw, 120px);
  width: auto;
  object-fit: contain;
  background: rgba(255,255,255,.40);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  padding: 8px;
}

.uxm-overlay-title{
  display:flex; flex-direction:column; justify-content:flex-end;
  margin-top:.4rem; line-height:1.15;
  background: rgba(255,255,255,.40);
  border-radius:8px; box-shadow:0 8px 24px rgba(0,0,0,.12);
  padding:.6rem 1rem .7rem;
}
.uxm-overlay-name{ font-weight:800; letter-spacing:.3px; color:#781d27; font-size:clamp(24px,4.8vw,48px); }
.uxm-overlay-sub { margin-top:.15rem; font-weight:500; color:#080909; font-size:clamp(12px,1.8vw,16px); }

/* ===== Beim Scrollen fixieren (unter dem Header) ===== */
body.uxm-floater-fixed .uxm-hero-floater{
  position: fixed;
  top: var(--uxm-sticky-top);
  bottom: auto;
  left: clamp(12px, 2.2vw, 28px);
}

/* Responsive Tweaks */
@media (max-width:768px){
  :root{ --floater-bottom: 300px; }
  .uxm-floater-inner{ padding: 0 1rem; }
}


.uxm-fact .uxm-fact-label{
  display:inline-block;
  margin-right:.35rem;
  padding:.05rem .35rem;
  border:1px solid #f1e9b2;
  border-radius:4px;
  background:#fff;
  font-size:.85em;
  font-weight:700;
  letter-spacing:.02em;
  color:#781d27;
}
.uxm-fact-badge{
  display:inline-block; margin-left:.35rem; padding:.05rem .35rem;
  border:1px solid #f1e9b2; border-radius:4px; background:#fff;
  font-size:.85em; font-weight:700; letter-spacing:.02em; color:#781d27;
}
.uxm-source-note{
  margin-top: .4rem;
  font-size: .85rem;
  color: #6c757d;
}
.uxm-source-note a{
  color: inherit;
  text-decoration: underline;
}
/* TIB: kompakte Listen-Darstellung */
.umx-buslinien ul{
  list-style: none;
  padding: 0;
  margin: 0;
}
.umx-buslinien .tib-line{
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin: .35rem 0;
}
.umx-buslinien .line-badge{
  display: inline-block;
  min-width: 2.1rem;
  text-align: center;
  padding: .15rem .5rem;
  border: 2px solid #24c24a;     /* dein Grün für „aktiv“ */
  border-radius: 16px;
  font-weight: 700;
  font-size: .85rem;
  line-height: 1.15;
}
.umx-buslinien .line-route{
  display: block;                 /* macht 2-Zeilen-Umbruch möglich */
  font-size: .95rem;              /* etwas kleiner */
  line-height: 1.25;
  color: inherit;
  text-decoration: none;
  word-break: break-word;         /* falls Streckennamen sehr lang sind */
}
.umx-buslinien .line-route:hover{
  text-decoration: underline;
}


/* --- Taxis (Side A) ------------------------------------------------- */

/* ---- Taxi: Layout strikt in Zeilen --------------------------------------- */
.info-box.uxm-taxi { /* Box bleibt so, nur Inhalt härter definieren */ }

.uxm-taxi .uxm-taxi-list { list-style:none; margin:0; padding:0; display:block; }
.uxm-taxi .uxm-taxi-item { display:block; padding:.55rem 0; border-top:1px solid #f3ebcf; }
.uxm-taxi .uxm-taxi-item:first-child { border-top:0; }

.uxm-taxi .uxm-taxi-row { display:block; margin:.25rem 0; }
.uxm-taxi .uxm-taxi-name { font-weight:600; }

.uxm-taxi .uxm-taxi-phone { display:block; margin:.15rem 0; }
.uxm-taxi .uxm-taxi-phone i { margin-right:.4rem; }

.uxm-taxi .uxm-taxi-web,
.uxm-taxi .uxm-tel {
  color: inherit !important;
  text-decoration: none;
  font-weight: 500;
}

.uxm-taxi .uxm-badge {
  display:inline-block; font-size:.72rem; padding:.05rem .35rem; border-radius:.5rem;
  background:#fff8e1; border:1px solid #f1e9b2; vertical-align:middle;
}
.uxm-taxi .uxm-ok { background:#eefbea; border-color:#b9e3c2; }
.uxm-taxi .uxm-wa { background:#eafaf1; border-color:#bfe7cf; }
.uxm-taxi .uxm-primary { background:#fff; border-color:#d9d9d9; }
/* App-Zeile / Store-Links */
.uxm-taxi .uxm-taxi-app i { margin-right:.45rem; }
.uxm-taxi .uxm-app-name { font-weight:600; }
.uxm-taxi .uxm-store { margin-left:.35rem; font-size:1.05rem; vertical-align:middle; }
.uxm-taxi .uxm-app-status { background:#eef3ff; border-color:#cfd9ff; }

/* ===== Offsets / Variablen ===== */
:root{
  --uxm-sticky-top: 95px;              /* Höhe deines fixen Headers */
  --uxm-tabs-h: 50px;                  /* Standard-Tabhöhe (1 Zeile) */
  --uxm-sticky-offset: calc(var(--uxm-sticky-top) + var(--uxm-tabs-h));
}

/* Tabs über volle Gridbreite */
.uxm-row > .uxm-section-tabs { grid-column: 1 / -1; width: 100%; }

/* ===== Tabs ===== */
.uxm-section-tabs{
  position: sticky;
  top: var(--uxm-sticky-top);
  z-index: 60;
  background: transparent;
  margin: 0 0 .5rem 0;
  padding: .25rem 0;
  box-shadow: none;
  border-bottom: 1px solid rgba(0,0,0,.08);

  display: flex;
  flex-wrap: wrap;           /* <-- Umbruch erlauben */
  justify-content: center;   /* Desktop/Tablet: zentriert */
  align-items: center;
  gap: .5rem;
}

/* ===== Tab-Links / Chips ===== */
.uxm-section-tabs a,
.uxm-section-tabs .uxm-chip{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: .55rem .8rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,.12);
  font-weight: 600;
  line-height: 1.1;
  background: #fff;
  white-space: nowrap;
}

.uxm-section-tabs a.is-active,
.uxm-section-tabs .uxm-chip.is-active{
  background: var(--uxm-pill, #f8f3e6);
  border-color: #e9d7a6;
}

/* ===== Responsive Breakpoints ===== */

/* <= 760px: 2 Spalten (bricht automatisch in 2 Zeilen) */
@media (max-width: 760px){
  .uxm-section-tabs{ justify-content: space-between; }

  .uxm-section-tabs a,
  .uxm-section-tabs .uxm-chip{
    flex: 1 1 calc(50% - .5rem);   /* zwei Spalten */
    max-width: calc(50% - .5rem);
    text-align: center;
    font-size: .95rem;
    padding: .5rem .65rem;
  }

  :root{ --uxm-tabs-h: 84px; }     /* ~Höhe von zwei Reihen für Anchor-Offset */
}

/* <= 420px: 1 Spalte (jede Zeile ein Chip) */
@media (max-width: 420px){
  .uxm-section-tabs a,
  .uxm-section-tabs .uxm-chip{
    flex-basis: 100%;
    max-width: 100%;
    font-size: .92rem;
  }

  :root{ --uxm-tabs-h: 140px; }    /* mehr Platz, falls 3 Zeilen entstehen */
}

/* ===== Content unter Tabs etwas nach unten drücken ===== */
.uxm-main-area{
  margin-top: calc(var(--uxm-tabs-h) + 8px);
  padding-top: calc(var(--uxm-tabs-h) + 10px);
}

/* ===== Anker-Klicks: Sections nicht unter Header/Tabs verstecken ===== */
.uxm-mainbody .uxm-section[id],
.uxm-sidebody-a [id],
.uxm-sidebody-b [id]{
  scroll-margin-top: var(--uxm-sticky-offset);
}

/* ===== Erste Box in den Sidebars nicht am Header kleben lassen ===== */
.uxm-sidebody-a .info-box:first-child,
.uxm-sidebody-b .info-box:first-child{
  margin-top: .75rem;
}

/* Optional: smooth scrolling */
@media (prefers-reduced-motion: no-preference){
  html { scroll-behavior: smooth; }
}










/* Notrufbox – sauberes 3-Spalten-Layout: Icon | Text | Nummer */
.info-box.emergency ul { margin-top: .25rem; }

.info-box.emergency ul li{
  display: grid;
  grid-template-columns: 22px 1fr auto; /* Icon - Text - Nummer */
  column-gap: .75rem;
  align-items: start;                   /* Nummer oben statt mittig */
  padding: .35rem 0;
}

/* Icon (du hast bereits .icon – das hier ist nur Feintuning) */
.info-box.emergency ul li .icon{
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* Haupttext links */
.info-box.emergency .text{
  line-height: 1.25;
}

/* Nummer rechtsbündig, einzeilig, deutlich */
.info-box.emergency .num{
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
  margin-left: 1rem;  /* etwas Abstand zur Textspalte */
}

/* Falls deine Nummern noch als <a> kommen:
   neutralisieren (kein Klick, keine Unterstreichung) */
.info-box.emergency a.num{
  pointer-events: none;
  color: inherit;
  text-decoration: none;
  cursor: default;
}
/* Kompakte Notrufbox */
.info-box.emergency{
  padding: 1rem 1.25rem;
}
.info-box.emergency .info-box-title{
  margin-bottom: .5rem;
  padding-bottom: .5rem;
}

/* Zeile: Icon | Text | Nummer (kompakt) */
.info-box.emergency ul li{
  display: grid;
  grid-template-columns: 22px minmax(0,1fr) max-content; /* wichtig: max-content für Nummer */
  column-gap: .75rem;
  align-items: start;         /* Nummer oben ausrichten */
  padding: .25rem 0;          /* kompakter */
}

/* Icon-Feintuning */
.info-box.emergency ul li .icon{
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* Textspalte: kompakt & umbrechend */
.info-box.emergency .text{
  margin: 0;
  line-height: 1.2;
  word-break: break-word;
}

/* Nummer rechts, nicht umbrechen, nicht klickbar in der Optik */
.info-box.emergency .num,
.info-box.emergency a[href^="tel:"]{
  font-weight: 600;
  text-align: right;
  white-space: nowrap;         /* nichts abschneiden */
  margin-left: .75rem;
  color: inherit;
  text-decoration: none;
  cursor: default;
  pointer-events: none;        /* klick deaktivieren */
  user-select: text;           /* kopieren erlaubt */
}
.uxm-infobox{
  background: #FFF6DF;                  /* warmes UXM-Gold */
  border: 1px solid #E6B800;            /* Gold-Rahmen */
  border-left: 6px solid #C81D24;       /* UXM-Rot-Akzent */
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin: 1rem 0 1.25rem;
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
  line-height: 1.55;
}
.uxm-infobox p{ margin: .2rem 0 .8rem; }
.uxm-infobox strong{ color:#7E0E15; }   /* dunkles Rot für Highlights */
.uxm-infobox i{ margin: 0 .2rem; }      /* Luft um die Icons */
.uxm-infobox .sr-only{
  position:absolute !important; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* Optional: etwas kompakter auf sehr kleinen Screens */
@media (max-width: 480px){
  .uxm-infobox{ padding: .85rem 1rem; border-radius: 10px; }
}
/* Abstände & Zeilenlogik – mehr brauchst du nicht */
.info-box--apotheken .apotheken-item { margin: 0 0 .9rem; line-height: 1.4; }
.info-box--apotheken .apotheken-item:last-child { margin-bottom: 0; }
.info-box--apotheken .apotheken-item strong { display: block; margin: 0 0 .18rem; }

/* Optional: etwas Luft über dem Link */
.info-box--apotheken .apotheken-link { margin: .6rem 0 0; }
/* Nur für den Banner-Bildblock */
.uxm-media-image--banner { position: relative; }
.uxm-media-image--banner .uxm-figure { position: relative; margin: 0; }
.uxm-media-image--banner img { display: block; width: 100%; height: auto; }

/* Overlay-Banner: unten, 30% weiß, keine Ränder */
.uxm-media-image--banner .uxm-img-caption{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.5);
  color: #000;
  padding: .5rem .75rem;
  font-weight: 600;
  line-height: 1.25;
  border: 0;
  /* Optional: leichte Lesbarkeits-Verbesserung */
  backdrop-filter: saturate(120%);
}

/* Falls das Bild abgerundete Ecken hat, Caption folgt der Rundung */
.uxm-media-image--banner .uxm-figure,
.uxm-media-image--banner img,
.uxm-media-image--banner .uxm-img-caption{
  border-radius: inherit;
}


