/* ===== Schriftschema ===== */
/* comic-relief-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Comic Relief';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/comic-relief-v2-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* comic-relief-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Comic Relief';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/comic-relief-v2-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}




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

/* FarbAnpassung */

h1 {
  color: #ff9234;   /* ornage */
  
}

h2 {
  color: #ff9234;   /* orange */
  
}

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







body.site {
  font-family: 'Comic Sans', sans-serif;
  background: linear-gradient(to bottom, #fff8e1 0%, #ffffff 100%);
  
}


.header {
    background: #fff;
	}

.container-topbar {
  background: #54a505;
  font-color: #fff;
	}

/* TopBar oberer Rand */
.container-header nav {
  margin-top:0em;
  padding:0
}

/* Topbar-Hintergrund über die ganze Seite */
.container-topbar {
    background: #f28e3e;  /* orange */
    width: 100%;          /* gesamte Breite */
    display: flex;
  justify-content: center; /* Inhalt horizontal zentrieren */
    
}

/* Hamburger Menü-Icon */
.container-header .navbar-toggler {
  color:#888;
  cursor:pointer;
  border:1px solid #888;
}


/* Hauptmenü */
.container-header .mod-menu {
  color:#3095d3;
  flex:1 0 100%;
  margin:0;
  padding:0;
  font-weight: 600;         /* etwas dickere Schrift */
  font-size: 20px;          /* Schriftgröße anpassen */
  list-style:none;
  text-transform: uppercase; /* optional: Großbuchstaben */
}

/* Menü-Links */
.container-header .mod-menu li a {
    color: #3095d3;           /* Linkfarbe */
    text-decoration: none;    /* Unterstreichung entfernen */
}


/* Hover-Effekt */
.container-header .mod-menu li a:hover {
    color: #f28e3e;           /* andere Farbe beim Hover */
    
}










/* Kleines Menü top*/
.container-header .mod-menu1 {
  color:#fff;
  font-size: 0.1rem;
  flex:1 0 100%;
  margin:0;
  padding:0;
  list-style:none
}


hr {
    border: none;
    border-top: 3px solid #3095d3; /* Blau */
    margin: 1.5rem 0;
    opacity: 1 !important;
}









/* Hintergrundbild - eigenes modul - banner::::::::: */
.container-banner.full-width {
    background: url('DEINBILD.jpg') no-repeat center top !important;
    background-size: cover !important;
}

.container-banner {
  margin:0 0 0rem;
  display:block
}





/* LOGO OKTOPUS::::::::: */

/* Hero-Oktopus – feste Position rechts oben */
.hero-octo {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 180px;                  /* Standardgröße */
    z-index: 99999;                /* Über allem, auch Video & Menü */
    pointer-events: auto;
    transition: transform 0.3s ease;
}

/* Hover – Bounce */
.hero-octo:hover {
    animation: octo-bounce 0.4s ease-out;
}

@keyframes octo-bounce {
    0%   { transform: translateY(0); }
    40%  { transform: translateY(-35px); }
    60%  { transform: translateY(10px); }
    80%  { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* Responsive für Tablets */
@media (max-width: 900px) {
    .hero-octo {
        width: 140px;
        top: 15px;
        right: 15px;
    }
}

/* Responsive für Smartphones */
@media (max-width: 600px) {
    .hero-octo {
        width: 100px;
        top: 10px;
        right: 10px;
    }
}

















/* LOGO Abstand oben unten */
.container-header .container-nav {
  flex-wrap:wrap;
  justify-content:space-between;
  padding-bottom:1em;
  padding-top: 1.5em;
}





/* ===== 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: #0065b1;
  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: none;
}

#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-wave img { display:block; }


/* Welle oben-unten für Beitrag-Modul */
.wave-top img,
.wave-bottom img {
    display: block;
    width: 100%;
    height: auto;
}

.content-wave-section {
    background: #f28e3e; /* oder deine Content-Farbe */
    padding: 60px 20px;
}



/* ===== Inhaltsbreite für eigenes Modul - Aktuelles ===== */
.mod-aktuelle-beitraege {
  max-width: 1320px; /* je nach Layout */
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}








/* ===== Effekt Bildergalerie ===== */
.gallery-img {
    transition: transform .3s ease;
    border-radius: 2px;
    cursor: pointer;
}

.gallery-img:hover {
    transform: scale(1.1);
    z-index: 2;
}


/* ===== Bildslider ===== */
/* Rahmenbox */
.slider-box {
    border: 1px solid #ffffff;
    padding: 0;
    overflow: hidden;
    border-radius: 0px;
}

/* Slider Grundlayout */
.slider {
    position: relative;
    width: 100%;
    height: 360px; /* kannst du anpassen */
    overflow: hidden;
}

.slider img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    opacity: 0;
    animation: sliderFade 8s infinite;
}

/* Bild 1 */
.slider img:nth-child(1) {
    animation-delay: 0s;
}

/* Bild 2 */
.slider img:nth-child(2) {
    animation-delay: 4s;
}

/* einfache Fade-Animation */
@keyframes sliderFade {
    0%   { opacity: 0; }
    5%   { opacity: 1; }
    45%  { opacity: 1; }
    50%  { opacity: 0; }
    100% { opacity: 0; }
}

/* Optional: Typografie */
.two-cols-sliders h3 {
    font-size: 1.6rem;
    margin-top: 1rem;
}

.two-cols-sliders ul {
    padding-left: 1.2rem;
}







/* Footer-Info-Bereich */
.footer-info {
    background-color: #3095d3; /*  */
    padding: 2rem 0; /* vertikale Abstände */
    font-size: 1.0rem;
    color: #fff; /* gruen */
}

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

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

.footer-info a:hover {
    color: #888; /* Akzentfarbe beim Hover*/
    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;
    }
}


/* Primärer Button */

.btn-primary {
  background: #0065b1;
  border-radius: 0px;
  border: none;
}

.btn-primary:hover {
  background: #ddd;
  border-radius: 0px;
  border: none;
}

/* Formularfelder */
.form-control {
  border-radius: 0px;
  border: none;
}




/* ===== VIDEO ===== */
.hero-video-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;

    
    display: block;
    
}

.hero-video-wrapper video {
    width: 100vw;         /* volle Bildschirmbreite */
    max-width: none;      /* überschreibt Cassiopeia */
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0 auto;       /* zentriert das Video */
   
}

.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    z-index: 10;
}













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


.back-to-top-link {
  z-index:10;
  color: #fff;
  pointer-events:all;
  background: #0065b1;
  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 */
}





































/* ---------------------------------------------------
   LOGIN 
--------------------------------------------------- */

/* Gesamtmodul — Rahmen entfernen */
.mod-login {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    background: transparent !important;
}

/* Labels */
.mod-login label {
    font-weight: 500;
    color: #333;
}

/* Input-Felder */
.mod-login input[type="text"],
.mod-login input[type="password"] {
    background: #cccccc !important; /* grey */
    border: 1px solid #ccc !important;
    border-radius: 0 !important;
    padding: 10px !important;
    width: 100%;
    box-shadow: none !important;
}

/* Username + Icon Wrapper */
.mod-login .mod-login_username {
    display: flex;
}
.mod-login .mod-login_username input {
    border-right: none !important;
}
.mod-login .mod-login_username .input-group-text {
    background: #e0e0e0 !important;
    border-radius: 0 !important;
    border: 1px solid #ccc !important;
    border-left: none !important;
}

/* Password + Icon Wrapper */
.mod-login .mod-login_password {
    display: flex;
}
.mod-login .mod-login_password input {
    border-right: none !important;
}
.mod-login .mod-login_password .input-group-text {
    background: #e0e0e0 !important;
    border-radius: 0 !important;
    border: 1px solid #ccc !important;
    border-left: none !important;
}

/* Passkey Button */
.mod-login .passkey-login-btn {
    background: #e0e0e0 !important;
    border-radius: 0 !important;
    border: none !important;
    padding: 10px 12px !important;
    color: #111 !important;
    width: 100%;
}

/* Login Button */
.mod-login button[type="submit"] {
    width: 100%;
    background: #666 !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 12px !important;
    color: #fff !important;
    font-weight: 600;
}

/* Checkbox */
.mod-login input[type="checkbox"] {
    accent-color: #444 !important;
}

/* Links */
.mod-login a {
    color: #444 !important;
    text-decoration: underline;
}


/* ---------------------------------------------------
   LOGIN Ende
--------------------------------------------------- */

/* Entfernt Firefox-Autofill-Hintergrund */
input:-moz-autofill,
textarea:-moz-autofill,
select:-moz-autofill {
    background-color: #cccccc !important; /* oder gewünschte Farbe */
    color: inherit !important;               /* Schriftfarbe beibehalten */
    
}

/* ---------------------------------------------------
   Sectionen faden
--------------------------------------------------- */


.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ===== 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://schwimmschule.web.ccwf.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;
}











