/* Allgemeine Styles */
@font-face {
    font-family: 'Asap';
    src: url('../fonts/AsapCondensed-Regular.ttf');
}

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

body {
    font-family: "Asap", sans-serif;
    font-size: 1.3em;
    line-height: 1.3;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media screen and (min-width:960px) {
    body {
        margin: 8px 120px 12px
    }
}

@media screen and (min-width:1260px) {
    body {
        margin: 8px 240px 12px
    }
}

/* Header */
header {
    position: relative;
    background-color: #587251;
    background: url('../images/header.jpg') no-repeat top center;
    object-fit: contain;
    background-size: cover;
    min-height: 560px;
    color: #fff;
    border: 1px solid #506835;
    border-radius: 12px 12px 0 0;
}

.thin {
    font-weight: 200 !important;
}

.header-content {
    padding-left: 0px;
}

#ta_slogan1 {
    display: inline-block;
    margin-top: 24px;
}

#ta_slogan2 {
    margin: 0 auto;
    width: 60%;
    margin-top: 4.8rem;
    text-align: left;
}

#ta_slogan3 {
    margin: 0 auto;
    width: 60%;
    margin-top: 24px;
    text-align: left;
}

#ta_slogan4 {
    margin: 0 auto;
    width: 60%;
    margin-top: 24px;
    text-align: left;
}

.header-content h1 {
    background-color: #587251;
}

.header-content h2,
.header-content h3 {
    margin: 10px 0;
}

.slogan-large {
    color: #fff;
    text-transform: uppercase;
    font-size: 1.6rem;
    font-weight: 400;
    padding: 12px;
}

.slogan-medium {
    color: #fff;
    text-transform: uppercase;
    font-size: 3.6rem;
}

.slogan-small {
    color: #fff;
    text-transform: uppercase;
    font-size: 1.4rem;
}

.header-content img {
    position: absolute;
    right: 12px;
    bottom: 12px;
}

/* Menüleiste */
nav {
    background-color: #587251;
}

/* Content-Bereich */
main {
    padding: 20px;
    border: 1px solid #AEBDB8;
    border-radius: 0 0 12px 12px;
}

.content-block {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.content-block img {
    border-radius: 12px;
}

.image-wrapper img {
    border-radius: 12px;
}


.content-block h2 {
    margin: 0 0 20px 0;
    font-weight: 800;
    font-size: 2.0rem;
}

@media only screen and (min-height: 1024px) and (orientation: portrait) {
    .content-block h2 {
        margin: 80px 0 20px 0;
        font-weight: 800;
        font-size: 2.0rem;
    }
}

.content-block h3 {
    margin-bottom: 20px;
    font-size: 1.8rem;
    text-transform: uppercase;
    color: #587251;
}

.content-block h4 {
    margin-bottom: 20px;
    font-weight: 800;
    font-size: 1.4rem;
}

.content-block p {
    margin-bottom: 20px;
    text-align: justify;
    text-justify: inter-word;
}

.content-block blockquote {
    padding: 18px;
    text-align: justify;
    text-justify: inter-word;
}

.fa-quote-left {
	margin: 0 8px 0 0;
	color: #587251;
}

main .content-block ol {
    list-style: disc;
    /* sorgt für runde Aufzählungszeichen (standard) */
    margin-left: 40px;
    /* neutralisiert eventuelle globale 0-Margins */
    padding-left: 0;
    /* ... eigenes, gewünschtes Styling für Inhaltslisten */
}

main .content-block ol li {
    line-height: 1.5;
    /* ... eigenes, gewünschtes Styling für Listenelemente */
}

.content-block a {
    color: #587251;
}

.content-block a:hover {
    color: #97B18F;
}

.column {
    flex: 1;
}

.cleft {
    flex: 0 0 60%;
    padding-right: 8px;
}

.cright {
    flex: 0 0 40%;
    object-fit: cover;
}

@media only screen and (min-height: 1024px) and (orientation: portrait) {
    .cright img {
        margin-bottom: 240px;
    }
}

.column img.image_small {
    float: right;
    width: 100%;
}

@media screen and (min-width:960px) {
    .column_left {
        flex: 1;
        padding: 10px;
    }

    .column_right {
        flex: 1;
        padding: 10px;
    }

    .column img.image_small {
        float: right;
        width: 75%;
    }
}

@media screen and (min-width:1260px) {
    .column_left {
        flex: 1;
        padding: 10px;
    }

    .column_right {
        flex: 1;
        padding: 10px;
    }

    .column img.image_small {
        float: right;
        width: 60%;
    }
}

.image-wrapper {
    margin: 0 0 24px 0;
}

.image-wrapper img {
    width: 100%;
    height: auto;
}

/* Footer */
footer {
    background-color: #597156;
    color: #fff;
    text-align: center;
    padding: 20px;
    border-radius: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-block {
        flex-direction: column;
    }

    .menu {
        flex-direction: column;
    }

    .menu li {
        margin: 10px 0;
    }

    .slogan-large {
        font-size: 2rem;
    }

    .slogan-medium {
        font-size: 1.5rem;
    }

    .slogan-small {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .slogan-large {
        font-size: 1.5rem;
    }

    .slogan-medium {
        font-size: 1.2rem;
    }

    .slogan-small {
        font-size: 0.9rem;
    }

    .menu a {
        font-size: 1rem;
    }
}

/* Back to Top Button Styles */
#backToTopBtn {
    display: none;
    /* Anfangs unsichtbar */
    position: fixed;
    width: 64px;
    bottom: 40px;
    right: 30px;
    z-index: 99;
    font-size: 24px;
    background-color: #313E44;
    color: #202020;
    border: none;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
}

#backToTopBtn:hover {
    background-color: #AEBDB8;
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}