/* Pined - Haupt-Stylesheet (Stand: Februar 2026)
    Thema: Dark Purple & Crochet-Look 
*/

/* --- FARBVARIABLEN --- */
:root {
    --bg-color: #4a3461;
    --accent-orange: #e68a00;
    --accent-hover: #ffaa33;
    --dark-brown: #3b1f11;
    --text-light: #dddddd;
    --text-white: #ffffff;
}

/* --- GRUND-SETUP --- */
body {
    margin: 0;
    padding: 0;
    font-family: 'Verdana', sans-serif;
    background-color: #4a3461;

    background-image: 
        radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), 
        linear-gradient(135deg, #4a3461 0%, #2d1f3d 100%);
    
    background-size: 20px 20px, 100% 100%;
    background-attachment: fixed;
    background-repeat: repeat, no-repeat;
    color: #dddddd;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* --- HEADER & NAVIGATION --- */
header {
    background-color: rgba(0,0,0,0.2);
    padding: 20px 0;
    text-align: center;
}

nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap; /* Verhindert, dass das Menü auf kleinen Bildschirmen über den Rand ragt */
}

/* Das neue, angepasste Design für die Hauptmenü-Punkte */
nav a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 25px; /* Pillenform passend zu den neuen Buttons */
    background: rgba(255, 255, 255, 0.05); /* Sehr dezenter Glaseffekt */
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

nav a:hover {
    background: rgba(255, 126, 32, 0.15); /* Pined-Orange transparent */
    border: 1px solid var(--accent-orange);
    color: var(--text-white);
    box-shadow: 0 5px 15px rgba(255, 126, 32, 0.2);
    transform: translateY(-2px);
}

/* --- GLOBALE BUTTONS (Glas-Pillen) --- */
.nav-btn {
    display: inline-block; /* Wichtig für korrekte Abstände auf allen Seiten */
    pointer-events: auto;
    padding: 12px 25px;
    
    background: rgba(255, 255, 255, 0.1); 
    backdrop-filter: blur(15px); 
    -webkit-backdrop-filter: blur(15px);
    
    border: 1px solid rgba(255, 255, 255, 0.25); 
    border-radius: 30px; 
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); 
    text-align: center;
    cursor: pointer;
}

.nav-btn:hover {
    background: rgba(255, 126, 32, 0.2); 
    border-color: var(--accent-orange);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(255, 126, 32, 0.4);
    color: #ffffff;
}

/* --- MAIN CONTENT AREA --- */
main {
    flex: 1;
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

/* --- BOXEN & KARTEN (Glaseffekt) --- */
.info-card {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(5px);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    border-color: var(--accent-orange);
}

.long-box {
    max-width: 1000px;
    margin: 0 auto 30px auto;
    width: 100%;
    box-sizing: border-box;
}

/* --- GRID-LAYOUTS --- */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px auto;
    max-width: 1000px;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* --- TEXTELEMENTE & TYPOGRAFIE --- */
h1, h2, h3 {
    color: var(--text-white);
}

.hero-title {
    font-size: 3rem;
    line-height: 1.2;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-title span {
    color: var(--accent-orange);
    font-size: 3.5rem;
    display: block;
    margin-top: 10px;
}

.info-card h3 {
    color: var(--accent-orange);
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card p {
    line-height: 1.6;
}

/* Spezielle Zusätze für strukturierte Texte */
.pined-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.pined-list li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
}

.pined-list li::before {
    content: "🧵";
    position: absolute;
    left: 0;
    color: var(--accent-orange);
}

.highlight-box {
    background: rgba(255, 126, 32, 0.05);
    border-left: 3px solid var(--accent-orange);
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 15px 15px 0;
}

.footer-note {
    margin-top: 30px;
    font-style: italic;
    opacity: 0.8;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

/* --- FOOTER & LINKS --- */
footer {
    margin-top: 50px;
    padding: 30px 0;
    text-align: center;
}

.footer-link {
    color: #d1d1d1;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px solid rgba(209, 209, 209, 0.3);
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--accent-orange);
    border-bottom-color: var(--accent-orange);
}

/* --- "NACH OBEN"-BUTTON --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--accent-orange);
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    z-index: 1000;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    transform: translateY(-5px);
    border-color: var(--accent-orange);
    box-shadow: 0 0 20px rgba(255, 126, 32, 0.4);
}

/* --- SCHNEE-EFFEKT --- */
.snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.snowflake {
    position: absolute;
    top: -10px;
    background-color: white;
    border-radius: 50%;
    animation: fall linear infinite;
}

@keyframes fall {
    0% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(25vh) translateX(15px); }
    50% { transform: translateY(50vh) translateX(-15px); }
    75% { transform: translateY(75vh) translateX(15px); }
    100% { transform: translateY(100vh) translateX(0); }
}

/* --- ANIMATIONEN --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes logoFade {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.logo {
    width: 250px;
    height: auto;
    display: block;
    margin: 0 auto;
    animation: logoFade 1.2s ease-out forwards;
}

.info-card, .long-box {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* --- MOBIL-ANPASSUNGEN (Zentral) --- */
@media (max-width: 600px) {
    .hero-title { font-size: 2rem; }
    .hero-title span { font-size: 2.2rem; }
    .logo { width: 180px; }
    .back-to-top { bottom: 20px; right: 20px; width: 40px; height: 40px; }
    
    /* Globale Button-Anpassung für Handys */
    .nav-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
}