/* ################# */
/* Layout 2025-11-07 */
/* ################# */

/*####################################################################################################################################*/
/* Grundeinstellungen          */
/*####################################################################################################################################*/

/* Sorgt dafür, dass Padding & Border in die Breite eingerechnet werden */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Grundlayout */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.4;
    background: #ffffff;
}

/* eigentlicher Seitenrahmen */
#Page {
    max-width: 998px;
    width: 96%;
    margin: 0 auto;
    padding: 10px;
}

#Text {
    margin: 0 auto;
    padding: 10px;
}

/*####################################################################################################################################*/
/* HEADER + BANNER + NAVIGATION (mobile first) */
/*####################################################################################################################################*/

/* Sticky-Header über die ganze Breite */
.sticky-header {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Inhalt des Headers auf 1000px begrenzen und zentrieren */
.header-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 10px;
    text-align: center;
}

/* Banner-Bild */
.header-banner {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

/* Logo-Link (optional, falls stilistisch benötigt) */
.header-logo {
    display: inline-block;
}

/* Navigation – mobile first: Hamburger + verstecktes Menü */
.menu-toggle {
    display: block;
    background: #1A3E66;
    color: #ffffff;
    padding: 6px 10px;
    font-size: 16px;
    cursor: pointer;
    margin: 6px 0;
    border: 1px solid #486B8F;
    border-radius: 4px;
    text-align: left;
}

/* Grundzustand: Menü (ul) ist auf Mobilgeräten versteckt */
.main-navigation {
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.main-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;              /* wird per JS ein-/ausgeblendet */
    background-color: #1A3E66;
}

/* Klasse "show" wird per JavaScript gesetzt */
.main-navigation ul.show {
    display: block;
}

/* Mobile: vertikales Menü (untereinander) */
.main-navigation ul li {
    display: block;
    margin: 0;
}

.main-navigation ul li a {
    display: block;
    padding: 8px 10px;
    text-decoration: none;
    color: #ffffff;
    background-color: #1A3E66;
    border-bottom: 1px solid #486B8F;
    font-size: 14px;
}

.main-navigation ul li a:hover {
    background-color: #486B8F;
}

/*####################################################################################################################################*/
/* ALLGEMEINE TEXTDEFINITIONEN (für alle Geräte) */
/*####################################################################################################################################*/

/* Hier nur Basis, Details kommen in den Media-Queries */
a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: #FF0000;
}

/*####################################################################################################################################*/
/* 1. DESKTOP / LAPTOP – ab 768px */
/*####################################################################################################################################*/
@media (min-width: 768px) {

    /* Header zentrieren */
    .header-inner {
        max-width: 1000px;
        margin: 0 auto;
        text-align: center;
    }

    .header-banner {
        display: block;
        margin: 0 auto;
        max-width: 100%;
        height: auto;
    }

    /* Navigation: horizontales Menü, kein Hamburger */
    .menu-toggle {
        display: none;
    }

    .main-navigation {
        max-width: 1000px;
        margin: 0 auto;
        text-align: center;
    }

    .main-navigation ul {
        display: block;         /* immer sichtbar */
        list-style: none;
        padding: 0;
        margin: 0;
        background-color: #1A3E66;
        text-align: center;
    }

    .main-navigation ul li {
        display: inline-block;
        margin: 0 2px;
    }

    .main-navigation ul li a {
        display: inline-block;
        padding: 6px 15px;
        text-decoration: none;
        color: #ffffff;
        background-color: #1A3E66;
        border-left: 1px solid #486B8F;
        border-right: 1px solid #486B8F;
        font-size: 16px;
    }

    .main-navigation ul li a:hover {
        background-color: #486B8F;
    }

    /* ================= TITEL + TEXT (Desktop) ================= */
    .a11_Titel_1_Seite {
        font-size: 30px;
        font-weight: bold;
        margin: 10px 0 0 0;
        line-height: 1.2;
        text-align: center;
    }
    .a12_Titel_1_Seite_klein {
        font-size: 24px;
        font-weight: bold;
        margin: 10px 0 0 0;
        line-height: 1.2;
        text-align: center;
    }
    .a21_Titel_2_Magazin {
        font-size: 24px;
        font-weight: bold;
        text-align: left;
        margin-top: 5px;
        background-color: #BDBDBD;
        border-style: solid;
        border-color: #DBDBDB;
        border-width: 8px;
        padding: 10px;
    }
    .a22_Titel_2_Text {
        font-size: 20px;
        font-weight: bold;
        text-align: left;
        margin: 5px 0 0 0;
    }
    p {
        font-size: 16px;
        text-align: justify;
        line-height: 1.2;
        margin-top: 0;
    }

    .a00_Top-Navigation a:hover {
        font-size: 13px;
        padding: 0 5px;
        text-decoration: underline;
    }
    .a01_IRF-Titel_Tabelle {
        font-size: 14px;
        font-weight: bold;
        text-align: center;
        margin: 0;
    }

    /* Navigation 2 (Seitenleiste/Footer) */
    #Navigation-2 {
        font-size: 16px;
        padding: 10px 10px 5px 10px;
        background-color: #1A3E66;
        color: #ffffff;
        line-height: 150%;
    }

    #Navigation-2 a {
        color: #ffffff;
    }

    #Navigation-2 a:hover {
        color: #FFC300;
    }

    /* Impressum 1 (helle Box) */
    #Impressum-1 {
        font-size: 15px;
        line-height: 1.5;
        padding: 10px 10px 2px 10px;
        background-color: #F0F8FF;
    }

    /* Info-Box */
    #TextInfo-2 {
        font-size: 13px;
        line-height: 1.4;
        padding: 10px 10px 2px 10px;
        background-color: #F8F8F8;
    }

    /* Impressum Footer */
    #Impressum-2 {
        font-size: 12px;
        line-height: 1.5;
        padding: 10px;
        background-color: #1A3E66;
        color: #ffffff;
    }

    #Impressum-2 a {
        color: #ffffff;
    }

    #Impressum-2 a:hover {
        color: #FFC300;
    }

    /* Diverse Textklassen */
    .a15_Reisefuehrer_Link {
        font-size: 12px;
        font-weight: bold;
        text-align: left;
        margin-top: 15px;
        border-color: #CCCCCC;
        border-width: 10px;
        border-style: solid;
        background-color: #CCCCCC;
    }
    .a17_Inhalt_Ortsliste {
        font-size: 16px;
        font-weight: bold;
        text-align: justify;
        margin: 0 0 5px 0;
        line-height: 26px;
    }
    .a18_Online_Guide {
        font-size: 10px;
        font-weight: bold;
        text-align: left;
        margin: 0 0 10px 0;
    }
    .a23_Sehenswuerdigkeiten {
        font-size: 16px;
        font-weight: bold;
        text-align: justify;
        line-height: 1.2;
        margin: 0;
    }
    .a24_Sehenswuerdigkeiten_Sterne {
        font-size: 14px;
        font-weight: normal;
        text-align: justify;
        line-height: 1.2;
        margin: 0;
    }
    .a25_Bildunterschrift {
        font-size: 11px;
        font-weight: normal;
        text-align: left;
    }
    .a28_WV_Reiseführer {
        font-size: 16px;
        font-weight: bold;
        text-align: justify;
        line-height: 1.3;
    }
    .a29_ReiseInfos {
        font-size: 12px;
        text-align: justify;
        margin: 0;
        line-height: 1.2;
    }

    .a51_Box_Titel {
        font-size: 14px;
        font-weight: bold;
        text-align: left;
        margin-top: 0;
        margin-bottom: 7px;
        line-height: 1.0;
    }
    .a52_Box_Text {
        font-size: 10px;
        text-align: justify;
        line-height: 1.0;
    }
    .a53_Box_Info {
        font-size: 10px;
        text-align: left;
        line-height: 1.0;
    }

    .a81_Impressum_Titel_1 {
        font-size: 14px;
        font-weight: bold;
        text-align: left;
        margin-bottom: 5px;
    }
    .a83_Impressum_1_Text,
    .a83_Impressum_2_Text {
        font-size: 12px;
        text-align: left;
    }
    .a84_Impressum_Info {
        font-size: 10px;
        text-align: left;
    }

    .a45_Reisetipp {
        font-size: 12px;
        font-weight: bold;
        text-align: left;
        margin-bottom: 7px;
    }
    .a44_Bus_Bahn_Info {
        font-size: 10px;
        font-weight: bold;
        color: #FF0000;
    }
    .a44_PanoramaBild {
        font-size: 14px;
        font-weight: bold;
        text-align: left;
        margin: 0;
        color: #FF0000;
    }
    .a91_TOP_Zurueck {
        margin: 10px;
    }
    .a92_Link_Internet {
        color: #0000FF;
    }

    /* Bildgrößen Desktop */
    .WRF_Titel { width: 300px; height: 480px; }
    .WRF_Link { width: 170px; height: 300px; }
    .IRF-Seiten,
    .EM-Seiten,
    .Bild_Tipp,
    .Bild_500x340,
    .Bild_500x500,
    .Bild_1000x688 {
        max-width: 100%;
        height: auto;
    }
    .IRF-Titel_Link,
    .EM-Titel_Link { width: 300px; height: 200px; }
    .Bild_Box { max-width: 50%; height: auto; }
    .Bild_Personen { width: 500px; height: 350px; }
    .Bild_200x133 { width: 200px; height: 133px; }
    .Bild_300x200 { width: 300px; height: 200px; }
    .Bild_300x300 { width: 30%; height: auto; }

    /* Inhaltsverzeichnisse */
    div.Titel-150, div.Titel-200, div.Titel-300, div.Titel-460 {
        text-align: center;
    }
    div.Titel-150 div,
    div.Titel-200 div,
    div.Titel-300 div {
        font-size: 12px;
        font-weight: bold;
        display: inline-block;
        vertical-align: top;
        padding: 5px;
    }
    div.Titel-150 div { width: 150px; }
    div.Titel-200 div { width: 200px; }
    div.Titel-300 div { width: 300px; }
    div.Titel-460 div { width: 460px; padding: 10px; }

    table._Box-AZ-Text {
        width: 99%;
        border: 5px;
        border-color: #CCCCCC;
        background-color: #CCCCCC;
    }
    table._Box-Info-Text,
    table._Box-Reisetipp {
        width: 99%;
        border: 10px;
        border-color: #FFFFFF;
    }

    hr {
        width: auto;
    }
}

/*####################################################################################################################################*/
/* 2. TABLET Hochformat – 600px bis 767px */
/*####################################################################################################################################*/
@media (min-width: 600px) and (max-width: 767px) {

    /* Hamburger aus – horizontales Menü */
    .menu-toggle {
        display: none;
    }

    .main-navigation {
        max-width: 1000px;
        margin: 0 auto;
        text-align: center;
    }

    .main-navigation ul {
        display: block;
        background-color: #1A3E66;
    }

    .main-navigation ul li {
        display: inline-block;
        margin: 0 2px;
    }

    .main-navigation ul li a {
        padding: 5px 10px;
        font-size: 13px;
    }

    /* Titel + Text Tablet */
    .a11_Titel_1_Seite {
        font-size: 18px;
        font-weight: bold;
        margin: 10px 0 0 0;
        line-height: 1.2;
        text-align: center;
    }
    .a12_Titel_1_Seite_klein {
        font-size: 14px;
        font-weight: bold;
        margin: 10px 0 0 0;
        line-height: 1.2;
        text-align: center;
    }
    .a21_Titel_2_Magazin {
        font-size: 16px;
        font-weight: bold;
        text-align: left;
        margin-top: 5px;
        background-color: #BDBDBD;
        border-style: solid;
        border-color: #DBDBDB;
        border-width: 8px;
        padding: 10px;
    }
    .a22_Titel_2_Text {
        font-size: 14px;
    }
    p {
        font-size: 12px;
        text-align: justify;
        line-height: 1.2;
    }

    #Impressum-1 {
        font-size: 13px;
        padding: 10px 10px 2px 10px;
        background-color: #F0F8FF;
    }
    #Impressum-1 a { color: #1A3E66; }
    #Impressum-1 a:hover { color: #486B8F; }

    #TextInfo-2 {
        font-size: 13px;
        padding: 10px 10px 2px 10px;
        background-color: #F8F8F8;
    }

    #Impressum-2 {
        font-size: 12px;
        padding: 10px;
        background-color: #1A3E66;
        color: #ffffff;
    }
    #Impressum-2 a { color: #ffffff; }
    #Impressum-2 a:hover { color: #FFC300; }

    .a23_Sehenswuerdigkeiten {
        font-size: 12px;
        font-weight: bold;
        line-height: 1.2;
        text-align: justify;
        margin-top: 0;
    }
    .a24_Sehenswuerdigkeiten_Sterne,
    .a25_Bildunterschrift {
        font-size: 11px;
    }
    .a28_WV_Reiseführer {
        font-size: 14px;
        font-weight: bold;
        text-align: justify;
        line-height: 1.3;
    }
    .a29_ReiseInfos {
        font-size: 12px;
        text-align: justify;
        margin: 0;
        line-height: 1.2;
    }

    /* Bilder Tablet: max-width 100% */
    .Bild_Personen,
    .Bild_500x340,
    .Bild_500x500,
    .Bild_1000x688,
    .Bild_200x133,
    .Bild_300x200 {
        max-width: 100%;
        height: auto;
    }

    .Bild_300x200,
    .Bild_200x133,
    .Bild_300x300,
    .Bild_500x340,
    .Bild_500x500 {
        float: none !important;
        display: block;
        margin: 0 auto 10px auto;
        width: 100%;
        height: auto;
    }
}

/*####################################################################################################################################*/
/* 3. SMARTPHONE (hoch & quer) – bis 599px */
/*####################################################################################################################################*/
@media (max-width: 599px) {

    /* Hamburger aktivieren (mobile) */
    .menu-toggle {
        display: block;
        background: #1A3E66;
        color: #ffffff;
        padding: 6px 10px;
        font-size: 16px;
        cursor: pointer;
        margin-bottom: 6px;
        border: 1px solid #486B8F;
        border-radius: 4px;
        text-align: left;
    }

    .main-navigation {
        text-align: left;
    }

    .main-navigation ul {
        display: none;          /* Standard: versteckt */
        width: 100%;
    }

    .main-navigation ul.show {
        display: block;
    }

    .main-navigation ul li {
        display: block;
        margin: 0;
    }

    .main-navigation ul li a {
        display: block;
        padding: 8px 10px;
        border: none;
        background: #1A3E66;
        color: #ffffff;
        font-size: 14px;
        border-bottom: 1px solid #486B8F;
    }

    /* Titel Smartphone */
    .a11_Titel_1_Seite {
        font-size: 16px;
        font-weight: bold;
        margin: 10px 0 0 0;
        line-height: 1.2;
        text-align: center;
    }
    .a12_Titel_1_Seite_klein {
        font-size: 12px;
        font-weight: bold;
        margin: 10px 0 0 0;
        line-height: 1.2;
        text-align: center;
    }
    .a21_Titel_2_Magazin {
        font-size: 14px;
        font-weight: bold;

        text-align: left;
        margin-top: 5px;
        background-color: #BDBDBD;
        border-style: solid;
        border-color: #DBDBDB;
        border-width: 8px;
        padding: 10px;
    }
    .a22_Titel_2_Text {
        font-size: 14px;
        font-weight: bold;
        text-align: left;
        margin: 5px 0 0 0;
    }

    p {
        font-size: 14px;
        text-align: justify;
        line-height: 1.2;
    }

    body {
        padding: 6px;
    }

    #Text {
        padding: 6px;
    }

    #Navigation-2 {
        background-color: #1A3E66;
        line-height: 140%;
        padding: 8px 6px;
    }

    #Navigation-2 p {
        font-size: 10px;
        line-height: 1.3;
    }

    #Navigation-2 a {
        display: block;
        margin: 2px 0;
        color: #ffffff;
    }

    #Impressum-1 {
        font-size: 9px;
    }

    #Impressum-2 {
        font-size: 12px;
        line-height: 1.5;
        padding: 10px;
        background-color: #1A3E66;
        color: #ffffff;
    }

    #Impressum-2 a {
        color: #ffffff;
    }

    #Impressum-2 a:hover {
        color: #FFC300;
    }

    .a23_Sehenswuerdigkeiten,
    .a24_Sehenswuerdigkeiten_Sterne {
        font-size: 12px;
        text-align: justify;
        line-height: 1.2;
        margin: 0;
    }

    .a25_Bildunterschrift,
    .a83_Impressum_1_Text,
    .a83_Impressum_2_Text,
    .a84_Impressum_Info,
    .a41_eingestellt {
        font-size: 10px;
    }

    .a28_WV_Reiseführer {
        font-size: 10px;
        font-weight: bold;
        text-align: justify;
        line-height: 1.3;
    }

    .a29_ReiseInfos {
        font-size: 10px;
        text-align: justify;
        margin: 0;
        line-height: 1.2;
    }

    .WRF_Titel,
    .WRF_Link,
    .IRF-Seiten,
    .IRF-Titel_Link,
    .EM-Seiten,
    .EM-Titel_Link,
    .Bild_Personen,
    .Bild_300x300,
    .Bild_500x340,
    .Bild_500x500,
    .Bild_1000x688,
    .Bild_200x133,
    .Bild_300x200 {
        max-width: 100%;
        height: auto;
    }

    div.Titel-150 div,
    div.Titel-200 div,
    div.Titel-300 div {
        font-size: 10px;
        font-weight: bold;
        padding: 5px;
    }

    html, body {
        overflow-x: hidden;
    }
}

/*####################################################################################################################################*/
/* SONSTIGES */
/*####################################################################################################################################*/

.hidden {
    display: none;
}

/* von Marco <div class="-container"> (Optimiert für keinen Versatz) */
div.-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

div.-container iframe,
div.-container object,
div.-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

div.Top-Link {
    font-weight: bold;
    font-size: 16px;
    font-style: italic;
}

/* suchen mit Google */
#Google-suchen p {
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    font-style: italic;
}

/* Media-Größe-Anzeige (falls benutzt) */
#screen-info {
    position: fixed;
    bottom: 5px;
    right: 10px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 12px;
    padding: 3px 6px;
    border-radius: 4px;
    z-index: 9999;
    font-family: Verdana, Arial, sans-serif;
}

/* Anzeigen-Boxen */
div.Anzeige {}
.links {
    float: left;
    margin-right: 10px;
}
✅ Nächste Schritte für dich
Diese CSS in /Templates/layout.css speichern.

Im DWT sicherstellen, dass nur ein Menü existiert:

html
Code kopieren
<header class="sticky-header">
  <div class="header-inner">
    <a href="/index.html" class="header-logo">
      <img src="/Templates/Layout/Titelbanner_Eisenbahn-Europa.jpg"
           alt="Reiseführer Europa"
           class="header-banner">
    </a>

    <div class="menu-toggle" id="menu-toggle">☰ Menü</div>

    <nav class="main-navigation">
      <ul id="main-menu">
        ...
      </ul>
    </nav>
  </div>
</header>