@font-face {
    font-family: 'Material Icons';
    src: url('../fonts/material-icons/MaterialIcons-Regular.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/montserrat/Montserrat-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/montserrat/Montserrat-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/montserrat/Montserrat-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

:root {
    color-scheme: dark;
    --bg: #0e0e0f;
    --surface: #171719;
    --surface-strong: #202023;
    --text: #f4f4f5;
    --muted: #b7b7bd;
    --line: rgba(255, 255, 255, 0.12);
    --red: #dc2626;
    --cyan: #00a8cc;
    --green: #10b981;
    --orange: #f59e0b;
    --purple: #8b5cf6;
    --max: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 12% 8%, rgba(220, 38, 38, 0.12), transparent 32rem),
        radial-gradient(circle at 88% 20%, rgba(0, 168, 204, 0.1), transparent 28rem),
        var(--bg);
    color: var(--text);
    font-family: 'Montserrat', system-ui, sans-serif;
    line-height: 1.7;
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 1.35rem;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    font-feature-settings: 'liga';
    vertical-align: middle;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--line);
    background: rgba(14, 14, 15, 0.92);
    backdrop-filter: blur(16px);
}

.nav {
    width: min(calc(100% - 2rem), var(--max));
    min-height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.brand img {
    width: 42px;
    height: 42px;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--text);
}

.nav-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 48px;
    padding: 0.75rem 1.1rem;
    border: 1px solid transparent;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--red), #a50008);
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(220, 38, 38, 0.18);
}

.button-secondary {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: none;
}

.hero,
.section,
.cta-panel {
    width: min(calc(100% - 2rem), var(--max));
    margin-inline: auto;
}

section[id] {
    scroll-margin-top: 96px;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
    gap: clamp(3rem, 7vw, 6.5rem);
    align-items: center;
    min-height: calc(100svh - 72px);
    padding: clamp(5rem, 9vw, 8rem) 0 clamp(5rem, 8vw, 7rem);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 1rem;
    color: var(--cyan);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 18ch;
    margin-bottom: 1.25rem;
    font-size: clamp(2.35rem, 6vw, 4.65rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

h2 {
    margin-bottom: 1.2rem;
    font-size: clamp(2rem, 4vw, 3.15rem);
    line-height: 1.14;
    letter-spacing: -0.03em;
}

h3 {
    margin-bottom: 0.75rem;
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    line-height: 1.35;
}

.lead {
    max-width: 62ch;
    color: var(--muted);
    font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.hero-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: 1.75rem;
}

.hero-visual {
    position: relative;
    min-height: 560px;
    display: grid;
    place-items: center;
}

.hero-visual::before {
    content: '';
    position: absolute;
    inset: 8% 2%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 168, 204, 0.2), transparent 68%);
    filter: blur(8px);
}

.hero-visual img {
    position: relative;
    max-height: 620px;
    width: auto;
    border-radius: 30px;
    filter: drop-shadow(0 34px 52px rgba(0, 0, 0, 0.5));
}

.hero-visual--portrait img {
    width: min(100%, 560px);
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
}

.section {
    padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.section-heading {
    max-width: 840px;
    margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
}

.section-heading > p:last-child {
    max-width: 70ch;
    margin-bottom: 0;
    color: var(--muted);
    font-size: clamp(1.02rem, 1.7vw, 1.16rem);
}

.section-heading p,
.card p,
.split p,
.step p,
.trust-note {
    color: var(--muted);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.35rem;
}

.card,
.step,
.quote-card {
    border: 1px solid var(--line);
    border-radius: 24px;
    background: linear-gradient(160deg, rgba(32, 32, 35, 0.95), rgba(20, 20, 22, 0.96));
    padding: clamp(1.65rem, 3vw, 2.15rem);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.14);
}

.card {
    min-height: 230px;
}

.card p,
.step p,
.split p {
    font-size: 1.02rem;
}

.card-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 1.35rem;
    display: grid;
    place-items: center;
    border: 1px solid rgba(0, 168, 204, 0.2);
    border-radius: 18px;
    background: rgba(0, 168, 204, 0.12);
    color: var(--cyan);
}

.card-icon .material-icons {
    font-size: 1.65rem;
}

.split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.5rem, 5vw, 4rem);
    align-items: center;
    margin-block: clamp(2rem, 4vw, 4rem);
    padding: clamp(2rem, 5vw, 4.5rem);
    border: 1px solid var(--line);
    border-radius: 32px;
    background: #151517;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
}

.split img {
    width: 100%;
    max-height: 660px;
    object-fit: contain;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    background: #09090a;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.check-list li {
    position: relative;
    padding: 0.62rem 0 0.62rem 2rem;
    color: var(--muted);
    font-size: 1rem;
}

.check-list li::before {
    content: 'check_circle';
    position: absolute;
    left: 0;
    top: 0.62rem;
    color: var(--green);
    font-family: 'Material Icons';
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
    counter-reset: steps;
}

.step {
    counter-increment: steps;
    min-height: 220px;
}

.step::before {
    content: counter(steps, decimal-leading-zero);
    display: block;
    margin-bottom: 1.35rem;
    color: var(--red);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.related-grid a {
    position: relative;
    min-height: 205px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: 1fr auto;
    align-items: end;
    gap: 1rem;
    border: 1px solid var(--line);
    border-radius: 26px;
    background:
        radial-gradient(circle at 18% 18%, rgba(0, 168, 204, 0.13), transparent 9rem),
        linear-gradient(145deg, rgba(32, 32, 35, 0.96), rgba(19, 19, 21, 0.98));
    padding: 1.6rem;
    overflow: hidden;
    color: var(--text);
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.16);
    transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.related-grid a::before {
    content: 'apps';
    grid-column: 1 / -1;
    align-self: start;
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 21px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--cyan);
    font-family: 'Material Icons';
    font-size: 2rem;
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    font-feature-settings: 'liga';
}

.related-grid a[href='/ernaehrung']::before {
    content: 'restaurant';
    color: var(--orange);
    background: rgba(245, 158, 11, 0.12);
}

.related-grid a[href='/schlaf']::before {
    content: 'bedtime';
    color: var(--purple);
    background: rgba(139, 92, 246, 0.12);
}

.related-grid a[href='/stress-balance']::before {
    content: 'self_improvement';
    color: var(--cyan);
    background: rgba(0, 168, 204, 0.12);
}

.related-grid a[href='/bewegung']::before {
    content: 'directions_run';
    color: var(--green);
    background: rgba(16, 185, 129, 0.12);
}

.related-grid a[href='/4p-coach']::before {
    content: 'auto_awesome';
}

.related-grid a[href='/4p-methode']::before {
    content: 'grid_view';
}

.related-grid a[href='/firmen']::before {
    content: 'business';
}

.related-grid a:hover,
.related-grid a:focus-visible {
    border-color: rgba(0, 168, 204, 0.55);
    transform: translateY(-5px);
    box-shadow: 0 26px 58px rgba(0, 0, 0, 0.28);
}

.related-grid a > span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    color: var(--muted);
    font-size: 1.25rem;
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.related-grid a:hover > span,
.related-grid a:focus-visible > span {
    background: var(--cyan);
    color: #061519;
    transform: translateX(3px);
}

.cta-panel {
    margin-top: clamp(2rem, 5vw, 4rem);
    margin-bottom: clamp(5rem, 9vw, 8rem);
    padding: clamp(3rem, 7vw, 5.5rem);
    border: 1px solid rgba(220, 38, 38, 0.35);
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(220, 38, 38, 0.2), transparent 46%),
        var(--surface);
    text-align: center;
}

.cta-panel h2,
.cta-panel p {
    max-width: 760px;
    margin-inline: auto;
}

.cta-panel p {
    color: var(--muted);
}

.site-footer {
    border-top: 1px solid var(--line);
    background: #0a0a0b;
}

.footer-inner {
    width: min(calc(100% - 2rem), var(--max));
    margin: 0 auto;
    padding: 2.5rem 0;
}

.footer-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.footer-links a {
    color: var(--muted);
    font-size: 0.88rem;
    text-decoration: none;
}

.disclaimer,
.copyright {
    max-width: 820px;
    color: #8f8f96;
    font-size: 0.78rem;
}

.seo-cookie-banner {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 50;
    width: min(460px, calc(100% - 2rem));
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #1b1b1e;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.seo-cookie-banner p {
    margin-bottom: 0.8rem;
    color: var(--muted);
    font-size: 0.84rem;
}

.seo-cookie-banner div {
    display: flex;
    justify-content: flex-end;
    gap: 0.65rem;
}

.seo-cookie-banner button,
.seo-cookie-settings {
    min-height: 40px;
    padding: 0.55rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #27272a;
    color: var(--text);
    cursor: pointer;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 600;
}

.seo-cookie-banner .accept {
    border-color: transparent;
    background: var(--red);
}

.seo-cookie-settings {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 45;
}

[hidden] {
    display: none !important;
}

@media (max-width: 900px) {
    .hero,
    .split {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 420px;
    }

    .grid,
    .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .nav {
        align-items: flex-start;
        padding: 0.8rem 0;
    }

    .nav-links a:not(.nav-cta) {
        display: none;
    }

    .hero {
        min-height: auto;
        padding-top: 3.5rem;
    }

    .grid,
    .steps,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual img {
        max-height: 500px;
    }

    .split {
        padding: 1.4rem;
        border-radius: 24px;
    }

    .related-grid a {
        min-height: 170px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
    }
}
