/* ===== Schriftschema ===== */
/* ===== Quicksand Regular (400) ===== */
@font-face {
  font-family: "Quicksand";
  src: url("../fonts/quicksand-v37-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ===== Quicksand Medium (500) ===== */
@font-face {
  font-family: "Quicksand";
  src: url("../fonts/quicksand-v37-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ===== Quicksand Bold (700) ===== */
@font-face {
  font-family: "Quicksand";
  src: url("../fonts/quicksand-v37-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ===== Standard-Text ===== */
body {
  font-family: "Quicksand", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 400;
  font-size: 1rem;   /* 16px */
  line-height: 1.6;
  color: #222;
}

/* ===== Überschriften ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: "Quicksand", sans-serif;
  font-weight: 700;   /* nutzt deine 700er Datei */
  line-height: 1.2;
  margin-bottom: 0.5em;
}

/* farben anpassen */

h1 {
  color: #1f9cc9;   /* Blau */
  
}

h2 {
  color: #1f9cc9;   /* Rot */
  
}

h4 {
  color: #333333;   /* Dunkelgrau */
  
}





:root {
  --cassiopeia-color-primary: transparent;
  --cassiopeia-color-hover: transparent;
}


/* === Menüicons nur im Desktop-Nav oberhalb vom Text === */
.container-header .mod-menu img {
  display: block;
  margin: 0 auto 0.3rem auto; /* zentriert, kleiner Abstand nach unten */
  max-height: 80px;           /* Größe anpassen */
}

/* Offcanvas-Menü → Icons ausblenden */
.offcanvas .mod-menu img {
  display: none !important;
}





hr {
  border: none; /* entfernt die Browser-Standardlinie */
  border-top: 3px solid #d16621; /* gewünschte Linie */
  margin: 1rem 0;
  opacity: 1; /* volle Deckkraft */
}



.container-header {
   background-color:#fff;
  }

/* breadcrumb kategorie ausblenden
.breadcrumb li a[href*="category"] {
    display: none;
  }
*/
.breadcrumb {
    font-size: 12px; /* Schriftgröße der Breadcrumb-Navigation */
}



.px-3 {
  padding-left: 0 !important;
  padding-right: 1rem !important;
}
/* ende- breadcrumb padding left entfernen ---- */

/* ---------- responsive pagination ------------*/
.pagination {
	flex-wrap: wrap;
	gap: 1em 0;
}

/* ---------- pagination ende------------*/



/* ---------- kleiner Abstand zw kleiner Hero oben ------------*/

.container-top-b>*,
.container-bottom-b>* {
  flex:1;
  margin:.0em 0
}





/* ===== RECHTE SIDEBAR ===== */


.container-sidebar-right {

  position: relative;
  z-index: 5; /* höher als Hero, aber niedriger als Header/Topbar */
  background: #fff;        /* helles Grau, wirkt neutral */
  padding: 20px;              /* Innenabstand */
  border-radius: 60px 0 60px 0; /* ↘ oben links & unten rechts abgerundet */
  border-color: #1f9cc9;
  border-width: 5px;
  border-style: solid;
  box-shadow: 0 0px 0px rgba(0,0,0,0.1); /* dezenter Schatten */
  margin-bottom: 20px;        /* Abstand nach unten */

}

  /* Sidebar nur so hoch wie Inhalt */
.container-sidebar-right {
  height: auto;       /* passt sich dem Inhalt an */
  align-self: flex-start; /* verhindert Strecken im Flex-Layout */
}




/*leicht nach oben schieben */
@media (min-width: 992px) {  /* ab Bootstrap "lg" */
  .container-sidebar-right {
    margin-top: -120px; /* Sidebar steht höher */
  }
}


/* Überschriften im Sidebar-Bereich */
.container-sidebar-right h3,
.container-sidebar-right h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #333; /* dunkles Grau */
  font-weight: 600;
  border-bottom: 2px solid #ddd;
  padding-bottom: 6px;
}

/* Schalter im Sidebar-Bereich */
.container-sidebar-right a {
  color: #d16621; 
  text-decoration: none;
  }

.container-sidebar-right a:hover {
  text-decoration: underline;
}


/* ===== TOPBAR-CONTACTS ===== */

/* Topbar Contacts */
.topbar-contacts {
  display: flex;          /* damit gap wirkt */
  justify-content: flex-end; /* alles rechtsbündig */
  align-items: center;
  gap: 0.5rem; /* Abstand zwischen den Links */
  padding: 0.25rem 1rem;
  background-color: #fff; /* Hintergrundfarbe anpassen */
  font-size: 0.9rem;
}

.topbar-contacts .contact-link {
  display: inline-flex;
  align-items: center;
  color: #222;
  text-decoration: none;
  transition: color 0.3s ease;
}

.topbar-contacts .contact-link:hover {
  color: #006633; /* Hover-Farbe */
}

.topbar-contacts .contact-icon {
  height: 16px;
  width: 16px;
  margin-right: 0.4rem;
  margin-left: 0.9rem;
  display: inline-block;
}

.topbar-contacts .contact-text {
  display: none; /* Text nur mobil ausblenden oder nach Wunsch anpassen */
}

@media (min-width: 768px) {
  .topbar-contacts .contact-text {
    display: inline; /* Ab Tablet aufwärts mit anzeigen */
  }
}



/* ===== NAVIGATION ===== */
.custom-topbar {
  position: relative;
  z-index: 1000;
  padding: 0rem 0rem;
  background-color: #f9fafb;
  border-bottom: 3px solid #000;
  border-top: 3px solid #000;
  height: auto; /* Passt die Höhe dynamisch an den Inhalt an */
}

.py-2 {
  padding-top:0.0rem!important;
  padding-bottom:0.0rem!important
}

.topbar-left img {
  height: 90px;
  display: block;
}

.custom-topbar .nav-link {
  color: #000;
  font-size: 1.3em;
  font-weight: 300;
  padding: 10px 15px;
  transition: color 0.3s ease;
}

.custom-topbar .nav-link:hover {
  color: #b00 !important;
}

.btn-menu {
  background: none;
  border: none;
  padding: 0;
  margin-left: auto;
}

.btn-menu img {
  height: 32px;
  width: auto;
  display: inline-block;
  
}

/* Im Offcanvas-Menü (mobil) keine Icons */
@media (max-width: 767px) {
  .offcanvas #mainnav li a::before {
    display: none !important;
  }
}


/* ===== Mobile (Offcanvas) → keine Icons ===== */
@media (max-width: 767px) {
  .offcanvas .nav-item .nav-link::before {
    display: none !important;
  }
}



/* Standard: z. B. ab Tablet/Desktops */
@media (min-width: 768px) {
  .custom-topbar .logo {
    margin-left: 8.5rem;
  }
}


/* Für Smartphones kleiner lassen */
@media (max-width: 767px) {
  .custom-topbar .logo {
    margin-left: 0.5rem;
  }
}


/* Mittel-Nav nur auf größeren Geräten */
@media (max-width: 1024px) {
  .mainnav {
    display: none !important;
  }
}

/* Offcanvas Styles */
.offcanvas {
  width: 250px;
  background-color: rgba(250, 250, 250, 0.9); /* #e6e6e6 mit 80% Deckkraft */
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease-in;
  will-change: transform, opacity;
}


.offcanvas-body {
  padding: 1.5rem 1rem;
}



.offcanvas-body .offcanvas-content {
  padding-left: 1rem;  /* oder genau wie .nav-link */
  padding-right: 1rem;
  margin-top: 1rem;
  font-size: 1.95rem;
  color: #333;
  line-height: 1.3;
}


.offcanvas .nav-link {
  display: block;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #ccc;
  color: #000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.offcanvas .nav-link:hover {
  color: #b00 !important;
  background-color: #f8f8f8;
}

/* Letzten Link ohne untere Linie */
.offcanvas .nav-link:last-child {
  border-bottom: none;
}


.offcanvas.show {
opacity: 1;

  
}


/* Desktop Dropdown auf Klick */
.mainnav .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
}

.mainnav .dropdown-menu.show {
  display: block;
}

.mainnav .dropdown-menu .dropdown-item {
  color: #000;
  padding: 0.5rem 1rem;
}

.mainnav .dropdown-menu .dropdown-item:hover {
  background-color: #777;
}

/* Pfeil anzeigen 
.mainnav .dropdown-toggle::after {
  content: "\25BD";
  font-size: 0.6rem;
  margin-left: 0.3rem;
}
*/


/* Offcanvas Submenu */
.offcanvas-body .collapse {
  transition: height 0.3s ease;
}

.offcanvas-body .nav-link.dropdown-toggle::after {
  float: right;
  content: "\25BC";
  font-size: 0.6rem;
  margin-left: 0.5rem;
}


/* Mobile verstecken */
@media (max-width: 767px) {
  .mainnav {
    display: none !important;
  }
}


.container-header .mod-menu {
  color:#000;
  flex:1 0 100%;
  margin:0;
  padding:0;
  list-style:none;
  
}

.metismenu.mod-menu .metismenu-item {
  flex-wrap:wrap;
  align-items:center;
  padding:.5em 1em;
  font-size:1.3rem;
  line-height:1.1;
  display:flex
}


.container-header .navbar-toggler {
  color:#241c1c;
  cursor:pointer;
  border:4px solid #000;
}

.offcanvas-toggle .bi {
  font-size: 2rem; /* Standard wäre ~1rem */
}





/* ===== HERO SECTION ===== */
#hero {

  display: flex;  
  align-items: center;
  justify-content: center;
  flex-direction: column;
  
  height: 80vh;
  margin-top: 0px;
  padding: 0px;

  position: relative;
  top: 0;            /* fixiert an oberem Bildschirmrand */
  left: 0;

  text-align: center;
  background-image: url('https://peter.schulen-lkwf.de/images/Schule/slider/slider1.jpg'); /* hier dein Bildpfad */
  background-size: cover;
  background-position: center;
  color: #c52827;
}


#hero h1 {

  margin-top: 140px;
  font-family: 'Arial', sans-serif;
  font-size: 6rem;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;  
    /* Buchstabenrand */
  -webkit-text-stroke: 1px #000; /* schwarzer Rand, 2px dick */
  text-stroke: 1px #000; /* für Standard, wird noch nicht überall unterstützt */
}




/* Tablet (bis 991px) */
@media (max-width: 991px) {
  #hero h1 {
    -webkit-text-stroke: 0;
    text-stroke: 0;
    text-shadow: none;
    font-size: 4rem; /* optional kleinere Schrift */
  }
}

/* Mobil (bis 575px) */
@media (max-width: 575px) {
  #hero h1 {
    -webkit-text-stroke: 0;
    text-stroke: 0;
    text-shadow: none;
    font-size: 2.5rem; /* nochmal kleiner */
  }
}


#hero .btn {
  margin-top: 20px;
}


/* =====  SECTIONS ===== */


/* ===== GLOBAL FULLWIDTH SECTION OHNE RÄNDER =====*/ 
.no-padding-fullwidth {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 0 !important;
  overflow-x: hidden;
}

/* Footer spezifisch */
#section-footer {
  background-color: #000;
  color: #fff;
  padding: 20px 0;
}

#section-footer .footer-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 20px 40px;
}

/* Footer Links */
#section-footer a {
  color: #fff;
  text-decoration: underline;
}

#section-footer a:hover {
  text-decoration: none;
}

/* Nav optimieren */
#section-footer .nav-link {
  padding: 0 10px;
  color: #fff;
}

/* Mobile: Logo oben, Navigation mittig */
@media (max-width: 767.98px) {
  #section-footer .footer-container {
    text-align: center;
  }
  #section-footer .footer-left {
    margin-bottom: 15px;
  }
  #section-footer .nav {
    flex-direction: column;
  }
  #section-footer .nav-link {
    padding: 5px 0;
  }
}




/* Footer-Bereich */
.footer-info {
    background-color: #e3e3e3; /*  */
    padding: 2rem 0; /* vertikale Abstände */
    font-size: 1.0rem;
    color: #1f9cc9; /* dunkles Grau für Text */
}

/* Überschriften der Spalten */
.footer-info h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #212529; /* etwas dunkler */
}

/* Links */
.footer-info a {
    color: #495057;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-info a:hover {
    color: #d16621; /* Akzentfarbe beim Hover, z.B. Rosa/Rot passend zu Schule/Design */
    text-decoration: underline;
}

/* Abstand zwischen Links */
.footer-info .mb-1 {
    margin-bottom: 0.25rem !important;
}

/* Mobile: Text zentrieren, ab Medium links */
@media (max-width: 767.98px) {
    .footer-info .text-center {
        text-align: center !important;
    }
}













/* ===== BUTTON STYLES ===== */
.btn-primary {
  background-color: #1f9cc9;
  color: #fff;
  border-radius: 0px;
  padding: 0.6rem 1.5rem;
  font-weight: 300;
  border: none;
  transition: all 0.3s ease-in-out;
}


.btn-primary:hover {
  background-color: #000;
  color: #fff;
}


.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-icon .icon-svg {
  width: 2em;
  height: 2em;
  vertical-align: middle;
  fill: currentColor; /* falls das SVG so aufgebaut ist */
}


/* ===== Bilder in den Beiträgen ===== */
.card-img-top {
  object-fit: cover;
  height: 180px; /* Höhe gleichmäßig halten */
  border-radius: 8px;
}

.card-text {
  font-size: 0.9rem;
  color: #444;
}


/* ===== @medias Blogbeitragsbilder links ohne padding auf kl Bildschirme ===== */
/* Standard: Bild über Text, Text linksbündig */
.image-left .blog-item,
.image-right .blog-item {
  display: block;
}

.image-left .blog-item .item-image,
.image-right .blog-item .item-image {
  margin-bottom: 1rem; /* Abstand zum Text */
  width: 100%;
}

.image-left .blog-item .item-content,
.image-right .blog-item .item-content {
  width: 100%;
  padding-left: 0;
  text-align: left;
}

/* Erst ab großen Bildschirmen (≥1200px) nebeneinander */
@media (min-width: 1200px) {
  .image-left .blog-item,
  .image-right .blog-item {
    display: flex;
    align-items: flex-start;
  }

  .image-left .blog-item .item-content,
  .image-right .blog-item .item-content {
    flex: 1 0 60%;
    padding-left: 25px;
  }
}















/* ===== GLOBAL STYLES ===== */
body {

  font-family: "Quicksand", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 500;
  font-size: 1.0rem;   
  line-height: 1.4;  
  color: #222;       

}





.convertforms .cf-form-wrap {
  padding: 20px;
  background-color: #6e6e6e;
}


/* Optional: Zusätzliche Klassen für gezielte Gewichtung */
.font-light {
  font-weight: 300;
}

.font-regular {
  font-weight: 400;
}

.font-medium {
  font-weight: 500;
}

.font-bold {
  font-weight: 700;
}



/* 
Best Practice für Cassiopeia + Eigene Module + Bootstrap
Empfehlung: Stelle Cassiopeia auf fluid, dann hast du die volle Kontrolle.
Erzeuge eigene Klasse statt den Core .container-fluid direkt zu überschreiben → so bleiben Updates sauber:
*/

.site-grid {

  max-width: 1800px; /* z. B. für Desktop */
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;

}

.my-container {
  max-width: 1800px; /* z. B. für Desktop */
  padding-right: 40px;
}

/* Tablet (bis 991px) */
@media (max-width: 991.98px) {
  .my-container {
    max-width: 100%;      /* volle Breite */
    padding: 40px;        /* gleichmäßig innen */
  }
}

/* Mobile (bis 575px) */
@media (max-width: 575.98px) {
  .my-container {
    max-width: 100%; 
    padding: 20px;     /* etwas schmaler für kleine Geräte */
  }
}



.container-main-top {
  grid-column: full-start;  
}






/* ===== Vergrößerung Articelbild ===== */
/* vergrößerung articelbild bei mouseover */
.left.item-image img {
  transition: transform 0.3s ease-in-out;
}

.left.item-image:hover img {
  transform: scale(1.1);
}



/*gallery-ersatz in den Beiträgen (bei )mouseover */

/* Basisstil für die Bilder */
.com-content-article__body p img {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 70%; /* responsive */
  height: auto;
  border-radius: 5px;
  display: inline-block; /* Bilder nebeneinander anordnen */
  margin: 5px; /* Abstand zwischen den Bildern */
  vertical-align: middle; /* Ausrichtung innerhalb der Zeile */
}

/* Hover-Effekt für Bilder */
.com-content-article__body p img:hover {
  cursor: zoom-in;
  }

/* Vergrößertes Bild */
.com-content-article__body p img.enlarged {
  transform: scale(2); /* Vergrößerung */
  z-index: 999;
  position: relative;
  cursor: zoom-out;
}

/* Für kleinere Bildschirme (Media Query) */
@media (max-width: 768px) {
  .com-content-article__body p img.enlarged {
    transform: scale(1.5); /* Leicht reduzierte Vergrößerung auf mobilen Geräten */
  }
}


/* ===== ende -- - vergrößerung articelbild ===== */












/* ===== MODALBOXEN ===== */

#modalImpressum .modal-body,
#modalDatenschutz .modal-body {
  color: #333;
}

a[data-bs-toggle="modal"] {
  color: #ddd;
  text-decoration: underline;
}




/* ===== Barriereeinstellungen ===== */

i._access-icon._access {

    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
    text-indent: -9999px !important;
    overflow: hidden !important;
  

    background-image: url('https://peter.schulen-lkwf.de/images/svg/barrierefrei.svg'); 
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;

    display: inline-block;
    width: 50px;
    height: 50px;

    transform: none !important;
}













/* ===== KONTAKTSCHALTER RECHTS ===== */

.sticky-contact-buttons {
  position: fixed;
  top: 40%;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.contact-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 58px;
  height: 58px;
  background-color: #000;
  border-radius: 0px 0 0 0px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.0);
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.contact-btn:hover {
  background-color: #900;
}

.contact-btn .icon {
  width: 34px;
  height: 34px;
}

/* Mobil-Anpassung */
@media (max-width: 768px) {
  .sticky-contact-buttons {
    top: auto;
    bottom: 10%;
    right: 0px;
  }
}



/* ===== BACKTOTOP ===== */


.back-to-top-link {
  z-index:10000;
  color: #fff;
  pointer-events:all;
  background: #1f9cc9;
  border:1px;
  opacity:1;
  inset-inline-end:1rem;
  border-radius:0rem;
  padding:20px;
  transition:opacity .2s ease-in;
  position:fixed;
  bottom:1rem
}

/* Hover-Effekt: heller + kleiner Scale */
.back-to-top-link:hover {
  background: #000; 
  transform: scale(1.05);       /* leicht größer */
  opacity: 1 !important;        /* keine Transparenz */
}










