@font-face {
    font-family: 'Mulish';
    font-style: normal;
    font-weight: 300;
    src: url('../content/fonts/Mulish-Light.ttf') format('truetype');
}

@font-face {
    font-family: 'Mulish';
    font-style: normal;
    font-weight: 400;
    src: url('../content/fonts/Mulish-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Mulish';
    font-style: normal;
    font-weight: 600;
    src: url('../content/fonts/Mulish-SemiBold.ttf') format('truetype');
}

@font-face {
    font-family: 'Mulish';
    font-style: normal;
    font-weight: 700;
    src: url('../content/fonts/Mulish-Bold.ttf') format('truetype');
}

/* BASIS */

html,
body {
    background: #fff;
    color: #111;
    font-family: 'Mulish', Arial, Helvetica, sans-serif;
    font-weight: 300;
    height: 100%;
    margin: 0;
    overflow-x: hidden;
    overflow-y: hidden;
    padding: 0;
}

/* BUTTON */

.cta_button {
    align-items: center;
    animation: ctaPulse 4.5s infinite;
    background: #bea441;
    border-radius: 50%;
    bottom: 90px;
    color: white;
    display: flex;
    font-family: 'Mulish', Arial, Helvetica, sans-serif;
    font-size: clamp(10px, min(1vw, 1.8vh), 16px);
    font-weight: 600;
    height: clamp(70px, min(9vw, 12vh), 140px);
    justify-content: center;
    line-height: 1.3;
    position: absolute;
    right: 90px;
    text-align: center;
    text-decoration: none;
    transform: rotate(-20deg);
    transition: background 0.3s ease;
    width: clamp(70px, min(9vw, 12vh), 140px);
    z-index: 120;
}

.cta_button:hover {
    background: #111;
}

@keyframes ctaPulse {
    0% {
        transform: rotate(-20deg) scale(1);
    }

    8% {
        transform: rotate(-20deg) scale(1.04);
    }

    16% {
        transform: rotate(-20deg) scale(1);
    }

    100% {
        transform: rotate(-20deg) scale(1);
    }
}

/* CONTENT: ÜBER MICH */

.content_container {
    align-items: flex-start;
    box-sizing: border-box;
    display: flex;
    gap: clamp(35px, 3vw, 60px);
    left: 50%;
    max-width: 980px;
    padding-bottom: 260px;
    padding-top: 260px;
    position: relative;
    transform: translateX(-50%);
    width: calc(100% - 180px);
}

.textbereich {
    flex: 1;
    min-width: 0;
}

/* CONTENT: LANGE TEXTSEITEN */

.content_container_text {
    left: 50%;
    max-width: 620px;
    padding-bottom: 260px;
    padding-top: 260px;
    position: relative;
    transform: translateX(-50%);
    width: 75%;
}

/* CONTENT: KONTAKT */

.content_container_kontakt {
    max-width: 620px;
    width: 75%;
}

/* FOTO */

.foto_rahmen {
    flex: 0 0 clamp(220px, 16vw, 300px);
    margin-top: 95px;
    position: relative;
}

.foto_rahmen img {
    display: block;
    height: auto;
    width: 100%;
}

.foto_rahmen::after {
    content: "";
    inset: 10px;
    pointer-events: none;
    position: absolute;
}

/* HEADER / MENU */

.site-header {
    position: fixed;
    right: 45px;
    top: 40px;
    z-index: 1000;
}

.hauptmenu {
    display: flex;
    gap: 28px;
    margin-right: 15px;
    margin-top: 15px;
}

.hauptmenu a {
    color: #111;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.12em;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.hauptmenu a::after {
    background: #bea441;
    bottom: -6px;
    content: "";
    height: 1px;
    left: 0;
    position: absolute;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    width: 100%;
}

.hauptmenu a.aktiv,
.hauptmenu a:hover {
    color: #bea441;
}

.hauptmenu a.aktiv::after,
.hauptmenu a:hover::after {
    transform: scaleX(1);
}

/* BURGER MENU */

.menu_toggle {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid #bea441;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    height: 54px;
    padding: 0 12px;
    position: fixed;
    right: 40px;
    top: 40px;
    width: 54px;
    z-index: 1300;
}

.menu_toggle span {
    background: #bea441;
    display: block;
    height: 3px;
    margin: 6px 0;
    transition: all 0.3s ease;
    width: 100%;
}

/* KONTAKT */

.kontakt_links {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 35px;
    width: 100%;
}

.kontakt_links a {
    align-items: center;
    color: #111;
    display: flex;
    font-family: 'Mulish', Arial, Helvetica, sans-serif;
    font-size: 24px;
    font-weight: 300;
    gap: 18px;
    min-width: 0;
    overflow-wrap: anywhere;
    position: relative;
    text-decoration: none;
    transition: color 0.3s ease;
    width: 100%;
}

.kontakt_links a::after {
    background: #bea441;
    bottom: -6px;
    content: "";
    height: 1px;
    left: 0;
    position: absolute;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
    width: 100%;
}

.kontakt_links a:hover {
    color: #bea441;
}

.kontakt_links a:hover::after {
    transform: scaleX(1);
}

.kontakt_links i {
    color: #bea441;
    flex-shrink: 0;
    font-size: 24px;
    width: 34px;
}

/* LAYOUT */

.startseite {
    display: flex;
    height: 100dvh;
    isolation: isolate;
    position: relative;
    width: 100vw;
}

.startseite::after {
    border: 3px solid #bea441;
    bottom: 30px;
    content: "";
    left: 30px;
    pointer-events: none;
    position: absolute;
    right: 30px;
    top: 30px;
    z-index: 900;
}

.linke_seite,
.linke_seite_standard {
    background-image: url('../content/bilder/20250927_185543.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    flex: 1;
    z-index: 1;
}

.linke_seite_standard {
    position: relative;
}

.linke_seite_standard::before {
    background-image: url('../content/SVG/Logo_PlanBe_klein.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    height: 120px;
    left: 60px;
    position: absolute;
    top: 60px;
    width: 220px;
}

.rechte_seite,
.rechte_seite_standard {
    background: white;
    flex: 1;
    position: relative;
    z-index: 1;
}

.rechte_seite::before {
    aspect-ratio: 720 / 420;
    background-image: url('../content/SVG/Logo_PlanBe.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    display: block;
    height: auto;
    left: calc(50% - 15px);
    position: absolute;
    top: 20vh;
    transform: translateX(-50%);
    width: clamp(280px, min(34vw, 28vh), 720px);
}

.rechte_seite_standard {
    overflow-y: auto;
    scrollbar-width: none;
}

.rechte_seite_standard::-webkit-scrollbar {
    display: none;
}

/* KONTAKTSEITE */

body.kontakt .rechte_seite_standard {
    align-items: center;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

/* FADE FÜR LANGE TEXTSEITEN */

body:not(.kontakt) .rechte_seite_standard::before {
    background: linear-gradient(
        to bottom,
        white 0%,
        rgba(255, 255, 255, 0.98) 45%,
        rgba(255, 255, 255, 0) 100%
    );
    content: "";
    height: 230px;
    left: 50vw;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 70;
}

body:not(.kontakt) .rechte_seite_standard::after {
    background: linear-gradient(
        to top,
        white 0%,
        rgba(255, 255, 255, 0.98) 45%,
        rgba(255, 255, 255, 0) 100%
    );
    bottom: 0;
    content: "";
    height: 230px;
    left: 50vw;
    pointer-events: none;
    position: fixed;
    right: 0;
    z-index: 70;
}

/* SCROLL-HINWEISE */

.scroll_hinweis_oben,
.scroll_hinweis_unten {
    align-items: center;
    animation: scrollBounce 3.5s infinite;
    background: #bea441;
    border-radius: 50%;
    color: white;
    display: flex;
    font-size: 24px;
    font-weight: 600;
    height: 52px;
    justify-content: center;
    left: 75vw;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    transition: opacity 0.4s ease;
    width: 52px;
    z-index: 110;
}

.scroll_hinweis_oben {
    top: 95px;
    transform: translateX(-50%);
}

.scroll_hinweis_oben.sichtbar,
.scroll_hinweis_unten.sichtbar {
    opacity: 1;
}

.scroll_hinweis_unten {
    bottom: 75px;
    transform: translateX(-50%);
}

@keyframes scrollBounce {
    0% {
        transform: translateX(-50%) translateY(0);
    }

    10% {
        transform: translateX(-50%) translateY(0);
    }

    20% {
        transform: translateX(-50%) translateY(6px);
    }

    30% {
        transform: translateX(-50%) translateY(0);
    }

    100% {
        transform: translateX(-50%) translateY(0);
    }
}

/* TYPOGRAFIE */

.content_container h1,
.content_container_kontakt h1,
.content_container_text h1 {
    font-size: 42px;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 40px;
}

.content_container h2,
.content_container_kontakt h2,
.content_container_text h2 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 24px;
    margin-top: 50px;
}

.content_container li,
.content_container p,
.content_container_kontakt li,
.content_container_kontakt p,
.content_container_text li,
.content_container_text p {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 24px;
}

.slogan {
    font-size: clamp(24px, min(3.5vw, 4.5vh), 56px);
    font-weight: 300;
    left: calc(50% - 15px);
    line-height: 1.15;
    margin: 0;
    max-width: 720px;
    position: absolute;
    text-align: center;
    top: 65vh;
    transform: translateX(-50%);
    width: 80%;
}

/* RESPONSIVE TABLET */

@media (max-width: 1200px) {

    .content_container {
        display: block;
        left: 50%;
        max-width: 620px;
        padding-bottom: 260px;
        padding-top: 260px;
        transform: translateX(-50%);
        width: calc(100% - 140px);
    }

    .content_container_kontakt {
        max-width: 560px;
        width: 78%;
    }

    .content_container_text {
        max-width: 560px;
        padding-bottom: 260px;
        padding-top: 260px;
        width: 78%;
    }

    .foto_rahmen {
        margin-top: 40px;
        width: min(100%, 420px);
    }

    .foto_rahmen img {
        width: 100%;
    }

    .hauptmenu {
        gap: 20px;
    }

    .hauptmenu a {
        font-size: 13px;
    }

    .rechte_seite::before {
        top: 18vh;
        width: clamp(140px, min(34vw, 28vh), 720px);
    }

    .slogan {
        font-size: clamp(28px, min(3.4vw, 4.5vh), 46px);
        max-width: 620px;
    }
}

/* RESPONSIVE MOBILE */

@media (max-width: 830px) {

    html,
    body {
        height: auto;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .content_container,
    .content_container_text {
        box-sizing: border-box;
        left: auto;
        max-width: none;
        padding: 90px 42px 120px;
        position: relative;
        transform: none;
        width: 100%;
    }

    .content_container_kontakt {
        max-width: none;
        width: calc(100% - 84px);
    }

    .content_container h1,
    .content_container_kontakt h1,
    .content_container_text h1 {
        font-size: 34px;
        line-height: 1.15;
        margin-bottom: 30px;
    }

    .content_container h2,
    .content_container_kontakt h2,
    .content_container_text h2 {
        font-size: 22px;
        line-height: 1.3;
        margin-bottom: 20px;
        margin-top: 42px;
    }

    .content_container li,
    .content_container p,
    .content_container_kontakt li,
    .content_container_kontakt p,
    .content_container_text li,
    .content_container_text p {
        font-size: 17px;
        line-height: 1.75;
        margin-bottom: 22px;
    }

    .cta_button {
        bottom: 42px;
        right: 42px;
    }

    .foto_rahmen {
        margin-top: 35px;
        width: 100%;
    }

    .foto_rahmen img {
        width: 100%;
    }

    .hauptmenu {
        align-items: center;
        background: rgba(255, 255, 255, 0.96);
        display: flex;
        flex-direction: column;
        gap: 24px;
        height: 100dvh;
        justify-content: center;
        margin: 0;
        opacity: 0;
        padding: 0;
        pointer-events: none;
        position: fixed;
        right: 0;
        top: 0;
        transform: translateX(100%);
        transition: all 0.35s ease;
        width: 100vw;
        z-index: 1200;
    }

    .hauptmenu a {
        font-size: 22px;
        letter-spacing: 0.12em;
    }

    .kontakt_links {
        gap: 16px;
        margin-top: 32px;
    }

    .kontakt_links a {
        font-size: 22px;
        gap: 16px;
    }

    .kontakt_links i {
        font-size: 22px;
        width: 30px;
    }

    .linke_seite,
    .linke_seite_standard {
        flex: none;
        height: 38dvh;
        min-height: 280px;
        width: 100%;
    }

    .linke_seite_standard::before {
        height: 90px;
        left: 40px;
        top: 40px;
        width: 160px;
    }

    .menu_toggle {
        display: block;
    }

    .rechte_seite,
    .rechte_seite_standard {
        flex: none;
        min-height: 62dvh;
        overflow: visible;
        width: 100%;
    }

    .rechte_seite::before {
        left: 50%;
        top: 6dvh;
        width: clamp(140px, min(34vw, 28vh), 720px);
    }

    .rechte_seite_standard::before,
    .rechte_seite_standard::after {
        display: none;
    }

    .scroll_hinweis_oben,
    .scroll_hinweis_unten {
        display: none;
    }

    .site-header {
        left: auto;
        right: 0;
        top: 0;
        width: auto;
        z-index: 1300;
    }

    .slogan {
        font-size: clamp(24px, min(7vw, 5vh), 30px);
        left: 50%;
        line-height: 1.2;
        max-width: 360px;
        top: 34dvh;
        width: 78%;
    }

    .startseite {
        display: flex;
        flex-direction: column;
        height: auto;
        min-height: 100dvh;
        width: 100%;
    }

    .startseite::after {
        border-width: 2px;
        bottom: 18px;
        left: 18px;
        right: 18px;
        top: 18px;
    }

    body.menu_offen .hauptmenu {
        opacity: 1;
        pointer-events: auto;
        transform: translateX(0);
    }

    body.menu_offen .menu_toggle {
        background: #bea441;
    }

    body.menu_offen .menu_toggle span {
        background: white;
    }

    body.menu_offen .menu_toggle span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    body.menu_offen .menu_toggle span:nth-child(2) {
        opacity: 0;
    }

    body.menu_offen .menu_toggle span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* MOBILE: INDEX + KONTAKT OHNE SCROLL */

@media (max-width: 768px) {

    body.index,
    body.kontakt {
        height: 100dvh;
        overflow: hidden;
    }

    body.index .cta_button {
        bottom: 34px;
        right: 38px;
    }

    body.index .linke_seite,
    body.kontakt .linke_seite_standard {
        height: 42dvh;
        min-height: 42dvh;
    }

    body.index .rechte_seite,
    body.kontakt .rechte_seite_standard {
        height: 58dvh;
        min-height: 58dvh;
        overflow: hidden;
    }

    body.index .rechte_seite::before {
        left: 50%;
        top: 3dvh;
        width: clamp(140px, min(34vw, 28vh), 720px);
    }

    body.index .slogan {
        font-size: clamp(22px, min(6.5vw, 5vh), 25px);
        left: 50%;
        line-height: 1.2;
        max-width: 330px;
        top: 25dvh;
        width: 78%;
    }

    body.index .startseite,
    body.kontakt .startseite {
        height: 100dvh;
        min-height: 100dvh;
        overflow: hidden;
    }

    body.kontakt .content_container_kontakt {
        width: calc(100% - 84px);
    }

    body.kontakt .content_container_kontakt h1 {
        font-size: 32px;
        margin-bottom: 24px;
    }

    body.kontakt .content_container_kontakt p {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 18px;
    }

    body.kontakt .kontakt_links {
        gap: 12px;
        margin-top: 22px;
    }

    body.kontakt .kontakt_links a {
        font-size: 20px;
        line-height: 1.3;
    }
}

/* KLEINE HANDYS */

@media (max-width: 420px) {

    .content_container,
    .content_container_text {
        padding: 80px 34px 110px;
    }

    .content_container h1,
    .content_container_kontakt h1,
    .content_container_text h1 {
        font-size: 30px;
    }

    .content_container li,
    .content_container p,
    .content_container_kontakt li,
    .content_container_kontakt p,
    .content_container_text li,
    .content_container_text p {
        font-size: 16px;
        line-height: 1.7;
    }

    .cta_button {
        bottom: 36px;
        right: 34px;
    }

    .hauptmenu a {
        font-size: 20px;
    }

    .kontakt_links a {
        font-size: 20px;
    }

    .linke_seite,
    .linke_seite_standard {
        height: 34dvh;
        min-height: 240px;
    }

    .linke_seite_standard::before {
        height: 78px;
        left: 40px;
        top: 40px;
        width: 140px;
    }

    .menu_toggle {
        height: 50px;
        right: 40px;
        top: 40px;
        width: 50px;
    }

    .rechte_seite::before {
        left: 50%;
        top: 6dvh;
        width: clamp(140px, min(34vw, 28vh), 720px);
    }

    .slogan {
        font-size: clamp(22px, min(6.8vw, 5vh), 26px);
        left: 50%;
        top: 32dvh;
        width: 82%;
    }
}

/* MOBILE / TABLET QUERFORMAT */

@media (max-width: 1100px) and (orientation: landscape) {

    body.index,
    body.kontakt {
        height: auto;
        overflow-y: auto;
    }

    body.index .cta_button {
        bottom: 42px;
        right: 42px;
    }

    body.index .linke_seite,
    body.kontakt .linke_seite_standard {
        height: 100dvh;
        min-height: 100dvh;
    }

    body.index .rechte_seite,
    body.kontakt .rechte_seite_standard {
        height: 100dvh;
        min-height: 100dvh;
        overflow: visible;
    }

    body.index .rechte_seite::before {
        top: 16dvh;
        width: clamp(140px, min(34vw, 28vh), 720px);
    }

    body.index .slogan {
        font-size: clamp(17px, min(2.4vw, 4vh), 23px);
        max-width: 360px;
        top: 53dvh;
        width: 68%;
    }

    body.index .startseite,
    body.kontakt .startseite {
        height: auto;
        min-height: 100dvh;
        overflow: visible;
    }

    body.kontakt .content_container_kontakt {
        max-width: 520px;
        width: 72%;
    }

    body.kontakt .content_container_kontakt h1 {
        font-size: 28px;
        margin-bottom: 18px;
    }

    body.kontakt .content_container_kontakt p {
        font-size: 15px;
        line-height: 1.45;
        margin-bottom: 12px;
    }

    body.kontakt .kontakt_links {
        gap: 8px;
        margin-top: 14px;
    }

    body.kontakt .kontakt_links a {
        font-size: 18px;
        line-height: 1.2;
    }

    body.kontakt .kontakt_links i {
        font-size: 18px;
        width: 26px;
    }
}