﻿/* =========================================================
   BRG14 STARTSEITE
   ---------------------------------------------------------
   Startseiten-spezifische Komponenten und Layouts

   ZustÃƒÂ¤ndig fÃƒÂ¼r:
   - Startseiten-Wrapper
   - Desktop-/Mobile-Hero-Umschaltung
   - Mobile-Hero
   - Hero-Transition
   - Onepage-Navigation
   - Hinweisbox
   - Schulprofil-Featureliste
   - Bildleiste
   - Kooperationen
   - Startseiten-Section-Header

   Verwendet globale Systeme aus:
   - base.css
   - typography.css
   - components.css

   NICHT zustÃƒÂ¤ndig fÃƒÂ¼r:
   - globale Typografie
   - globale Kartenbasis
   - globale Listen
   - Standardseiten-Hero
   - MenÃƒÂ¼
   - Footer
   ========================================================= */


/* =========================================================
   STARTSEITEN-WRAPPER
   ---------------------------------------------------------
   Die Gutenberg-Gruppe dient nur als CSS-Anker.
   Sie soll selbst kein Layout erzeugen.
   ========================================================= */

.brg14-home {
  display: contents;
}


/* =========================================================
   DESKTOP-/MOBILE-HERO-UMSCHALTUNG
   ---------------------------------------------------------
   Desktop:
   - Kadence-Hero sichtbar
   - Mobile-Hero ausgeblendet

   Tablet/Mobile:
   - Kadence-Hero ausgeblendet
   - Mobile-Hero sichtbar
   ========================================================= */

@media (max-width: 1024px) {
  .brg14-home .brg14-hero {
    display: none !important;
  }
}

@media (min-width: 1025px) {
  .brg14-mobile-hero {
    display: none;
  }
}


/* =========================================================
   DESKTOP HERO
   ---------------------------------------------------------
   Eigenstaendiger Desktop-Hero fuer die Startseite.
   Typografie, Buttons und Kartenbasis kommen aus den
   globalen Klassen.
   ========================================================= */

.brg14-desktop-hero {
  display: grid;
  grid-template-columns:
    minmax(0, calc((100vw - 1290px) / 2 + 600px))
    minmax(0, 690px)
    minmax(24px, 1fr);

  overflow: hidden;

  background: #F5EEE6;
}

.brg14-desktop-hero-image {
  grid-column: 1;

  overflow: hidden;
}

.brg14-desktop-hero-image img {
  display: block;

  width: 100%;
  height: auto;
}

.brg14-desktop-hero-content {
  grid-column: 2;

  display: flex;
  align-items: flex-start;
  justify-content: flex-start;

  padding: clamp(28px, 3vw, 54px) 0 0 clamp(18px, 2vw, 34px);
}

.brg14-desktop-hero-card {
  width: 100%;
  max-width: 620px;

  padding: clamp(36px, 2.7vw, 50px) clamp(32px, 2.45vw, 44px) clamp(28px, 2.1vw, 38px);

  border: 1px solid rgba(0, 0, 0, .14);
  border-radius: 0;

  background: #F5EEE6;

  box-shadow:
    0 18px 45px rgba(7, 31, 70, 0.08);
}

.brg14-desktop-hero-card .brg14-page-hero-kicker {
  margin-top: 0 !important;
  margin-bottom: clamp(20px, 1.35vw, 26px) !important;
  padding: 0 !important;

  color: #2E5D8E !important;

  font-size: clamp(14px, .82vw, 16px);
  font-weight: 700;
  line-height: 1.25;

  letter-spacing: 0;
  text-transform: none;
}

.brg14-desktop-hero-card .brg14-page-hero-title {
  margin-top: 0 !important;
  margin-bottom: clamp(16px, 1.3vw, 22px) !important;
  padding-top: 0 !important;

  color: var(--brg14-muted);

  font-family: "Poppins";
  font-size: clamp(38px, 2.8vw, 52px) !important;
  line-height: 1.07 !important;
  letter-spacing: -0.035em;
}

.brg14-desktop-hero-card .brg14-page-hero-subtitle {
  margin-top: 0;
  margin-bottom: clamp(30px, 2.2vw, 40px) !important;

  color: var(--brg14-text);

  font-size: clamp(15px, .88vw, 17px);
  line-height: 1.45;
}

.brg14-desktop-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;

  margin-top: 0 !important;
  margin-bottom: clamp(18px, 1.4vw, 24px);
}

.brg14-desktop-hero-buttons .brg14-button:hover {
  transform: none;
}

.brg14-desktop-hero-buttons .brg14-button-secondary {
  border-color: rgba(7, 30, 66, 0.28);

  background: transparent;
  color: #071E42;
}

.brg14-desktop-hero-buttons .brg14-button-secondary:hover {
  border-color: #2957A3;

  background: #2957A3;
  color: #FFFFFF;
}

.brg14-desktop-hero-card .brg14-meta {
  margin: 0;
  color: var(--brg14-text) !important;

  font-size: clamp(16px, 1vw, 19px);
  line-height: 1.35;
}

.brg14-desktop-hero-card a[href^="tel:"],
.brg14-mobile-hero-card a[href^="tel:"] {
  font-weight: 600;
}

@media (max-width: 1024px) {
  .brg14-desktop-hero {
    display: none;
  }
}


/* =========================================================
   MOBILE HERO
   ---------------------------------------------------------
   EigenstÃƒÂ¤ndiger Hero fÃƒÂ¼r Tablet/Mobile.
   Die Optik bleibt bewusst unabhÃƒÂ¤ngig vom Desktop-Hero,
   weil der Desktop-Hero ÃƒÂ¼ber Kadence-Spalten aufgebaut ist.
   ========================================================= */

.brg14-mobile-hero {
  width: 100vw;

  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 0;

  overflow: hidden;

  padding-bottom: var(--global-kb-spacing-md, 3rem);

  background: #F7F5F1;
}


/* =========================================================
   Mobile Hero: Bild
   ========================================================= */

.brg14-mobile-hero-image {
  aspect-ratio: 390 / 285;
  overflow: hidden;
}

.brg14-mobile-hero-image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center top;
}


/* =========================================================
   Mobile Hero: Textkarte
   ========================================================= */

.brg14-mobile-hero-card {
  position: relative;
  z-index: 5;

  margin: -44px 20px 0;
  padding: 24px 24px 22px;

  border-radius: 22px;

  background: #F7F5F1;

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.08),
    0 2px 6px rgba(0, 0, 0, 0.04);
}


/* =========================================================
   Mobile Hero: Kicker
   ---------------------------------------------------------
   Bleibt als Startseiten-Sonderfall erhalten.
   Nicht mit .brg14-kicker zusammengelegt, weil der Hero
   eine eigene typografische Gewichtung hat.
   ========================================================= */

.brg14-mobile-kicker {
  margin-bottom: 8px;

  color: #2E5D8E;


}


/* =========================================================
   Mobile Hero: Titel
   ========================================================= */

.brg14-mobile-hero-card h1 {
  margin: 0 0 14px;

  color: #071E42;


}


/* =========================================================
   Mobile Hero: Beschreibung
   ========================================================= */

.brg14-mobile-hero-card p {
  margin: 0 0 18px;

  color: #4B5565;

}


/* =========================================================
   Mobile Hero: Buttons
   ---------------------------------------------------------
   LEGACY:
   - .primary-btn
   - .secondary-btn

   ZusÃƒÂ¤tzlich kompatibel mit:
   - .brg14-button-primary
   - .brg14-button-secondary

   Ziel:
   SpÃƒÂ¤ter im HTML nur noch globale .brg14-button-Klassen nutzen.
   ========================================================= */

.brg14-mobile-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;

  margin-bottom: 14px;
}

.brg14-mobile-hero-buttons a,
.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 36px;
  padding: 7px 18px;

  border: 1px solid rgba(7, 30, 66, 0.40);
  border-radius: 8px;


  text-decoration: none !important;

  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.primary-btn,
.brg14-mobile-hero-buttons .brg14-button-primary {
  background: #071E42;
  color: #FFFFFF;
}

.primary-btn:hover,
.brg14-mobile-hero-buttons .brg14-button-primary:hover {
  border-color: #2957A3;
  background: #2957A3;
  color: #FFFFFF;
}

.secondary-btn,
.brg14-mobile-hero-buttons .brg14-button-secondary {
  border-color: rgba(7, 30, 66, 0.40);

  background: #FFFFFF;
  color: #071E42;
}

.secondary-btn:hover,
.brg14-mobile-hero-buttons .brg14-button-secondary:hover {
  border-color: #2957A3;
  background: #2957A3;
  color: #FFFFFF;
}


/* =========================================================
   Mobile Hero: Tablet-Anpassung
   ========================================================= */

@media (min-width: 768px) {

  .brg14-mobile-hero-image {
    aspect-ratio: 768 / 360;
  }

  .brg14-mobile-hero-card {
    max-width: 640px;

    margin-left: auto;
    margin-right: auto;
  }
}


/* =========================================================
   HERO-TRANSITION / ONEPAGE-NAVIGATION
   ---------------------------------------------------------
   ÃƒÅ“bergang vom Hero in die Inhaltsnavigation.
   ========================================================= */

.brg14-hero-transition {
  position: relative;

  width: 100vw;

  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  padding: 52px 20px 110px;

  background:
    linear-gradient(
      to bottom,
      #F5EEE6 0%,
      #F5EEE6 80%,
      #FFFFFF 100%
    );
}

.brg14-hero-transition-inner {
  max-width: 1290px;

  margin: 0 auto;
}


/* =========================================================
   Onepage-Navigation
   ---------------------------------------------------------
   Desktop-Navigation zu den Startseitenabschnitten.
   Auf Mobile wird sie ausgeblendet.
   ========================================================= */

.brg14-onepage-nav {
  display: flex;
  align-items: flex-start;

  max-width: 1040px;

  margin: 0 auto;

  transform: translateY(-8px);
}


/* =========================================================
   Onepage-Navigation: Einzelner Punkt
   ========================================================= */

.brg14-onepage-item {
  position: relative;

  flex: 1;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;

  padding: 0 18px;

  text-decoration: none !important;

  transition:
    transform 0.22s ease;
}

.brg14-onepage-item:hover {
  transform: translateY(-3px);
}


/* =========================================================
   Onepage-Navigation: Verbindungslinien
   ========================================================= */

.brg14-onepage-item:not(:last-child)::after {
  content: "";

  position: absolute;
  top: 29px;
  left: calc(50% + 37px);
  right: calc(-50% + 37px);
  z-index: 0;

  height: 2px;

  background: rgba(7, 30, 66, 0.16);
}


/* =========================================================
   Onepage-Navigation: Nummernkreis
   ========================================================= */

.brg14-onepage-dot {
  position: relative;
  z-index: 2;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 58px !important;
  height: 58px !important;
  min-width: 58px !important;
  min-height: 58px !important;

  flex-shrink: 0;

  border: 1.5px solid rgba(46, 93, 142, 0.38) !important;
  border-radius: 999px !important;

  background: rgba(255, 255, 255, 0.96) !important;
  color: #2E5D8E !important;


  text-decoration: none !important;

  box-shadow:
    0 3px 10px rgba(7, 30, 66, 0.09);

  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.brg14-onepage-item:nth-child(1) .brg14-onepage-dot {
  border-color: rgba(41, 87, 163, 0.45) !important;
  background: #FFFFFF !important;
  color: #2957A3 !important;
}

.brg14-onepage-item:nth-child(2) .brg14-onepage-dot {
  border-color: rgba(41, 87, 163, 0.45) !important;
  background: #FFFFFF !important;
  color: #2957A3 !important;
}

.brg14-onepage-item:nth-child(3) .brg14-onepage-dot {
  border-color: rgba(41, 87, 163, 0.45) !important;
  background: #FFFFFF !important;
  color: #2957A3 !important;
}

.brg14-onepage-item:nth-child(4) .brg14-onepage-dot {
  border-color: rgba(41, 87, 163, 0.45) !important;
  background: #FFFFFF !important;
  color: #2957A3 !important;
}

.brg14-onepage-dot::before {
  content: "";

  display: block;

  width: 31px;
  height: 31px;

  background-color: currentColor;

  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

.brg14-dot-termine::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 10h18M8 14h.01M12 14h.01M16 14h.01M8 18h.01M12 18h.01'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 10h18M8 14h.01M12 14h.01M16 14h.01M8 18h.01M12 18h.01'/%3E%3C/svg%3E");
}

.brg14-dot-profil::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5.5A2.5 2.5 0 0 1 6.5 3H11v17H6.5A2.5 2.5 0 0 0 4 22V5.5ZM20 5.5A2.5 2.5 0 0 0 17.5 3H13v17h4.5A2.5 2.5 0 0 1 20 22V5.5Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5.5A2.5 2.5 0 0 1 6.5 3H11v17H6.5A2.5 2.5 0 0 0 4 22V5.5ZM20 5.5A2.5 2.5 0 0 0 17.5 3H13v17h4.5A2.5 2.5 0 0 1 20 22V5.5Z'/%3E%3C/svg%3E");
}

.brg14-dot-news::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h13v16H5.5A1.5 1.5 0 0 1 4 18.5V4ZM17 8h3v10.5a1.5 1.5 0 0 1-3 0V8Z'/%3E%3Cpath d='M7 8h7M7 12h7M7 16h4'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h13v16H5.5A1.5 1.5 0 0 1 4 18.5V4ZM17 8h3v10.5a1.5 1.5 0 0 1-3 0V8Z'/%3E%3Cpath d='M7 8h7M7 12h7M7 16h4'/%3E%3C/svg%3E");
}

.brg14-dot-koops::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3Ccircle cx='17' cy='9' r='2.5'/%3E%3Cpath d='M2.5 20a5.5 5.5 0 0 1 11 0M13 19a4.5 4.5 0 0 1 8.5 0'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3Ccircle cx='17' cy='9' r='2.5'/%3E%3Cpath d='M2.5 20a5.5 5.5 0 0 1 11 0M13 19a4.5 4.5 0 0 1 8.5 0'/%3E%3C/svg%3E");
}


/* =========================================================
   Onepage-Navigation: Titel
   ========================================================= */

.brg14-onepage-name {
  display: block;

  color: #071E42;

  text-align: center;
  text-decoration: none !important;

  transition:
    color 0.22s ease;
}


/* =========================================================
   Onepage-Navigation: Unterzeile
   ========================================================= */

.brg14-onepage-sub {
  display: block;

  color: #6F7F91;


  text-align: center;
  text-decoration: none !important;

  transition:
    color 0.22s ease;
}


/* =========================================================
   Onepage-Navigation: Hover
   ========================================================= */

.brg14-onepage-item:hover .brg14-onepage-dot {
  transform: translateY(-1px);

  border-color: rgba(46, 93, 142, 0.45) !important;

  box-shadow:
    0 5px 14px rgba(7, 30, 66, 0.13);
}

.brg14-onepage-item:nth-child(1):hover .brg14-onepage-dot {
  border-color: #2957A3 !important;
  background: #2957A3 !important;
  color: #FFFFFF !important;
}

.brg14-onepage-item:nth-child(2):hover .brg14-onepage-dot {
  border-color: #2957A3 !important;
  background: #2957A3 !important;
  color: #FFFFFF !important;
}

.brg14-onepage-item:nth-child(3):hover .brg14-onepage-dot {
  border-color: #2957A3 !important;
  background: #2957A3 !important;
  color: #FFFFFF !important;
}

.brg14-onepage-item:nth-child(4):hover .brg14-onepage-dot {
  border-color: #2957A3 !important;
  background: #2957A3 !important;
  color: #FFFFFF !important;
}

.brg14-onepage-item:hover .brg14-onepage-name {
  color: #2E5D8E;
}


/* =========================================================
   Onepage-Navigation: Mobile
   ---------------------------------------------------------
   Die Navigation wird auf kleineren GerÃƒÂ¤ten ausgeblendet.
   Der ÃƒÅ“bergangsbereich bleibt als kleiner Abstand erhalten.
   ========================================================= */

@media (max-width: 1024px) {

  .brg14-onepage-nav {
    display: none;
  }

  .brg14-hero-transition {
    height: 48px;

    padding: 0;
  }
}


/* =========================================================
   AKTUELLE TERMINE & HINWEISE
   ---------------------------------------------------------
   Manuell gepflegter Hinweisblock auf der Startseite.
   ========================================================= */

.brg14-notice-box {
  overflow: hidden;

  border: 1px solid #BCC6D1;
  border-radius: 16px;

  background: #FFFFFF;

  box-shadow:
    0 18px 45px rgba(7, 31, 70, 0.06);
}


/* =========================================================
   Hinweisbox: Zeile
   ========================================================= */

.brg14-notice-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;

  padding: 10px 20px;

  border-bottom: 1px solid #E5EAF2;
}


/* =========================================================
   Hinweisbox: Label
   ========================================================= */

.brg14-notice-label {
  color: var(--brg14-text);

}


/* =========================================================
   Hinweisbox: Text
   ========================================================= */

.brg14-notice-text a {
  color: #0069D9;

}


/* =========================================================
   Hinweisbox: FuÃƒÅ¸note
   ========================================================= */

.brg14-notice-footer {
  padding: 16px 28px;

  background: #F5F7FB;
  color: var(--brg14-muted);

}


/* =========================================================
   Hinweisbox: Mobile
   ========================================================= */

@media (max-width: 768px) {

  .brg14-notice-row {
    display: block;

    padding: 6px 18px;

    border-bottom: 0;
  }

  .brg14-notice-label,
  .brg14-notice-text {
    display: inline;
  }

  .brg14-notice-label {

  }

  .brg14-notice-label::after {
    content: ": ";
  }

  .brg14-notice-text {
    color: var(--brg14-text);

  }

  .brg14-notice-footer {
    padding: 12px 18px;

  }
}

/* =========================================================
   INFO-TABELLE
   ---------------------------------------------------------
   Standard-Tabellenblock fuer Termine, Hinweise und einfache
   zweispaltige Informationslisten.
   ========================================================= */

.brg14-info-table,
table.brg14-info-table {
  overflow: hidden;

  margin: 0;

  border: 1px solid #BCC6D1 !important;
  border-radius: 16px;

  background: #FFFFFF;

  box-shadow:
    0 18px 45px rgba(7, 31, 70, 0.06);
}

.brg14-info-table table,
table.brg14-info-table {
  display: block;
  width: 100%;
  margin: 0;

  border: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

.brg14-info-table tbody,
table.brg14-info-table tbody {
  display: block;
}

.brg14-info-table tbody tr,
table.brg14-info-table tbody tr {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);

  border-bottom: 1px solid #E5EAF2;
}

.brg14-info-table tbody tr:last-child,
table.brg14-info-table tbody tr:last-child {
  border-bottom: 0;
}

.brg14-info-table td,
.brg14-info-table th,
table.brg14-info-table td,
table.brg14-info-table th {
  padding: 10px 20px;

  border: 0 !important;

  color: var(--brg14-text);
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  vertical-align: top;
}

.brg14-info-table tbody td:first-child,
.brg14-info-table tbody th:first-child,
table.brg14-info-table tbody td:first-child,
table.brg14-info-table tbody th:first-child {
  font-weight: 700;
}

.brg14-info-table a,
table.brg14-info-table a {
  color: #0069D9;
  font-weight: 900;
}

.brg14-info-table tfoot,
table.brg14-info-table tfoot {
  display: block;
  width: 100%;

  border-top: 1px solid #E5EAF2 !important;
  background: #F5F7FB;
}

.brg14-info-table tfoot tr,
table.brg14-info-table tfoot tr {
  display: block !important;
  width: 100% !important;
}

.brg14-info-table tfoot td,
.brg14-info-table tfoot th,
table.brg14-info-table tfoot td,
table.brg14-info-table tfoot th {
  display: block !important;
  width: auto !important;
  min-width: 0 !important;
  padding: 14px 20px 16px;

  border: 0 !important;

  background: transparent;
  color: var(--brg14-muted);
  font-size: 0.875rem;
  line-height: 1.45;
  font-weight: 400 !important;
}

.brg14-info-table tfoot td:empty,
.brg14-info-table tfoot th:empty,
table.brg14-info-table tfoot td:empty,
table.brg14-info-table tfoot th:empty {
  display: none !important;
}

@media (max-width: 768px) {

  .brg14-info-table tbody tr,
  table.brg14-info-table tbody tr {
    display: block;
    padding: 8px 18px;
  }

  .brg14-info-table td,
  .brg14-info-table th,
  table.brg14-info-table td,
  table.brg14-info-table th {
    display: block;
    width: 100% !important;
    padding: 0;

    font-size: 0.9rem;
    line-height: 1.38;
  }

  .brg14-info-table tbody td:first-child,
  .brg14-info-table tbody th:first-child,
  table.brg14-info-table tbody td:first-child,
  table.brg14-info-table tbody th:first-child {
    margin-bottom: 2px;

    font-size: 0.84rem;
    font-weight: 800;
  }

  .brg14-info-table tfoot td,
  .brg14-info-table tfoot th,
  table.brg14-info-table tfoot td,
  table.brg14-info-table tfoot th {
    padding: 12px 18px 14px;

    font-size: 0.8rem;
    line-height: 1.42;
    font-weight: 400 !important;
  }
}

/* =========================================================
   UNSERE SCHULE Ã¢â‚¬â€ FEATURELISTE
   ---------------------------------------------------------
   Dunkelblauer Abschnitt mit drei Profilmerkmalen.
   ========================================================= */

.brg14-school-features {
  display: grid;
  gap: 28px;
}


/* =========================================================
   Featureliste: Eintrag
   ========================================================= */

.brg14-school-feature {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 18px;

  padding: 0 0 28px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.brg14-school-feature:last-child {
  padding-bottom: 0;

  border-bottom: 0;
}


/* =========================================================
   Featureliste: Icon
   ========================================================= */

.brg14-school-feature-icon {
  display: flex;
  align-items: flex-start;
  justify-content: center;

  width: 34px;
  height: 34px;

  padding-top: 2px;

  color: rgba(255, 255, 255, 0.68) !important;
}

.brg14-school-feature-icon svg {
  width: 24px;
  height: 24px;

  fill: none;

  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* =========================================================
   Featureliste: Titel
   ========================================================= */

.brg14-school-feature h3 {
  margin: 0 0 12px;

  color: #FFFFFF;

}


/* =========================================================
   Featureliste: Text
   ========================================================= */

.brg14-school-feature p {
  margin: 0;
  padding: 0;

  border: 0;

  color: rgba(255, 255, 255, 0.84);

}


/* =========================================================
   Featureliste: Mobile
   ========================================================= */

@media (max-width: 768px) {

  #schule .kt-row-column-wrap {
    gap: 32px;
  }

  .brg14-school-features {
    gap: 16px;
  }

  .brg14-school-feature {
    grid-template-columns: 30px 1fr;
    gap: 14px;

    padding: 0;
  }

  .brg14-school-feature:first-child {
    padding-top: 0;
  }

  .brg14-school-feature h3 {
    margin-bottom: 8px;

  }

  .brg14-school-feature p {
  }
}


/* =========================================================
   FEATURE-TABELLE
   ---------------------------------------------------------
   Standard-Tabellenblock fuer Icon/Text-Listen auf dunklem
   Hintergrund, z. B. im Abschnitt "Unsere Schule".
   ========================================================= */

.brg14-feature-table {
  margin: 0;
}

.brg14-feature-table table {
  width: 100%;
  margin: 0;

  border: 0 !important;
  border-collapse: collapse;
}

.brg14-feature-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.brg14-feature-table tbody tr:last-child {
  border-bottom: 0;
}

.brg14-feature-table td,
.brg14-feature-table th {
  padding-top: 38px !important;
  padding-bottom: 38px !important;

  border: 0 !important;

  color: rgba(255, 255, 255, 0.84) !important;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  text-align: left;
  vertical-align: top;
}

.brg14-feature-table tbody tr:first-child td,
.brg14-feature-table tbody tr:first-child th {
  padding-top: 0;
}

.brg14-feature-table tbody tr:last-child td,
.brg14-feature-table tbody tr:last-child th {
  padding-bottom: 0;
}

.brg14-feature-table td:first-child,
.brg14-feature-table th:first-child {
  width: 34px;
  padding-right: 18px;

  color: rgba(255, 255, 255, 0.68) !important;
}

.brg14-feature-table td:first-child img,
.brg14-feature-table th:first-child img,
.brg14-feature-table td:first-child svg,
.brg14-feature-table th:first-child svg {
  display: block;

  width: 24px;
  height: 24px;
  max-width: 24px;

  margin-top: 2px;
}

.brg14-feature-table h3,
.brg14-feature-table strong {
  display: block;

  margin: 0 0 12px;

  color: #FFFFFF !important;
  font-family: "Poppins", sans-serif;
  font-size: 1.05rem;
  line-height: 1.3;
  font-weight: 700;
}

.brg14-feature-table h3 a,
.brg14-feature-table h3 span,
.brg14-feature-table strong a,
.brg14-feature-table strong span {
  color: #FFFFFF !important;
}

.brg14-feature-table p {
  margin: 0;

  color: rgba(255, 255, 255, 0.84) !important;
}

.brg14-feature-table span,
.brg14-feature-table em,
.brg14-feature-table a {
  color: inherit !important;
}

@media (max-width: 768px) {

  .brg14-feature-table tbody tr {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 14px;

    padding: 0;
  }

  .brg14-feature-table tbody tr:first-child {
    padding-top: 0;
  }

  .brg14-feature-table tbody tr:last-child {
    padding-bottom: 0;
  }

  .brg14-feature-table td,
  .brg14-feature-table th {
    display: block;
    padding: 0;

    font-size: 0.95rem;
    line-height: 1.55;
  }

  .brg14-feature-table td:first-child,
  .brg14-feature-table th:first-child {
    width: 30px;
    padding-right: 0;
  }

  .brg14-feature-table strong {
    margin-bottom: 8px;
  }
}

/* =========================================================
   UNSERE SCHULE - NORMALE GALERIE
   ---------------------------------------------------------
   CSS-Klasse am Galerieblock:
   brg14-school-gallery

   CSS-Klassen auf den Bildern:
   brg14-school-img-1
   brg14-school-img-2
   brg14-school-img-3
   ========================================================= */

.wp-block-gallery.brg14-school-gallery,
.brg14-school-gallery.wp-block-gallery,
.brg14-school-gallery.has-nested-images {
  display: grid !important;
  grid-template-columns: 1fr .9fr 1fr;
  gap: clamp(16px, 1.7vw, 28px) !important;

  align-items: start;

  margin-top: clamp(42px, 5vw, 72px);
}

.brg14-school-gallery figure.wp-block-image,
.brg14-school-gallery .wp-block-image {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.brg14-school-gallery figure.wp-block-image,
.brg14-school-gallery figure.wp-block-image > a,
.brg14-school-gallery figure.wp-block-image > img,
.brg14-school-gallery .wp-block-image > a,
.brg14-school-gallery .wp-block-image > img {
  height: clamp(260px, 21vw, 360px) !important;
}

.brg14-school-gallery figure.wp-block-image,
.brg14-school-gallery figure.wp-block-image > a {
  overflow: hidden;

  border-radius: 15px;
}

.brg14-school-gallery img {
  display: block;

  width: 100% !important;
  height: 100% !important;

  object-fit: cover;

  border-radius: 15px;
}

.brg14-school-gallery .brg14-school-img-1 img,
.brg14-school-gallery img.brg14-school-img-1 {
  object-position: 50% 50%;
}

.brg14-school-gallery .brg14-school-img-2 img,
.brg14-school-gallery img.brg14-school-img-2 {
  object-position: 48% 52%;
}

.brg14-school-gallery .brg14-school-img-3 img,
.brg14-school-gallery img.brg14-school-img-3 {
  object-position: 52% 52%;
}

@media (max-width: 1024px) {

  .wp-block-gallery.brg14-school-gallery,
  .brg14-school-gallery.wp-block-gallery,
  .brg14-school-gallery.has-nested-images {
    grid-template-columns: 1fr .9fr 1fr;
    gap: 14px !important;
  }

  .brg14-school-gallery figure.wp-block-image,
  .brg14-school-gallery figure.wp-block-image > a,
  .brg14-school-gallery figure.wp-block-image > img,
  .brg14-school-gallery .wp-block-image > a,
  .brg14-school-gallery .wp-block-image > img {
    height: clamp(220px, 24vw, 270px) !important;
  }
}

@media (max-width: 720px) {

  .wp-block-gallery.brg14-school-gallery,
  .brg14-school-gallery.wp-block-gallery,
  .brg14-school-gallery.has-nested-images {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px !important;

    margin-top: 34px;
  }

  .brg14-school-gallery figure.wp-block-image,
  .brg14-school-gallery figure.wp-block-image > a,
  .brg14-school-gallery figure.wp-block-image > img,
  .brg14-school-gallery .wp-block-image > a,
  .brg14-school-gallery .wp-block-image > img {
    height: clamp(120px, 30vw, 150px) !important;
  }

  .brg14-school-gallery .brg14-school-img-1,
  .brg14-school-gallery figure:has(.brg14-school-img-1) {
    grid-column: 1 / -1;
  }

  .brg14-school-gallery .brg14-school-img-1,
  .brg14-school-gallery .brg14-school-img-1 img,
  .brg14-school-gallery figure:has(.brg14-school-img-1),
  .brg14-school-gallery figure:has(.brg14-school-img-1) > a,
  .brg14-school-gallery figure:has(.brg14-school-img-1) > img,
  .brg14-school-gallery img.brg14-school-img-1 {
    height: clamp(168px, 48vw, 220px) !important;
  }
}

/* =========================================================
   KOOPERATIONEN Ã¢â‚¬â€ PARTNERPANEL
   ========================================================= */

.brg14-koops-panel {
  margin-top: 44px;
  padding: 34px 42px;

  border: 1px solid rgba(7, 30, 66, 0.24);
  border-radius: 28px;

  background: rgba(255, 255, 255, 0.78);

  box-shadow:
    0 18px 45px rgba(7, 31, 70, 0.06);
}

.wp-block-gallery.brg14-koops-panel,
.brg14-koops-panel.wp-block-gallery,
.brg14-koops-panel.has-nested-images {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  gap: 32px clamp(42px, 5vw, 72px) !important;
}

.brg14-koops-panel figure.wp-block-image,
.brg14-koops-panel .wp-block-image {
  display: flex !important;
  align-items: center;
  justify-content: center;

  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.brg14-koops-panel figure.wp-block-image img,
.brg14-koops-panel .wp-block-image img,
.brg14-koops-panel img {
  width: auto !important;
  max-width: 94% !important;
  max-height: 66px;

  object-fit: contain;

  filter: saturate(0.95);
}

.brg14-koops-panel figure.wp-block-image:last-child img,
.brg14-koops-panel .wp-block-image:last-child img {
  max-height: 78px;
}


/* =========================================================
   Kooperationen: Logos
   ========================================================= */

.brg14-koops-logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: 34px;
}

.brg14-koops-logos img {
  width: 100%;
  max-height: 72px;

  object-fit: contain;

  filter: saturate(0.95);
}


/* =========================================================
   Kooperationen: Mobile
   ========================================================= */

@media (max-width: 768px) {

  .brg14-koops-panel {
    margin-top: 28px;
    padding: 28px 24px;

    border-radius: 24px;
  }

  .wp-block-gallery.brg14-koops-panel,
  .brg14-koops-panel.wp-block-gallery,
  .brg14-koops-panel.has-nested-images {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 34px !important;
  }

  .brg14-koops-panel figure.wp-block-image img,
  .brg14-koops-panel .wp-block-image img,
  .brg14-koops-panel img {
    max-width: 88% !important;
    max-height: 60px;
  }

  .brg14-koops-panel figure.wp-block-image:last-child,
  .brg14-koops-panel .wp-block-image:last-child {
    grid-column: 1 / -1;
  }

  .brg14-koops-panel figure.wp-block-image:last-child img,
  .brg14-koops-panel .wp-block-image:last-child img {
    max-width: 64% !important;
    max-height: 70px;
  }

  .brg14-koops-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 28px;
  }

  .brg14-koops-logos img {
    max-height: 58px;
  }

  .brg14-koops-logos img:last-child {
    grid-column: 1 / -1;
    justify-self: center;

    max-width: 58%;
  }
}


/* =========================================================
   STARTSEITEN-SECTION-HEADER
   ---------------------------------------------------------
   Vereinheitlichte ÃƒÅ“berschriften innerhalb der Startseite.

   Diese Regeln gelten nur innerhalb von .brg14-home.
   Sie ÃƒÂ¼berschreiben nicht die Standardseiten-Hero-Typografie.
   ========================================================= */

.brg14-home .brg14-page-hero-subtitle,
.brg14-home .brg14-page-hero-subtitle *,
.brg14-home-section-subtitle,
.brg14-home-section-subtitle * {
  max-width: 720px;
  color: #2C2C2A !important;
}

.brg14-home .brg14-page-hero-kicker,
.brg14-home .brg14-page-hero-kicker *,
.brg14-mobile-kicker,
.brg14-mobile-kicker * {
  color: #9E4A2B !important;
}

#schule .brg14-page-hero-kicker,
#schule .brg14-page-hero-kicker * {
  color: #D88E72 !important;
}

.brg14-home .brg14-page-hero-title,
.brg14-home .brg14-mobile-hero-card h1,
.brg14-home .brg14-news-section-heading,
.brg14-home-section-title,
.brg14-home-section-title * {
  color: #071E42 !important;
  font-family: "Poppins" !important;
  font-weight: 700 !important;
}

#schule .brg14-page-hero-title {
  color: #FFFFFF !important;
}

#schule .brg14-page-hero-subtitle,
#schule .brg14-page-hero-subtitle *,
#schule .brg14-home-section-subtitle,
#schule .brg14-home-section-subtitle * {
  color: #FFFFFF !important;
}

#kooperationen .brg14-page-hero-subtitle {
  margin-left: auto;
  margin-right: auto;
}


/* =========================================================
   STARTSEITEN-BUTTONS
   ---------------------------------------------------------
   Gemeinsame Geometrie und Hoverfarbe fuer Aktionsbuttons.
   ========================================================= */

body.home .site-main :is(
  .brg14-button,
  .primary-btn,
  .secondary-btn,
  .wp-block-button__link,
  .kb-button,
  .kt-button
) {
  min-height: 36px;
  padding: 7px 18px;
  border: 1px solid rgba(7, 30, 66, 0.40) !important;
  border-radius: 8px;
  background: #071E42 !important;
  color: #FFFFFF !important;
  font-weight: 700;
}

body.home .site-main :is(
  .brg14-button,
  .primary-btn,
  .wp-block-button__link,
  .kb-button,
  .kt-button
) * {
  color: #FFFFFF !important;
}

body.home .site-main .brg14-desktop-hero-buttons .brg14-button-secondary,
body.home .site-main .brg14-mobile-hero-buttons .brg14-button-secondary,
body.home .site-main .brg14-mobile-hero-buttons .secondary-btn {
  border-color: #2957A3 !important;
  background: transparent !important;
  color: #071E42 !important;
}

body.home .site-main .brg14-desktop-hero-buttons .brg14-button-secondary *,
body.home .site-main .brg14-mobile-hero-buttons .brg14-button-secondary *,
body.home .site-main .brg14-mobile-hero-buttons .secondary-btn * {
  color: #071E42 !important;
}

body.home .site-main :is(
  .brg14-button,
  .primary-btn,
  .secondary-btn,
  .wp-block-button__link,
  .kb-button,
  .kt-button
):hover {
  border-color: #2957A3 !important;
  background: #2957A3 !important;
  color: #FFFFFF !important;
}

body.home .site-main :is(
  .brg14-button,
  .primary-btn,
  .secondary-btn,
  .wp-block-button__link,
  .kb-button,
  .kt-button
):hover * {
  color: #FFFFFF !important;
}


/* =========================================================
   Startseiten-Section-Header: Mobile
   ========================================================= */

@media (max-width: 768px) {

  .brg14-home .brg14-page-hero-subtitle {
  }
}


/* =========================================================
   MOBILE HERO: FEINABSTAND
   ---------------------------------------------------------
   Spaete Override-Schicht, weil globale Typografie-Regeln
   den Hero sonst wieder uebersteuern koennen.
   ========================================================= */

body.home .site-main .brg14-mobile-kicker {
  margin-bottom: 4px !important;
  color: #9E4A2B !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
}

body.home .site-main .brg14-page-hero-kicker,
body.home .site-main .brg14-page-hero-kicker *,
body.home .site-main .brg14-home-section-kicker,
body.home .site-main .brg14-home-section-kicker * {
  color: #9E4A2B !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
}

body.home .site-main #schule .brg14-page-hero-kicker,
body.home .site-main #schule .brg14-page-hero-kicker *,
body.home .site-main #schule .brg14-home-section-kicker,
body.home .site-main #schule .brg14-home-section-kicker * {
  color: #FFFFFF !important;
}

body.home .site-main .brg14-mobile-hero-card h1 {
  margin-top: 0 !important;
  padding-top: 0 !important;
  line-height: 1.11 !important;
}

/* =========================================================
   FEATURE-TABELLE: ABSTANDS-OVERRIDE
   ---------------------------------------------------------
   Spaete Korrektur, weil Tabellen-/Mobile-Regeln von WordPress
   Zellabstaende sonst wieder reduzieren koennen.
   ========================================================= */

body.home .site-main .brg14-feature-table,
body.home .site-main figure.brg14-feature-table,
body.home .site-main .wp-block-table.brg14-feature-table {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.home .site-main .brg14-feature-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}

body.home .site-main .brg14-feature-table tbody tr:last-child {
  border-bottom: 0 !important;
}

body.home .site-main .brg14-feature-table td,
body.home .site-main .brg14-feature-table th {
  padding-top: 42px !important;
  padding-bottom: 42px !important;
}

body.home .site-main .brg14-feature-table tbody tr:first-child td,
body.home .site-main .brg14-feature-table tbody tr:first-child th {
  padding-top: 0 !important;
}

body.home .site-main .brg14-feature-table tbody tr:last-child td,
body.home .site-main .brg14-feature-table tbody tr:last-child th {
  padding-bottom: 0 !important;
}

@media (max-width: 768px) {

  body.home .site-main .brg14-feature-table td,
  body.home .site-main .brg14-feature-table th {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
  }

  body.home .site-main .brg14-feature-table tbody tr:first-child td,
  body.home .site-main .brg14-feature-table tbody tr:first-child th {
    padding-top: 0 !important;
  }

  body.home .site-main .brg14-feature-table tbody tr:last-child td,
  body.home .site-main .brg14-feature-table tbody tr:last-child th {
    padding-bottom: 0 !important;
  }
}
/* =========================================================
   FEATURE-TABELLE: GRID-ABSTAENDE
   ---------------------------------------------------------
   Finale Tabellenvariante: Abstaende liegen auf den Zeilen,
   damit WordPress-Tabellenzellen sie nicht neutralisieren.
   ========================================================= */

body.home .site-main .brg14-feature-table tbody {
  display: block !important;
}

body.home .site-main .brg14-feature-table tbody tr {
  display: grid !important;
  grid-template-columns: 34px minmax(0, 1fr) !important;
  column-gap: 18px !important;
  padding: 36px 0 !important;
}

body.home .site-main .brg14-feature-table tbody tr:first-child {
  padding-top: 0 !important;
}

body.home .site-main .brg14-feature-table tbody tr:last-child {
  padding-bottom: 0 !important;
}

body.home .site-main .brg14-feature-table td,
body.home .site-main .brg14-feature-table th {
  display: block !important;
  width: auto !important;
  padding: 0 !important;
}

body.home .site-main .brg14-feature-table td:first-child,
body.home .site-main .brg14-feature-table th:first-child {
  width: 34px !important;
  padding-right: 0 !important;
}

@media (max-width: 768px) {

  body.home .site-main .brg14-feature-table tbody tr {
    grid-template-columns: 30px minmax(0, 1fr) !important;
    column-gap: 14px !important;
    padding: 28px 0 !important;
  }

  body.home .site-main .brg14-feature-table tbody tr:first-child {
    padding-top: 0 !important;
  }

  body.home .site-main .brg14-feature-table tbody tr:last-child {
    padding-bottom: 0 !important;
  }

  body.home .site-main .brg14-feature-table td:first-child,
  body.home .site-main .brg14-feature-table th:first-child {
    width: 30px !important;
  }
}
/* =========================================================
   FEATURE-TABELLE: BLOCK-KONTEXT
   ---------------------------------------------------------
   Kontextfreie Variante fuer Gutenberg/Preview, wenn body.home
   oder .site-main im Editor nicht vorhanden sind.
   ========================================================= */

.brg14-feature-table,
figure.wp-block-table.brg14-feature-table,
.wp-block-table.brg14-feature-table {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.brg14-feature-table table,
figure.wp-block-table.brg14-feature-table table,
table.brg14-feature-table {
  display: block !important;
  width: 100% !important;
  border: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

.brg14-feature-table tbody,
figure.wp-block-table.brg14-feature-table tbody,
table.brg14-feature-table tbody {
  display: block !important;
}

.brg14-feature-table tbody tr,
figure.wp-block-table.brg14-feature-table tbody tr,
table.brg14-feature-table tbody tr {
  display: grid !important;
  grid-template-columns: 46px minmax(0, 1fr) !important;
  column-gap: 28px !important;
  padding: 34px 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.brg14-feature-table tbody tr:first-child,
figure.wp-block-table.brg14-feature-table tbody tr:first-child,
table.brg14-feature-table tbody tr:first-child {
  padding-top: 0 !important;
}

.brg14-feature-table tbody tr:last-child,
figure.wp-block-table.brg14-feature-table tbody tr:last-child,
table.brg14-feature-table tbody tr:last-child {
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
}

.brg14-feature-table td,
.brg14-feature-table th,
figure.wp-block-table.brg14-feature-table td,
figure.wp-block-table.brg14-feature-table th,
table.brg14-feature-table td,
table.brg14-feature-table th {
  display: block !important;
  width: auto !important;
  padding: 0 !important;
  border: 0 !important;
  color: rgba(255, 255, 255, 0.84) !important;
}

.brg14-feature-table td:first-child,
.brg14-feature-table th:first-child,
figure.wp-block-table.brg14-feature-table td:first-child,
figure.wp-block-table.brg14-feature-table th:first-child,
table.brg14-feature-table td:first-child,
table.brg14-feature-table th:first-child {
  width: 46px !important;
  color: rgba(255, 255, 255, 0.68) !important;
}

.brg14-feature-table h3,
.brg14-feature-table h3 *,
figure.wp-block-table.brg14-feature-table h3,
figure.wp-block-table.brg14-feature-table h3 *,
table.brg14-feature-table h3,
table.brg14-feature-table h3 * {
  margin-top: 0 !important;
  color: #FFFFFF !important;
}

.brg14-feature-table p,
.brg14-feature-table p *,
figure.wp-block-table.brg14-feature-table p,
figure.wp-block-table.brg14-feature-table p *,
table.brg14-feature-table p,
table.brg14-feature-table p * {
  color: rgba(255, 255, 255, 0.84) !important;
}
