/* CSS Design System for R. ZINDEL Transporte AG - Modern & Simple Refinement */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  /* Colors - Modern Swiss Palette (Light & Contrast) */
  --color-primary: #001a7f;
  --color-primary-light: #2557ff;
  --color-accent: #f9a825;
  --color-dark: #12131a;          /* Deep dark slate text */
  --color-text-muted: #475569;    /* Slate-grey muted text */
  --color-light: #ffffff;         /* Main page background */
  --color-section-light: #f8fafc; /* Very soft white-grey for alternating sections */
  --color-card-bg: #cbd5e1;       /* Clearly visible slate-300 grey card background */
  --color-card-hover: #92b4f2;    /* Beautiful visible corporate blue on hover */
  --color-white: #ffffff;
  --color-border: #64748b;        /* Visible slate-500 grey border for strong contrast */
  --color-success: #10b981;
  --color-error: #ef4444;
  
  /* Fonts */
  --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Spacing */
  --space-xs: 0.75rem;
  --space-sm: 1.25rem;
  --space-md: 2.5rem;
  --space-lg: 5rem;
  --space-xl: 7.5rem;
  
  /* Structural Variables */
  --container-width: 1140px;
  --header-height: 85px;
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 24px;
  
  /* Shadows - Defined for Light Background */
  --shadow-sm: 0 2px 8px rgba(0, 26, 127, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 26, 127, 0.08);
  --shadow-lg: 0 16px 36px rgba(0, 26, 127, 0.12);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--color-dark);
  background-color: var(--color-light); /* Apply modern soft background */
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex-grow: 1;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

p {
  margin-bottom: 1.25rem;
  color: var(--color-dark);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

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

/* Layout Containers */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

.section {
  padding: var(--space-lg) 0;
}

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

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

.section--primary h2 {
  color: var(--color-white);
}

/* Typography & Titles */
.section-title {
  font-size: 2.25rem;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background-color: var(--color-accent);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 550px;
  margin: 0 auto var(--space-md);
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 30px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  font-family: var(--font-primary);
  letter-spacing: -0.01em;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1e3bb3 100%);
  color: var(--color-white);
  border: none;
  box-shadow: 0 4px 12px rgba(0, 26, 127, 0.15);
}

.btn--primary:hover {
  background: linear-gradient(135deg, #1e3bb3 0%, var(--color-primary-light) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 87, 255, 0.3);
}

.btn--accent {
  background: linear-gradient(135deg, var(--color-accent) 0%, #ff8f00 100%);
  color: var(--color-dark);
  border: none;
  box-shadow: 0 4px 12px rgba(249, 168, 37, 0.2);
}

.btn--accent:hover {
  background: linear-gradient(135deg, #ff8f00 0%, var(--color-accent) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 168, 37, 0.4);
}

.btn--outline {
  background-color: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

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

.btn--outline-white {
  background-color: transparent;
  border-color: var(--color-white);
  color: var(--color-white);
}

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

/* Header & Nav */
header-component {
  display: block;
  height: var(--header-height);
}

.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 26, 127, 0.08);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition-normal);
}

.header-nav.scrolled {
  height: 70px;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

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

.logo-link img {
  height: 48px;
  width: auto;
  transition: all var(--transition-normal);
}

.logo-link img:hover {
  transform: scale(1.04);
}

.header-nav.scrolled .logo-link img {
  height: 40px;
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-dark);
  padding: 0.5rem 0;
  position: relative;
  letter-spacing: -0.01em;
  opacity: 0.85;
  transition: all var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--color-primary-light);
  border-radius: 2px;
  transition: width var(--transition-normal);
}

.nav-link:hover, .nav-link.active {
  color: var(--color-primary-light);
  opacity: 1;
}

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

.burger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.burger-bar {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px 0;
  background-color: var(--color-primary);
  transition: var(--transition-normal);
}

/* Mobile Menu State */
.burger-menu.open .burger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger-menu.open .burger-bar:nth-child(2) {
  opacity: 0;
}
.burger-menu.open .burger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Slideshow Component - Clean & Responsive */
slideshow-component {
  display: block;
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 480px;
  overflow: hidden;
  background-color: var(--color-dark);
}

.slideshow-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity var(--transition-slow), transform 6s ease;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  z-index: 1;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(18, 19, 26, 0.3), rgba(18, 19, 26, 0.7));
  z-index: 3;
}

.slide-content {
  position: absolute;
  bottom: 18%;
  left: 8%;
  right: 8%;
  color: var(--color-white);
  z-index: 4;
  max-width: 700px;
}

.slide-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
}

.slide-desc {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
}

.slideshow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: var(--transition-fast);
}

.slideshow-btn:hover {
  background-color: var(--color-white);
  color: var(--color-dark);
}

.slideshow-btn--prev {
  left: 24px;
}

.slideshow-btn--next {
  right: 24px;
}

.slideshow-indicators {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.indicator {
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.indicator.active {
  background-color: var(--color-white);
  width: 36px;
}

/* Card UI - Simpler and borderless */
.grid {
  display: grid;
  gap: 2rem;
}

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

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

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

.card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  padding: 2.25rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
  background-color: var(--color-card-hover);
}

.card-icon {
  font-size: 2.25rem;
  color: var(--color-primary-light);
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
  font-weight: 600;
}

.card-text {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
}

/* Centered Card Helper */
.card--centered {
  text-align: center;
  align-items: center;
}

/* Service Card Design - Refined */
.service-card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
  background-color: var(--color-card-hover);
}

.service-img-wrapper {
  position: relative;
  overflow: hidden;
  padding-top: 62%; /* Slightly wider aspect ratio */
}

.service-img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.service-card:hover .service-img-wrapper img {
  transform: scale(1.05);
}

.service-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-title {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.service-list {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  list-style: none; /* FIX: Remove default bullets to prevent double dots */
}

.service-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.service-list li::before {
  content: "\f00c"; /* FontAwesome check icon for a premium look */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-size: 0.85rem;
  top: 2px;
}

/* Forms - Simpler and Minimalist input styling */
.form-container {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  padding: 3rem;
  max-width: 680px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-primary);
}

.form-input {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  background-color: var(--color-white); /* Pure white background for form inputs to stand out */
  outline: none;
  transition: all var(--transition-fast);
  width: 100%;
  color: var(--color-dark);
}

.form-input:focus {
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 4px rgba(37, 87, 255, 0.15);
}

textarea.form-input {
  min-height: 140px;
  resize: vertical;
}

.form-error {
  color: var(--color-error);
  font-size: 0.8rem;
  display: none;
  margin-top: 0.2rem;
}

.form-group.has-error .form-input {
  border-color: var(--color-error);
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.08);
}

.form-group.has-error .form-error {
  display: block;
}

.form-success-message {
  text-align: center;
  padding: 2rem 0;
  animation: fadeIn 0.4s ease;
}

.success-icon {
  font-size: 3.5rem;
  color: var(--color-success);
  margin-bottom: 1rem;
}

/* Partners Component - Refined */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: center;
  justify-items: center;
}

.partner-item {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.partner-item:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-light);
  background-color: var(--color-card-hover);
}

.partner-item img {
  max-height: 48px;
  max-width: 80%;
  object-fit: contain;
  opacity: 0.9;            /* Colored by default for high visual quality */
  filter: grayscale(0%);
  transition: all var(--transition-normal);
}

.partner-item:hover img {
  opacity: 1;
  transform: scale(1.05);  /* Subtle scale up on hover */
}

/* Timeline/History - Modernized */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 0;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px; /* Stronger line */
  background: linear-gradient(to bottom, var(--color-primary), var(--color-primary-light), var(--color-accent)); /* Glowing gradient line */
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.timeline-item {
  padding: 1rem 3rem;
  position: relative;
  width: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  right: -8px;
  background-color: var(--color-accent);
  border: 3px solid var(--color-white);
  top: 2rem;
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(249, 168, 37, 0.25);
  transition: all var(--transition-normal);
}

.timeline-item:hover::after {
  transform: scale(1.3);
  background-color: var(--color-primary-light);
  box-shadow: 0 0 0 6px rgba(37, 87, 255, 0.35);
}

.timeline-item--left {
  left: 0;
  text-align: right;
}

.timeline-item--right {
  left: 50%;
}

.timeline-item--right::after {
  left: -8px;
}

.timeline-content {
  padding: 2.25rem;
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  display: inline-block;
  text-align: left;
  transition: all var(--transition-normal);
}

.timeline-content:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
  background-color: var(--color-card-hover);
}

.timeline-year {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-primary-light);
  margin-bottom: 0.5rem;
}

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

.gallery-item {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  aspect-ratio: 1 / 1;
  background-color: var(--color-light);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(18, 19, 26, 0.4);
  opacity: 0;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-icon {
  color: var(--color-white);
  font-size: 1.5rem;
  transform: scale(0.9);
  transition: var(--transition-fast);
}

.gallery-item:hover .gallery-icon {
  transform: scale(1);
}

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

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(18, 19, 26, 0.98);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.lightbox.open {
  display: flex;
  opacity: 1;
}

.lightbox-content-wrapper {
  position: relative;
  max-width: 85%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: var(--border-radius-sm);
  animation: scaleIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-caption {
  color: var(--color-white);
  margin-top: 15px;
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.8;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.7;
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  opacity: 1;
  color: var(--color-accent);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--color-white);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lightbox-nav:hover {
  background-color: var(--color-white);
  color: var(--color-dark);
}

.lightbox-nav--prev {
  left: 24px;
}

.lightbox-nav--next {
  right: 24px;
}

/* Contact Cards Grid */
.contact-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.contact-info-card {
  text-align: center;
}

.contact-info-card a:hover {
  color: var(--color-primary-light);
  text-decoration: underline;
}

/* Map Card Design */
.map-card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  padding: 1.5rem;
}

.map-container {
  height: 440px;
  width: 100%;
  border-radius: var(--border-radius-sm);
  z-index: 1;
}

/* Footer Section - Upgraded & Modern */
footer-component {
  display: block;
  background: radial-gradient(circle at 50% 0%, #001254 0%, #00082b 100%);
  color: #c4ccf5;
  border-top: 3px solid var(--color-accent);
  position: relative;
  overflow: hidden;
}

footer-component::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(249, 168, 37, 0.4), transparent);
}

.footer {
  padding: 5rem 0 2rem;
  position: relative;
  z-index: 2;
}

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

.footer-column-title {
  color: var(--color-white);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-column-title::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background-color: var(--color-accent);
  margin-top: 0.5rem;
  border-radius: 1px;
}

.footer-about p {
  color: #a4a7b5;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-uid {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 1.25rem;
  letter-spacing: 0.02em;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
}

.footer-links li {
  display: block;
}

.footer-links a {
  color: #a4a7b5;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  transition: all var(--transition-fast);
}

.footer-link-icon {
  font-size: 0.7rem;
  color: var(--color-accent);
  width: 0;
  opacity: 0;
  transition: all var(--transition-fast);
  margin-right: 0;
}

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

.footer-links a:hover .footer-link-icon {
  width: 12px;
  opacity: 1;
  margin-right: 6px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all var(--transition-fast);
}

.contact-icon-wrapper {
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  transition: all var(--transition-fast);
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.footer-contact-item:hover .contact-icon-wrapper {
  background-color: var(--color-accent);
  color: var(--color-dark);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 15px rgba(249, 168, 37, 0.3);
}

.contact-text {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-white);
  opacity: 0.55;
  line-height: 1.2;
  margin-bottom: 0.2rem;
}

.contact-value {
  color: #a4a7b5;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  font-weight: 400;
}

.footer-contact-item a.contact-value:hover {
  color: var(--color-accent) !important;
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: #8c98c5;
  font-size: 0.9rem;
}

.footer-copyright {
  margin-bottom: 0;
  color: #ffffff; /* Pure white for maximum contrast & readability */
}

.footer-credit {
  margin-bottom: 0;
  font-size: 1.05rem; /* Larger font size as requested */
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #a4a7b5;
}

.footer-credit a {
  color: #ffffff; /* Devon Büsser in bright white */
  font-weight: 700; /* Bold and prominent */
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  padding-bottom: 1px;
  transition: all var(--transition-fast);
}

.footer-credit a:hover {
  color: var(--color-accent) !important;
  border-bottom-color: var(--color-accent);
  text-shadow: 0 0 10px rgba(249, 168, 37, 0.3);
}

.footer-partners {
  margin-bottom: 0;
  color: #ffffff; /* Pure white for 'Partner:' label */
}

.footer-bottom a {
  color: #ffffff; /* Pure white for partner links */
  transition: all var(--transition-fast);
  font-weight: 500;
}

.footer-bottom a:hover {
  color: var(--color-accent);
}

/* Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0.97);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  :root {
    --space-lg: 3.5rem;
  }
  
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  :root {
    --space-lg: 2.5rem;
    --header-height: 70px;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .slide-title {
    font-size: 2.25rem;
  }
  
  .slide-desc {
    font-size: 1rem;
  }
  
  .burger-menu {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    max-width: 280px;
    height: calc(100vh - var(--header-height));
    background-color: var(--color-white);
    box-shadow: 10px 0 30px rgba(0,0,0,0.05);
    flex-direction: column;
    padding: 2rem;
    gap: 1.25rem;
    transition: var(--transition-normal);
    z-index: 999;
  }
  
  .nav-menu.open {
    left: 0;
  }
  
  .grid--2 {
    grid-template-columns: 1fr;
  }
  
  .grid--3 {
    grid-template-columns: 1fr;
  }
  
  .grid--4 {
    grid-template-columns: 1fr;
  }
  
  .partner-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  
  .timeline::after {
    left: 20px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 3rem;
    padding-right: 0.5rem;
  }
  
  .timeline-item--left {
    left: 0;
    text-align: left;
  }
  
  .timeline-item--right {
    left: 0;
  }
  
  .timeline-item::after {
    left: 14px;
    right: auto;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-details-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .lightbox-nav {
    width: 44px;
    height: 44px;
  }
  
  .lightbox-nav--prev {
    left: 12px;
  }
  
  .lightbox-nav--next {
    right: 12px;
  }
  
  .lightbox-close {
    top: 16px;
    right: 16px;
  }
  
  /* Footer Mobile Centering */
  .footer {
    text-align: center;
  }
  
  .footer-links ul {
    align-items: center;
  }
  
  .footer-contact-item {
    justify-content: center;
    align-items: flex-start;
    text-align: left;
  }
  
  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 1.25rem;
  }
  
  /* Team Card Responsive Layout */
  .team-card {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
  }
  
  .team-avatar, .team-img-wrapper {
    margin-bottom: 1rem;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Team Card Design System */
.team-card {
  display: flex;
  flex-direction: row;
  gap: 1.75rem;
  align-items: center;
  padding: 2.25rem;
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
  background-color: var(--color-card-hover);
}

.team-img-wrapper {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--color-primary);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.team-card:hover .team-img-wrapper {
  border-color: var(--color-accent);
  transform: scale(1.06);
}

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

.team-avatar {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 3rem;
  border: 3px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.team-avatar--alt {
  background-color: var(--color-primary-light);
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Input Icon Wrapper System */
.input-icon-wrapper {
  position: relative;
  width: 100%;
}

.input-icon-wrapper .input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-primary);
  opacity: 0.65;
  pointer-events: none;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.input-icon-wrapper textarea.form-input {
  padding-top: 1rem;
}

.input-icon-wrapper .input-icon.textarea-icon {
  top: 24px;
}

.input-icon-wrapper .form-input {
  padding-left: 2.75rem;
}

.input-icon-wrapper .form-input:focus + .input-icon {
  color: var(--color-primary-light);
  opacity: 1;
}
