@font-face {
    font-family: 'Inter';
    src: url('assets/fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype-variations');
    font-weight: 100 900;
}

:root {
    --bg-color: #1c1c1c;
    --text-color: #ffffff;
    --accent-color: #4CE25B;
    /* Green from the UI */
    --font-main: 'Inter', sans-serif;
    --spacing-container: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 900;
}

h1 {
    font-size: 3rem;
    font-style: italic;
    text-transform: uppercase;
}

h2 {
    font-size: 2rem;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 10px;
    font-style: italic;
}

h3 {
    font-size: 1.4rem;
    text-transform: uppercase;
    margin-top: 24px;
    margin-bottom: 12px;
}

h5 {
    font-size: 1.2rem;
    margin-top: 24px;
    text-transform: uppercase;
}

h6 {
    font-size: 0.9rem;
    margin-top: 24px;
}

p {
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 700;
}

a {
    color: var(--text-color);
}

a:hover {
    color: var(--accent-color);
}

.subtitle,
.section-subtitle {
    text-align: center;
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 60px;
    font-size: 1rem;
    letter-spacing: 0.05em;
}

/* Hero Section */
.hero {
    width: 100%;
    aspect-ratio: 2 / 1;
    background-image: url('assets/02_1_training_running_Frau.png');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding-bottom: 100px;
}

.hero-imprint {
    background-image: url('assets/header_imprint.png');
    aspect-ratio: 4 / 1;
}

.hero-privacy {
    background-image: url('assets/header_imprint.png');
    aspect-ratio: 4 / 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
}

.logo-image {
    width: 200px;
    height: auto;
    margin-bottom: 72px;
    filter: drop-shadow(0 0px 20px rgba(0, 0, 0, 0.5));
}

.tester-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.6));
    text-align: center;
}

.tester-cta h5 {
    margin: 0;
}

.tester-cta .test-buttonset {
    margin: 0;
}

.test-buttonset {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.store-buttonset {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 20px;
}

.store-button {
    position: relative;
    display: inline-block;
}

.store-button img {
    height: 40px;
    filter: drop-shadow(0 1px 9px rgba(0, 0, 0, 0.25));
}

.store-button>img:not(.qr-code-hover) {
    height: 40px;
    filter: drop-shadow(0 1px 9px rgba(0, 0, 0, 0.25));
    display: block;
}

.test-button {
    background-color: white;
    color: black;
    text-decoration: none;
    font-weight: 900;
    font-size: 0.9rem;
    padding: 12px 24px;
    border-radius: 50px;
    /* Half of height (approx 44px height with padding) */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    /* Explicit height to ensure border-radius works as intended */
    box-sizing: border-box;
    text-transform: uppercase;
    transition: transform 0.2s, box-shadow 0.2s;
}

.test-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.button-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    filter: none !important;
    /* Override potential filters from store-button img */
}

.qr-code-hover {
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 360px;
    height: 360px;
    box-sizing: content-box;
    background: white;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    z-index: 100;
}

img.qr-code-hover {
    width: 240px;
    height: 240px;
}

/* Arrow for the tooltip look */
.qr-code-hover::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -8px;
    border-width: 8px;
    border-style: solid;
    border-color: white transparent transparent transparent;
}

.store-button:hover .qr-code-hover {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Features Section */
section {
    padding: 80px 0;
}

.feature-layout {
    display: flex;
    flex-direction: row;
    flex-wrap: no-wrap;
    justify-content: center;
    gap: 40px;
    text-align: center;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Imprint Privacy */

.text_privacy {
    text-align: left;
    max-width: 800px;
}

.text_privacy h2 {
    text-align: left;
}

.text_privacy ul {
    list-style-position: inside;
    margin-bottom: 16px;
    padding-left: 10px;
}

.text_privacy li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Imprint Page */

.text_imprint {
    text-align: center;
    max-width: 800px;
}

.text_imprint p,
.text_privacy p {
    font-weight: 500;
    font-size: 14px;
    margin-top: 8px;
    margin-bottom: 24px;
}

/* Lifestyle Section */
#lifestyle {
    padding: 80px 0;
}

/* Divider */
.visual-divider {
    height: 48px;
    width: 100%;
    background-image: url('assets/pattern-plus.svg');
    background-repeat: repeat-x;
    background-position: center;
    background-size: auto 23px;
    margin-bottom: 0px;
    opacity: 0.5;
}

/* Footer */
footer {
    padding: 40px 0;
    background: #000;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    font-size: 0.7em;
    gap: 20px;
}

.footer-links a {
    color: #FFF;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #00E643;
}

/* Responsive */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .lifestyle-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }

    h2 {
        font-size: 1.5rem;
    }
}



@media (max-width: 768px) {
    .lifestyle-grid-imprint {
        flex-direction: column;
    }

    .lifestyle-grid-imprint img {
        width: 100%;
    }
}

/* Linktree Page */
.linktree-page {
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.linktree-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
    max-width: 400px;
    /* Restrict width for mobile optimization look */
    text-align: center;
}

.linktree-logo img {
    width: 200px;
    height: auto;
    filter: drop-shadow(0 0px 20px rgba(0, 0, 0, 0.5));
}

.linktree-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    align-items: center;
}

.linktree-buttons .store-button img {
    height: 50px;
    /* Slightly larger for the link page */
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    transition: transform 0.2s;
}

.linktree-buttons .store-button:hover img {
    transform: scale(1.05);
}

.linktree-footer {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.8;
    transition: opacity 0.2s, color 0.2s;
}

.footer-link:hover {
    opacity: 1;
    color: var(--accent-color);
}