/* ========================================
   Linksammlung – Style
   Inspired by BLISSS design system
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Outfit:wght@200;300;400;500;600;700&display=swap');

:root {
    --clr-orange: #D67200;
    --clr-orange-light: #E8940A;
    --clr-orange-glow: rgba(214, 114, 0, 0.12);
    --clr-green: #24890D;
    --clr-green-light: #2ea012;
    --clr-text: #2B2B2B;
    --clr-text-muted: #6e6a63;
    --clr-bg: #FDFCFA;
    --clr-bg-warm: #F9F5EF;
    --clr-bg-deep: #1a1714;
    --clr-card: #FFFFFF;
    --clr-border: #E8E2D8;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Outfit', system-ui, sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--clr-text);
    background: var(--clr-bg);
    line-height: 1.75;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========== NAV ========== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(253,252,250,0.85);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid rgba(232,226,216,0.6);
}

.nav-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--clr-orange);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--clr-text-muted);
    position: relative;
    padding-bottom: 4px;
    text-decoration: none;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--clr-orange);
    transition: width .35s var(--ease-out);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--clr-text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* ========== HERO ========== */

.hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: var(--clr-bg-deep);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 45%, rgba(214,114,0,0.15), transparent 70%),
        radial-gradient(ellipse 40% 30% at 20% 80%, rgba(214,114,0,0.08), transparent),
        radial-gradient(ellipse 30% 40% at 85% 20%, rgba(36,137,13,0.05), transparent);
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0v60M0 30h60' stroke='%23ffffff' stroke-width='.3' opacity='.04'/%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
    animation: heroIn 1.2s var(--ease-out) both;
}

.hero-eyebrow {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.9rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(3rem, 8vw, 6rem);
    color: #fff;
    line-height: 0.95;
    letter-spacing: -0.02em;
    margin-bottom: 0.3rem;
}

.hero-title em {
    font-style: italic;
    color: var(--clr-orange-light);
}

.hero-accent-line {
    width: 80px;
    height: 2px;
    margin: 2rem auto;
    background: linear-gradient(90deg, transparent, var(--clr-orange), transparent);
}

.hero-subtitle {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: rgba(255,255,255,0.6);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ========== LINKS SECTION ========== */

.links-section {
    padding: 5rem 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.section-heading h2 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 2.2rem;
    color: var(--clr-text);
    line-height: 1.2;
}

.section-heading h2 .orange {
    color: var(--clr-orange);
    font-weight: 600;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

/* ========== LINK CARDS ========== */

.link-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem 1.8rem;
    border-radius: 16px;
    background: var(--clr-card);
    border: 1px solid var(--clr-border);
    text-decoration: none;
    transition: all .35s var(--ease-out);
    overflow: hidden;
    animation: fadeUp .6s var(--ease-out) both;
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--clr-orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s var(--ease-out);
}

.link-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(214,114,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
    border-color: rgba(214,114,0,0.3);
}

.link-card:hover::before {
    transform: scaleX(1);
}

.link-card:nth-child(2) { animation-delay: .08s; }
.link-card:nth-child(3) { animation-delay: .16s; }
.link-card:nth-child(4) { animation-delay: .24s; }
.link-card:nth-child(5) { animation-delay: .32s; }
.link-card:nth-child(6) { animation-delay: .4s; }
.link-card:nth-child(7) { animation-delay: .48s; }
.link-card:nth-child(8) { animation-delay: .56s; }
.link-card:nth-child(9) { animation-delay: .64s; }

.card-category {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    border-radius: 100px;
    background: var(--clr-orange-glow);
    border: 1px solid rgba(214,114,0,0.2);
    color: var(--clr-orange);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.card-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--clr-text);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.card-desc {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
    line-height: 1.6;
    flex: 1;
}

.card-url {
    margin-top: 1rem;
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--clr-text-muted);
    opacity: 0.6;
}

.card-arrow {
    margin-top: 0.8rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--clr-orange);
    letter-spacing: 0.05em;
    opacity: 0;
    transform: translateX(-8px);
    transition: all .3s var(--ease-out);
}

.link-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ========== FOOTER ========== */

.footer {
    padding: 2.5rem 0;
    text-align: center;
    border-top: 1px solid var(--clr-border);
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--clr-text-muted);
    letter-spacing: 0.08em;
}

/* ========== ANIMATIONS ========== */

@keyframes heroIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr 1fr;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .nav-links a {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
}