﻿/* Diese Datei ist styles.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

:root {
    --main-dark: #0d0d0d;
    /* Hellerer Orange-Ton für besseren Kontrast */
    --accent-color: #df7500; 
    /* Helleres Grau für besseren Kontrast auf dunklem Hintergrund */
    --light-gray: #d9d9d9;
    --dark-gray: #2c2c2c;
    --mid-gray: #555555;
}

body {
    background-color: var(--main-dark);
    color: var(--light-gray);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Barrierefreiheit: Skip-Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent-color);
    color: white;
    padding: 8px;
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skip-link:focus {
    top: 0;
    opacity: 1;
}

/* Header */
header {
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 3px solid var(--accent-color);
}

.logo-placeholder {
    aspect-ratio: 1 / 1;
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--dark-gray);
    color: var(--accent-color);
    font-weight: bold;
    border: 2px solid var(--accent-color);
    margin-right: 20px;
}

.logo-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}
    
nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    /* Weiß statt hellgrau für besseren Kontrast */
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Verbesserte Focus-Styles für alle interaktiven Elemente */
a:focus, button:focus, input:focus, textarea:focus, select:focus {
    outline: 3px solid #ffaa33;
    outline-offset: 2px;
}

/* Hero Section with Parallax */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    text-align: center;
    z-index: 10;
    padding: 20px;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: white;
    text-transform: uppercase;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: white;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #c26500;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--dark-gray);
    position: relative;
    overflow: hidden;
}

.about-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
    position: relative;
    z-index: 2;
}

.about-image {
    flex: 1;
    min-width: 300px;
    height: 400px;
    background-image: url('images/waz.png');
    background-size: cover;
    background-position: center;
    border: 5px solid var(--accent-color);
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: white;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 4px;
    background-color: var(--accent-color);
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background-color: var(--main-dark);
    position: relative;
    z-index: 1;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    border: 3px solid var(--accent-color);
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--dark-gray);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
  
.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}
  
.gallery-item:hover img {
    transform: scale(1.05);
}  

/* Events Section */
.events {
    padding: 100px 0;
    background-color: var(--dark-gray);
    position: relative;
    min-height: 900px;
}

.events::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
                url('images/ruhrpott-on-tour.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 0;
}

.event-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 100px;
}

.event-card {
    flex: 0 0 calc(33.333% - 20px);
    background-color: rgba(30, 30, 30, 0.75);
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s; ease, box-shadow 0.3s ease;
    min-height: 265px;
    position: relative; /* wichtig für Hover-Z-Index */
    z-index: 1;
    color: white;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.event-details {
    padding: 20px;
}

.event-date {
    /* Hellerer Orangeton für Datumsanzeigen */
    color: #df7500;
    font-weight: bold;
    margin-bottom: 10px;
}

.event-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: white;
}

/* Registration Section */
.registration {
    padding: 100px 0;
    background-color: var(--main-dark);
    position: relative;
}

.registration::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://source.unsplash.com/random/1200x800/?factory');
    background-size: cover;
    background-position: center;
    opacity: 0.06;
}

.registration-content {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--dark-gray);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-top: 5px solid var(--accent-color);
}

.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

input, textarea, select {
    width: 100%;
    padding: 12px;
    /* Deutlicherer Rahmen */
    border: 2px solid #666;
    /* Dunkler Hintergrund mit hellerem Text */
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    border-radius: 5px;
    font-size: 1rem;
}

textarea {
    height: 150px;
    resize: vertical;
}

/* Contact/Footer Section */
footer {
    padding: 50px 0;
    background-color: black;
    border-top: 5px solid var(--accent-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-title {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
}

.contact-info {
    list-style: none;
}

.contact-info li {
    margin-bottom: 15px;
}

.social-links {
    list-style: none;
    display: flex;
}

.social-links li {
    margin-right: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: var(--mid-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.social-icon:hover {
    background-color: var(--accent-color);
}

.copyright {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid var(--mid-gray);
}

.join-text {
  margin-bottom: 1.5rem;
}

/* Mining elements decoration */
@media (min-width: 1025px) {
    .mine-shaft {
      position: absolute;
      top: 0;
      right: 60px;
      width: 240px;
      height: 360px;
      background-image: url("images/grubenlampe.png");
      background-size: contain;
      background-repeat: no-repeat;
      background-position: top right;
      z-index: 1;
      display: none;
    }
  
    .mine-shaft::before,
    .mine-shaft::after {
      display: none; !important
    }
  }  

@media (min-width: 1025px) {
    .coal-pile {
      position: absolute;
      bottom: 0;
      left: 80px;
      width: 360px;
      height: 260px;
      background-image: url("images/real-coal-pile.png");
      background-size: contain;
      background-repeat: no-repeat;
      background-position: bottom left;
      z-index: 1;
      display: none;
    }
  }
  

/* Parallax Coal Background Elements */
.coal-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.coal-particle {
    position: absolute;
    background-color: #111;
    border-radius: 50%;
    opacity: 0.5;
}

.coal-particle:nth-child(1) {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 5%;
}

.coal-particle:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 40%;
    right: 10%;
}

.coal-particle:nth-child(3) {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 15%;
}

.coal-particle:nth-child(4) {
    width: 180px;
    height: 180px;
    bottom: 10%;
    right: 20%;
}

.coal-particle:nth-child(5) {
    width: 120px;
    height: 120px;
    top: 60%;
    left: 50%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        flex-direction: column;
    }

    .about-text, .about-image {
        width: 100%;
        text-align: center;
    }
    
    .about-text {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .event-card {
        flex: 0 0 100%;
    }
    
    nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .nav-links {
        flex-direction: row;
        flex-wrap: wrap;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px 0;
    }

    .nav-links li {
        margin: 5px 10px;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255,215,0,0.05); /* Aufhellung! */
    z-index: 1;
}
  
.hero-content {
    position: relative;
    z-index: 2;
}

.hero::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url('images/backround.jpeg');
    background-size: cover;
    background-position: center;
    z-index: 0;
    opacity: 1;
}

@media (max-width: 768px) {
    .mine-shaft,
    .coal-pile {
        display: none !important;
    }
}

.about-image {
    background-image: url('images/waz.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 400px;
}

footer {
    position: relative;
    z-index: 10;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    background: rgba(30, 30, 30, 0.7);
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
    transition: background 0.3s, border 0.3s;
}

.burger:hover {
    background: rgba(50, 50, 50, 0.9);
    border-color: #ffa500;
}

.burger span {
    width: 25px;
    height: 3px;
    background: linear-gradient(to right, #999, #444);
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.6);
    display: block;
}
  
@media (max-width: 768px) {
    .burger {
        display: flex;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: var(--dark-gray);
        background-size: cover;
        background-blend-mode: multiply;
        border-top: 2px solid var(--accent-color);
        padding: 6px 0;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li {
        text-align: center;
        margin: 5px 0;
    }
    .nav-links a {
        display: block;
        padding: 7px 20px;
        text-decoration: none;
        color: white;
        font-weight: bold;
        position: relative;
        margin: 5px 0;
    }
      
    .nav-links a::after {
        content: '';
        position: absolute;
        left: 20px;
        right: 20px;
        bottom: 6px;
        height: 2px;
        background: linear-gradient(to right, #999, #444); /* Metall-Optik */
        border-radius: 1px;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    }
      
    .nav-links a:hover::after {
        background: linear-gradient(to right, #ffa500, #df7500); /* Glow beim Hover */
    }      
}

/* Smartphones */
@media (max-width: 768px) {
    .burger {
        display: flex;
    }
  
    .nav-links {
        display: none;
    }
  
    .nav-links.active {
        display: flex;
    }
  
    .mine-shaft,
    .coal-pile {
        display: none !important;
    }
}
  
/* Tablets (z. B. iPad hochkant) */
@media (min-width: 769px) and (max-width: 1024px) {
    .burger {
        display: none;
    }
  
    .nav-links {
        display: flex;
    }
  
    .mine-shaft,
    .coal-pile {
        display: none;
    }
}
  
/* Desktops */
@media (min-width: 1025px) {
    .burger {
        display: none;
    }
  
    .nav-links {
        display: flex;
    }
  
    .mine-shaft,
    .coal-pile {
        display: block;
    }
}

.waz-card {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
    background-color: var(--dark-gray);
    border: 2px solid var(--accent-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
  
.waz-card img {
    width: 200px;
    object-fit: cover;
}
  
.waz-card-content {
    padding: 20px;
    flex: 1;
}
  
.waz-card-content h3 {
    color: white;
    margin-bottom: 10px;
}
  
.waz-card-content p {
    color: var(--light-gray);
    margin-bottom: 15px;
}
  
.waz-card-content a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
}
  
.waz-card-content a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .waz-card {
        flex-direction: column;
        align-items: center;
    }
  
    .waz-card img {
        width: 100%;
        max-height: 200px;
        object-fit: cover;
    }
  
    .waz-card-content {
        padding: 15px;
        text-align: center;
    }
}

#events-title {
    margin-top: 49px;
}

.hide-phone {
  display: none;
}
/* Einzelne zentrierte Event-Karte */
.event-cards.single-card {
  display: flex;
  justify-content: center;
}

.event-cards.single-card .event-card {
  width: 90vw;         /* statt max-width → relativ zur Viewport-Breite */
  max-width: 1200px;   /* optional: Deckel drauf */
  margin: 0 auto;
  text-align: center;
}

.event-cards.single-card .event-card .btn {
  display: inline-block;
  margin-top: 20px;
  text-align: center;
  padding: 12px 24px;
  font-weight: bold;
  border-radius: 5px;
  background-color: var(--accent-color); /* orange bleibt */
  color: white;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.event-cards.single-card .event-card .btn:hover {
  background-color: #ff8000; /* etwas dunkler beim Hover */
}

