@charset "utf-8";
/* ================================================================= 
   ISBTech Zentrales Stylesheet - Ingenieur- & Sachverständigenbüro
   ================================================================= */

/* Grundlegendes Layout */
body { 
  font-family: Arial, sans-serif; 
  line-height: 1.6; 
  margin: 0; 
  padding: 0; 
  background: #ffffff; 
  color: #333; 
}

/* Header & Logo */
header { 
  background: #ffffff; 
  color: #333; 
  padding: 1em; 
  text-align: center; 
}

header img { 
  max-width: 100%; 
  height: auto; 
  display: block; 
  margin: 0 auto 1.5em auto; 
}

/* Navigation als Flexbox */
nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

nav a { 
  display: inline-block;
  background: #005f73; 
  color: #ffffff; 
  text-decoration: none; 
  padding: 6px 12px;
  font-size: 14px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

nav a:hover {
  background: #0a9396;
}

nav a.active {
  background: #0096c7;
  color: #ffffff;
}

nav a.active:hover {
  background: #0077b6;
}

/* Hauptbereich */
main { 
  padding: 2em; 
  max-width: 900px; 
  margin: auto; 
  background: white; 
}

/* Typografie */
h1 {
  margin-bottom: 0.2em;
  color: #005f73;
  font-size: 1.8em;
}

h2 {
  color: #005f73;
  font-size: 1.4em;
  margin-top: 1.5em;
  margin-bottom: 0.8em;
  border-bottom: 2px solid #0a9396;
  padding-bottom: 5px;
}

h3 {
  color: #0a9396;
  font-size: 1.2em;
  margin-top: 1.2em;
}

p {
  margin-bottom: 15px;
  font-size: 1.05em;
}

/* Listen & Häkchen */
ul, ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

li {
  margin-bottom: 8px;
}

ul.check-list {
  list-style: none;
  padding-left: 0;
  margin: 0.8em 0;
}

ul.check-list li {
  position: relative;
  padding-left: 1.8em;
  margin-bottom: 0.6em;
}

ul.check-list li::before {
  content: "✅";
  position: absolute;
  left: 0;
  top: 0;
}

/* Buttons */
a.button { 
  display: inline-block; 
  margin-top: 1em; 
  margin-bottom: 1em;
  padding: 0.6em 1.2em; 
  background: #005f73; 
  color: white; 
  text-decoration: none; 
  border-radius: 5px; 
  font-weight: bold;
  transition: background-color 0.2s ease;
}

a.button:hover {
  background: #0a9396;
}

/* Karten & Boxen */
.card {
  background-color: #f4f6f7;
  border: 1px solid #dcdcdc;
  border-left: 5px solid #005f73;
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 25px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

/* Tabellen */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

th, td {
  border: 1px solid #dcdcdc;
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

th {
  background-color: #005f73;
  color: white;
  font-weight: bold;
}

tr:nth-child(even) {
  background-color: #f4f6f7;
}

/* Rechtliche Hinweise / Kleingedrucktes */
.legal-note {
  font-size: 0.9em;
  color: #555;
  margin-top: 10px;
}

/* Social-Media-Icons im Footer (garantiert weiß) */
.footer-socials {
  margin: 15px 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-socials a {
  text-decoration: none;
  font-size: 1.3em;
  transition: transform 0.2s ease;
}

.footer-socials a i {
  color: #ffffff !important;
  transition: color 0.2s ease;
}

.footer-socials a:hover {
  transform: translateY(-2px);
}

.footer-socials a:hover i {
  color: #0a9396 !important;
}

/* Footer Bereich */
footer { 
  background: #005f73; 
  color: white; 
  padding: 1.5em 1em; 
  text-align: center; 
}

footer nav {
  margin-top: 0.8em;
  gap: 12px;
}

footer nav a {
  background: transparent;
  color: #ffffff;
  padding: 0;
  font-size: 14px;
  text-decoration: underline;
}

footer nav a:hover {
  background: transparent;
  color: #e0e0e0;
}

/* ================================================================= 
   Cookie-Banner (Schwebt fest am unteren Bildschirmrand)
   ================================================================= */
.cookie-banner {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  background-color: #212529 !important; /* Anthrazit */
  color: #ffffff !important;
  padding: 18px 20px !important;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.4) !important;
  z-index: 999999 !important;
  box-sizing: border-box !important;
  font-family: Arial, sans-serif !important;
  display: flex !important;
}

.cookie-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

@media (min-width: 768px) {
  .cookie-content {
    flex-direction: row;
  }
}

.cookie-banner p {
  margin: 0 !important;
  font-size: 0.95em !important;
  line-height: 1.5 !important;
  color: #ffffff !important;
  flex: 1;
}

.cookie-buttons {
  display: flex !important;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 20px !important;
  font-size: 0.95em !important;
  font-weight: bold !important;
  border: none !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease;
}

/* Akzeptieren-Button (Petrol-Ton) */
.cookie-btn-accept {
  background-color: #005f73 !important;
  color: #ffffff !important;
}

.cookie-btn-accept:hover {
  background-color: #0a9396 !important;
}

/* Ablehnen-Button (Dezenter) */
.cookie-btn-decline {
  background-color: #495057 !important;
  color: #ffffff !important;
}

.cookie-btn-decline:hover {
  background-color: #343a40 !important;
}