/* ========================================
   TIWI - Timelkamer Wirtschaft
   CREATIVE Animation Stylesheet
   ======================================== */

/* CSS Variables */
:root {
    --color-primary: #FF6D00;
    --color-primary-dark: #E56200;
    --color-primary-light: #FF8A33;
    
    --color-blue: #0049FF;
    --color-blue-dark: #0036cc;
    --color-blue-light: #3366ff;
    --color-blue-pale: #e8f0ff;
    
    --color-secondary: #363636;
    --color-dark: #0a0a0a;
    --color-light: #ffffff;
    --color-gray: #f5f7fa;
    --color-gray-dark: #5a6a7a;
    
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Raleway', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --shadow-xl: 0 25px 50px rgba(0,0,0,0.2);
    --shadow-blue: 0 10px 40px rgba(0, 73, 255, 0.25);
    
    --container-width: 1200px;
    --header-height: 80px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-secondary);
    background-color: var(--color-light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   ANIMATIONS & KEYFRAMES
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes flipInX {
    from {
        transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
        animation-timing-function: ease-in;
        opacity: 0;
    }
    40% {
        transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
        animation-timing-function: ease-in;
    }
    60% {
        transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
        opacity: 1;
    }
    80% {
        transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
    }
    to {
        transform: perspective(400px);
    }
}

@keyframes rotateIn {
    from {
        transform-origin: center;
        transform: rotate3d(0, 0, 1, -200deg);
        opacity: 0;
    }
    to {
        transform-origin: center;
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale3d(0.3, 0.3, 0.3);
    }
    50% {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translate3d(0, 100%, 0);
        visibility: visible;
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes pulse {
    from {
        transform: scale3d(1, 1, 1);
    }
    50% {
        transform: scale3d(1.05, 1.05, 1.05);
    }
    to {
        transform: scale3d(1, 1, 1);
    }
}

@keyframes rubberBand {
    from {
        transform: scale3d(1, 1, 1);
    }
    30% {
        transform: scale3d(1.25, 0.75, 1);
    }
    40% {
        transform: scale3d(0.75, 1.25, 1);
    }
    50% {
        transform: scale3d(1.15, 0.85, 1);
    }
    65% {
        transform: scale3d(0.95, 1.05, 1);
    }
    75% {
        transform: scale3d(1.05, 0.95, 1);
    }
    to {
        transform: scale3d(1, 1, 1);
    }
}

@keyframes shake {
    from, to {
        transform: translate3d(0, 0, 0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translate3d(-5px, 0, 0);
    }
    20%, 40%, 60%, 80% {
        transform: translate3d(5px, 0, 0);
    }
}

@keyframes swing {
    20% {
        transform: rotate3d(0, 0, 1, 15deg);
    }
    40% {
        transform: rotate3d(0, 0, 1, -10deg);
    }
    60% {
        transform: rotate3d(0, 0, 1, 5deg);
    }
    80% {
        transform: rotate3d(0, 0, 1, -5deg);
    }
    to {
        transform: rotate3d(0, 0, 1, 0deg);
    }
}

@keyframes tada {
    from {
        transform: scale3d(1, 1, 1);
    }
    10%, 20% {
        transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
    }
    30%, 50%, 70%, 90% {
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    }
    40%, 60%, 80% {
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    }
    to {
        transform: scale3d(1, 1, 1);
    }
}

@keyframes wobble {
    from {
        transform: translate3d(0, 0, 0);
    }
    15% {
        transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
    }
    30% {
        transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
    }
    45% {
        transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
    }
    60% {
        transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
    }
    75% {
        transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes jello {
    from, 11.1%, to {
        transform: translate3d(0, 0, 0);
    }
    22.2% {
        transform: skewX(-12.5deg) skewY(-12.5deg);
    }
    33.3% {
        transform: skewX(6.25deg) skewY(6.25deg);
    }
    44.4% {
        transform: skewX(-3.125deg) skewY(-3.125deg);
    }
    55.5% {
        transform: skewX(1.5625deg) skewY(1.5625deg);
    }
    66.6% {
        transform: skewX(-0.78125deg) skewY(-0.78125deg);
    }
    77.7% {
        transform: skewX(0.390625deg) skewY(0.390625deg);
    }
    88.8% {
        transform: skewX(-0.1953125deg) skewY(-0.1953125deg);
    }
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    14% {
        transform: scale(1.1);
    }
    28% {
        transform: scale(1);
    }
    42% {
        transform: scale(1.1);
    }
    70% {
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px var(--color-blue), 0 0 10px var(--color-blue), 0 0 15px var(--color-blue);
    }
    50% {
        box-shadow: 0 0 20px var(--color-blue), 0 0 30px var(--color-blue), 0 0 40px var(--color-blue);
    }
}

@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(0, 73, 255, 0.5);
    }
    50% {
        text-shadow: 0 0 20px rgba(0, 73, 255, 0.8), 0 0 30px rgba(0, 73, 255, 0.6);
    }
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--color-blue); }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes morph {
    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
}

/* Animation Classes */
.animate-fadeInUp { animation: fadeInUp 0.8s ease-out forwards; }
.animate-fadeInDown { animation: fadeInDown 0.8s ease-out forwards; }
.animate-fadeInLeft { animation: fadeInLeft 0.8s ease-out forwards; }
.animate-fadeInRight { animation: fadeInRight 0.8s ease-out forwards; }
.animate-bounceIn { animation: bounceIn 0.8s ease-out forwards; }
.animate-flipInX { animation: flipInX 0.8s ease-out forwards; }
.animate-rotateIn { animation: rotateIn 0.8s ease-out forwards; }
.animate-zoomIn { animation: zoomIn 0.6s ease-out forwards; }
.animate-slideInUp { animation: slideInUp 0.8s ease-out forwards; }
.animate-pulse { animation: pulse 2s infinite; }
.animate-rubberBand { animation: rubberBand 1s ease-out forwards; }
.animate-shake { animation: shake 0.8s ease-out forwards; }
.animate-swing { animation: swing 1s ease-out forwards; }
.animate-tada { animation: tada 1s ease-out forwards; }
.animate-wobble { animation: wobble 1s ease-out forwards; }
.animate-jello { animation: jello 1s ease-out forwards; }
.animate-heartbeat { animation: heartbeat 1.5s ease-in-out infinite; }
.animate-float { animation: float 3s ease-in-out infinite; }
.animate-glow { animation: glow 2s ease-in-out infinite; }
.animate-textGlow { animation: textGlow 2s ease-in-out infinite; }
.animate-rotate { animation: rotate 20s linear infinite; }
.animate-morph { animation: morph 8s ease-in-out infinite; }

/* Delay Classes */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-700 { animation-delay: 0.7s; }
.delay-800 { animation-delay: 0.8s; }
.delay-1000 { animation-delay: 1s; }

/* ========================================
   TYPOGRAPHY
   ======================================== */

.section-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-blue);
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.section-tag.orange {
    color: var(--color-primary);
}

.section-title {
    font-size: 3rem;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.section-title.light {
    color: var(--color-light);
}

.section-title .highlight {
    color: var(--color-blue);
    position: relative;
    display: inline-block;
}

.section-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(120deg, var(--color-blue), var(--color-blue-light));
    opacity: 0.3;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    animation: expandWidth 1s ease-out 0.8s forwards;
}

@keyframes expandWidth {
    to { transform: scaleX(1); }
}

.section-title .highlight-orange {
    color: var(--color-primary);
}

.text-white {
    color: var(--color-light);
}

.text-blue {
    color: var(--color-blue);
}

.text-orange {
    color: var(--color-primary);
}

.text-highlight {
    font-weight: 700;
    color: var(--color-blue);
}

/* Animated Text */
.animated-text {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid var(--color-blue);
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

/* Glitch Text Effect */
.glitch {
    position: relative;
    color: var(--color-light);
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -1px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -1px 0 #00fff9;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(30px, 9999px, 15px, 0); }
    20% { clip: rect(85px, 9999px, 95px, 0); }
    40% { clip: rect(10px, 9999px, 65px, 0); }
    60% { clip: rect(75px, 9999px, 25px, 0); }
    80% { clip: rect(50px, 9999px, 85px, 0); }
    100% { clip: rect(20px, 9999px, 45px, 0); }
}

@keyframes glitch-anim2 {
    0% { clip: rect(65px, 9999px, 95px, 0); }
    20% { clip: rect(25px, 9999px, 55px, 0); }
    40% { clip: rect(90px, 9999px, 15px, 0); }
    60% { clip: rect(35px, 9999px, 75px, 0); }
    80% { clip: rect(70px, 9999px, 35px, 0); }
    100% { clip: rect(45px, 9999px, 65px, 0); }
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.btn:active {
    transform: translateY(-2px) scale(0.98);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-blue-light) 100%);
    color: var(--color-light);
    box-shadow: 0 10px 30px rgba(0, 73, 255, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 15px 40px rgba(0, 73, 255, 0.6);
    animation: pulse 1s infinite;
}

.btn-orange {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: var(--color-light);
    box-shadow: 0 10px 30px rgba(255, 109, 0, 0.4);
}

.btn-orange:hover {
    box-shadow: 0 15px 40px rgba(255, 109, 0, 0.6);
    animation: pulse 1s infinite;
}

.btn-outline {
    background: transparent;
    color: var(--color-light);
    border: 2px solid var(--color-light);
}

.btn-outline:hover {
    background: var(--color-light);
    color: var(--color-blue);
}

/* ========================================
   HEADER
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 73, 255, 0.15);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: rotate(360deg);
}

.logo-text {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-blue);
    letter-spacing: 0.1em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-secondary);
    position: relative;
    padding: 8px 0;
    opacity: 0;
    animation: fadeInDown 0.6s ease-out forwards;
}

.nav-link:nth-child(1) { animation-delay: 0.1s; }
.nav-link:nth-child(2) { animation-delay: 0.2s; }
.nav-link:nth-child(3) { animation-delay: 0.3s; }
.nav-link:nth-child(4) { animation-delay: 0.4s; }
.nav-link:nth-child(5) { animation-delay: 0.5s; }

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-blue), var(--color-blue-light));
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-blue);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--color-blue);
    transition: var(--transition);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -10%;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    background: url('assets/logo.png') center/contain no-repeat;
    opacity: 0.05;
    pointer-events: none;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: url('assets/bg-pattern.png');
    background-size: 400px auto;
    background-position: center;
    opacity: 0.05;
    animation: float 20s ease-in-out infinite;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 73, 255, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 109, 0, 0.2) 0%, transparent 50%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 4rem 0;
}

.hero-title {
    font-size: 4rem;
    color: var(--color-light);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

.hero-title .highlight {
    color: var(--color-blue-light);
    display: inline-block;
    animation: textGlow 2s ease-in-out infinite;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 3rem;
    line-height: 1.4;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--color-light);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1s forwards;
    z-index: 2;
}

.scroll-indicator {
    width: 26px;
    height: 42px;
    border: 2px solid var(--color-light);
    border-radius: 13px;
    position: relative;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--color-blue-light);
    border-radius: 50%;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(10px); opacity: 0.3; }
}

/* ========================================
   PAGE HEADER
   ======================================== */

.page-header {
    position: relative;
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 73, 255, 0.5) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 109, 0, 0.2) 0%, transparent 50%);
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: 4rem;
    color: var(--color-light);
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards, textGlow 3s ease-in-out infinite;
}

.page-subtitle {
    font-size: 1.35rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

/* ========================================
   SECTIONS
   ======================================== */

.about {
    padding: 6rem 0;
    background: var(--color-light);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.quote-card {
    background: linear-gradient(135deg, var(--color-light) 0%, var(--color-blue-pale) 100%);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-blue);
    position: relative;
    border: 1px solid rgba(0, 73, 255, 0.1);
    opacity: 0;
    animation: fadeInLeft 1s ease-out 0.3s forwards;
}

.quote-icon {
    font-size: 5rem;
    color: var(--color-blue);
    opacity: 0.2;
    line-height: 1;
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-family: Georgia, serif;
    animation: float 3s ease-in-out infinite;
}

.quote-card blockquote {
    font-size: 1.125rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--color-secondary);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.quote-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-blue);
    transition: all 0.3s ease;
}

.quote-author:hover .author-avatar {
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 10px 30px rgba(0, 73, 255, 0.4);
}

.author-info strong {
    display: block;
    color: var(--color-secondary);
    font-size: 1rem;
}

.author-info span {
    color: var(--color-gray-dark);
    font-size: 0.875rem;
}

.about-text {
    padding-top: 1rem;
    opacity: 0;
    animation: fadeInRight 1s ease-out 0.5s forwards;
}

.about-text .lead {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--color-gray-dark);
}

.stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 73, 255, 0.1);
}

.stat-item {
    text-align: center;
    opacity: 0;
    animation: zoomIn 0.6s ease-out forwards;
}

.stat-item:nth-child(1) { animation-delay: 0.6s; }
.stat-item:nth-child(2) { animation-delay: 0.7s; }
.stat-item:nth-child(3) { animation-delay: 0.8s; }

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-blue);
    animation: textGlow 2s ease-in-out infinite;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-gray-dark);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ========================================
   VORSTAND CARDS
   ======================================== */

.vorstand-card {
    background: var(--color-light);
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 73, 255, 0.05);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    position: relative;
    /* WICHTIG: overflow visible damit das Bild überragt */
    overflow: visible;
}

.vorstand-card:nth-child(1) { animation-delay: 0.2s; }
.vorstand-card:nth-child(2) { animation-delay: 0.3s; }
.vorstand-card:nth-child(3) { animation-delay: 0.4s; }
.vorstand-card:nth-child(4) { animation-delay: 0.5s; }

.vorstand-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 50px 100px rgba(0, 73, 255, 0.3);
    z-index: 10;
}

.vorstand-card .vorstand-bild {
    width: 100%;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
}

.vorstand-card .vorstand-bild img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1) brightness(0.9);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1);
    display: block;
}

/* Das Bild wächst über die Karte hinaus */
.vorstand-card:hover .vorstand-bild {
    transform: scale(1.15);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    z-index: 20;
}

.vorstand-card:hover .vorstand-bild img {
    filter: grayscale(0%) contrast(1.05) brightness(1);
}

.vorstand-card .vorstand-info {
    padding: 2rem;
    text-align: center;
}

.vorstand-card .vorstand-info h3 {
    color: var(--color-blue);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.vorstand-card .vorstand-info p {
    color: var(--color-gray-dark);
}

/* ========================================
   MEMBER CARDS & LOGOS
   ======================================== */

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.member-card {
    background: var(--color-light);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 73, 255, 0.05);
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.member-card:nth-child(1) { animation-delay: 0.1s; }
.member-card:nth-child(2) { animation-delay: 0.15s; }
.member-card:nth-child(3) { animation-delay: 0.2s; }
.member-card:nth-child(4) { animation-delay: 0.25s; }
.member-card:nth-child(5) { animation-delay: 0.3s; }
.member-card:nth-child(6) { animation-delay: 0.35s; }
.member-card:nth-child(7) { animation-delay: 0.4s; }
.member-card:nth-child(8) { animation-delay: 0.45s; }
.member-card:nth-child(9) { animation-delay: 0.5s; }
.member-card:nth-child(10) { animation-delay: 0.55s; }
.member-card:nth-child(11) { animation-delay: 0.6s; }
.member-card:nth-child(12) { animation-delay: 0.65s; }

.member-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 73, 255, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.member-card:hover {
    transform: translateY(-15px) scale(1.08);
    box-shadow: 0 30px 60px rgba(0, 73, 255, 0.25);
    border-color: rgba(0, 73, 255, 0.2);
}

.member-card:hover::before {
    opacity: 1;
}

/* Mitglied Logo - Grayscale zu Color Effekt */
.member-card img {
    filter: grayscale(100%) brightness(0.85) contrast(1.1);
    opacity: 0.7;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 120px;
    width: auto;
    object-fit: contain;
}

.member-card:hover img {
    filter: grayscale(0%) brightness(1) contrast(1);
    opacity: 1;
    transform: scale(1.15);
    animation: pulse 1s ease-in-out;
}

/* Mitglied Avatar mit Initialen */
.member-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #6b7280 0%, #374151 100%);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--color-light);
    filter: grayscale(100%);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.member-card:hover .member-avatar {
    background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-blue-light) 100%);
    filter: grayscale(0%);
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 15px 40px rgba(0, 73, 255, 0.4);
}

.member-card h3 {
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.member-card:hover h3 {
    color: var(--color-blue);
    animation: rubberBand 0.8s ease;
}

.member-card p {
    color: var(--color-gray-dark);
    font-size: 0.875rem;
}

/* ========================================
   EVENTS
   ======================================== */

.events {
    padding: 6rem 0;
    background: var(--color-gray);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.event-card {
    background: var(--color-light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 73, 255, 0.05);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.event-card:nth-child(1) { animation-delay: 0.2s; }
.event-card:nth-child(2) { animation-delay: 0.3s; }
.event-card:nth-child(3) { animation-delay: 0.4s; }

.event-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: var(--shadow-blue);
    border-color: rgba(0, 73, 255, 0.2);
}

.event-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.event-image {
    position: relative;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.event-card:hover .event-image img {
    transform: scale(1.1);
}

.event-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-blue-light) 100%);
    color: var(--color-light);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: pulse 2s infinite;
}

.event-content {
    padding: 2rem;
}

.event-card.featured .event-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-content h3 {
    font-size: 1.375rem;
    margin-bottom: 1rem;
    color: var(--color-secondary);
    transition: color 0.3s ease;
}

.event-card:hover .event-content h3 {
    color: var(--color-blue);
}

.event-content p {
    color: var(--color-gray-dark);
    margin-bottom: 1.5rem;
}

.event-date {
    background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-blue-dark) 100%);
    color: var(--color-light);
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.event-date.orange {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

.event-date .day {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    animation: textGlow 2s ease-in-out infinite;
}

.event-date .month {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-top: 0.5rem;
}

/* ========================================
   MEMBERSHIP
   ======================================== */

.membership {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

.membership::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('assets/bg-pattern.png');
    background-size: 300px auto;
    opacity: 0.03;
    animation: float 20s ease-in-out infinite;
}

.membership-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.membership-content {
    color: var(--color-light);
    opacity: 0;
    animation: fadeInLeft 1s ease-out forwards;
}

.section-description {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
}

.benefits-list {
    margin: 2rem 0 3rem;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.0625rem;
    opacity: 0;
    animation: fadeInLeft 0.6s ease-out forwards;
}

.benefits-list li:nth-child(1) { animation-delay: 0.4s; }
.benefits-list li:nth-child(2) { animation-delay: 0.5s; }
.benefits-list li:nth-child(3) { animation-delay: 0.6s; }
.benefits-list li:nth-child(4) { animation-delay: 0.7s; }

.benefit-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-blue-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    color: var(--color-light);
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 73, 255, 0.4);
}

.membership-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeInRight 1s ease-out 0.3s forwards;
}

.membership-card {
    background: linear-gradient(135deg, rgba(0, 73, 255, 0.2) 0%, rgba(0, 73, 255, 0.05) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 73, 255, 0.3);
    border-radius: 30px;
    padding: 3rem;
    text-align: center;
    max-width: 320px;
    transform: rotate(3deg);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-blue);
    animation: float 6s ease-in-out infinite;
}

.membership-card:hover {
    transform: rotate(0deg) scale(1.1);
    box-shadow: 0 30px 60px rgba(0, 73, 255, 0.5);
}

.card-logo img {
    height: 100px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.membership-card:hover .card-logo img {
    transform: rotate(360deg);
}

.card-text h3 {
    font-size: 1.75rem;
    color: var(--color-light);
    margin-bottom: 0.5rem;
}

.card-text p {
    color: rgba(255,255,255,0.7);
}

/* ========================================
   VALUES
   ======================================== */

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem 0;
}

.value-card {
    background: var(--color-light);
    padding: 2.5rem;
    border-radius: 25px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 73, 255, 0.05);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.value-card:nth-child(1) { animation-delay: 0.1s; }
.value-card:nth-child(2) { animation-delay: 0.2s; }
.value-card:nth-child(3) { animation-delay: 0.3s; }
.value-card:nth-child(4) { animation-delay: 0.4s; }
.value-card:nth-child(5) { animation-delay: 0.5s; }
.value-card:nth-child(6) { animation-delay: 0.6s; }

.value-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: var(--shadow-blue);
    border-color: rgba(0, 73, 255, 0.2);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-blue-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: var(--color-light);
    transition: all 0.5s ease;
    box-shadow: 0 10px 30px rgba(0, 73, 255, 0.3);
}

.value-card:hover .value-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 73, 255, 0.5);
}

.value-card h3 {
    color: var(--color-secondary);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

.value-card:hover h3 {
    color: var(--color-blue);
}

.value-card p {
    color: var(--color-gray-dark);
    font-size: 0.9375rem;
}

/* ========================================
   CONTENT SECTIONS
   ======================================== */

.content-section {
    padding: 6rem 0;
    background: var(--color-light);
}

.content-section.gray {
    background: var(--color-gray);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.content-text h2 {
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.content-text p {
    color: var(--color-gray-dark);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-image {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: all 0.5s ease;
}

.content-image:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: 0 40px 80px rgba(0, 73, 255, 0.2);
}

.content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.content-image:hover img {
    transform: scale(1.1);
}

/* ========================================
   CONTACT
   ======================================== */

.contact {
    padding: 6rem 0;
    background: var(--color-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    opacity: 0;
    animation: fadeInLeft 0.6s ease-out forwards;
}

.contact-item:nth-child(1) { animation-delay: 0.2s; }
.contact-item:nth-child(2) { animation-delay: 0.3s; }
.contact-item:nth-child(3) { animation-delay: 0.4s; }
.contact-item:nth-child(4) { animation-delay: 0.5s; }

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-blue-light) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
    color: var(--color-light);
    box-shadow: 0 10px 30px rgba(0, 73, 255, 0.3);
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: rotate(360deg) scale(1.1);
}

.contact-details h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-secondary);
}

.contact-details p {
    color: var(--color-gray-dark);
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    padding: 0.75rem 1.25rem;
    background: var(--color-blue-pale);
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    color: var(--color-blue);
}

.social-link:hover {
    background: var(--color-blue);
    color: var(--color-light);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 73, 255, 0.3);
}

/* Contact Form */
.contact-form {
    background: linear-gradient(135deg, var(--color-gray) 0%, #fff 100%);
    padding: 3rem;
    border-radius: 30px;
    border: 1px solid rgba(0, 73, 255, 0.1);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid transparent;
    border-radius: 15px;
    font-family: var(--font-primary);
    font-size: 1rem;
    background: var(--color-light);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-blue);
    box-shadow: 0 0 0 4px rgba(0, 73, 255, 0.1), 0 10px 30px rgba(0, 73, 255, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    color: var(--color-light);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(0, 73, 255, 0.1) 0%, transparent 50%);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-logo img {
    height: 50px;
}

.footer-logo span {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-blue-light);
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
    max-width: 300px;
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--color-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    display: inline-block;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--color-blue);
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: rgba(255,255,255,0.6);
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-column ul li a:hover {
    color: var(--color-blue-light);
    transform: translateX(10px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 73, 255, 0.2);
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    color: rgba(255,255,255,0.4);
    font-size: 0.875rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .about-grid,
    .content-grid,
    .membership-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .event-card.featured {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content,
    .values-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--color-light);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-content,
    .values-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand p {
        max-width: none;
    }
    
    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
}
