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

.uxm-icon-bar .icon-item i {
    font-size: 24px;
    color: #781d27; /* Ihre Markenfarbe */
    width: 30px;
    text-align: center;
}