/* ============================================
   MOSAROMA LINKTREE CLONE
   Farbpalette:
   - Kürbis-Orange (Primary): #E07812
   - Anthrazit:               #2D2D2D
   - Cream:                   #FAF8F5
   - Gray Light:              #F5F5F5
   - Gray Medium:             #888888
   - Gray Text:               #555555
   Typografie:
   - Headlines: Montserrat (Bold/ExtraBold)
   - Body:      Source Sans Pro (Regular/Light)
   - Akzente:   Josefin Sans (Light)
   ============================================ */

/* --- CSS Variables --- */
:root {
    /* Mosaroma Farbpalette */
    --color-orange: #E07812;
    --color-orange-hover: #f08922;
    --color-orange-subtle: rgba(224, 120, 18, 0.15);
    --color-anthrazit: #2D2D2D;
    --color-anthrazit-light: #3a3a3a;
    --color-anthrazit-dark: #1e1e1e;
    --color-cream: #FAF8F5;
    --color-gray-light: #F5F5F5;
    --color-gray-medium: #888888;
    --color-gray-text: #555555;
    --color-white: #ffffff;
    --color-white-muted: rgba(255, 255, 255, 0.6);
    --color-white-subtle: rgba(255, 255, 255, 0.08);
    --color-border: rgba(255, 255, 255, 0.1);

    /* Mosaroma Typografie */
    --font-headline: 'Montserrat', sans-serif;
    --font-body: 'Source Sans Pro', sans-serif;
    --font-accent: 'Josefin Sans', sans-serif;

    /* Layout */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50%;
    --max-width: 680px;
    --transition: all 0.2s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-anthrazit-dark);
    color: var(--color-white);
    min-height: 100vh;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* --- Page Wrapper --- */
.page-wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    background: var(--color-anthrazit-dark);
    padding: 0 16px;
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    padding: 0 0 40px;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 0;
    margin-bottom: 20px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Transparent gradient fade: clear top → anthracite bottom */
.hero-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(30, 30, 30, 0.4) 30%,
        rgba(30, 30, 30, 0.8) 60%,
        var(--color-anthrazit-dark) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* --- Profile Section --- */
.profile {
    text-align: center;
    padding-top: 0;
}

.profile-logo {
    max-width: 240px;
    height: auto;
    margin: 0 auto 16px;
}

/* --- Social Icons --- */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.social-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    color: var(--color-white);
    font-size: 1rem;
    transition: var(--transition);
}

.social-icon:hover {
    color: var(--color-orange);
    transform: scale(1.15);
}

/* --- Link Buttons --- */
.links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px;
}

.link-button {
    display: flex;
    align-items: center;
    background: var(--color-white-subtle);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    transition: var(--transition);
    position: relative;
}

.link-button:hover {
    background: var(--color-orange-subtle);
    border-color: var(--color-orange);
    transform: translateY(-1px);
}

.link-button:hover .link-icon {
    color: var(--color-orange);
}

.link-button:hover .link-arrow {
    color: var(--color-orange);
    opacity: 1;
}

.link-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--color-white-muted);
    flex-shrink: 0;
    transition: var(--transition);
}

/* Links → Montserrat Medium */
.link-text {
    flex: 1;
    text-align: center;
    font-family: var(--font-headline);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-white);
}

.link-arrow {
    width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--color-white-muted);
    opacity: 0;
    transition: var(--transition);
    flex-shrink: 0;
}

/* --- Video Section --- */
.video-section {
    background: var(--color-white-subtle);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 12px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--color-anthrazit);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 20px 16px;
}

.cookie-text {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--color-white-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.cookie-text a {
    color: var(--color-orange);
    text-decoration: underline;
}

.cookie-options {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.cookie-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--color-white);
    cursor: pointer;
}

.cookie-toggle input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 36px;
    height: 20px;
    background: var(--color-anthrazit-light);
    border-radius: 10px;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.cookie-toggle input[type="checkbox"]::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: var(--color-white-muted);
    border-radius: 50%;
    transition: var(--transition);
}

.cookie-toggle input[type="checkbox"]:checked {
    background: var(--color-orange);
}

.cookie-toggle input[type="checkbox"]:checked::after {
    left: 18px;
    background: var(--color-white);
}

.cookie-toggle input[type="checkbox"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.cookie-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cookie-btn {
    font-family: var(--font-headline);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.cookie-btn-accept {
    background: var(--color-orange);
    color: var(--color-white);
}

.cookie-btn-accept:hover {
    background: var(--color-orange-hover);
}

.cookie-btn-save {
    background: var(--color-anthrazit-light);
    color: var(--color-white);
    border: 1px solid var(--color-border);
}

.cookie-btn-save:hover {
    border-color: var(--color-orange);
}

.cookie-btn-reject {
    background: transparent;
    color: var(--color-white-muted);
    border: 1px solid var(--color-border);
}

.cookie-btn-reject:hover {
    color: var(--color-white);
    border-color: var(--color-white-muted);
}

/* --- Footer --- */
.footer {
    text-align: center;
    padding: 32px 0 16px;
    font-family: var(--font-body);
    font-size: 0.7rem;
    color: var(--color-white-muted);
}

.footer a {
    color: var(--color-white-muted);
    transition: var(--transition);
}

.footer a:hover {
    color: var(--color-orange);
}

.footer .dot {
    margin: 0 6px;
    color: var(--color-white-muted);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Small phones */
@media (max-width: 380px) {
    .hero {
        height: 220px;
    }

    .profile-logo {
        max-width: 150px;
    }
}

/* Tablets and up */
@media (min-width: 768px) {
    .page-wrapper {
        padding: 40px 16px;
    }

    .container {
        background: var(--color-anthrazit);
        border-radius: var(--radius-lg);
        padding: 0 24px 40px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    }

    .hero {
        height: 380px;
        margin-left: -24px;
        margin-right: -24px;
        width: calc(100% + 48px);
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }

    .hero-gradient {
        background: linear-gradient(
            to bottom,
            transparent 0%,
            rgba(45, 45, 45, 0.3) 30%,
            rgba(45, 45, 45, 0.7) 60%,
            var(--color-anthrazit) 100%
        );
    }

    .profile-logo {
        max-width: 240px;
    }

    .link-button {
        padding: 16px 20px;
    }

    .link-text {
        font-size: 0.95rem;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .page-wrapper {
        padding: 60px 16px;
    }
}
