/* _base.css: Globale Stile, Reset, Layout-Grundlagen, Sticky Footer */

/* Globale Stile & Reset (WICHTIG für Sticky Footer) */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Definiert die volle Höhe des Viewports und setzt Flexbox auf den Body */
html, body {
    height: 100%; 
}

body {
    font-family: 'Montserrat', sans-serif; /* Standardschriftart ist Montserrat */
    line-height: 1.6;
    color: #000000; /* Textfarbe ist Schwarz */
    background-color: #FFFFFF; /* Hintergrund ist REIN WEISS */
    
    /* STICKY FOOTER SETUP */
    display: flex;
    flex-direction: column; /* Kinder vertikal anordnen */
}

/* Hauptinhaltsbereich, der sich ausdehnt, um den Footer nach unten zu drücken (WICHTIG für Sticky Footer) */
main {
    flex: 1 0 auto; /* Erlaubt dem main-Inhalt, sich auszudehnen */
}

/* Allgemeine Layout-Elemente */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Anpassung der Überschriften */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif; /* Überschriften bleiben klassisch */
    color: #000000; /* Überschriftenfarbe ist SCHWARZ (als Standard) */
}

h1 {
    text-align: center;
}

a {
    color: #0310FF; /* Akzentfarbe für Links bleibt Dunkelblau */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* HERO SEKTION */
.hero-section {
    text-align: center;
    padding: 30px 0; /* WEISSRAUM REDUZIERT (von 40px) */
    background-color: #FFFFFF;
}

.hero-title {
    font-size: 3.5em;
    color: #0310FF; /* H1/Hero Title in Dunkelblau */
    
    /* MODERNE AKZENTLINIE UNTER H1 */
    position: relative; 
    padding-bottom: 10px;
    margin-bottom: 25px; 
}
/* Pseudoelement für den Akzentstrich */
.hero-title::after {
    content: '';
    display: block;
    width: 60px; 
    height: 3px;
    background-color: #0310FF; /* Dunkelblau Akzent */
    margin: 10px auto 0 auto; /* Zentriert unter dem Titel */
}

.hero-subtitle {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto;
    color: #000000;
}

/* INHALTSBLOCK */
.content-block {
    padding: 25px 0; /* WEISSRAUM REDUZIERT (von 30px) */
    background-color: #fff;
}

.layout-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; 
    gap: 40px; /* WEISSRAUM REDUZIERT (von 50px) */
    align-items: center;
}

/* KLASSE FÜR REIHENFOLGE-UMKEHRUNG (Bild links, Text rechts) */
.layout-grid.reverse {
    grid-template-areas: "image text";
    grid-template-columns: 0.9fr 1.1fr; /* Umgekehrte Asymmetrie */
}

/* Definition der Bereiche für die Umkehrung */
.layout-grid.reverse .text-content {
    grid-area: text;
}
.layout-grid.reverse .image-content {
    grid-area: image;
}


.text-content h2 {
    font-size: 2.5em;
    color: #0310FF; /* H2 in Dunkelblau */

    /* MODERNE AKZENTLINIE UNTER H2 */
    position: relative; 
    padding-bottom: 10px;
    margin-bottom: 30px; 
}

/* Pseudoelement für den Akzentstrich unter H2 */
.text-content h2::after {
    content: '';
    display: block;
    width: 40px; 
    height: 3px;
    background-color: #0310FF; /* Dunkelblau Akzent */
    margin-top: 5px;
}


.responsive-img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px; /* Stärkere Abrundung */
    box-shadow: 0 8px 16px rgba(0,0,0,0.1); /* Subtilerer, größerer Schatten */
}

.image-content {
    position: relative;
}

/* Regeln für das Copyright auf der Startseite */

.copyright-overlay-home {
    /* Positionierung */
    position: absolute;
    bottom: 0; 
    right: 0; 
    
    /* Hintergrund und Transparenz */
    background-color: rgba(0, 0, 0, 0.65);
    
    /* Text-Stil */
    color: #FFFFFF; 
    font-size: 0.8em; 
    padding: 6px 10px; 
    line-height: 1.2;
    z-index: 10;
    border-bottom-right-radius: 12px; /* Abrundung unten rechts */
}

/* Optional: Kleinere Schrift auf Mobilgeräten, falls das Overlay zu groß erscheint */
@media (max-width: 768px) {
    .copyright-overlay-home {
        font-size: 0.7em;
        padding: 4px 8px;
    }
}

/* CTA SEKTION - NEUER, ZUSAMMENGEFÜHRTER STIL MIT FOOTER */
.cta-section {
    background-color: #0310FF; /* Hintergrund in Dunkelblau für einheitlichen Block */
    color: #FFFFFF; /* Text in Weiß */
    text-align: center;
    padding: 30px 0; /* WEISSRAUM REDUZIERT (von 40px) */
    position: relative; 
    z-index: 5;
}

.cta-section h2 {
    color: #FFFFFF; /* Überschrift in Weiß */
    font-size: 2.2em; /* Größerer Impact */
    margin-bottom: 10px;
}

/* Akzentstrich unter CTA H2 in Goldgelb */
.cta-section h2::after {
    content: '';
    display: block;
    width: 60px; 
    height: 3px;
    background-color: #FFC700; /* Goldgelb Akzent */
    margin: 10px auto 0 auto; 
}

.cta-section p {
    font-size: 1.1em;
    margin-bottom: 30px; 
}

.cta-button {
    display: inline-block;
    background-color: #FFC700; /* Knopf in Goldgelb (starker Akzent) */
    color: #000000; /* Text in Schwarz */
    padding: 14px 35px; /* Größerer Button */
    border-radius: 8px; 
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #FFC700; 
}

.cta-button:hover {
    background-color: #FFFFFF; 
    color: #0310FF; 
    text-decoration: none;
    border-color: #FFFFFF;
}