/* ================= BASIS ================= */

.schoolbell-regular {
  font-family: "Schoolbell", cursive;
  font-weight: 400;
  font-style: normal;
}


*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial, Helvetica, sans-serif;
}

html{
scroll-behavior:smooth;
}

body{
background:#ccf6ef;
color:#aeaeae;
line-height:1.6;
}

.container{
width:90%;
max-width:1200px;
margin:auto;
padding:40px 0;
}

h2,h3{
margin-bottom:15px;
color: #2f6660;
font-family:"Schoolbell", cursive;
}

h2,h3{
  font-family:"Schoolbell", cursive;
}
 
a{
text-decoration:none;
color:inherit;
}

p{
    color: gray;
}

/* ================= HEADER ================= */

.header{
background:black;
padding:15px 0;
position:sticky;
top:0;
z-index:999;
transition:background .25s ease;
}

.top-nav{
display:flex;
justify-content:center;
align-items:center;
position:relative;
}

.res{
list-style:none;
display:flex;
gap:30px;
}

.menu-dropdown{
position:relative;
}

.res a{
color:white;
font-weight:bold;
transition:.3s;
font-family:"Schoolbell", cursive;
}

.gallery-submenu{
list-style:none;
position:absolute;
top:calc(100% + 6px);
left:50%;
transform:translateX(-50%);
min-width:220px;
background:#000;
border:1px solid rgba(255,255,255,.14);
border-radius:10px;
padding:8px 0;
opacity:0;
visibility:hidden;
pointer-events:none;
transition:opacity .2s ease, transform .2s ease;
z-index:1200;
}

.menu-dropdown.open .gallery-submenu{
opacity:1;
visibility:visible;
pointer-events:auto;
transform:translateX(-50%) translateY(0);
}

.gallery-submenu a{
display:block;
padding:10px 16px;
white-space:nowrap;
color:white;
font-family:"Schoolbell", cursive;
text-align:center;
}

.gallery-submenu a:hover{
color:#40e0d0;
}

.res a:hover,
.res .active{
color:#40e0d0;
}

.menu{
display:none;
background:transparent;
border:none;
padding:0;
cursor:pointer;
position:relative;
}

.menu-line{
position:absolute;
left:50%;
top:50%;
display:block;
width:20px;
height:3px;
background:#fff;
border-radius:2px;
transition:transform .25s ease, opacity .2s ease;
transform-origin:center;
}

.menu-line:nth-child(1){
transform:translate(-50%, -8px);
}

.menu-line:nth-child(2){
transform:translate(-50%, 0);
}

.menu-line:nth-child(3){
transform:translate(-50%, 8px);
}


/* ================= SLIDER ================= */

.slider{
position:relative;
width:100vw;
max-width:100%;
height:clamp(360px, 58vw, 700px);
overflow:hidden;
background:#000;
}

.slide{
position:absolute;
inset:0;
width:100%;
height:100%;
object-fit:cover;
object-position:center;
opacity:0;
transition:opacity 1s ease;
}

.slide.active{
opacity:1;
}

.dots{
position:absolute;
bottom:20px;
left:20px;
display:flex;
gap:10px;
}

.dot{
width:12px;
height:12px;
border-radius:50%;
background:white;
opacity:.5;
cursor:pointer;
transition:.3s;
}

.dot.active{
opacity:1;
background:#40e0d0;
}


/* ================= ABOUT ================= */

.about{
background:#ccf6ef;
}

.about-bottom{
display:flex;
gap:40px;
flex-wrap:wrap;
}

.about-left,
.about-right{
flex:1 1 400px;
}

.accordion{
border-top:1px solid rgba(47,102,96,.25);
margin-top:8px;
}

.acc-item{
border-bottom:1px solid rgba(47,102,96,.25);
}

.acc-btn{
width:100%;
padding:14px 0;
background:transparent;
color:gray;
border:none;
display:flex;
align-items:center;
justify-content:space-between;
gap:12px;
text-align:left;
font-size:22px;
cursor:pointer;
}

.acc-title{
font-size:18px;
line-height:1.25;
}

.acc-icon{
font-size:24px;
line-height:1;
width:20px;
text-align:center;
flex:0 0 20px;
}

.acc-content{
max-height:0;
overflow:hidden;
opacity:0;
padding:0;
background:transparent;
transition:max-height .35s ease, opacity .25s ease, padding .35s ease;
}

.acc-content p{
padding:0 0 14px 0;
font-size:15px;
color:gray;
}

.acc-item.active .acc-content{
opacity:1;
}

.about-bottom h2{
color: #40e0d0;
}


/* ================= TEAM ================= */

.team-cards{
display:flex;
gap:30px;
justify-content:center;
flex-wrap:wrap;
padding:60px 20px;
background:white;
}

.team-cards h3{
width:100%;
text-align:center;
}

.team-card{
background:linear-gradient(145deg, rgba(255,255,255,.75), rgba(255,255,255,.45));
border:1px solid rgba(64,224,208,.35);
padding:30px 25px;
width:100%;
max-width:260px;
flex:0 1 260px;
text-align:center;
border-radius:18px;
box-shadow:0 18px 40px rgba(20,70,70,.12);
backdrop-filter:blur(4px);
transition:transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.team-card:hover{
transform:translateY(-4px);
box-shadow:0 22px 44px rgba(20,70,70,.16);
filter:brightness(1.02);
}

.team-card img{
display:block;
width:190px;
height:190px;
object-fit:cover;
margin:0 auto 15px;
border-radius:12px;
}

.team-card h4{
font-size:22px;
line-height:1.2;
color:#2f6660;
}

.team-card h5{
font-size:22px;
margin-top:28px;
margin-bottom:10px;
color:#40e0d0;
font-family:"Schoolbell", cursive;
}

.team-card h5 + p{
font-size:19px;
line-height:1.5;
}

.team-card p{
color: gray;
}


/* ================= NEWS ================= */

.news{
background:#ccf6ef;
color:gray;
text-align:center;
padding:50px 0;
font-size:22px;
font-weight:bold;
}


/* ================= BASAR ================= */

.Basar{
background:white;
}

.Basar-bottom{
display:flex;
flex-wrap:wrap;
gap:40px;
}

.Basar-left,
.Basar-right{
flex:1 1 400px;
}

.Basar-main > h3{
color:#2f6660;

}

.Basar-bottom h3{
color:#40e0d0;

}

.Basar h2{
color: gray;

}

.Basar1{
margin-top:40px;
text-align:center;
}

.Basar-grid > h3{
  color: gray;
  font-family: "Schoolbell", cursive;
}


/* ================= GALERIE ================= */

.gallery{
background:#ccf6ef;
}

.gallery-main h3{
text-align:center;
}

.gallery ul{
display:flex;
flex-wrap:wrap;
gap:25px;
justify-content:center;
list-style:none;
}

.gallery li{
width:300px;
display:flex;
flex-direction:column;
align-items:center;
gap:12px;
padding:6px 0;
}

.gallery-btn{
display:inline-flex;
align-items:center;
justify-content:center;
padding:10px 20px;
min-height:44px;
border-radius:999px;
font-size:16px;
font-weight:bold;
letter-spacing:.2px;
color:white;
background:linear-gradient(90deg, #35d4c5, #31b6ab);
box-shadow:0 10px 22px rgba(45,150,140,.28);
transition:transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.gallery-btn:hover{
transform:translateY(-2px);
box-shadow:0 14px 26px rgba(45,150,140,.35);
filter:brightness(1.04);
}

.gallery-image-link{
display:block;
width:100%;
aspect-ratio:4 / 3;
border-radius:12px;
overflow:hidden;
box-shadow:0 10px 24px rgba(18,70,66,.18);
transition:transform .25s ease, box-shadow .25s ease;
}

.gallery-image-link:hover{
transform:translateY(-3px);
box-shadow:0 14px 28px rgba(18,70,66,.25);
}

.gallery img{
width:100%;
height:100%;
object-fit:cover;
display:block;
}

/* ================= GRUPPENSTUNDE SEITE ================= */

.group-page{
background: #ccf6ef;
}

.group-back-link{
position:fixed;
bottom:25px;
right:25px;
z-index:999;
width:58px;
height:58px;
display:flex;
align-items:center;
justify-content:center;
border:none; 
border-radius:50%;
background:linear-gradient(90deg, #35d4c5, #31b6ab);
color:#ccf6ef;
font-size:30px;
line-height:1;
cursor:pointer;
box-shadow:0 10px 22px rgba(45,150,140,.28);
transition:transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.group-back-icon{
display:inline-block;
transform:rotate(-90deg);
line-height:1;
}

.group-back-link:hover{
transform:translateY(-2px);
box-shadow:0 14px 26px rgba(45,150,140,.35);
filter:brightness(1.04);
}

.group-hero{
position:relative;
width:min(1360px, 98vw);
height:clamp(260px, 46vw, 520px);
margin:14px auto 10px;
overflow:hidden;
border-radius:0;
box-shadow:none;
background:#ccf6ef;
}

.group-hero img{
width:100%;
height:100%;
object-fit:cover;
object-position:center;
display:block;
}

.group-hero-overlay{
position:absolute;
left:0;
bottom:0;
padding:16px 20px;
background:linear-gradient(180deg, rgba(0,0,0,0) 0%, #31b6ab);
}

.group-hero-overlay h1{
font-size:52px;
color:ccf6ef;
line-height:1;
margin:0;
color: white;
}

.group-hero-overlay p{
color:#ffffff;
font-size:15px;
margin-top:6px;
}

.group-gallery-wrap{
width:min(1360px, 98vw);
margin:0 auto 36px;
}

.group-gallery{
display:flex;
flex-wrap:wrap;
align-items:center;
gap:4px;
background:#ccf6ef;
}

.group-item{
margin:0;
width:calc((100% - 12px) / 4);
overflow:hidden;
background:#ccf6ef;
aspect-ratio:2000 / 1500;
}

.group-item.wide{
width:calc((100% - 12px) / 4);
}

.group-item.tall{
width:calc((100% - 12px) / 4);
aspect-ratio:1500 / 2000;
}

.group-item.big{
width:calc((100% - 12px) / 4);
aspect-ratio:2000 / 1500;
}

.group-item img{
width:100%;
height:100%;
object-fit:cover;
display:block;
cursor:zoom-in;
transition:transform .35s ease;
}

.group-item:hover img{
transform:scale(1.02);
}

.group-lightbox{
position:fixed;
inset:0;
display:none;
align-items:center;
justify-content:center;
padding:22px;
background:rgba(0,0,0,.86);
z-index:2500;
}

.group-lightbox.open{
display:flex;
}

.group-lightbox-image{
max-width:min(1200px, 96vw);
max-height:88vh;
width:auto;
height:auto;
border-radius:8px;
box-shadow:0 18px 36px rgba(0,0,0,.45);
}

.group-lightbox-close{
position:absolute;
top:16px;
right:16px;
width:56px;
height:56px;
border:none;
border-radius:50%;
background:#35c8c2;
color:transparent;
font-size:0;
padding:0;
overflow:hidden;
cursor:pointer;
box-shadow:0 8px 18px rgba(24,130,123,.28);
transition:transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.group-lightbox-close::before,
.group-lightbox-close::after{
content:"";
position:absolute;
top:50%;
left:50%;
width:24px;
height:2.5px;
background:#fff;
border-radius:3px;
transform-origin:center;
}

.group-lightbox-close::before{
transform:translate(-50%, -50%) rotate(45deg);
}

.group-lightbox-close::after{
transform:translate(-50%, -50%) rotate(-45deg);
}

.group-lightbox-close:hover{
transform:translateY(-1px);
box-shadow:0 12px 24px rgba(24,130,123,.34);
filter:brightness(1.03);
}

@media(max-width:1100px){
.group-item{
width:calc((100% - 8px) / 3);
}

.group-item.wide{
width:calc((100% - 8px) / 3);
}

.group-item.big{
width:calc((100% - 8px) / 3);
}
}

@media(max-width:768px){
.group-hero{
width:100vw;
max-width:100%;
margin:0 0 8px;
height:clamp(210px, 54vw, 330px);
}

.group-gallery-wrap{
width:100vw;
max-width:100%;
padding:0 4px 26px;
}

.group-gallery{
gap:4px;
}

.group-item{
width:calc((100% - 4px) / 2);
}

.group-item.wide,
.group-item.big{
width:calc((100% - 4px) / 2);
}
}

@media(max-width:520px){
.group-hero-overlay{
padding:12px 14px;
}

.group-hero-overlay h1{
font-size:34px;
}

.group-item,
.group-item.wide,
.group-item.tall,
.group-item.big{
width:100%;
}
}


/* ================= KONTAKT FORMULAR ================= */

.contact-box{
margin:60px auto;
background:linear-gradient(145deg, rgba(255,255,255,.75), rgba(255,255,255,.45));
border:1px solid rgba(64,224,208,.35);
padding:36px;
border-radius:18px;
box-shadow:0 18px 40px rgba(20,70,70,.12);
backdrop-filter:blur(4px);
max-width:920px;
margin-left:auto;
margin-right:auto;
}

.contact-box h2{
color:#2f6660;
font-size:30px;
text-align:center;
margin-bottom:24px;
letter-spacing:.2px;
}

.contact-form{
display:grid;
grid-template-columns:1fr 1.4fr;
grid-template-areas:
"name subject"
"email message"
"button button";
gap:16px 20px;
align-items:start;
}

.field-name{
grid-area:name;
}

.field-email{
grid-area:email;
}

.field-subject{
grid-area:subject;
}

.field-message{
grid-area:message;
min-height:132px;
resize:vertical;
}

.contact-form input,
.contact-form textarea{
padding:14px 16px;
border:1px solid rgba(58,150,140,.35);
border-radius:12px;
font-size:16px;
background:rgba(255,255,255,.86);
color:#254441;
transition:border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder{
color:#7a8f8d;
}

.contact-form input:focus,
.contact-form textarea:focus{
outline:none;
border-color:#2ac9bb;
box-shadow:0 0 0 3px rgba(64,224,208,.25);
transform:translateY(-1px);
}

.contact-form button{
grid-area:button;
background:linear-gradient(90deg, #35d4c5, #31b6ab);
color:white;
border:none;
padding:15px 20px;
font-size:16px;
font-weight:bold;
border-radius:12px;
cursor:pointer;
justify-self:center;
width:240px;
transition:transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.contact-form button:hover{
transform:translateY(-2px);
box-shadow:0 10px 22px rgba(45,150,140,.35);
filter:brightness(1.04);
}


/* ================= IMPRESSUM ================= */

.impressum{
background:white;
text-align:center;
}

.impressum a{
color:#40e0d0;
font-weight:bold;
}


/* ================= PARTNER ================= */

.Werbung{
background:#ccf6ef;
text-align:center;
}

.Werbung-grid h4{
    color: gray;
}

.Werbung .container{
display:flex;
flex-wrap:wrap;
gap:40px;
justify-content:center;
}

.Werbung-grid img{
margin-top:10px;
transition:.3s;
}

.Werbung-grid img:hover{
transform:scale(1.1);
}


/* ================= FOOTER ================= */

.footer{
background:#1c1c1c;
color:white;
text-align:center;
padding:30px 0;
}

.footer ul{
list-style:none;
display:flex;
flex-wrap:wrap;
gap:20px;
justify-content:center;
margin-top:15px;
}

.footer a{
color:white;
font-size:17px;
font-family:"Schoolbell", cursive;
}

.footer a:hover{
color:#40e0d0;
}


/* ================= RESPONSIVE ================= */

@media(max-width:768px){

.header{
background:transparent;
}

.header.nav-open{
background:#000;
}

.top-nav{
justify-content:flex-start;
padding-left:16px;
}

.res{
display:none;
flex-direction:column;
background:#1c1c1c;
position:absolute;
top:100%;
width:100%;
left:0;
padding:10px 0;
text-align:center;
z-index:1000;
border-top:1px solid rgba(255,255,255,.15);
}

.menu-dropdown{
width:100%;
}

.gallery-submenu{
position:static;
left:auto;
top:auto;
transform:none;
min-width:0;
background:#000;
border:none;
border-radius:0;
padding:0;
max-height:0;
opacity:1;
visibility:visible;
pointer-events:auto;
overflow:hidden;
transition:max-height .25s ease;
}

.menu-dropdown.open .gallery-submenu{
max-height:220px;
transform:none;
}

.gallery-submenu a{
padding:10px 0;
text-align:center;
}

.res.open{
display:flex;
}

.res li{
width:100%;
}

.res a{
display:block;
padding:12px 0;
}

.menu{
display:flex;
align-items:center;
justify-content:center;
width:52px;
height:52px;
border:1px solid rgba(255,255,255,.2);
border-radius:8px;
background:#000;
}

.menu.open .menu-line:nth-child(1){
transform:translate(-50%, 0) rotate(45deg);
}

.menu.open .menu-line:nth-child(2){
opacity:0;
}

.menu.open .menu-line:nth-child(3){
transform:translate(-50%, 0) rotate(-45deg);
}

.slider{
height:clamp(240px, 62vw, 420px);
}

.acc-title{
font-size:16px;
}

.acc-icon{
font-size:21px;
}

.team-cards{
flex-direction:column;
align-items:center;
}

.team-card{
max-width:340px;
}

.contact-box{
margin:40px 16px;
padding:24px;
}

.contact-box h2{
font-size:25px;
}

.contact-form{
grid-template-columns:1fr;
grid-template-areas:
"name"
"email"
"subject"
"message"
"button";
}

.contact-form button{
width:100%;
}

}

/* ================= Pfeil nach oben ================= */

#topBtn{
position:fixed;
bottom:25px;
right:25px;
z-index:999;
width:58px;
height:58px;
display:none;
align-items:center;
justify-content:center;
border:none;
border-radius:50%;
background:linear-gradient(90deg, #35d4c5, #31b6ab);
color:white;
font-size:30px;
line-height:1;
cursor:pointer;
box-shadow:0 10px 22px rgba(45,150,140,.28);
transition:transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

#topBtn:hover{
transform:translateY(-2px);
box-shadow:0 14px 26px rgba(45,150,140,.35);
filter:brightness(1.04);
}


.basar-download-btn{
display:inline-flex;
align-items:center;
justify-content:center;
margin-top:12px;
padding:8px 16px;
min-height:36px;
border-radius:999px;
font-size:14px;
font-weight:bold;
letter-spacing:.2px;
color:white;
background:linear-gradient(90deg, #35d4c5, #31b6ab);
box-shadow:0 8px 16px rgba(45,150,140,.24);
transition:transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.basar-download-btn:hover{
transform:translateY(-2px);
box-shadow:0 12px 20px rgba(45,150,140,.30);
filter:brightness(1.04);
}

