/* ========================================================
   SIMPLE UNIFIED COLOR THEME – EDIT ONLY THESE VALUES
========================================================== */
:root {
    /* Body & Content */
    --body-text: #2c2c2c;
    --body-bg: #f4f4f9;
    --content-heading: #333;
    --content-text: #555;
    --card-text: #777;
    
    /* Header, Navigation & Footer */
    --theme-bg: #f69400;       /* Base background for header, nav & footer */
    --theme-accent: #a5e03e;   /* Accent used in gradients and buttons */
    --theme-light: #fff;       /* Light text for header/footer */
    
    /* Navigation (additional) */
    --nav-link: #ccc;
    --nav-hover-bg: #ddd;
    --nav-hover-color: black;
    
    /* Hero Overlay */
    --hero-overlay: rgba(246, 243, 243, 0.212);
    
    /* Popup & Cookie */
    --popup-bg: #fefefe;
    --popup-border: #888;
    --popup-btn: #f69400;
    --popup-btn-hover: #a5e03e;
    --cookie-bg: #222;
    --cookie-text: #fff;
    
    /* Buttons (Unified for all buttons) */
    --btn-bg: #f69400;
    --btn-bg-hover: #a5e03e;
    --btn-text: #fff;
    
    /* Dot Indicators */
    --dot-bg: #bbb;
    
    /* Unified Button Sizing */
    --btn-font-size: 1rem;
    --btn-padding-vertical: 10px;
    --btn-padding-horizontal: 10px;
    --btn-border-radius: 10px;
    --btn-transition: background-color 0.3s ease;
  }
  
  /* ========================================================
     GLOBAL STYLES
  ========================================================== */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    color: var(--body-text);
    background: var(--body-bg);
    line-height: 1.8;
    font-size: 16px;
    overflow-x: hidden;
  }
  
  .container {
    width: 100%;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* Header */
  header {
    background: linear-gradient(90deg, #66BCDC, #E3CC60, #f69400, #a5e03e);
    color: var(--theme-light);
    padding: 0;
    text-align: center;
    position: relative;
  }
  
  header h1 {
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
  }
  
  header p {
    font-size: 1.2rem;
    margin-top: 0;
    opacity: 0.9;
  }

  header a {
    padding-top: 0 !important;
    padding-bottom: 5px !important;
  }
  
  /* Menü-Icon */
  .menu-icon {
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    position: absolute;
    top: 3px;
    left: 10px;
  }
  
  /* Navigation */
  nav {
    margin-top: 5px;
    display: flex;
    justify-content: center;
    gap: 20px;
  }
  
  nav a {
    text-decoration: none;
    color: var(--nav-link);
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    padding: 0;
    text-transform: uppercase;
  }
  
  nav a:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--theme-light);
    transition: width 0.3s ease-in-out;
  }
  
  nav a:hover:before {
    width: 100%;
  }
  
  nav a:hover {
    background-color: var(--nav-hover-bg);
    color: var(--nav-hover-color);
  }
  
  /* Mobile Navigation */
  @media (max-width: 768px) {
    footer {
      padding: 15px;
      flex-direction: column;
    }
    footer a {
      margin: 10px 0;
      font-size: 1rem;
    }
    nav {
      display: none;
      flex-direction: column;
      align-items: center;
      row-gap: 0 !important;
      background: var(--theme-bg);
      position: absolute;
      top: 50px;
      left: 0;
      width: 30%;
      padding: 10px 0;
      font-size: 1.5rem;
      z-index: 9999;
    }
    nav.show {
      display: flex;
    }
  }
  
  /* Hero Section */
  .hero {
    height: 100vh;
    background: url('../images/Hintergrund2.jpeg') no-repeat center center/cover;
    background-attachment: fixed;
    display: flex;
    flex-direction: column; /* Stack children vertically */
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--theme-light);
    position: relative;
    overflow: hidden;
  }
  
  .hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--hero-overlay);
    z-index: 1;
  }
  
  .hero h2 {
    font-size: 4rem;
    z-index: 2;
    margin: 0;
    letter-spacing: 2px;
    animation: fadeInDown 1.5s ease-out;
    background-color: #a5e03e; /* Green background */
    color: #fff;              /* White text */
    padding: 0.2em 0.2em !important;
    text-align: left;         /* Text remains left-aligned within the box */
    padding: 0.2em 0.2em !important;
    line-height: 1;
  }
  
  .hero p {
    font-size: 2rem;
    z-index: 2;
    margin: 0;
    margin-left: 25%;       /* Shift the box 30% from the left */
    letter-spacing: 2px;
    animation: fadeInUp 5s ease-out;
    background-color: #a5e03e; /* Green background */
    color: #fff;              /* White text */
    padding: 0.2em 0.2em !important;
    text-align: left;         /* Text remains left-aligned within the box */
    line-height: 1;
  }

   /* Hero2 Section on einzel-coaching*/
  .hero2 {
    height: 100vh;
    background: url('../images/Theater_Einzel_Coaching.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    display: flex;
    flex-direction: column; /* Stack children vertically */
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  
  .hero2:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--hero-overlay);
    z-index: 1;
  }
  
  .hero2 h2 {
    font-size: 4rem;
    z-index: 2;
    margin: 0;
    letter-spacing: 2px;
    animation: fadeInDown 1.5s ease-out;
    background-color: #a5e03e; /* Green background */
    color: #fff;              /* White text */
    padding: 0.2em 0.2em !important;
    text-align: left;         /* Text remains left-aligned within the box */
    padding: 0.2em 0.2em !important;
    line-height: 1;
  }
  
  .hero2 p {
    font-size: 2rem;
    z-index: 2;
    margin: 0;
    margin-left: 20%;       /* Shift the box 30% from the left */
    letter-spacing: 2px;
    animation: fadeInUp 5s ease-out;
    background-color: #a5e03e; /* Green background */
    color: #fff;              /* White text */
    padding: 0.2em 0.2em !important;
    text-align: left;         /* Text remains left-aligned within the box */
    line-height: 1;
  }

  /* Hero3 Section on gruppen-coaching*/
  .hero3 {
    height: 100vh;
    background: url('../images/Kaufladen_Gruppe_2.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    display: flex;
    flex-direction: column; /* Stack children vertically */
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  
  .hero3:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--hero-overlay);
    z-index: 1;
  }
  
  .hero3 h2 {
    font-size: 4rem;
    z-index: 2;
    margin: 0;
    letter-spacing: 2px;
    animation: fadeInDown 1.5s ease-out;
    background-color: #a5e03e; /* Green background */
    color: #fff;              /* White text */
    padding: 0.2em 0.2em !important;
    text-align: left;         /* Text remains left-aligned within the box */
    padding: 0.2em 0.2em !important;
    line-height: 1;
  }
  
  .hero3 p {
    font-size: 2rem;
    z-index: 2;
    margin: 0;
    margin-left: 20%;       /* Shift the box 30% from the left */
    letter-spacing: 2px;
    animation: fadeInUp 5s ease-out;
    background-color: #a5e03e; /* Green background */
    color: #fff;              /* White text */
    padding: 0.2em 0.2em !important;
    text-align: left;         /* Text remains left-aligned within the box */
    line-height: 1;
  }

    /* Hero Section */
    .hero4 {
      height: 100vh;
      background: url('../images/Dancer.jpg') no-repeat center center/cover;
      background-attachment: fixed;
      display: flex;
      flex-direction: column; /* Stack children vertically */
      justify-content: center;
      align-items: center;
      position: relative;
      overflow: hidden;
    }
  
  
  /* Keyframes for Animations */
  @keyframes fadeInDown {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Content Section */
  .content {
    max-width: 1000px;
    margin: 0 auto;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
    padding-bottom: 15px;
    display: flex;
    flex-direction: column;
  }

  .content ul {
    text-align: left !important;   /* Text linksbündig */
    margin-left: 0.2em; /* Optional: Standard-Einzug für Aufzählungspunkte */
    padding: 0;
    margin-top: 5px;
  }   

  .content li {
    text-align: left !important;   /* Text linksbündig */
    margin-left: 0.2em; /* Optional: Standard-Einzug für Aufzählungspunkte */
    padding: 0;
    margin-bottom: 0 !important;
  }   
  
  .content h1 {
    font-size: 2rem;
    color: var(--content-heading);
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
  }
 
  .content h2,
  .form-container h2,
  .anfrage h2 {
    font-size: 1.6rem;
    color: var(--content-heading);
    margin-top: 15px;
    letter-spacing: 2px;
  }
  
  .content h3 {
    font-size: 1.3rem;
    color: var(--content-heading);
    letter-spacing: 2px;
    margin-top: 20px;
  }
  
  .content p {
    font-size: 1.1rem;
    color: var(--content-text);
    margin: 10px 0;
    margin-bottom: 0;
    line-height: 1.8;
  }
  
  /* List Elements */
  .content ul {
    list-style-type: disc;
    padding-left: 40px;
  }
  
  .content li {
    font-size: 1.1rem;
    color: var(--content-text);
    margin-bottom: 10px;
    text-align: center;
  }
  
  /* Cards */
  .cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  
  .card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 300px;
    transition: var(--btn-transition);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
  }
  
  .card img {
    width: 100%;
    display: block;
  }
  
  .card h4 {
    font-size: 1.5rem;
    margin: 10px 10px 10px;
    color: var(--body-text);
  }
  
  .card p {
    margin: 10px 10px 10px;
    font-size: 0.9rem;
    color: var(--card-text);
    flex-grow: 1;
  }
  
   /* Button Group */
   .button-group {
    margin-top: 10px !important;
    margin-bottom: 20px !important;
    justify-content: center;
    text-align: center;
    height: auto;
  }

  /* Unified Button Styles (every button uses the same design) */
  .btn,
  .submit-btn,
  button,
  .card .booking-btn,
  .button-group a.btn,
  .a.btn,
  .cookie-banner button,
  .form-group label.btn,
  .form-group label.btn[for="image"] {
    background-color: var(--btn-bg);
    color: var(--btn-text);
    font-size: var(--btn-font-size);
    padding: var(--btn-padding-vertical) var(--btn-padding-horizontal);
    border: none;
    border-radius: var(--btn-border-radius);
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: var(--btn-transition);
    margin: 5px !important;
  }
  
  .btn:hover,
  .submit-btn:hover,
  button:hover,
  .card .booking-btn:hover,
  .cookie-banner button:hover,
  label.btn:hover {
    background-color: var(--btn-bg-hover);
  }
  
  /* Footer */
  footer {
    background: var(--theme-bg);
    clear: both;
    margin-top: 10px;
    color: var(--theme-light);
    text-align: center;
    padding: 10px 0;
    gap: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  footer p {
    font-size: 1rem;
    opacity: 0.8;
    color: #fff;
  }

  footer a {
    color: var(--theme-light);
    text-decoration: none;
    margin: 0 10px;
  }
  
  /* Invalid Input */
  input.invalid {
    border: 2px solid red;
  }
  
  /* Form Container & Groups */
  .form-container {
    display: flex;
    max-width: 1000px;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin: 0 auto;
    display: flex;
  }
  
  .form-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* 20px gap between fields */
  }
  
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="date"] {
    padding: 12px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
    flex: 1 1 calc(50% - 20px);
    min-width: 300px;
  }
  
  input#houseNumber,
  input#postalCode {
    flex: 1 1 calc(20% - 400px);
    min-width: 50px;
  }
  
  /* Slideshow */
  .slideshow-container {
    width: 100%;
    display: block;
    position: relative;
    margin: auto;
  }

  .slideshow-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
  }
  .mySlides {
    display: none;
  }
  
  .fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
  }
  
  @-webkit-keyframes fade {
    from { opacity: .4; }
    to { opacity: 1; }
  }
  
  @keyframes fade {
    from { opacity: .4; }
    to { opacity: 1; }
  }
  
  /* Dot Indicators */
  .dot {
    height: 10px;
    width: 10px;
    margin: 0 2px;
    background-color: var(--dot-bg);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
  
  .active {
    background-color: var(--body-bg);
  }
  
  /* Navigation Bar Links (Override) */
  nav a {
    float: left;
    display: block;
    color: var(--theme-light);
    text-align: center;
    padding: 14px 12px;
    text-decoration: none;
    font-size: 17px;
  }
  
  nav a:hover {
    background-color: var(--nav-hover-bg);
    color: var(--nav-hover-color);
  }
  
  nav a.active {
    background-color: var(--theme-accent);
    color: var(--theme-light);
  }
  
  /* Blog Section */
  .blog-posts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  
  .post {
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
  }
  
  .post h3 {
    font-size: 1.5rem;
    color: var(--content-heading);
  }
  
  .post p {
    font-size: 1.1rem;
    color: var(--content-text);
  }
  
  .post img {
    max-width: 100%;
    height: auto;
  }
  
  /* Popup Styles */
  .popup {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
  }
  
  .popup-content {
    background-color: var(--popup-bg);
    margin: 25% auto;
    padding: 20px;
    border: 1px solid var(--popup-border);
    width: 80%;
    max-width: 400px;
    border-radius: 10px;
    text-align: left;
    font-size: 1rem;
  }
  
  .popup-content input[type="email"],
  .popup-content input[type="password"] {
    width: calc(100% - 20px);
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
  }
  
  .popup-content input[type="password"] {
    margin-bottom: 20px;
  }
  
  .popup-content button {
    background-color: var(--popup-btn);
    color: var(--theme-light);
    font-size: var(--btn-font-size);
    padding: var(--btn-padding-vertical) var(--btn-padding-horizontal);
    border: none;
    border-radius: var(--btn-border-radius);
    cursor: pointer;
    transition: var(--btn-transition);
  }
  
  .popup-content button:hover {
    background-color: var(--popup-btn-hover);
  }
  
  .close {
    color: var(--popup-border);
    float: right;
    font-size: 20px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: var(--theme-light);
    text-decoration: none;
    cursor: pointer;
  }
  
  .anfrage .options label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 0;
    margin-bottom: 0;
  }
  
  .anfrage textarea {
    width: 100%;
    height: 20em;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    resize: vertical;
  }
  
  .footer-link {
    color: var(--theme-light);
    text-decoration: none;
  }
  
  .footer-link:hover {
    text-decoration: underline;
  }
  
  /* Alerts */
  .alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
  }
  
  .alert-success {
    color: var(--popup-btn); /* using the theme accent for success, adjust if needed */
    background-color: #dff0d8;
    border-color: #d6e9c6;
  }
  
  .alert-danger {
    color: var(--popup-btn-hover); /* using the darker accent for danger, adjust if needed */
    background-color: #f2dede;
    border-color: #ebccd1;
  }
  
  /* Cookie Banner */
  .cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--cookie-bg);
    color: var(--cookie-text);
    padding: 15px;
    text-align: center;
    font-size: 0.9rem;
    z-index: 1000;
  }
  
  .cookie-banner a {
    color: var(--cookie-text);
    text-decoration: underline;
  }
  
  .cookie-banner button {
    background-color: var(--btn-bg);
    color: var(--btn-text);
    font-size: var(--btn-font-size);
    padding: var(--btn-padding-vertical) var(--btn-padding-horizontal);
    border: none;
    border-radius: var(--btn-border-radius);
    cursor: pointer;
    transition: var(--btn-transition);
  }
  
  .cookie-banner button:hover {
    background-color: var(--btn-bg-hover);
  }

  /* Popup-Container (hintergrundüberlagerung) */
.popup {
    display: none; /* Standardmäßig ausgeblendet */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
  }
  
  /* Popup-Inhalt (ähnlich wie beim Login-Popup) */
  .popup-content {
    background-color: var(--popup-bg);
    margin: 15% auto;
    padding: 20px;
    border: 1px solid var(--popup-border);
    width: 80%;
    max-width: 400px;
    border-radius: 10px;
    position: relative;
  }
  
  /* Schließen-Button */
  .popup-content .close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
  }

  .img-right {
    float: right;
    margin: 0 0 1em 1em;
    width: min(300px, 100%);
    aspect-ratio: 550 / 714;
    object-fit: cover;
    object-position: center top;
}

.three-columns {
  display: flex;
  justify-content: space-between; /* Adjust spacing between columns, if needed */
  flex-wrap: wrap;
  margin-top: 10px;
}

.three-columns .column {
  flex: 1; /* Each column takes an equal share of the available width */
  min-width: 300px; /* Ensures columns shrink to a reasonable width */
}

/* Make the header overlay darker */
#header-shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* stronger shadow */
  pointer-events: none;
  z-index: 1;
  transition: opacity 2s ease; /* fade-out takes 2 seconds */
}

/* Slow down the spotlight movement */
#spotlight {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 20%;
  background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 30%);
  pointer-events: none;
  z-index: 2;
  transition: top 2s ease-in-out, left 2s ease-in-out, opacity 2s ease;
}

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

html, body {
  overflow-x: hidden;
}

.responsive-iframe {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  margin-top: 20px; /* Adjust spacing as needed */
}

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

.responsive-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 10px auto;
}

.new-blog-entry {
  text-align: center;
  margin-bottom: 20px;
}

.blog-post {
  margin-bottom: 20px;
  padding: 0;
}

/* Make slideshow images responsive */
.responsive-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Keep each Impressions heading with its media while separating entries. */
.impressions-content > .impressions-entry-heading:not(:first-of-type) {
  margin-top: clamp(3rem, 6vw, 5rem);
}

/* Responsive video container for YouTube */
.video-container {
  width: 100%;             
  position: relative;
  padding-bottom: 56.25%;  /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 1200px;       /* Match slideshow container */
  margin: 0px auto;
  
}

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

/* Header Styles for Spotlight & Mobile Navigation */

/* Spotlight styling: larger, circular, with radial gradient and opacity transition */
#spotlight {
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 40%);
  pointer-events: none;
  z-index: 2;
  transition: opacity 2s ease;
}

/* Header shadow styling */
#header-shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  pointer-events: none;
  z-index: 1;
  transition: opacity 2s ease;
}

/* Wrap individual letters in the header title with a transition */
#header-title span {
  transition: color 0.5s ease, text-shadow 0.5s ease;
}

/* Highlight effect for letters overlapped by the spotlight */
#header-title span.enlight-letter {
  color: #ffffe0;
  text-shadow: 0 0 5px #ffffe0;
}

/* Mobile responsiveness: stack columns on small screens */
/* Mobile Navigation */
/* MOBILE STYLES */
@media (max-width: 768px) {
  footer {
    padding: 10px;
    flex-direction: column;
    gap: 0 !important; /* reduce the gap between items */
  }
  footer a {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 1rem;
  }
  /* Show the hamburger icon on mobile */
  .menu-icon {
    display: block;
  }
  /* Mobile Navigation (full-width, toggle via JS) */
  nav {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 0;
    background: var(--theme-bg);
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;  /* full width */
    padding: 5px 0;
    font-size: 1rem;
    z-index: 9999;
  }
  nav.show {
    display: flex;
  }
  .content p,
  .content h3,
  .column li,
  .content li {
  font-size: 1rem;
  margin-top: 5px !important;
  margin-bottom: 5px !important;
  }
  .impressions-content > .impressions-entry-heading:not(:first-of-type) {
    margin-top: 3rem !important;
  }
  header h1 {
    font-size: 2rem;  /* Scale headings down on mobile */
    letter-spacing: 1px;
    margin-bottom: 0;
  }
  /* For the hero sections, reduce padding and font-sizes */
  .hero h2,
  .hero2 h2,
  .hero3 h2 {
    font-size: 2rem;
  }
  .hero p,
  .hero2 p,
  .hero3 p {
    font-size: 1.3rem;
    margin-left: 40%;
  }
  .content h1 {
    margin-left: 0;
    margin-right: 0;
    text-align: center;
    font-size: 1.3rem;
    margin-top: 10px !important;
  }
  .anfrage h2 {
    margin-top: 10px !important;
  }
  .form-container h2,
  .content h2,
  .blog-post h2 {
    font-size: 1.1rem;
    margin-top: 20px !important;
  }
  .content {
    padding: 5px !important;
    width: calc(100% - 10px) !important;
    margin: 0 auto !important;
  }
  .content,
  .blog-post {
    margin-bottom: 5px !important;
  }
  .popup
  .popup-content {
    padding: 10px !important;
    width: calc(100% - 20px) !important;
    margin: 0 auto !important;
  }
  .blog-post p {
    font-size: 1rem;
  }
  .blog-post,
  .anfrage{
    padding: 0 !important;  /* Remove any internal padding */
    margin: 0 !important;   /* Remove extra margins */
    width: 100% !important;
  }
  /* Shared rules for both containers */
  .slideshow-container,
  .video-container {
    box-sizing: border-box;
    width: 100% !important; /* Account for left/right margins */
    margin-bottom: 0px !important;
  }

  /* Specific styling for the video container */
  .video-container {
    max-width: 1200px; /* Enforce same maximum width */
    padding-bottom: 75% !important; /* Taller container for mobile */
    padding-top: 0 !important;
    height: 0 !important;
    position: relative; /* Ensure the iframe positions correctly */
    display: block !important;
  }

  /* Iframe fills the video container */
  .video-container iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
  }
  header {
    padding: 10px;
  }
  #header-title {
    font-size: 1.5rem;
    text-align: center;
  }
  #spotlight {
    width: 150px;
    height: 150px;
  }
  nav#main-nav {
    display: none;
    flex-direction: column;
    align-items: center;
  }
  nav#main-nav.show {
    display: flex;
  }
  nav a, nav#main-nav a {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 1rem !important;
    float: none !important;
    text-align: center !important;
  }
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="date"],
  .anfrage textarea {
    padding: 10px;
    margin: 5px 0;
    font-size: 1rem;
  }
  .anfrage textarea {
    margin-bottom: 0 !important;
  }
  button,
  .btn,
  .submit-btn,
  .booking-btn {
    padding: 8px 12px;
    font-size: 1rem;
    margin: 5px;
    margin-top: 10px;
  }
  .button-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
    gap: 5px; /* adjust gap between buttons as needed */
  }
  .button-group a.btn {
    width: 90%;         /* Make buttons wider on mobile */
    margin: 5px 0 !important;
    padding: 5px 0 !important;
    font-size: 1rem !important;
    text-align: center !important;
    margin-bottom: 10px !important;
  }
  /* Increase the height of the responsive iframe on mobile */
  .responsive-iframe {
    padding-bottom: 300% !important;
  }
  .form-group {
    flex-direction: column;
    gap: 0;
  }
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="date"] {
    flex: 1 1 100%;
    min-width: initial;
  }
  .hero,
  .hero2,
  .hero3,
  .hero4 {
    background-attachment: scroll;
  }
  .cards .card {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: calc(100% - 20px) !important; /* Subtract total horizontal margin */
    max-width: calc(100% - 20px) !important;
  }
  .dot {
    height: 5px;
    width: 5px;
  }
}

/* =====================
   Testimonials Slider
   ===================== */
.testimonials {
  max-width: 1000px;
  margin: 30px auto;
  padding: 10px 10px 30px;
}
.testimonial-slider {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
.testimonial-track {
  display: flex;
  width: 100%;
  transition: transform 0.6s ease;
}
.testimonial-slide {
  flex: 0 0 100%;
  padding: 30px 64px; /* extra side padding so text doesn't overlap arrows */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.testimonial-slide blockquote {
  font-size: 1.2rem;
  color: var(--content-text);
  font-style: italic;
  line-height: 1.6;
  margin: 0 0 10px;
}
.testimonial-slide figcaption {
  font-size: 0.95rem;
  color: var(--card-text);
}
.testimonial-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.testimonial-nav:hover { background: rgba(0,0,0,0.6); }
.testimonial-nav.prev { left: 10px; }
.testimonial-nav.next { right: 10px; }

@media (max-width: 768px) {
  .testimonials { padding: 5px; }
  .testimonial-slide { padding: 24px 48px; }
  .testimonial-slide blockquote { font-size: 1.05rem; }
}
