/* Grundeinstellungen */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.7;
    background-color: #f8f9fa;
    color: #343a40;
    overflow-x: hidden; /* Horizontalen Scrollbalken entfernen */
    
}

header{
    background-color: #f8f9fa;
    padding: 1rem;
}
main {
    padding: 20px;
}

h1, h2, h3 {
    margin-bottom: 1rem;
    color: #212529;
    
}

a {
    text-decoration: none;
    color: #007bff;
}

.section-content {
    max-width: 1000px;
    margin: 0 auto;
}
/*Navbar*/
.navbar{
   display: flex;
   justify-content: space-between;
   align-items: center;
}

.logo{
    font-size: 1.5em;
    font-weight: 700;
}
/* Hero-Bereich */
.hero {
    background-color: #e9ecef;
    text-align: center;
    padding: 7rem 2rem; /* Vergrößert den Abstand oben und unten */
    border-radius: 10px;
    margin-bottom: 3rem;
     position: relative; /* Für den Parallax-Effekt */
    overflow: hidden; /* Stellt sicher, dass der Parallax-Effekt nicht über das Element hinausgeht */
}

.hero::before{
       content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1518548415270-48ef57eb1d2a?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    z-index: 0;
     filter: blur(3px); /* Leichter Weichzeichner für den Hintergrund */
   opacity: 0.3;  /* Etwas transparente Hintergrund */
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
     position: relative;
    z-index: 1; /* Damit der Inhalt über dem Hintergrund liegt */
}

.button {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 1.5rem;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #0056b3;
}

/* Inhaltsabschnitte */
.content-section {
    background-color: white;
    padding: 3rem 2rem; /* Erhöht den Padding, um mehr Platz zu schaffen */
    margin-bottom: 3rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
/* Animation für das Einblenden von Abschnitten*/
.content-section.visible {
    opacity: 1;
    transform: translateY(0);
}



.text-container p{
        margin-bottom: 1rem;
}
.world-map{
    display: flex;
    justify-content: center;
    padding: 2rem;
}

/* Platzhalter für visuelle Elemente (Karten, Länderbilder) */
.map-placeholder, .country-placeholder{
     width: 100%;
    height: 150px; /* Anpassen */
    background-color: #e9ecef;
    border-radius: 10px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-style: italic;
}

/* Beispiele */

.example-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}


.example {
     flex: 1;
    margin: 10px;
    text-align: center;
     transition: transform 0.3s ease;
}
.example-card {
      border-radius: 10px;
    padding: 1rem;
    background-color: #f8f9fa;
     box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    
}


.example:hover{
   transform: translateY(-5px);
}
/* Vor- und Nachteile */

.pros-cons-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.pros, .cons {
    flex: 1;
    padding: 1rem;
    margin: 10px;
    border-radius: 10px;
}
.pros{
     background-color: #d4edda;
     color: #155724;
}

.cons{
    background-color: #f8d7da;
    color: #721c24;
}
.pros ul, .cons ul {
    padding-left: 20px;
}

.pros li, .cons li{
   margin-bottom: 1rem;
}
/* Tabelle */
.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.price-table th, .price-table td {
    border: 1px solid #dee2e6;
    padding: 8px;
    text-align: center;
}

.price-table th {
    background-color: #e9ecef;
    font-weight: bold;
}
/*Quizz*/
#quiz-container{
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}
#quiz-answers{
    margin-top: 15px;
}

.quiz-button{
        display: block;
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    background-color: #fff;
    cursor: pointer;
    text-align: left;
    border-radius: 5px;
    transition: background-color 0.2s ease;
}
.quiz-button:hover{
        background-color: #e9ecef;
}

.quiz-button.selected{
    background-color: #007bff;
    color: #fff;
}
.quiz-button.correct{
       background-color: #28a745; /* Grün für richtig */
       color: #fff;
}

.quiz-button.incorrect{
     background-color: #dc3545; /* Rot für falsch */
      color: #fff;
}


#quiz-next{
     margin-top: 15px;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
#quiz-next:hover{
    background-color: #0056b3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    .example-container {
          flex-direction: column;
          align-items: center;
     }
     .pros-cons-container {
          flex-direction: column;
      }
      .pros, .cons{
        margin-left: 0;
        margin-right: 0;
      }
}