/* Variables */
:root {

    /* colors */
    --blue: #00A1E4;
    --white: #FFFFFF;
    /* colors */

    /* fonts */
    --h1-desktop-lg: 6.5em;
    --h1-desktop: 5.5em;
    --h1-tablet: 4.5em;
    --h1-mobile: 3.5em;
    --h2-mobile: 2em;
    --h2-desktop: 3em;
    --text-desktop: 1.5em;
    --text-mobile: 1em;
    /* fonts */

    /* space */
    --margin-y-mobile: 100px;
    --margin-y-desktop: 150px;
}

/* Fonts */

@font-face {
    font-family: 'inter';
    src: url('fonts/Inter-VariableFont_opsz,wght.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'tt hoves pro';
    src: url('fonts/TT Hoves Pro Trial Variable.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* general settings */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "inter", sans-serif;
    font-variation-settings: "slnt"0, "ital"0;
}

.grid1200 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    display: block;
    width: 100%;
    object-fit: contain;
}

.logo {
    margin: 20px 20px 50px;
    max-width: 250px;
    float: right;
}

.tk {
    max-width: 350px;
    margin-left: -10px;
    margin-top: 50px;
}



/* hero */
.hero {
    font-family: "tt hoves pro";
    margin: 24px 0 50px;
}

.hero h1 {
    font-size: var(--h1-mobile);
    color: var(--blue);
    margin-top: 100px;
    line-height: 1;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.4em;

    br {
        display: none;
    }
}


.hero p.bold {
    font-weight: 600;
}

.claims {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
    background-color: var(--blue);
    width: 100%;
    height: 50px;
}

.claims p {
    font-family: "tt hoves pro";
    text-transform: uppercase;
    font-size: 1em;
    color: var(--white);
}

.strich {
    height: 30px;
    width: 1px;
    background-color: var(--white);
    transform: rotate(-30deg);
}

/* leistungen */
.leistungen {
    padding: 50px 0 100px;
    background-color: var(--blue);
}

.flex-2 {
    display: flex;
    gap: 20px;
    align-items: center;
}

.leistungen-icon {
    max-width: 80px;
    margin: 0;
}

.check {
    max-width: 35px;
}

.kontakt-icon {
    width: 35px;
}

h2 {
    font-family: "tt hoves pro";
    font-size: var(--h2-mobile);
    color: var(--white);
}

.leistungen div.flex {
    margin-bottom: var(--margin-y-mobile);
}

hr {
    height: 1px;
    max-width: 1200px;
    background-color: var(--white);
    outline: none;
    border: none;
    margin-bottom: 100px;
}

.leistungen .bold {
    font-size: 1.5em;
    font-weight: 600;
    margin: 50px 0;
}

/* footer */
footer {
    margin: var(--margin-y-mobile) 0;
}

/* akkordeon */
.accordion {
    border: 1px solid var(--blue);
    /* äußerer Rahmen */
    border-left: none;
    border-right: none;
    display: block;
    box-sizing: border-box;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.accordion h2 {
    color: black;
}


/* Entfernt Standardabstände vom <h3> */
.accordion h3 {
    margin: 0;
    padding: 0;
}

/* Trigger-Buttons */
.accordion-trigger {
    background: none;
    display: block;
    width: 100%;
    padding: 1em 1.5em;
    text-align: left;
    border: none;
    border-top: 1px solid var(--blue);
    /* Trennt jeden Trigger optisch ab */
    position: relative;
    box-sizing: border-box;
}

/* Nur das erste Element bekommt keinen oberen Rand */
.accordion h3:first-of-type .accordion-trigger {
    border-top: none;
}

/* Icon */
.accordion-icon {
    border: solid var(--blue);
    border-width: 0 1px 1px 0;
    height: 1rem;
    width: 1rem;
    position: absolute;
    right: 2em;
    top: 50%;
    transform: translateY(-60%) rotate(45deg);
    pointer-events: none;
}

/* Dreht das Icon bei geöffnetem Zustand */
.accordion-trigger[aria-expanded="true"] .accordion-icon {
    transform: translateY(-50%) rotate(-135deg);
}

/* Button-Text und Icon in einer Linie */
.accordion-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25em 0;
    font-size: 1.5em;
    font-weight: 600;
    pointer-events: none;
}

/* Inhalt */
.accordion-panel {
    padding: 1em 1.5em;
    margin: 0;
    border-top: 1px solid var(--blue);
    /* Trennung zwischen Trigger und Panel */
}

.accordion-panel p {
    font-size: 1em;
}

/* Versteckter Panel */
.accordion-panel[hidden] {
    display: none;
}



/* Button-Fokus fix (optional) */
.accordion button::-moz-focus-inner {
    border: 0;
}




/* responsive */


@media screen and (min-width: 640px) {

    .grid1200 {
        padding: 0 40px;
    }

    .hero h1 {
        font-size: var(--h1-tablet);
    }



    .hero p {
        font-size: 1.7em;

        br {
            display: block;
        }

    }

    .accordion-trigger {
        padding: 1em 3em;
    }

    .accordion-panel {
        padding: 1em 40px;
    }

}

@media screen and (min-width: 1200px) {

    .logo {
        max-width: 450px;
        margin: 0 100px 0 50px;
    }

    .hero {
        margin: 100px 0;
    }

    .hero div.flex {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
    }

    .hero .grid1200 {
        width: 100%;
    }

    .hero h1 {
        font-size: var(--h1-desktop);
        margin: 150px 0 0;
    }

    .hero p {
        font-size: 2.5em;
        line-height: 1.2;

        br {
            display: block;
        }
    }

    .claims {
        padding: 0 40px;
        padding-right: 150px;
        justify-content: right;
        gap: 20px;
    }

    .claims p {
        font-size: 1.2em;
    }

    .strich {
        height: 25px;
        width: 2px;
    }

    p {
        font-size: var(--text-desktop);
    }

    .leistungen h2 {
        font-size: var(--h2-desktop);
    }

    .leistungen .leistungen-icon {
        max-width: 180px;
    }

    .leistungen hr {
        height: 2px;
    }

    .leistungen .flex {
        display: flex;
        gap: 70px;
        align-items: flex-start;
    }

   

    .accordion {
        border: 2px solid var(--blue);
        border-left: none;
        border-right: none;
    }

    .accordion-trigger {
        border-top: 2px solid var(--blue);
    }

    .accordion-icon {
        border-width: 0 2px 2px 0;
    }

    .accordion-panel {
        border-top: 2px solid var(--blue);
    }
}


@media screen and (min-width: 1600px) {


    .hero {
        margin: 100px 0 175px 0;
    }

    .hero h1 {
        font-size: var(--h1-desktop-lg);
        margin: 175px 0 0 0;
    }

    .hero p {
        font-size: 2.8em;
    }

    .logo {
        max-width: 500px;
    }

    .claims {
        padding: 5px 40px;
        gap: 20px;
        padding-right: 150px;
    }



    .claims p {
        font-size: 1.5em;
    }

    .strich {
        height: 30px;
    }

}