/* -----------------------------------
   Soft Blue‑Green Nature Theme
----------------------------------- */

:root {
    --bluegreen-50:  #F6FAFA;
    --bluegreen-100: #E8F3F3;
    --bluegreen-200: #D4E8E8;
    --bluegreen-300: #B8D8D8;
    --bluegreen-500: #7BAEAE;
    --bluegreen-700: #4F7C7C;

    --white:     #FFFFFF;
    --text-dark: #1A1A1A;
    --text-soft: #4A4A4A;
}
		
/* -----------------------------------
   Global
----------------------------------- */

body {
    font-family: 'Open Sans', sans-serif;
    background: var(--bluegreen-50);
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 18px;
}

h2 {
    font-size: 2.4rem;
    color: var(--bluegreen-700);
    font-weight: 700;
}

h3 {
    font-size: 1.4rem;
    color: var(--bluegreen-500);
    font-weight: 700;
}

.section-lead {
    font-size: 1.2rem;
    color: var(--text-soft);
    
}

html {
    scroll-behavior: smooth;       /* sanftes Scrollen bei Anker-Links */
    scroll-padding-top: 50px;      /* Desktop Navbar-Höhe */
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 340px; /* Mobile Navbar-Höhe */
    }
}

.video-wrapper {
    position: relative;
    width: 100%; /* Bezieht sich jetzt auf die Breite von .container */
    padding-bottom: 56.25%; /* 16:9 Verhältnis */
    height: 0;
    overflow: hidden;
    margin-top: 20px; /* Optional: etwas Abstand nach oben */
    margin-bottom: 40px; /* Optional: etwas Abstand nach unten */
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* -----------------------------------
   Header
----------------------------------- */

.top-header {
    padding: 40px 20px;
    background: var(--white);
    text-align: center;
    border-bottom: 4px solid var(--bluegreen-200);
}

.top-header h1 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    font-size: 2.6rem;
    color: var(--bluegreen-700);
}
.rr-logo {
    height: 50px;
    background: var(--white); /* exakt wie der Header */
    padding: 0;               /* keine Box um das Logo */
    border-radius: 0;         /* keine Rundung */
    display: block;           /* verhindert weiße Ränder */
}




/* -----------------------------------
   Hero
----------------------------------- */

.hero {
    background: url('Sinntal.jpeg') center 20% / cover no-repeat;
    height: 68vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.350);
}

.hero-text {
    position: relative;
    color: white;
    text-align: center;
    padding: 0 20px;
}

.hero-text h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 3.6rem;
    color: #ffffff;
    animation: floatPulse 4s ease-in-out infinite;
    text-shadow: 0 0 12px rgba(255,255,255,0.6);
}

.hero-text p {
    font-size: 1.4rem;
}

@keyframes floatPulse {
    0% { opacity: 0.9; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-10px); }
    100% { opacity: 0.9; transform: translateY(0); }
}

/* -----------------------------------
   Section Backgrounds
----------------------------------- */

#about,
#program,
#contact {
    background: var(--white);
}

#teams,
#gallery,
#parents,
#map {
    background: var(--bluegreen-100);
}

/* -----------------------------------
   Intro
----------------------------------- */

#intro p {
    margin-bottom: 20px;
    font-size: 1.15rem;
}

/* -----------------------------------
   Teamleiter Bilder
----------------------------------- */

.rounded-circle {
    width: 180px;
    height: 180px;
    object-fit: cover;
}

/* -----------------------------------
   Galerie
----------------------------------- */

.gallery-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

/* -----------------------------------
   Kontakt
----------------------------------- */

#contact a {
    color: var(--bluegreen-700);
    text-decoration: none;
    font-weight: 600;
}

#contact a:hover {
    text-decoration: underline;
}

/* -----------------------------------
   Footer
----------------------------------- */

footer {
    background: var(--bluegreen-300);
    color: var(--bluegreen-700);
    text-align: center;
    padding: 30px;
    font-size: 0.95rem;
    border-top: 3px solid var(--bluegreen-500);
}
