/* ============================================================
   MUN.Plattform - Frisches, modernes Design
   ============================================================ */

:root {
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --accent: #f472b6;
    --accent-light: #f9a8d4;
    --teal: #2dd4bf;
    --orange: #fb923c;
    --text: #1f2937;
    --text-light: #6b7280;
    --bg: #ffffff;
    --bg-soft: #f9fafb;
    --bg-cream: #fefce8;
    --border: #e5e7eb;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(99,102,241,0.15);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.logo span { color: var(--primary); }

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--text);
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.nav-cta {
    background: var(--primary);
    color: white !important;
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99,102,241,0.3);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(99,102,241,0.85) 0%,
        rgba(244,114,182,0.7) 50%,
        rgba(251,146,60,0.6) 100%
    );
}

.hero-content {
    position: relative;
    color: white;
    max-width: 700px;
    padding: 80px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.3);
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero h1 .highlight {
    background: linear-gradient(90deg, #fef08a, #fde047);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.25s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: white;
    color: var(--primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: white;
}

/* Floating shapes */
.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: white;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--teal);
    bottom: 20%;
    right: 25%;
    animation-delay: 2s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--orange);
    top: 60%;
    right: 5%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* ============================================================
   SECTION BASICS
   ============================================================ */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-label {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    color: white;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-desc {
    font-size: 1.15rem;
    color: var(--text-light);
}

/* ============================================================
   INTRO / WHAT IS MUN
   ============================================================ */
.intro-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.intro-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.intro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s;
}

.intro-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.intro-card:hover::before {
    opacity: 1;
}

.intro-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.intro-card:nth-child(1) .intro-card-icon { background: #ede9fe; color: #7c3aed; }
.intro-card:nth-child(2) .intro-card-icon { background: #fce7f3; color: #db2777; }
.intro-card:nth-child(3) .intro-card-icon { background: #ccfbf1; color: #0d9488; }
.intro-card:nth-child(4) .intro-card-icon { background: #ffedd5; color: #ea580c; }

.intro-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.intro-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================================
   PHOTO SECTION
   ============================================================ */
.photo-section {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.photo-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.photo-item:hover img {
    transform: scale(1.05);
}

.photo-item.large {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}

/* ============================================================
   PROCESS / ABLAUF
   ============================================================ */
.process-section {
    background: var(--bg-soft);
}

.process-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.process-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.process-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.process-step {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: white;
    border-radius: var(--radius);
    transition: all 0.3s;
}

.process-step:hover {
    box-shadow: var(--shadow);
    transform: translateX(8px);
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.step-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ============================================================
   AUDIENCE / ZIELGRUPPE
   ============================================================ */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.audience-card {
    text-align: center;
    padding: 40px 24px;
    background: white;
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    transition: all 0.3s;
}

.audience-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.audience-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: linear-gradient(135deg, var(--bg-soft), var(--bg));
}

.audience-card:nth-child(1) .audience-card-icon { color: var(--primary); }
.audience-card:nth-child(2) .audience-card-icon { color: var(--accent); }
.audience-card:nth-child(3) .audience-card-icon { color: var(--teal); }
.audience-card:nth-child(4) .audience-card-icon { color: var(--orange); }

.audience-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.audience-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ============================================================
   CTA
   ============================================================ */
.cta-section {
    padding: 100px 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: var(--radius-lg);
    padding: 80px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.cta-box::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}

.cta-box > * {
    position: relative;
    z-index: 1;
}

.cta-box h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
}

.cta-box p {
    color: rgba(255,255,255,0.9);
    font-size: 1.15rem;
    margin-bottom: 32px;
}

.cta-box .btn-primary {
    background: white;
    color: var(--primary);
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--text);
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}

.footer h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer a {
    color: rgba(255,255,255,0.7);
    transition: color 0.2s;
}

.footer a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .intro-grid { grid-template-columns: repeat(2, 1fr); }
    .audience-grid { grid-template-columns: repeat(2, 1fr); }
    .process-wrapper { grid-template-columns: 1fr; }
    .photo-grid { grid-template-columns: repeat(2, 1fr); }
    .photo-item.large { grid-column: span 2; grid-row: span 1; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .nav-links { display: none; }
    .intro-grid { grid-template-columns: 1fr; }
    .audience-grid { grid-template-columns: 1fr; }
    .photo-grid { grid-template-columns: 1fr; }
    .photo-item.large { grid-column: span 1; }
    .hero { min-height: 80vh; }
    .hero-content { padding: 40px 0; }
    .cta-box { padding: 40px 24px; }
    .footer-grid { grid-template-columns: 1fr; }
}
