/* Datei: css/basic.css */

* {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        }

body {
        font-family: 'Lora', Georgia, "Times New Roman", serif;
        background-color: #f4f4f4;
        /* ab hier veränderte Parameter */
        font-size: 18px;
        letter-spacing: 0.02em;
font-weight: 400;
line-height: 1.7em;
        }

/* zusätzliche Body Klasse */
.body_big {
        font-family: 'Lora', Georgia, "Times New Roman", serif;
        text-align: center;
        background-color: #c60435;
        font-size: 24px;
        letter-spacing: 0.02em;
font-weight: 400;
padding-bottom: 0px;
line-height: 1.7em;
        }

/* Definition strong */
strong {
            font-weight: 600;
        }

/* p class für Lead Text */
.pcenter {
text-align: center;
}

.pflow {
text-align: justify; margin-top: 20px;
}

/* Definition Linkfarbe */
a {
color: #000000;
text-decoration: none;
}

   
header {
            height: 0;
            padding: 0;
            overflow: hidden;
        }

.container {
            width: 100%;
        }

.block {
            padding: 10px;
            box-shadow: none;
            border-radius: 0;
            width: 100%;
            display: flex;
            justify-content: center;
            margin-bottom: 0;
        }

.blockdark {
            padding: 10px;
            box-shadow: none;
            border-radius: 0;
            width: 100%;
            display: flex;
            justify-content: center;
            margin-bottom: 0;
            background-color: #c60435;            
        }

.blockdark h1,
.blockdark h2,
.blockdark p,
.blockdark ul,
.blockdark a {
    color: #f5db70; /* Standardfarbe für alle Elemente in der Vorlage */
}


/* hell */
.block:nth-of-type(odd) {
            background-color: #f5db70;
        }

/* dunkel */
.block:nth-of-type(even) {
            background-color: #c60435;
        }

/* Laufweite des Blockinhalts */
.block-content {
            max-width: 70%;
            /* Abstand zwischen den Blöcken */
            padding-bottom: 20px;
            padding-top: 20px;
        }

h1 {
            margin-bottom: 15px;
            text-align: center;
            font-family: 'Playfair Display', Georgia, "Times New Roman", serif;
            /* ab hier veränderte Parameter */
            font-size: 38px;
            letter-spacing: 0.05em;
            padding-bottom: 10px;
			font-weight: 400;
			line-height: 1em;
        }
        
        
/* h2 zusätzlich definiert */
h2 {
        margin-bottom: 15px;
 		margin-top: 15px;
        font-family: 'Playfair Display', Georgia, "Times New Roman", serif;
        font-size: 26px;
        letter-spacing: 0.05em;
        padding-bottom: 10px;
		font-weight: 400;
		line-height: 1em;
        }

 /* Listenstyling */
        ul {
            padding-left: 30px; /* Einrückung linker Rand */
            padding-right: 80px; /* Einrückung rechter Rand */
        }
        
        li {
        list-style-position: outside;
            list-style-position: outside; /* Punkte außerhalb */
            padding-left: 20px; /* Abstand zwischen Punkt und Text */
            margin-bottom: 5px; /* Optional: Abstand zwischen den Listenelementen */
        }



/* Block alternierende Farben */
.block:nth-of-type(even) h1,h2, 
.block:nth-of-type(even) p {
            color: #f5db70;
        }

.block:nth-of-type(odd) h1,h2,ul, 
.block:nth-of-type(odd) p {
            color: #c60435;
        }

.images {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap:10px;
        }

.images img {
        max-width: 80%;
        height: auto;
        border-radius: 10px;
}

.images-bottom {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap:30px;
    padding-top: 30px;
}

.logo-image {
    width: 100%;      /* Nimmt die volle Breite des Containers ein */
    height: auto;     /* Höhe passt sich proportional an */
    transform: scale(0.5);  /* Skalierung um 50% */
    transform-origin: center;  /* Bild wird vom Zentrum aus skaliert */
}

.wide-image {
    width: 100%;      /* Nimmt die volle Breite des Containers ein */
    height: auto;     /* Höhe passt sich proportional an */
    transform: scale(1.5);  /* Skalierung um 150% */
    transform-origin: center;  /* Bild wird vom Zentrum aus skaliert */
}


.circle-image {
    width: 100%;      /* Nimmt die volle Breite des Containers ein */
    height: auto;     /* Höhe passt sich proportional an */
    transform: scale(0.6);  /* Skalierung Kreis */
    transform-origin: center;  /* Bild wird vom Zentrum aus skaliert */
}

.mm-image {
    width: 100%;      /* Nimmt die volle Breite des Containers ein */
    height: auto;     /* Höhe passt sich proportional an */
    transform: scale(0.7);  /* Skalierung Kreis */
    transform-origin: center;  /* Bild wird vom Zentrum aus skaliert */
}

 #back-to-top {
                position: fixed;
                bottom: 20px;
                right: 20px;
                background-color: #333;
                color: white;
                padding: 10px;
                border-radius: 5px;
                text-align: center;
                text-decoration: none;
                opacity: 0;
                visibility: hidden;
                transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
                z-index: 1000;
            }
    
     #back-to-top.show {
                opacity: 1;
                visibility: visible;
            }
            #back-to-top:hover {
                background-color: #555;
            }

footer {
    background-color: #c60435;
    color: #f8ea9f;
    text-align: center;
    padding: 10px 0;
    margin-top: 0;
    /* ab hier veränderte Parameter für Fonts */
    font-family: 'Lora', Georgia, "Times New Roman", serif;
    font-size: 14px;
font-weight: 400;
line-height: 1.7em;
        }

        /* Parallax-Effekt */
        .parallax {
            position: relative;
            height: 800px;
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
            background: url('../pics/Parallax-BG-new.png') center center/ cover fixed no-repeat; /* Hintergrundbild mit Parallax-Effekt */
        }

        /* Vordergrundbild fixieren */
        .parallax img {
            position: relative;
            z-index: 1;
            width: 90%;
            height: auto;
            top: 50%;
            transform: translateY(-50%); /* Zentriert das Bild vertikal */
        }

        /* Kolumnen in Block 3 */
        .columns {
            display: flex;
            gap: 20px;
            justify-content: space-between;
        }

        .column {
            flex: 1;
            padding: 10px;
            background-color: #f5db70;
            border-radius: 5px;
            display: flex;
            flex-direction: column;
        }

        .column p, .column strong {
            color: #5a1928;
        }

        .column1 {
            text-align: right;
        }

        .column2-heading {
            text-align: left;
        }

/* Standardansicht: Große Bildschirme */
.long-heading {
    display: block;
}

.short-heading {
    display: none;
}

/* ab hier Media Definitions */
/* Media Definition Bildschirm kleiner als 768px */
     @media (max-width: 768px) {
    .parallax {
        background-attachment: scroll; /* Deaktiviert den Parallax-Effekt auf mobilen Geräten */
        display: flex;
        justify-content: center;
        align-items: center; /* Zentriert das Bild vertikal */
    }

    .parallax img {
        width: 80%; /* Passe die Breite des Bildes an */
        height: auto;
        position: relative;
        top: auto;
        transform: none; /* Entfernt die vorherige Transformation */
    }

	.wide-image {
        width: 90%;      /* Kleinere Breite auf mobilen Geräten */
        transform: scale(1);  /* Keine Skalierung auf kleinen Bildschirmen */
    }
    .long-heading {
        display: none; /* Lange Überschrift ausblenden */
    }

    .short-heading {
        display: block; /* Kurze Überschrift anzeigen */
        line-height: 1.7; /* Erhöht den Zeilenabstand auf kleineren Bildschirmen */
    }
          
    .columns {
        flex-direction: column; /* Spalten untereinander anordnen */
        align-items: center;    /* Zentriert die Spalten horizontal */
    }

    .column {
        width: 100%;           /* Volle Breite auf kleineren Bildschirmen */
        text-align: left;       /* Optional: Text linksbündig, kannst du anpassen */
        margin-bottom: 40px;    /* Abstand zwischen den Spalten */
    }

    .column1 {
        text-align: right;      /* Text in Kolumne 1 bleibt rechtsbündig */
    }

    .column2-heading {
        text-align: left;       /* Text in Kolumne 2 bleibt linksbündig */
    }
}       
       
/* Media Query für Bildschirm kleiner als 480px (typische Smartphone-Breite) */
@media (max-width: 480px) {
    /* Abstand zwischen den Blöcken */
    .block-content {
        max-width: 80%;
        padding-bottom: 20px;
        padding-top: 20px;
        }
    
    
    .parallax {
        background-attachment: scroll;
        display: block;
        text-align: center;
        padding: 0; /* Entfernt Padding */
        height: 30%; /* Parallax-Feld um 70% verkleinern */
    }

    .parallax img {
        width: 100%;
        height: auto;
    }

 
.logo-image {
    width: 100%;      /* Nimmt die volle Breite des Containers ein */
    height: auto;     /* Höhe passt sich proportional an */
    transform: scale(0.8);  /* Skalierung um 50% */
    transform-origin: center;  /* Bild wird vom Zentrum aus skaliert */
}

.wide-image {
    width: 100%;      /* Nimmt die volle Breite des Containers ein */
    height: auto;     /* Höhe passt sich proportional an */
    transform: scale(1.6);  /* Skalierung um 150% */
    transform-origin: center;  /* Bild wird vom Zentrum aus skaliert */
}


.circle-image {
    width: 100%;      /* Nimmt die volle Breite des Containers ein */
    height: auto;     /* Höhe passt sich proportional an */
    transform: scale(0.8);  /* Skalierung Kreis */
    transform-origin: center;  /* Bild wird vom Zentrum aus skaliert */
}

.mm-image {
    width: 100%;      /* Nimmt die volle Breite des Containers ein */
    height: auto;     /* Höhe passt sich proportional an */
    transform: scale(0.9);  /* Skalierung Kreis */
    transform-origin: center;  /* Bild wird vom Zentrum aus skaliert */
}


.long-heading {
        display: none;
    }

.short-heading {
        display: block;
        font-size: 1.5rem;
        line-height: 1.5;
        padding: 0; /* Entfernt Padding */
        margin: 0; /* Entfernt Rand */
    }

    /* Stil für den Fließtext */
    p {
        font-size: 0.9rem;
        line-height: 1.6;
        text-align: justify;
        padding-left: 0;  /* Kein Padding links */
        padding-right: 0; /* Kein Padding rechts */
        margin-left: 0;   /* Kein Rand links */
        margin-right: 0;  /* Kein Rand rechts */
        width: 100%;      /* Textcontainer füllt die volle Breite */
    }

    .columns {
        flex-direction: column;
        align-items: center;
        padding: 0; /* Entfernt Padding */
        margin: 0;  /* Entfernt Rand */
    }

    .column {
        width: 100%;           /* Volle Breite */
        text-align: justify;
        margin-bottom: 10px;    /* Etwas Abstand nach unten */
        padding-left: 0;        /* Kein Padding links */
        padding-right: 0;       /* Kein Padding rechts */
        margin-left: 0;         /* Kein Rand links */
        margin-right: 0;        /* Kein Rand rechts */
    }

    .column1, .column2-heading {
        text-align: justify;
        margin: 0; /* Kein Rand */ 
        padding: 0; /* Kein Padding */
        padding-bottom: 20px;
    }

    .footer {
        font-size: 0.9rem;
        padding: 10px;  /* Padding */
        text-align: center;
        margin: 10px;      /* Rand */
        width: 100%;    /* Volle Breite für den Footer */
        display: flex;  /* Flexbox für den Footer */
    }
}
