/* =============================================
   Donderer GmbH - Website Stylesheet
   Font: Overpass (Google Fonts)
   Primary: #d51130 | Text: #555 | Dark: #000
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Overpass:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

/* -- Reset & Base ----------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Overpass', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  color: #444444;
  background: #ffffff url('../images/donderer_abstract-bg.jpg') no-repeat center top fixed;
  background-size: cover;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

a:hover {
  color: #d51130;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

/* -- Typography ------------------------------- */
h1 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  color: #000000;
}

h2 {
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
  color: #000000;
}

h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: #000000;
}

h4 {
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  color: #000000;
}

p {
  margin-bottom: 15px;
  font-size: 14px;
  line-height: 1.7;
}

.text-lg {
  font-size: 18px;
  line-height: 1.4;
}

.text-xl {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.4;
}

.text-sm {
  font-size: 12px;
}

.text-center {
  text-align: center;
}

.text-white {
  color: #ffffff;
}

.text-red {
  color: #d51130;
}

.font-bold {
  font-weight: 700;
}

.font-extrabold {
  font-weight: 800;
}

.uppercase {
  text-transform: uppercase;
}

/* -- Section Decorator (red swoosh image) ----- */
.section-decorator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px 0 30px;
}

.section-decorator img {
  width: 80px;
  height: auto;
}

/* -- Header / Navigation ---------------------- */
#main-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #ffffff;
  transition: box-shadow 0.3s ease, padding 0.3s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

#main-header.scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 30px;
}

.logo img {
  height: 50px;
  width: auto;
}

#top-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

#top-menu li {
  position: relative;
}

#top-menu li a {
  display: block;
  padding: 10px 16px;
  font-size: 16px;
  font-weight: 600;
  color: #444444;
  transition: color 0.3s ease;
}

#top-menu li a:hover {
  color: #d51130;
}

/* Dropdown chevron indicator */
#top-menu li.has-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 6px;
  vertical-align: middle;
  position: relative;
  top: -2px;
  transition: border-color 0.3s ease;
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #ffffff;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  border-top: 3px solid #d51130;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.3s ease;
  z-index: 100;
}

#top-menu li.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid #f5f5f5;
  white-space: nowrap;
}

.dropdown-menu li:last-child a {
  border-bottom: none;
}

.dropdown-menu li a:hover {
  background: #f5f5f5;
  color: #d51130;
}

/* CTA Button in Nav */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: 2px solid #d51130;
  color: #d51130;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: #d51130;
  color: #ffffff;
}

.nav-cta svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: #555555;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: #ffffff;
  z-index: 999;
  transition: right 0.4s ease;
  padding: 80px 30px 30px;
  overflow-y: auto;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav ul {
  margin-top: 20px;
}

.mobile-nav ul li {
  border-bottom: 1px solid #e5e5e5;
}

.mobile-nav ul li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  font-size: 16px;
  font-weight: 600;
  color: #333333;
}

.mobile-nav .dropdown-toggle .toggle-icon {
  font-size: 20px;
  font-weight: 700;
  color: #d51130;
  transition: transform 0.3s ease;
}

.mobile-nav .mobile-dropdown {
  display: none;
  padding-left: 20px;
}

.mobile-nav .mobile-dropdown.open {
  display: block;
}

.mobile-nav .mobile-dropdown li {
  border-bottom: none;
}

.mobile-nav .mobile-dropdown li a {
  font-size: 14px;
  font-weight: 500;
  padding: 12px 0;
  color: #444444;
}

.mobile-nav .nav-cta {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  width: 100%;
}

/* -- Hero Section ----------------------------- */
.hero {
  position: relative;
  padding: 80px 0 80px;
  background-color: #2c3d49;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(44, 61, 73, 0.65);
  z-index: 1;
}

.hero > .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 20px;
  color: #ffffff;
}

.hero p {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

/* -- Hero Grid Layout ------------------------- */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-text {
  position: relative;
  z-index: 2;
}

.hero-line1 {
  font-size: 22px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-line2 {
  font-size: 52px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0;
}

.hero-line3 {
  font-size: 52px;
  font-weight: 800;
  color: #d51130;
  line-height: 1;
  margin-bottom: 15px;
  font-style: italic;
}

.hero-subtitle {
  font-size: 18px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 10px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  z-index: 2;
}

.hero-image img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* -- Buttons ---------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  min-height: 48px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background: #d51130;
  color: #ffffff;
  border-color: #d51130;
}

.btn-primary:hover {
  background: #a72828;
  border-color: #a72828;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #d51130;
  border-color: #d51130;
}

.btn-outline:hover {
  background: #d51130;
  color: #ffffff;
}

.btn-white {
  background: #ffffff;
  color: #d51130;
  border-color: #ffffff;
}

.btn-white:hover {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 13px;
}

.btn-arrow::after {
  content: '\2192';
  font-size: 18px;
  transition: transform 0.3s ease;
}

.btn-arrow:hover::after {
  transform: translateX(5px);
}

/* -- Sections --------------------------------- */
section {
  padding: 80px 0;
}

.section-dark {
  background: #1a1a1a;
  color: #ffffff;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #ffffff;
}

.section-dark p {
  color: rgba(255, 255, 255, 0.8);
}

.section-gray {
  background: #f5f5f5;
}

.section-with-bg {
  position: relative;
  background-size: cover;
  background-position: center;
}

.section-with-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.section-with-bg > .container {
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  margin-bottom: 10px;
}

.section-header p {
  font-size: 18px;
  font-weight: 300;
  max-width: 700px;
  margin: 0 auto;
}

/* Corner decorations (SVG) */
.deco-top-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 400px;
  opacity: 0.06;
  pointer-events: none;
}

.deco-bottom-right {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 350px;
  opacity: 0.05;
  pointer-events: none;
}

/* -- Card Grid -------------------------------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.card {
  background: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.card-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.card-body {
  padding: 25px;
}

.card-body h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.card-body p {
  font-size: 14px;
  color: #444444;
}

/* -- Flip Cards ------------------------------- */
.flip-card {
  perspective: 1000px;
  height: 280px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  text-align: center;
  border-radius: 4px;
}

.flip-card-front {
  background: #ffffff;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.flip-card-front .flip-icon {
  font-size: 40px;
  color: #d51130;
  margin-bottom: 20px;
}

.flip-card-front .flip-icon img {
  width: 50px;
  height: auto;
}

.flip-card-front h3 {
  font-size: 20px;
  font-weight: 700;
}

.flip-card-back {
  background: #d51130;
  color: #ffffff;
  transform: rotateY(180deg);
}

.flip-card-back p {
  color: #ffffff;
  font-size: 13px;
}

.flip-card-back .btn {
  margin-top: 15px;
  font-size: 13px;
  padding: 8px 16px;
}

/* -- Blurb / Icon Box ------------------------- */
.blurb {
  text-align: center;
  padding: 30px 20px;
}

.blurb-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
}

.blurb-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.blurb h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.blurb p {
  font-size: 14px;
}

.step-number {
  font-size: 18px;
  font-weight: 800;
  color: #000;
  line-height: 1.3;
}

/* -- Testimonial Carousel --------------------- */
.testimonial-carousel {
  position: relative;
  overflow: hidden;
  padding: 10px 0 20px;
}

.testimonial-track {
  display: flex;
  transition: transform 0.4s ease;
}

.testimonial-track .testimonial {
  flex-shrink: 0;
  padding: 0 15px;
  text-align: left;
  box-sizing: border-box;
}

.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

.testimonial-prev,
.testimonial-next {
  background: none;
  border: 2px solid #d51130;
  color: #d51130;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.testimonial-prev:hover,
.testimonial-next:hover {
  background: #d51130;
  color: #fff;
}

.testimonial-dots {
  display: flex;
  gap: 8px;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
  padding: 0;
}

.testimonial-dot.active {
  background: #d51130;
}

/* -- Timeline --------------------------------- */
.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e5e5e5;
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-content {
  width: 45%;
  padding: 25px;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  border-radius: 4px;
}

.timeline-badge {
  width: 10%;
  text-align: center;
  position: relative;
  z-index: 2;
}

.timeline-badge span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: #d51130;
  color: #ffffff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

/* -- FAQ / Accordion -------------------------- */
.faq-item {
  border-bottom: 1px solid #e5e5e5;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  color: #000000;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #d51130;
}

.faq-question .faq-icon {
  font-size: 24px;
  transition: transform 0.3s ease;
  color: #d51130;
  flex-shrink: 0;
  margin-left: 15px;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 0 20px;
  font-size: 14px;
  line-height: 1.7;
}

/* -- Image + Text Layouts --------------------- */
.split-section {
  display: flex;
  align-items: center;
  gap: 60px;
}

.split-section.reverse {
  flex-direction: row-reverse;
}

.split-text {
  flex: 1;
}

.split-image {
  flex: 1;
}

.split-image img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* -- Process Steps (Order Flow) --------------- */
.process-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
}

.process-step {
  text-align: center;
  flex: 1;
  max-width: 250px;
}

.process-step-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 15px;
}

.process-step-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.process-step h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 13px;
}

/* -- Stats / Numbers -------------------------- */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 48px;
  font-weight: 800;
  color: #d51130;
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  font-weight: 600;
  color: #444444;
  margin-top: 8px;
}

/* -- Partner Logos ----------------------------- */
.partner-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.partner-logos img {
  height: 50px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.partner-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* -- Gallery Grid ----------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* -- Comparison Table ------------------------- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 12px 20px;
  text-align: left;
  border-bottom: 1px solid #e5e5e5;
  font-size: 14px;
}

.comparison-table th {
  font-weight: 700;
  color: #000000;
  background: #f5f5f5;
}

.comparison-table tr:hover td {
  background: #fafafa;
}

/* -- Contact Form ----------------------------- */
.contact-form {
  max-width: 700px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #000000;
  margin-bottom: 6px;
}

.form-group label .required {
  color: #d51130;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 3px;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.7);
  background: #ffffff;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: #d51130;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* -- Footer ----------------------------------- */
#main-footer {
  background: #1a1a1a;
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 30px;
  position: relative;
  overflow: hidden;
}

#main-footer .deco-bottom-right {
  opacity: 0.05;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4,
.footer-heading {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 16px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: #ffffff;
}

.footer-logo {
  height: 40px;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: #ffffff;
  border-color: #ffffff;
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  fill: rgba(255, 255, 255, 0.7);
  transition: fill 0.3s ease;
}

.footer-social a:hover svg {
  fill: #1a1a1a;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #ffffff;
}

.footer-links {
  display: flex;
  gap: 20px;
}

/* -- Side Contact Icons (floating) ------------ */
.side-contact {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.side-contact a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  background: #3e4653;
  color: #ffffff;
  transition: all 0.3s ease;
  border-radius: 8px 0 0 8px;
}

.side-contact a:hover {
  width: 66px;
  background: #2c3d49;
}

.side-contact a svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
}

/* -- Page Header (Subpages) ------------------- */
.page-header {
  padding: 130px 0 50px;
  text-align: center;
  position: relative;
  background-color: #eaeaea;
  background-image: url('../images/donderer_abstract-bg.jpg');
  background-size: cover;
  background-position: center top;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.3),
    rgba(245, 245, 245, 0.45)
  );
}

.page-header .container {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-header h1 {
  color: #000000;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 15px;
}

.page-header .page-header-subtitle {
  color: #444444;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.page-header p {
  color: #444444;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
}

/* Page header with hero grid (like 3D-Scannen) */
.page-header-hero {
  padding: 120px 0 60px;
  position: relative;
  background-color: #eaeaea;
  background-image: url('../images/donderer_abstract-bg.jpg');
  background-size: cover;
  background-position: center top;
}

.page-header-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.25),
    rgba(245, 245, 245, 0.4)
  );
}

.page-header-hero > .container {
  position: relative;
  z-index: 1;
}

.page-header-hero .hero-grid {
  align-items: center;
}

.page-header-hero h1 {
  color: #000000;
  font-size: 38px;
  font-weight: 800;
  font-style: italic;
  margin-bottom: 15px;
}

.page-header-hero p {
  color: #444444;
  font-size: 14px;
  line-height: 1.7;
}

/* Form page header (Kontakt, Bauteile bestellen) */
.page-header-form {
  padding: 100px 0 10px;
  text-align: center;
  background: #ffffff;
}

.page-header-form h1 {
  color: #000000;
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 5px;
}

.page-header-form p {
  color: #444444;
  font-size: 18px;
  font-weight: 500;
}

/* -- Breadcrumb ------------------------------- */
.breadcrumb {
  font-size: 13px;
  color: #666666;
  margin-bottom: 10px;
}

.breadcrumb a {
  color: #666666;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: #d51130;
}

.breadcrumb span {
  margin: 0 5px;
}

/* -- Hex Radar Chart (Druckverfahren) --------- */
.radar-chart {
  max-width: 300px;
  margin: 0 auto;
}

.radar-chart img {
  width: 100%;
}

/* -- Material Cards --------------------------- */
.material-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.material-card h4 {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.material-specs {
  font-size: 13px;
  line-height: 2;
}

.material-specs dt {
  font-weight: 700;
  color: #000000;
}

.material-specs dd {
  color: #444444;
  margin-bottom: 5px;
}

/* -- Before/After (3D Scan) ------------------- */
.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.before-after img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.before-after .label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
}

/* -- Chart / Graph ---------------------------- */
.chart-container {
  max-width: 600px;
  margin: 30px auto;
}

.chart-container img {
  width: 100%;
}

/* -- Animations ------------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* -- Responsive: Tablet (max 1200px) ---------- */
@media (max-width: 1200px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* -- Responsive: Tablet (max 980px) ----------- */
@media (max-width: 980px) {
  #top-menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }

  .nav-cta-desktop {
    display: none;
  }

  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 22px;
  }

  .split-section {
    flex-direction: column;
    gap: 30px;
  }

  .split-section.reverse {
    flex-direction: column;
  }

  section {
    padding: 50px 0;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .process-steps {
    flex-direction: column;
    align-items: center;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-row {
    gap: 30px;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: column;
    padding-left: 50px;
  }

  .timeline-content {
    width: 100%;
  }

  .timeline-badge {
    position: absolute;
    left: -30px;
  }

  .side-contact {
    display: none;
  }

  .hero {
    padding: 120px 0 70px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-line2,
  .hero-line3 {
    font-size: 38px;
  }

  .hero-image {
    max-width: 400px;
    margin: 0 auto;
  }
}

/* -- Responsive: Mobile (max 767px) ----------- */
@media (max-width: 767px) {
  .container {
    padding: 0 20px;
  }

  h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 20px;
  }

  .hero {
    padding: 110px 0 50px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero-line1 {
    font-size: 16px;
  }

  .hero-line2,
  .hero-line3 {
    font-size: 32px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    text-align: center;
    justify-content: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .flip-card {
    height: 250px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .page-header {
    padding: 100px 0 40px;
  }

  .page-header h1 {
    font-size: 28px;
  }

  .before-after {
    grid-template-columns: 1fr;
  }

  .partner-logos {
    gap: 25px;
  }

  .partner-logos img {
    height: 35px;
  }

  .btn {
    padding: 12px 22px;
    font-size: 13px;
  }

  .header-inner {
    padding: 10px 20px;
  }

  .logo img {
    height: 40px;
  }
}

/* -- Responsive: Small Mobile (max 375px) ----- */
@media (max-width: 375px) {
  .container {
    padding: 0 15px;
  }

  h1 {
    font-size: 24px;
  }

  .hero h1 {
    font-size: 24px;
  }

  .hero {
    padding: 100px 0 40px;
  }

  .btn {
    padding: 10px 18px;
    font-size: 12px;
    width: 100%;
    justify-content: center;
  }
}

/* ── Homepage-specific Styles ──────────────── */

/* ── Floating Box Pattern (Divi schwebende Kästen) ── */
.floating-box {
  background: #ffffff;
  border-radius: 0;
  box-shadow: 0 5px 25px rgba(0,0,0,0.12);
  padding: 50px 40px;
  position: relative;
  z-index: 5;
}

/* ── Top Header Bar ──────────────────────── */
.top-bar {
  background: #2c3d49;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  padding: 8px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}
.top-bar-left a {
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
}
.top-bar-left a:hover { color: #ffffff; }
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.top-bar-right a {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  min-width: 48px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.top-bar-right a:hover { color: #ffffff; }

/* ── Centered Header Layout (like Divi centered style) ── */
/* (header-centered overrides removed – using default left-logo / right-nav layout) */

/* ── Hero Animated Text ───────────────────── */
.hero-animated-word {
  color: #d51130;
  display: inline-block;
  animation: bounceInOut 4s ease-in-out infinite;
}
@keyframes bounceInOut {
  0%,100% { opacity: 0; transform: scale(0.3); }
  15%,85% { opacity: 1; transform: scale(1); }
}
.hero h2 {
  font-size: 20px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 10px;
  line-height: 1.3;
}
.hero-secure-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-top: 15px;
}
.hero-secure-note i { color: #d51130; }
.google-reviews {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}
.google-reviews img.google-logo {
  height: 24px;
  width: auto;
}
.google-reviews .rating-text {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
}
.google-reviews .rating-score {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}
.google-reviews img.stars {
  height: 18px;
  width: auto;
}
.google-reviews .review-count {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

/* ── Customer Logos Carousel ──────────────── */
.logos-section { padding: 60px 0; overflow: hidden; background: rgba(44,61,73,0.03); }
.logos-section h3 {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: #444;
  margin-bottom: 30px;
}
.logo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 40px;
  padding: 0 10px;
}
.logo-row:last-child { margin-bottom: 0; }
.logo-row img {
  height: 45px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}
.logo-row img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ── Three-Step Process ───────────────────── */
.process-section { padding: 80px 0; background: rgba(44,61,73,0.03); }
.process-section .blurb { max-width: 350px; margin: 0 auto; }
.process-section .blurb img {
  width: 160px;
  height: 160px;
  margin: 0 auto 20px;
  object-fit: contain;
}
.process-section .blurb h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

/* ── Specialty Section ────────────────────── */
.specialty-section { padding: 80px 0; }
.specialty-section .split-section { align-items: flex-start; }
.specialty-section h2 { line-height: 1.4; margin-bottom: 10px; }
.specialty-section .checkmark-list { margin-top: 20px; }
.checkmark-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  align-items: flex-start;
}
.checkmark-item .check-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: #d51130;
  font-size: 20px;
  margin-top: 2px;
}
.checkmark-item h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 5px;
  line-height: 1.4;
}
.checkmark-item p { font-size: 14px; margin-bottom: 0; }
.tilt-image img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  transition: transform 0.5s ease;
}
.tilt-image:hover img { transform: perspective(600px) rotateY(-5deg); }
.founder-quote {
  margin-top: 25px;
  padding: 20px;
  border-left: 3px solid #d51130;
  font-style: italic;
  font-size: 16px;
  color: #333;
  line-height: 1.5;
}
.founder-quote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  color: #444;
}

/* ── Product Carousel ─────────────────────── */
.product-carousel-section { padding: 60px 0; background: #f5f5f5; overflow: hidden; }
.product-carousel {
  position: relative;
  overflow: hidden;
}
.product-carousel-track {
  display: flex;
  gap: 15px;
  animation: scrollProducts 40s linear infinite;
}
.product-carousel-track img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}
@keyframes scrollProducts {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.product-carousel-track:hover { animation-play-state: paused; }
.product-carousel-prev,
.product-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #333;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 10;
  transition: all 0.3s ease;
}
.product-carousel-prev:hover,
.product-carousel-next:hover {
  background: #d51130;
  color: #fff;
}
.product-carousel-prev { left: 0; }
.product-carousel-next { right: 0; }

/* ── Flip Boxes Section ───────────────────── */
.flipbox-section { padding: 80px 0; background: rgba(44,61,73,0.03); }
.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.flip-card-top .flip-card-inner { transition: transform 0.6s ease; transform-style: preserve-3d; }
.flip-card-top:hover .flip-card-inner { transform: rotateX(180deg); }
.flip-card-top .flip-card-front,
.flip-card-top .flip-card-back { backface-visibility: hidden; }
.flip-card-top .flip-card-back { transform: rotateX(180deg); }

/* ── Partner Logos Section ────────────────── */
.partner-section { padding: 60px 0; background: #f5f5f5; }
.partner-section h3 {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: #444;
  margin-bottom: 30px;
}

/* ── CTA Section ─────────────────────────── */
.cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #2c3d49;
  background-size: cover;
  background-position: center;
  color: #ffffff;
  position: relative;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(44, 61, 73, 0.75);
  z-index: 1;
}
.cta-section > .container {
  position: relative;
  z-index: 2;
}
.cta-section h2 { color: #ffffff; font-size: 32px; font-weight: 800; margin-bottom: 15px; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 16px; max-width: 700px; margin: 0 auto 20px; }
.cta-section .btn { margin: 10px; }

/* ── Reviews Section ─────────────────────── */
.reviews-section { padding: 80px 0; background: rgba(44,61,73,0.03); }
.reviews-section .section-header { margin-bottom: 20px; }
.reviews-section .floating-box { overflow: hidden; }
.reviews-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}
.reviews-google img.google-logo { height: 28px; width: auto; }
.reviews-google .rating-text { font-size: 14px; color: #444; }
.reviews-google .rating-score { font-size: 20px; font-weight: 700; color: #000; }
.reviews-google img.stars { height: 20px; width: auto; }
.reviews-google .review-count { font-size: 14px; color: #666; }
/* Review card: horizontal layout like Divi original (avatar left, content right) */
.review-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #fff;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  text-align: left;
  height: 100%;
}
.review-card-avatar {
  flex-shrink: 0;
}
.review-card-avatar .avatar-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}
.review-card-body {
  flex: 1;
  min-width: 0;
}
.review-card-body .reviewer-name {
  font-weight: 700;
  font-size: 15px;
  color: #000;
  margin-bottom: 6px;
}
.review-stars-img {
  height: 16px;
  width: auto;
  margin-bottom: 10px;
}
.review-text {
  position: relative;
  max-height: 100px;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.review-text.expanded { max-height: 500px; }
.review-text p {
  font-size: 13px;
  line-height: 1.55;
  color: #444;
  margin-bottom: 0;
}
.review-more {
  display: inline-block;
  color: #d51130;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 4px;
  border: none;
  background: none;
  padding: 0;
}
.review-more:hover { text-decoration: underline; }
.review-card .google-icon {
  height: 18px;
  width: auto;
  margin-top: 10px;
}

/* ── Potential Section ────────────────────── */
.potential-section {
  padding: 80px 0;
  background-color: #2c3d49;
  background-size: cover;
  background-position: center;
  position: relative;
  color: #ffffff;
}
.potential-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(44, 61, 73, 0.80);
  z-index: 1;
}
.potential-section > .container {
  position: relative;
  z-index: 2;
}
.potential-section .text-center p { max-width: 800px; margin-left: auto; margin-right: auto; color: rgba(255,255,255,0.85); }
.potential-section .text-large { color: #ffffff !important; }
.potential-section .potential-blurb p { color: rgba(255,255,255,0.85); }
.potential-blurb {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin: 30px auto;
  max-width: 800px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 25px;
}
.potential-blurb img {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  object-fit: contain;
}
.potential-blurb p { font-size: 15px; line-height: 1.6; }
.potential-section .text-large {
  font-size: 28px;
  font-weight: 800;
  color: #000;
  margin: 20px auto;
}

/* ── 3D Data Upload Section ───────────────── */
.upload-section { padding: 80px 0; }
.upload-section .timeline-simple {
  position: relative;
  padding-left: 30px;
  margin: 30px 0;
}
.upload-section .timeline-simple::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #d51130;
}
.timeline-step {
  position: relative;
  margin-bottom: 25px;
  padding-left: 20px;
}
.timeline-step::before {
  content: '';
  position: absolute;
  left: -26px;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #d51130;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #d51130;
}
.timeline-step h4 {
  font-size: 16px;
  font-weight: 700;
  color: #000;
}

/* ── Fabian Profile Section ───────────────── */
.profile-section {
  padding: 80px 0;
  background: #f5f5f5;
  text-align: center;
}
.profile-section img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  margin: 0 auto 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.profile-section h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 5px;
}
.profile-section .position {
  font-size: 14px;
  color: #d51130;
  font-weight: 600;
  margin-bottom: 15px;
}
.profile-section blockquote {
  font-size: 18px;
  font-style: italic;
  color: #333;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ── Values Section (green/red lists) ─────── */
.values-section { padding: 80px 0; }
.values-list { list-style: none; }
.values-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 15px;
  line-height: 1.5;
}
.values-list li .icon-check { color: #27ae60; font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.values-list li .icon-x { color: #d51130; font-size: 18px; flex-shrink: 0; margin-top: 2px; }

/* ── Three Images Row ─────────────────────── */
.images-row-section { padding: 0; }
.images-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.images-row img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

/* ── FAQ Section ──────────────────────────── */
.faq-section { padding: 80px 0; background: #f5f5f5; }

/* ── Footer 5-column ─────────────────────── */
.footer-grid-5 {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr 1.3fr;
  gap: 30px;
  margin-bottom: 40px;
}

/* ── Responsive overrides ─────────────────── */
@media (max-width: 1200px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .top-bar { display: none; }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .images-row { grid-template-columns: 1fr; }
  .images-row img { height: 250px; }
  .logo-row { gap: 20px; }
  .logo-row img { height: 35px; }
}
@media (max-width: 767px) {
  .grid-5 { grid-template-columns: 1fr; }
  .footer-grid-5 { grid-template-columns: 1fr; }
  .product-carousel-track img { width: 180px; height: 180px; }
}
