@font-face {
    font-family: "Hanken Grotesk";
    font-weight: 300 700;
    font-display: swap;
    src: url(/fonts/hanken-grotesk.woff2) format("woff2");
}
:root {
    --navy: #1f3a4d;
    --tuerkis: #14a0a0;
    --link: #10767a;
    --grau: #f4f5f6;
    --text: #506574;
    --hell: #ddf0ef;
    --linie: #e3e7ea;
    --rand: clamp(20px, 6vw, 96px);
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    background: #fff;
}
body {
    font-family: "Hanken Grotesk", system-ui, sans-serif;
    font-size: 18px;
    line-height: 1.55;
    color: var(--navy);
}
a {
    color: var(--link);
}
a:focus-visible {
    outline: 3px solid var(--tuerkis);
    outline-offset: 3px;
    border-radius: 4px;
}
.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--rand);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    min-height: 88px;
    flex-wrap: wrap;
}
.firm {
    font-weight: 600;
    font-size: 19px;
}
header nav {
    display: flex;
    gap: 32px;
    font-size: 17px;
}
header nav a {
    color: var(--navy);
    text-decoration: none;
    padding: 10px 0;
}
header nav a:hover {
    color: var(--link);
}

/* Einstieg */
.intro {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 48px 64px;
    align-items: end;
    padding-top: clamp(48px, 9vw, 112px);
}
h1 {
    font-weight: 700;
    font-size: clamp(44px, 7vw, 88px);
    line-height: 1;
    letter-spacing: -0.035em;
}
.intro p {
    font-size: clamp(18px, 1.8vw, 21px);
    color: var(--text);
    max-width: 26em;
}
.day {
    display: block;
    width: 100%;
    height: auto;
    margin-top: clamp(32px, 5vw, 56px);
    overflow: visible;
}
.day .t {
    font:
        600 22px "Hanken Grotesk",
        sans-serif;
    fill: var(--navy);
}
.day .c {
    font:
        400 19px "Hanken Grotesk",
        sans-serif;
    fill: var(--text);
}
.day .bogen {
    stroke-dasharray: 1100;
    stroke-dashoffset: 0;
    animation: zeichnen 1.4s cubic-bezier(0.5, 0, 0.2, 1) both;
}
.day .moment {
    animation: auftauchen 0.5s cubic-bezier(0.3, 0, 0.2, 1.3) both;
    transform-box: fill-box;
    transform-origin: center;
}
.day .m1 {
    animation-delay: 0.5s;
}
.day .m2 {
    animation-delay: 0.8s;
}
.day .m3 {
    animation-delay: 1.1s;
}
.day .m4 {
    animation-delay: 1.4s;
}
@keyframes zeichnen {
    from {
        stroke-dashoffset: 1100;
    }
}
@keyframes auftauchen {
    from {
        opacity: 0;
        transform: scale(0.6);
    }
}
@media (prefers-reduced-motion: reduce) {
    .day * {
        animation: none !important;
    }
}

/* Ein Tag */
h2 {
    font-weight: 700;
    font-size: clamp(30px, 3.6vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.tag {
    padding-top: clamp(72px, 10vw, 128px);
}
.tag > p {
    font-size: clamp(18px, 1.8vw, 21px);
    color: var(--text);
    padding-top: 16px;
    max-width: 30em;
}
.stationen {
    list-style: none;
    padding: 56px 0 0;
    position: relative;
}
.station {
    display: grid;
    grid-template-columns: 150px 1fr minmax(0, 380px);
    gap: 24px 56px;
    padding-bottom: 72px;
    position: relative;
}
.station::before {
    content: "";
    position: absolute;
    left: 27px;
    top: 122px;
    bottom: 8px;
    width: 4px;
    border-radius: 2px;
    background: var(--hell);
}
.station:last-child::before {
    display: none;
}
.zeit {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.zeit svg {
    width: 58px;
    height: 58px;
}
.zeit b {
    font-weight: 600;
    font-size: 28px;
    letter-spacing: -0.01em;
}
.station h3 {
    font-weight: 700;
    font-size: 28px;
    letter-spacing: -0.015em;
}
.station .text p {
    color: var(--text);
    padding-top: 10px;
    max-width: 30em;
}
.station .funktion {
    display: inline-block;
    margin-top: 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--link);
    background: var(--hell);
    border-radius: 999px;
    padding: 6px 14px;
}

/* gezeichnete App-Ansichten */
.ansicht {
    background: var(--grau);
    border-radius: 20px;
    padding: 24px;
    align-self: start;
}
.ansicht .kopf {
    font-size: 15px;
    color: var(--text);
}
.ansicht .frage {
    font-weight: 600;
    font-size: 21px;
    padding-top: 4px;
}
.skala {
    display: flex;
    gap: 10px;
    padding-top: 18px;
}
.skala i {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--linie);
}
.skala i.an {
    background: var(--tuerkis);
    border-color: var(--tuerkis);
}
.mahlzeit {
    display: flex;
    gap: 16px;
    align-items: center;
    padding-top: 14px;
}
.mahlzeit svg {
    width: 64px;
    height: 64px;
    flex: none;
}
.balken {
    display: grid;
    gap: 10px;
    padding-top: 18px;
    font-size: 15px;
}
.balken div {
    display: grid;
    grid-template-columns: 100px 1fr;
    align-items: center;
    gap: 12px;
}
.balken span {
    height: 8px;
    border-radius: 4px;
    background: #fff;
    overflow: hidden;
}
.balken span::after {
    content: "";
    display: block;
    height: 100%;
    width: var(--w);
    background: var(--link);
    border-radius: 4px;
}
.live {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: var(--navy);
    border-radius: 999px;
    padding: 3px 12px;
}
.ansicht .klein {
    font-size: 15px;
    color: var(--text);
    padding-top: 4px;
}
.impuls {
    display: flex;
    gap: 16px;
    align-items: center;
    padding-top: 14px;
}
.impuls .play {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--navy);
    display: grid;
    place-items: center;
    flex: none;
}
.verlauf {
    display: grid;
    gap: 14px;
    padding-top: 16px;
    font-size: 15px;
    color: var(--text);
}
.verlauf svg {
    display: block;
    width: 100%;
    height: 44px;
}

/* Grundsätze, Team, Kontakt */
.ruhig {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 32px 64px;
    padding: clamp(56px, 8vw, 96px) 0;
}
.grundsaetze {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 40px;
}
.grundsaetze dt {
    font-weight: 600;
    font-size: 20px;
    padding-bottom: 6px;
}
.grundsaetze dd {
    color: var(--text);
}
.team {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(5, auto);
    grid-auto-flow: column;
    gap: 0 48px;
}
.team div {
    padding: 16px 0;
    border-bottom: 1px solid var(--linie);
}
.team b,
.team span {
    display: block;
}
.team b {
    font-weight: 600;
}
.team small {
    display: block;
    font-size: 15px;
    color: var(--text);
    padding-top: 2px;
}

.kontakt {
    background: var(--navy);
    color: #fff;
    margin-top: clamp(32px, 6vw, 64px);
}
.kontakt .wrap {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 24px 64px;
    padding-top: clamp(56px, 8vw, 88px);
    padding-bottom: clamp(56px, 8vw, 88px);
}
.kontakt a {
    color: #fff;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    letter-spacing: -0.02em;
    text-decoration: underline;
    text-decoration-color: var(--tuerkis);
    text-decoration-thickness: 3px;
    text-underline-offset: 10px;
    overflow-wrap: anywhere;
    display: block;
    width: fit-content;
}
.kontakt a + a {
    margin-top: 16px;
}
.kontakt p {
    color: #c9d6de;
    padding-top: 24px;
}
footer .wrap {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 32px;
    padding-bottom: 40px;
    font-size: 15px;
    color: var(--text);
}
footer nav {
    display: flex;
    gap: 28px;
}
footer a {
    color: var(--text);
}

@media (max-width: 900px) {
    .intro,
    .ruhig,
    .kontakt .wrap {
        grid-template-columns: 1fr;
    }
    .station {
        grid-template-columns: 76px 1fr;
    }
    .station .ansicht {
        grid-column: 2;
    }
    .zeit svg {
        width: 52px;
        height: 52px;
    }
    .zeit b {
        font-size: 20px;
    }
    .station::before {
        left: 24px;
    }
    .grundsaetze {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 600px) {
    header nav {
        gap: 20px;
        font-size: 16px;
    }
    .day .c {
        display: none;
    }
    .station {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
    .station .ansicht {
        grid-column: 1;
    }
    .zeit {
        flex-direction: row;
        align-items: center;
    }
    .station::before {
        display: none;
    }
    .team {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        grid-auto-flow: row;
    }
}

/* Rechtliche Seiten */
.recht {
    max-width: 46em;
    padding: clamp(48px, 8vw, 96px) 0;
}
.recht h1 {
    font-size: clamp(40px, 5vw, 64px);
}
.recht h2 {
    font-size: 24px;
    padding-top: 40px;
}
.recht p,
.recht li {
    color: var(--text);
    padding-top: 12px;
}
.recht ul {
    padding-left: 1.2em;
}
