/* Grundlegende Einstellungen */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Sitka";
    line-height: 1.6;
    background-color: #e7e6e3;
    color: #342e2e;
}

.container {
    width: 90%;
    margin: auto;
    padding: 0px 0;
}

/* Header */
header {
    background: #342e2e;
    color: #e7e6e3;
    padding: 10px 0;
}

header a {
    color: #e7e6e3;
    text-decoration: none;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #e7e6e3;
    text-decoration: none;
    transition: color 0.3s;
}

nav ul li a.active {
    text-decoration: underline;
    font-weight: bold;
}

nav ul li a:hover {
    color: #852a06;
}


/* Startseite Hero-Bereich */
.hero.home {
    background-image: url(images/backgroundStartseite.JPG);
    background-size: cover;
    background-position: top;
    color: #e7e6e3;
    text-align: center;
    font-weight: bold;
    padding: 100px 10%;
}

.hero.home h2 {
    font-size: 4rem;
    margin-bottom: 20px;
    -webkit-text-stroke: 5px #342e2e;
        paint-order: stroke fill;
}

.hero.home p {
    font-size: 1.75rem;
    margin-bottom: 30px;
    -webkit-text-stroke: 3px #342e2e;
        paint-order: stroke fill;
}

.buttons {
    display: flex;
    gap: 20%;
    justify-content: center; 
    margin-top: 50px;
}

.button {
    display: inline-block;
    background: #e7e6e3;
    color: #342e2e;
    width: 30%;
    padding: 12px 24px;
    border-radius: 40px;
    text-decoration: none;
    margin-top: 20px;
    font-weight: bold;
    font-size: 2rem;
}

.button:hover {
    background: #342e2e;
    color: #e7e6e3;
    transition: all 0.3s ease;
}


/* Meditations- & Fantasyseite Hero-Bereich */
.hero.content {
    display: flex;
    align-items: stretch;      /* beide Spalten gleich hoch */
    gap: 2rem;                 /* Abstand zwischen Text und Bild */
    padding: 30px;
}

.hero.content h1{
    font-size: 4rem;
    margin-bottom: 40px;
}

.hero.content h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    margin-top: 40px;
}

.hero.content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    margin-top: 20px;
}

.hero.content h4 {
    font-size: 1.25rem;
    margin-bottom: 5px;
    margin-top: 10px;
}

/* Beide Bereiche jeweils 50% */
.content.text {
    flex: 1;
}

.content.image {
    flex: 1;
}

/* Text vertikal zentrieren */
.content.text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content.text p {
    font-size: 1.25rem;
    margin-bottom: 5px;
}

/* Bildcontainer */
.content.image {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Bild */
.content.image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Bild vollständig sichtbar */
    display: block;
    max-height: 500px; /* maximale Höhe für beide Bereiche */
}

.content.text a.button {
    font-size: 1.75rem;
    background: #342e2e;
    color: #e7e6e3;
    border: 2px solid #e7e6e3;
    margin-left: auto;
    margin-right: auto;
    width: fit-content; /* Buttongröße an den Inhalt anpassen */
    margin-top: 50px;
}

.content.text a.button:hover {
    background: #e7e6e3;
    color: #342e2e;
    border: 2px solid #342e2e;
    transition: all 0.3s ease;
}

.ytlink {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    text-decoration: none;
    color: #342e2e;
}

.ytlink h4 {
    font-size: 1.5rem;
    margin: 0;
    text-align: center;
}

#ytlink-description {
    font-size: 1rem;
    margin: 0;
}

.ytlink img {
    max-height: 60px;
}

.video-container {
    position: relative;
    width: 50%;
    aspect-ratio: 16 / 9;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}


/* Kontakt */
.hero.content h1.headline {
    margin-bottom: 0px;
}

.content.text a {
    color: #342e2e;
    text-decoration: none;
}

.content.text p.disclaimer {
    font-size: 0.75rem;
}

.content.text p.disclaimer a {
    text-decoration: underline;
}

.social-icons {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.social-icons p {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.social-icons a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #342e2e;
    margin-left: 10px;
}

.social-icons img {
    max-height: 30px;
}


/* Formular */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input,
textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    background: #342e2e;
    color: #e7e6e3;
    border: 2px solid #e7e6e3;
    padding: 12px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1rem;
    font-family: "Sitka";
}

button:hover {
    background: #e7e6e3;
    border: 2px solid #342e2e;
    color: #342e2e;
}


/* Footer */
footer {
    background: #e7e6e3;
    color: #342e2e;
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 20px;
    text-align: left;
    display: flex;
    align-items: center;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px;
    margin: 0px;
    border: none;
}

footer h3 {
    font-size: 1.5rem;
    font-weight: bold;
}

footer p {
    padding: 0;
    margin: 0;
    border: none;
}

footer a {
    color: #342e2e;
    text-decoration: none;
}

footer a.active {
    text-decoration: underline;
    font-weight: bold;
}


hr {
    border: none;
    margin: 20px 20px;
    border-top: 2px solid #342e2e;
}


/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero.home h2 {
        font-size: 2rem;
    }
}