/* ===================================
   SolNido Landing Page - Styles
   =================================== */

/* CSS Variables — Markenvorgabe v7 */
:root {
    --sonne:      #F5BE41;
    --orange:     #C96D1D;
    --anthrazit:  #4B4641;
    --gruen:      #418D3E;
    --blau:       #2C86D6;
    --silber:      #C8C4BE;
    --sand:        #F0E8CC;        /* V1: warmer Sandcreme-Ton */
    --wortmarke-hell: color-mix(in srgb, #F5BE41 50%, white); /* V2 aktiv: 50% Sonnengelb in Weiß */
    --color-gold: #F5BE41;
    --color-white: #FFFFFF;
    --font-wortmarke: 'Bungee', sans-serif;
    --font-sans: 'Source Sans 3', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-sans);
    color: var(--color-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===================================
   Hero Section
   =================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 50%, #FDB913 100%);
    background-image: url('../images/thailand-sunset.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none; /* Kein dunkler Schleier mehr */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none; /* Kein dunkler Schleier mehr */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
    /* Positionierung: ETWAS nach oben - Unterkante Headline = vertikale Mitte */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 100vh;
    padding-top: calc(50vh - 5rem); /* Headline Baseline auf 50vh */
}

/* Logo entfernt - kein Logo mehr im Hero */

/* Wortmarke SOL ● NIDO — Bungee, Markenvorgabe v7 */
.hero-title {
    font-family: var(--font-wortmarke);
    font-size: clamp(3rem, 7.5vw, 6.25rem);
    font-weight: 400; /* Bungee kennt nur ein Weight */
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
    animation: fadeInUp 1s ease-out 0.2s backwards;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    text-shadow: none;
}
.wm-sol  { color: var(--wortmarke-hell); }
.wm-nido { color: var(--wortmarke-hell); text-shadow: 0 2px 16px rgba(0,0,0,0.45); }
.wm-sun {
    display: inline-block;
    width:  0.84em;
    height: 0.84em;
    background: var(--sonne);
    border-radius: 50%;
    margin: 0 3px;
    flex: none;
    position: relative;
    top: -0.01em;
    box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

/* Subline — Source Sans 3, 300, NICHT kursiv (Italic-Regel) */
.hero-subtitle {
    font-family: var(--font-sans);
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 300;
    font-style: normal;
    color: var(--color-white);
    text-shadow: 0 2px 15px rgba(0,0,0,0.55);
    margin-bottom: 3rem;
    letter-spacing: 0.06em;
    animation: fadeInUp 1s ease-out 0.4s backwards;
    line-height: 1.4;
}

/* Country Selection */
.country-selection {
    margin-top: 3rem;
    animation: fadeIn 1.5s ease-out;
}

/* Flags Row */
.flags-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.flag-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.flag-link:hover {
    transform: translateY(-5px) scale(1.1);
}

/* Hover Text - appears above flag */
.flag-link::before {
    content: attr(data-hover-text);
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
    background: rgba(0, 0, 0, 0.6);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    z-index: 10;
}

.flag-link:hover::before {
    opacity: 1;
    top: -40px;
}

.flag {
    font-size: 3rem;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
    transition: var(--transition);
}

.flag-link:hover .flag {
    filter: drop-shadow(0 8px 20px rgba(255,215,0,0.6));
    transform: scale(1.2);
}

.country-code {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 400;
    text-transform: uppercase;   /* IBM Plex Mono nur in Versalien */
    letter-spacing: 0.2em;       /* Spationierung 0,2 em — Markenvorgabe v7 */
    color: var(--color-white);
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
    transition: var(--transition);
}

.flag-link:hover .country-code {
    color: var(--color-gold);
    transform: scale(1.15);
}

/* ===================================
   Mission Section
   =================================== */

.mission-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #FFF9F0 0%, #FFFFFF 50%, #FFF9F0 100%);
}

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

.mission-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(255,107,53,0.1);
}

.mission-text {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.8;
    color: var(--color-dark);
    margin-bottom: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.feature-card {
    background: var(--color-white);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(255,107,53,0.15);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.1));
}

.feature-title {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.feature-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-dark);
}



/* ===================================
   Footer
   =================================== */

.footer {
    background: linear-gradient(135deg, var(--color-dark) 0%, #1a252f 100%);
    padding: 3rem 0;
    text-align: center;
}

.footer-text {
    color: var(--color-light);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.footer-subtext {
    color: var(--color-accent);
    font-size: 1.1rem;
    font-weight: 300;
}

/* ===================================
   Animations
   =================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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



/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 1200px) {
    .flags-row {
        gap: 1.5rem;
    }
    
    .flag {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        margin-top: 10vh;
    }
    
    .logo {
        width: 80px;
    }
    
    .flags-row {
        gap: 1rem;
    }
    
    .flag {
        font-size: 2rem;
    }
    
    .country-code {
        font-size: 0.8rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mission-section {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .hero-content {
        margin-top: 5vh;
    }
    
    .flags-row {
        gap: 0.8rem;
    }
    
    .flag {
        font-size: 1.8rem;
    }
    
    .country-code {
        font-size: 0.7rem;
    }
}