/* 1. Grundgerüst & Hintergrund */
html, body {
    min-height: 100%;
    margin: 0;
    padding: 0;
    font-family: Times new roman, sans-serif;
}

body {
    background: #39682D;
    background: linear-gradient(90deg,rgba(39, 145, 87, 1) 0%, rgba(87, 199, 106, 1) 50%, rgba(255, 255, 255, 1) 100%);
    background-attachment: fixed;
}

/* Gemeinsames Design für Header & Footer */
header, footer {
    background: #39682D;
    background: linear-gradient(90deg,rgba(39, 145, 87, 1) 0%, rgba(87, 199, 106, 1) 50%, rgba(255, 255, 255, 1) 100%);
    padding: 15px 0px;
    
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    border-bottom: 2px solid #39682D;
}

footer {
    position: fixed;
    width: 100%;
    bottom: 0;
    border-top: 2px solid #39682D;
    margin-top: 40px;
    color: #000000;
	width: 100%;
}

/* Spezielle Regel nur für Links im Footer */
.footer-content a {
    text-decoration: none; /* Entfernt den Unterstrich */
    color: #0000007c;        /* Ein helleres, frisches Grün */
    transition: 0.3s;
}

/* Hover-Effekt für den Footer-Link */
.footer-content a:hover {
    color: #39682D;        /* Wird beim Drüberfahren weiß */
    text-decoration: none; /* Bleibt ohne Unterstrich */
}

/* Flex-Container für Ausrichtung (Logo links, Text daneben) */
.header-content, .footer-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
	font-family: Times new roman, sans-serif;
}

.office {
    text-align: left;
    color: #000000;
    font-size: 0.9rem;
    line-height: 1.4;
}

.header-content img, .footer-content img {
    height: 80px; /* Einheitliche Höhe für Logos */
    width: auto;
}

.header-content h1, .footer-content p {
    margin: 0;
    color: #000000;
}

/* 2. Container-Layout */
.container {
    max-width: 920px;
    margin: 20px auto;
    padding: 20px;
}

.tab-container {
    display: flex;
    margin-top: 100px;
    align-items: stretch;
    border: 1px solid #39682D;
    font-family: Times new roman, sans-serif;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* 3. Linke Spalte: Die Tabs */
.tab {
    flex: 0 0 30%;
    border-right: 1px solid #39682D;
    background-color: rgba(0, 0, 0, 0.05);
}

.tab button {
    display: flex;      /* Korrigiert: Nur einmal display: flex */
    align-items: center;
    gap: 12px;
    background-color: transparent;
    color: rgb(0, 0, 0);
    padding: 20px 16px;
    width: 100%;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: 0.3s;
    font-size: 20px;
	font-family: Times new roman, sans-serif;
    border-bottom: 1px solid #39682D;
}

.tab button:hover {
    background-color: rgba(57, 104, 45, 0.2);
}

.tab button.active {
    
    font-weight: bold;
}

.tab-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

/* 4. Rechte Spalte: Der Inhalt */
.tabcontent {
    flex: 1;
    padding: 40px;
	font-size: 19.5px;
    display: none; /* Wird per JS gesteuert */
    
    /* WICHTIG: Erlaubt dem Pseudo-Element sich hier auszurichten */
    position: relative; 
    z-index: 1;
    overflow: hidden; 

    /* Blocksatz-Einstellungen (Text ist 100% deckend) */
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    
    /* Optische Optimierung */
    line-height: 1.9; 
    font-weight: 200;
    color: #000000; /* Textfarbe explizit voll deckend */
}

/* Neues Pseudo-Element nur für das Hintergrundbild */
.tabcontent::before {
    content: "";
    position: absolute;
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0;
    
    /* Deine Bild-Eigenschaften hierher verschieben */
    background-image: url("img/Igel_w.png");
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: 100% auto;
    
    /* Nur das Bild wird transparent */
    opacity: 0.4; 
    
    /* Hinter den Text schieben */
    z-index: -1; 
}

/* 5. Responsive Design */
@media screen and (max-width: 600px) {
    .tab-container { flex-direction: column; }
    .tab { flex: 0 0 100%; border-right: none; }
    .header-content, .footer-content { flex-direction: column; text-align: center; }
}

#myBtn {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 80px; /* Place the button at the bottom of the page */
  right: 20px; /* Place the button 30px from the right */
  z-index: 9999; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: rgb(42, 82, 32); /* Set a background color */
  color: white; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 15px; /* Some padding */
  border-radius: 90px; /* Rounded corners */
  font-size: 18px; /* Increase font size */
}

#myBtn:hover {
  background-color: #555; /* Add a dark-grey background on hover */
}