/* CSS Variables */
:root {
	  --rummel-pink: #D0047F;
	  --rummel-dark: #1C0D44;
    --rummel-hintergrund1: #F3E958;
	
    --primary-color: #D0047F; /* auf Pink geaendert*/
    --primary-dark: #C1121F;
    --secondary-color: #F4A261;
    --accent-color: #2A9D8F;
    --text-dark: #1D3557;
    --text-light: #457B9D;
    --bg-light: #F1FAEE;
    --bg-white: #FFFFFF;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}






/* COLORS */
.rummel-pink {
		color: var(--rummel-pink);
	}
  
  .rummel-pink-bg {
  background-color: var(--rummel-pink);
  }

.rummel-dunkel {
		color: var(--rummel-dark);
	}



/* FONTS */
.belanosima-light {
  font-family: "Belanosima", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.belanosima-regular {
  font-family: "Belanosima", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.belanosima-semibold {
  font-family: "Belanosima", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.belanosima-bold {
  font-family: "Belanosima", sans-serif;
  font-weight: 700;
  font-style: normal;
}

h3 {
    font-family: "Belanosima", sans-serif;
    font-weight: 400;
    font-style: normal;
}


/* CONTAINER */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}



.presseinfo {
  background-color:#D0047F;
  color:white;
  height:auto;
}






/* BUTTONS */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: 'Nunito', sans-serif;
    /*font-weight: 700;*/
    font-size: 1rem;
    text-align: center;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--rummel-pink);
    color: white;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.6);
}

.btn-full {
    width: 100%;
}




















/* NAVIGATION */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/*.logo img {
    height: 60px;
    width: auto;
    transition: var(--transition);
}*/

.navbar.scrolled .logo img {
    height: 50px;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    /*font-weight: 700;*/
    font-size: 1.4rem;
    color: white;
    position: relative;
    padding: 5px 0;
}

.navbar.scrolled .nav-link {
    color: var(--text-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--secondary-color);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    transition: var(--transition);
    border-radius: 3px;
}

.navbar.scrolled .nav-toggle span {
    background: var(--text-dark);
}









/* HERO section */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;

}

/* Hintergrundbild */
.hero-bg {
    position: absolute;
    inset: 0;                   
    background-image: url("../images/hintergrund2.jpg");
    background-size: cover;
    background-position: top center;   
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    color: #fff;
    /* z.B. zentrieren: */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url("../images/riesenrad7.svg");
    background-size: auto 90%;
    background-position: bottom center;   
    background-repeat: no-repeat;
    z-index: 4;
}

.hero-overlay2 {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url("../images/silhouette2.svg");
    background-size: 100% auto;
    background-position: bottom center;   
    background-repeat: no-repeat;
    z-index: 6;
}

@keyframes zoomIn {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-title {
    font-size: clamp(3rem, 10vw, 6rem);
    /*font-weight: 900;*/
    line-height: 1.3;
    /*margin-bottom: 20px;*/
    text-shadow: 0.2rem 0.1rem 0 var(--rummel-dark);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: clamp(6rem, 20vw, 12rem);
    font-weight: 400;
    /*margin-bottom: 40px;*/
    /*opacity: 0.9;*/
	  text-shadow: 0.3rem 0.2rem 0 var(--rummel-dark);
    animation: fadeInUp 1s ease 0.2s both;
    line-height: 1;
}

.hero-subsubtitle {
    font-size: clamp(2rem, 10vw, 3rem);
    line-height:3.4rem;
    /*font-weight: 400;*/
    margin-bottom: 40px;
    /*opacity: 0.9;*/
	  /*text-shadow: 0.4rem 0.2rem 0 var(--rummel-dark);*/
    animation: fadeInUp 1s ease 0.2s both;
}

.hero .btn {
    animation: fadeInUp 1s ease 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(130px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}





/* SCROLL */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 15px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: scrollDown 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes scrollDown {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 30px; }
}







/* SECTIONS */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    /*font-weight: 800;*/
    font-family: "Belanosima", sans-serif;
    font-weight: 500;
    font-style: normal;
    color: var(--rummel-pink);
    /*color: var(--text-dark);*/
    margin-bottom: 15px;
}

.section-line {
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* FAMILIENTAG ('about') und FEUERWERK section */
.section-about {
   /*background: var(--rummel-hintergrund1);*/
    /*border-solid:5px solid red;*/
    background-image: url("../images/hg01.jpg");
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
}

.section-feuerwerk {
  background-color: var(--rummel-dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 4px solid var(--secondary-color);
    border-radius: 20px;
    z-index: -1;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-content h3 {
    font-size: 1.8rem;
    /*font-weight: 700;*/
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-light);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid rgba(0,0,0,0.1);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
}




/* ATTRAKTIONEN Section */
.section-attractions {
    /*background: var(--bg-white);*/
    background-image: url("../images/hg03.jpg");
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
}

.attractions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.attraction-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.attraction-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.attraction-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.attraction-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.attraction-card:hover .attraction-image img {
    transform: scale(1.1);
}

/*.attraction-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(230, 57, 70, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}*/

.attraction-card:hover .attraction-overlay {
    opacity: 1;
}

.attraction-icon {
    font-size: 3rem;
    transform: scale(0);
    transition: transform 0.3s ease 0.1s;
}

.attraction-card:hover .attraction-icon {
    transform: scale(1);
}

.attraction-content {
    padding: 30px;
}

.attraction-content h3 {
    font-size: 1.5rem;
    /*font-weight: 700;*/
    margin-bottom: 10px;
    color: var(--rummel-pink);
}

.attraction-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Gallery Section */
.section-gallery {
    background: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 300px);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    /*width: 300px;*/
    /*height: 300px;*/
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay span {
    font-weight: 700;
    font-size: 1.1rem;
}





/* KONTAKT Section */
.section-contact {
    background: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow);
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.contact-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.contact-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.contact-card a {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-card a:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    width:100%;
    text-align:center;

}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.social-link svg {
    width: 24px;
    height: 24px;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
        width: 100%;
    max-width: 800px;
    margin: 0 auto;

}

#kontaktblock {
    display: none; /* zuerst unsichtbar, erst auf Klick eingeblendet */
}


.contact-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.checkbox-group label {
    margin: 0;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-section p {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 250px);
    }
    
    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 100px 40px;
        gap: 30px;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        color: var(--text-dark) !important;
        font-size: 1.2rem;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
        background: var(--text-dark);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
        background: var(--text-dark);
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .attractions-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
          /*display: grid;
          grid-template-columns: repeat(4, 1fr);
          gap: 1rem;*/
    }
    
    .gallery-item, {
        grid-column: span 1;
        grid-row: span 1;
        height: 300px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .section {
        padding: 60px 0;
    }
}





/* OVERLAY */

  /* Vollflächiger dunkler Overlay-Hintergrund */
  .overlayPRESSE, 
  .overlayIMPRESSUM, 
  .overlayDATENSCHUTZ, 
  .overlayOEFFNUNGSZEITEN, 
  .overlayAUSSTELLER {
    position: fixed;
    inset: 0; /* top:0; right:0; bottom:0; left:0; */
    background-color: rgba(0, 0, 0, 0.6); /* abgedunkelt */ 
    display: flex;
    align-items: center;
    justify-content: center; /* zentriert das Dialogfenster */ 
    z-index: 9999;
  }

  /* Das eigentliche Dialogfenster */
  .overlay-box {
    background: #fff;
    max-width: 600px;
    width: 90%;
    max-height: 80vh; /* damit Platz zum Scrollen bleibt */ 
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
  }

  /* Scrollbarer Inhaltsbereich */
  .overlay-content {
    padding: 1.5rem;
    overflow: auto;  /* Inhalt scrollt, wenn zu lang */ 
  }

  /* Button-Bereich */
  .overlay-footer {
    padding: 0.75rem 1.5rem 1rem;
    text-align: right;
    border-top: 1px solid #ddd;
  }

  .overlay-close-btn {
    padding: 0.5rem 1rem;
    border-radius: 3px;
    border: none;
    background: #444;
    color: #fff;
    cursor: pointer;
  }

  .overlay-close-btn:hover {
    background: #000;
  }

  /* Overlay ausblenden */
   .overlayPRESSE.hiddy, 
   .overlayIMPRESSUM.hiddy, 
   .overlayDATENSCHUTZ.hiddy, 
   .overlayOEFFNUNGSZEITEN.hiddy, 
   .overlayAUSSTELLER.hiddy {
    display: none;
  }

.hiddy {
    display: none;
  }













@media (max-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}




@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .contact-form-wrapper {
        padding: 25px;
    }
}