/* === Modular Text: Bild & Text vertikal zentrieren === */
.section.modular-text .columns.left {
  display: flex;
  align-items: center;  /* vertikal mittig */
}

/* Bild in seiner Spalte horizontal mittig */
.section.modular-text .columns.left .column:last-child {
  display: flex;
  justify-content: center; /* horizontal zentrieren */
}

/* Optional: Text-Column leicht nach rechts einrücken für Balance */
.section.modular-text .columns.left .column:first-child {
  padding-right: 2rem;
}
.section.modular-text a {
  color: #0f4b63 !important;

}
/* Buttons ausschließen → sie sollen ihre eigene Farbe behalten */
.section.modular-text a.btn,
.section.modular-text a.btn-primary {
  color: #fff !important;
}

/* Responsiveness: auf Mobilgeräten automatisch umbrechen */
@media (max-width: 768px) {
  .section.modular-text .columns.left {
    display: block;
  }
  .section.modular-text .columns.left .column:last-child {
    display: block;
    text-align: center; /* zentriert auch Text und Bild im mobilen Layout */
  }
}

.section.modular-text.kontakt .image-wrapper img {
  max-width: 60%;     /* skaliere das Bild relativ kleiner */
  height: auto;
}
.section.modular-text.kontakt .image-wrapper {
  text-align: center;
}
.section.modular-text.impressum .image-wrapper img {
  max-height: 50px;     /* skaliere das Bild relativ kleiner */
  height: auto;
}
/* Überschreibt Standardüberschriften im Frame-Box-Layout */
.frame-box h1 {
  margin-top: 0 !important;      /* entfernt den oberen Rand vollständig */
  margin-block-start: 0 !important; /* für browserseitige Varianten */
  padding-top: 0 !important;    /* falls ein Padding ins Spiel kommt */
  line-height: 1.2;
}

/* Für Folge-Überschrift (H2) weniger Abstand nach oben */
.frame-box h2 {
  margin-top: 0.5rem !important;
}
/* Weißer Glow nach oben */
.frame-box--first::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 100%;           /* Glow sitzt oberhalb der Box */
  width: 100%;
  height: 120px;          /* Höhe des Glow-Bereichs */
  background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Elternbox vorbereiten */
.frame-box {
  position: relative;
  padding: 0 !important;
  overflow: visible; /* erlaubt, dass der Glow nach außen sichtbar ist */
}
.modular-text {
    background: #ffffff !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.column {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.mt-50 {  /*spacer*/
  padding-top: 50px !important;
  width:100% !important;
}

/* Header immer weiß, auch ganz oben */
#header {
  background: #0f4b63 !important;
  transition: background 0.3s ease;
    color: #000000 !important;
}

/* Wenn der Header die Klasse "scrolled" bekommt – bleib weiß! */
#header.scrolled {
  background: #fff !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* optional subtiler Schatten beim Scrollen */
}

/* Schrift/Links im Header immer schwarz */
#header a, 
#header .navbar-section a,
#header .logo,
#header #navbar a {
  color: #000 !important;
}

/* Optional: Burger-Icon (mobil) auch schwarz */
#header .nav-toggle span,
#header .nav-toggle::before,
#header .nav-toggle::after {
  background-color: #000 !important;
}

/* Primärer Button in Blau */
.btn.btn-primary {
  background-color: #0f4b63;    /* intensives Bootstrap-Blau */
  border-color: #004085;
  color: #fff;
}

/* Hover‑ & Active‑Zustände */
.btn.btn-primary:hover,
.btn.btn-primary:focus,
.btn.btn-primary:active {
  background-color: #0f4b63;    /* dunkleres Blau beim Hover */
  border-color: #004085;
  color: #fff;
  transform: scale(1.02);
  opacity: 0.85;
}

/* === Feature Icons: Grundfarbe & Glow-Effekt === */
.feature-icon i {
  color: #0f4b63;                     /* kräftiges Blau */
  font-size: 3rem;                    /* etwas größer für Präsenz */
  transition: all 0.3s ease;          /* weicher Übergang bei Hover */
  text-shadow: none;                  /* ohne Standardglow */
}

/* Hover-Effekt: blauer Glow */
.feature-icon:hover i {
  color: #0f4b63 !important;                     /* Farbe bleibt, aber intensiver Glow */
  text-shadow: 0 0 12px rgba(0,123,255,0.6),
               0 0 24px rgba(0,123,255,0.3);
  transform: scale(1.05);             /* leichtes Aufblitzen */
}

/* Optional: Überschrift beim Hover leicht färben */
.feature-icon:hover h6 {
  color: #0f4b63;
  transition: color 0.3s ease;
}
/* === Feature Columns Hover Style === */

/* Grundzustand jeder Kachel */
.columns .column {
  background-color: #ffffff;         /* weißer Hintergrund */
  border-radius: 10px;               /* leicht abgerundet */
  padding: 2rem 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 rgba(0, 123, 255, 0); /* unsichtbar im Normalzustand */
}

/* Hover: blaue Akzentfarbe + Glow-Effekt */

/* Icon im Grundzustand blau */
.columns .column .feature-icon i {
  color: #0f4b63;
  transition: all 0.3s ease;
}

/* Icon/Überschrift reagieren, wenn die ganze Spalte gehovert wird */
.columns .column:hover .feature-icon i,
.columns .column:hover .feature-icon h6 {
  color: #0f4b63;
  text-shadow: 0 0 12px rgba(15,5,99,0.5);
}

/* Überschrift leicht betonen */
.columns .column .feature-icon h6 {
  text-transform: uppercase;
  margin-top: 0.6rem;
}

/* Container für Social/Plattform‑Links */
.platform-links {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
  margin-left: 20px;
  margin-top: 10px;
}

/* Einheitliche Icon-Größe */
.platform-links img {
  width: 40px;
  height: auto;
  padding-bottom: 20px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  cursor: pointer; /* Mauszeiger als Finger */
  display: block;           /* verhindert baseline-Versatz */
}

/* Hover-Effekt für ALLE Icons (egal ob in <a> oder direkt im Container) */
.platform-links img:hover {
  transform: scale(1.1);
  opacity: 0.85;
}

/* Wrapper erzwingt Blockfluss innerhalb der Column */
/* Ziel: alles in der Bildspalte (Bild + Caption) horizontal zentrieren */
.image-column {
  display: flex;
  flex-direction: column;     /* Bild + Text untereinander */
  align-items: center;        /* horizontal zentrieren */
  justify-content: center;    /* vertikal bei Bedarf */
  text-align: center;
}

/* Bildgröße normalisieren */
.image-column img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Caption leicht absetzen */
.image-caption {
  margin-top: 10px;
  font-style: italic;
  color: #555;
  font-size: 0.95rem;
}


