/* ===============================
   Global Styles
   =============================== */
body {
    background-color: #222831;   /* Dunkler Hintergrund */
    color: white;                 /* Weißer Text für Kontrast */
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0 50px;             /* Seitenabstand */
    height: 2000px;              /* Scrollbereich */
    margin-top: 200px;           /* Platz über Header */
    font-size: 150%;
    line-height: 1.3;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    
}

/* ===============================
   Tabellen Styling
   =============================== */
table {
    width: 100%;
    margin: 0;
    border: 10px solid rgb(109, 109, 109);
    border-collapse: separate;
    border-radius: 50px;
    background-color: rgb(109, 109, 109);
    box-shadow: 0 0 8px #000000;
}

th, td {
    border: 1px solid rgb(109, 109, 109);
    background-color: rgb(109, 109, 109);
    padding: 8px;
    text-align: center;
}

/* ===============================
   Container Styling (Bild + Text)
   =============================== */
.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-left: 50px;
    margin-right: 50px;   
    margin-top: 50px;
    gap: 30px;
    text-align: center;
    }

    .container3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-left: 50px;
    margin-right: 50px;
    margin-top: 250px;
    gap: 30px;
    text-align: center;
    }

     .container4 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-left: 50px;
    margin-right: 50px;
    margin-top: 10px;
    gap: 30px;
    text-align: center;
    }

    
    .container2 {
         display: flex;
  justify-content: center; /* horizontal mittig */
  align-items: center;     /* vertikal mittig */
  margin-left: 50px;
    margin-right: 50px;  
    margin-top: 50px;
    }
    

/* ===============================
   Listen Styling
   =============================== */
ul {
    text-align: left;
    line-height: 1.8;
    font-size: 90%;
}

/* ===============================
   Buttons
   =============================== */
.show-button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.show-button:hover {
    background-color: rgb(109, 109, 109);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* ===============================
   Versteckter Text
   =============================== */
.hidden-text {
    display: none;
    margin-top: 1opx;
    font-size: 18px;
    background-color: #333;
    padding: 0px;
    border-radius: 50px;
    box-shadow: 0 0 12px rgba(0,0,0,0.3);
}

/* ===============================
   Header Styling
   =============================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 95%;
    background: #222831;
    color: white;
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 1000;
}

header h1,
header h1 a {
    color: white;
    text-decoration: none;
    cursor: pointer;
    margin: 0 0 10px 0;
    font-size: 80px;
    transition: color 0.3s;
    text-shadow: 0 0 12px #000000;
}



header h1:hover,
header h1 a:hover {
    color: gray;
}

/* Navigation Tabelle */
header table {
    border: none;
    background: rgb(109, 109, 109);
    border-collapse: collapse;
    cursor: pointer;
}

header td {
    padding: 10px 15px;
    border: none;
    background: transparent;
    color: white;
    font-size: 18px;
}

header table a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

header table a.active {
    background-color: rgb(80, 200, 80); /* Grün für aktive Seite */
    color: white;
    border-radius: 50px;
    padding: 7px 10px;
}

header table a:hover {
    color: gray;
}

/* Shrink Effekt */
header.shrink {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
}

header.shrink h1 {
    margin: 0;
    font-size: 20px;
}

header.shrink td {
    padding: 5px 15px;
}

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

/* ===============================
   Allgemeine Links
   =============================== */
a {
    color: white;
    text-decoration:none ;
    font-weight: bold;
     color: #4CAF50;
    
}

a:hover {
    color: #333;
}


/* ===============================
   Überschriften
   =============================== */
h2 {
   
    scroll-snap-align: start;
    text-align: center;
    font-weight: bold;
    font-size: 2.5rem;
    text-shadow: 0 0 12px #000000;
    margin-top: 75px;
    margin-bottom: 0px;
}

/* ===============================
   Textblöcke
   =============================== */
.text {
    text-align: center;
    text-shadow: 0 0 12px #000000;
}

.text1 {
    text-align: left;
    text-shadow: 0 0 6px#555;
  
    margin-top: 50px;
    font-size: 100%;
}


/* ===============================
   Sprechblasen (Chat-Style)
   =============================== */
.sprechblase1 {
    display: block;
    background: #81C784;
    color: rgb(0, 0, 0);
    padding: 5px 20px;
    border-radius: 50px;
    position: relative;
    font-family: Arial, sans-serif;
    text-shadow: 0px 0px 1px rgb(0, 0, 0.6);
    box-shadow: 0 0 8px #000000;
}

 .sprechblase2,.sprechblase3,.sprechblase4, .sprechblase5,
.sprechblase6, .sprechblase7 {
    display: none;
    background: #81C784;
    color: rgb(0, 0, 0);
    padding: 5px 20px;
    border-radius: 50px;
    position: relative;
    font-family: Arial, sans-serif;
    text-shadow: 0px 0px 1px rgb(0, 0, 0.6);
    box-shadow: 0 0 8px #000000;
}


.sprechblase1, .sprechblase3, .sprechblase5, .sprechblase7 {
    margin: 0 0 5px 20px; /* Links ausgerichtet */
    text-align: left;
    max-width: 500px;
    
}

.sprechblase2, .sprechblase4, .sprechblase6 {
    margin: 0 0 5px 700px; /* Rechts ausgerichtet */
    text-align: right;
    max-width: 60%;
}

/* Pfeile */
.sprechblase1::after, .sprechblase2::after,.sprechblase3::after,.sprechblase4::after, .sprechblase5::after,
.sprechblase6::after, .sprechblase7::after  {
    content: "";
    position: absolute;
    bottom: -20px;
    border-width: 25px 25px 0;
    border-style: solid;
    border-color: #81C784 transparent transparent transparent;
    
}

.sprechblase1::after, .sprechblase3::after, .sprechblase5::after, .sprechblase7::after  {
    left: 30px;
}

.sprechblase2::after, .sprechblase4::after, .sprechblase6::after {
    right: 30px;
}

.sprechblase1.show,
.sprechblase2.show,
.sprechblase3.show,
.sprechblase4.show,
.sprechblase5.show,
.sprechblase6.show,
.sprechblase7.show {
  opacity: 1;
}

/* ===============================
   Bilder
   =============================== */
.image {
    border-radius: 50px;
    object-fit: cover;
    box-shadow: 0 0 12px#000000;
}

/* ===============================
   Kontaktformular
   =============================== */
.contact-form table {
    width: 100%;
    margin: 40px auto;
    border-collapse: separate;
    border-spacing: 0 15px;
}

.contact-form td {
    padding: 5px 10px;
}

.contact-form input {
    width: 95%;
    padding: 12px 15px;
    border-radius: 12px;
    border: 1px solid #555;
    background-color: #1a1a1a;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.contact-form .topic2-container input {
  width: 97%;
  padding: 12px 15px;
  border-radius: 12px;
  border: 1px solid #555;
  background-color: #1a1a1a;
  color: white;
  font-size: 16px;
}



.contact-form select{
    width: 100%;
    padding: 12px 15px;
    border-radius: 12px;
    border: 1px solid #555;
    background-color: #1a1a1a;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}


.contact-form textarea {
    width: 95%;
    padding: 12px 15px;
    border-radius: 12px;
    border: 1px solid #555;
    background-color: #1a1a1a;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}
.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 8px #4CAF50;
}

.contact-form button {
    background-color: #4CAF50;
    color: white;
    padding: 12px 25px;
    font-size: 16px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 250px;
}

.textarea-container {
  position: relative;
  width: 100%;
}

.textarea-container textarea {
  width: 97%;
  min-height: 120px;
  padding: 15px;
  border-radius: 12px;
  border: 1px solid #555;
  background-color: #1a1a1a;
  color: white;
  font-size: 16px;
  resize: vertical;
}

.textarea-container #charCount {
  position: absolute;
  bottom: 8px;
  right: 12px;
  font-size: 12px;
  color: #aaa;
}

.contact-form button:hover {
    background-color: #45a049;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Labels */
label {
    font-weight: bold;
    font-size: 14px;
}

/* ===============================
   Responsive Design
   =============================== */
@media (max-width: 600px) {
    .contact-form table,
    .container {
        width: 90%;
    }

    header {
        padding: 15px 20px;
    }

    header h1 {
        font-size: 25px;
    }

    header td {
        font-size: 16px;
        padding: 5px 10px;
    }
}

/* Pop-up Overlay */
.popup-overlay {
  display: none; /* unsichtbar bis geöffnet */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

/* Pop-up Box */
.popup-content {
  background-color: #1a1a1a;
  color: white;
  padding: 40px;
  border-radius: 50px;
  max-width: 800px;
  width: 100%;
  height: 60%;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  position: relative;
  text-align: left;
  font-family: Arial, sans-serif;
  line-height: 1;
  overflow-y: auto;        /* Scrollbar, wenn Inhalt größer ist */
  
}

/* Close Button */
.close-button {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: #4CAF50;
  transition: color 0.3s;
}

.close-button:hover {
  color: #81C784;
}

/* Footer Link */
footer a#openImpressum,
footer a#openPrivacy {
  color: #4CAF50;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a#openImpressum:hover,
footer a#openPrivacy:hover {
  color: gray;
  text-decoration: none;
}

footer {
    text-align: center;      /* Text horizontal zentrieren */
    padding: 20px 0;         /* Innenabstand oben/unten */
    background-color: rgb(109, 109, 109); /* optional: Hintergrundfarbe */
    color: white;            /* Textfarbe */
    font-size: 14px;         /* Schriftgröße anpassen */
    border-radius: 50px;
    box-shadow: 0 0 8px #000000;
    margin-bottom: 50px;
    text-shadow: 0 0 4px #000000;
}

/* Banner */
.cookie-banner {
  position: fixed;
  bottom: 50px;
  left: 50px;
  right: 50px;
  background-color: #222831;
  color: white;
  padding: 20px 30px;
  border-radius: 50px;
  box-shadow: 0 0 12px #000000;
  z-index: 1500;
  font-family: Arial, sans-serif;
  text-align: center;
}

.cookie-banner p {
  margin: 0 0 15px 0;
  font-size: 1rem;
  line-height: 1.5;
  text-shadow: 0 0 6px #000000;
}

.cookie-banner a {
  color: #4CAF50;
  font-weight: bold;
  text-decoration: none;
}

.cookie-banner a:hover {
  color: #81C784;
  text-decoration: underline;
}

/* Buttons Container */
.cookie-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Accept Button (grün) */
.accept-analytics {
    padding: 12px 25px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgba(0,0,0,0.3);
}

.accept-analytics:hover {
    background-color: #81C784;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

/* Reject Button (dunkel) */
.reject-analytics {
    padding: 12px 25px;
    background-color: #1a1a1a; /* dunkel, passend zum restlichen Design */
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgba(0,0,0,0.3);
}

.reject-analytics:hover {
    background-color: #555; /* etwas heller beim Hover */
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}