/* Globales Reset & Grundstil */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body {
  color: #333;
  line-height: 1.6;
  background-color: #fff;
}
.designer-headline {
  color: #104E8B; /* exakt der Blauton von deiner Startseite */
  font-family: Arial, Helvetica, sans-serif;
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 1.2;
  margin: 0 0 20px 0;
  word-break: break-word;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 0;
  text-align: center;
}
@media (max-width: 768px) {
  .container {
    padding: 20px 0; /* statt 80px weniger Freiraum auf kleineren Bildschirmen */
  }
}
@media (max-width: 768px) {
  .serviette-animiert {
    display: none;
  }
}




.site-header {
  width: 100%;
  background-color: white;
  position: fixed;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
/* Neuer Block für den Warenkorb */
.cart-widget {
  position: absolute;          /* unabhängig vom Flex-Layout der nav-container */
  top: 50%;                    /* vertikal zentrieren */
  right: 20px;                 /* Abstand vom rechten Rand */
  transform: translateY(-50%); /* vertikal perfekt zentrieren */
  z-index: 1100;               /* sicherstellen, dass es über anderen Elementen liegt */
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo img {
  height: 80px;
}
.nav-links a {
  color: white;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s;
}

.nav-links a:hover {
  background-color: black;  /* Hintergrund wird schwarz */
  color: white;             /* Textfarbe bleibt weiß oder kannst du anpassen */
}


.main-nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.main-nav ul li a {
  text-decoration: none;
  font-weight: bold;
  color: #104E8B;
  font-size: 1.1rem;
  transition: color 0.3s;
}

.main-nav ul li a:hover {
  color: #08376a;
}

.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: #104E8B;
}

/* Responsive Menü */
@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    background-color: white;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }
  .main-nav.open {
    display: block;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }
  .hamburger {
    display: block;
  }
}

.angebot-section {
  width: 100%;
}

.angebot-container {
  width: 100%;
  height: 400px;
  display: flex;
  margin-bottom: 0;  /* keinen Abstand nach unten lassen */
}

.angebot-image {
  flex: 1;
  background-image: url('serviette_individuell.jpg'); /* Pfad zu deinem Bild */
  background-size: cover;
  background-position: center;
}

.angebot-text {
  flex: 1;
  background-color: #ffffff; /* von grau (#f8f8f8) auf weiß (#ffffff) */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}


.angebot-text h2 {
  font-size: 2.5rem;
  color: #104E8B;
  line-height: 1.2;
  margin: 0;
}
.angebot-text .btn-primary {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 28px;
  color: #fff;
  background-color: #104E8B;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s;
}


.angebot-text .btn-primary:hover {
  background-color: #000;
}


@media (max-width: 768px) {
  .angebot-container {
    flex-direction: column;
    height: auto;
  }
  
  .angebot-image,
  .angebot-text {
    flex: unset;
    width: 100%;
    height: 300px;
  }
}
.angebot-video-section {
  width: 100%;
  margin-top: 0;               /* kein Abstand nach oben */
  background-color: transparent; /* keine weiße Fläche mehr */
}


.angebot-video-container {
  display: flex;
  width: 100%;
  height: 400px; /* gewünschte Höhe */
}

.angebot-video-text {
  flex: 1;
  background-color: transparent; /* keine weiße Fläche mehr */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}


.angebot-video-text h2 {
  font-size: 2.5rem;
  color: #104E8B;
  line-height: 1.2;
  margin: 0;
}

.angebot-video-text p {
  max-width: 600px;
  margin: 20px auto;
  font-size: 1.1rem;
  line-height: 1.6;
}

.angebot-video-text .btn-primary {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 28px;
  color: #fff;
  background-color: #104E8B;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.angebot-video-text .btn-primary:hover {
  background-color: #000;
}

.angebot-video-wrapper {
  flex: 1;
  overflow: hidden;
}

.angebot-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mobilansicht: untereinander */
@media (max-width: 768px) {
  .angebot-video-container {
    flex-direction: column;
    height: auto;
  }

  .angebot-video-text,
  .angebot-video-wrapper {
    width: 100%;
    height: 300px;
  }
}


/* Sektionen */


section h2 {
  font-size: 2.5rem;
  color: #104E8B;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  section h2 {
    margin-top: 20px; /* vorher z. B. 60px */
  }
}
.grey-section {
  background-color: #f8f8f8;
}

.white-section {
  background-color: #ffffff;
}



section p {
  max-width: 800px;
  margin: 0 auto 20px auto;
  font-size: 1.1rem;
  line-height: 1.7;
}

section ul {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  list-style: none;
  padding-left: 0;
  font-size: 1.1rem;
  line-height: 1.7;
}

section ul li::before {
  content: "✔ ";
  color: #104E8B;
  font-weight: bold;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  padding: 14px 28px;
  color: #fff;
  background-color: #104E8B;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  font-size: 1.6rem;   /* gleiche Größe wie beim Designer-Button */
  border: none;        /* entfernt evtl. alte Border */
  box-shadow: none;    /* entfernt evtl. alte Schatten */
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background-color: #000;
}


.btn-primary:hover {
  background-color: #08376a;
}

/* Hero Section */
.hero {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(16, 78, 139, 0.45); /* deine gewünschte Overlay-Transparenz */
  z-index: 1; /* Overlay über Bild, unter Text */
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  width: 100%;                /* volle Breite innerhalb des hero-Bereichs */
  display: flex;              /* flexbox aktivieren */
  flex-direction: column;     /* Elemente untereinander anordnen */
  align-items: center;        /* horizontal zentrieren */
  justify-content: center;    /* vertikal zentrieren */
  text-align: center;         /* Text mittig ausrichten */
  padding: 0 20px;            /* Abstand an den Seiten, damit Text auf kleinen Bildschirmen nicht klebt */
  color: #fff;                /* weiße Schrift */
}

@media (max-width: 768px) {
  section h2 {
    line-height: 1.2;      /* engerer Zeilenabstand bei mehrzeiligen H2 */
    margin-bottom: 20px;   /* optional: etwas Abstand nach unten */
  }
}





.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #fff;
}
.hero-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0; /* Bild unter Overlay */
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #fff;
}
/* Section-Content mit Bild + Text */
.section-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  justify-content: center;
  text-align: left;
  max-width: 1200px;
  margin: 0 auto;
}

.section-content img {
  max-width: 45%;
  border-radius: 8px;
}

.section-content .text {
  flex: 1;
  min-width: 280px;
}

/* Farben-Sektion mit Serviette */
.farben-serviette-section {

  padding-top: 40px;
  padding-bottom: 60px; /* unten darf es gerne etwas luftiger bleiben */
}


.farben-serviette-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  text-align: center;
  flex-direction: row-reverse; /* neu: Text rechts, Bild links */
}
@media (max-width: 768px) {
  .farben-serviette-container {
    flex-direction: column; /* mobil: normale Reihenfolge untereinander */
  }
	}


.farben-palette {
  flex: 1;
  min-width: 280px;
}

.farben-palette h2 {
  font-size: 2.5rem;
  color: #104E8B;
  margin-bottom: 20px;
}

.farben-palette p {
  max-width: 600px;
  margin: 0 auto 20px auto;
  font-size: 1.1rem;
}

.farben-boxen {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 420px; /* 4 Boxen á 100px inkl. Gaps -> zentriert */
  margin: 0 auto; /* zentriert die Boxen */
}

.farben-boxen div {
  width: 80px;
  height: 60px;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}


/* Animierte Serviette */
.serviette-animiert {
  flex: 1;
  min-width: 280px;
  max-width: 400px;
  position: relative;
}

.serviette-bild {
  width: 100%;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.logo-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 5px solid black; /* initiale Farbe, wird per JS überschrieben */
  padding: 20px 40px;
  border-radius: 10px;
  transition: border-color 1s ease;
}

.logo-text {
  font-size: 3.5rem;
  font-weight: bold;
  color: black; /* initiale Farbe, wird per JS überschrieben */
  transition: color 1s ease;
  text-align: center;
}


/* Galerie */
.gallery-images {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

.gallery-images img {
  width: 300px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Referenzen */
.logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.logo-grid img {
  height: 60px;
  object-fit: contain;
}

/* Kontaktformular */
.contact-form {
  max-width: 800px;          /* etwas breiter für Luft */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form .form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.contact-form .form-row input {
  flex: 1 1 48%;            /* zwei Felder nebeneinander */
  min-width: 200px;
}

.contact-form .form-row:only-child input {
  flex: 1 1 100%;           /* Einzelzeilen füllen komplett */
}

.contact-form input {
  width: 100%;
  padding: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}
.impressum-headline {
  font-size: 2.5rem;
  color: #104E8B;
  font-weight: bold;
  margin-bottom: 40px;
  text-align: center;
}
.impressum-content {
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.7;
}
.impressum-content p {
  margin-bottom: 20px;
}
.impressum-content a {
  color: #104E8B;
  text-decoration: underline;
}
.impressum-content a:hover {
  text-decoration: none;
}
.impressum-section {
  flex: 1; /* lässt den Impressums-Bereich den freien Platz einnehmen */
  padding-top: 120px; /* Abstand zum fixen Header */
  padding-bottom: 40px; /* etwas Platz vorm Footer */
}

.footer {
  background-color: #104E8B;
  color: #fff;
  text-align: center;
  padding: 1px 0;  /* kleiner Padding */
  font-size: 0.9rem;  /* kleiner Text */
}

.footer .container {
  max-width: 1200px;      /* oder deine bevorzugte Max-Breite */
  margin: 0 auto;         /* horizontal zentrieren */
  display: flex;          /* flex für zentrales Layout */
  flex-direction: column; /* untereinander */
  align-items: center;    /* horizontal mittig */
}


.footer p,
.footer nav {
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  margin: 0 8px;  /* etwas Platz, aber weniger als vorher */
}

.footer-links a:hover {
  text-decoration: underline;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5px 0;       /* nur kleines Padding */
}


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

  .section-content {
    flex-direction: column;
    text-align: center;
  }

  .section-content img {
    max-width: 90%;
  }

  .gallery-images img {
    width: 90%;
  }

  .farben-serviette-container {
    flex-direction: column;
  }
}