a, a:link {
  color: #dd3333;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

a:hover, a:focus {
  color: #33dddd;
  text-decoration: underline;
}

a:active {
  color: #aa0000;
}
.footerlink {
    color: #333333;
    text-decoration: none;
}

.footerlink:visited {
    color: #333333;
}

.footerlink:hover,
.footerlink:focus {
    color: #33dddd;
    text-decoration: underline;
}

/* Roter Modultitel – ohne Rand, ohne Radius */
.mod-title-red h3 {
  background: linear-gradient(to bottom, #ff4b4b, #a30000);
  color: #ffffff;
  padding: 2px 2px;
  border-radius: 0;
  border-top: 2px solid white;
  font-weight: bold;
}

.mod-title-red h3 a {
  display: inline-block;
  background: linear-gradient(to bottom, #ff4b4b, #a30000);
  color: #ffffff;
  font-weight: bold;
  text-decoration: none;
}

.mod-title-red h3 a:hover,
.mod-title-red h3 a:focus {
  color: #ffffff; /* Keine Farbänderung beim Hover */
  text-decoration: underline; /* Nur Unterstreichung */
}

/* Grauer Modultitel – ebenfalls randlos und flach */
.mod-title-gray h3 {
  background: linear-gradient(to bottom, #999999, #444444);
  color: #ffffff;
  padding: 2px 2px;
  margin: 0;
  border-radius: 0;
  font-weight: bold;
  border-top: 2px solid white; /* <- weiße Linie oben */
}

/* Optional: Container (falls Template noch Abstand drumherum macht) */
.mod-title-red,
.mod-title-gray {
  margin: 0 4px 0 0; /* top right bottom left */
}

/* Einfacher grauer Kasten mit schwarzer Schrift */
.info-box {
  background-color: #f0f0f0;
  color: #000;
  padding: 2px 2px;
  text-align: center;
  font-size: clamp(0.6rem, 1rem, 2rem);
  border-radius: 8px;
  margin: 1px auto;
  line-height: 1.4;
  white-space: normal;         /* erlaubt Umbrüche */
  word-break: keep-all;        /* bricht nur an Leerzeichen */
}

/* Anstatt Tabelle -> 3 Boxen, die abhängig vom Platz nebeneinander oder untereinander abgebildet werden */
.flex-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 960px;
  margin: auto;
  gap: 1rem;
  background-color: #ffffff;
}
.flex-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 0.5rem;
}
.flex-left, .flex-right {
  flex: 1 1 150px;
  background-color: #888888;
  color: #ffffff;
  font-weight: bold;
}
.flex-center {
  flex: 3 1 500px;
  background-color: #ffffff;
  color: #000000;
  padding: 1rem;
  text-align: center;
}

.flex-left a,
.flex-right a {
  color: #dd3333;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.flex-left a:hover,
.flex-right a:hover {
  color: #33dddd;
  text-decoration: underline;
}
