/* ==========================================================================
   4000 TONNEN - Kartoffeln für Berlin
   CSS Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Variables
   -------------------------------------------------------------------------- */
:root {
    /* Colors - Earthy, warm palette */
    --color-earth-dark: #2C1810;
    --color-earth: #4A3228;
    --color-earth-light: #6B4D3E;
    --color-potato: #C4A35A;
    --color-potato-light: #E8D5A3;
    --color-cream: #FDF8F0;
    --color-cream-dark: #F5EDE0;
    --color-green: #4A7C59;
    --color-green-dark: #2D5A3D;
    --color-accent: #D4763A;
    --color-accent-dark: #B85D2A;
    --color-white: #FFFFFF;
    --color-black: #1A1A1A;
    
    /* Typography */
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.8s ease;
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-earth-dark);
    background: var(--color-cream);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-accent-dark);
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 8vw, 5rem); }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

/* --------------------------------------------------------------------------
   Logo SVG Styles
   -------------------------------------------------------------------------- */
.logo-svg {
    width: 120px;
    height: 120px;
    color: currentColor;
}

.logo-svg .logo-number {
    font-family: var(--font-display);
    font-size: 28px;
    fill: currentColor;
}

.logo-svg .logo-text {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    fill: currentColor;
}

.logo-svg .logo-subtext {
    font-family: var(--font-body);
    font-size: 10px;
    letter-spacing: 1px;
    fill: currentColor;
    opacity: 0.7;
}

.logo-svg.small {
    width: 80px;
    height: 80px;
}

.logo-svg.small .logo-number { font-size: 20px; }
.logo-svg.small .logo-text { font-size: 10px; }
.logo-svg.small .logo-subtext { font-size: 8px; }

.logo-svg.tiny {
    width: 50px;
    height: 50px;
}

.logo-svg.tiny .logo-number { font-size: 14px; }
.logo-svg.tiny .logo-text { font-size: 7px; letter-spacing: 1px; }

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, var(--color-earth) 0%, var(--color-earth-dark) 100%);
    z-index: 1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(196, 163, 90, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(74, 124, 89, 0.1) 0%, transparent 50%);
}

/* Potato texture pattern */
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5c8 0 15 5 18 12s1 15-5 20-15 6-22 2-12-12-10-20 10-14 19-14z' fill='%23C4A35A' fill-opacity='0.03'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        rgba(44, 24, 16, 0.3) 0%, 
        rgba(44, 24, 16, 0.5) 50%,
        rgba(44, 24, 16, 0.7) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: var(--space-md);
    padding-bottom: var(--space-xl);
    max-width: 900px;
    color: var(--color-cream);
}

.logo-badge {
    margin-bottom: var(--space-md);
    animation: fadeInDown 1s ease;
}

.logo-badge .logo-svg {
    width: 140px;
    height: 140px;
}

.hero-title {
    margin-bottom: var(--space-md);
    animation: fadeInUp 1s ease 0.2s both;
}

.title-small {
    display: block;
    font-family: var(--font-body);
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: var(--space-xs);
}

.title-big {
    display: block;
    font-size: clamp(4rem, 15vw, 10rem);
    line-height: 0.9;
    color: var(--color-potato-light);
    text-shadow: 0 4px 30px rgba(196, 163, 90, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    margin-bottom: var(--space-lg);
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.4s both;
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 1.25rem 2.5rem;
    background: var(--color-accent);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 500;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all var(--transition-medium);
    animation: fadeInUp 1s ease 0.6s both;
}

.cta-button:hover {
    background: var(--color-accent-dark);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(212, 118, 58, 0.4);
}

.cta-button svg {
    width: 24px;
    height: 24px;
    transition: transform var(--transition-fast);
}

.cta-button:hover svg {
    transform: translateX(5px);
}

.cta-button.large {
    padding: 1.5rem 3rem;
    font-size: 1.25rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-cream);
    opacity: 0.5;
    animation: fadeIn 1s ease 1s both;
    z-index: 5;
}

.scroll-indicator span {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.scroll-arrow {
    width: 20px;
    height: 32px;
    border: 2px solid currentColor;
    border-radius: 10px;
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    width: 3px;
    height: 6px;
    background: currentColor;
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scrollBounce 2s ease infinite;
}

/* --------------------------------------------------------------------------
   Story Section
   -------------------------------------------------------------------------- */
.story {
    position: relative;
    padding: var(--space-xl) var(--space-md);
    background: var(--color-cream);
    overflow: hidden;
}

.story-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.story-number {
    position: absolute;
    top: -100px;
    right: -50px;
    font-family: var(--font-display);
    font-size: clamp(10rem, 30vw, 25rem);
    color: var(--color-potato);
    opacity: 0.08;
    line-height: 1;
    pointer-events: none;
    z-index: 0;
}

.story-content {
    position: relative;
    z-index: 1;
}

.story-content h2 {
    margin-bottom: var(--space-md);
    color: var(--color-earth-dark);
}

.story-lead {
    font-size: 1.375rem;
    margin-bottom: var(--space-md);
}

.story-content p {
    margin-bottom: var(--space-sm);
}

.story-content em {
    font-style: normal;
    color: var(--color-accent);
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   Impact Section
   -------------------------------------------------------------------------- */
.impact-section {
    padding: var(--space-xl) var(--space-md);
    background: linear-gradient(135deg, #1a472a 0%, #2d5a3d 100%);
    color: var(--color-cream);
    position: relative;
    overflow: hidden;
}

.impact-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 10 L35 25 L30 22 L25 25 Z' fill='%23ffffff' fill-opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
}

.impact-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-lg);
    position: relative;
}

.impact-header h2 {
    color: var(--color-cream);
    margin-bottom: var(--space-sm);
}

.impact-intro {
    font-size: 1.125rem;
    opacity: 0.9;
    line-height: 1.7;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
    max-width: 1100px;
    margin: 0 auto var(--space-lg);
    position: relative;
}

.impact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--space-md);
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-medium);
}

.impact-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.impact-icon {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
}

.impact-number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    color: var(--color-potato-light);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.impact-label {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--color-cream);
}

.impact-card p {
    font-size: 0.9375rem;
    opacity: 0.85;
    line-height: 1.6;
}

.impact-yearly {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.impact-yearly-content {
    background: rgba(196, 163, 90, 0.15);
    border: 2px solid rgba(196, 163, 90, 0.3);
    border-radius: 24px;
    padding: var(--space-md) var(--space-lg);
    text-align: center;
}

.impact-yearly h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    color: var(--color-potato-light);
}

.impact-yearly-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
    margin-bottom: var(--space-md);
}

.yearly-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.yearly-number {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--color-cream);
    line-height: 1.1;
}

.yearly-label {
    font-size: 1rem;
    opacity: 0.8;
    margin-top: 0.25rem;
}

.impact-yearly-note {
    font-size: 1.125rem;
    font-style: italic;
    opacity: 0.9;
    color: var(--color-potato-light);
}

/* --------------------------------------------------------------------------
   How It Works Section
   -------------------------------------------------------------------------- */
.how-it-works {
    padding: var(--space-xl) var(--space-md);
    background: var(--color-cream-dark);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-lg);
}

.section-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-green);
    margin-bottom: var(--space-sm);
    padding: var(--space-xs) var(--space-sm);
    background: rgba(74, 124, 89, 0.1);
    border-radius: 100px;
}

.section-tag.light {
    color: var(--color-cream);
    background: rgba(255, 255, 255, 0.15);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
    max-width: 1200px;
    margin: 0 auto var(--space-lg);
}

.process-card {
    background: var(--color-white);
    padding: var(--space-md);
    border-radius: 20px;
    text-align: center;
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(44, 24, 16, 0.1);
}

.process-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--space-sm);
    color: var(--color-green);
}

.process-icon svg {
    width: 100%;
    height: 100%;
}

.process-card h3 {
    margin-bottom: var(--space-xs);
    color: var(--color-earth-dark);
}

.process-card p {
    color: var(--color-earth-light);
    font-size: 1rem;
}

/* Partners Bar */
.partners-bar {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(44, 24, 16, 0.1);
}

.partners-bar > span {
    display: block;
    font-size: 0.875rem;
    color: var(--color-earth-light);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.partner-logo {
    padding: var(--space-sm) var(--space-md);
    transition: opacity var(--transition-fast);
}

.partner-logo img {
    max-height: 150px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all var(--transition-fast);
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.partner-logo.placeholder {
    background: var(--color-cream);
    border: 2px dashed var(--color-earth-light);
    border-radius: 10px;
    color: var(--color-earth-light);
    font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   Who Can Apply Section
   -------------------------------------------------------------------------- */
.who-section {
    position: relative;
    padding: var(--space-xl) var(--space-md);
    overflow: hidden;
}

.who-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-green-dark) 0%, var(--color-green) 100%);
    z-index: 1;
}

.who-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 10c15 0 28 8 35 20s7 28 0 40-20 20-35 20-28-8-35-20-7-28 0-40 20-20 35-20z' fill='%23FFFFFF' fill-opacity='0.03'/%3E%3C/svg%3E");
}

.who-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        rgba(45, 90, 61, 0.9) 0%, 
        rgba(45, 90, 61, 0.95) 100%);
    z-index: 2;
}

.who-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    color: var(--color-cream);
}

.who-content h2 {
    margin-bottom: var(--space-lg);
}

.who-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
}

.who-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--space-md);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-medium);
}

.who-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.who-icon {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
}

.who-card h3 {
    margin-bottom: var(--space-xs);
    color: var(--color-potato-light);
}

.who-card p {
    font-size: 1rem;
    opacity: 0.9;
}

/* --------------------------------------------------------------------------
   Info Section
   -------------------------------------------------------------------------- */
.info-section {
    padding: var(--space-xl) var(--space-md);
    background: var(--color-cream);
}

.info-container {
    max-width: 1200px;
    margin: 0 auto;
}

.info-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
}

.info-card {
    background: var(--color-white);
    padding: var(--space-md);
    border-radius: 20px;
    border: 1px solid rgba(44, 24, 16, 0.05);
}

.info-card.highlight {
    background: linear-gradient(135deg, var(--color-earth) 0%, var(--color-earth-dark) 100%);
    color: var(--color-cream);
}

.info-card-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
}

.info-card h3 {
    margin-bottom: var(--space-xs);
}

.info-date {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--color-potato-light);
    margin-bottom: var(--space-xs);
}

.info-card p {
    font-size: 1rem;
    opacity: 0.9;
}

/* --------------------------------------------------------------------------
   CTA Section
   -------------------------------------------------------------------------- */
.cta-section {
    position: relative;
    padding: var(--space-xl) var(--space-md);
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-earth-dark) 0%, var(--color-earth) 100%);
    z-index: 1;
}

.cta-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(ellipse 100% 100% at 50% 100%, rgba(196, 163, 90, 0.2) 0%, transparent 60%);
}

.cta-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.cta-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--color-cream);
}

.cta-content h2 {
    margin-bottom: var(--space-md);
}

.cta-content > p {
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
    opacity: 0.9;
}

.cta-deadline {
    margin-top: var(--space-md);
    font-size: 1rem;
    opacity: 0.7;
}

/* --------------------------------------------------------------------------
   Map Section
   -------------------------------------------------------------------------- */
.map-section {
    padding: var(--space-xl) var(--space-md);
    background: var(--color-cream-dark);
}

.map-section .section-header {
    margin-bottom: var(--space-md);
}

.map-subtitle {
    font-size: 1.125rem;
    color: var(--color-earth-light);
    margin-top: var(--space-xs);
}

.map-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 80px rgba(44, 24, 16, 0.15);
}

.map {
    width: 100%;
    height: 500px;
    background: var(--color-cream);
}

@media (max-width: 768px) {
    .map {
        height: 400px;
    }
}

.map-loading,
.map-empty {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--color-cream);
    z-index: 1000;
}

.map-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--color-cream-dark);
    border-top-color: var(--color-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: var(--space-sm);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.map-loading p,
.map-empty p {
    color: var(--color-earth-light);
    font-size: 1rem;
}

.map-empty-icon {
    font-size: 4rem;
    margin-bottom: var(--space-sm);
    opacity: 0.5;
}

.map-empty h3 {
    color: var(--color-earth);
    margin-bottom: var(--space-xs);
}

.map-legend {
    max-width: 1200px;
    margin: var(--space-md) auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.legend-marker {
    width: 20px;
    height: 20px;
    background: var(--color-green);
    border-radius: 50%;
    border: 3px solid var(--color-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.legend-note {
    font-size: 0.875rem;
    color: var(--color-earth-light);
}

/* Leaflet Custom Styles */
.leaflet-popup-content-wrapper {
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(44, 24, 16, 0.2);
}

.leaflet-popup-content {
    margin: 16px 20px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.leaflet-popup-content h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    color: var(--color-earth-dark);
    margin-bottom: 8px;
}

.leaflet-popup-content p {
    color: var(--color-earth-light);
    margin: 4px 0;
}

.leaflet-popup-content .popup-address {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(44, 24, 16, 0.1);
}

.leaflet-popup-content .popup-dates {
    display: inline-block;
    background: var(--color-green);
    color: var(--color-white);
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    margin-top: 10px;
}

.custom-marker {
    background: var(--color-green);
    border: 3px solid var(--color-white);
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    width: 24px;
    height: 24px;
}

.custom-marker-wrapper {
    background: transparent !important;
    border: none !important;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
    background: var(--color-earth-dark);
    color: var(--color-cream);
    padding: var(--space-lg) var(--space-md);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    margin-bottom: var(--space-md);
}

.footer-partners {
    margin-bottom: var(--space-md);
}

.footer-partners p {
    font-size: 0.875rem;
    opacity: 0.6;
    margin-bottom: var(--space-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-partner-list {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.footer-partner-list span {
    opacity: 0.8;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.footer-links a {
    color: var(--color-cream);
    opacity: 0.6;
    font-size: 0.875rem;
    transition: opacity var(--transition-fast);
}

.footer-links a:hover {
    opacity: 1;
}

.footer-copy {
    font-size: 0.875rem;
    opacity: 0.4;
}

.footer.compact {
    padding: var(--space-md);
}

.footer.compact .footer-logo {
    display: none;
}

/* --------------------------------------------------------------------------
   Form Page Styles
   -------------------------------------------------------------------------- */
.form-page {
    background: var(--color-cream-dark);
}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) var(--space-md);
    background: var(--color-white);
    border-bottom: 1px solid rgba(44, 24, 16, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.back-link {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-earth);
    font-size: 0.875rem;
    font-weight: 500;
}

.back-link svg {
    width: 20px;
    height: 20px;
}

.back-link:hover {
    color: var(--color-accent);
}

.header-logo {
    color: var(--color-earth);
}

/* Form Main */
.form-main {
    padding: var(--space-lg) var(--space-md);
    min-height: calc(100vh - 200px);
}

.form-container {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-lg);
}

@media (max-width: 900px) {
    .form-container {
        grid-template-columns: 1fr;
    }
}

.form-intro h1 {
    margin-bottom: var(--space-sm);
    color: var(--color-earth-dark);
}

.form-intro > p {
    color: var(--color-earth-light);
    margin-bottom: var(--space-md);
}

.form-requirements {
    background: var(--color-white);
    padding: var(--space-md);
    border-radius: 15px;
    border: 1px solid rgba(44, 24, 16, 0.05);
}

.form-requirements h3 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: var(--space-sm);
    color: var(--color-earth);
}

.form-requirements ul {
    list-style: none;
}

.form-requirements li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-xs);
    margin-bottom: var(--space-xs);
    font-size: 0.9375rem;
    color: var(--color-earth-light);
}

.form-requirements li svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--color-green);
    margin-top: 2px;
}

/* Registration Form */
.registration-form {
    background: var(--color-white);
    padding: var(--space-md);
    border-radius: 20px;
    box-shadow: 0 10px 60px rgba(44, 24, 16, 0.08);
}

.form-section {
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(44, 24, 16, 0.08);
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: var(--space-sm);
    padding-bottom: 0;
}

.form-section h2 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
    color: var(--color-earth);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    margin-bottom: var(--space-sm);
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-earth);
    margin-bottom: 6px;
}

.required {
    color: var(--color-accent);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 2px solid rgba(44, 24, 16, 0.1);
    border-radius: 12px;
    background: var(--color-cream);
    color: var(--color-earth-dark);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-green);
    background: var(--color-white);
    box-shadow: 0 0 0 4px rgba(74, 124, 89, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-earth-light);
    opacity: 0.6;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-hint {
    display: block;
    font-size: 0.8125rem;
    color: var(--color-earth-light);
    margin-top: 6px;
}

/* Checkboxes */
.checkbox-group {
    margin-bottom: var(--space-sm);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.checkbox-label input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-custom {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border: 2px solid rgba(44, 24, 16, 0.2);
    border-radius: 6px;
    background: var(--color-cream);
    transition: all var(--transition-fast);
    position: relative;
    margin-top: 2px;
}

.checkbox-label input:checked + .checkbox-custom {
    background: var(--color-green);
    border-color: var(--color-green);
}

.checkbox-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 10px;
    border: solid var(--color-white);
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -60%) rotate(45deg);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.checkbox-label input:checked + .checkbox-custom::after {
    opacity: 1;
}

.checkbox-label input:focus + .checkbox-custom {
    box-shadow: 0 0 0 4px rgba(74, 124, 89, 0.2);
}

.checkbox-text {
    font-size: 0.9375rem;
    color: var(--color-earth);
    line-height: 1.5;
}

.checkbox-text a {
    text-decoration: underline;
}

/* Form Actions */
.form-actions {
    text-align: center;
    padding-top: var(--space-sm);
}

.submit-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 1.25rem 2.5rem;
    background: var(--color-green);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 500;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all var(--transition-medium);
}

.submit-button:hover {
    background: var(--color-green-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(74, 124, 89, 0.4);
}

.submit-button svg {
    width: 24px;
    height: 24px;
    transition: transform var(--transition-fast);
}

.submit-button:hover svg {
    transform: translateX(5px);
}

.form-deadline {
    margin-top: var(--space-sm);
    font-size: 0.875rem;
    color: var(--color-earth-light);
}

/* Success Message */
.success-message {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: var(--space-lg);
    background: var(--color-white);
    border-radius: 20px;
    box-shadow: 0 10px 60px rgba(44, 24, 16, 0.08);
}

.success-message.hidden {
    display: none;
}

.success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--space-md);
    color: var(--color-green);
}

.success-icon svg {
    width: 100%;
    height: 100%;
}

.success-message h2 {
    margin-bottom: var(--space-sm);
    color: var(--color-earth-dark);
}

.success-message p {
    color: var(--color-earth-light);
    margin-bottom: var(--space-sm);
}

.back-button {
    display: inline-block;
    margin-top: var(--space-md);
    padding: 1rem 2rem;
    background: var(--color-cream-dark);
    color: var(--color-earth);
    font-weight: 500;
    border-radius: 100px;
    transition: all var(--transition-fast);
}

.back-button:hover {
    background: var(--color-earth);
    color: var(--color-cream);
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Parallax Elements */
.parallax-element {
    will-change: transform;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    :root {
        --space-lg: 3rem;
        --space-xl: 5rem;
    }
    
    .hero-content {
        padding: var(--space-sm);
    }
    
    .title-big {
        font-size: clamp(3rem, 12vw, 6rem);
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .story-number {
        font-size: 8rem;
        right: -20px;
        top: -50px;
    }
    
    .process-grid,
    .who-grid,
    .info-cards {
        grid-template-columns: 1fr;
    }
    
    .partner-logos {
        gap: var(--space-sm);
    }
}

/* --------------------------------------------------------------------------
   Print Styles
   -------------------------------------------------------------------------- */
@media print {
    .hero-bg,
    .who-bg,
    .cta-bg,
    .scroll-indicator {
        display: none;
    }
    
    .hero,
    .who-section,
    .cta-section {
        background: var(--color-white);
        color: var(--color-black);
    }
}
