:root {
    --primary-violet: #6c5ce7;
    --secondary-blue: #0984e3;
    --accent-orange: #fdcb6e;
    --bg-dark: #0a0a12;
    --text-light: #f5f6fa;
    --glow-color: rgba(108, 92, 231, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* Macht das Scrollen sanft */
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

header {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at center, #130f40 0%, #0a0a12 100%);
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/stardust.png');
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}

.nebula {
    position: absolute;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.2) 0%, transparent 70%);
    filter: blur(100px);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.nebula-1 { top: -10%; right: -5%; }
.nebula-2 { bottom: -10%; left: -5%; }

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-text {
    flex: 1.2;
    text-align: left;
}

.hero-image {
    flex: 0.8;
    display: flex;
    justify-content: center;
}

.image-wrapper {
    position: relative;
    width: 320px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: -40px; /* Leicht höher setzen */
}

.profile {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  box-shadow: 0 0 60px rgba(120, 100, 255, 0.5);
  position: relative;
  z-index: 2;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.profile-name {
    margin-top: 20px;
    text-align: center;
    z-index: 3;
}

.profile-name h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--accent-orange);
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.profile-role {
    color: var(--accent-orange);
    letter-spacing: 2px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 400;
    display: block;
    opacity: 0.9;
}

.profile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 0 40px rgba(100, 150, 255, 0.25);
}

.placeholder-img {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.2);
    font-size: 1rem;
    position: relative;
    z-index: 2;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, var(--primary-violet) 0%, transparent 60%);
    opacity: 0.3;
    filter: blur(40px);
    z-index: 1;
    pointer-events: none;
}

h1 {
    font-size: clamp(1.6rem, 3.5vw, 38px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    position: relative;
    z-index: 15;
}

h1 .highlight {
    color: var(--accent-orange);
}

.subtext {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: 300;
    margin-bottom: 45px;
    max-width: 650px;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    z-index: 15;
}

.btn {
    display: inline-block;
    padding: 20px 45px;
    background: linear-gradient(45deg, var(--accent-orange), #ff9f43);
    color: #0a0a12;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15rem;
    border-radius: 12px; /* Weniger rund, moderner */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(253, 203, 110, 0.3);
    animation: buttonGlow 3s infinite; /* Pulsierender Effekt */
    transform: scale(1);
    position: relative;
    z-index: 20;
}

.btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(253, 203, 110, 0.5);
    background: linear-gradient(45deg, #ff9f43, var(--accent-orange));
    color: #0a0a12;
}

@keyframes buttonGlow {
    0% { box-shadow: 0 0 0 0 rgba(253, 203, 110, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(253, 203, 110, 0); }
    100% { box-shadow: 0 0 0 0 rgba(253, 203, 110, 0); }
}

.affiliate-note {
    margin-top: 15px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    max-width: 450px;
}

.trust {
  margin-top: 30px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 25px;
  justify-content: flex-start;
}

.trust p {
  margin: 0;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.trust .icon {
    color: var(--accent-orange);
    font-weight: bold;
    margin-right: 10px;
}

/* Scroll Indikator als Link */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none; /* Kein Unterstrich */
    color: white;
    opacity: 0.5;
    transition: opacity 0.3s;
    animation: fadeInOut 3s infinite;
    z-index: 20;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-indicator span { font-size: 0.7rem; letter-spacing: 1px; text-transform: uppercase; }
.arrow { width: 8px; height: 8px; border-right: 2px solid white; border-bottom: 2px solid white; transform: rotate(45deg); }

@keyframes fadeInOut {
    0%, 100% { opacity: 0.2; transform: translate(-50%, 0); }
    50% { opacity: 0.6; transform: translate(-50%, 10px); }
}

/* Über Mich Sektion */
.about-short {
    padding: 80px 0; /* Von 120px reduziert */
    background: linear-gradient(to bottom, #0a0a12, #130f40);
    position: relative;
}

.about-card {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.02);
    padding: 40px 60px; /* Padding oben/unten reduziert */
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    backdrop-filter: blur(10px);
}

.about-card h2 { font-size: 2.5rem; margin-bottom: 25px; color: var(--accent-orange); }
.about-card p { font-size: 1.1rem; color: rgba(255, 255, 255, 0.8); margin-bottom: 20px; }

/* Social Links */
.social-area {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.social-area p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.5);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.social-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    text-decoration: none;
    color: #0a0a12;
    background: var(--accent-orange);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(253, 203, 110, 0.15);
}

.social-btn svg {
    width: 16px;
    height: 16px;
}

.social-btn:hover {
    transform: translateY(-3px);
    background: #fff;
    box-shadow: 0 8px 25px rgba(253, 203, 110, 0.4);
}

/* Footer */
footer {
    padding: 2px 0; /* Erhöht von 30px auf 60px */
    text-align: center;
    background: #130f40;
}

.legal-links { display: flex; justify-content: center; gap: 30px; margin-bottom: 15px; }
.legal-links a { color: rgba(255, 255, 255, 0.7); text-decoration: none; font-size: 0.85rem; transition: color 0.3s ease; }
.legal-links a:hover { color: var(--accent-orange); }

@media (max-width: 900px) {
    .container { padding: 0 20px; }
    
    header { 
        height: auto; 
        min-height: 100vh;
        padding: 40px 0 30px 0; 
    }

    .hero-flex { 
        flex-direction: column; 
        align-items: center; /* Korrektes Zentrieren der Flex-Items */
        text-align: center; 
        gap: 20px; 
    }

    .hero-text { 
        display: contents; /* Erlaubt die Neuordnung der Kinder innerhalb von .hero-flex */
    }

    h1 {
        order: 1;
        font-size: clamp(1.3rem, 7vw, 1.8rem);
        margin-bottom: 15px;
        padding: 0 10px;
    }
    
    h1 br {
        display: none; /* Zeilenumbrüche in der Headline auf Mobile entfernen */
    }

    .hero-image { 
        order: 2; 
        margin: 0;
    }
    
    .subtext {
        order: 3;
        margin: 15px auto;
        font-size: 1rem;
        padding: 0 15px;
        line-height: 1.5;
    }

    .subtext br {
        display: none;
    }
    
    .btn {
        order: 4;
        width: 90%;
        max-width: 380px;
        padding: 16px 20px;
        font-size: 0.95rem;
        margin: 0 auto;
    }
    
    .affiliate-note { 
        order: 5; 
        margin: 10px auto;
        padding: 0 20px;
        font-size: 0.7rem;
    }

    .trust { 
        order: 6; 
        display: flex !important;
        flex-direction: row !important; /* Wichtig: Reihe erzwingen */
        flex-wrap: wrap !important;
        justify-content: center !important;
        margin-top: 15px;
        font-size: 12px;
        padding: 0 10px;
        gap: 6px 8px;
    }

    .trust p {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: auto !important; /* Breite auf Inhalt begrenzen */
        padding: 5px 10px !important;
        margin: 0 !important;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 6px;
        white-space: nowrap; /* Verhindert Umbruch innerhalb eines Tags */
    }

    .image-wrapper { 
        width: 200px; 
    }
    
    .profile {
        width: 200px;
        height: 200px;
        box-shadow: 0 0 40px rgba(120, 100, 255, 0.4);
    }

    .about-short {
        padding: 40px 0;
    }

    .about-card { 
        padding: 30px 20px; 
        margin: 0 10px;
        border-radius: 20px;
    }
    
    .about-card h2 { font-size: 1.6rem; margin-bottom: 15px; }
    .about-card p { font-size: 0.95rem; margin-bottom: 15px; }
    .about-card br { display: none; }
    
    .scroll-indicator { display: none; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.4rem; }
    .profile { width: 180px; height: 180px; }
    .image-wrapper { width: 180px; }
    .btn { width: 100%; font-size: 0.85rem; padding: 14px 12px; }
    .trust { font-size: 12px; }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(108, 92, 231, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(108, 92, 231, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 100;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.back-to-top:hover {
    background: var(--primary-violet);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(108, 92, 231, 0.5);
}

.arrow-up {
    width: 10px;
    height: 10px;
    border-left: 2px solid white;
    border-top: 2px solid white;
    transform: rotate(45deg);
    margin-top: 4px;
}
