/*
 * Import only the Poppins font with a range of weights.  We omit the
 * Open Sans import here because the design now uses Poppins for both
 * headings and body copy.  The browser will fall back to sans‑serif
 * fonts if the Google Fonts request fails.
 */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/*
 * Global stylesheet for the EKT Sockenläufer website.
 *
 * The goal of this design is to create a welcoming and modern look
 * appropriate for a child day‑care centre. A playful colour palette is
 * combined with clean typography to give parents confidence while
 * keeping the site easy to navigate. The layout is responsive and
 * mobile‑friendly: navigation collapses on smaller screens and
 * content stacks vertically. A reusable header and footer are used on
 * every page to maintain consistency across both the German and
 * English versions of the site.
 */

/*
 * Base reset and typography
 * Define CSS variables to centralise colours and fonts. This makes it
 * easy to tweak the palette while keeping adequate contrast. The primary
 * colour is a coral pink for strong accents; secondary is a soft blue to
 * complement it; the background is a warm off‑white. We'll use the
 * modern "Poppins" font for headings and "Open Sans" for body text via
 * Google Fonts (see HTML head). If the fonts fail to load, the browser
 * will fall back to sans‑serif.
 */
:root {
  /*
   * Colour palette
   * The primary colour is now a saturated coral pink that pops on light
   * backgrounds; the secondary colour is a clear medium blue.  Card
   * borders and backgrounds use very light tints of these hues.  Text
   * is dark grey to ensure strong contrast.
   */
  --color-primary: #ef476f;
  --color-primary-hover: #f9728e;
  --color-secondary: #3f88c5;
  --color-bg: #fdfaf7;
  --color-card-border: #f8d8d3;
  --color-footer-bg: #ef476f;
  --color-text: #2c2c2c;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.7;
  color: var(--color-text);
  /* Warm off‑white background throughout the site */
  background-color: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Ensure all form elements use Poppins (browsers use system fonts by default) */
button, input, select, textarea {
  font-family: 'Poppins', sans-serif;
}

a {
  /* Secondary colour for general links */
  color: var(--color-secondary);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Layout wrappers */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 0;
}

/* Header & Navigation */
header {
  background-color: #ffffff;
  /* Use a coloured bottom border and slight shadow for separation */
  border-bottom: 3px solid var(--color-primary);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}
/* Brand now uses a flex container so that a logo image and text can sit
 * side by side.  The image is sized via the .logo class below.
 */
.navbar-brand {
  display: flex;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary);
  gap: 0.4rem;
}

/* Size the logo image inside the brand */
 .navbar-brand img.logo {
  /* Increase the logo size further for better visibility on the navigation bar. */
  height: 100px;
  width: auto;
 }
 .nav-links {
  list-style: none;
  display: flex;
  /* Reduce the gap between items to save space and allow the larger logo. */
  gap: 0.8rem;
  flex-wrap: wrap;
 }
.nav-links li {
  margin: 0.5rem 0;
}
 .nav-links a {
  font-weight: 500;
  /* Smaller font size and tighter padding result in a more elegant, space‑efficient nav bar. */
  font-size: 0.9rem;
  color: var(--color-primary);
  transition: background-color 0.2s ease, color 0.2s ease;
  padding: 0.35rem 0.55rem;
  border-radius: 4px;
 }
.nav-links a:hover,
.nav-links a.active {
  background-color: var(--color-primary);
  color: #ffffff;
}

/* Dropdown navigation */
.nav-links li.dropdown {
  position: relative;
}
.nav-links li.dropdown > a::after {
  content: '\25BC';
  font-size: 0.6rem;
  margin-left: 0.25rem;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background-color: #ffffff;
  border: 1px solid var(--color-card-border);
  border-bottom: 3px solid var(--color-primary);
  border-radius: 6px;
  padding-top: 0.5rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  z-index: 999;
  /* Remove default list bullets and padding in dropdown menus */
  list-style: none;
  margin: 0;
  padding-left: 0;
}
.dropdown-menu li {
  width: 100%;
}
.dropdown-menu li a {
  display: block;
  padding: 0.5rem 0.8rem;
  font-size: 0.95rem;
  color: var(--color-primary);
  white-space: nowrap;
}
.dropdown-menu li a:hover {
  background-color: var(--color-primary);
  color: #ffffff;
}
.nav-links li.dropdown:hover > .dropdown-menu {
  display: block;
}
/* Language toggle styling */
.language-toggle a {
  font-weight: bold;
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--color-primary);
  border-radius: 4px;
  color: var(--color-primary);
}
.language-toggle a:hover {
  background-color: var(--color-primary);
  color: #ffffff;
}

/* Hero section */
.hero {
  position: relative;
  height: 65vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1rem;
  color: var(--color-text);
}
.hero-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  /* Use a stronger semi‑transparent overlay to enhance text contrast */
  background: rgba(255, 255, 255, 0.7);
}
.hero-content {
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.hero p {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--color-secondary);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
/* Button styles */
.btn-primary {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  background-color: var(--color-primary);
  color: #ffffff;
  border-radius: 6px;
  font-weight: 600;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
}
.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(0,0,0,0.12);
}
.btn-secondary {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  background-color: #ffffff;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: 6px;
  font-weight: 600;
  margin-left: 0.5rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.btn-secondary:hover {
  background-color: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(0,0,0,0.1);
}

/* Sections */
section {
  padding: 3rem 0;
}
section h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-primary);
  text-align: center;
  position: relative;
}
section h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--color-primary);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}
section p {
  margin-bottom: 1rem;
}

/* Cards and grids */
.grid {
  display: grid;
  gap: 2rem;
}
.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
/* Define a two‑column grid that automatically wraps on smaller screens */
.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.card {
  background-color: #ffffff;
  border: 1px solid var(--color-card-border);
  border-radius: 8px;
  padding: 1.75rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}
.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 1rem;
}

/* Headings inside cards */
.card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

/* Team section */
.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  text-align: center;
}
.team-member {
  background-color: #ffffff;
  border: 1px solid var(--color-card-border);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.team-member:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}
.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.75rem;
}
.team-member h3 {
  font-size: 1.25rem;
  font-family: 'Poppins', sans-serif;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}
.team-member span {
  display: block;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.2s ease;
}
.gallery img:hover {
  transform: scale(1.05);
}

/* Contact */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.contact-info a {
  color: #f4978e;
}
.map-responsive {
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
  height: 0;
  border-radius: 8px;
}
.map-responsive iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
  border: 0;
}

/* Footer */
footer {
  /* Footer uses the primary colour for a cohesive finish */
  background-color: var(--color-footer-bg);
  color: #ffffff;
  padding: 2rem 0;
  text-align: center;
}

/* Footer grid styling for structured links and information */
/*
 * Footer grid layout
 * Use CSS Grid for three equally‑spaced columns on wider screens.  The
 * grid collapses to a single column on smaller screens via the
 * auto‑fit/minmax pattern, ensuring the footer remains legible
 * without taking too much vertical space.  We avoid flexbox here to
 * allow lists inside the grid to stay vertical.
 */
.footer-grid {
  display: grid;
  /* Three columns on larger screens, one column on small screens */
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.footer-section h4 {
  /* Slightly reduce footer heading size to free up space */
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: #ffffff;
  font-weight: 600;
}
.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  /* Force the list to stack items vertically, overriding any inherited flex styles */
  display: block;
}
.footer-section ul li {
  /* Display list items vertically in the footer; without this,
   * some browsers may lay items out inline due to inherited flex
   * styles from other rules.  Each list item forms its own line. */
  display: block;
  margin-bottom: 0.3rem;
}
.footer-section ul li a {
  color: #ffeef2;
  /* Make quicklinks smaller so they occupy less horizontal space */
  font-size: 0.85rem;
}
.footer-section ul li a:hover {
  text-decoration: underline;
}
.footer-section p {
  /* Slightly smaller paragraph font in footer for better fit */
  font-size: 0.85rem;
  color: #ffeef2;
}

/* Subheading under section titles */
.subheading {
  font-size: 1.1rem;
  color: var(--color-secondary);
  text-align: center;
  margin-top: -0.5rem;
  margin-bottom: 1.5rem;
}
/*
 * Reset the default list styling in the footer.  Remove flexbox so
 * that lists such as the Quicklinks and Legal sections flow
 * vertically.  Lists inside .footer-grid will inherit these rules.
 */
footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
footer ul li a {
  color: #ffffff;
  font-weight: 500;
  transition: opacity 0.2s ease;
}
footer ul li a:hover {
  opacity: 0.8;
}
footer p {
  font-size: 0.85rem;
}

/*
 * Responsive navigation
 * A checkbox (nav-toggle) is used to control the visibility of the
 * navigation links on small screens.  The three spans inside the
 * label form the burger icon that animates into an X when the menu is
 * open.  On narrow widths the nav-links stack vertically and slide
 * down from under the header.
 */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.nav-toggle-label span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-bottom: 3px solid var(--color-primary);
    z-index: 99;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links a {
    display: block;
    width: 100%;
    padding: 1rem;
    border-radius: 0;
  }
  .nav-toggle-label {
    display: flex;
  }
  /* Show menu when checked */
  .nav-toggle:checked ~ .nav-links {
    /* Allow the collapsed menu to expand to the full viewport height so all items are visible */
    max-height: 100vh;
  }
  /* Animate burger into an X */
  .nav-toggle:checked + .nav-toggle-label span:nth-child(1) {
    transform: rotate(45deg) translateY(7px);
  }
  .nav-toggle:checked + .nav-toggle-label span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle:checked + .nav-toggle-label span:nth-child(3) {
    transform: rotate(-45deg) translateY(-7px);
  }
}

/*
 * Icon card
 * Used on the pedagogy and about pages to present lists and key
 * concepts as individual cards with playful icons.
 */
.icon-card {
  background-color: #ffffff;
  border: 1px solid var(--color-card-border);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.icon-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}
.icon-card .icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}
.icon-card h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}
.icon-card p {
  font-size: 0.95rem;
  color: var(--color-text);
}

/*
 * CTA Box
 * Highlights important calls to action with strong colour contrast and
 * generous spacing.
 */
.cta-box {
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  text-align: center;
}
.cta-box h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}
.cta-box p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #ffeef2;
}

/*
 * Generic form styling
 * Override default browser inputs to harmonise with our colour palette.
 */
form input,
form textarea,
form select {
  border: 1px solid var(--color-card-border);
  background-color: #ffffff;
  border-radius: 4px;
  padding: 0.5rem;
  width: 100%;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: var(--color-text);
}
form label {
  font-weight: 600;
  margin-top: 1rem;
  display: block;
}
form button {
  margin-top: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
}

/* === Fix: make .submenu-toggle look like nav links on all breakpoints === */
.nav-links .submenu-toggle {
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  line-height: inherit;
  margin: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Align spacing with top-level nav links on desktop */
.nav-links > li > a,
.nav-links > li > .submenu-toggle {
  display: inline-block;
  padding: 0.5rem 0.75rem;
}

/* Hover/focus affordance same as links */
.nav-links a:hover,
.nav-links a:focus,
.nav-links .submenu-toggle:hover,
.nav-links .submenu-toggle:focus {
  opacity: 0.85;
  text-decoration: none;
}

/* Mobile layout: full-width tappable row, matching existing .nav-links a mobile styles */
@media (max-width: 768px) {
  .nav-links > li > a,
  .nav-links > li > .submenu-toggle {
    display: block;
    width: 100%;
    padding: 1rem;
    border-radius: 0;
  }
}


/* --- Mobile nav scroll fix (best practice) --- */
@media (max-width: 768px) {
  .nav-links {
    max-height: 100vh;              /* Cap menu height to viewport */
    overflow-y: auto;               /* Make menu scrollable */
    -webkit-overflow-scrolling: touch; /* Smooth inertial scrolling on mobile */
    padding-bottom: 1rem;           /* Comfortable space below last item */
  }
}


/* Prevent background scroll while menu drawer is open */
body.menu-open {
  overflow: hidden;
  touch-action: none;
}


/* --- Fix: ensure mobile menu is CLOSED by default; open only when checkbox checked --- */
@media (max-width: 768px) {
  /* Closed state */
  .nav-links {
    max-height: 0;               /* collapsed by default */
    overflow-y: hidden;          /* no scrollbars when closed */
  }
  /* Open state */
  .nav-toggle:checked ~ .nav-links {
    max-height: 100vh;           /* expand up to viewport height */
    overflow-y: auto;            /* scroll inside the menu */
    -webkit-overflow-scrolling: touch;
  }
}


/* --- Mobile nav overlay + drawer + scroll hints (best practice) --- */
@media (max-width: 768px) {
  /* Dimmed backdrop that closes the menu on tap */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    -webkit-backdrop-filter: saturate(120%) blur(1.5px);
    backdrop-filter: saturate(120%) blur(1.5px);
    z-index: 98;
  }
  .nav-toggle:checked ~ .nav-overlay { display: block; }

  /* Turn nav-links into a fixed drawer under the header */
  :root { --nav-height: 64px; }
  header, .navbar { min-height: var(--nav-height); }
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: #fff;
    max-height: 0;                /* closed by default */
    overflow-y: hidden;           /* hidden when closed */
    transition: max-height .25s ease;
    z-index: 99;
  }
  .nav-toggle:checked ~ .nav-links {
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;             /* scroll inside */
    -webkit-overflow-scrolling: touch;
  }

  /* Visual scroll affordances: subtle fades at top/bottom */
  .nav-links.scroll-hint-top {
    box-shadow: inset 0 8px 8px -8px rgba(0,0,0,0.25);
  }
  .nav-links.scroll-hint-bottom {
    background-image: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1) 30px);
    background-repeat: no-repeat;
    background-position: left calc(100% - 0px);
    background-size: 100% 30px;
  }
}


/* --- Patch: hide closed mobile drawer completely (no peeking line) --- */
@media (max-width: 768px) {
  /* Closed state: zero height, no padding/border/shadow/gradients, non-interactive */
  .nav-links {
    max-height: 0 !important;
    height: 0;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background-image: none !important;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
  }
  /* Open state: restore visuals + interactivity */
  .nav-toggle:checked ~ .nav-links {
    max-height: calc(100vh - var(--nav-height)) !important;
    height: auto;
    padding-top: 0.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--color-primary);
    visibility: visible;
    pointer-events: auto;
  }
  /* Ensure overlay only visible when open */
  .nav-overlay { display: none; }
  .nav-toggle:checked ~ .nav-overlay { display: block; }
}


/* --- JS-enhanced dynamic sizing override (avoids !important conflict) --- */
@media (max-width: 768px) {
  /* When JS is active, let a CSS variable drive the drawer height
     so we can override a prior !important via var() indirection */
  .has-js .nav-toggle:checked ~ .nav-links {
    max-height: var(--drawer-max, calc(100vh - var(--nav-height))) !important;
  }
}


/* === Mobile drawer: robust layout (fixed panel) === */
@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  /* Base (closed) */
  .nav-links {
    position: fixed !important;
    top: var(--nav-height) !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;            /* fill to bottom instead of max-height */
    background: #fff !important;
    overflow-y: hidden !important;    /* closed: no scroll */
    visibility: hidden !important;
    pointer-events: none !important;
    max-height: none !important;      /* neutralize previous rules */
    height: auto !important;
    box-shadow: none !important;
    border: none !important;
    background-image: none !important;
    transition: transform .25s ease, visibility 0s linear .25s;
    transform: translateY(-8px);      /* tiny lift to avoid flicker */
  }

  /* Open state */
  .nav-toggle:checked ~ .nav-links {
    visibility: visible !important;
    pointer-events: auto !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    transition: transform .25s ease;
    transform: translateY(0);
    padding-top: 0.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--color-primary);
  }
}


/* --- Global CTA buttons: prevent overlap with long labels (multi-language safe) --- */
.btn-primary, .btn-secondary {
  white-space: normal;         /* allow wrapping inside buttons */
  max-width: 100%;             /* avoid overflowing container */
  text-align: center;          /* keep text centered when wrapped */
  line-height: 1.25;           /* better legibility on two lines */
}

/* Mobile: stack hero CTAs instead of forcing side-by-side */
@media (max-width: 640px) {
  .hero-content .btn-primary,
  .hero-content .btn-secondary {
    display: block;
    width: 100%;
    max-width: 22rem;          /* readable button width on phones */
    margin: 0 auto 0.6rem;     /* center and add vertical rhythm */
  }
  .hero-content .btn-secondary { 
    margin-left: 0;            /* kill desktop-only left gap */
  }
}


/* --- Mobile hero CTAs: stack, but size to content (centered) --- */
@media (max-width: 640px) {
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;     /* center intrinsic-width buttons */
    gap: 0.6rem;             /* vertical spacing between buttons */
  }
  .hero-content .btn-primary,
  .hero-content .btn-secondary {
    display: inline-flex;    /* intrinsic width based on content */
    width: auto;             /* override earlier 100% width */
    max-width: 100%;         /* still prevent overflow on tiny screens */
    margin: 0;               /* layout handled by flex + gap */
  }
}

/* =====================================================
   GALLERY & LIGHTBOX
   ===================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
}

/* Gallery category tabs */
.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.gallery-tab {
  padding: 0.6rem 1.25rem;
  background: #f5f5f5;
  border: 2px solid transparent;
  border-radius: 25px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
}
.gallery-tab:hover {
  background: #ffe8ec;
}
.gallery-tab.active {
  background: var(--color-primary);
  color: #fff;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.95);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}
.lightbox.show {
  display: flex;
}
.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}
.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
}
.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 1rem;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s;
}
.lightbox-nav:hover {
  background: rgba(255,255,255,0.3);
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* Gallery section headings */
.gallery-section {
  margin-bottom: 3rem;
}
.gallery-section h3 {
  color: var(--color-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-card-border);
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .gallery-item img {
    height: 150px;
  }
  .lightbox-nav {
    padding: 0.5rem;
    font-size: 1.5rem;
  }
}


/* =====================================================
   MAP CONSENT (DSGVO)
   ===================================================== */
.map-consent {
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
  border: 2px dashed #ccc;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  margin: 1rem 0;
}
.map-placeholder p {
  margin: 0.5rem 0;
}
.map-placeholder .btn-primary {
  margin-top: 1rem;
}

/* =====================================================
   FORM IMPROVEMENTS
   ===================================================== */
.enrollment-form {
  max-width: 600px;
  margin: 0 auto;
}
.enrollment-form label {
  display: block;
  margin-top: 1rem;
  font-weight: 600;
}
.enrollment-form input[type="text"],
.enrollment-form input[type="email"],
.enrollment-form input[type="tel"],
.enrollment-form input[type="date"],
.enrollment-form textarea,
.enrollment-form select {
  width: 100%;
  padding: 0.75rem;
  margin-top: 0.25rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.enrollment-form input:focus,
.enrollment-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(239, 71, 111, 0.1);
}
.enrollment-form .form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 1rem;
  background: #f9f9f9;
  border-radius: 8px;
}
.enrollment-form .form-consent input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
}
.enrollment-form .form-consent label {
  margin: 0;
  font-weight: normal;
}
.enrollment-form button[type="submit"] {
  width: 100%;
  margin-top: 1.5rem;
  padding: 1rem;
  font-size: 1.1rem;
}

/* Form success/error states */
.form-status {
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  text-align: center;
}
.form-status.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}
.form-status.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
.form-note {
  font-size: 0.875rem;
  color: #666;
  text-align: center;
  margin-top: 0.5rem;
}
.required {
  color: var(--color-primary);
}

/* =====================================================
   SKIP LINK (Accessibility)
   ===================================================== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: white;
  padding: 8px 16px;
  z-index: 10001;
  transition: top 0.3s;
}
.skip-link:focus {
  top: 0;
}

/* =====================================================
   PRINT STYLES
   ===================================================== */
@media print {
  header, footer, .cookie-consent, .map-consent, .gallery-tabs, .lightbox {
    display: none !important;
  }
  body {
    background: white;
    color: black;
  }
  a {
    color: black;
    text-decoration: underline;
  }
  .container {
    width: 100%;
    max-width: none;
  }
}

/* =====================================================
   COOKIE CONSENT - IMPROVED GDPR STYLE
   ===================================================== */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  z-index: 10000;
  transform: translateY(0);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.cookie-consent.hidden {
  transform: translateY(100%);
  opacity: 0;
}
.cookie-consent-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}
.cookie-consent-text {
  margin-bottom: 1rem;
}
.cookie-consent-text p {
  margin: 0.25rem 0;
  font-size: 0.95rem;
  line-height: 1.5;
}
.cookie-consent-text strong {
  color: var(--color-primary);
}
.cookie-consent-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.cookie-btn {
  padding: 0.7rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}
.cookie-btn-accept {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.cookie-btn-accept:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
}
.cookie-btn-secondary {
  background: #fff;
  color: var(--color-text);
  border-color: #ddd;
}
.cookie-btn-secondary:hover {
  background: #f5f5f5;
  border-color: #ccc;
}
.cookie-consent-links {
  font-size: 0.85rem;
  color: #666;
}
.cookie-consent-links a {
  color: var(--color-secondary);
}

@media (max-width: 600px) {
  .cookie-consent-inner {
    padding: 1rem;
  }
  .cookie-consent-buttons {
    flex-direction: column;
  }
  .cookie-btn {
    width: 100%;
    text-align: center;
  }
}


/* Mobile Responsive */
@media (max-width: 768px) {
  .announcement-container {
    padding: 1.5rem 1rem;
  }
  
  .announcement-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .announcement-emoji {
    font-size: 2.5rem;
  }
  
  .announcement-headline {
    font-size: 1.35rem;
  }
  
  .announcement-details {
    font-size: 0.95rem;
  }
  
  .announcement-features {
    justify-content: center;
  }
  
  .feature-tag {
    font-size: 0.8rem;
    padding: 0.3rem 0.7rem;
  }
  
  .announcement-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .announcement-cta .btn-primary,
  .announcement-cta .btn-secondary-outline {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
  
  .announcement-close {
    top: 0.25rem;
    right: 0.25rem;
  }
}

@media (max-width: 480px) {
  .announcement-headline {
    font-size: 1.2rem;
  }
  
  .feature-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
  }
}

/* Hidden state for dismissed banner */
.announcement-banner.hidden {
  display: none;
}

/* Entrance animation */
  animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
  0% {
    opacity: 0;
    transform: translateY(-100%);
    max-height: 0;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    max-height: 1000px;
  }
}

.announcement-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(239, 71, 111, 0.05) 0%, transparent 50%);
  animation: pulse-bg 8s ease-in-out infinite;
}

@keyframes pulse-bg {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.announcement-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  position: relative;
  z-index: 1;
}

.announcement-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: rgba(255,255,255,0.9);
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.announcement-close:hover {
  background: var(--color-primary);
  color: white;
  transform: scale(1.1);
}

.announcement-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.announcement-icon {
  flex-shrink: 0;
}

.announcement-emoji {
  font-size: 3.5rem;
  display: block;
  animation: bounce 2s ease-in-out infinite;
  animation-delay: 0.6s;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.announcement-text {
  flex: 1;
  max-width: 900px;
}

.announcement-headline {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 0.75rem 0;
  line-height: 1.3;
  /* Staggered fade-in animation */
  animation: fadeInUp 0.5s ease-out;
  animation-delay: 0.3s;
  animation-fill-mode: both;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.highlight-name {
  color: var(--color-primary);
  position: relative;
}

.highlight-spots {
  background: linear-gradient(135deg, var(--color-primary) 0%, #ff6b8a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  position: relative;
  display: inline-block;
}

.highlight-spots::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border-radius: 2px;
  animation: expandWidth 0.5s ease-out;
  animation-delay: 0.8s;
  animation-fill-mode: both;
}

@keyframes expandWidth {
  0% { width: 0; }
  100% { width: 100%; }
}

.announcement-details {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #444;
  margin: 0 0 1rem 0;
  animation: fadeInUp 0.5s ease-out;
  animation-delay: 0.5s;
  animation-fill-mode: both;
}

.announcement-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  justify-content: center;
  animation: fadeInUp 0.5s ease-out;
  animation-delay: 0.7s;
  animation-fill-mode: both;
}

.feature-tag {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 2rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
  color: #555;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
}

.feature-tag:hover {
  border-color: var(--color-primary);
  background: #fff5f7;
  transform: translateY(-2px);
}

.announcement-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 0.5s ease-out;
  animation-delay: 0.9s;
  animation-fill-mode: both;
}

.announcement-cta .btn-primary {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  animation: pulse-btn 2s ease-in-out infinite;
  animation-delay: 1.2s;
}

@keyframes pulse-btn {
  0%, 100% { box-shadow: 0 4px 15px rgba(239, 71, 111, 0.3); }
  50% { box-shadow: 0 4px 25px rgba(239, 71, 111, 0.5); }
}

.btn-secondary-outline {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-secondary-outline:hover {
  background: var(--color-secondary);
  color: white;
}

.announcement-contact {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
  animation: fadeInUp 0.5s ease-out;
  animation-delay: 1.1s;
  animation-fill-mode: both;
}

.announcement-contact a {
  color: var(--color-secondary);
  text-decoration: none;
  font-weight: 500;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
  .announcement-container {
    padding: 1.5rem 1rem;
  }
  
  .announcement-emoji {
    font-size: 2.5rem;
  }
  
  .announcement-headline {
    font-size: 1.35rem;
  }
  
  .announcement-details {
    font-size: 0.95rem;
  }
  
  .feature-tag {
    font-size: 0.8rem;
    padding: 0.3rem 0.7rem;
  }
  
  .announcement-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .announcement-cta .btn-primary,
  .announcement-cta .btn-secondary-outline {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
  
  .announcement-close {
    top: 0.25rem;
    right: 0.25rem;
  }
}

@media (max-width: 480px) {
  .announcement-headline {
    font-size: 1.2rem;
  }
  
  .feature-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
  }
}

/* Hidden state with exit animation */
.announcement-banner.hiding {
  animation: slideUp 0.4s ease-in forwards;
}

@keyframes slideUp {
  0% {
    opacity: 1;
    transform: translateY(0);
    max-height: 1000px;
  }
  100% {
    opacity: 0;
    transform: translateY(-50px);
    max-height: 0;
    padding: 0;
    border: 0;
  }
}

.announcement-banner.hidden {
  display: none;
}

/* ===========================================
   GLOBAL ANNOUNCEMENT BAR (all pages)
   =========================================== */

.global-announcement-bar {
  background: linear-gradient(90deg, var(--color-primary) 0%, #ff6b8a 100%);
  color: white;
  padding: 0.35rem 1rem;
  position: relative;
  z-index: 1000;
  font-size: 0.85rem;
}

.global-bar-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding-right: 1.5rem;
}

.global-bar-text {
  font-size: 0.85rem;
}

.global-bar-text strong {
  font-weight: 700;
}

.global-bar-details {
  opacity: 0.95;
}

.global-bar-btn {
  background: white;
  color: var(--color-primary);
  padding: 0.25rem 0.75rem;
  border-radius: 3px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8rem;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.global-bar-btn:hover {
  background: #fff5f7;
  transform: scale(1.05);
}

.global-bar-close {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 2px solid rgba(255,255,255,0.5);
  color: white;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  line-height: 1;
}

.global-bar-close:hover {
  background: rgba(255,255,255,0.2);
  border-color: white;
}

.global-announcement-bar.hidden {
  display: none;
}

@media (max-width: 768px) {
  .global-bar-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding-right: 1.5rem;
}
  
  .global-bar-text {
  font-size: 0.85rem;
}
  
  .global-bar-details {
    display: block;
    font-size: 0.8rem;
  }
}

/* ===========================================
   ANNOUNCEMENT BANNER - HOMEPAGE ONLY (FIXED)
   =========================================== */

.announcement-banner {
  background: linear-gradient(135deg, #fef7f5 0%, #fff5f7 50%, #f0f7ff 100%);
  border-bottom: 4px solid var(--color-primary);
  position: relative;
  overflow: hidden;
}

/* Animation only on initial load, not on class changes */
.announcement-banner.animate-in {
  animation: slideDown 0.6s ease-out forwards;
}

@keyframes slideDown {
  0% {
    opacity: 0;
    transform: translateY(-100%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.announcement-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(239, 71, 111, 0.05) 0%, transparent 50%);
  animation: pulse-bg 8s ease-in-out infinite;
}

@keyframes pulse-bg {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.announcement-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  position: relative;
  z-index: 1;
}

.announcement-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: rgba(255,255,255,0.9);
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.announcement-close:hover {
  background: var(--color-primary);
  color: white;
  transform: scale(1.1);
}

.announcement-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.announcement-icon {
  flex-shrink: 0;
}

.announcement-emoji {
  font-size: 3.5rem;
  display: block;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.announcement-text {
  flex: 1;
  max-width: 900px;
}

.announcement-headline {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 0.75rem 0;
  line-height: 1.3;
}

.highlight-name {
  color: var(--color-primary);
  position: relative;
}

.highlight-spots {
  background: linear-gradient(135deg, var(--color-primary) 0%, #ff6b8a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  position: relative;
  display: inline-block;
}

.highlight-spots::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border-radius: 2px;
}

.announcement-details {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #444;
  margin: 0 0 1rem 0;
}

.announcement-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  justify-content: center;
}

.feature-tag {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 2rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
  color: #555;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
}

.feature-tag:hover {
  border-color: var(--color-primary);
  background: #fff5f7;
  transform: translateY(-2px);
}

.announcement-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.announcement-cta .btn-primary {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  animation: pulse-btn 2s ease-in-out infinite;
}

@keyframes pulse-btn {
  0%, 100% { box-shadow: 0 4px 15px rgba(239, 71, 111, 0.3); }
  50% { box-shadow: 0 4px 25px rgba(239, 71, 111, 0.5); }
}

.btn-secondary-outline {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-secondary-outline:hover {
  background: var(--color-secondary);
  color: white;
}

.announcement-contact {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

.announcement-contact a {
  color: var(--color-secondary);
  text-decoration: none;
  font-weight: 500;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
  .announcement-container {
    padding: 1.5rem 1rem;
  }
  
  .announcement-emoji {
    font-size: 2.5rem;
  }
  
  .announcement-headline {
    font-size: 1.35rem;
  }
  
  .announcement-details {
    font-size: 0.95rem;
  }
  
  .feature-tag {
    font-size: 0.8rem;
    padding: 0.3rem 0.7rem;
  }
  
  .announcement-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .announcement-cta .btn-primary,
  .announcement-cta .btn-secondary-outline {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
  
  .announcement-close {
    top: 0.25rem;
    right: 0.25rem;
  }
}

@media (max-width: 480px) {
  .announcement-headline {
    font-size: 1.2rem;
  }
  
  .feature-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
  }
}

/* Hidden state - simple display none */
.announcement-banner.hidden {
  display: none !important;
}

/* Make dropdown more accessible with better timing */
.nav-item {
  position: relative;
}

.nav-item .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border-radius: 0 0 8px 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 1000;
  padding: 0.5rem 0;
}

/* Add a bridge element to prevent gap issues */
.nav-item::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 15px;
  background: transparent;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 0.6rem 1.25rem;
  color: var(--color-text);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  font-size: 0.95rem;
}

.dropdown a:hover {
  background: #fff5f7;
  color: var(--color-primary);
}

/* ===========================================
   DROPDOWN HOVER FIX - Invisible bridge
   =========================================== */

/* Create invisible bridge to prevent hover gap */
.nav-links li.dropdown {
  position: relative;
}

.nav-links li.dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 15px;
  background: transparent;
  pointer-events: auto;
}

/* Ensure dropdown stays open when hovering the bridge area */
.nav-links li.dropdown:hover::after {
  display: block;
}

/* Keep dropdown open when hovering anywhere in the dropdown area */
.nav-links li.dropdown:hover > .dropdown-menu,
.nav-links li.dropdown:focus-within > .dropdown-menu {
  display: block;
}


/* ===========================================
   ACTIVITIES & OUTINGS PAGE STYLES
   =========================================== */

/* Hero Section */
.activities-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, #ff6b8a 100%);
  color: white;
  padding: 4rem 1.5rem;
  text-align: center;
}

.activities-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: white;
}

.activities-hero .hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto;
}

/* Intro Section */
.activities-intro {
  background: var(--color-bg);
}

.intro-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.intro-content h2 {
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.intro-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
}

.intro-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  min-width: 150px;
}

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

.stat-label {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.25rem;
}

/* Activities Grid */
.activities-regular {
  background: white;
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.activity-card {
  background: var(--color-bg);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.activity-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary);
  box-shadow: 0 8px 25px rgba(239, 71, 111, 0.15);
}

.activity-card.activity-featured {
  background: linear-gradient(135deg, #fff5f7 0%, #f0f7ff 100%);
  border: 2px solid var(--color-primary);
  grid-column: span 2;
}

@media (max-width: 768px) {
  .activity-card.activity-featured {
    grid-column: span 1;
  }
}

.activity-icon {
  font-size: 3rem;
  margin-bottom: 0.75rem;
}

.activity-card h3 {
  color: var(--color-text);
  margin-bottom: 0.25rem;
  font-size: 1.2rem;
}

.activity-frequency {
  display: inline-block;
  background: var(--color-primary);
  color: white;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.activity-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

/* Outings Section */


.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem;
  color: #555;
}

.outings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.outing-category {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.outing-category h3 {
  color: var(--color-text);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.outing-category p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.outing-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.outing-list li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: #444;
}

.outing-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
}

/* Highlight Section (Kitareise) */


.highlight-card {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, #ff6b8a 100%);
  color: white;
  border-radius: 16px;
  padding: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.highlight-icon {
  font-size: 5rem;
  flex-shrink: 0;
}

.highlight-content h2 {
  color: white;
  margin-bottom: 1rem;
}

.highlight-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  opacity: 0.95;
}

@media (max-width: 768px) {
  .highlight-card {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }
  
  .highlight-icon {
    font-size: 4rem;
  }
}

/* Gallery Preview */
.activities-gallery {
  background: var(--color-bg);
}

.gallery-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.gallery-preview-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.gallery-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.text-center {
  text-align: center;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
  color: white;
  text-align: center;
}

.cta-section h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta-section p {
  max-width: 600px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-section .btn-secondary-outline {
  border-color: white;
  color: white;
}

.cta-section .btn-secondary-outline:hover {
  background: white;
  color: #2c2c2c;
}


/* ===========================================
   HOMEPAGE ACTIVITIES HIGHLIGHT
   =========================================== */

.homepage-activities {
  background: linear-gradient(135deg, #fff5f7 0%, #f0f7ff 100%);
}

.homepage-activities h2 {
  text-align: center;
  color: var(--color-primary);
}

.homepage-activities .section-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2rem;
  color: #555;
}

.homepage-activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}

.homepage-activity-item {
  background: white;
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.homepage-activity-item:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary);
  box-shadow: 0 8px 20px rgba(239, 71, 111, 0.15);
}

.homepage-activity-item .activity-emoji {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.5rem;
}

.homepage-activity-item h3 {
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.homepage-activity-item p {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
}

/* ===========================================
   HOMEPAGE ACTIVITIES PREVIEW - COMPACT GRID
   =========================================== */

.activities-preview {
  background: linear-gradient(135deg, #fef7f5 0%, #fff5f7 50%, #f0f7ff 100%);
  padding: 3rem 1.5rem;
}

.activities-preview h2 {
  text-align: center;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  font-size: 1.75rem;
}

.activities-preview .section-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

.preview-item {
  background: white;
  border-radius: 10px;
  padding: 0.75rem 0.5rem;
  text-align: center;
  border: 1px solid var(--color-card-border);
  transition: all 0.2s ease;
}

.preview-item:hover {
  transform: translateY(-3px);
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(239, 71, 111, 0.15);
}

.preview-item .icon {
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
  display: block;
}

.preview-item .label {
  font-weight: 600;
  color: var(--color-text);
  font-size: 0.75rem;
  line-height: 1.2;
}

.preview-cta {
  text-align: center;
}

@media (max-width: 600px) {
  .preview-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    max-width: 320px;
  }
  
  .preview-item {
    padding: 0.6rem 0.4rem;
  }
  
  .preview-item .icon {
    font-size: 1.5rem;
  }
  
  .preview-item .label {
    font-size: 0.7rem;
  }
}

/* ===========================================
   ACTIVITIES PAGE - OUTINGS CARDS
   =========================================== */

.activities-outings {
  background: var(--color-bg);
}

.activities-outings h2 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.activities-outings .section-intro {
  text-align: center;
  font-size: 1.05rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.outings-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}

.outing-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  border: 1px solid var(--color-card-border);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.outing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  border-color: var(--color-primary);
}

.outing-card .outing-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.outing-card h3 {
  color: var(--color-primary);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.outing-card p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
  flex-grow: 1;
}

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

@media (max-width: 500px) {
  .outings-cards {
    grid-template-columns: 1fr;
    max-width: 350px;
  }
}

/* ===========================================
   ACTIVITIES PAGE - KITAREISE HIGHLIGHT
   =========================================== */

.activities-highlight {
  background: linear-gradient(135deg, var(--color-primary) 0%, #ff6b8a 100%);
  padding: 3rem 1.5rem;
}

.highlight-box {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 2rem;
}

.highlight-icon {
  font-size: 4rem;
  flex-shrink: 0;
  background: rgba(255,255,255,0.2);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlight-content {
  color: white;
}

.highlight-content h2 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.highlight-content h2::before {
  content: '⭐';
  font-size: 1.25rem;
}

.highlight-content p {
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.95;
  margin: 0;
}

@media (max-width: 700px) {
  .highlight-box {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  
  .highlight-icon {
    width: 80px;
    height: 80px;
    font-size: 3rem;
  }
  
  .highlight-content h2 {
    justify-content: center;
    font-size: 1.3rem;
  }
  
  .highlight-content p {
    font-size: 0.95rem;
  }
}
