/* ========================================
   DTW Dellentechnik Weiser - Stylesheet
   ======================================== */

/* ----- Variables ----- */
:root {
  --color-blue: #2959a5;
  --color-blue-dark: #1e4585;
  --color-grey: #5c667c;
  --color-grey-dark: #3d4556;
  --color-light: #f1f5f9;
  --color-white: #ffffff;
  --color-text: #475569;
  --color-text-light: #64748b;
  --font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 40px rgba(0,0,0,0.15);
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

ul, ol {
  list-style: none;
}

/* ----- Container ----- */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

/* ----- Typography ----- */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-grey);
  font-weight: 800;
  line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

@media (min-width: 768px) {
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.5rem; }
  h3 { font-size: 2rem; }
}

@media (min-width: 1024px) {
  h1 { font-size: 4.5rem; }
}

.section-label {
  color: var(--color-blue);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.btn-primary {
  background: var(--color-blue);
  color: var(--color-white);
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  background: var(--color-blue-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--color-blue);
  border: 2px solid var(--color-blue);
}

.btn-secondary:hover {
  background: var(--color-blue);
  color: var(--color-white);
}

.btn-white {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-white:hover {
  background: rgba(255,255,255,0.1);
}

/* ----- Topbar ----- */
.topbar {
  background: var(--color-blue);
  color: var(--color-white);
  padding: 0.5rem 0;
}

.topbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-contact {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 500;
  transition: opacity var(--transition);
}

.topbar-link:hover {
  opacity: 0.8;
}

.topbar-link svg {
  flex-shrink: 0;
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.topbar-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: opacity var(--transition);
}

.topbar-social-link:hover {
  opacity: 0.8;
}

/* Hide email on mobile */
@media (max-width: 640px) {
  .topbar-contact a:last-child {
    display: none;
  }
}

/* ----- Header ----- */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  background: var(--color-white);
  padding: 1.25rem 0;
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo {
  display: block;
  width: 19rem;
  transition: transform var(--transition);
}

.header-logo:hover {
  transform: scale(1.05);
}

.header-logo img {
  width: 100%;
  height: auto;
}

/* Desktop Navigation */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-link {
  position: relative;
  color: var(--color-grey);
  font-weight: 600;
  font-size: 1.125rem;
  transition: color var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-blue);
  transition: width var(--transition);
}

.nav-link:hover {
  color: var(--color-blue);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  background: var(--color-blue);
  color: var(--color-white);
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.nav-cta:hover {
  background: var(--color-blue-dark);
  transform: translateY(-2px);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  padding: 0.5rem;
  color: var(--color-blue);
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn svg {
  width: 2rem;
  height: 2rem;
}

.mobile-menu-btn .close-icon {
  display: none;
}

.mobile-menu-btn.active .menu-icon {
  display: none;
}

.mobile-menu-btn.active .close-icon {
  display: block;
  color: grey;
  z-index: 999999;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-white);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform 0.5s ease;
}

.mobile-menu.active {
  transform: translateX(0);
}

@media (min-width: 1024px) {
  .mobile-menu {
    display: none;
  }
}

.mobile-menu-link {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-grey);
  transition: color var(--transition);
}

.mobile-menu-link:hover {
  color: var(--color-blue);
}

.mobile-menu-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 16rem;
  margin-top: 2rem;
}

.mobile-menu-buttons .btn {
  width: 100%;
  padding: 1rem;
  font-size: 1.125rem;
  border-radius: var(--radius-lg);
}

/* ----- Hero Section ----- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(15,23,42,0.9), rgba(15,23,42,0.6), rgba(15,23,42,0.2));
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 42rem;
  color: var(--color-white);
  padding-top: 5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  background: rgba(41,89,165,0.2);
  border: 1px solid rgba(41,89,165,0.3);
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}

.hero-badge svg {
  width: 1rem;
  height: 1rem;
  fill: var(--color-blue);
}

.hero-badge span {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #dbeafe;
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
}

.hero h1 .highlight {
  background: linear-gradient(to right, #60a5fa, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text {
  font-size: 16px;
  color: #d1d5db;
  margin-bottom: 1rem;
  max-width: 32rem;
  line-height: 1.8;
}


.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

/* Hero Benefits */
.hero-benefits {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #e5e7eb;
}

.benefit-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--color-blue);
  border-radius: 50%;
  flex-shrink: 0;
}

.benefit-item span {
  font-size: 0.875rem;
  font-weight: 500;
}

/* ----- Sections Common ----- */
.section {
  padding: 6rem 0;
}

.section-light {
  background: var(--color-light);
}

.section-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--color-text-light);
}

/* ----- Process Section ----- */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-card {
  position: relative;
  background: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid #f1f5f9;
  transition: all var(--transition);
}

.process-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: var(--shadow-xl);
  border-color: rgba(41,89,165,0.2);
}

.process-icon {
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-blue), #3b82f6);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 16px rgba(41,89,165,0.3);
  transition: transform var(--transition);
}

.process-card:hover .process-icon {
  transform: rotate(3deg);
}

.process-icon svg {
  width: 2rem;
  height: 2rem;
}

.process-number {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 3.5rem;
  font-weight: 900;
  color: #ebeff2;
  z-index: 0;
  transition: color var(--transition);
}

.process-card:hover .process-number {
  color: #eff6ff;
}

.process-card h4 {
  margin-bottom: 0.75rem;
}

.process-card p {
  color: var(--color-text-light);
  line-height: 1.7;
}

.process-cta {
  text-align: center;
  margin-top: 3rem;
}

.process-cta p {
  font-size: 1.125rem;
  color: var(--color-text);
  margin-bottom: 1.5rem;
}

/* ----- Customers Section ----- */
.customers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .customers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .customers-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.customer-card {
  background: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid #f1f5f9;
  text-align: center;
  transition: all var(--transition);
}

.customer-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: var(--shadow-xl);
  border-color: rgba(41,89,165,0.2);
}

.customer-icon {
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  border-radius: var(--radius-lg);
  margin: 0 auto 1.5rem;
  transition: transform var(--transition);
}

.customer-card:hover .customer-icon {
  transform: scale(1.05);
}

.customer-icon svg {
    width: 4rem;
    height: 3rem;
    stroke: #2859a5;
}

.customer-card h4 {
  margin-bottom: 0.75rem;
}

.customer-card p {
  color: var(--color-text-light);
  line-height: 1.7;
  font-size: 0.9375rem;
}

/* ----- Services Section ----- */
.services-content {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .services-content {
    flex-direction: row;
  }
}

.services-text {
  flex: 1;
}

.services-text h3 {
  margin-bottom: 2rem;
  line-height: 1.3;
}

.services-text h3 .highlight {
  color: var(--color-blue);
}

.services-description {
  margin-bottom: 2rem;
}

.services-description p {
  margin-bottom: 1rem;
  font-size: 1.125rem;
  line-height: 1.8;
}

.services-description strong {
  color: var(--color-grey);
}

.services-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .services-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon {
  padding: 0.75rem;
  background: #dbeafe;
  color: var(--color-blue);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.feature-item h4 {
  margin-bottom: 0.25rem;
}

.feature-item p {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.services-image {
  flex: 1;
  position: relative;
}

.services-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--color-white);
}

.services-image-wrapper img {
  width: 100%;
  transition: transform 0.7s ease;
}

.services-image-wrapper:hover img {
  transform: scale(1.05);
}

.services-floating-card {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--color-white);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 20rem;
  border-left: 4px solid var(--color-blue);
  display: none;
}

@media (min-width: 768px) {
  .services-floating-card {
    display: block;
  }
}

.services-floating-card h5 {
  margin-bottom: 0.25rem;
}

.services-floating-card p {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

/* ----- About Section ----- */
.about-card {
  background: var(--color-grey-dark);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .about-card {
    flex-direction: row;
  }
}

.about-image {
  position: relative;
  min-height: 400px;
}

@media (min-width: 1024px) {
  .about-image {
    width: 60%;
  }
}

.about-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, var(--color-grey-dark), transparent);
}

@media (min-width: 1024px) {
  .about-image-overlay {
    background: linear-gradient(to right, transparent 60%, var(--color-grey-dark) 99%);
  }
}

.about-content {
  padding: 2rem;
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .about-content {
    padding: 4rem;
  }
}

@media (min-width: 1024px) {
  .about-content {
    width: 60%;
  }
}

.about-content h3 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.about-content p {
  color: #d1d5db;
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #4b5563;
  margin-top: 1rem;
}

.about-footer .name {
  font-weight: 700;
  font-size: 1.25rem;
}

.about-footer .title {
  color: #60a5fa;
  display: block;
}

.about-footer img {
  height: 2.5rem;
  margin-left: auto;
}

/* ----- Gallery Section ----- */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Before/After Slider Card */
.gallery-slider-card {

  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--transition);
}

.gallery-slider-card:hover {
  box-shadow: var(--shadow-lg);
}

.gallery-slider-card h4 {
  text-align: center;
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--color-grey-dark);
  display: none;
}

/* Before/After Slider */
.before-after-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-md);
  user-select: none;
  -webkit-user-select: none;
  cursor: ew-resize;
  touch-action: none;
}

.slider-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  will-change: clip-path;
}

.slider-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.slider-after {
  clip-path: inset(0 50% 0 0);
}

/* Slider Handle */
.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  transform: translateX(-50%);
  cursor: ew-resize;
  z-index: 10;
  will-change: transform;
  pointer-events: none;
}

.slider-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: var(--color-white);
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: var(--color-white);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  pointer-events: none;
}

.slider-button svg {
  width: 20px;
  height: 20px;
  color: var(--color-grey-dark);
  flex-shrink: 0;
  pointer-events: none;
}

.slider-button svg:first-child {
  margin-right: -4px;
}

.slider-button svg:last-child {
  margin-left: -4px;
}

/* Slider Labels */
.slider-label {
  position: absolute;
  top: 1rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-white);
  border-radius: 0.25rem;
  z-index: 5;
  pointer-events: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.before-label {
  left: 1rem;
  background: rgba(239, 68, 68, 0.9);
}

.after-label {
  right: 1rem;
  background: rgba(34, 197, 94, 0.9);
}

.gallery-link {
  text-align: center;
  margin-top: 3rem;
}

.gallery-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-blue);
  font-weight: 700;
  transition: opacity var(--transition);
}

.gallery-link a:hover {
  text-decoration: underline;
}

/* ----- Video Section ----- */
.video-section {
  background: var(--color-grey-dark);
  color: var(--color-white);
}

.video-section .section-label {
  color: var(--color-blue);
}

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

.video-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: #000;
}

.video-player {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ----- Contact Section ----- */
.contact-content {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .contact-content {
    flex-direction: row;
  }
}

.contact-info {
  flex: 1;
}

@media (min-width: 1024px) {
  .contact-info {
    max-width: 33%;
  }
}

.contact-info > p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  background: var(--color-light);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid #e2e8f0;
}

.contact-card h4 {
  margin-bottom: 0.5rem;
}

.contact-card a {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-blue);
  transition: opacity var(--transition);
}

.contact-card a:hover {
  text-decoration: underline;
}

.contact-card p {
  color: var(--color-text);
}

.contact-form-wrapper {
  flex: 2;
}

.contact-form-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid #e2e8f0;
  padding: 2rem;
}

@media (min-width: 768px) {
  .contact-form-card {
    padding: 2.5rem;
  }
}

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 0;
  text-align: center;
}

.form-success.active {
  display: flex;
}

.form-success-icon {
  width: 5rem;
  height: 5rem;
  background: #dcfce7;
  color: #22c55e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.form-success-icon svg {
  width: 2.5rem;
  height: 2.5rem;
}

.form-success h3 {
  margin-bottom: 0.5rem;
}

.form-success p {
  color: var(--color-text-light);
}

.form-success button {
  margin-top: 2rem;
  color: var(--color-blue);
  font-weight: 600;
}

.form-success button:hover {
  text-decoration: underline;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-grey);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--color-light);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(41,89,165,0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #94a3b8;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.file-upload {
  position: relative;
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
}

.file-upload:hover {
  border-color: var(--color-blue);
  background: rgba(41,89,165,0.05);
}

.file-upload input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-upload svg {
  width: 2rem;
  height: 2rem;
  color: #94a3b8;
  margin: 0 auto 0.75rem;
}

.file-upload p {
  color: var(--color-text);
  font-weight: 500;
}

.file-upload span {
  font-size: 0.875rem;
  color: #94a3b8;
  font-weight: 400;
}

.form-checkbox {
  background: #eff6ff;
  border-left: 4px solid var(--color-blue);
  padding: 1rem;
  border-radius: var(--radius-sm);
}

.form-checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}

.form-checkbox input {
  margin-top: 0.25rem;
  width: 1rem;
  height: 1rem;
  accent-color: var(--color-blue);
}

.form-checkbox span {
  font-size: 0.875rem;
  color: var(--color-text);
}

.form-checkbox a {
  color: var(--color-blue);
  font-weight: 500;
}

.form-checkbox a:hover {
  text-decoration: underline;
}

.form-submit {
  width: 100%;
}

.form-note {
  font-size: 0.75rem;
  color: var(--color-text-light);
  text-align: center;
}

/* ----- Certificates Section ----- */
.certificates-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #eff6ff;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.certificates-badge svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-blue);
}

.certificates-badge span {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.certificates-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .certificates-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .certificates-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.certificate-card {
  background: var(--color-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}

.certificate-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: var(--shadow-xl);
}

.certificate-image {
  position: relative;
  height: 16rem;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.certificate-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.certificate-year {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--color-blue);
  color: var(--color-white);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  display: none;
}

.certificate-content {
  padding: 1.5rem;
  background: var(--color-white);
}

.certificate-content > div {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.certificate-content svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #22c55e;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.certificate-content h4 {
  margin-bottom: 0.25rem;
}

.certificate-content p {
  font-size: 0.875rem;
  color: var(--color-blue);
  font-weight: 500;
}

.certificates-footer {
  text-align: center;
  margin-top: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--color-text);
}

.certificates-footer svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #22c55e;
}

/* ----- FAQ Section ----- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  transition: all var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-grey);
  font-family: inherit;
}

.faq-question span {
  flex: 1;
  padding-right: 1rem;
}

.faq-question svg {
  flex-shrink: 0;
  color: var(--color-blue);
  transition: transform var(--transition);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

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

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

.faq-answer p {
  padding: 0 1.5rem 1.25rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ----- Footer ----- */
.footer {
  background: var(--color-grey-dark);
  color: var(--color-white);
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-brand p {
  color: #9ca3af;
  font-size: 0.875rem;
  line-height: 1.7;
  margin-top: 1rem;
}

.footer-brand img {
  height: 3rem;
  filter: brightness(0) invert(1);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.footer-social a:hover {
  background: var(--color-blue);
}

.footer-social svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer h4 {
  color: var(--color-white);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #9ca3af;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: #9ca3af;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-contact svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.footer-contact a {
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid #4b5563;
  padding-top: 2rem;
  text-align: center;
  color: #6b7280;
  font-size: 0.875rem;
}

/* ----- Scroll to Top ----- */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  background: var(--color-blue);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  z-index: 50;
}

.scroll-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-to-top:hover {
  background: var(--color-blue-dark);
  transform: scale(1.1);
}

.scroll-to-top svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* ----- Cookie Banner ----- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: none;
  padding: 1rem;
  justify-content: center;
  align-items: flex-end;
}

.cookie-banner.visible {
  display: flex;
}

.cookie-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  max-width: 56rem;
  width: 100%;
  border: 2px solid rgba(41,89,165,0.2);
  padding: 1.5rem 2rem;
}

.cookie-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.cookie-header > div {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cookie-icon {
  padding: 0.75rem;
  background: #eff6ff;
  border-radius: var(--radius-lg);
}

.cookie-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--color-blue);
}

.cookie-header h3 {
  font-size: 1.25rem;
}

.cookie-header p {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.cookie-close {
  color: #9ca3af;
  transition: color var(--transition);
}

.cookie-close:hover {
  color: var(--color-text);
}

.cookie-close svg {
  width: 1.5rem;
  height: 1.5rem;
}

.cookie-content p {
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.cookie-info {
  background: #f0fdf4;
  border-left: 4px solid #22c55e;
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.cookie-info svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #22c55e;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.cookie-info p {
  font-size: 0.875rem;
  color: var(--color-text);
  margin: 0;
}

.cookie-details-toggle {
  color: var(--color-blue);
  font-weight: 500;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.cookie-details-toggle:hover {
  text-decoration: underline;
}

.cookie-details {
  display: none;
  margin-bottom: 1.5rem;
}

.cookie-details.visible {
  display: block;
}

.cookie-detail-card {
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1rem;
}

.cookie-detail-card:last-child {
  margin-bottom: 0;
}

.cookie-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.cookie-detail-header h4 {
  font-size: 1rem;
}

.cookie-detail-badge {
  font-size: 0.75rem;
  background: #dcfce7;
  color: #166534;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-weight: 500;
}

.cookie-detail-card p {
  font-size: 0.875rem;
  margin: 0;
}

.cookie-detail-card ul {
  font-size: 0.75rem;
  color: var(--color-text);
  margin-top: 0.5rem;
}

.cookie-detail-card li {
  list-style: disc;
  margin-left: 1rem;
  margin-bottom: 0.25rem;
}

.cookie-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .cookie-buttons {
    flex-direction: row;
  }
}

.cookie-buttons button {
  flex: 1;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.cookie-btn-secondary {
  border: 2px solid var(--color-blue);
  color: var(--color-blue);
}

.cookie-btn-secondary:hover {
  background: #eff6ff;
}

.cookie-btn-primary {
  background: var(--color-blue);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.cookie-btn-primary:hover {
  background: var(--color-blue-dark);
}

.cookie-footer {
  font-size: 0.75rem;
  color: var(--color-text-light);
  text-align: center;
  margin-top: 1rem;
}

.cookie-footer a {
  color: var(--color-blue);
}

.cookie-footer a:hover {
  text-decoration: underline;
}

/* ----- Utilities ----- */
.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


.sponsoring {
  padding: 100px 0;
  text-align: center;
}

.sponsoring img {
  width: 80%;
  max-width: 400px; 
  margin: auto;
  padding: 20px 0;
}
/* ----- Contact Form Submit Button ----- */
input.wpcf7-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  background: var(--color-blue);
  color: var(--color-white);
  box-shadow: var(--shadow-lg);
  border: none;
  cursor: pointer;
}

input.wpcf7-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

input.wpcf7-submit:active {
  transform: translateY(0);
}
