

body {
  margin: 0;
  padding: 0;
  font-family: 'Hind', sans-serif;
  background-color: #fff;
  color: #333;
}


h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  margin: 0 0 0.5em;
}

p {
  line-height: 1.6;
  margin-bottom: 1em;
}

/* === Hero Slide Justeringer === */
.carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  background: transparent;
  padding: 30px 40px;
  max-width: 700px; /* Tilføj en max-width */
  width: 90%;       /* Giv den noget fleksibel bredde */
  z-index: 2;       /* Sørg for at den ligger over billedet */
}

.carousel-caption h1 {
  font-size: 3.8rem;
  margin-bottom: 20px;
  line-height: 1.3;
}

.carousel-caption p {
  font-size: 1.3rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.8;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

@media (max-width: 768px) {
  .carousel-caption {
    top: 55%;
    padding: 20px;
    max-width: 90%;
    width: 90%;
  }

  .carousel-caption h1 {
    font-size: 2rem;
  }

  .carousel-caption p {
    font-size: 1rem;
  }
}

  .btn-outline {
    padding: 8px 14px;
    font-size: 0.9rem;
  }


@media (max-width: 768px) {
  .carousel-caption {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .carousel-caption a.btn-outline {
    width: 100%;
    max-width: 250px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .carousel-caption {
    transform: translate(-50%, -55%) !important;
  }
}

.scroll-down-indicator {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2.5rem;
  color: black;
  animation: bounce 2s infinite;
  z-index: 5;
  text-shadow: none;
  transition: opacity 0.3s ease;
  background: white;
  border-radius: 50%;
  padding: 5px 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.scroll-down-indicator.hidden {
  opacity: 0;
  pointer-events: none;
}


@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-12px);
  }
}

/* === KBK 1940 glow/flicker effekt === */
@keyframes flicker-glow {
  0%, 100% {
    opacity: 1;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.8);
  }
  50% {
    opacity: 0.8;
    text-shadow: 0 0 20px rgba(255, 0, 0, 1);
  }
}

/* === Scroll-down bounce === */
@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/* === Hero tekst styling === */
.slide-sub {
  font-size: 2.5rem;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
}

.slide-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #e60000;
  text-transform: uppercase;
  display: inline-block;
  animation: flicker-glow 3s infinite ease-in-out;
  transition: transform 1s ease-in-out;
}

@keyframes rotateYanim {
  0%   { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

/* ===== Slider Styles ===== */
.custom-carousel {
  position: relative;
  overflow: hidden;
  height: 90vh;
  max-height: 800px;
}

.carousel-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-outline {
  border: 2px solid white;
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background-color: white;
  color: #e60000;
}

.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.carousel-dots .dot {
  width: 12px;
  height: 12px;
  background-color: white;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.carousel-dots .dot.active {
  opacity: 1;
}

.transition-down {
  position: relative;
  width: 100%;
  height: 100px;
  overflow: hidden;
  margin-top: -5px;
  z-index: 1;
}

.transition-down svg {
  display: block;
  width: 100%;
  height: 100%;
}

.animated-text {
  color: #e60000;
  animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(-10px); }
  100% { opacity: 1; transform: translateY(0); }
}

.scroll-nudge {
  position: absolute;
  top: 40px; /* justeret fra fx -20px */
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: #000;
  animation: bounceArrow 2s infinite;
  z-index: 5;
  transition: opacity 0.3s ease;
}

.scroll-nudge.hidden {
  opacity: 0;
  pointer-events: none;
}

@keyframes bounceArrow {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}


/* ===== Info Cards Section ===== */
.info-cards-section {
  background-color: #f9f9f9;
  padding: 80px 20px;
  text-align: center;
}

.info-cards-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.info-card {
  background-color: #fff;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1 1 300px;
  max-width: 350px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  animation: fadeInUp 1s ease both;
}

.info-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 24px rgba(230, 0, 0, 0.15);
}

.info-card:hover .info-icon {
  transform: scale(1.1) rotate(3deg);
  transition: transform 0.3s ease;
}

.info-card .info-icon {
  font-size: 36px;
  color: #e60000;
  margin-bottom: 12px;
  animation: bounceIcon 2s infinite ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

.info-card h3 {
  font-size: 1.6rem;
  color: #e60000;
  margin-bottom: 12px;
}

.info-card p {
  font-size: 1rem;
  color: #444;
  flex-grow: 1;
}

.info-card a {
  display: inline-block;
  margin-top: 15px;
  color: #e60000;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.info-card a:hover {
  color: #b00000;
}

/* Bounce-animation */
@keyframes bounceIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}


/* ===== Masonry Grid Fix ===== */
.masonry-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin-top: 60px;
}

.masonry-grid-item {
  flex: 1 1 calc(33.333% - 30px);
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  min-height: 520px;
}

.masonry-grid-item img {
  max-height: 240px;
  width: 100%;
  object-fit: contain;
  border-radius: 6px;
  margin-top: auto;
}

@media (max-width: 768px) {
  .masonry-grid-item {
    flex: 1 1 100%;
  }
}



.about-extra {
  background-color: #f9f9f9;
  padding: 80px 20px;
}

.about-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* Generel styling for kort */
.about-card {
  background: #fff;
  padding: 30px 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  flex: 1 1 500px;
  max-width: 550px;
}

/* Kun centeret kort (Hvorfor KBK) */
.about-card.centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-card h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #2c2c2c;
}

/* Knap */
.about-btn {
  display: inline-block;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  background: #e60000;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
  text-align: center;
}

.about-btn:hover {
  background: #b00000;
}

/* Accordion styles */
.accordion-card details {
  margin-top: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px 15px;
  background: #fff;
  transition: all 0.3s ease;
}

.accordion-card summary {
  font-weight: 600;
  cursor: pointer;
  outline: none;
  font-size: 1.1rem;
}

.accordion-card details[open] {
  background-color: #fffaf2;
  border-color: #e60000;
}

.accordion-card p {
  margin-top: 10px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.accordion-card details[open] summary {
  color: #e60000;
}

.accordion-card details[open] p {
  animation: fadeAccordion 0.4s ease-in-out both;
}

/* Pil-ikon animation */
.accordion-card summary {
  position: relative;
  padding-left: 25px;
}

.accordion-icon {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1rem;
  color: #666;
  transition: transform 0.3s ease;
  content: "▼";
}

details[open] .accordion-icon {
  transform: rotate(180deg);
}

.accordion-card summary:hover {
  color: #b00000;
}

/* Fade-animation til accordion tekst */
@keyframes fadeAccordion {
  0% {
    opacity: 0;
    transform: translateY(-5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsiv tilpasning */
@media (max-width: 1024px) {
  .about-grid {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .about-grid {
    flex-direction: column;
    align-items: center;
  }

  .about-card {
    max-width: 100%;
    padding: 25px 20px;
  }

  .about-btn {
    width: 100%;
    text-align: center;
  }

  .accordion-card summary {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .about-card h2 {
    font-size: 1.4rem;
  }

  .about-card p {
    font-size: 0.95rem;
  }

  .accordion-card summary {
    font-size: 0.95rem;
  }

  .about-btn {
    font-size: 0.95rem;
    padding: 10px 12px;
  }
}

/* Accordion style */
.accordion-card details {
  margin-top: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px 15px;
  background: #fff;
  transition: all 0.3s ease;
}

.accordion-card summary {
  font-weight: 600;
  cursor: pointer;
  outline: none;
  font-size: 1.1rem;
}

.accordion-card details[open] {
  background-color: #fffaf2;
  border-color: #e60000;
}

.accordion-card p {
  margin-top: 10px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.accordion-card details[open] summary {
  color: #e60000;
}

.accordion-card details[open] p {
  animation: fadeAccordion 0.4s ease-in-out both;
}

@keyframes fadeAccordion {
  0% {
    opacity: 0;
    transform: translateY(-5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.accordion-card summary {
  position: relative;
  padding-left: 25px;
}

.accordion-icon {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1rem;
  color: #666;
  transition: transform 0.3s ease;
  content: "▼";
}

details[open] .accordion-icon {
  transform: rotate(180deg);
}

.accordion-card summary:hover {
  color: #b00000;
}

@media (max-width: 1024px) {
  .about-grid {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .about-grid {
    flex-direction: column;
    align-items: center;
  }

  .about-card {
    max-width: 100%;
    padding: 25px 20px;
  }

  .about-btn {
    width: 100%;
    text-align: center;
  }

  .accordion-card summary {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .about-card h2 {
    font-size: 1.4rem;
  }

  .about-card p {
    font-size: 0.95rem;
  }

  .accordion-card summary {
    font-size: 0.95rem;
  }

  .about-btn {
    font-size: 0.95rem;
    padding: 10px 12px;
  }
}

@media (max-width: 480px) {
  .about-btn {
    width: 90%;
    max-width: 300px;
    margin: 20px auto 0;
    display: block;
    text-align: center;
  }

  .about-card.centered {
    padding: 30px 15px; /* lidt mindre sidepadding på mobilen */
  }
}

.about-btn {
  transition: all 0.3s ease;
}

.about-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(230, 0, 0, 0.4);
}


/* === Bowling Producenter Sektion === */

.bowling-logos {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logos-title {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: #1a1a1a;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Slider styling */
@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.logos {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.logos:before,
.logos:after {
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  content: "";
  z-index: 2;
}

.logos:before {
  left: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
}

.logos:after {
  right: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
}

.logos:hover .logos-slide {
  animation-play-state: paused;
}

.logos-slide {
  display: inline-block;
  animation: 30s slide infinite linear;
}

.logos-slide a {
  display: inline-block;
  margin: 0 50px; /* spacing mellem billeder */
}

.logos-slide img {
  height: 70px;
  max-width: 160px;
  object-fit: contain;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: grayscale(100%);
}

.logos-slide img:hover {
  transform: scale(1.1);
  filter: grayscale(0%);
}

/* === Mobilvenlighed === */
@media (max-width: 768px) {
  .logos-slide a {
    margin: 0 25px;
  }

  @media (max-width: 768px) {
    .logos-slide img {
      height: 55px;
      max-width: 120px;
    }
  }

  .logos-title {
    font-size: 1.4rem;
  }
}


.event-section {
  background: #fafafa;
  padding: 80px 20px;
  text-align: center;
}

.event-section h2 {
  font-size: 2rem;
  margin-bottom: 0.5em;
  color: #2c2c2c;
}

.event-section .sub {
  max-width: 600px;
  margin: 0 auto 40px;
  color: #666;
  font-size: 1.1rem;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.event-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* fjern disse to linjer */
  /* opacity: 0; */
  /* transform: translateY(40px); */
}


.event-card:hover .event-icon {
  transform: scale(1.2) rotate(5deg);
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.2);
}

.event-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.1), rgba(255,255,255,0.4));
  transform: skewX(-20deg);
  transition: left 0.75s ease;
  pointer-events: none;
}

.event-card:hover::after {
  left: 150%;
}

.event-card .event-icon {
  font-size: 2rem;
  background: #ffecec;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.event-card:hover .event-icon {
  transform: scale(1.2) rotate(5deg);
}

.event-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #e60000;
}

.event-card p {
  color: #444;
  font-size: 0.95rem;
}

@media (max-width: 480px) {
  .event-section h2 {
    font-size: 1.5rem;
  }
  .event-card {
    padding: 20px;
  }
}

.map-section {
  background: #f8f8f8;
  padding: 60px 20px;
  text-align: center;
}

.map-container {
  max-width: 1000px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}

.map-container.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.map-container h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: #2c2c2c;
}

.responsive-map {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.responsive-map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}

.map-info {
  margin-top: 30px;
  font-size: 1rem;
  color: #444;
}

.map-info p {
  margin: 5px 0;
}

.map-btn {
  display: inline-block;
  margin-top: 15px;
  background: #e60000;
  color: white;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.map-btn:hover {
  background: #b00000;
}

/* === Fix: Klikbare swiper-links på mobil === */
.swiper-slide a {
  display: block;
  width: 100%;
  height: 100%;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.swiper-slide {
  z-index: 1;
  pointer-events: auto;
}

.swiper-slide a {
  display: block;
  width: 100%;
}

#scrollToTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  background-color: #1E90FF;
  color: white;
  border: none;
  border-radius: 50%;
  padding: 12px 16px;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 5px 10px rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 0.4s, transform 0.3s;
}

#scrollToTopBtn:hover {
  transform: scale(1.1);
  background-color: #006AE6;
}

#scrollToTopBtn.show {
  opacity: 1;
}

.hero-section {
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .transition-down {
    height: 60px;
  }
}

/* === Ny style til slider === */


/* === SLIDE 1 CUSTOM STYLING === */

#slide-1 .carousel-caption {
  left: 10%;
  right: auto;
  transform: translateY(-50%);
  text-align: left;
  align-items: flex-start;
  max-width: 600px;
  position: absolute;
  padding: 10px; /* Reduced padding for more space */
  box-sizing: border-box;
}

@media (max-width: 768px) {
  /* For mobile */
  #slide-1 .carousel-caption {
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    align-items: center;
    max-width: 90%; /* Adjusted max-width for reduced width */
    padding: 10px; /* Less padding for more space */
  }

  @media (max-width: 768px) {
  #slide-1 .carousel-caption {
    top: 60%; /* ⬅️ Flyt teksten længere ned */
    transform: translate(-50%, -60%);
  }
}

  #slide-1 .slide-sub {
    font-size: 1.6rem; /* Smaller font-size */
  }

  #slide-1 .slide-title {
    font-size: 2.4rem; /* Smaller title size */
  }

  #slide-1 .carousel-caption p {
    font-size: 0.95rem; /* Reduced text size */
    line-height: 1.5;
    margin-bottom: 15px; /* Reduced margin for tighter text */
  }

#slide-1 .highlight-cta {
  font-size: 1.08rem;       /* Matcher brødtekstens størrelse */
  line-height: 1.5;
  text-align: left;
  margin: 12px 0;
  display: block;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.5);  /* Gennemsigtig mørk baggrund */
  border-radius: 6px;
  color: #ffcc00;
  font-weight: bold;
  max-width: 100%;
}

  #slide-1 .btn-orange {
    padding: 10px 18px; /* Larger buttons on mobile */
    font-size: 0.95rem; /* Smaller font-size for buttons */
  }

  /* Adjust buttons layout side by side */
  #slide-1 .carousel-caption a {
    display: inline-block;
    width: 45%; /* Narrower buttons */
    margin: 5px 2%; /* Margin between buttons */
  }
}

/* Text animation for slide 1 */
@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

#slide-1 .carousel-caption h1,
#slide-1 .carousel-caption p,
#slide-1 .carousel-caption a {
  animation: fadeLeft 1.2s ease-in-out both;
}

#slide-1 .slide-sub {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #ffffff;
  text-transform: uppercase;
  opacity: 0.95;
}

#slide-1 .slide-title {
  font-size: 3.8rem;
  font-weight: 800;
  color: #e60000;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(255, 0, 0, 0.7);
  animation: flicker-glow 3s infinite ease-in-out;
}

/* Text (p) in slide 1 */
#slide-1 .carousel-caption p {
  font-size: 1.2rem;
  color: #f0f0f0;
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Highlight text */
#slide-1 .carousel-caption p strong {
  font-weight: 600;
  color: #ffcc00;
}

/* Highlight box */
#slide-1 .highlight-cta {
  display: inline-block;
  font-weight: bold;
  font-size: 1.3rem;
  color: #ffcc00;
  background: rgba(0, 0, 0, 0.6);
  padding: 8px 12px;
  margin: 12px 0;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(255, 200, 0, 0.3);
}

/* Buttons with animated border */
#slide-1 .btn-orange {
  position: relative;
  background: transparent;
  color: #ffa500;
  border: 2px solid #ffa500;
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  overflow: hidden;
  z-index: 0;
  margin: 8px;
  transition: color 0.3s;
}

/* Hover effect: animating border */
#slide-1 .btn-orange::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  background: linear-gradient(90deg, #ffa500, #ffcc00, #ffa500);
  background-size: 300% 100%;
  animation: borderLoop 3s linear infinite;
  z-index: -1;
  border-radius: 32px;
  opacity: 0;
  transition: opacity 0.3s;
}

#slide-1 .btn-orange:hover::before {
  opacity: 1;
}

#slide-1 .btn-orange:hover {
  color: black;
}

@keyframes borderLoop {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

/* Adjusting carousel caption */
#slide-1 .carousel-caption {
  max-width: 90%;
  padding: 15px 10px; /* Adjusted padding */
  margin-bottom: 20px; /* Less margin between elements */
}

/* Adjust button padding */
#slide-1 .btn-orange {
  padding: 12px 18px;
  font-size: 1.1rem;  /* Slightly larger font-size */
}

#slide-1 .highlight-cta {
  font-size: 1.1rem;  /* Increased size */
  padding: 10px 14px;
}

#slide-1 .carousel-caption p {
  margin-bottom: 15px;  /* Reduced margin between text and buttons */
  font-size: 1.1rem;  /* Adjusted font-size for mobile */
}

/* Adjust for mobile view */
@media (max-width: 768px) {
  /* Adjust buttons */
  #slide-1 .carousel-caption a.btn-orange,
  #slide-1 .carousel-caption a.btn-outline {
    width: 85%; /* 45% width for each button */
    font-size: 0.9rem; /* Smaller font size */
    margin: 10px 5px; /* Space between buttons */
    display: inline-block; /* Ensure buttons are side by side */
    text-align: center; /* Center text inside button */
  }

  /* Fine-tune slide 1 text */
  #slide-1 .carousel-caption {
    padding: 15px;  /* Adjusted padding for more space */
  }

  /* Adjust text for mobile */
  #slide-1 .carousel-caption p {
    font-size: 1rem;  /* Reduced font-size for p */
    line-height: 1.6;  /* Tighter line spacing for mobile */
  }
}

/* Desktop default */
.star-overlay {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 290px; /* ⬅️ lidt større end 200 */
  z-index: 9;
  transform: rotate(15deg);
  animation: pop 3s ease-in-out infinite;
}

@media (max-width: 768px) {
  .star-overlay {
    width: 170px;  /* tidligere 130 */
    bottom: 20px;
    right: 10px;
    top: auto;
    opacity: 0.9;
    transition: opacity 0.6s ease;
  }

  .star-overlay.hidden {
    opacity: 0;
  }
}

@media (max-width: 480px) {
  .star-overlay {
    width: 170px;  /* tidligere 150 */
    right: 10px;
    bottom: 15px;
    opacity: 0.95;
  }
}

/* Zoom-effekt animation */
@keyframes pulse-zoom {
  0%   { transform: scale(1) rotate(15deg); }
  50%  { transform: scale(1.2) rotate(15deg); }
  100% { transform: scale(1) rotate(15deg); }
}

.star-overlay.pulse {
  animation: pulse-zoom 2s ease-in-out 1;
}

@media (max-width: 768px) {
  #slide-1 .carousel-caption {
    top: 60%;
    transform: translate(-50%, -60%);
    max-width: 95%;
    padding: 10px 5px;
  }

  #slide-1 .carousel-caption p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 10px;
  }

  #slide-1 .highlight-cta {
    font-size: 0.85rem;
    padding: 6px 8px;
    line-height: 1.3;
    max-width: 100%;
  }

  #slide-1 .carousel-caption a {
    width: 90%;
    margin: 5px auto;
    display: block;
  }
}

.news-banner {
	width: 100%;
	background: linear-gradient(to right, #ffcc00, #ff9900);
	overflow: hidden;
	border-bottom: 2px solid black;
	height: 40px;
	display: flex;
	align-items: center;
	position: relative;
	font-weight: 600;
	box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.scrolling-container {
	width: 100%;
	height: 100%;
	position: relative;
	overflow: hidden;
}
.scrolling-text {
	position: absolute;
	white-space: nowrap;
	font-weight: bold;
	font-size: 1.1rem;
	color: black;
	top: 50%;
	transform: translateY(-50%);
}
.scrolling-text a {
	color: #0056b3;
	font-weight: bold;
	text-decoration: underline;
	cursor: pointer;
}
.scrolling-text a:hover {
	color: darkblue;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* make sizing predictable */
*, *::before, *::after { box-sizing: border-box; }

/* keep the red button inside the card on mobile */
@media (max-width: 768px) {
  .about-card .about-btn {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box; /* padding included in the width */
    margin: 20px 0 0;       /* no auto margins needed */
    text-align: center;
  }

  /* optional: tiny side padding tweak to stay well clear of edges */
  .about-card.centered { padding-left: 16px; padding-right: 16px; }
}

/* belt & braces: clip anything that still tries to overflow */
.about-card { overflow: hidden; }

/* ========= HERO: SCRIM + CAPTION (renset og samlet) ========= */

/* Én fælles scrim over hele billedet (baseline) */
.custom-carousel .carousel-slide::after{
  content:"";
  position:absolute; inset:0;
  background: rgba(0,0,0,.38);            /* desktop baseline */
  pointer-events:none;
  z-index:1;                               /* under caption, over billedet */
}
@media (max-width:768px){
  .custom-carousel .carousel-slide::after{ background: rgba(0,0,0,.46); } /* mobil lidt stærkere */
}

/* Per-slide finjustering af scrim (tilføj .scrim-strong / .scrim-light på slide-divs) */
.carousel-slide.scrim-strong::after { background: rgba(0,0,0,.50); }  /* mørkere */
.carousel-slide.scrim-light::after  { background: rgba(0,0,0,.22); }  /* lysere */

/* (valgfrit) blød vignette ovenpå scrim – brug ved at tilføje .vignette på en slide */
.carousel-slide.vignette::after{
  background:
    radial-gradient(70% 55% at 50% 45%, rgba(0,0,0,0) 0 60%, rgba(0,0,0,.24) 100%),
    rgba(0,0,0,.30);
}

/* Kontrast-venlig tekstboks (glassmorphism light) */
.carousel-caption{
  z-index:2;
  background: rgba(0,0,0,.28);            /* default caption-baggrund */
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  padding: 22px 26px;
}

/* Gør caption *lysere* på “lyse” slides, så firkanten ikke ses */
.scrim-light .carousel-caption { background: rgba(0,0,0,.10); }
/* Tip: hvis du vil have den helt væk på slide 2, så brug i stedet: */
/* .scrim-light .carousel-caption { background: transparent; backdrop-filter:none; } */

/* Hold en anelse baggrund på “strong” slides for læsbarhed */
.scrim-strong .carousel-caption { background: rgba(0,0,0,.28); }

@media (max-width:768px){
  /* på mobil er baggrunde ofte lysere → lidt mere baggrund hjælper */
  .carousel-caption{ background: rgba(0,0,0,.34); padding:16px 18px; }
  .scrim-light .carousel-caption{ background: rgba(0,0,0,.16); }
}

/* Læsevenlighed */
.carousel-caption h1{
  color:#fff;
  text-shadow: 0 1px 0 rgba(0,0,0,.6), 0 0 10px rgba(0,0,0,.45);
}
.carousel-caption p{
  color:#fff;
  line-height:1.7;
  text-shadow: 0 2px 6px rgba(0,0,0,.6);
  text-wrap: balance;
}

/* Knapper */
.btn-outline{
  border:2px solid #fff; color:#fff;
  box-shadow:0 4px 16px rgba(0,0,0,.35);
}
.btn-outline:hover{ background:#fff; color:#e60000; }

/* Mobil typografi og knapper */
@media (max-width:768px){
  .carousel-caption h1{ font-size:1.9rem; line-height:1.2; }
  .carousel-caption p { font-size:.98rem; }
  .carousel-caption a { width:100%; max-width:260px; }
}


/* Mobil: større tekst, strammere spacing, og lidt højere placering */
@media (max-width: 480px) {
  .carousel-caption{
    top: 56%;                           /* lidt højere */
    transform: translate(-50%, -56%);   /* match top */
    padding: 12px 14px;                 /* mindre padding → kompakt */
    max-width: 92%;
  }

  .carousel-caption h1{
    font-size: clamp(1.8rem, 6.2vw, 2.3rem); /* lidt større på små skærme */
    line-height: 1.15;                        /* tættere linjer */
    margin: 0 0 8px;
    letter-spacing: 0.2px;
  }

  .carousel-caption p{
    font-size: clamp(1.02rem, 3.8vw, 1.15rem); /* + ~10-15% */
    line-height: 1.35;                          /* stram linjeafstand */
    margin: 6px 0 10px;
    text-wrap: balance;                         /* pænere linjebrud */
  }

  /* highlight-boksen: lidt mindre så den ikke fylder */
  #slide-1 .highlight-cta{
    font-size: .9rem;
    padding: 6px 8px;
    line-height: 1.25;
  }

  /* knapper kompakte – så højden ikke vokser */
  .carousel-caption a.btn-outline,
  .carousel-caption a.btn-orange{
    font-size: .95rem;
    padding: 9px 14px;
    max-width: 260px;
    width: 100%;
  }
}

/* Små tablets – en mild version */
@media (min-width: 481px) and (max-width: 768px) {
  .carousel-caption{
    top: 54%;
    transform: translate(-50%, -54%);
    padding: 14px 18px;
  }
  .carousel-caption h1{ font-size: clamp(2rem, 4.8vw, 2.6rem); line-height: 1.18; }
  .carousel-caption p { font-size: clamp(1.05rem, 3.2vw, 1.2rem); line-height: 1.4; }
}

/* --- Bedre læsbarhed på mobil --- */
@media (max-width: 768px) {
  /* lidt mørkere glasbaggrund, men smallere padding */
  .carousel-caption{
    background: rgba(0,0,0,.55);
    padding: 14px 16px;
    top: 58%;                        /* lidt højere oppe, så den ikke fylder for meget */
    transform: translate(-50%, -58%);
    max-width: 92%;
  }

  /* titlen (KBK 1940) – en tand større + tydelig outline */
  .carousel-caption .slide-title{
    font-size: 2.2rem;
    line-height: 1.12;
    letter-spacing: .3px;
    -webkit-text-stroke: .6px rgba(0,0,0,.35);       /* diskret outline (Safari/Chromium) */
    text-shadow:
      0 3px 12px rgba(0,0,0,.85),                     /* blød glød */
      0 0 2px rgba(0,0,0,.55);                        /* tynd pseudo-outline */
  }

  /* underoverskrift "VELKOMMEN TIL" */
  .carousel-caption .slide-sub{
    font-size: 1.85rem;
    line-height: 1.15;
    letter-spacing: .4px;
    text-shadow: 0 2px 10px rgba(0,0,0,.85);
  }

  /* brødteksten – en smule større, men tættere linjer og mindre margin */
  .carousel-caption p{
    font-size: 1.06rem;        /* + lidt størrelse */
    line-height: 1.45;         /* tættere linjer = mindre højde */
    margin: 10px 0 12px;       /* mindre luft over/under */
    letter-spacing: .2px;
    text-shadow: 0 2px 8px rgba(0,0,0,.9); 
  }

  /* den gule highlight-boks */
  .carousel-caption .highlight-cta{
    font-size: .95rem;
    line-height: 1.25;
    padding: 8px 10px;
  }

  /* knapper – lidt større tekst, uden at vokse i højde */
  .carousel-caption .btn-orange,
  .carousel-caption .btn-outline{
    font-size: 1rem;
    padding: 12px 18px;
    width: 100%;
    max-width: 270px;
    margin: 6px auto;
  }
}

/* lille forbedring også på desktop: hvid tekst får lidt ekstra separation */
.carousel-caption p{
  text-shadow: 0 2px 8px rgba(0,0,0,.75);
}

/* Kun slide 2: giv caption et nøk mørkere baggrund på mobil */
@media (max-width: 768px){
  #slide-2 .carousel-caption{ background: rgba(0,0,0,.60); }
}

/* Scroll-nudge: tydelig rund knap */
#scroll-nudge{
  position:absolute;
  top: 8px;                 /* lidt højere, så den ikke går i ét med bølgen */
  left:50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background: rgba(0,0,0,.82);     /* mørk baggrund */
  color:#fff;                      /* hvid pil */
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 22px;                 /* pilens størrelse */
  line-height: 1;
  box-shadow: 0 6px 18px rgba(0,0,0,.35),
              0 0 0 2px rgba(255,255,255,.35) inset; /* subtil lys ring */
  z-index: 8;                      /* over bølgen */
  animation: bounceArrow 1.8s infinite;
  pointer-events: none;            /* klik går igennem */
}

#scroll-nudge.hidden{ opacity:0; }

/* Lidt mindre på meget små mobiler */
@media (max-width: 380px){
  #scroll-nudge{ width: 40px; height: 40px; font-size: 20px; }
}

/* Skjul gammel hvid pil */
.scroll-down-indicator { display: none !important; }

/* Skjul "Se hvorfor bowling er sjovere i klub" på mobiltelefoner */
@media (max-width: 768px) {
  #slide-1 .carousel-caption a[href="nyvideo.html"] {
    display: none !important;
  }
}

/* Gør teksten større og venstrejusteret på mobil */
@media (max-width: 768px) {

  #slide-1 .carousel-caption p {
    font-size: 1.15rem !important;  /* større tekst */
    line-height: 1.55 !important;   /* bedre læsbarhed */
    text-align: left !important;    /* venstrejusteret */
  }

  #slide-1 .carousel-caption {
    text-align: left !important;    /* hele teksten venstre-alignet */
    align-items: flex-start !important;
  }

  /* Justér highlight-boksen så den også følger venstre alignment */
  #slide-1 .highlight-cta {
    text-align: left !important;
    display: block;
  }
}

/* Mobile finpudsning */
@media (max-width: 480px) {
  /* Captions: stram sidepadding + tydelig venstre-justering */
  #slide-1 .carousel-caption {
    text-align: left !important;
    align-items: flex-start !important;
    padding: 14px 18px !important;
    max-width: 92% !important;
  }

  /* Hvid brødtekst: større, bedre linjeafstand og kortere linjer */
  #slide-1 .carousel-caption p {
    font-size: 1.08rem !important;
    line-height: 1.5 !important;
    max-width: 30ch;        /* begræns linjelængde */
    text-wrap: balance;
    margin: 10px 0 14px !important;
  }

  /* Mindre mellemrum mellem underoverskrift og rød titel */
  #slide-1 .slide-sub {
    margin-bottom: 6px;
  }

  /* Highlight-boks: lidt mere luft omkring */
  #slide-1 .highlight-cta {
    display: block;
    text-align: left;
    margin: 10px 0 14px !important;   /* mere afstand til tekst og knap */
    padding: 8px 10px !important;
    line-height: 1.3;
  }

  /* Knap: bedre touch-størrelse og centrering */
  #slide-1 .carousel-caption a.btn-orange,
  #slide-1 .carousel-caption a.btn-outline {
    width: 100%;
    max-width: 270px;
    min-height: 44px;               /* god touch-højde */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 6px 0 !important;
  }
}

/* Lidt mørkere glasbaggrund på caption for ekstra kontrast */
@media (max-width: 768px) {
  #slide-1 .carousel-caption { background: rgba(0,0,0,.55) !important; }
}

/* --- Mobile optimizations: Slide 2 --- */
@media (max-width: 768px) {

  /* Caption container: bedre kontrast, luft og venstrejustering */
  #slide-2 .carousel-caption {
    background: rgba(0,0,0,0.62) !important;
    padding: 14px 16px !important;
    border-radius: 14px !important;
    text-align: left !important;
    align-items: flex-start !important;
    max-width: 92% !important;

    /* løft caption en smule */
    top: 54% !important;
    transform: translate(-50%, -54%) !important;
  }

  /* Titel (KBK 1940) – mindre glow, mere tydelighed */
  #slide-2 .slide-title {
    text-shadow: 0 2px 8px rgba(0,0,0,0.5) !important;
    -webkit-text-stroke: 0.4px rgba(0,0,0,0.25) !important;
    letter-spacing: 0.3px !important;
  }

  /* Brødtekst – større, kortere linjer og bedre læsbarhed */
  #slide-2 .carousel-caption p {
    font-size: 1.06rem !important;
    line-height: 1.48 !important;
    max-width: 30ch !important;  /* perfekt linjelængde */
    margin: 8px 0 14px !important;
    text-wrap: balance;
  }

  /* CTA-knap – fyldt stil, mere touchvenlig */
  #slide-2 .carousel-caption .btn-outline {
    background: #ffffff !important;
    color: #111 !important;
    border-color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35) !important;
    width: 100% !important;
    max-width: 270px !important;
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 6px !important;
  }

  /* Hover – brandet KBK gul */
  #slide-2 .carousel-caption .btn-outline:hover {
    background: #ffcc00 !important;
    border-color: #ffcc00 !important;
    color: #111 !important;
  }
}

/* === SLIDE 1: ens størrelse på hvid tekst og gul highlight === */
#slide-1 .carousel-caption p,
#slide-1 .highlight-cta{
  font-size: 1.2rem;     /* samme som brødteksten på desktop */
  line-height: 1.8;
  font-weight: 500;      /* match den hvide teksts vægt */
}

@media (max-width: 768px){
  #slide-1 .carousel-caption p,
  #slide-1 .highlight-cta{
    font-size: 1.06rem;  /* samme på mobil */
    line-height: 1.45;
  }
}

/* valgfrit: hold læsbar linjelængde på mobil */
@media (max-width: 480px){
  #slide-1 .carousel-caption p,
  #slide-1 .highlight-cta{
    max-width: 30ch;
  }
}

/* === SLIDE 1: lås samme størrelse på hvid tekst og gul highlight === */
#slide-1 .carousel-caption p,
#slide-1 .highlight-cta {
  font-size: 1.20rem !important;
  line-height: 1.8 !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}

@media (max-width: 768px) {
  #slide-1 .carousel-caption p,
  #slide-1 .highlight-cta {
    font-size: 1.06rem !important;
    line-height: 1.45 !important;
    font-weight: 500 !important;
  }
}

@media (max-width: 480px) {
  #slide-1 .carousel-caption p,
  #slide-1 .highlight-cta {
    max-width: 30ch;
  }
}

/* Fælles brand-overskrift (rød "KBK 1940") som ligger udenfor caption */
.slide-brand{
  position: absolute;
  z-index: 3;                 /* over scrim og billedet, under menu-knap */
  left: 8%;
  top: 18%;
  color: #e60000;
  font-weight: 800;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(255,0,0,0.7);
  animation: flicker-glow 3s infinite ease-in-out;
  /* skaler pænt på tværs af skærme */
  font-size: clamp(2.6rem, 6.5vw, 3.8rem);
  letter-spacing: .5px;
  pointer-events: none;       /* klik går igennem til underliggende elementer */
}

/* Slide 2: lidt finplacering ift. din captionboks */
#slide-2 .slide-brand{ top: 16%; left: 8%; }

@media (max-width: 768px){
  #slide-2 .slide-brand{
    top: 14%;
    left: 7%;
    font-size: clamp(2rem, 8vw, 2.6rem);
    -webkit-text-stroke: .5px rgba(0,0,0,.35); /* bedre læsbarhed over lyse områder */
    text-shadow:
      0 3px 12px rgba(0,0,0,.85),
      0 0 2px rgba(0,0,0,.55);
  }

  /* Løft caption en smule så den ikke rammer brand-teksten */
  #slide-2 .carousel-caption{
    top: 56% !important;
    transform: translate(-50%, -56%) !important;
    background: rgba(0,0,0,0.62) !important;
  }
}

/* Skjul den gamle h1 inde i caption på slide 2 for at undgå dobbelt titel */
#slide-2 .carousel-caption h1{ display: none; }

.visually-hidden{
  position:absolute!important;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0 0 0 0);
  white-space:nowrap;border:0;
}

/* ==== Slide 2 brand title (matches slide 1) ==== */
#slide-2 .slide2-brand{
  position:absolute;
  top: 14%;
  left:50%;
  transform:translateX(-50%);
  z-index:2;
  pointer-events:none;
  text-align:center;
}

#slide-2 .slide2-brand .slide-title{
  font-size: clamp(2.4rem, 6.5vw, 3.8rem); /* same ceiling as slide 1 */
  font-weight: 800;
  color:#e60000;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(255,0,0,.7);
  animation: flicker-glow 3s infinite ease-in-out;
}

/* keep caption centred and leave room below the brand */
#slide-2 .carousel-caption{
  top: 52%;
  transform: translate(-50%, -52%);
  text-align:center;
}

/* Mobile tweaks */
@media (max-width: 768px){
  #slide-2 .slide2-brand{ top: 12%; }
  #slide-2 .slide2-brand .slide-title{
    font-size: clamp(2rem, 7vw, 2.4rem);
  }
  #slide-2 .carousel-caption{
    top: 56% !important;                 /* a touch lower under the title */
    transform: translate(-50%, -56%) !important;
    max-width: 92% !important;
    background: rgba(0,0,0,.60) !important;
    text-align: center !important;
  }
}

/* ==== Slide 2: brand udenfor caption, centreret og stort ==== */
#slide-2 .slide2-brand{
  position:absolute;
  top: 12%;
  left:50%;
  transform:translateX(-50%);
  z-index:2;
  text-align:center;
  pointer-events:none;
}

#slide-2 .slide2-brand .slide-title{
  font-size: clamp(2.8rem, 5.5vw, 3.8rem); /* desktop/tablet */
  font-weight: 800;
  color:#e60000;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(255,0,0,.7);
  animation: flicker-glow 3s infinite ease-in-out;
  line-height: 1.05;
  letter-spacing: .4px;
}

/* Captions rykkes lidt ned så der er luft under brand-titlen */
#slide-2 .carousel-caption{
  top: 54%;
  transform: translate(-50%, -54%);
  text-align:center;
}

/* === Mobil tweaks === */
@media (max-width: 768px){
  /* gør brand-teksten (rød) lige så stor som slide 1 – eller en tand større */
  #slide-2 .slide2-brand{ top: 10%; }
  #slide-2 .slide2-brand .slide-title{
    font-size: clamp(2.6rem, 9.5vw, 3.2rem);
  }

  /* mere luft til teksten og lidt større brødtekst */
  #slide-2 .carousel-caption{
    top: 58% !important;
    transform: translate(-50%, -58%) !important;
    max-width: 92% !important;
    background: rgba(0,0,0,.60) !important;
  }
  #slide-2 .carousel-caption p{
    font-size: 1.14rem !important;
    line-height: 1.45 !important;
  }
}

/* meget små mobiler: hold titlen stor og kort */
@media (max-width: 390px){
  #slide-2 .slide2-brand .slide-title{
    font-size: clamp(2.7rem, 10.5vw, 3.3rem);
  }
  #slide-2 .carousel-caption{ top: 59% !important; }
}


