/* Grundlayout */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Open Sans", Arial, sans-serif;
  background-color: #e9f5e3;
  color: #1f2d1f;
  line-height: 1.6;
}

main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
}

/* Überschriften */
h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
text-align: center;
}

h2 {
  margin-top: 2rem;
  color: #1e6f5c;
}

/* Karten / Boxen */
.card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

table {
  width: 100%;
}
th, td {
  border-bottom: 1px solid #ddd;
}
th {
  height: 70px;
}
td {
  text-align: center;
}

.abb {
  text-align: center;
  margin: 2rem auto;
}

.abb img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
dialog {
  border: none;
  border-radius: 16px;
  padding: 1.5rem;
  max-width: 700px;
}
button {
  border: none;
  outline: none;
}


dialog::backdrop {
  background: rgba(0, 0, 0, 0.55);
}

.abb figcaption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-style: italic;
  color: #444;
}


/* Buttons */
.button {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  background-color: #4db6ac;
  color: #ffffff;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.button:hover {
  background-color: #399a90;
}

/* kleinere Buttons für Abb. & Information */
.button.small {
  font-size: 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px; /* schön pillig */
}
/* Navigation */
.na

.task-box {
    flex: 1 1 calc(33% - 1.5rem);   /* ⬅️ HIER */
    max-width: 150px;
    height: 80px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    box-shadow: 0 6px 12px rgba(0,0,0,0.12);
    transition: transform 0.2s ease;
    justify-content: center;  /* horizontal */
    text-align: center;

}
/* Tooltip-Container */
.tooltip {
  position: relative;
  display: inline-block;
}

/* Tooltip-Text */
.tooltip-text {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: 125%;           /* oberhalb des Buttons */
  left: 50%;
  transform: translateX(-50%);
  width: 260px;

  background-color: #1f3f5b; /* dunkles Blau, passend zu deiner Seite */
  color: #fff;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;

  font-size: 0.85rem;
  line-height: 1.4;
  text-align: left;

  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  z-index: 1000;

  transition: opacity 0.2s ease;
}

/* kleiner Pfeil */
.tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #1f3f5b transparent transparent transparent;
}

/* Hover & Fokus */
.tooltip:hover .tooltip-text,
.tooltip:focus-within .tooltip-text {
  visibility: visible;
  opacity: 1;
}
/* Tooltip-Container */
.tooltip {
  position: relative;
  display: inline-block;
}

/* Tooltip-Farbe NUR für das Roll-over */
.tooltip-text {
  --tooltip-bg: #4db6ac;   /* ← HIER Farbe ändern */

  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  width: 260px;

  background-color: var(--tooltip-bg);
  color: #fff;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;

  font-size: 0.85rem;
  line-height: 1.4;
  text-align: left;

  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  z-index: 1000;
  transition: opacity 0.2s ease;
}

/* Pfeil unter dem Tooltip */
.tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: var(--tooltip-bg) transparent transparent transparent;
}

/* Anzeigen bei Hover & Fokus */
.tooltip:hover .tooltip-text,
.tooltip:focus-within .tooltip-text {
  visibility: visible;
  opacity: 1;
}
