
/* -----------------------------------------------------------
   Raleway – lokale Einbindung
----------------------------------------------------------- */
@font-face {
    font-family: 'Raleway';
    src: url('/fonts/Raleway-Regular.woff2') format('woff2'),
         url('/fonts/Raleway-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Raleway';
    src: url('/fonts/Raleway-Bold.woff2') format('woff2'),
         url('/fonts/Raleway-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}



/* -----------------------------------------------------------
   1) Grundschrift & Typografie
----------------------------------------------------------- */

body {
    font-family: 'Raleway', sans-serif;
}

h1, h2, h3 {
    font-family: 'Raleway', sans-serif;
}

h2 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 1.2em;
}


/* -----------------------------------------------------------
   2) Seitenlayout (Sidebar + Content)
----------------------------------------------------------- */

.rm-page {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.rm-content {
    flex: 1;
    min-width: 0;
}


/* -----------------------------------------------------------
   3) Sidebar (optisch hervorgehoben)
----------------------------------------------------------- */

.rm-sidebar {
    width: 260px;
    flex-shrink: 0;
    background: #faf6e8;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #e6dfcf;
}

.rm-sidebar-nav h2 {
    font-size: 1.2rem;
    margin-top: 25px;
}

.rm-sidebar-nav ul {
    list-style: none;
    padding-left: 0;
}

.rm-sidebar-nav li {
    margin: 6px 0;
}

.rm-sidebar-nav a {
    text-decoration: none;
    color: #660000;
    font-weight: 600;
}

.rm-sidebar-nav a:hover {
    color: #b30000;
    text-decoration: underline;
}


/* -----------------------------------------------------------
   4) Kapitel-Kacheln (4 Bilder)
----------------------------------------------------------- */

.slovenia-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.slovenia-feature img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.slovenia-feature h3 {
    text-align: center;
    margin-top: 10px;
    font-size: 1rem;
}


/* -----------------------------------------------------------
   5) Logo-Balken + Hauptmenü (oberer Bereich)
----------------------------------------------------------- */

.rm-logo-bar {
    background: #b30000;
    padding: 10px 0;
}

.rm-logo-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rm-logo-text {
    font-size: 1.6rem;
    color: white;
    font-weight: 600;
}

.rm-logo-text a {
    color: white;
    text-decoration: none;
}

.rm-logo-text a:hover {
    opacity: 0.8;
}

.rm-mainmenu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 10px;
}

.rm-mainmenu a {
    display: block;
    padding: 8px 14px;
    background: #ffcccc;
    color: #660000;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.95rem;
    border: 1px solid #e6a6a6;
}

.rm-mainmenu a:hover {
    background: #ffe680;
    color: #333;
}


/* -----------------------------------------------------------
   6) Bilder im Text (rechts/links)
----------------------------------------------------------- */

figure.rm-image-right,
figure.rm-image-left {
    width: 20em;
    max-width: 100%;
    margin-bottom: 0.4em;
}

figure.rm-image-right {
    float: right;
    margin-left: 1.2em;
}

figure.rm-image-left {
    float: left;
    margin-right: 1.2em;
    margin-left: 0;
}

figure.rm-image-right img,
figure.rm-image-left img {
    width: 100%;
    height: auto;
}

figure.rm-image-right figcaption,
figure.rm-image-left figcaption {
    font-size: 0.85rem;
    color: #555;
    margin-top: 4px;
    line-height: 1.3;
}


/* -----------------------------------------------------------
   7) Mobile Optimierung für Textbilder
----------------------------------------------------------- */

@media (max-width: 700px) {
    figure.rm-image-right,
    figure.rm-image-left {
        float: none;
        margin: 0 auto 20px auto;
        width: 90%;
    }
}


/* -----------------------------------------------------------
   8) Galerie-Bilder (gallery-grid)
----------------------------------------------------------- */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.rm-gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}


/* -----------------------------------------------------------
   9) Footer
----------------------------------------------------------- */

.rm-footer-light {
    background: #f7f3e8;
    border-top: 2px solid #e0d7c6;
    padding: 12px 0;
    margin-top: 30px;
}

.rm-footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.4;
}


/* -----------------------------------------------------------
   10) "Nach oben"-Button
----------------------------------------------------------- */

.rm-top-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #4a6fa5;
    color: white;
    padding: 10px 14px;
    border-radius: 50%;
    font-size: 20px;
    text-decoration: none;
    display: none;
    transition: opacity 0.3s ease;
    z-index: 9999;
}

.rm-top-button:hover {
    background: #2f4f75;
}


/* -----------------------------------------------------------
   Akkordeon-Menü – nur für mobile Ansicht
----------------------------------------------------------- */
@media (max-width: 768px) {

    .accordion-menu input {
        display: none;
    }

    .accordion-menu label h2 {
        cursor: pointer;
        position: relative;
        padding-right: 1.5em;
        margin-bottom: 0.3em;
    }

    .accordion-menu label h2::after {
        content: "►";
        position: absolute;
        right: 0;
        top: 0;
        font-size: 0.9em;
    }

    .accordion-menu ul {
        display: none;
        margin: 0 0 1em 0;
        padding-left: 1em;
    }

    .accordion-menu input:checked + label h2::after {
        content: "▼";
    }

    .accordion-menu input:checked + label + ul {
        display: block;
    }
}



/* -----------------------------------------------------------
   12) Hero-Header
----------------------------------------------------------- */

.rm-hero-slovenia {
    background-image: url("https://www.reisemosaik.at/Slowenien/images/banner/Slowenien_Izola.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 320px;

    display: flex;
    align-items: flex-start;
    justify-content: center;

    color: white;
    text-shadow: 0 0 8px rgba(0,0,0,0.6);

    position: relative;
}

.rm-hero-inner {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
}

.rm-hero-inner h1 {
    font-size: 2.8rem;
    margin: 0;
}

.rm-hero-inner p {
    font-size: 1.2rem;
    margin-top: 10px;
}


/* -----------------------------------------------------------
   13) Mobile Optimierungen
----------------------------------------------------------- */

@media (max-width: 900px) {
    .rm-page {
        flex-direction: column;
    }

    .rm-sidebar {
        width: 100%;
    }
}

@media (max-width: 700px) {
    .rm-logo-inner {
        flex-direction: column;
        gap: 10px;
    }

    .rm-mainmenu ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .rm-hero-slovenia {
        height: 200px;
    }

    .rm-hero-inner h1 {
        font-size: 1.8rem;
    }

    .rm-hero-inner p {
        font-size: 1rem;
    }
}
