/*
 * ===================== OPEN LINK TREE — STYLES =====================
 *
 * Design-Tokens stehen in :root unten. Ändere dort Farben, Radius,
 * Phone-Width und alles passt sich an.
 *
 * Sections in dieser Datei:
 *   1. Reset + Tokens
 *   2. Body / Phone-Frame
 *   3. Profile Header
 *   4. Link Buttons (alle Varianten — die "Button Library")
 *   5. Products
 *   6. Footer + Social
 *   7. Mobile Breakpoint
 *
 * Alle Button-Varianten gibt es auch in components.html zum Anschauen.
 */

/* ===================== 1. RESET + TOKENS ===================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Farben */
    --color-bg-outer: #0c1a18;      /* Hintergrund hinter dem Phone-Frame */
    --color-bg-inner: #16332f;      /* Hintergrund im Phone-Frame */
    --color-text: #1a1a1a;
    --color-text-light: #666;
    --color-white: #ffffff;
    --color-accent: #f7dc28;
    --color-accent-hover: #a8890a;
    --color-border: rgba(0, 0, 0, 0.08);

    /* Typo + Layout */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius: 12px;
    --max-width: 480px;
    --phone-width: 420px;
    --phone-height: 90vh;
}

/* ===================== 2. BODY + PHONE FRAME ===================== */
body {
    font-family: var(--font-main);
    background-color: var(--color-bg-outer);
    color: var(--color-text);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-font-smoothing: antialiased;
}

.phone-frame {
    width: var(--phone-width);
    height: var(--phone-height);
    border-radius: 32px;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    background-color: var(--color-bg-inner);
    background-image: url('../assets/background-placeholder.svg');
    background-size: cover;
    background-position: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Scrollbar im Frame verstecken */
.phone-frame::-webkit-scrollbar { display: none; }
.phone-frame {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 48px 24px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100%;
}

/* ===================== 3. PROFILE HEADER ===================== */
.profile {
    text-align: center;
    margin-bottom: 32px;
}

.profile__avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-white);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 16px;
}

.profile__name {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
    color: var(--color-white);
}

.profile__tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 400;
}

/* ===================== 4. LINK BUTTON LIBRARY ===================== */
.links {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}

/* --- 4a. Basic Button --- */
.link-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px 24px;
    background: var(--color-white);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--color-text);
    font-size: 15px;
    font-weight: 500;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    position: relative;
}

.link-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.link-button:active {
    transform: translateY(0);
}

.link-button__icon { font-size: 12px; }

/* --- 4b. Stacked Button (Title + Subtitle) --- */
.link-button--stacked {
    flex-direction: column;
    gap: 3px;
    padding: 12px 24px;
}

.link-button--stacked .link-button__text {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
}

.link-button__subtitle {
    font-size: 12px;
    font-weight: 400;
    color: #777;
    line-height: 1.3;
    text-align: center;
}

/* --- 4c. Outline Button (alternative Look) --- */
.link-button--outline {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    color: var(--color-white);
    box-shadow: none;
}

.link-button--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

/* --- 4d. Highlight Card (Bild + Eyebrow + Title + Subtext + CTA) --- */
.consulting-card {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 153px;
    background: var(--color-white);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--color-text);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.consulting-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.consulting-card__img {
    width: 115px;
    flex-shrink: 0;
    background-image: url('../assets/playbook.jpg');
    background-size: cover;
    background-position: center center;
    background-color: #17150f;
}

.consulting-card__content {
    flex: 1;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.consulting-card__eyebrow {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent-hover);
    margin-bottom: 6px;
}

.consulting-card__title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 6px;
}

.consulting-card__sub {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

.consulting-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-accent-hover);
    margin-top: 10px;
}

/* --- 4e. Video Card (YouTube Thumbnail + Title) --- */
.video-card {
    display: block;
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--color-white);
    position: relative;
    background: #1a1a1a;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.video-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.video-card__thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    background: #1a1a1a;
}

.video-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.15);
    transition: background 0.15s ease;
}

.video-card:hover .video-card__overlay {
    background: rgba(0, 0, 0, 0.3);
}

.video-card__play {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.video-card__info {
    padding: 12px 16px;
    background: #FF0000;
}

.video-card__label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.85;
    margin-bottom: 2px;
}

.video-card__title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
}

/* ===================== 5. PRODUCTS ===================== */
.products {
    width: 100%;
    margin-bottom: 40px;
    display: none; /* Aktivieren: display: block; */
}

.products__heading {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
    text-align: center;
}

.products__placeholder {
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    padding: 20px;
}

.product-card {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 12px 16px;
    background: var(--color-white);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--color-text);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    margin-bottom: 12px;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-card__image {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: cover;
}

.product-card__text {
    font-size: 15px;
    font-weight: 500;
}

/* ===================== 6. FOOTER + SOCIAL ===================== */
.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    padding-bottom: 8px;
    margin-top: auto;
}

.social {
    display: flex;
    gap: 20px;
}

.social__icon {
    color: var(--color-white);
    opacity: 0.6;
    transition: opacity 0.15s ease;
}

.social__icon:hover {
    opacity: 1;
}

.footer__legal {
    display: flex;
    gap: 16px;
}

.footer__impressum {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}

.footer__impressum:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* ===================== 7. MOBILE BREAKPOINT ===================== */
@media (max-width: 550px) {
    body {
        background-color: var(--color-bg-inner);
        align-items: flex-start;
    }

    .phone-frame {
        width: 100%;
        height: auto;
        min-height: 100vh;
        border-radius: 0;
        box-shadow: none;
    }

    .container {
        padding: 32px 16px 24px;
        min-height: 100vh;
    }

    .profile__avatar {
        width: 80px;
        height: 80px;
    }

    .profile__name {
        font-size: 20px;
    }
}
