/* =================================================================== */
/* === 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 */
}

/* 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 */
}

/* =================================================================== */
/* === Windrose Überschrift === */
/* =================================================================== */

.windrose-headline {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.windrose-headline h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #222;
}
