html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    padding: 20px;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
}

header {
    background-color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
    padding: 0px 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1)
}

.header-spacer {
    height: 80px; /*Damit der Header nicht den Anfang überdeckt*/
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    width: 100px;
    height: 100px;
}

.nav-links a {
    color: black;
    margin-left: 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
}

.nav-links a:hover {
    text-decoration: underline;
    color: #b3b3b3;
}

.site-footer {
    background-color: #f2f2f2;
    padding: 20px;
    text-align: center;
    font-size: 0.9em;
    color: #333;
    border-top: 1px solid #ccc;
}

.site-footer a {
    color: #333;
    text-decoration: none;
    margin: 0 5px;
}

.site-footer a:hover {
    text-decoration: underline;
}

.about-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.AboutMe {
    flex: 2;
}

.AboutMe-Image {
    flex: 2;
}

.AboutMe-Image img {
    width: 550px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    display: block;
}

.Introduction-Text {
    font-family: 'Arial';
    text-align: center;
    margin: 0;
    background-image: url('../images/backgroundImage.JPG');
    background-size: cover;               /* Bild skalieren, damit es den Container ausfüllt */
    background-position: center -150px;     /* Bild zentrieren */
    background-repeat: no-repeat;         /* Bild nicht wiederholen */
    color: white;                       /* Schriftfarbe ändern, falls nötig */
    padding: 50px;                        /* Innenabstand, damit Text lesbar bleibt */
    padding-top: 140px;                   /* Header-Höhe + etwas Abstand */
}

.intro-section {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
    padding: 40px;
    flex-wrap: wrap;
}

.Main-Text {
    font-family: Arial;
    text-align: left;
    line-height: 1.8;
    flex: 1;
    max-width: 600px;
    width: 50%;
}

.Intro-Image {
    flex: 1;
    max-width: 500px;
}

.Intro-Image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.angebote-header {
    text-align: center;
    font-size: large;
}

.angebote-header h1 {
    margin: 0;
    padding: 5px;
}

.angebote-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 40px 20px;
    background-color: #f9f9f9;
}

.angebot-karte {
    background-color: #d1d1d1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 25px;
    width: 300px;
    height: 80%;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.angebot-karte:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.angebot-karte h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.angebot-karte p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
}

.angebot-karte-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #6e6e6e;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.angebot-karte-button:hover {
    background-color: #b3b3b3;
}

.angebot-karte-footer {
    margin-top: auto;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.checkbox-label input[type="checkbox"] {
    display: inline-block;
    width: auto;
    margin-top: 0;
}

.preis-zeile {
    font-size: 1.7rem;
    color: #222;
    margin: 0.5rem 0;
}

.preis-zeile .preis {
    font-size: 2rem;
    color: #43682a;
    font-weight: 700;
}

.preise-header {
    text-align: center;
    font-size: larger;
    margin-bottom: 40px;
}

.preise-header h1 {
    margin-bottom: 0.5rem;
}

.preise-wrapper {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 2rem;
    margin-bottom: 2rem;
}

.preise-karte {
    background-color: #f6f7f7;
    text-align: center;
    border-radius: 4px;
    flex: 1;
}

.preise-bild {
    flex: 1;
    object-fit: cover;
    border-radius: 8px;
    height: 100%;
    max-width: 300px;
    max-height: 100%;
}

.preise-karte h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.kontakt-header {
    text-align: center;
    font-size: larger;
    margin-bottom: 40px;
}

.kontakt-header h1 {
    margin-bottom: 0.5rem;
}

.kontakt-container {
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: flex-start;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.kontakt-text {
    flex: 1;
    min-width: 280px;
}

.kontakt-formular {
    flex: 1;
    min-width: 300px;
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.kontakt-formular label {
    display: block;
    margin-top: 1rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.kontakt-formular input,
.kontakt-formular textarea {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    resize: vertical;
}

.kontakt-formular button {
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background-color: #0077cc;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.kontakt-formular input:focus,
.kontakt-formular textarea:focus {
    border-color: #007bff;
    outline: none;
}

.kontakt-formular button:hover {
    background-color: #0056b3;
}

.kontakt-Button {
    background-color: #475154;
    display: inline-block;
    padding: 20px 150px;
    background-color: #6e6e6e;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: x-large;
    transition: background-color 0.3s ease;
}

.kontakt-Button:hover {
    background-color: #b3b3b3;
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.kontakt-wrapper {
    text-align: center;
    margin-bottom: 30px;
}

.danke-nachricht {
    max-width: 600px;
    margin: 20px auto;
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    text-align: center;
}

.YT-container {
    display: flex;
    justify-content: space-between;
    align-items: normal;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.YT-infos {
    flex: 2;
}

.YT-Image {
    flex: 2;
}

.YT-Image img {
    width: 550px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    display: block;
}

.YT-Button {
    background-color: #475154;
    display: inline-block;
    margin-top: 50px;
    padding: 20px 120px;
    background-color: #6e6e6e;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: x-large;
    transition: background-color 0.3s ease;
}

.YT-Button:hover {
    background-color: #a82020;
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}
