
/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== GLOBAL ===== */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: #222;
}

/* ===== THE MAGIC CENTER CONTAINER ===== */
.container {
    max-width: 1100px;     /* controls readability on big screens */
    margin: 0 auto;        /* centers everything */
    padding: 0 20px;       /* space from screen edges on mobile */
}

/* ===== SECTIONS (full width backgrounds) ===== */
section {
    padding: 80px 0;
}

/* ===== HERO (full width background) ===== */
.hero {
    background: #111;
    color: white;
}

/* ===== CONTENT SECTION ===== */
.content {
    background: #f5f5f5;
}

/* ===== TYPOGRAPHY ===== */
h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

p {
    font-size: 18px;
    max-width: 700px;  /* keeps text readable */
}



/* ===== LOGOBAR ===== */

.logobar {
    background: white;          /* full width white bar */
    padding: 25px 0;
    border-bottom: 1px solid #eee;
}

.logobar-inner {
    display: flex;
    justify-content: center;    /* centers logo horizontally */
    align-items: center;
}

.logo {
    height: 30px;              /* control logo size here */
    width: auto;
}




/* Video Block direkt unter Logo */
/* Container */
.videoblock {
    position: relative;
    width: 100%;
    height: 412px; /* feste Höhe */
    max-height: 50vw;
    overflow: hidden;
}

/* Video */
.videoblock .background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* Overlay über dem Video */
.videoblock .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    z-index: 1;
}

/* Text auf dem Overlay */
.videoblock .video-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: black;   /* weißer Text */
    text-align: center;
    z-index: 2;    /* über Overlay */
}

.videoblock .video-text h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.videoblock .video-text p {
    font-size: 20px;
}








.headlinewebseite {
    background: white;       /* dezenter Hintergrund */
    padding: 25px 20px;      /* Abstand oben/unten, links/rechts */
    text-align: center;      /* alles zentriert */
}


/* Container: zentriert, max-width */
.container {
    max-width: 900px;
    margin: 0 auto;
}

/* Headline */
.headlinewebseite h1 {
    font-size: 28px;
    font-family: roboto;
    color: black;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Untertitel */
.headlinewebseite p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* CTA Button */
.cta {
    display: inline-block;
    padding: 12px 24px;
    background: black;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
}



/* ==========================================================================
   OFFERING SECTION (Video, Grafik, Webseite)
   ========================================================================== */

.offering {
  padding: 60px 0;
  background-color: #f5f5f5; /* light grey */
  width: 100%;
  overflow: hidden; /* Safety net against horizontal scrolling */
}

.offering-video {
  display: flex;
  align-items: center;
  gap: 40px;
  transition: transform 0.3s ease;
  width: 100%;
}

/* Icon Styling */
.offering-video_icon {
  width: 90px;
  height: auto;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

/* Text block */
.offering-video_text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

/* Headings & Paragraphs */
.offering-video_text h2 {
  margin: 0 0 12px 0;
  font-size: 32px;
  color: #333;
}

.offering-video_text p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: #555;
}

/* ---------- Desktop Hover Effects ---------- */
.offering-video:hover .offering-video_icon {
  transform: scale(1.15);
}

.offering-video:hover {
  transform: translateY(-5px);
}

/* ---------- Modifier: Right-Aligned (Desktop only) ---------- */
.offering-video--right {
  flex-direction: row-reverse;
}

.offering-video--right .offering-video_text {
  text-align: right;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Mobile Fix)
   ========================================================================== */

@media (max-width: 768px) {
  .offering {
    padding: 40px 0;
  }

  /* Force stack and center all variations */
  .offering-video, 
  .offering-video--right {
    flex-direction: column !important; /* Forces vertical stack */
    text-align: center !important;
    gap: 25px;
  }

  /* Reset text alignment for the right-modifier on mobile */
  .offering-video--right .offering-video_text,
  .offering-video_text {
    text-align: center;
  }

  .offering-video_icon {
    width: 75px; /* Slightly smaller for mobile screens */
  }

  .offering-video_text h2 {
    font-size: 26px; /* Optimized for mobile readability */
  }

  .offering-video_text p {
    font-size: 16px;
  }
}






/* Über mich Section */

.ueber-mich {
  padding: 80px 20px;
  background-color: white; /* dezenter hellgrauer Hintergrund */
}

.ueber-mich-content {
  display: flex;
  align-items: center; /* vertikal zentriert */
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Linke Seite: Text */
.ueber-mich-text h2 {
  font-size: 32px;
  margin-bottom: 16px;
}

.ueber-mich-text p {
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
}

/* Rechte Seite: Bild */
.ueber-mich-image img {
  width: 300px; /* passe Größe an */
  height: auto;
  border-radius: 8px; /* optional für sanfte Kanten */
}

/* Mobile responsive: stapeln */
@media (max-width: 768px) {
  .ueber-mich-content {
    flex-direction: column;
    text-align: center;
  }

  .ueber-mich-image img {
    width: 80%; /* passt sich dem Bildschirm an */
  }
}



/* Testimonial Section */

.testimonials {
  padding: 80px 20px;
  background-color: black;
}

.testimonials h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  color: white;
}

/* Carousel container with buttons */
.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Scrollable carousel */
.testimonials-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 10px 0;
}

.testimonials-carousel::-webkit-scrollbar {
  display: none;
}

/* Each testimonial card */
.testimonial-item {
  flex: 0 0 calc((100% - 40px)/3); /* 3 visible at once */
  scroll-snap-align: start;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  padding: 30px;
  text-align: center;
}

/* Arrow buttons */
.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.1);
  color: #fff;
  border: none;
  padding: 10px 15px;
  font-size: 24px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
}

.carousel-button.prev {
  left: 10px;
}

.carousel-button.next {
  right: 10px;
}

/* Responsive */
@media (max-width: 1024px) {
  .testimonial-item {
    flex: 0 0 calc((100% - 20px)/2); /* 2 visible */
  }
}

@media (max-width: 768px) {
  .testimonial-item {
    flex: 0 0 100%; /* 1 visible */
  }
}






/* Kontaktformular Section Styling */

.kontaktformular-section {
    padding: 50px;
    background-color: #f5f5f5;

}

.kontaktformular-section h2 {
    text-align: center;
}

.kontaktformular {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-family: Arial, sans-serif;
}

.kontaktformular label {
    font-weight: 600;
}

.kontaktformular input,
.kontaktformular textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
}

.kontaktformular textarea {
    resize: vertical;
}

.kontaktformular button {
    margin-top: 10px;
    padding: 12px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.kontaktformular button:hover {
    background-color: #777;
}



.checkbox {
    display: flex;
    align-items: flex-start;
    font-size: 12px;
    margin-top: 10px;
    ont: inherit;
  color: inherit;
  text-decoration: none;
  display: inline;
  font-weight: normal;
}

.checkbox input {
    margin-top: 3px;
}





/* Brand Carousell Section */

.brand-carousell {
  padding: 20px 20px;
  background: #ffffff;
  overflow: hidden;
}

.brand-carousell h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 50px;
}

/* Track */
.brand-carousel-track {
  display: flex;
  overflow: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}

/* Each logo item (5 visible) */
.brand-item {
  flex: 0 0 20%;              /* exakt 5 Logos */
  margin-right: 40px;        /* Abstand statt gap */
  scroll-snap-align: start;

  display: flex;
  justify-content: center;
  align-items: center;
}

/* letztes Element ohne Abstand */
.brand-item:last-child {
  margin-right: 0;
}

/* Logo styling */
.brand-item img {
  max-width: 100%;
  height: 120px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.brand-item img:hover {
  opacity: 1;
  transform: scale(1.05);
}


/* ========== Responsive ========== */

/* 4 Logos */
@media (max-width: 1200px) {
  .brand-item {
    flex: 0 0 25%;
  }
}

/* 3 Logos */
@media (max-width: 900px) {
  .brand-item {
    flex: 0 0 33.3333%;
  }
}

/* 2 Logos */
@media (max-width: 600px) {
  .brand-item {
    flex: 0 0 50%;
  }
}






/* Footer Section */

.footer {
  background-color: #000; /* black background */
  padding: 20px 0;
}

.footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 30px; /* space between links */
}

.footer a {
  color: #fff; /* white text */
  text-decoration: none;
  transition: color 0.3s ease;
      font-size: 14px;

}

.footer a:hover {
  color: grey; /* highlight color on hover */
      font-size: 14px;

}





/* Coockie Banner */




