/* Landing page blog-article layout
 * Extends style.css — included only on SEO landing pages
 */

/* =========================================================
   Header height — override style.css 1050px
   ========================================================= */
header#home {
    height: 1050px;
}

.inhalt-header {
    height: 1050px;
}

/* Landscape team photos: center vertically, push below logo + nav links */
.inhalt-header.flex-container {
    align-items: center;
    padding-top: 160px;
}

/* Reset portrait-photo offsets — not needed for landscape team photos */
.inhalt-header .non-respon {
    bottom: 0;
}

.inhalt-header .flex-item:nth-child(2) {
    top: 0;
}

/* Ensure pulsing btn renders as block like btn-outline */
.inhalt-header .btn {
    display: inline-block;
}

/* "Mehr erfahren" outline button in hero */
.btn-outline {
    display: inline-block;
    margin-top: 16px;
    background-color: transparent;
    color: #ff7200;
    border: 2px solid #ff7200;
    font-weight: 600;
    font-size: 20px;
    padding: 10px 40px;
    border-radius: 30px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    animation: none;
}

.btn-outline:hover {
    background-color: #ff7200;
    color: #fff;
}

.inhalt-header h1::before {
    width: min(90%, 690px);
}
.inhalt-header h1::after {
    display: none;
}

/* =========================================================
   Article layout
   ========================================================= */
.landing-article {
    padding: 60px 0 80px;
    position: relative;
}

.article-wrapper {
    width: min(720px, 90%);
    margin: 0 auto;
}

/* Byline */
.article-meta {
    display: block;
    color: #ff7200;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

/* Lead paragraph */
.article-lead {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.65;
    color: #565656;
    padding-left: 20px;
    border-left: 4px solid #ff7200;
    margin-bottom: 28px;
}

/* Section headings inside article */
.landing-article h2 {
    font-size: 24px;
    font-weight: 700;
    color: #ff7200;
    line-height: 1.4;
    margin: 48px 0 16px;
    position: relative;
}

/* Remove decorative pseudo-elements (scoped to #benefits/#praxis etc.) */
.landing-article h2::before,
.landing-article h2::after {
    display: none;
}

.landing-article p {
    margin-bottom: 20px;
    line-height: 1.75;
}

/* Benefits list */
.article-benefits {
    list-style: none;
    padding: 24px 32px 24px 24px;
    margin: 24px 0 32px;
    background-color: #ffebe0;
    border-radius: 16px;
    border-left: 4px solid #ff7200;
}

.article-benefits li {
    padding: 7px 0 7px 32px;
    position: relative;
    font-size: 17px;
    line-height: 1.5;
}

.article-benefits li::before {
    content: '';
    background: url(../images/check.svg) no-repeat center center;
    background-size: contain;
    width: 20px;
    height: 20px;
    position: absolute;
    left: 0;
    top: 10px;
}

/* Inline team portrait */
.article-figure {
    float: right;
    margin: 8px 0 32px 40px;
    max-width: 280px;
    clear: right;
}

.article-figure img {
    width: 100%;
    height: auto;
    border-radius: 50% 50% 0 50%;
    display: block;
    aspect-ratio: 1;
    object-fit: cover;
}

.article-figure figcaption {
    text-align: center;
    margin-top: 10px;
    color: #ff7200;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.4;
}

/* Clearfix after float */
.article-wrapper::after {
    content: '';
    display: table;
    clear: both;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.faq-item {
    border-bottom: 2px solid #f0cbe4;
    padding: 28px 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item dt {
    color: #ff7200;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.faq-item dd {
    margin: 0;
    color: #565656;
    line-height: 1.75;
}

/* =========================================================
   Related pages nav
   ========================================================= */
.related-pages {
    padding: 60px 0 80px;
    background-color: #ffebe0;
    text-align: center;
    margin-top: 120px;
}

.related-pages h2 {
    color: #565656;
    font-weight: 300;
    margin-bottom: 32px;
}

.related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-links a {
    display: inline-block;
    padding: 8px 20px;
    border: 2px solid #ff7200;
    border-radius: 24px;
    color: #ff7200;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.related-links a:hover {
    background-color: #ff7200;
    color: #fff;
}

.related-links a:focus-visible {
    outline: 3px solid #f00299;
    outline-offset: 2px;
    background-color: #ff7200;
    color: #fff;
}

/* =========================================================
   Accessible focus (restores what style.css removes for keyboard nav)
   ========================================================= */
a:focus-visible,
button:focus-visible {
    outline: 3px solid #f00299;
    outline-offset: 2px;
}

/* =========================================================
   Responsive
   ========================================================= */

@media screen and (max-width: 740px) {
    .article-figure {
        float: none;
        max-width: 220px;
        margin: 0 auto 32px;
        display: block;
    }

    .article-lead {
        font-size: 18px;
    }

    .landing-article h2 {
        font-size: 22px;
        margin: 36px 0 12px;
    }

    .article-benefits {
        padding: 20px;
    }

    .related-pages {
        margin-top: 100px;
    }
}

@media screen and (max-width: 586px) {
    .article-benefits li {
        font-size: 16px;
    }

    .article-wrapper {
        width: 92%;
    }

    .btn-outline {
        font-size: 16px;
        padding: 12px 40px;
    }
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
    [data-aos] {
        transition: none !important;
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}
