/* CSS Reset & Variablen */
:root {
    --color-dark: #0a0a0f;
    --color-card: #121218;
    --color-card-hover: #1a1a24;
    --color-accent: #ff5500;
    --color-accent-hover: #cc4400;
    --color-secondary: #0088ff;
    --color-green: #22c55e;
    --color-pink: #ec4899;
    
    --text-white: #ffffff;
    --text-main: #e5e7eb;
    --text-muted: #9ca3af;
    --text-dark: #4b5563;
    
    --border-color: #1f2937;
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-dark);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Utility Classes */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.container-medium { max-width: 1024px; margin: 0 auto; }
.text-accent { color: var(--color-accent); }
.text-secondary { color: var(--color-secondary); }
.fw-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.mb-3 { margin-bottom: 1rem; }
.mt-4 { margin-top: 1.5rem; }

/* -------------------------------------
   SICHTBARE SPINNENNETZE 
-------------------------------------- */
.web-corner { 
    position: fixed; 
    z-index: 5; /* Deutlich über dem Hintergrund! */
    pointer-events: none; 
    width: 350px; 
    height: 350px; 
}
.web-corner.top-left { top: -20px; left: -20px; }
.web-corner.bottom-right { bottom: -20px; right: -20px; }

/* -------------------------------------
   INTERAKTIVE DROP-SPIDER
-------------------------------------- */
.drop-spider {
    position: fixed;
    top: -100px; /* Versteckt über dem Bildschirm */
    right: 15%; /* Hängt rechts herunter */
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
}
.drop-spider.drop {
    transform: translateY(350px); /* Fällt nach unten */
}
.thread {
    width: 2px;
    height: 1000px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.1), rgba(255,255,255,0.5));
    margin-top: -1000px; /* Faden geht weit nach oben */
}
.spider-icon {
    width: 48px; 
    height: 48px; 
    color: var(--color-accent);
    animation: wiggle 0.2s infinite alternate ease-in-out;
}
@keyframes wiggle {
    0% { transform: translateX(-2px) rotate(-3deg); }
    100% { transform: translateX(2px) rotate(3deg); }
}

/* Header */
.site-header { position: fixed; top: 0; width: 100%; z-index: 50; background: rgba(10, 10, 15, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-color); }
.header-container { display: flex; justify-content: space-between; align-items: center; height: 5rem; }

.logo { display: flex; align-items: center; gap: 0.75rem; color: var(--text-white); }
.logo-icon { width: 2.5rem; height: 2.5rem; color: var(--color-accent); transition: transform 0.3s ease; }
.logo:hover .logo-icon { transform: scale(1.1); }
.logo-text { font-weight: 700; font-size: 1.25rem; letter-spacing: -0.025em; }
.logo-light { font-weight: 300; color: var(--text-muted); }

.desktop-nav { display: none; align-items: center; gap: 2rem; font-size: 0.875rem; font-weight: 500; }
@media (min-width: 768px) { .desktop-nav { display: flex; } }
.desktop-nav a:not(.btn-outline):hover { color: var(--color-accent); transition: color 0.2s; }
.btn-outline { padding: 0.5rem 1rem; border-radius: 9999px; border: 1px solid var(--text-dark); transition: all 0.2s; }
.btn-outline:hover { border-color: var(--color-accent); color: var(--color-accent); }

.menu-btn { display: block; background: none; border: none; color: var(--text-muted); cursor: pointer; padding: 0.5rem; }
.menu-btn:hover { color: var(--text-white); }
@media (min-width: 768px) { .menu-btn { display: none; } }

/* Mobile Menu */
.mobile-menu { position: fixed; inset: 0; z-index: 60; background: rgba(10, 10, 15, 0.95); backdrop-filter: blur(16px); display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.3s ease; }
.mobile-menu.active { transform: translateX(0); }
.mobile-menu-header { display: flex; justify-content: flex-end; padding: 1.5rem; }
.close-btn { background: none; border: none; color: var(--text-muted); cursor: pointer; padding: 0.5rem; }
.close-btn svg { width: 2rem; height: 2rem; }
.close-btn:hover { color: var(--text-white); }
.mobile-nav { display: flex; flex-direction: column; align-items: center; gap: 2rem; margin-top: 2.5rem; font-size: 1.5rem; font-weight: 300; }
.mobile-link:hover { color: var(--color-accent); }

/* Main layout */
main { flex-grow: 1; position: relative; z-index: 10; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 1rem 2rem; border-radius: 9999px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; border: none; font-size: 1rem; }
.btn-primary { background-color: var(--color-accent); color: white; box-shadow: 0 0 20px rgba(255,85,0,0.3); }
.btn-primary:hover { background-color: var(--color-accent-hover); box-shadow: 0 0 30px rgba(255,85,0,0.5); }
.btn-secondary { background-color: transparent; border: 1px solid var(--color-secondary); color: var(--color-secondary); }
.btn-secondary:hover { background-color: var(--color-secondary); color: white; }

.btn-outline-secondary { padding: 0.75rem 1.5rem; border-radius: 9999px; border: 1px solid var(--color-secondary); color: var(--color-secondary); display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 600; transition: all 0.2s; }
.btn-outline-secondary:hover { background-color: var(--color-secondary); color: white; }
.btn-outline-pink { padding: 0.75rem 1.5rem; border-radius: 9999px; border: 1px solid var(--color-pink); color: var(--color-pink); display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 600; transition: all 0.2s; }
.btn-outline-pink:hover { background-color: var(--color-pink); color: white; }

.adoption-links { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Hero Section */
.hero-section { padding: 8rem 1rem 5rem; position: relative; text-align: center; display: flex; flex-direction: column; justify-content: center; min-height: 80vh; }
@media (min-width: 768px) { .hero-section { padding: 12rem 1rem 8rem; } }
.hero-container { position: relative; z-index: 10; max-width: 800px; margin: 0 auto; }
.hero-title { font-size: clamp(3rem, 5vw, 5rem); font-weight: 800; color: white; line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -0.02em; }
.hero-subtitle { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 3rem; font-weight: 300; line-height: 1.6; }
.hero-buttons { display: flex; flex-direction: column; gap: 1rem; justify-content: center; margin-bottom: 4rem; }
@media (min-width: 640px) { .hero-buttons { flex-direction: row; } }
.scroll-arrow { margin-top: 2rem; display: inline-block; animation: bounce 2s infinite; }
.scroll-arrow svg { width: 3rem; height: 3rem; color: var(--text-muted); cursor: pointer; transition: color 0.3s; }
.scroll-arrow:hover svg { color: var(--color-accent); }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-15px); } 60% { transform: translateY(-7px); } }

/* About Section */
.about-section { padding: 5rem 1rem; position: relative; z-index: 10; }
.credo-box { background: linear-gradient(135deg, var(--color-card), var(--color-dark)); padding: 3rem; border-radius: 1.5rem; border: 1px solid rgba(0,136,255,0.2); box-shadow: 0 0 40px rgba(0,136,255,0.05); margin-bottom: 4rem; text-align: center; }
.credo-text { font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 300; color: white; font-style: italic; line-height: 1.6; }
.services-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card { background: var(--color-card); padding: 2.5rem; border-radius: 1rem; border: 1px solid var(--border-color); }
.icon-box { width: 3.5rem; height: 3.5rem; border-radius: 0.75rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.icon-accent { background: rgba(255,85,0,0.1); color: var(--color-accent); }
.icon-secondary { background: rgba(0,136,255,0.1); color: var(--color-secondary); }
.icon-green { background: rgba(34,197,94,0.1); color: var(--color-green); }
.service-card h3 { font-size: 1.25rem; font-weight: 700; color: white; margin-bottom: 0.75rem; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

/* Species Section (Galerie) */
.species-section { padding: 5rem 1rem; background: rgba(18, 18, 24, 0.5); border-top: 1px solid rgba(31, 41, 55, 0.5); border-bottom: 1px solid rgba(31, 41, 55, 0.5); position: relative; z-index: 10; }
.section-header { margin-bottom: 3rem; }
.section-header h2 { font-size: 2.5rem; font-weight: 700; color: white; margin-bottom: 1rem; letter-spacing: -0.02em; }
.section-header p { color: var(--text-muted); max-width: 50rem; line-height: 1.6; font-size: 1.1rem; }
.species-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .species-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .species-grid { grid-template-columns: repeat(3, 1fr); } }
.species-card { background: var(--color-card); border-radius: 1rem; border: 1px solid var(--border-color); overflow: hidden; transition: all 0.3s ease; }
.card-image-wrapper { height: 18rem; width: 100%; background: var(--color-dark); border-bottom: 1px solid var(--border-color); overflow: hidden; }
.species-image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.species-card:hover .species-image { transform: scale(1.05); }
.card-hover-accent:hover { border-color: rgba(255,85,0,0.5); transform: translateY(-5px); box-shadow: 0 10px 30px rgba(255,85,0,0.1); }
.card-hover-secondary:hover { border-color: rgba(0,136,255,0.5); transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,136,255,0.1); }
.card-hover-green:hover { border-color: rgba(34,197,94,0.5); transform: translateY(-5px); box-shadow: 0 10px 30px rgba(34,197,94,0.1); }
.card-body { padding: 1.5rem; }
.card-body h3 { font-size: 1.35rem; font-weight: 700; color: white; font-style: italic; }
.species-trivial { font-size: 0.95rem; color: var(--color-accent); margin-top: 0.25rem; font-weight: 500; }

/* Contact & Donation */
.contact-section { padding: 6rem 1rem; position: relative; z-index: 10; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 4rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
.contact-left h2 { font-size: 2.5rem; font-weight: 700; color: white; margin-bottom: 1rem; letter-spacing: -0.02em; }
.section-desc { color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.6; font-size: 1.1rem; }

.social-links { display: flex; flex-direction: column; gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 640px) { .social-links { flex-direction: row; } }
.social-card { flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.75rem; background: var(--color-card); border: 1px solid var(--border-color); padding: 1.5rem; border-radius: 1rem; color: white; transition: all 0.2s; font-weight: 600; font-size: 1.1rem; cursor: pointer; }
.hover-pink:hover { border-color: var(--color-pink); background: rgba(236,72,153,0.05); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(236,72,153,0.1); }
.hover-pink:hover svg { color: var(--color-pink); }
.hover-secondary:hover { border-color: var(--color-secondary); background: rgba(0,136,255,0.05); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,136,255,0.1); }
.hover-secondary:hover svg { color: var(--color-secondary); }

.donation-box { background: linear-gradient(to bottom, var(--color-card), var(--color-dark)); padding: 3rem; border-radius: 1.5rem; border: 1px solid var(--border-color); display: flex; flex-direction: column; align-items: center; text-align: center; }
.donation-box h3 { font-size: 1.8rem; font-weight: 700; color: white; margin-bottom: 0.75rem; }
.donation-desc { color: var(--text-muted); margin-bottom: 2.5rem; max-width: 24rem; font-size: 1.05rem; line-height: 1.6;}
.twint-qr { background: white; padding: 1.5rem; border-radius: 1rem; margin-bottom: 1rem; box-shadow: 0 0 30px rgba(0,136,255,0.1); }
.twint-qr svg { width: 9rem; height: 9rem; color: #d1d5db; }
.twint-label { font-weight: 700; color: var(--color-secondary); font-size: 1.2rem; letter-spacing: 0.05em; margin-bottom: 2rem; }
.iban-box { width: 100%; background: var(--color-dark); padding: 1.5rem; border-radius: 0.75rem; border: 1px solid var(--border-color); text-align: left; }
.iban-title { font-size: 0.85rem; color: #6b7280; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.iban-number { font-family: monospace; color: var(--text-main); font-size: 1.25rem; letter-spacing: 0.1em; word-break: break-all; }
@media (min-width: 640px) { .iban-number { font-size: 1.4rem; } }
.bank-info { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; color: #6b7280; font-size: 0.95rem; }
.bank-info svg { width: 1.2rem; height: 1.2rem; }

/* Footer */
.site-footer { background: var(--color-card); border-top: 1px solid var(--border-color); padding: 3rem 0; position: relative; z-index: 10; }
.footer-container { display: flex; flex-direction: column; gap: 1.5rem; justify-content: space-between; align-items: center; }
@media (min-width: 768px) { .footer-container { flex-direction: row; } }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; font-size: 0.95rem; color: #6b7280; }
.footer-links a:hover { color: white; transition: color 0.2s; }
.developer-credit { font-size: 0.9rem; color: #4b5563; display: flex; align-items: center; gap: 0.5rem; }
.developer-credit svg { width: 1.2rem; height: 1.2rem; }
.developer-credit .text-gray-400 { color: var(--text-muted); letter-spacing: 0.05em; }
