/* Reset und Basis-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-black: #000000;
    --primary-white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --dark-gray: #343a40;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --accent-primary: #FFD700; /* dezentes Goldgelb (optional) */
    --accent-alt: #1E90FF;     /* kühles Hellblau (optional) */
    --accent-neon: #39FF14;    /* Neon-Grün für Discord-CTA */
    --accent-contrast: #000000;/* Textfarbe für Akzentflächen auf hellem Theme */
    --text-secondary: #6c757d; /* sekundärer Text auf hellem Hintergrund */
    --logo-green: #14532d;     /* Fallback: dunkles Grün bis Logo analysiert ist */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--primary-black);
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

/* Header-Logo Bild (quadratisch/rechteckig, größer) */
.nav-logo-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.logo-pillars {
    display: flex;
    gap: 2px;
}

.pillar {
    width: 5px;
    height: 24px;
    background: var(--primary-black);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.pillar:hover {
    background: #333;
    transform: scaleY(1.1);
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-black);
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-black);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

/* Header CTA als Button im Akzentton */
.nav-links .cta-link {
    padding: 0.6rem 1.2rem;
    border-radius: 24px;
    background: var(--accent-primary);
    color: var(--accent-contrast);
    font-weight: 600;
}
.nav-links .cta-link:hover {
    filter: brightness(1.05);
}

.nav-links a:hover {
    color: rgba(0,0,0,0.7);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 0;
    background: transparent;
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 78vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #ffffff;
    /* Auf hellem Hintergrund: sekundären Text abdunkeln */
    --text-secondary: rgba(0,0,0,0.7);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.8;
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 900px;
    padding: 0 2rem;
    position: relative;
}

/* Hero Layout: Grid mit Logo unten links und Textblock rechts */
.hero-inner { position: relative; }
.hero-inner.hero-center { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }
.hero-grid {
    display: grid;
    grid-template-columns: minmax(220px, 360px) 1fr;
    align-items: end;
    gap: 3rem;
}
.hero-logo { align-self: end; justify-self: start; }
.hero-logo-image {
    height: clamp(220px, 30vw, 360px);
    width: auto;
    object-fit: contain;
    border-radius: 8px;
}
.hero-text { display: flex; flex-direction: column; gap: 0.75rem; }

.hero-title {
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.3;
    color: var(--primary-black);
    opacity: 0;
    animation: fadeInText 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    font-family: 'Inter', 'Roboto', 'Poppins', 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}
/* Entfernt: gelbe Unterstreichung der Hero-Überschrift */

.hero-subtitle {
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    line-height: 1.55;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    max-width: 60ch;
}

/* Wireframe-Bergmotiv unter der Hero-Überschrift */
.hero-wireframe {
    position: absolute;
    left: 50%;
    top: 60%;
    transform: translate(-50%, 24px);
    width: min(82vw, 1150px);
    height: 36vh;
    opacity: 0;
    animation: wireframeRise 1.8s ease-out 0.2s forwards;
    pointer-events: none;
    z-index: 0;
}
.hero-wireframe svg {
    width: 100%;
    height: 100%;
}
.hero-wireframe polyline,
.hero-wireframe line {
    stroke-linecap: round;
    stroke-linejoin: round;
}
.hero-wireframe .line-primary { stroke: rgba(0,0,0,0.18); stroke-width: 2; }
.hero-wireframe .line-secondary { stroke: rgba(0,0,0,0.12); stroke-width: 1.5; }
.hero-wireframe .baseline { stroke: rgba(0,0,0,0.08); stroke-width: 1; }

/* dezenter Linienaufbau-Effekt */
.hero-wireframe .line-primary,
.hero-wireframe .line-secondary,
.hero-wireframe .baseline {
    stroke-dasharray: 8 6;
    stroke-dashoffset: 28;
    animation: dashDraw 2.2s ease-out forwards;
}
.hero-wireframe .line-secondary { animation-delay: 0.15s; }
.hero-wireframe .baseline { animation-delay: 0.3s; }

@keyframes wireframeRise {
    from { opacity: 0; transform: translate(-50%, 40px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes dashDraw {
    to { stroke-dashoffset: 0; }
}

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

.hero-title .highlight {
    color: var(--accent-primary);
    font-weight: 500;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent-primary);
    color: var(--accent-contrast);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    background: var(--dark-gray);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Sections */
.section {
    padding: 5rem 0;
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 3rem;
    text-align: center;
}

/* Logo Section */
.logo-section {
    padding: 14rem 0; /* breiteres (höheres) Farbband */
    background: var(--logo-green); /* durch Logo-Bild dynamisch gesetzt */
    position: relative;
    overflow: hidden;
}

/* Titel oben links im grünen Abschnitt */
.pillar-title {
    position: absolute;
    top: 2rem;
    left: 2rem;
    margin: 0;
    color: var(--primary-white);
    font-family: "Poppins", "Inter", "Segoe UI", Arial, sans-serif;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 0.08em; /* höheres Letterspacing, modernes geometrisches Erscheinungsbild */
    text-wrap: balance;
    /* groß und responsiv */
    font-size: clamp(2.25rem, 7vw, 5rem);
    /* sanfte Eintrittsanimation */
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
    filter: blur(2px);
    animation: pillarReveal 900ms ease-out 200ms forwards;
}

@keyframes pillarReveal {
    0% {
        opacity: 0;
        transform: translateY(-10px) scale(0.98);
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Auf kleineren Bildschirmen etwas näher am Rand und kompakter */
@media (max-width: 768px) {
    .pillar-title {
        top: 1.25rem;
        left: 1rem;
        font-size: clamp(1.75rem, 9vw, 3rem);
    }
}

/* Liste der Säulen unter dem Titel */
.pillar-list {
    position: absolute;
    top: 8rem; /* unter dem Titel platziert */
    left: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    color: var(--primary-white);
}

.pillar-item {
    font-family: "Poppins", "Inter", "Segoe UI", Arial, sans-serif;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.06em; /* erhöhtes Letterspacing für klare Geometrie */
    font-size: clamp(1.75rem, 5.5vw, 3.25rem);
    opacity: 0;
    transform: translateY(8px);
    animation: pillarItemReveal 700ms ease-out forwards;
}

.pillar-list .pillar-item:nth-child(1) { animation-delay: 450ms; }
.pillar-list .pillar-item:nth-child(2) { animation-delay: 650ms; }
.pillar-list .pillar-item:nth-child(3) { animation-delay: 850ms; }

@keyframes pillarItemReveal {
    0% { opacity: 0; transform: translateY(8px); }
    100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .pillar-list {
        top: 6rem;
        left: 1rem;
        gap: 0.5rem;
    }
}

.logo-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-left {
    display: flex;
    justify-content: center;
}

.logo-green {
    width: 700px;  /* noch größer auf Desktop */
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0;
    position: relative;
    z-index: 2;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.3s ease;
    filter: contrast(1.05) brightness(1.03);
}

.logo-image:hover {
    transform: scale(1.1);
}

@keyframes pillarGrow {
    from {
        height: 0;
    }
    to {
        height: var(--pillar-height);
    }
}

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

.logo-right p {
    font-size: 1.35rem;
    line-height: 1.45;
    color: var(--primary-black);
    font-weight: 600;
    font-family: 'Poppins', 'Inter', sans-serif;
}

/* Logo-Text vertikal zur Logo-Mitte zentrieren */
.logo-right {
    display: flex;
    align-items: flex-start;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-logo {
    display: flex;
    justify-content: center;
}

.about-logo .logo-pillars {
    flex-direction: column;
    gap: 0.5rem;
}

.about-logo .pillar {
    width: 8px;
    height: 40px;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-black);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--primary-black);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.learn-more-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--primary-black);
    color: var(--primary-white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.learn-more-btn:hover {
    background: var(--dark-gray);
    transform: translateY(-2px);
}

/* Mountain Section */
.mountain-section {
    position: relative;
    height: 70vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mountain-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.mountain-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.9;
}

.mountain-title-section {
    background: #ffffff;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
}

.mountain-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 900;
    color: var(--primary-black);
    margin: 0;
    font-family: 'Poppins', 'Inter', 'Montserrat', sans-serif;
    letter-spacing: 0.2px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.6s ease, transform 1.6s ease;
}

/* Values Section */
.values {
    background: #ffffff;
    padding: 4rem 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 2rem;
    align-items: start;
}

.value-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: #ffffff;
    border-radius: 0;
    box-shadow: none;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}
.value-card { border-top: 1px solid rgba(255, 215, 0, 0.2); }

.value-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 0, 0, 0.1);
}

/* Icons entfernt – klare Überschriften ohne Symbole */

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.value-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary-black);
    font-family: 'Inter', 'Poppins', sans-serif;
    letter-spacing: 0.8px;
}

.value-card:nth-child(1) .value-title {
    color: #2d5a27;
}

.value-card:nth-child(2) .value-title {
    color: #1a5a6a;
}

.value-card:nth-child(3) .value-title {
    color: #6a4a1a;
}

/* Unterstreichung entfernt für minimalistisches Erscheinungsbild */

.value-description {
    color: var(--primary-black);
    line-height: 1.7;
    font-size: 1.05rem;
    font-weight: 400;
}

/* Final CTA Section */
.final-cta {
    padding: 6rem 0;
    background: #ffffff;
    text-align: center;
}

.cta-content {
    display: flex;
    justify-content: center;
}

.cta-black {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: #000000;
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.cta-black:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
    filter: brightness(1.08);
}

.black-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: var(--accent-primary);
    color: var(--accent-contrast);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.black-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(255, 215, 0, 0.25);
    filter: brightness(1.05);
}

/* Footer */
.footer {
    background: #000000;
    padding: 3rem 0;
    text-align: center;
}

.footer-content {
    color: rgba(255,255,255,0.7);
}

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    opacity: 0.7;
}

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

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-black);
    margin: 3px 0;
    transition: var(--transition);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 0.15px;
    }
    /* Hero Grid mobil: Logo über dem Text zentrieren */
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        align-items: center;
        justify-items: center;
        text-align: center;
    }
    .hero-logo { align-self: start; justify-self: center; }
    .hero-logo-image { height: clamp(140px, 36vw, 180px); }
    .hero-subtitle { font-size: 1.05rem; line-height: 1.7; margin: 0 auto; max-width: 60ch; }
    .hero-cta { align-self: center; }
    .hero-wireframe {
        top: 63%;
        height: 28vh;
        width: 92vw;
    }
    /* Logo-Block mobil: größer als zuvor, aber kompakt */
    .logo-green {
        width: 300px; /* mobil nochmals größer */
        height: 300px;
    }
    .logo-content {
        grid-template-columns: auto 1fr;
        gap: 1rem;
    }
    .logo-right p {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta h2 {
        font-size: 2rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Parallax effect */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Loading animation */
.loading {
    opacity: 0;
    animation: fadeIn 0.5s ease-in forwards;
}
.discord-button {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 28px;
    background: #ffffff;
    color: #000000;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}
.discord-button:hover {
    background: #eaeaea;
    font-weight: 700;
}

.hero-cta { margin-top: 1.25rem; align-self: flex-start; }