
:root {
  --primary-color: #ff9f1c;
  --secondary-color: #2ec4b6;
  --accent-color: #e71d36;
  --text-color: #011627;
  --light-color: #fdfffc;
  --background-color: #f8f9fa;
  --input-background: #ffffff;
  --input-border: #e0e0e0;
  --input-focus: #ff9f1c;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --gradient-primary: linear-gradient(135deg, #ff9f1c, #f9c784);
  --gradient-secondary: linear-gradient(135deg, #2ec4b6, #cbf3f0);
  /* Schriftarten-Variablen bleiben gleich */
  --font-heading: "Playfair Display", serif;
  --font-body: "Montserrat", sans-serif;
}

/* --- Lokale Einbindung der TTF-Fonts --- */

/* Montserrat - Normal (400) */
@font-face {
  font-family: 'Montserrat';
  src: url('Fonts/Montserrat-VariableFont_wght.ttf') format('truetype-variations');
  font-weight: 400;
  font-style: normal;
}

/* Montserrat - Bold (700) */
@font-face {
  font-family: 'Montserrat';
  src: url('Fonts/Montserrat-VariableFont_wght.ttf') format('truetype-variations');
  font-weight: 700;
  font-style: normal;
}

/* Playfair Display - Normal (400) */
@font-face {
  font-family: 'Playfair Display';
  src: url('Fonts/Playfair-VariableFont_opsz,wdth,wght.ttf') format('truetype-variations');
  font-weight: 400;
  font-style: normal;
}

/* Playfair Display - Bold (700) */
@font-face {
  font-family: 'Playfair Display';
  src: url('Fonts/Playfair-VariableFont_opsz,wdth,wght.ttf') format('truetype-variations');
  font-weight: 700;
  font-style: normal;
}

/* Reset und Grundstile */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  display: flex;
  flex-direction: column;
  scroll-behavior: smooth;
}

main {
  flex: 1;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--text-color);
  font-size: 18px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
}

img {
  max-width: 100%;
  height: auto;
  background: transparent;
}

/* Grid-System */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Header Styles */
.header {
  background: var(--gradient-primary);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background 0.3s ease;
}

.header.scrolled {
  background: var(--gradient-primary);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  position: relative;
}

/* Logo styling */
.logo {
  display: flex;
  align-items: center;
  background: none !important;
  background-color: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

.logo img {
  height: 80px;
  width: auto;
  background: none !important;
  background-color: transparent !important;
  filter: none !important;
  transition: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

.header.scrolled .logo,
.header.scrolled .logo img {
  background: none !important;
  background-color: transparent !important;
  filter: none !important;
  opacity: 1 !important;
}

/* Navigation Links */
.nav-links {
  display: flex;
  gap: 2rem;
  font-size: 20px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 600;
  transition: color 0.3s ease;
  position: relative;
  padding: 5px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: white;
  opacity: 0.8;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: white;
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
  position: relative;
}

.hamburger {
  width: 30px;
  height: 24px;
  position: relative;
  transform: rotate(0deg);
  transition: 0.5s ease-in-out;
}

.hamburger span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: white;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}

.hamburger span:nth-child(1) {
  top: 0px;
}

.hamburger span:nth-child(2) {
  top: 10px;
}

.hamburger span:nth-child(3) {
  top: 20px;
}

.mobile-menu-btn.active .hamburger span:nth-child(1) {
  top: 10px;
  transform: rotate(135deg);
}

.mobile-menu-btn.active .hamburger span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.mobile-menu-btn.active .hamburger span:nth-child(3) {
  top: 10px;
  transform: rotate(-135deg);
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.mobile-menu-overlay.active {
  display: block;
}

/* Hero Section - FIXED: Mobile background images */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("https://hebbkx1anhila5yf.public.blob.vercel-storage.com/Fertige_lavash.jpg-dtrhAa2chFCpcEkk0ZzfGBeWU86aQY.jpeg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 80vh;
  display: flex;
  align-items: center;
  color: white;
  text-align: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.video-hero {
  position: relative;
  height: 90vh;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
  z-index: -2;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Page Header - FIXED: Mobile background images */
.page-header {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("https://hebbkx1anhila5yf.public.blob.vercel-storage.com/Fertige%20d%C3%BCr%C3%BCm.jpg-MaErlU5BHKVfPxKAjePWeYYdvfMIyV.jpeg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 40vh;
  display: flex;
  align-items: center;
  color: white;
  text-align: center;
  position: relative;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-header p {
  font-size: 1.5rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--gradient-primary);
  color: black;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(255, 159, 28, 0.3);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  z-index: -1;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 159, 28, 0.4);
}

.btn:hover::after {
  height: 100%;
}

.btn-secondary {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.btn-secondary:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

/* Section Styles */
.section {
  padding: 5rem 0;
  text-align: center;
}

.text-justify {
  text-align: justify;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  display: inline-block;
  font-weight: 700;
  color: var(--text-color);
}

.section-title::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

/* Card Styles */
.card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

/* Process Showcase */
.process-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.process-step {
  text-align: center;
  transition: transform 0.5s ease;
  transform-style: preserve-3d;
}

.process-step:hover {
  transform: translateZ(20px);
}

.process-image {
  width: 200px;
  height: 200px;
  margin: 0 auto 1.5rem;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  perspective: 1000px;
}

.process-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  transform-style: preserve-3d;
}

.process-step:hover .process-image img {
  transform: scale(1.1) rotateY(10deg);
}

.process-step h3 {
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
}

.process-step p {
  font-size: 1.1rem;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.product-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, opacity 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
  height: 250px;
  overflow: hidden;
  perspective: 1000px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  transform-style: preserve-3d;
}

#zoom-image-3 {
  object-position: top;
}

.product-card:hover .product-image img {
  transform: rotateY(10deg) scale(1.05);
}

.product-info {
  padding: 1.5rem;
  text-align: left;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-info h3 {
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
}

.product-info p {
  margin-bottom: 1rem;
  color: #666;
  font-size: 1.1rem;
  flex: 1;
}

.product-info .btn-secondary {
  align-self: flex-start;
  margin-top: auto;
}

/* Testimonial Section - FIXED: Prevent jumping */
.testimonial-section {
  background-color: var(--background-color);
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  /* FIXED: Set minimum height to prevent jumping */
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonial {
  display: none;
  animation: fadeEffect 1s;
  /* FIXED: Ensure consistent positioning */
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
}

.testimonial.active {
  display: block;
  position: relative;
}

@keyframes fadeEffect {
  from {
    opacity: 0.7;
  }
  to {
    opacity: 1;
  }
}

.testimonial-content {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  margin-bottom: 2rem;
  /* FIXED: Set minimum height for consistent layout */
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonial-content::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid white;
}

.testimonial-content p {
  font-style: italic;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  flex: 1;
  display: flex;
  align-items: center;
  text-align: center;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1.1rem;
  text-align: center;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  /* FIXED: Position controls at bottom of slider */
  position: relative;
  z-index: 10;
}

.prev-testimonial,
.next-testimonial {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
  transition: color 0.3s ease;
}

.prev-testimonial:hover,
.next-testimonial:hover {
  color: var(--secondary-color);
}

.testimonial-dots {
  display: flex;
  gap: 0.5rem;
  margin: 0 1rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ccc;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: var(--primary-color);
}

/* About Image */
.about-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

/* CTA Section - FIXED: Mobile background images */
.cta-section {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("https://hebbkx1anhila5yf.public.blob.vercel-storage.com/Dampfede%20D%C3%BCr%C3%BCm.jpg-NFE6CVnkvScQ5pAOsnfOlPpPVf5XY4.jpeg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  text-align: center;
  padding: 5rem 0;
  position: relative;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.cta-content p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Footer Styles */
.footer {
  background: #333;
  color: white;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-grid > div:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo {
  height: auto;
  width: 200px;
  margin: 0 auto;
  display: block;
}

.footer a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.footer a:hover {
  color: var(--primary-color);
}

.footer h3 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer h3::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
  bottom: 0;
  left: 0;
}

.footer p {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  font-size: 1.1rem;
}

.footer i {
  margin-right: 0.5rem;
  color: var(--primary-color);
  min-width: 16px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.1rem;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-bottom p {
  margin: 0;
}

.footer .social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  justify-content: flex-start;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.social-link i {
  font-size: 1.2rem;
  color: white;
  margin: 0.5em;
      padding-top: 0.0365em;
      padding-right: 0.025em;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Utility Classes */
.bg-light {
  background-color: var(--background-color);
}

.text-center {
  text-align: center;
}

.rounded-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Process Timeline */
.process-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.process-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 2px;
  background-color: var(--primary-color);
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 3rem;
  text-align: left;
}

.timeline-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
  z-index: 1;
}

.timeline-content {
  background-color: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
  font-size: 1.8rem;
}

.timeline-content p {
  font-size: 1.1rem;
}

.timeline-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 5px;
  margin-top: 1rem;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.value-card h3 {
  font-size: 1.8rem;
}

.value-card p {
  font-size: 1.1rem;
}

.value-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

/* Contact Section */
.contact-section {
  padding: 5rem 0;
  background-color: var(--background-color);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-info {
  padding: 3rem;
  background-color: var(--primary-color);
  color: var(--text-color);
  text-align: center;
}

.contact-info h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  color: var(--text-color);
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
  gap: 1rem;
}

.info-item i {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
  color: var(--text-color);
}

.info-item div {
  flex: 1;
  min-width: 0;
}

.info-item h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.info-item p {
  margin: 0;
  line-height: 1.5;
  font-size: 1.1rem;
  word-wrap: break-word;
}

.info-item a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 1.1rem;
}

.info-item a:hover {
  text-decoration: underline;
}

.contact-form {
  padding: 3rem;
}

.contact-form h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  color: var(--text-color);
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-color);
  font-size: 1.1rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--input-border);
  border-radius: 8px;
  background-color: var(--input-background);
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--input-focus);
  box-shadow: 0 0 0 3px rgba(255, 159, 28, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaa;
}

.form-status {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 4px;
  font-size: 1.1rem;
}

.form-status.info {
  background-color: #e3f2fd;
  color: #1976d2;
}

.form-status.success {
  background-color: #e8f5e9;
  color: #2e7d32;
}

.form-status.error {
  background-color: #ffebee;
  color: #c62828;
}

/* Map Section */
.map-section {
  padding: 5rem 0;
}

.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
}

.map-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
}

.map-card {
  padding: 1.5rem;
  border-radius: 10px;
  max-width: 300px;
}

.map-card h3 {
  margin-bottom: 1rem;
}

.map-card p {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.map-card i {
  margin-right: 0.5rem;
  color: var(--primary-color);
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: rgba(255, 159, 28, 0.1);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.5rem;
}

.faq-toggle {
  font-size: 1.2rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 1.1rem;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 500px;
}

/* Statistiken */
.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.stat-item {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-10px);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.2rem;
  color: var(--text-color);
}

/* Zoom-Funktion für Produktbilder */
.zoom-image {
  width: 100%;
  display: block;
  cursor: crosshair;
}

.zoom-lens {
  position: absolute;
  border: 1px solid var(--primary-color);
  width: 80px;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: crosshair;
  display: none;
}

.zoom-result {
  position: absolute;
  top: 0;
  right: -300px;
  width: 300px;
  height: 300px;
  border: 1px solid #d4d4d4;
  background-repeat: no-repeat;
  display: none;
  z-index: 100;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-zoom-container:hover .zoom-lens,
.product-zoom-container:hover .zoom-result {
  display: block;
}

/* Impressum Container */
.impressum-container {
  max-width: 800px;
  margin: 0 auto;
}

.impressum-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  text-align: left;
  margin-top: 1.5rem;
}

.impressum-section h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  position: relative;
}

.impressum-section h3::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
  bottom: -5px;
  left: 0;
}

/* Privacy Container */
.privacy-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.privacy-container h2 {
  font-size: 2.2rem;
}

.privacy-container h3 {
  font-size: 1.8rem;
}

.privacy-container p {
  font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 3.5rem;
  }

  .page-header h1 {
    font-size: 3rem;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-info,
  .contact-form {
    padding: 2rem;
  }

  .process-timeline::before {
    left: 15px;
  }

  .timeline-item {
    padding-left: 50px;
  }

  .timeline-number {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }

  .zoom-result {
    display: none !important;
  }

  /* FIXED: Mobile testimonial adjustments */
  .testimonial-slider {
    min-height: 320px;
  }

  .testimonial-content {
    min-height: 180px;
  }
}

/* MOBILE FIXES - Background images and centering */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .mobile-menu-btn {
    display: block;
  }

  .logo img {
    height: 50px !important;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-color), #f9c784);
    flex-direction: column;
    padding: 80px 2rem 2rem;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.3s ease;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 2rem;
  }

  .nav-links.active {
    display: flex;
    right: 0;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 1rem 0;
    font-size: 1.2rem;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
  }

  .nav-links a:hover {
    padding-left: 1rem;
    background: rgba(255, 255, 255, 0.1);
  }

  /* FIXED: Mobile background images - remove fixed attachment */
  .hero {
    background-attachment: scroll !important;
    min-height: 80vh;
  }

  .page-header {
    background-attachment: scroll !important;
    min-height: 40vh;
  }

  .cta-section {
    background-attachment: scroll !important;
    min-height: 50vh;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero p {
    font-size: 1.5rem;
  }

  .section {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 2.5rem;
    text-align: center !important;
  }

  /* FIXED: Map section title centering */
  .map-section .section-title {
    text-align: center !important;
    width: 100% !important;
    display: block !important;
    margin: 0 auto 2rem auto !important;
  }

  .process-image {
    width: 150px;
    height: 150px;
  }

  .map-overlay {
    position: relative;
    top: auto;
    right: auto;
    margin-top: 1rem;
  }

  .map-card {
    max-width: 100%;
  }

  .info-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 0.5rem;
  }

  .info-item i {
    margin-top: 0;
    margin-bottom: 0.5rem;
  }

  .form-group textarea {
    width: 100% !important;
    min-height: 120px;
    max-width: 100%;
    box-sizing: border-box;
    resize: vertical;
    padding: 0.75rem;
    border: 1px solid var(--input-border);
    border-radius: 8px;
    font-size: 16px !important;
    line-height: 1.4;
    overflow-wrap: break-word;
    word-wrap: break-word;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }

  .form-group input {
    font-size: 16px !important;
    width: 100%;
    box-sizing: border-box;
  }

  .contact-info {
    text-align: center !important;
    padding: 2rem 1rem;
  }

  .contact-info h2 {
    text-align: center !important;
    margin-bottom: 2rem;
    font-size: 2rem !important;
  }

  .info-item {
    text-align: center !important;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-direction: column;
  }

  .info-item i {
    margin-bottom: 0.5rem;
    margin-top: 0;
  }

  .section-title {
    font-size: 2rem !important;
    text-align: center !important;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
    line-height: 1.2;
  }

  .process-timeline {
    text-align: center !important;
    padding: 0 1rem;
  }

  .timeline-item {
    text-align: center !important;
    padding-left: 0 !important;
    margin-bottom: 2rem;
  }

  .timeline-content {
    text-align: center !important;
    margin: 0 auto;
    max-width: 100%;
  }

  .timeline-content h3 {
    font-size: 1.5rem !important;
    text-align: center !important;
    margin-bottom: 1rem;
  }

  .timeline-content p {
    text-align: center !important;
    font-size: 1rem;
    line-height: 1.5;
  }

  .contact-form {
    padding: 1.5rem 1rem;
  }

  .contact-container {
    overflow-x: hidden;
  }

  /* FIXED: Mobile testimonial adjustments */
  .testimonial-slider {
    min-height: 350px;
  }

  .testimonial-content {
    min-height: 200px;
    padding: 1.5rem;
  }

  .testimonial-content p {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .page-header h1 {
    font-size: 2.2rem;
  }

  .btn {
    padding: 0.8rem 1.5rem;
  }

  .process-timeline::before {
    display: none !important;
  }

  .timeline-item {
    padding-left: 0;
    text-align: center;
  }

  .timeline-number {
    position: relative !important;
    margin: 0 auto 1rem;
    display: block;
  }

  .contact-info,
  .contact-form {
    padding: 1.5rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .stat-label {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.8rem !important;
    padding: 0 0.5rem;
  }

  .contact-info h2 {
    font-size: 1.8rem !important;
  }

  .container {
    padding: 0 10px;
  }

  .form-group {
    margin-bottom: 1rem;
  }

  .timeline-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 1rem;
  }

  .contact-hero h1,
  .page-header h1 {
    font-size: 2.2rem !important;
    text-align: center;
    padding: 0 1rem;
  }

  .contact-hero p,
  .page-header p {
    font-size: 1.1rem !important;
    text-align: center;
    padding: 0 1rem;
  }

  .logo img {
    height: 40px !important;
  }

  .nav-links {
    width: 100%;
    right: -100%;
  }

  .nav-links.active {
    right: 0;
  }

  /* FIXED: Map section title for very small screens */
  .map-section .section-title {
    font-size: 1.8rem !important;
    text-align: center !important;
    width: 100% !important;
    display: block !important;
    margin: 0 auto 1.5rem auto !important;
  }

  /* FIXED: Small mobile testimonial adjustments */
  .testimonial-slider {
    min-height: 380px;
  }

  .testimonial-content {
    min-height: 220px;
    padding: 1.2rem;
  }

  .testimonial-content p {
    font-size: 1rem;
  }

  .testimonial-author {
    font-size: 1rem;
  }
}

/* ADDITIONAL MOBILE FIXES for iOS Safari and other mobile browsers */
@media screen and (max-width: 768px) {
  /* Force background images to show on mobile */
  .hero,
  .page-header,
  .cta-section {
    background-attachment: scroll !important;
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
  }

  /* Ensure minimum height for mobile */
  .hero {
    min-height: 70vh !important;
  }

  .page-header {
    min-height: 35vh !important;
  }

  .cta-section {
    min-height: 40vh !important;
  }
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
  .hero,
  .page-header,
  .cta-section {
    background-attachment: scroll !important;
  }
}

/* Pop-up für Betriebsurlaub (angepasst an Website-Stil) */
.popup-ferien {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(34,34,34,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    font-family: 'Montserrat', Arial, sans-serif;
}
.popup-ferien-content {
    background: #fff;
    padding: 2.2rem 2.7rem 2rem 2.7rem;
    border-radius: 18px;
    box-shadow: 0 6px 32px rgba(34,34,34,0.18);
    text-align: center;
    max-width: 92vw;
    min-width: 280px;
    position: relative;
    border: 2px solid #b48a4a;
}
.popup-ferien-close {
    position: absolute;
    top: 14px;
    right: 22px;
    font-size: 2rem;
    color: #b48a4a;
    cursor: pointer;
    font-weight: bold;
    transition: color 0.2s;
}
.popup-ferien-close:hover {
    color: #222;
}
.popup-ferien-icon {
    font-size: 2.7rem;
    color: #b48a4a;
    margin-bottom: 0.5rem;
}
.popup-ferien-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #222;
    margin-bottom: 0.7rem;
    margin-top: 0.2rem;
}
.popup-ferien-content p {
    color: #444;
    font-size: 1.1rem;
    margin-bottom: 1.3rem;
}
.popup-ferien-btn {
    background: #b48a4a;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.7rem 2.2rem;
    font-size: 1.1rem;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 2px 8px rgba(180,138,74,0.08);
}
.popup-ferien-btn:hover {
    background: #222;
    color: #fff;
}
@media (max-width: 600px) {
    .popup-ferien-content {
        padding: 1.2rem 0.7rem 1rem 0.7rem;
    }
    .popup-ferien-content h2 {
        font-size: 1.3rem;
    }
    .popup-ferien-icon {
        font-size: 2rem;
    }
}
