/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  @font-face {
    font-family: 'LatinWDN';          /* a name you choose */
    src: url('/fonts/latinwdn.ttf')   /* path to your TTF file */
        format('truetype');              /* declare the format */
    font-weight: normal;                  /* optional: normal, bold, etc. */
    font-style: normal;                   /* optional: normal, italic, etc. */
    font-display: swap;                   /* optional: control loading behavior */
  }
  body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF;
  }
  
  /* Container */
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* Header & Navigation */
  .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
  }
  .logo img {
    max-width: 150px;
  }
  nav ul {
    list-style: none;
    display: flex;
  }
  nav ul li {
    margin-left: 20px;
  }
  nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
  }
  .header {
    background: #FF0000;
  }
  h7 {
    margin: 0;
    color: #FF0000;
    font-size: 28px;
}

  /* Hero Section */
  /* Make the slider fill the viewport */
.hero .swiper-container {
  width: 100%;
  height: 60vh;
  position: relative;
  overflow: hidden;
}

/* Each slide’s image should cover the slide */
.hero .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Position your content over the slide */
.hero .swiper-slide .hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.4);
  padding: 40px;
  border-radius: 5px;
  text-align: center;
  color: #fff;
  max-width: 90%;
}

/* Headings & text sizing */
.hero .hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.hero .hero-content p {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

/* CTA button */
.hero .hero-content .cta {
  background: #e63946;
  padding: 0.75rem 2rem;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
}

/* Swiper pagination & navigation color override */
.hero .swiper-pagination-bullet {
  background: rgba(255,255,255,0.8);
}
.hero .swiper-button-next {
  color: #fff;
  width: 20px;
  height: 20px;
  margin-left: 50px;
}

.hero .swiper-button-prev {
  color: #fff;
  width: 20px;
  height: 20px;
}

/* Make sure the slider container is relatively positioned */
.hero .swiper-container {
  position: relative;
}

.swiper-pagination-horizontal {
  left:50% !important;
}

/* Position the Prev/Next arrows further from the right edge */
.hero .swiper-button-next,
.hero .swiper-button-prev {
  left: auto;
  z-index: 10;        /* on top of the slide images */
}

/* Center the pagination bullets at the bottom */
.hero .swiper-pagination {
  bottom: 1rem;       /* 16px up from the bottom */
  left: 50%;          /* center horizontally */
  transform: translateX(-50%);
  z-index: 10;
}

/* Optional: make bullets a bit bigger for touch screens */
.hero .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  opacity: 0.8;
}

  
  /* Section Backgrounds */
  .section-white {
    background: #FFFFFF;
    color: #333;
    padding: 60px 0;
    text-align: center;
  }
  .section-dark {
    background: #FF0000;
    color: #fff;
    padding: 60px 0;
    text-align: center;
  }
  
  /* About Section */
  .about p {
    margin-top: 20px;
    font-size: 18px;
  }
  
  /* Services Section */
  .service-boxes {
    display: grid;
    /* Immer genau 2 Spalten nebeneinander */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 40px;
  }
  
  /* Größere Service‑Boxen */
  .service-box {
    background: #FFFFDA;
    padding: 2rem;         /* Innenabstand größer */
    border-radius: 8px;
    max-width: 400px;      /* verhindert zu breite Boxen */
    width: 100%;
    text-align: center;
    margin: 0 auto;
    color: #343434;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
  }

  .button {
    background-color: #FFFF00;
    border: none;
    color: #FF0000;
    padding: 15px 50px 15px 50px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    display: inline-block;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 650px;
    font-family: "LatinWDN";
  }

 .button a, a.button:hover, a.button:active, a.button:visited { color: #FF0000; }
  
  /* Icon oben in der Box */
  .service-box .service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
  }
  .service-box {
    background: #FFFFDA;
    color: #333;
    padding: 20px;
    width: 250px;
    border-radius: 5px;
  }
  .service-box h3 {
    margin-bottom: 15px;
    font-size: 22px;
  }
  .service-box p {
    font-size: 16px;
  }
  
  /* Portfolio Section */
  .portfolio-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
  }
  .portfolio-item {
    position: relative;
    width: 300px;
    border-radius: 5px;
    overflow: hidden;
  }
  .portfolio-item img {
    width: 100%;
    display: block;
  }
  .portfolio-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.7);
    color: #fff;
    padding: 10px;
    font-size: 16px;
  }
  
  /* Contact Section */
  .contact form {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .contact form input,
  .contact form textarea {
    width: 100%;
    max-width: 500px;
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
  }
  .contact form button {
    background: #e63946;
    padding: 15px 30px;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
  }
  
  /* Footer */
  .footer {
    padding: 20px 0;
    text-align: center;
  }
  .footer p {
    font-size: 14px;
  }
  .footer .social-links-container {
    margin-top: 10px;
    display: table;
    margin: 0 auto;
  }
  .footer .social-links a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
  }

  .footer .contact-footer {
    margin-top: 50px;
  }
  .footer .contact-footer a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .service-boxes,
    .portfolio-grid {
      flex-direction: column;
      align-items: center;
    }
.hero .swiper-slide .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.4);
    padding: 5px;
    border-radius: 5px;
    text-align: center;
    color: #fff;
    /* max-width: 90%; */
    min-width: 85%;
}

  }
  
  @media (max-width: 600px) {
    .service-boxes {
      grid-template-columns: 1fr;
    }
.hero .hero-content h1 {
	font-size: 1.5rem;
  }
.hero .swiper-slide .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.4);
    padding: 5px;
    border-radius: 5px;
    text-align: center;
    color: #fff;
    /* max-width: 90%; */
    min-width: 85%;
}

  }

  .contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .contact-list li + li {
    margin-top: 0.5rem;
  }
  
  .contact-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
  }
  
  .contact-link span.contact-text {
    margin-left: 0.5rem;
    font-size: 1rem;
  }
  
  /* On hover, you can change the icon color for feedback */
  .contact-link:hover {
    color: #e63946;
  }
  
  .social-links {
    display: flex;
    gap: 1rem;               /* Abstand zwischen den Icons */
  }

  .social-icon {
    width: 24px;             /* Icon-Größe */
    height: 24px;
    display: block;
  }
  .social-links a:hover .social-icon {
    opacity: 0.8;            /* leichter Hover‑Effekt */
  }

  /* 1) Hide toggle‑button on desktop */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: inherit;
}

/* 2) Desktop: normales Menü anzeigen */
/* Desktop: always show the nav */
.header nav {
  display: block;
}

/* Hide toggle button on desktop */
.menu-toggle {
  display: none;
}

/* So that absolutely‑positioned nav is relative to this element */
#header {
  position: relative;
  overflow: visible; /* ensure the menu isn’t clipped */
}

.containerPoster {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
    color: #fff;
  }
  .card {
    background-color: #fe0103;
    border: 2px solid white;
    /*margin: 10px;*/
    padding: 20px;
    max-width: 800px;
    flex: 1 1 400px;
  }
  .logo {
    text-align: center;
    font-size: 3em;
    font-family: 'LatinWDN';
    font-weight: bold;
    color: yellow;
  }
  .phone-number {
    text-align: center;
    font-size: 3em;
    color: yellow;
    margin-bottom: 20px;
    font-family: 'LatinWDN';
  }
  ul {
    list-style-position: inside;
    padding: 0;
    line-height: 2;
    font-size: 1.3em;
  }
  .badge {
    display: block;
    margin: 10px auto;
    max-width: 100px;
  }
  .highlight {
    font-weight: bold;
    text-decoration: underline;
    }

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  /* hide by default */
  #header nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fe0103;
    z-index: 999;
  }
  /* show when .open */
  #header.open nav {
    display: block;
  }
  #header nav ul {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 1rem 0;
    list-style: none;
  }
  #header nav ul li + li {
    margin-top: 0.5rem;
  }
  #header nav ul li a {
    display: block;
    padding: 0.75rem 1rem;
    color: #fff;
    text-decoration: none;
  }
}

/* Grundstruktur für Gallery-Swiper */
.gallery-swiper {
  width: 100%;
  padding-bottom: 30px;
}

/* Slides zentriert darstellen */
.gallery-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Bilder anpassen */
.gallery-swiper .swiper-slide img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Kill the horizontal scrollbar without hiding vertical overflow */
html, body { overflow-x: hidden; }

/* Common Grav/UIkit + Owl/Flickity safeguards — keep slider contents contained */
.uk-slideshow, .uk-slideshow-items,
.uk-slider, .uk-slider-items,
.owl-carousel, .owl-stage-outer,
.flickity-viewport {
  overflow: hidden;
}

/* Make sure slides don’t exceed the container width */
.uk-slider-items > * , .uk-slideshow-items > *,
.owl-item, .flickity-slider > * {
  box-sizing: border-box;
  max-width: 100%;
}

/* Images scale down properly */
.uk-slideshow img, .uk-slider img,
.owl-carousel img, .flickity-slider img,
.gallery img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* If any element used 100vw inside a padded container, force it to 100% */
.gallery, .uk-slideshow, .uk-slider, .owl-carousel, .flickity-viewport {
  width: 100% !important;
}

/* Defensive: arrow buttons/captions shouldn’t extend layout width */
.uk-position-center-left, .uk-position-center-right,
.owl-nav, .flickity-button {
  max-width: calc(100% - 1px);
}
