/* Grund-Setup */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    align-items: center;
}


/* Typography Setup */
h1, h2 {
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.1;
}

/* Hauptüberschrift: Groß und markant */
h1 {
    font-size: 2rem;
    font-weight:700;
    color: #222;
    position: relative;
    padding-bottom: 10px;
}

/* Stilistisches Element unter der H1 */
h1::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100px;
    height: 4px;
    background-color: #555; /* Passend zum Header/Footer-Grau */
}

/* Unterüberschrift: Schlanker und ergänzend */
h2 {
    font-size: 1.2rem;
    font-weight: 300;
    color: #666;
    margin-top: -5px; /* Zieht die H2 näher an die H1 */
}

/* Container-Begrenzung */
header, main, footer {
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
}

/* Header */
header {
    padding: 10px;
    background-color: #fff;
    margin-bottom: 10px;
}

.logo img {
    max-height: 70px;
    width: auto;
}

/* Hauptbereich Layout */
main {
    display: flex;
    gap: 20px;
    padding: 20px;
    background-color: #fff;
}


/* Panorama Bereich */
.content {
    flex: 0 0 70%;
    /* Perspektive für tiefergehende Effekte */
    perspective: 1000px; 
      padding-top: 10px;
}


.content iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    height: 460px;
    
    /* Erzeugt den Effekt des Hervorstehens */
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.15), 
        0 20px 60px rgba(0, 0, 0, 0.1);
        
    /* Sorgt für weiche Übergänge bei Interaktion */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    
    background-color: #000;
    display: block;
}


.ce-row {
    clear: both;
    display: block;
    width: 100%;
}

/* Die Spalten nebeneinander bringen */
.ce-column {
    float: left;
    width: 45%; 
    box-sizing: border-box;
    padding: 2px; /* Optionaler Abstand zwischen den Bildern */
}

/* Sicherstellen, dass die Bilder nicht aus der Spalte ausbrechen */
.ce-column figure.image, 
.ce-column img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Den Float nach der Galerie aufheben, damit nachfolgende Texte nicht hochwandern */
.ce-gallery::after {
    content: "";
    display: table;
    clear: both;
}


/* Sidebar Liste (30%) */
.sidebar {
    flex: 1;
}

.sidebar h2 {
    border-left: 2px solid #333;
      padding-left: 10px;
}

.sidebar ul {
    list-style: none;
    padding-left: 10px;
    margin: 0;
}

.sidebar li {
    padding: 12px 15px;
    margin-bottom: 8px;
    background: #f9f9f9;
    border-left: 1px solid #333;
    transition: all 0.3s ease;
    cursor: pointer;
}

.sidebar li:hover {
    background: #ccc;
    transform: translateX(5px);
}

/* Footer */
footer {
    padding: 20px;
    background-color: #fff;
    color: #fff;
    margin-top: 20px;
}

.footer-flex-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
    border-top: 1px solid #555;
    padding-top: 10px;
    justify-content: space-between; /* Verteilt links, mitte und rechts */
    align-items: center;           /* Zentriert alle Elemente vertikal */
    width: 100%;
}

.footer-image img {
    height: 33px;
    width: auto;
}

.footer-text p {
    margin: 0;
    font-size: 0.75em;
    line-height: 1.4;
  color:#000;
  margin-right: auto;
}


/* Optional: Damit Bild und Text links bleiben und nur das Logo rechts steht */
.footer-logos-right {
    margin-left: auto; /* Schiebt das Logo-Element an den rechten Rand */
}

.footer-logos-right img {
    height: auto;
    max-width: 120px;              /* Begrenzt die Größe der Logos */
}



@media screen and (max-width: 870px) {
    /* Layout-Wechsel für den Hauptcontainer */
    main {
        flex-direction: column;
    }
    .content, .sidebar {
        flex: 1 1 100%;
    }
    
    /* Spalten-Anpassung (greift hier bereits ab 800px) */
    .ce-column {
        width: 90%;
        padding: 1px;
    }
}

@media screen and (max-width: 480px) {
    .ce-column {
        width: 100%;
        padding: 0;
    }
}


