/* ==== Basis ==== */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: #222 !important;
  color: #fff;
  overflow-y: auto;
  scroll-behavior: smooth;
}

/* ==== Container (Boxen, Login etc.) ==== */
.login-container {
  width: 100%;
  max-width: 600px;
  margin: 32px auto 0 auto;
  padding: 32px 36px;
  background: #333 !important;
  border-radius: 16px;
  box-shadow: 0 4px 40px 0 rgba(0,0,0,0.07);
  color: #fff;
}

.info-box {
  background: #333 !important;
  border: 1px solid #fff;
  color: #fff;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 6px;
  line-height: 1.8;
}

/* ==== Buttons ==== */
.button-link, .button-link.green-button {
  background: linear-gradient(90deg, #59a14f 60%, #4e79a7 100%);
  color: #fff;
  padding: 14px 38px;
  font-size: 1.2em;
  border-radius: 8px;
  border: none;
  box-shadow: 0 2px 10px rgba(76, 175, 80, 0.10);
  font-weight: bold;
  transition: background 0.3s;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
}
.button-link.green-button:hover,
.button-link:hover {
  background: linear-gradient(90deg, #4e79a7 20%, #59a14f 100%);
  color: #fff;
}

/* ==== Logo ==== */
.left-logo, .logo {
  width: 300px;
  display: block;
  margin: 20px 0 20px 0;
}

/* ==== Tabelle Tarifvergleich ==== */
.tarif-table-wrapper {
  max-width: 600px;
  margin: 0 auto 24px auto;
}
.tarif-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9em;
  overflow-x: auto;
  display: block;
  background: #333;
}
.tarif-compare-table th, .tarif-compare-table td {
  padding: 8px 4px;
  border-bottom: 1px solid #444;
  text-align: center;
}
.tarif-compare-table th {
  background: #333;
  color: #4e79a7;
  font-weight: bold;
}

/* ==== Menü / Navigation ==== */
nav.centered-navbar {
  margin-bottom: 20px;
  text-align: left;
  border-bottom: 1px solid #444;
  padding-bottom: 10px;
  background: none;
}
.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: white;
  margin-bottom: 10px;
}
nav.centered-navbar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
nav.centered-navbar ul li {
  display: inline-block;
  margin: 0 2px;
}
nav.centered-navbar ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}
nav.centered-navbar ul li a:hover {
  text-decoration: underline;
}

/* ==== Responsive Navigation ==== */
@media (max-width: 768px) {
  nav.centered-navbar { text-align: left !important; }
  .menu-toggle { display: block !important; padding-left: 10px; }
  .nav-links { 
    display: none !important; 
    flex-direction: column !important; 
    align-items: flex-start !important; 
    gap: 6px !important; 
    padding-left: 15px !important; 
    margin-top: 10px !important; 
  }
  .nav-links.active { display: flex !important; }
  nav.centered-navbar ul li { 
    display: block !important; 
    margin: 1px 0 !important; 
    line-height: 1.2 !important; 
  }
  nav.centered-navbar ul li a { 
    font-size: 16px !important; 
    line-height: 1.2 !important; 
  }
  .left-logo, .logo { width: 90%; margin: 0 auto 20px; }
  .login-container { padding: 10px !important; }
}
@media (max-width: 900px) {
  .left-logo, .logo { width: 280px; }
  h1 { font-size: 1.3em !important; }
  .button-link.green-button { font-size: 1em; padding: 10px 16px; }
}
@media (max-width: 600px) {
  .login-container { width: 95%; padding: 20px 10px; }
}

/* ==== Footer ==== */
.footer-container {
  text-align: center;
  padding: 20px 10px;
  color: #ffffff;
  font-size: 14px;
  background: #333 !important;
  border-top: 1px solid #444;
  margin-top: 40px;
}
.footer-container a { color: #ffffff; text-decoration: none; }
.footer-container a:hover { color: #cccccc; }
.footer-container .footer-links { font-size: 12px; color: #bbbbbb; }

/* ==== Kundenstimmen, Siegel ==== */
.testimonial-block { 
  font-size: 1.02em; 
  margin-bottom: 10px; 
  padding-left: 16px; 
  border-left: 3px solid #59a14f; 
}
.testimonial-author { color: #bbb; font-size: 0.93em; }
.guetesiegel img { height: 28px; vertical-align: middle; margin-right: 10px; }

/* ==== Allgemeine Elemente ==== */
h1, h2, h3, h4, h5 {
  color: #d4edda;
  text-align: center;
  margin-bottom: 20px;
}
p, li {
  color: #fff;
}
a, a:visited { color: #fff; text-decoration: none; }
a:hover, a:focus { color: #cccccc; text-decoration: underline; }

/* ==== Listen/Details ==== */
ul { margin: 0 0 10px 18px; }
li { margin-bottom: 7px; }

/* ==== Sonstiges ==== */
::-webkit-scrollbar {
  width: 10px;
  background: #333;
}
::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 8px;
}

/* ==== Tabelle Hover ==== */
tr:hover {
  background: #2e2e2e;
}

	/* --- Standard Menü --- */
nav.centered-navbar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

nav.centered-navbar ul li {
  display: inline-block;
  margin: 0 2px;
}

nav.centered-navbar ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

nav.centered-navbar ul li a:hover {
  text-decoration: underline;
}

/* --- Burger Icon --- */
.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: white;
  margin-bottom: 10px;
}

/* --- Responsive (mobil) --- */
@media (max-width: 768px) {
  nav.centered-navbar {
    text-align: left;
  }

  .menu-toggle {
    display: block;
    padding-left: 10px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px; /* kleinerer Abstand zwischen den Elementen */
    padding-left: 15px;
    margin-top: 10px;
  }

  .nav-links.active {
    display: flex;
  }

  nav.centered-navbar ul li {
    display: block;
    margin: 1px 0; /* engerer vertikaler Abstand */
    line-height: 1.2; /* engerer Zeilenabstand */
  }

  nav.centered-navbar ul li a {
    font-size: 16px;
    line-height: 1.2; /* engerer Zeilenabstand im Linktext */
  }
}


/* --- Responsive: Mobil Portrait = Burger Menü --- */
@media (max-width: 768px) and (orientation: portrait) {
  nav.centered-navbar { text-align: left !important; }
  .menu-toggle { display: block !important; padding-left: 10px; }
  .nav-links { 
    display: none !important; 
    flex-direction: column !important; 
    align-items: flex-start !important; 
    gap: 6px !important; 
    padding-left: 15px !important; 
    margin-top: 10px !important; 
  }
  .nav-links.active { display: flex !important; }
  nav.centered-navbar ul li { 
    display: block !important; 
    margin: 1px 0 !important; 
    line-height: 1.2 !important; 
  }
  nav.centered-navbar ul li a { 
    font-size: 16px !important; 
    line-height: 1.2 !important; 
  }
}

/* --- Responsive: Mobil Landscape = Normale Links, Burger weg --- */
@media (max-width: 768px) and (orientation: landscape) {
  nav.centered-navbar { text-align: center !important; }
  .menu-toggle { display: none !important; }
  .nav-links, .nav-links.active {
    display: flex !important;
    justify-content: center !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 2px !important;
    padding-left: 0 !important;
    margin-top: 0 !important;
  }
  nav.centered-navbar ul {
    width: 100% !important;
    text-align: center !important;
    padding-left: 0 !important;
    margin: 0 !important;
  }
  nav.centered-navbar ul li {
    display: inline-block !important;
    margin: 0 1px !important;
    line-height: 1.4 !important;
  }
  nav.centered-navbar ul li a {
    font-size: 18px !important;
    line-height: 1.4 !important;
  }
}
