@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/* ====== Grundlegendes Layout ====== */
:root {
    --maxw: 1200px;
    --green: #2f9b30;
    --green-darker: #2d7420;
    --green-2: #1e7e34;
    --green-3: #39b54a;
    --text: #0d1a12;
    --white: #ffffff;
    --muted: #3e6a4b;
    --special: #27552c;
    --shadow: 0 10px 30px rgba(0, 0, 0, .12);
    --radius-lg: 24px;

    --bar-chart-1: #42d344;
    --bar-chart-2: #38b83a;
    --bar-chart-3: #2f9b30;
    --bar-chart-4: #257d27;
    --bar-chart-5: #1a591b;
    --bar-chart-6: #133d13;
    --bar-chart-ground: #413229;
}

* {
    box-sizing: border-box
}

img {
    max-width: 100%;
    display: block
}

body {
    margin: 0;
    padding: 0;
    font-family: "Roboto", sans-serif;
}

header {
    position: fixed;
    top: 0;
    right: 2.5rem;
    font-size: 40pt;
    color: var(--white);
}

.brand__logo {
    max-width: 200px;
}

.hero-banner {
    display: flex;
    flex-direction: column;
    background-image: url("../img/bg-hero.jpg");
    height: 100vh;
    background-size: cover;
    padding: 4.5rem;
    box-sizing: border-box;
}

.hero-banner .hero-image {}

.hero-banner .hero-text {
    align-self: flex-end;
    color: var(--white);
    text-align: right;
}

.hero-banner .hero-text h1 {
    font-size: 133px;
    text-align: right;
    margin: 0;
    font-weight: 400;
}

.hero-banner .hero-text p {
    font-size: 37px;
    font-weight: 300;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    margin: 0;
}

.hero-banner .hero-text p img {
    width: 100px;
}

.s2,
.eva {
    padding: 4.5rem;
    min-height: 100vh;
}

.s2__container,
.eva__container {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.s2__heading,
.s2__info,
.eva__heading,
.eva__info {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.s2__heading .s2__heading-text,
.s2__info .s2__info-text,
.eva__heading .eva__heading-text,
.eva__info .eva__info-text {
    flex: 1;
}

.pilot__heading {
    width: 100%;
}

.pilot__heading-info-text {
    width: 100%;
}

.pilot__heading-info-text h2 {
    margin: 0 0 10px 0;
    font-weight: 300;
    line-height: 1.02;
    color: var(--green);
    letter-spacing: .01em;
    font-size: clamp(2.4rem, 6.6vw, 4.6rem);
    text-align: left;
}

.pilot__callout_one {
    color: #ffffff;
    background-color: #363636;
    display: flex;
    flex-direction: row;
    align-items: center;
    border-radius: var(--radius-lg);
    margin-bottom: .5rem;
}

.pilot__callout_two {
    color: #ffffff;
    background-color: var(--special);
    display: flex;
    flex-direction: row;
    align-items: center;
    border-radius: var(--radius-lg);
    margin-bottom: .5rem;
}

.pilot__callout_three {
    color: #ffffff;
    background-color: var(--green);
    display: flex;
    flex-direction: row;
    align-items: center;
    border-radius: var(--radius-lg);
    margin-bottom: .5rem;
}

.pilot__callout_one span,
.pilot__callout_two span,
.pilot__callout_three span {
    flex: 0.25;
    text-align: center;
    font-size: 50px;
}

.pilot__callout_one p,
.pilot__callout_two p,
.pilot__callout_three p {
    flex: 1.75;
}

.s2__heading .s2__heading-text h2,
.eva__heading .eva__heading-text h2 {
    margin: 0 0 10px 0;
    font-weight: 300;
    line-height: 1.02;
    color: var(--green);
    letter-spacing: .01em;
    font-size: clamp(2.4rem, 6.6vw, 4.6rem);
}

.s2__heading .s2__heading-text h2 span,
.eva__heading .eva__heading-text h2 span {
    display: block
}

.s2__heading .s2__heading-text h2 .s2__special,
.eva__heading .eva__heading-text h2 .eva__special {
    color: var(--special);
}

.s2__heading .s2__heading-text p,
.etf1__heading-title p,
.etf2__heading-title p,
.etf3__heading-title p,
.etf3a__heading-title p,
.etf3b__heading-title p,
.etf4__heading-title p,
.etf5__heading-title p,
.eva__heading-text p {
    margin: 6px 0 0;
    color: var(--muted);
}

.s2__heading .s2__heading-text p,
.s2__info .s2__info-text p,
.etf1__heading-title p,
.etf2__heading-title p,
.etf3__heading-title p,
.etf3a__heading-title p,
.etf3b__heading-title p,
.etf4__heading-title p,
.etf5__heading-title p,
.cert__heading-title p {
    font-size: 37px;
    font-weight: 100;
}

.cert__heading-title p {
    font-size: 37px !important;
    font-weight: 100 !important;
}

.eva__info .eva__info-text p {
    font-size: 25px;
    font-weight: 100;
}

.blockquote-author {
    font-size: 20px !important;
}

.s2__heading .s2__heading-image,
.s2__info .s2__info-image,
.s3__heading .s3__heading-image {
    flex: 1;
}

/* ====== Bilder ====== */
.s2__img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    object-fit: cover;
    max-height: 375px;
    width: 100%;
}

/* ====== Callout (überlappt Bild unten) ====== */
.s2__callout {
    align-self: center;
    transform: translateY(-18%);
    background: linear-gradient(90deg, var(--green-2), var(--green-3));
    color: var(--white);
    padding: 26px 32px;
    border-radius: 26px;
    margin-left: -15%;
}

.s2__callout p {
    margin: 0;
    font-size: 25px !important;
    line-height: 1.35;
    letter-spacing: .01em;
}

.s3 {
    padding: 4.5rem;
    min-height: 100vh;
}

.s3__container {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.s3__heading {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
}

.s3__heading .s3__heading-text {
    flex: 1;
    position: relative;
}

.s3__heading .s3__heading-text h2 {
    margin: 0 0 10px 0;
    font-weight: 300;
    line-height: 1.02;
    color: var(--green);
    letter-spacing: .01em;
    font-size: clamp(2.4rem, 6.6vw, 4rem);
    /* sehr groß */
}

.s3__heading .s3__heading-text h2 span {
    display: block
}

.s3__heading .s3__heading-text .s3__registered {
    font-size: clamp(1.4rem, 3.6vw, 3.1rem);
}

.s3__heading .s3__heading-text .s3__special {
    color: var(--special);
}

.s3__callout-one,
.s3__callout-two {
    align-self: center;
    color: var(--white);
    padding: 26px 32px;
    border-radius: 26px;
    max-width: 475px;
    display: flex;
    align-items: center;
    position: absolute;
}

.s3__callout-one {
    background: var(--green);
    z-index: 10;
    top: 12.5rem;
    left: 2.5rem;
}

.s3__callout-two {
    background: var(--special);
    z-index: 100;
    top: 21rem;
    right: 0;
    text-align: right;
}

.s3__callout-one p,
.s3__callout-two p {
    margin: 0;
    font-size: 25px;
    line-height: 1.35;
    letter-spacing: .01em;
    font-weight: 100
}

.etf1,
.etf2,
.etf3,
.etf3a,
.etf3b,
.etf4,
.etf5,
.cert,
.pilot,
.contact {
    padding: 4.5rem;
    min-height: 100vh;
}

.s2__container,
.s3__container,
.etf1__container,
.etf2__container,
.etf3__container,
.eva__container,
.etf3a__container,
.etf3b__container,
.etf4__container,
.etf5__container,
.fio__container,
.cert__container,
.pilot__container,
.dhg__container,
.eifelholz__container,
.contact__container {
    display: flex;
    flex-direction: column;
    max-width: 1498px;
    width: 100%;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.etf1__heading,
.etf2__heading,
.etf3__heading,
.etf3a__heading,
.etf3b__heading,
.etf4__heading,
.etf5__heading {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
}

.etf1__heading .etf1__heading-graph,
.etf2__heading .etf2__heading-graph,
.etf3__heading .etf3__heading-graph,
.etf3a__heading .etf3a__heading-graph,
.etf3b__heading .etf3b__heading-graph,
.etf4__heading .etf4__heading-graph,
.etf5__heading .etf5__heading-graph {
    flex: 1;
    position: relative;
}

.etf1__heading .etf1__heading-title,
.etf2__heading .etf2__heading-title,
.etf3__heading .etf3__heading-title,
.etf3a__heading .etf3a__heading-title,
.etf3b__heading .etf3b__heading-title,
.etf4__heading .etf4__heading-title,
.etf5__heading .etf5__heading-title {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 1.5rem;
}

.etf1__heading .etf1__heading-title h2,
.etf2__heading .etf2__heading-title h2,
.etf3__heading .etf3__heading-title h2,
.etf3a__heading .etf3a__heading-title h2,
.etf3b__heading .etf3b__heading-title h2,
.etf4__heading .etf4__heading-title h2,
.etf5__heading .etf5__heading-title h2,
.cert__heading .cert__heading-title h2 {
    margin: 0 0 10px 0;
    font-weight: 300;
    line-height: 1.02;
    color: var(--green);
    letter-spacing: .01em;
    font-size: clamp(2.4rem, 6.6vw, 4.6rem);
    /* sehr groß */
}

.etf1__heading .img_with_icon,
.etf2__heading .img_with_icon,
.etf3__heading .img_with_icon,
.etf3a__heading .img_with_icon,
.etf3b__heading .img_with_icon,
.etf4__heading .img_with_icon,
.etf5__heading .img_with_icon {
    max-height: 500px;
    max-width: 780px;
    width: 100%;
    position: relative;
}

.etf1__heading .img_with_icon img,
.etf2__heading .img_with_icon img,
.etf3__heading .img_with_icon img,
.etf3a__heading .img_with_icon img,
.etf3b__heading .img_with_icon img,
.etf4__heading .img_with_icon img,
.etf5__heading .img_with_icon img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    object-fit: cover;
    max-height: 500px;
    max-width: 780px;
    width: 100%;
    height: 100vh;
}

.etf1__heading .img_with_icon .icon,
.etf2__heading .img_with_icon .icon,
.etf3__heading .img_with_icon .icon,
.etf3a__heading .img_with_icon .icon,
.etf3b__heading .img_with_icon .icon,
.etf4__heading .img_with_icon .icon,
.etf5__heading .img_with_icon .icon {
    max-height: 150px;
    max-width: 150px;
    width: 100%;
    position: absolute;
    top: -4.5rem;
    right: -4rem;
}

.cert__heading,
.pilot__heading {
    justify-content: center;
    align-items: center;
}

.cert__heading .cert__heading-title p {
    padding: 0;
    margin: 0;
}

.cert__heading .cert__heading-info,
.pilot__heading .pilot__heading-info {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.cert__heading .cert__heading-info {
    align-items: flex-start;
}

.cert__heading .cert__heading-info .cert__heading-info-image,
.pilot__heading .pilot__heading-info .pilot__heading-info-image {
    flex: 1;
}

.cert__heading .cert__heading-info .cert__heading-info-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert__heading .cert__heading-info .cert__heading-info-image img,
.pilot__heading .pilot__heading-info .pilot__heading-info-image img {
    width: 100%;
    max-width: 550px;
}

.cert__heading .cert__heading-info .cert__heading-info-image img {
    -webkit-filter: drop-shadow(0 0 0.75rem #666666);
    filter: drop-shadow(0 0 0.75rem #666666);
    max-width: 300px;
}

.cert__heading .cert__heading-info .cert__heading-info-text,
.pilot__heading .pilot__heading-info .pilot__heading-info-text {
    flex: 1;
}

.cert__heading .cert__heading-info .cert__heading-info-text {
    flex: 1.65;
}

.cert__heading .cert__heading-info p,
.pilot__heading .pilot__heading-info p {
    font-size: 25px;
    font-weight: 100;
}

.cert__heading .cert__heading-info p b {
    font-size: 30px;
    font-weight: 400;
}

.fio,
.dhg,
.eifelholz {
    padding: 4.5rem;
    min-height: 100vh;
}

.fio__container,
.dhg__container,
.eifelholz__container {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.fio__heading,
.dhg__heading,
.eifelholz__heading {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
}

.fio__heading .fio__heading-text,
.dhg__heading .dhg__heading-text,
.eifelholz__heading .eifelholz__heading-text {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: row;
}

.fio__heading .fio__heading-text .fio__heading-text-container,
.dhg__heading .dhg__heading-text .dhg__heading-text-container,
.eifelholz__heading .eifelholz__heading-text .eifelholz__heading-text-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.fio__heading .fio__heading-text .fio__heading-text-container {
    flex: 1.5;
}

.fio__heading .fio__heading-text .fio__heading-text-container .faser-boxes {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.fio__heading .fio__heading-text .fio__heading-text-container .faser-boxes .faser-box {
    flex: 1;
}

.fio__heading .fio__heading-text .fio__heading-text-container .faser-boxes .faser-box h3 {
    font-size: 25px;
    color: var(--green-darker);
    font-weight: 300;
}

.fio__heading-text-container p {
    font-size: 25px !important;
}

.fio__heading .fio__heading-text .fio__heading-text-boxes,
.dhg__heading .dhg__heading-text .dhg__heading-text-boxes,
.eifelholz__heading .eifelholz__heading-text .eifelholz__heading-text-boxes {
    flex: 1;
    position: relative;
}

.fio__heading .fio__heading-text h2,
.dhg__heading .dhg__heading-text h2,
.eifelholz__heading .eifelholz__heading-text h2 {
    margin: 0 0 10px 0;
    font-weight: 300;
    line-height: 1.02;
    color: var(--green);
    letter-spacing: .01em;
    font-size: clamp(2.4rem, 6.6vw, 4.6rem);
    /* sehr groß */
}

.fio__heading .fio__heading-text p,
.dhg__heading .dhg__heading-text p,
.eifelholz__heading .eifelholz__heading-text p {
    font-size: 25px;
    font-weight: 100;
}

.fio__heading .fio__heading-text h2 span {
    display: block
}

.fio__heading .fio__heading-text .fio__registered {
    font-size: clamp(1.4rem, 3.6vw, 3.1rem);
}

.fio__heading .fio__heading-text .fio__special,
.dhg__heading .dhg__heading-text .dhg__special,
.eifelholz__heading .eifelholz__heading-text .eifelholz__special {
    color: var(--special);
}

.fio__callout-two {
    align-self: center;
    color: var(--white);
    padding: 26px 32px;
    border-radius: 26px;
    max-width: 467.5px;
    height: 275px;
    display: flex;
    align-items: center;
    position: absolute;
}

.fio__callout-two {
    background: var(--special);
    z-index: 10;
    left: 2.5rem;
    top: 0;
    bottom: 0;
}

.fio__callout-two ul,
.dhg__callout-one p,
.dhg__callout-two p,
.eifelholz__callout-one p,
.eifelholz__callout-two p {
    margin: 0;
    font-size: 21px;
    line-height: 1.35;
    letter-spacing: .01em;
    font-weight: 100
}

.fio__callout-two ul {
    list-style: none;
    padding-left: 0;
    /* Entfernt das Standard-Padding */
}

.fio__callout-two li::before {
    content: "✓ ";
    /* Verwendet "»" als Aufzählungszeichen */
    margin-right: 0.5em;
    /* Fügt etwas Platz hinzu */
}

.dhg__callout-two a {
    color: #fff;
    font-weight: 100;
    text-align: right;
    width: 100%;
}

.dhg__callout-two a:hover {
    text-decoration: underline;
}

.pilot__callout {
    align-self: center;
    color: var(--white);
    padding: 26px 32px;
    border-radius: 26px;
    display: flex;
    align-items: center;
}

.pilot__callout {
    background: var(--green);
    z-index: 10;
    left: 2.5rem;
    top: 0;
}

.pilot__callout p {
    margin: 0;
    font-size: 21px;
    line-height: 1.35;
    letter-spacing: .01em;
    font-weight: 100
}

.dhg__callout-one,
.dhg__callout-two {
    align-self: center;
    color: var(--white);
    padding: 26px 32px;
    border-radius: 26px;
    max-width: 480.5px;
    display: flex;
    align-items: center;
    position: absolute;
}

.dhg__callout-one {
    background: var(--green);
    z-index: 10;
    left: 2.5rem;
    top: 0;
}

.dhg__callout-two {
    background: var(--special);
    z-index: 100;
    top: 11rem;
    right: 0;
    text-align: left;
}

.eifelholz__heading .eifelholz__heading-text .eifelholz__special {
    font-size: 50px;
}

.eifelholz__callout-one,
.eifelholz__callout-two {
    align-self: center;
    color: var(--white);
    padding: 26px 32px;
    border-radius: 26px;
    max-width: 467.5px;
    display: flex;
    align-items: center;
    position: absolute;
}

.eifelholz__callout-one {
    background: var(--green);
    z-index: 10;
    left: 2.5rem;
    top: 0;
}

.eifelholz__callout-two {
    background: var(--special);
    z-index: 100;
    top: 13rem;
    right: 0;
    text-align: left;
}

.eifelholz__heading .eifelholz__heading-text .eifelholz__heading-text-container {
    flex: 1.15;
}

.eifelholz__heading .eifelholz__heading-text .eifelholz__heading-text-boxes {
    flex: 0.85;
}

.dhg,
.eifelholz {
    padding: 0;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    padding-top: 20vh;
}

.dhg {
    background-image: url("../img/dhg_drohne.jpg");
}

.eifelholz {
    background-image: url("../img/eifelholz_drohne.png");
}

.dhg__container,
.eifelholz__container {
    padding: 2.5rem 4.5rem;
    background-color: #ffffff;
    min-height: 80vh;
    margin-top: 20vh;
}

.eva__info .eva__info-image {
    position: relative;
    flex: 1;
}

.eva__info .eva__info-image .eva__img {
    border-radius: 50%;
    width: 500px;
    height: 500px;
    object-fit: cover;
}

.eva__info .eva__info-image .eva__badge {
    position: absolute;
    bottom: 0;
    width: 300px;
    right: 0;
    -webkit-filter: drop-shadow(0 0 0.75rem #666666);
    filter: drop-shadow(0 0 0.75rem #666666);
}

.contact__info {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    gap: 2.5rem;
    align-items: center;
}

.contact__info .contact__info-img {
    flex: 1;
    max-width: 600px;
}

.contact__info .contact__info-img img {
    border-radius: 50%;
}

.contact__info .contact__info-details {
    flex: 1;
}

.contact__info .contact__info-details h2 {
    margin: 0 0 10px 0;
    font-weight: 300;
    line-height: 1.02;
    color: var(--green);
    letter-spacing: .01em;
    font-size: clamp(2.4rem, 6.6vw, 4.6rem);
}

.contact__info .contact__info-details p {
    font-size: 25px;
    font-weight: 100;
    line-height: 1.35;
    margin: 0;
}

.contact__info .contact__info-details b {
    color: var(--green);
    font-weight: 400;
}

.social-media-box {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
}

.social-media-box .social-media {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.social-media-box .social-media img {
    max-width: 75px;
    width: 100%;
}

.social-media-box .social-media p {
    font-weight: 200;
    color: var(--green);
}

.dhg__callout-one,
.dhg__callout-two,
.eifelholz__callout-two {
    display: flex;
    flex-direction: column;
    text-align: left;
    align-items: self-start;
}

.dhg__callout-one ul,
.dhg__callout-two ul,
.eifelholz__callout-two ul {
    font-size: 20px;
    font-weight: 100;
    margin-top: 0;
}

/* (<= 1350px) */
@media (max-width: 1350px) {

    /* Skalierungs-Variablen nur für ≤992px */
    :root {
        --space: clamp(1rem, 4vw, 3rem);
        --hero-h1: clamp(2.2rem, 9vw, 5.2rem);
        --hero-p: clamp(1rem, 3.2vw, 1.8rem);
        --h2: clamp(1.8rem, 5.2vw, 3rem);
        --lead: clamp(1rem, 3.2vw, 1.6rem);
        --callout: clamp(1rem, 3vw, 1.4rem);
    }

    /* Section-Padding kompakter */
    .hero-banner,
    .s2,
    .eva,
    .s3,
    .etf1,
    .etf2,
    .etf3,
    .etf3a,
    .etf3b,
    .etf4,
    .etf5,
    .cert,
    .pilot,
    .fio,
    .dhg__container,
    .eifelholz__container,
    .contact {
        padding: var(--space);
    }

    /* Header auf Tablet: volle Breite, kleinere Schrift */
    header {
        left: 0;
        right: 0;
        width: 100%;
        font-size: clamp(1.25rem, 5vw, 2rem);
        padding: .5rem 1rem;
        text-shadow: 0 2px 10px rgba(0, 0, 0, .25);
    }

    /* Zweispalter → Spalten */
    .s2__heading,
    .s2__info,
    .s3__heading,
    .etf1__heading,
    .etf2__heading,
    .etf3__heading,
    .etf3a__heading,
    .etf3b__heading,
    .etf4__heading,
    .etf5__heading,
    .cert__heading .cert__heading-info,
    .pilot__heading .pilot__heading-info,
    .fio__heading,
    .dhg__heading,
    .eifelholz__heading,
    .contact__info {
        flex-direction: column;
        gap: clamp(1rem, 2vw, 1.5rem);
    }

    /* Bild bei S2 oben angenehmer */
    .s2__heading .s2__heading-image {
        order: -1;
    }

    /* Absolut platzierte Callouts in normalen Fluss holen */
    .s2__callout,
    .s3__callout-one,
    .s3__callout-two,
    .fio__callout-one,
    .fio__callout-two,
    .dhg__callout-one,
    .dhg__callout-two,
    .eifelholz__callout-one,
    .eifelholz__callout-two {
        position: static;
        transform: none;
        margin: 1rem 0 0 0;
        max-width: none;
        height: auto;
        text-align: left;
    }

    .s3__heading .s3__heading-text {
        position: static;
    }

    /* Typo skalieren */
    .hero-banner .hero-text h1 {
        font-size: var(--hero-h1);
    }

    .hero-banner .hero-text p {
        font-size: var(--hero-p);
    }

    .s2__heading .s2__heading-text h2,
    .eva__heading .eva__heading-text h2,
    .s3__heading .s3__heading-text h2,
    .etf1__heading .etf1__heading-title h2,
    .etf2__heading .etf2__heading-title h2,
    .etf3__heading .etf3__heading-title h2,
    .etf3a__heading .etf3a__heading-title h2,
    .etf3b__heading .etf3b__heading-title h2,
    .etf4__heading .etf4__heading-title h2,
    .etf5__heading .etf5__heading-title h2,
    .cert__heading .cert__heading-title h2,
    .fio__heading .fio__heading-text h2,
    .dhg__heading .dhg__heading-text h2,
    .eifelholz__heading .eifelholz__heading-text h2,
    .contact__info .contact__info-details h2 {
        font-size: var(--h2);
    }

    .s2__heading .s2__heading-text p,
    .s2__info .s2__info-text p,
    .etf1__heading-title p,
    .etf2__heading-title p,
    .etf3__heading-title p,
    .etf3a__heading-title p,
    .etf3b__heading-title p,
    .etf4__heading-title p,
    .etf5__heading-title p,
    .eva__info .eva__info-text p,
    .cert__heading-title p,
    .contact__info .contact__info-details p {
        font-size: var(--lead);
    }

    .s2__callout p,
    .s3__callout-one p,
    .s3__callout-two p,
    .fio__callout-one p,
    .fio__callout-two p,
    .dhg__callout-one p,
    .dhg__callout-two p,
    .eifelholz__callout-one p,
    .eifelholz__callout-two p,
    .pilot__callout p {
        font-size: var(--callout);
    }

    /* Icon-Badges kleiner und näher am Rand */
    .img_with_icon .icon {
        top: -.75rem;
        right: -.75rem;
        max-width: 90px;
        max-height: 90px;
    }

    /* EVA Bild/Ba dge responsiv */
    .eva__info .eva__info-image .eva__img {
        width: clamp(260px, 60vw, 420px);
        height: clamp(260px, 60vw, 420px);
    }

    .eva__info .eva__info-image .eva__badge {
        width: clamp(160px, 40vw, 260px);
    }

    /* Hero mittig ausrichten + Abstand zum fixed Header */
    .hero-banner {
        text-align: center;
        padding-top: calc(var(--space) + 3rem);
    }

    .hero-banner .hero-text {
        align-self: center;
        text-align: center;
    }

    /* Kontaktbereich Bilder enger */
    .contact__info .contact__info-img {
        max-width: 420px;
    }

    .eva__info {
        flex-direction: column;
    }

    .hero-banner .hero-text h1 {
        text-align: center;
    }
}

@media (max-width: 880px) {

    .etf1__heading .img_with_icon .icon,
    .etf2__heading .img_with_icon .icon,
    .etf3__heading .img_with_icon .icon,
    .etf3a__heading .img_with_icon .icon,
    .etf3b__heading .img_with_icon .icon,
    .etf4__heading .img_with_icon .icon,
    .etf5__heading .img_with_icon .icon {
        height: 100px;
        width: 100px;
        max-height: 150px;
        max-width: 150px;
        position: absolute;
        top: -2.5rem;
        right: -1rem;
    }

    .fio__heading .fio__heading-text,
    .dhg__heading .dhg__heading-text,
    .eifelholz__heading .eifelholz__heading-text {
        flex-direction: column !important;
    }

    .social-media-box {
        flex-direction: column;
    }

    .social-media-box .social-media {
        justify-content: left;
    }
}

/* Mobile (<= 600px) */
@media (max-width: 600px) {

    /* Sections dürfen schrumpfen */
    .s2,
    .eva,
    .s3,
    .etf1,
    .etf2,
    .etf3,
    .etf3a,
    .etf3b,
    .etf4,
    .etf5,
    .cert,
    .pilot,
    .fio,
    .contact {
        min-height: auto;
    }

    /* iOS-Jank: fixed BG auf Mobile deaktivieren */
    .dhg,
    .eifelholz {
        background-attachment: scroll;
        padding-top: 0;
    }

    .dhg__container,
    .eifelholz__container {
        margin-top: 0;
    }

    /* große Bilder begrenzen */
    .s2__img,
    .img_with_icon img {
        max-height: 300px;
        object-fit: cover;
    }

    /* Logo im Hero kleiner */
    .brand__logo {
        max-width: 140px;
    }

    /* Callouts kompakter */
    .pilot__callout,
    .s2__callout {
        padding: 18px 20px;
        border-radius: 20px;
    }

    /* Kontakt: Socials untereinander */
    .social-media-box {
        flex-direction: column;
        gap: .75rem;
    }

    .social-media-box .social-media {
        justify-content: center;
    }

    /* Kontakttexte etwas kleiner für enge Breiten */
    .contact__info .contact__info-details p {
        font-size: clamp(1rem, 4.2vw, 1.25rem);
    }

    .social-media-box .social-media {
        justify-content: left;
    }
}

/* Optional: respektiere reduzierte Bewegungen (nur Mobile/Tablet tangiert) */
@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
    }
}

/* Schatten für Callouts nur auf ≤992px (reines Styling) */
@media (max-width: 992px) {

    .s2__callout,
    .s3__callout-one,
    .s3__callout-two,
    .fio__callout-one,
    .fio__callout-two,
    .dhg__callout-one,
    .dhg__callout-two,
    .eifelholz__callout-one,
    .eifelholz__callout-two,
    .pilot__callout {
        box-shadow: var(--shadow);
    }
}

/* ---------- Off-Canvas Grundwerte ---------- */
:root {
    --nav-width: 80vw;
    /* 80% der Seite */
    --nav-maxw: 720px;
    /* optional: obere Grenze am Desktop */
    --nav-bg: #ffffff;
    --nav-text: #0d1a12;
    --menu-green: var(--green, #2f9b30);
    --menu-white: #ffffff;
    --backdrop: rgba(0, 0, 0, .35);
    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* Menü-Button oben rechts, über allem */
.menu-toggle {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 1001;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: var(--menu-green);
    /* Grundfarbe: grün */
    cursor: pointer;
    transition: transform .2s var(--ease), color .2s var(--ease), background-color .2s var(--ease);
}

.menu-toggle:hover {
    transform: scale(1.06);
}

.menu-toggle:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

/* In der Hero-Section (erste Section) sollen die 3 Punkte weiß sein */
body.on-hero .menu-toggle {
    color: var(--menu-white);
}

/* Drawer (Off-Canvas Panel) */
.nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    width: min(var(--nav-width), var(--nav-maxw));
    transform: translateX(100%);
    background: var(--nav-bg);
    color: var(--nav-text);
    z-index: 1002;
    box-shadow: -10px 0 30px rgba(0, 0, 0, .18);
    transition: transform .32s var(--ease);
    display: flex;
    flex-direction: column;
    padding: clamp(18px, 3vw, 28px);
}

body.is-nav-open .nav-drawer {
    transform: translateX(0);
}

/* Close (X) oben rechts im Drawer */
.drawer-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: var(--green);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: transform .2s var(--ease), background-color .2s var(--ease);
}

.drawer-close:hover {
    transform: scale(1.06);
}

.drawer-close:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

/* Drawer-Navigation */
.drawer-nav {
    margin-top: 44px;
    /* Platz fürs X */
}

.drawer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: clamp(10px, 1.8vw, 14px);
}

.drawer-nav a {
    display: block;
    padding: 12px 6px;
    text-decoration: none;
    color: var(--text);
    font-size: clamp(1.05rem, 2.4vw, 1.25rem);
    font-weight: 400;
    border-radius: 10px;
    transition: background-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease);
}

.drawer-nav a:hover {
    background: rgba(47, 155, 48, .08);
    color: var(--green);
    transform: translateX(-2px);
}

/* Backdrop */
.nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: var(--backdrop);
    opacity: 0;
    transition: opacity .32s var(--ease);
}

body.is-nav-open .nav-backdrop {
    opacity: 1;
}

body.is-nav-open .nav-backdrop[hidden] {
    /* wenn open, Hidden entfernen wir per JS – dieser Selektor verhindert FOUC */
    display: block;
}

/* Beim geöffneten Drawer: Klicks auf Seite verhindern (optional) */
body.is-nav-open {
    overflow: hidden;
}

/* Optional: Button-Kontrast auf weißem Hero-Hintergrund verbessern */
.hero-banner {
    position: relative;
    z-index: 1;
}

/* Menü immer ganz oben halten */
.menu-toggle {
    z-index: 9999;
}

.nav-drawer {
    z-index: 10001;
}

.drawer-close {
    z-index: 10002;
}

.nav-backdrop {
    z-index: 10000;
}

/* Farb-Logik: standard = weiß im Hero, grün sobald man "past-hero" ist */
.menu-toggle {
    color: #fff;
}

/* im Hero */
body.past-hero .menu-toggle {
    color: var(--green);
}

/* außerhalb Hero */

/* Safety: falls was drüber liegt */
.menu-toggle {
    position: fixed;
    pointer-events: auto;
}

/* Optional: Sentinel nimmt keinen Platz ein */
#nav-sentinel {
    width: 100%;
    height: 1px;
}

header {
    z-index: 1000;
}

/* ---------- NAV-Farbsteuerung ---------- */

/* Standard: grün (außerhalb Hero) */
.menu-toggle {
    color: var(--green) !important;
    fill: var(--green) !important;
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 2000;
    /* über header */
    background: transparent;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    transition: color .3s ease, transform .2s ease;
}

/* Im Hero-Bereich (weiß) */
body.on-hero .menu-toggle {
    color: #fff !important;
    fill: #fff !important;
}

/* Optional Hover */
.menu-toggle:hover {
    transform: scale(1.1);
}

/* SVG erbt die Farbe */
.menu-toggle svg circle {
    fill: currentColor !important;
}

/* Header darf Farbe nicht überschreiben */
header {
    z-index: 1000;
    background: transparent;
    color: inherit !important;
}

:root {
    --nav-width: 80vw;
    --nav-maxw: 720px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* Toggle-Button (3 Punkte) */
.menu-toggle {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 2000;
    /* über header */
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: transparent;
    border: 0;
    cursor: pointer;
    color: var(--green);
    /* Standard: grün */
    transition: color .3s var(--ease), transform .2s var(--ease);
}

.menu-toggle svg circle {
    fill: currentColor;
}

.menu-toggle:hover {
    transform: scale(1.07);
}

/* Im Hero sollen die Punkte weiß sein */
body.on-hero .menu-toggle {
    color: #fff;
}

/* Drawer (80% von rechts) */
.nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    width: min(var(--nav-width), var(--nav-maxw));
    transform: translateX(100%);
    background: #fff;
    color: var(--text);
    z-index: 2001;
    box-shadow: -10px 0 30px rgba(0, 0, 0, .18);
    transition: transform .32s var(--ease);
    display: flex;
    flex-direction: column;
    padding: clamp(18px, 3vw, 28px);
}

body.is-nav-open .nav-drawer {
    transform: translateX(0);
}

/* X-Button im Drawer */
.drawer-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    color: var(--green);
    font-size: 24px;
    cursor: pointer;
}

/* Drawer-Inhalt */
.drawer-nav {
    margin-top: 44px;
}

.drawer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.drawer-nav a {
    display: block;
    padding: 12px 6px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text);
    transition: background-color .2s var(--ease), color .2s var(--ease);
}

.drawer-nav a:hover {
    background: rgba(47, 155, 48, .08);
    color: var(--green);
}

/* Backdrop */
.nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1999;
    background: rgba(0, 0, 0, .35);
    opacity: 0;
    transition: opacity .32s var(--ease);
}

body.is-nav-open .nav-backdrop {
    opacity: 1;
}

/* Dein Header darf drunter liegen, aber nicht überdecken */
header {
    z-index: 1000;
    background: transparent;
    color: inherit;
}

/* ===========================================
   CERT & PILOT – Spacing-Fix (Tablet/Mobile)
   =========================================== */

/* Tablet (<= 992px) */
@media (max-width: 992px) {

    /* Außenabstand der Sections angleichen */
    .cert,
    .pilot {
        padding-block: clamp(24px, 5vw, 40px);
        /* oben/unten */
        padding-inline: clamp(16px, 4vw, 32px);
        /* links/rechts */
    }

    /* Innenabstände im flex-Stack erhöhen */
    .cert__heading .cert__heading-info,
    .pilot__heading .pilot__heading-info {
        flex-direction: column;
        /* hast du evtl. schon */
        gap: clamp(12px, 2.5vw, 20px);
        /* Abstand zwischen Bild/Text */
    }

    /* Callout im Pilot etwas Luft nach oben */
    .pilot__callout {
        margin-top: clamp(10px, 2vw, 16px);
    }

    /* Sichtbare Trennung zwischen CERT und PILOT */
    .cert+.pilot {
        margin-top: clamp(18px, 3vw, 24px);
    }
}

/* Mobile (<= 600px) feiner nachziehen */
@media (max-width: 600px) {

    .cert,
    .pilot {
        padding-block: 20px;
        padding-inline: 16px;
    }

    /* große Bilder runden & max. Breite sicherstellen */
    .cert__heading .cert__heading-info-image img,
    .pilot__heading .pilot__heading-info-image img {
        max-width: 100%;
        border-radius: 16px;
    }

    /* Callout kompakter */
    .pilot__callout {
        padding: 16px 18px;
        border-radius: 18px;
    }
}

.s2__info-image p {
    font-weight: 100;
    margin-top: 0.5rem;
}



/* --- VERTIKALES STACKED BAR CHART STYLES --- */

/* Gesamtlayout Container */
.etf1__heading-graph,
.etf2__heading-graph,
.etf3__heading-graph,
.etf3a__heading-graph,
.etf3b__heading-graph,
.etf4__heading-graph,
.etf5__heading-graph {
    display: flex;
    justify-content: center;
    padding: 20px;
    /* Optional: Abstand zwischen Bild und Chart im Flex-Container */
    gap: 20px;
}

/* Der Hauptcontainer für Balken UND Labels */
.bar_chart {
    display: flex;
    position: relative;
}

/* Der große, gestapelte Balken (Vertikal) */
.bar_chart__bar {
    width: 75px;
    /* Breite des Balkens */
    height: 100%;
    /* Volle Höhe des .bar_chart Containers */
    display: flex;
    flex-direction: column;
    /* Stapelt von unten nach oben */
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-right: 15px;
    /* Abstand zu den Labels */
    position: relative;
    z-index: 10;
}

/* Stil für die einzelnen Segmente (z.B. .one, .two, ...) */
.bar_chart__bar>div {
    width: 100%;
    /* Die Höhe wird mit der CSS-Variable --height durch JavaScript gesetzt */
    height: var(--height, 0%);
    transition: height 1s ease-out;
    /* Animation */
    position: relative;
    /* Entfernt jeglichen Text im Balken */
    display: block;
    text-indent: -9999px;
}

/* --- LABELS/BEZEICHNUNGEN (RECHTS ZENTRIERT) --- */

/* Container für alle Labels */
.bar_chart__labels {
    position: absolute;
    top: 0;
    left: 85px;
    /* Etwas rechts vom Balken (50px Breite + 15px Margin) */
    height: 100%;
    width: calc(100% - 65px);
    pointer-events: none;
    /* Macht den Container klick-durchlässig */
    z-index: 5;
}

/* --- LABELS/BEZEICHNUNGEN (RECHTS ZENTRIERT - KORRIGIERT) --- */

/* Jedes einzelne Label/Bezeichnung */
.bar_chart__labels .label-item {
    position: absolute;
    left: 0;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;

    transform: translate(0, -50%);
    pointer-events: auto;
    line-height: 1.2;
    padding-left: 5px;
    color: #333;
    /* Standard Textfarbe */

    /* WICHTIG: KEIN Hintergrund, KEINE Rahmen */
    background: none !important;
    /* Entfernt eventuelle unerwünschte Hintergründe */
    border: none !important;
    /* Entfernt eventuelle unerwünschte Rahmen */
}

/* Optische Trennlinie zum Label (optional, aber empfohlen) */
.bar_chart__labels .label-item::before {
    content: '';
    position: absolute;
    left: -5px;
    /* Beginnt am Rand des Labels */
    top: 50%;
    width: 5px;
    /* Länge der Linie */
    height: 1px;
    background-color: #ccc;
    /* Farbe der Linie */
}

/* Farbdefinitionen für Segmente */
.one {
    background-color: var(--bar-chart-1);
}

.two {
    background-color: var(--bar-chart-2);
}

.three {
    background-color: var(--bar-chart-3);
}

.four {
    background-color: var(--bar-chart-4);
}

.five {
    background-color: var(--bar-chart-5);
}

.six {
    background-color: var(--bar-chart-6);
}

.ground {
    background-color: var(--bar-chart-ground);
}

/* ======================================= */
/* === MEDIA QUERY FÜR MOBILE ANSICHTEN === */
/* === (BLEIBT VERTIKAL) === */
/* ======================================= */

@media (max-width: 600px) {

    /* 1. Hauptcontainer: Passt die maximale Breite an */
    .etf1__heading-graph,
    .etf2__heading-graph,
    .etf3__heading-graph,
    .etf3a__heading-graph,
    .etf3b__heading-graph,
    .etf4__heading-graph,
    .etf5__heading-graph {
        padding: 10px 5px;
    }

    /* 2. BAR CHART Container: Max. Breite für das gesamte Element */
    .bar_chart {
        max-width: 250px;
        /* Reduzierte Gesamtbreite */
        margin: 10px auto;
        height: 250px;
        /* Etwas geringere Höhe des Balkens */
    }

    /* 3. Vertikaler Balken: Breite beibehalten */
    .bar_chart__bar {
        width: 30px;
        /* Macht den Balken schmaler */
        height: 100%;
        margin-right: 5px;
        /* Reduzierter Abstand zu den Labels */
    }

    /* 4. Labels Container: Näher an den Balken rücken */
    .bar_chart__labels {
        left: 40px;
        /* 30px Balkenbreite + 5px Margin + 5px Abstand = 40px */
        width: 150px;
        /* Begrenzt die Label-Breite, um Überlauf zu vermeiden */
    }

    /* 5. Einzelne Label-Elemente: Kleinere Schrift */
    .bar_chart__labels .label-item {
        font-size: 11px;
        /* Kleinere Schriftgröße für Lesbarkeit */
        font-weight: 400;
        /* Die absolute Positionierung (top und transform) wird durch JS gesetzt und ist korrekt */
    }

    /* 6. Optische Trennlinie zum Label */
    .bar_chart__labels .label-item::before {
        width: 3px;
        /* Kürzere Linie */
        left: -3px;
    }
}

a {
    text-decoration: none;
}

footer {
    display: flex;
    align-items: center;
    flex-direction: row;
    width: 100%;
    justify-content: center;
    padding: 2.5rem;
}

footer a {
    padding: 0 1.5rem;
    color: var(--green);
    font-weight: 300;
}

footer a:hover {
    text-decoration: underline;
}

.graph{
    height: fit-content;
    max-width: 250px;
    width: 100%;
    margin: auto;
}