/* --- Century Gothic Regular --- */
@font-face {
  font-family: "Century Gothic";
  src: url("fonts/centurygothic.woff2") format("woff2"),
       url("fonts/centurygothic.woff") format("woff"),
       url("fonts/centurygothic.ttf") format("truetype"),
       url("fonts/centurygothic.svg#centurygothic") format("svg"),
       url("fonts/centurygothic.eot"); /* IE fallback */
  src: url("fonts/centurygothic.eot?#iefix") format("embedded-opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* --- Century Gothic Bold --- */
@font-face {
  font-family: "Century Gothic";
  src: url("fonts/centurygothicbold.woff2") format("woff2"),
       url("fonts/centurygothicbold.woff") format("woff"),
       url("fonts/centurygothic_bold.ttf") format("truetype"),
       url("fonts/centurygothicbold.svg#centurygothicbold") format("svg"),
       url("fonts/centurygothic_bold.eot"); /* IE fallback */
  src: url("fonts/centurygothic_bold.eot?#iefix") format("embedded-opentype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
    font-family: 'salvadores_freeregular';
    src: url('fonts/salvadores_free-webfont.woff2') format('woff2'),
         url('fonts/salvadores_free-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}


/* --- Verwendung --- */
body {
  font-family: "Century Gothic", Arial, sans-serif;
}


* {
  margin: 0;
  padding: 0;
}




.table > :not(caption) > * > * {background: none;}

html {  scroll-padding-top: 200px;}

desktopheader .frame {gap:0;}

.mobilemenu a {text-decoration: none;}
.mobilehead  {display: none;}

.animation h2,.animation h3, .animation h4 {display: none;}
footer h5 {  font-family:"salvadores_freeregular"; font-size: 6rem; text-align: center; color:#1e4fa1;}


.frame a:not([class]) {
  color: #255ba6;
}

.btn {background: #255ba6; color:#fff!important;}

.violett {
  background: linear-gradient(
    90deg,
    #8fa3cc 0%,
    #c8d4ee 50%,
    #8fa3cc 100%
  );
}
.hellgrau {background: #e9e9e9; }
.lightbackground {background: linear-gradient( 180deg, #f6f9fd 100%, #e9eef5 60%, #dde5f0 100% );}


/* Linke Seite */
.header-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo-top {
  margin-bottom: 6px; /* etwas kompakter */
}

/* Rechte Seite */
.header-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* ⬆️ wichtig: nicht space-between */
}

/* Obere Leiste */
.header-top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 40px;     /* ⬇️ niedriger */
  font-size: 14px;
  padding-bottom: 4px; /* weniger Abstand nach unten */
}

.header-top .frame {
  padding: 0;
}

/* Untere Leiste (Navigation) */
.header-bottom {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start; /* ⬆️ Menü höher ausrichten */
  min-height: 50px;        /* ⬇️ weniger Höhe */
  margin-top: 30px;        /* ⬆️ Menü sichtbar weiter nach oben */
}

/* Navigation */
.header-bottom ul {
  margin: 0;
  padding-top: 0;
}

#c7213 img {max-width: 50%;}


#swiper-6111 .card {
  height: auto !important;
	min-height: 250px;
}


.lehrer .gallery-item picture {
	max-width: 70%; margin: 0 0;}

/* Logo */
.logo img {

}
.logo .frame {padding: 0;}


/* Fokus-Stile für bessere Navigation */
a:focus, button:focus {
    outline: 3px solid #ff9900;
    outline-offset: 3px;
}

/* Skip-Links (springen direkt zu den Inhalten) */
.skip-links {
    position: absolute;
    top: -100px;
    left: -10px;
    background: #000;
    color: #fff;
    padding: 10px;
    z-index: 100;
}

.skip-links a {
    color: white;
    text-decoration: none;
}

.skip-links a:focus {
    top: 10px;
}
desktopheader {--bs-gutter-x: 0px; padding-bottom: 10px;}
desktopheader .textmedia {gap:0;}
footer a {color:#000000;}
.copyright p {font-size: 0.8rem; text-align: center;}
.site-header {
  z-index: 100;
  position: fixed;
  width: 100%;
  transform: none;
  position: sticky;
  top: 0;
  padding-top: 8px;
   background: linear-gradient(
    180deg,
    #f6f9fd 100%,
    #e9eef5 60%,
    #dde5f0 100%
  );
	  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo .frame {padding: 0;}



footer .textmedia {gap:0;}

main h1 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 600;
  line-height: 1.15;
  color: #1e4fa1;
  letter-spacing: -0.02em;
  margin-bottom: 0.6em;
}



main .ce-headline-center a { text-decoration: none;}

.slider-fluid {display: none;}
#pageid1 .slider-fluid {display: inherit;}

main a {color: #1e4fa1;}


footer {padding:  0 ; margin-top: 2%;}



.icon-menu {
  display: flex;
  gap: 30px;
  align-items: center;
}

/* einzelner Button */
.icon-item {
  display: flex;
  align-items: center;
  gap: 14px;

  padding: 16px 26px;
  background: #e9eef5;
  border-radius: 12px;

  font-size: 16px;
  font-weight: 600;
  color: #000;
  text-decoration: none;


  transition: all 0.25s ease;
}

/* Icon */
.icon-item i {
  font-size: 32px;
  color: #1f4fa3;
}

/* Hover */
.icon-item:hover {
  background: #1f4fa3;
  color: #fff;
  transform: translateY(-3px);
}

.icon-item:hover i {
  color: #fff;
}
e



main .textpic-text ul {
  list-style: none;
  padding: 0;
	font-size: 125%;
}

main .textpic-text li {
  position: relative;
  padding-left: 30px; /* Mehr Abstand für größere Quadrate */
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ccc; /* Trennstrich */
}

main .textpic-text li:last-child {
  border-bottom: none; /* Kein Strich nach dem letzten Element */
}

main  .textpic-text li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 16px; /* Größeres Quadrat */
  height: 16px;
  background-color: #01803d; /* Farbe */
  transform: rotate(45deg); /* Quadrat drehen */
}


/* ===============================
   IMAGE BUTTON GRID – FIX FÜR TYPO3
================================ */

/* Abstand erzwingen */
.frame-custom-10 .image {
  margin: 20px !important;   /* 👈 DAS ist der Schlüssel */
}

/* ===============================
   IMAGE BUTTON DESIGN
================================ */

.frame-custom-10 .image {
  position: relative;
  overflow: hidden;

  border-radius: 22px;
  background: #ffffff;

  box-shadow:
    0 10px 26px rgba(0,0,0,0.14),
    0 4px 10px rgba(0,0,0,0.08);

  cursor: pointer;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* Bild */
.frame-custom-10 .image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;

  transition:
    transform 0.4s ease,
    filter 0.3s ease;
}

/* Hover */
.frame-custom-10 .image:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow:
    0 22px 50px rgba(0,0,0,0.22),
    0 8px 20px rgba(0,0,0,0.14);
}

.frame-custom-10 .image:hover img {
  transform: scale(1.1);
  filter: brightness(1.06);
}


.frame-space-before-extra-small {margin-top:0.5%;display: block;}
.frame-space-before-small {margin-top:3%!important;display: block;}
.frame-space-before-medium {margin-top:6% !important;display: block;}
.frame-space-before-large {margin-top:9%;display: block;}

.frame-space-after-extra-small {margin-bottom:0.5%;display: block;}
.frame-space-after-small {margin-bottom:3%;display: block;}
.frame-space-after-medium {margin-bottom:6%;display: block;}
.frame-space-after-large {margin-bottom:9%; display: block;}


.hunderter .megazeil,
.hunderter .ce-outer,
.hunderter .ce-row,
.hunderter .ce-gallery,
.hunderter .ce-textpic,
.hunderter .image { width: 100% !important;}
.hunderter .container {padding: 0 !important;}
.hunderter .frame {width: 100%; height: auto; margin: 0;
padding: 0;}

.hunderter .ce-gallery[data-ce-columns="3"] .ce-column {
    width: 33.33333% !important;}

.hunderter {max-width: 100% !important; padding: 0 !important; z-index: 0;}
.hunderter .ce-gallery img {padding: 0;width: 100%; }
.hunderter .ce-column {padding: 0 !important ;}
.hunderter .textmedia {gap:0;}
.hunderter hr {height: 0; padding: 2% 0; background:none !important;}
.hunderter .frame-container-default {
  max-width: 100%; padding: 0; margin:0;
}

#pageid1 .rootline {display: none;}
.rootline p {
  margin-bottom: 0;
  padding: 8px 0;
  text-align: center;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12rem;
  color: gray;
}


/* 3-Spalten Grid NUR für Inhalte innerhalb der Shortcut-Blöcke */
#pageid105 #main-content .frame-type-shortcut .frame-inner {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Überschriften/Section-Header im Grid über volle Breite */
#pageid105 #main-content .frame-type-shortcut .frame-inner > .frame-type-header {
  grid-column: 1 / -1;
}

/* Responsive */
@media (max-width: 1024px) {
  #pageid105 #main-content .frame-type-shortcut .frame-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  #pageid105 #main-content .frame-type-shortcut .frame-inner {
    grid-template-columns: 1fr;
  }
}


/* ===== Button Design (global) ===== */
:root{
  --btn-bg: #1f5fbf;          /* Hauptfarbe */
  --btn-bg-hover: #174a96;    /* Hover */
  --btn-text: #ffffff;
  --btn-radius: 14px;
  --btn-shadow: 0 10px 24px rgba(0,0,0,.10);
  --btn-shadow-hover: 0 14px 34px rgba(0,0,0,.14);
}

/* Standard: Links/Buttons als "Primary Button" */
button,
input[type="submit"],
input[type="button"],
a.button,
a.btn,
.more a,
a.more,
.more,
.news-backlink-wrap a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;

  padding: .85rem 1.15rem;
  border-radius: var(--btn-radius);
  border: 1px solid rgba(255,255,255,.18);

  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,0)) , var(--btn-bg);
  color: var(--btn-text);
  text-decoration: none;

  font-weight: 600;
  letter-spacing: .2px;
  line-height: 1;

  box-shadow: var(--btn-shadow);
  transform: translateY(0);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, filter .18s ease;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.news-backlink-wrap {display: block; margin-top: 20px;}
.news-backlink-wrap a {color:#fff !important;}

/* Hover */
button:hover, .news-backlink-wrap a:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
a.button:hover,
a.btn:hover,
.more a:hover,
a.more:hover,
.more:hover {
  background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0)) , var(--btn-bg-hover);
  box-shadow: var(--btn-shadow-hover);
  transform: translateY(-2px);
  filter: saturate(1.05);
}

/* Active (Klick) */
button:active,
input[type="submit"]:active,
input[type="button"]:active,
a.button:active,
a.btn:active,
.more a:active,
a.more:active,
.more:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}

/* Focus (Keyboard) */
button:focus-visible,
input[type="submit"]:focus-visible,
input[type="button"]:focus-visible,
a.button:focus-visible,
a.btn:focus-visible,
.more a:focus-visible,
a.more:focus-visible,
.more:focus-visible {
  outline: 3px solid rgba(31,95,191,.35);
  outline-offset: 3px;
}

/* Optional: wenn .more bei dir ein "Weiterlesen"-Textlink ist → wie Button wirken lassen */
.more {
  margin-top: .75rem;
}

h3.card-title {
    text-align: center;
}

.frame-custom-11 p {
  column-count: 3;
  column-gap: 2rem;          /* Abstand zwischen den Spalten */
  column-rule: 1px solid #e0e0e0; /* optionale Trennlinie */
}

@media (max-width: 900px) {
  .frame-custom-11 p {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .frame-custom-11 p {
    column-count: 1;
  }
}


#swiper-6111 .swiper-slide img {

  min-height: 200px;
  max-height: 200px;
}



.frame-custom-12 hr {
  border: none;
  height: 40px;
  background:
    linear-gradient(
      to right,
      #1e4fa1 0%,
      #1e4fa1 calc(50% - 78px),  
      #1e4fa1 calc(50% - 78px),  
      transparent calc(50% - 78px),
      transparent calc(50% + 78px),
      #1e4fa1 calc(50% + 78px),
      #1e4fa1 100%
    );
  background-position: center;
  background-size: 100% 2px;
  background-repeat: no-repeat;
  position: relative;
  margin: 3rem 0;
}

.frame-custom-12 hr::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 156px;        
  height: 40px;
  background-color: #fff;
  background-image: url("grafiken/hlw-trenner.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transform: translate(-50%, -50%);
  z-index: 2;
}

@media (min-width: 1024px) {
  #c6865 .card-img-top img {
    height: auto;
    padding: 14%;
  }
}



/* ===== Kalender-Layout fr TYPO3-Tabellen ===== */
/* CI-Farbe: #1e4fa1 | Fokus auf Datum */

/* Container */
figure.table {
  margin: 1.2rem 0;
}

/* Scroll-Wrapper */
figure.table .table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 6px 2px;
}

/* Tabelle als Kartenliste */
figure.table .table-responsive > table {
  width: 100%;
  border-collapse: separate !important;
  border-spacing: 0 12px !important;
  background: transparent !important;
}

/* Jede Zeile = Kalenderkarte */
figure.table .table-responsive > table > tbody > tr {
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(30,79,161,.12);
  border-radius: 14px;
  overflow: hidden;
}

/* Zellen resetten */
figure.table .table-responsive > table > tbody > tr > td {
  border: none !important;
  padding: 14px 16px !important;
  vertical-align: top;
}

/* Spalte 1: Wochentag (ruhig, hell) */
figure.table .table-responsive > table > tbody > tr > td:nth-child(1) {
  width: 80px;
  text-align: center;
  font-weight: 600;
  color: #1e4fa1;
  background: rgba(30,79,161,.08);
  white-space: nowrap;
}

/* Spalte 2: Datum (Hauptfokus, dunkelblau) */
figure.table .table-responsive > table > tbody > tr > td:nth-child(2) {
  width: 120px;
  text-align: center;
  font-weight: 700;
  color: #ffffff;
  background: #1e4fa1;
  white-space: nowrap;
}

/* Spalte 3: Inhalt */
figure.table .table-responsive > table > tbody > tr > td:nth-child(3) {
  line-height: 1.45;
}

/* Absatzabstnde */
figure.table .table-responsive > table > tbody > tr > td:nth-child(3) p {
  margin: 0 0 .65rem 0;
}

figure.table .table-responsive > table > tbody > tr > td:nth-child(3) p:last-child {
  margin-bottom: 0;
}

/* Hover */
figure.table .table-responsive > table > tbody > tr:hover {
  box-shadow: 0 14px 32px rgba(30,79,161,.18);
  transform: translateY(-2px);
  transition: box-shadow .2s ease, transform .2s ease;
}

/* Wichtige letzte Zeile (z. B. Uhrzeiten) */
figure.table .table-responsive > table > tbody > tr > td:nth-child(3) p:last-child {
  font-weight: 600;
  color: #1e4fa1;
}

/* ===== Mobile: echte Kalenderkarten ===== */
@media (max-width: 700px) {
  figure.table .table-responsive > table {
    border-spacing: 0 14px !important;
  }

  figure.table .table-responsive > table > tbody > tr {
    display: grid;
    grid-template-columns: 1fr;
  }

  /* Datum oben als Kopf */
  figure.table .table-responsive > table > tbody > tr > td:nth-child(2) {
    border-radius: 14px 14px 0 0;
    padding: 12px 14px !important;
  }

  /* Wochentag darunter */
  figure.table .table-responsive > table > tbody > tr > td:nth-child(1) {
    width: auto;
    text-align: left;
    padding: 10px 14px !important;
  }

  /* Inhalt */
  figure.table .table-responsive > table > tbody > tr > td:nth-child(3) {
    padding: 12px 14px 14px !important;
  }
}


