/* Grundlayout und Farben */
body {
    margin: 0;
    font-family: Michroma, sans-serif;
    background: #000;
    color: #fff;
}

/* Header Navigation */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
    background-color: #000;
    border-bottom: 1px solid #222;
    min-width: 500px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 24px;
    margin: 0;
    padding: 0;
}

nav a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.95rem;
}

.actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn {
    padding: 6px 12px;
    background: none;
    border: 1px solid #333;
    color: #ccc;
    border-radius: 4px;
    cursor: pointer;
}



.hero-wrapper {
    display: flex;
    justify-content: center; /* zentriert den gesamten Inhalt */
    align-items: center;
    flex-wrap: wrap;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto; /* zentriert im Viewport */
    padding: 20px 32px; /* oben/unten Platz */
    min-height: 600px;
}
.hero-logo-bg {
    position: absolute;
    top: 50%;
    left: -10px;
    transform: translateY(-50%) translateX(-50%);
    width: 500px;
    height: 500px;
    background-image: url('logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.9;
    filter: grayscale(50%);
    z-index: 1;
    pointer-events: none;
}


.hero-text {
    flex: 1 1 500px;
    max-width: 600px;
    padding: 0;
}

.hero-text h1 {
    font-size: 4.5rem;
    color: #fff;
    margin-bottom: 0.3rem;
}

.hero-text h2 {
    font-size: 1rem;
    color: #f0f;
    font-weight: bold;
    margin: 0 0 1rem;
}

.hero-text p {
    color: #999;
    font-size: 1rem;
}

.live-box {
    flex: 0 0 480px;
    height: 270px;
    background: #333;
    border-radius: 12px;
    border: 3px solid #c0f;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin: 0;
}

.live-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #a00;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: bold;
    filter: grayscale(100%);
}

.placeholder-img {
    width: 95%;
    height: 95%;
    background: url('https://static-cdn.jtvnw.net/jtv_user_pictures/3b035f97-ecc3-41fd-b19a-1a09471d3856-channel_offline_image-1920x1080.png') center center no-repeat;
    background-size: contain;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .hero-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-text,
    .live-box {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .live-box {
        margin-top: 32px;
    }
}

.hero-scroll-btn-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.btn-scroll-about {
  padding: 12px 24px;
  background-color: #111;
  color: #fff;
  border: 12px;
  border-color: #fff;
  border-radius: 24px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-scroll-about:hover {
  background-color: #fff;
  color: #111;
}


/* Fade Übergang nach unten aus Hero-Section */
.content-section.fade-out {
    padding-bottom: 150px;
    position: relative;
}

.content-section.fade-out::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100px;
    width: 100%;
    background: linear-gradient(to bottom, transparent, #000);
    pointer-events: none;
    z-index: 1;
}

/* Zusätzliche statische Fallback-Fades */
.main-fade-out {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, #111, transparent);
    z-index: 9999;
    pointer-events: none;
}

.fade-transition2 {
    height: 100px;
    background: linear-gradient(to bottom, #111, transparent);
}

/* Übergang mit Hintergrundbild zwischen Sections */
.about-place {
    background: url(https://tbone-x.de/essit/bg.png) repeat-x center center fixed;
    background-size: auto;
    width: 100%;
    height: 100px;
    padding: 80px 64px;
    text-align: center;
    color: #fff;
}


/* About Section */
.about-section {
    padding: 80px 64px;
    background-color: #000;
    color: #eee;
}

.about-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100px;
    width: 100%;
    background: linear-gradient(to bottom, rgba(17,17,17,1), rgba(17,17,17,0));
    pointer-events: none;
    z-index: 2;
}

.bg-section {
    padding: 80px 64px;
    background-color: #000;
    color: #eee;
    position: relative;
    overflow: hidden; 
}

.bg-logo.about {
    position: absolute;
    top: 20%;
    right: -250px;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    background-image: url('logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.9;
    filter: grayscale(50%);
    z-index: 0;
    pointer-events: none;
}

.about-wrapper {
    display: flex;
    gap: 48px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

}

.about-image img {
    width: 300px;
    border-radius: 8px;
    box-shadow: 0 0 15px #c0f;
}

.about-text {
    max-width: 400px;
}

.about-text h2 span {
    color: #c0f;
}

.about-features {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.feature-box {
    background: #1a1a1a;
    padding: 20px;
    border: 1px solid #333;
    border-radius: 8px;
    width: 220px;
    text-align: center;
}

.about-scroll-btn-wrapper {
  margin-top: 48px;
  text-align: center;
}

.btn-scroll-socials {
  padding: 12px 24px;
  background-color: #111;
  color: #fff;
  border: 12px;
  border-color: #fff;
  border-radius: 24px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-scroll-socials:hover {
  background-color: #fff;
  color: #111;
}

/* Social Braek */
.socials-place {
    background: url(https://tbone-x.de/essit/socials.png) repeat-x center center fixed;
    background-size: auto;
    width: 100px;
    height: 100px;
    padding: 80px 64px;
    text-align: center;
    color: #fff;
}




/* Social Section */
.socials-section {
    background-color: #000;
    padding: 80px 64px;
    text-align: center;
    color: #fff;
}

.social-buttons button {
    margin: 5px;
    padding: 8px 16px;
    border: 1px solid #c0f;
    background: transparent;
    color: #c0f;
    border-radius: 20px;
    cursor: pointer;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 2fr));
    gap: 24px;
    max-width: 1000px;
    min-width: 600px;
    margin: 32px auto;
    min-height: 350px;
}
@media (max-width: 768px) {
    .social-links {
        grid-template-columns: 1fr;
    }
}

.social-entry {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 16px;
    border-radius: 12px;
    color: #fff;
    min-height: 100px;
}

.social-entry .icon img {
    width: 40px;
    height: 40px;
}

.social-entry .info {
    flex: 1;
    margin-left: 16px;
}

.social-entry .info strong {
    font-size: 1.1rem;
    display: block;
    color: #fff;
}

.social-entry .info div {
    font-size: 0.9rem;
    color: #aaa;
}

.social-entry .stats {
    display: flex;
    gap: 16px;
    text-align: right;
    font-size: 0.85rem;
}

.social-entry .stats span {
    color: #f0f;
    font-weight: bold;
}

.social-entry .stats small {
    display: block;
    font-weight: normal;
    font-size: 0.75rem;
    color: #aaa;
}

.discord .stats {
    justify-content: center;
}

.discord-btn {
    background: #c0f;
    border: none;
    color: #000;
    padding: 6px 16px;
    font-weight: bold;
    border-radius: 20px;
    cursor: pointer;
}

/* Optional: Icons einheitlich */
.social-entry .icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* TikTok Vorschau */
.tiktok-section {
    padding: 80px 64px;
    text-align: center;
    background-color: #111;
}

.tiktok-grid {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 32px;
}

.tiktok-card img {
    width: 270px;
    height: 480px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 0 10px #222;
}

/* CTA Bereich */
.cta-section {
    background-color: #111;
    padding: 64px;
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
}

.cta-box {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 24px;
    width: 280px;
    color: #fff;
}

.btn-cta {
    margin-top: 12px;
    padding: 10px 18px;
    background: #c0f;
    color: #000;
    border: none;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
}

.clip-placeholder {
    margin: 12px auto;
    width: 240px;
    height: 135px;
    background: #ddd url('https://upload.wikimedia.org/wikipedia/commons/3/3f/No_image_available_600_x_450.svg') center center no-repeat;
    background-size: contain;
    border-radius: 8px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

.countdown div {
    background: #222;
    padding: 8px 12px;
    border-radius: 6px;
}

.countdown span {
    display: block;
    font-size: 1.4rem;
    color: #c0f;
    font-weight: bold;
}

.countdown small {
    font-size: 0.75rem;
    color: #aaa;
}

/* Footer */
footer {
    background: #000;
    padding: 24px;
    text-align: center;
    color: #888;
    font-size: 0.85rem;
    border-top: 1px solid #222;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-links {
    display: flex;
    gap: 16px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.85rem;
}

/* datenschutz */
.datenschutz-container {
    max-width: 75%;
    margin: 4rem auto;
    padding: 2rem 2rem;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
    font-family: "Segoe UI", Roboto, sans-serif;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #eaeaea;
    white-space: pre-line;
    text-align: justify;
}

.datenschutz-container h2,

.datenschutz-container h3 {
    color: #ffffff;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.datenschutz-container h2 {
    font-size: 1.8rem;
    border-bottom: 2px solid #555;
    padding-bottom: 0.5rem;
}

.datenschutz-container h3 {
    font-size: 1.4rem;
}

.datenschutz-container p {
    margin-bottom: 1.5rem;
    text-indent: 2.5em;
}

.datenschutz-container a {
    color: #6ab0f3;
    text-decoration: underline;
}

.datenschutz-container a:hover {
    text-decoration: none;
}

@media (max-width: 1024px) {
    .datenschutz-container {
        max-width: 90%;
        padding: 1.5rem;
    }
}

/* Impressum setion */
.impressum-section {
    max-width: 75%;
    margin: 2rem auto;

    /* zentriert und mit mehr Abstand zum Rand */
    padding: 2rem 2rem;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
    font-family: "Segoe UI", Roboto, sans-serif;
    font-size: 1.05rem;
    line-height: 1.0;
    color: #eaeaea;
    text-align: justify;
    white-space: normal;

    /* WICHTIG: sonst zerschießt `pre-line` die Lesbarkeit */
}

.impressum-section h2 {
    font-size: 1.8rem;
    color: #ffffff;
    border-bottom: 2px solid #555;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.impressum-section p {
    margin-bottom: 1.5rem;
    text-indent: 2.5em;
}

.impressum-section a {
    color: #6ab0f3;
    text-decoration: underline;
}

.impressum-section a:hover {
    text-decoration: none;
}

@media (max-width: 1024px) {
    .impressum-section {
        max-width: 90%;
        padding: 1.5rem;
    }
}

.bg-section {
    position: relative;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

.bg-hero {
    background-image: url('/essit/bg-hero.jpg');
}

.bg-about {
    background-image: url('/essit/bg-about.jpg');
}

.bg-about-details {
    background-image: url('/essit/bg-about-details.jpg');
}

.bg-socials {
    background-image: url('/essit/bg-socials.jpg');
}

/* Inhaltsbereiche innerhalb der BG-Sektionen */
.content-section {
    position: relative;
    z-index: 2;
    padding: 120px 64px;
    color: white;
    background-color: rgba(0, 0, 0, 0.85);
    margin: 0;
}

/* Fade oben */
.fade-in::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100px;
    width: 100%;
    background: linear-gradient(to top, transparent, rgba(0, 0, 0, 1));
    pointer-events: none;
}

/* Fade unten */
.fade-out::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100px;
    width: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 1));
    pointer-events: none;
}

/* Zusätzliche Optimierungen */
@media (max-width: 768px) {
    .content-section {
        padding: 80px 32px;
    }

    .hero-text {
        padding: 30px 20px;
    }

    .live-box {
        width: 100%;
        margin: 20px auto;
    }
}

/* Fehlerkorrektur */
.hero-text h1 {
    color: #fff; /* vorher war "#fffff" = kein gültiger Farbwert */
}

/* Breite bei about/socials-place korrigiert */
.about-place,
.socials-place {
    width: 100%;
}
