/*
Theme Name: Healthconnect
Theme URI: http://healthconnectinternational.de
Author: AI
Description: Custom theme for Healthconnect
Version: 1.0
Text Domain: healthconnect
*/

:root {
  --color-white: #ffffff;
  --color-nature-white: #fcfdfe;
  --color-grey-white: #f9fafb;
  --color-black: #333333;
  --color-dark-blue: #0056b3;
  --color-medium-blue: #218dd6;
  --color-green: #06842f;
  --color-turquoise: #3aceff;
  --color-neon-green: #00f399;
  --color-pastel-blue: #e8f4fc;
  --color-pastel-green: #e9fbf1;
  --font-main: 'Arial', sans-serif;
}

html {
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  color: var(--color-black);
  background-color: var(--color-white);
  line-height: 1.6;
  width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary {
  background: var(--color-dark-blue);
  color: var(--color-white);
}

.btn-gradient {
  background: linear-gradient(90deg, var(--color-turquoise) 0%, var(--color-neon-green) 100%);
  color: var(--color-white);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-dark-blue);
  color: var(--color-dark-blue);
}

.btn-outline:hover {
  background: var(--color-dark-blue);
  border-color: var(--color-dark-blue);
  color: var(--color-white);
}

/* Header & Nav */
.site-header {
  background: var(--color-white);
  padding: 15px 0;
  border-bottom: 1px solid #eaeaea;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 60px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  gap: 25px;
  align-items: center;
}

.nav-menu a {
  font-size: 15px;
  font-weight: 500;
}

.nav-menu a:hover {
  color: var(--color-medium-blue);
}

.lang-switch {
  display: flex;
  gap: 5px;
}

.lang-switch a {
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

.lang-switch a.active {
  background: var(--color-dark-blue);
  color: white;
  border-color: var(--color-dark-blue);
}

/* Hero Section */
.hero {
  background: var(--color-dark-blue);
  color: var(--color-white);
  text-align: center;
  padding: 100px 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--color-neon-green);
}

.uber-uns-hero h1 span {
  background: linear-gradient(to right, var(--color-neon-green), var(--color-turquoise));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--color-grey-white);
}

/* Features Section */
.features {
  padding: 80px 0;
  background: var(--color-grey-white);
  text-align: center;
}

.features h2 {
  font-size: 2.2rem;
  color: var(--color-dark-blue);
  margin-bottom: 10px;
}

.features .container > p {
  margin-top: 10px;
  margin-bottom: 70px;
  color: var(--color-black);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--color-white);
  padding: 40px 20px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--color-dark-blue);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  font-size: 24px;
}

.feature-card h3 {
  color: var(--color-dark-blue);
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: #555;
}

/* Workers Section */
.workers {
  padding: 80px 0;
  background: var(--color-white);
}

.workers-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.workers-text {
  flex: 1;
}

.workers-text h2 {
  color: var(--color-dark-blue);
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.workers-text p {
  margin-bottom: 30px;
}

.workers-list li {
  margin-bottom: 15px;
  position: relative;
  padding-left: 25px;
}

.workers-list li::before {
  content: '•';
  color: var(--color-medium-blue);
  font-size: 24px;
  position: absolute;
  left: 0;
  top: -5px;
}

.workers-image {
  flex: 1;
}

.workers-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Mission Section */
.mission {
  background: var(--color-medium-blue);
  color: var(--color-white);
  text-align: center;
  padding: 80px 20px;
}

.mission-icon {
  width: 80px;
  height: 80px;
  background: var(--color-white);
  color: var(--color-medium-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  font-size: 32px;
}

.mission h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.mission p {
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Partners Section */
.partners {
  padding: 80px 0;
  background: var(--color-white);
  text-align: center;
}

.partners h2 {
  color: var(--color-dark-blue);
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.partner-logo {
  width: 200px;
  height: 90px;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  background: var(--color-white);
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--color-green);
  border: 1px solid #eaeaea;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-logo:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  border-color: #a8cce8;
}
.partner-logo img {
  max-width: 100%;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.partner-logo.visaone {
  color: var(--color-dark-blue);
  padding: 15px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo.placeholder {
  color: #999;
  font-weight: normal;
  border: 1px dashed #ccc;
  box-shadow: none;
}
.partner-logo.placeholder:hover {
  border-color: var(--color-dark-blue);
  color: var(--color-dark-blue);
  background: rgba(0, 0, 0, 0.02);
}

/* Info Section */
.info {
  padding: 80px 0;
  text-align: center;
}

.info h2 {
  color: var(--color-dark-blue);
  font-size: 2rem;
  margin-bottom: 20px;
}

.info p {
  max-width: 800px;
  margin: 0 auto 30px auto;
}

/* CTA Section */
.cta {
  background: var(--color-dark-blue);
  padding: 60px 20px;
  text-align: center;
  color: var(--color-white);
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Footer */
.site-footer {
  background: var(--color-dark-blue);
  color: var(--color-grey-white);
  padding: 60px 0 30px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col .logo img {
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
}

.footer-col h3 {
  color: var(--color-white);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a:hover {
  color: var(--color-neon-green);
}

/* Mobile Menu Button */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--color-dark-blue);
  cursor: pointer;
}

/* Comprehensive Media Queries */
@media (max-width: 992px) {
  /* Navigation */
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    gap: 15px;
    align-items: flex-start;
  }
  .nav-menu.active {
    display: flex;
  }
  .lang-switch {
    width: 100%;
    margin-top: 10px;
  }

  /* Flex Layouts Stacking */
  .workers-content, 
  .prozess-steps, 
  .mission-content, 
  .ausbildung-content {
    flex-direction: column !important;
  }
  
  /* Reset image widths for stacked layout */
  .workers-image, .mission-image, .ausbildung-image {
    width: 100% !important;
    margin-bottom: 30px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  /* Typography and Spacing */
  .hero h1 {
    font-size: 2.2rem;
  }
  .uber-uns-hero h1 {
    font-size: 2.0rem;
  }
  .hero, .uber-uns-hero {
    padding: 60px 20px;
  }
  
  /* Cards */
  .leistungen-card, 
  .pastel-box, 
  .white-card, 
  .blue-card, 
  .dark-blue-card,
  .form-card {
    padding: 20px;
  }
  
  .stats-header {
    flex-direction: column;
    text-align: center;
  }
}

/* =========================================================================
   Über uns Page Styles
========================================================================= */

/* Hero */
.uber-uns-hero {
  padding: 120px 20px;
}
.uber-uns-hero h1 {
  font-size: 2.2rem;
  line-height: 1.2;
}
.uber-uns-hero h1 span {
  color: var(--color-neon-green);
}

/* Common Boxes */
.pastel-box {
  background: var(--color-pastel-blue);
  border-radius: 15px;
  padding: 40px;
  text-align: center;
}
.pastel-green-box {
  background: var(--color-pastel-green);
  border-radius: 10px;
  padding: 20px;
  margin-top: 20px;
  color: var(--color-dark-blue);
}
.white-card {
  background: var(--color-white);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.blue-card {
  background: var(--color-medium-blue);
  color: var(--color-white);
  border-radius: 15px;
  padding: 40px;
}
.dark-blue-card {
  background: var(--color-dark-blue);
  color: var(--color-white);
  border-radius: 15px;
  padding: 30px;
}

/* Mission Launch */
.mission-launch {
  padding: 80px 0;
}
.mission-launch h2 {
  text-align: center;
  color: var(--color-dark-blue);
  margin-bottom: 30px;
  font-size: 2.2rem;
}
.stats-card {
  margin: 30px auto;
  max-width: 800px;
  text-align: left;
}
.stats-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.stats-icon {
  width: 60px;
  height: 60px;
  background: var(--color-white);
  border: 2px solid var(--color-dark-blue);
  color: var(--color-dark-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.stats-title h3 {
  font-size: 2.5rem;
  color: var(--color-dark-blue);
}
.stats-text {
  font-size: 1.1rem;
}
.small-note {
  font-size: 0.8rem;
  color: #666;
  margin-top: 20px;
}

/* Mission Focus */
.mission-focus {
  padding: 80px 0;
  background: var(--color-medium-blue);
  text-align: center;
  color: var(--color-white);
}
.mission-focus h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
}
.blue-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 100%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 40px;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.blue-card > p {
  font-size: 1.1rem;
  line-height: 1.6;
}
.mission-focus .dark-blue-card {
  background: var(--color-dark-blue);
  border-radius: 10px;
  padding: 30px;
  margin-top: 30px;
  border-left: 4px solid #00e676;
  text-align: left;
}
.quote-author {
  margin-top: 15px;
  font-weight: bold;
}

/* Leistungen Grid */
.leistungen {
  padding: 80px 0;
  background-color: var(--color-nature-white);
}
.leistungen-card {
  padding: 50px;
}
.leistungen h2 {
  text-align: center;
  color: var(--color-dark-blue);
  font-size: 2.2rem;
}
.leistungen .subtitle {
  text-align: center;
  margin-bottom: 50px;
}
.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}
.leistung-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.leistung-icon {
  width: 50px;
  height: 50px;
  background: var(--color-dark-blue);
  color: var(--color-white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.leistung-content h3 {
  color: var(--color-dark-blue);
  margin-bottom: 10px;
}
.highlight-box {
  background: linear-gradient(90deg, rgba(255,255,255,0.5) 0%, var(--color-pastel-blue) 100%);
  color: var(--color-dark-blue);
  border-radius: 10px;
  padding: 20px 40px;
  border-left: 4px solid #00e676;
  text-align: left;
}

/* Ausbildung */
.ausbildung {
  padding: 80px 0;
  background: linear-gradient(135deg, #dcf0f2 0%, #c4e4e8 100%);
}
.ausbildung-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.ausbildung-icon {
  width: 50px;
  height: 50px;
  background: var(--color-dark-blue);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.ausbildung-header h3 {
  color: var(--color-dark-blue);
  font-size: 1.5rem;
}

/* Erfahrung & Werte */
.erfahrung {
  padding: 80px 0;
}
.erfahrung h2 {
  text-align: center;
  color: var(--color-dark-blue);
  font-size: 2.2rem;
}
.erfahrung .subtitle {
  text-align: center;
  margin-bottom: 50px;
}
.experience-content {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  text-align: left;
}
.experience-icon {
  width: 60px;
  height: 60px;
  background: var(--color-dark-blue);
  color: var(--color-white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.werte-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}
.wert-card {
  text-align: center;
  padding: 40px 20px;
  border: 1px solid #a8cce8; /* Soft blue border */
  border-radius: 15px;
  background: white;
  transition: all 0.3s ease;
}
.wert-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  border-color: transparent;
}
.wert-icon {
  width: 60px;
  height: 60px;
  background: var(--color-dark-blue);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 20px auto;
}
.wert-card h3 {
  color: var(--color-dark-blue);
  margin-bottom: 10px;
}

/* Fachkrafte Images */
.fachkrafte-images {
  padding: 80px 0;
  text-align: center;
}
.fachkrafte-images h2 {
  color: var(--color-dark-blue);
  font-size: 2.2rem;
}
.fachkrafte-images .subtitle {
  margin-bottom: 40px;
}
.fachkrafte-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.fachkraft-img img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}
.fachkraft-img img:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 25px 45px rgba(0,0,0,0.2);
}

/* Uber Fokus */
.uber-fokus {
  padding: 80px 0;
  background: var(--color-medium-blue);
  color: var(--color-white);
  text-align: center;
}
.uber-fokus h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}
.fokus-card {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  text-align: left;
}
.fokus-icon {
  width: 50px;
  height: 50px;
  background: var(--color-white);
  color: var(--color-dark-blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

/* Wachstum */
.wachstum {
  padding: 80px 0;
  background: var(--color-grey-white);
}
.wachstum-card {
  text-align: center;
  padding: 60px 20px;
}
.wachstum-icon {
  width: 80px;
  height: 80px;
  background: var(--color-dark-blue);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 30px auto;
}
.wachstum-card h2 {
  color: var(--color-dark-blue);
  font-size: 2.2rem;
  margin-bottom: 20px;
}
.wachstum-card p {
  max-width: 700px;
  margin: 0 auto 30px auto;
  font-size: 1.1rem;
}

/* ==========================================================================
   Kontakt Page Styles
   ========================================================================== */

/* Kontakt Hero */
.contact-hero {
  padding: 80px 20px 60px 20px;
  background-color: var(--color-dark-blue);
}
.contact-hero h1 span {
  background: linear-gradient(to right, var(--color-turquoise), var(--color-neon-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* Contact Grid Layout */
.contact-section {
  padding: 80px 0;
  background-color: var(--color-nature-white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Contact Form Left Side */
.form-card {
  background: var(--color-white);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}
.form-row {
  display: flex;
  gap: 20px;
}
.form-row .form-group {
  flex: 1;
}
.form-group {
  margin-bottom: 25px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--color-dark-blue);
  font-weight: 600;
  font-size: 0.95rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fdfdfd;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
  color: var(--color-black);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-neon-green);
  outline: none;
  box-shadow: 0 0 0 4px rgba(0, 230, 118, 0.1);
  background: var(--color-white);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.btn-full {
  width: 100%;
  padding: 16px;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  margin-top: 10px;
}

/* Contact Info Right Side */
.contact-info-col h2 {
  font-size: 2.2rem;
  color: var(--color-dark-blue);
  margin-bottom: 20px;
}
.contact-info-col > p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 40px;
  line-height: 1.6;
}
.info-card {
  background: var(--color-white);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 40px;
  border-left: 4px solid var(--color-neon-green);
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.info-card h3 {
  color: var(--color-dark-blue);
  margin-bottom: 20px;
  font-size: 1.3rem;
}
.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.info-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  font-size: 1.05rem;
  color: #444;
}
.info-list li strong {
  flex: 0 0 190px;
}
.info-list li span {
  flex: 1;
}
@media (max-width: 500px) {
  .info-list li {
    flex-wrap: wrap;
    gap: 5px 15px;
  }
  .info-list li span {
    width: 100%;
    padding-left: 30px;
  }
}
.info-list li:last-child {
  margin-bottom: 0;
}
.text-green {
  color: var(--color-neon-green);
  margin-top: 4px;
}
.direct-contact p {
  font-size: 1.1rem;
  color: var(--color-dark-blue);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 500;
}
.direct-contact i {
  color: var(--color-neon-green);
  font-size: 1.4rem;
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background: var(--color-white);
}
.faq-section h2 {
  color: var(--color-dark-blue);
  font-size: 2.2rem;
  margin-bottom: 50px;
}
.text-center {
  text-align: center;
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.faq-card {
  background: var(--color-nature-white);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #eaeaea;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.faq-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  border-color: #d0e5e8;
}
.faq-card h3 {
  color: var(--color-dark-blue);
  font-size: 1.2rem;
  margin-bottom: 15px;
}
.faq-card p {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
}

/* Responsive adjustments for Kontakt */
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-form-col {
    order: 2;
  }
  .contact-info-col {
    order: 1;
  }
}
@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  .form-card {
    padding: 25px;
  }
}

/* ==========================================================================
   RESPONSIVE — MOBILE ADDITIONS (no desktop changes)
   ========================================================================== */

/* ---- 992px and below ---- */
@media (max-width: 992px) {
  /* Ensure header is relative so mobile nav drops below it correctly */
  .site-header {
    position: sticky;
  }

  /* Experience & fokus content: stack icon above text */
  .experience-content,
  .fokus-card {
    flex-direction: column;
  }

  /* Leistungen grid: allow single column on tablet */
  .leistungen-grid {
    grid-template-columns: 1fr;
  }

  /* Fachkräfte images: allow wrapping */
  .fachkrafte-grid {
    gap: 20px;
  }

  /* CTA buttons: stack on tablet */
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  /* Partners logos: tighter spacing */
  .partners-logos {
    gap: 20px;
  }
}

/* ---- 768px and below ---- */
@media (max-width: 768px) {
  /* Hero */
  .hero h1 {
    font-size: 1.9rem;
    line-height: 1.3;
  }
  .hero p {
    font-size: 1rem;
  }
  .hero .btn {
    display: block;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    text-align: center;
    white-space: normal;
    word-break: break-word;
  }

  /* Über uns hero */
  .uber-uns-hero h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }
  .uber-uns-hero br {
    display: none;
  }

  /* Stats title */
  .stats-title h3 {
    font-size: 1.8rem;
  }
  .stats-header {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  /* Leistungen card padding */
  .leistungen-card {
    padding: 25px;
  }

  /* Leistungen grid */
  .leistungen-grid {
    grid-template-columns: 1fr;
  }

  /* Leistung item: wrap icon + text nicely on small screens */
  .leistung-item {
    gap: 15px;
  }
  .leistung-icon {
    flex-shrink: 0;
  }

  /* Experience content: stack vertically */
  .experience-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .experience-icon {
    flex-shrink: 0;
    margin-bottom: 15px;
  }

  /* Fokus card: stack vertically */
  .fokus-card {
    flex-direction: column;
    gap: 15px;
  }
  .fokus-icon {
    flex-shrink: 0;
  }

  /* Ausbildung header: ensure it wraps gracefully */
  .ausbildung-header {
    flex-wrap: wrap;
    gap: 12px;
  }
  .ausbildung-header h3 {
    font-size: 1.2rem;
  }

  /* Fachkräfte images: scale down */
  .fachkraft-img img {
    width: 100%;
    max-width: 280px;
    height: 240px;
  }
  .fachkrafte-grid {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  /* Sections: reduce vertical padding */
  .mission-launch,
  .mission-focus,
  .leistungen,
  .ausbildung,
  .erfahrung,
  .fachkrafte-images,
  .uber-fokus,
  .wachstum,
  .partners,
  .features,
  .workers,
  .mission,
  .info,
  .contact-section,
  .faq-section {
    padding: 50px 0;
  }

  /* CTA buttons */
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .cta h2 {
    font-size: 1.5rem;
  }

  /* Section headings: scale down */
  .features h2,
  .workers-text h2,
  .mission h2,
  .partners h2,
  .info h2,
  .mission-launch h2,
  .mission-focus h2,
  .leistungen h2,
  .erfahrung h2,
  .fachkrafte-images h2,
  .uber-fokus h2,
  .wachstum-card h2,
  .contact-info-col h2,
  .faq-section h2 {
    font-size: 1.7rem;
  }

  /* Mission paragraph */
  .mission p {
    font-size: 1.05rem;
  }

  /* Partner logos */
  .partners-logos {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .partner-logo {
    width: 100%;
    max-width: 300px;
  }

  /* Workers image: ensure it doesn't overflow */
  .workers-image img {
    border-radius: 10px;
  }

  /* Blue / dark-blue cards */
  .blue-card,
  .dark-blue-card {
    padding: 25px;
  }

  /* Pastel box */
  .pastel-box {
    padding: 25px;
  }

  /* White card */
  .white-card {
    padding: 20px;
  }

  /* Wachstum card */
  .wachstum-card {
    padding: 35px 20px;
  }
  .wachstum-card p {
    font-size: 1rem;
  }
}

/* ---- 480px and below ---- */
@media (max-width: 480px) {
  /* Extra small: smaller hero text */
  .hero h1 {
    font-size: 1.6rem;
  }
  .uber-uns-hero h1 {
    font-size: 1.6rem;
  }

  /* Nav logo: slightly smaller */
  .logo img {
    height: 48px;
  }

  /* Container horizontal padding */
  .container {
    padding: 0 15px;
  }

  /* Section headings */
  .features h2,
  .workers-text h2,
  .mission h2,
  .partners h2,
  .info h2,
  .mission-launch h2,
  .mission-focus h2,
  .leistungen h2,
  .erfahrung h2,
  .fachkrafte-images h2,
  .uber-fokus h2,
  .wachstum-card h2,
  .contact-info-col h2,
  .faq-section h2 {
    font-size: 1.5rem;
  }

  /* Stats title: even smaller */
  .stats-title h3 {
    font-size: 1.5rem;
  }

  /* Feature card */
  .feature-card {
    padding: 25px 15px;
  }

  /* Leistungen card */
  .leistungen-card {
    padding: 20px 15px;
  }

  /* Fachkräfte images: full width */
  .fachkraft-img img {
    max-width: 100%;
    height: 200px;
  }

  /* Form card */
  .form-card {
    padding: 20px 15px;
  }

  /* Info card */
  .info-card {
    padding: 20px;
  }

  /* Footer */
  .site-footer {
    padding: 40px 0 20px 0;
  }
}

/* ---- Global width clamp (keeps all sections within viewport width) ---- */
/* NOTE: overflow-x: hidden is intentionally NOT set on sections because  */
/* it clips AOS-animated elements (opacity:0 + transform) before they     */
/* animate in, making content appear invisible. html/body handles this.   */
@media (max-width: 992px) {
  section,
  header,
  footer,
  .container,
  .site-header,
  .site-footer {
    max-width: 100%;
    box-sizing: border-box;
  }

  .nav-menu {
    width: 100%;
    max-width: 100vw;
  }
}
/* =========================================================================
   Leistungen Section (index.html)
========================================================================= */

/* Hero */
.ls-hero {
  background: var(--color-dark-blue);
  color: var(--color-white);
  padding: 80px 20px;
  text-align: center;
}
.ls-hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.text-turquoise {
  color: var(--color-turquoise);
}
.ls-hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  color: var(--color-grey-white);
}

/* Common Section Styles */
.ls-section-title {
  text-align: center;
  color: var(--color-dark-blue);
  font-size: 2.2rem;
  margin-bottom: 15px;
}
.ls-section-subtitle {
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #555;
  font-size: 1.1rem;
}

/* Process Grid */
.ls-process {
  padding: 80px 0;
  background: var(--color-white);
}
.ls-process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  justify-content: center;
}
.ls-process-card {
  background: var(--color-white);
  border: 1px solid #eaeaea;
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ls-process-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}
.ls-icon {
  width: 60px;
  height: 60px;
  background: var(--color-dark-blue);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  font-size: 24px;
}
.ls-process-card h3 {
  color: var(--color-dark-blue);
  margin-bottom: 15px;
  font-size: 1.2rem;
}
.ls-process-card p {
  color: #666;
  font-size: 0.95rem;
}

.ls-support {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--color-pastel-green) 0%, var(--color-neon-green) 100%);
}
.ls-support h2 {
  text-align: center;
  color: var(--color-dark-blue);
  font-size: 2.2rem;
  margin-bottom: 10px;
}
.ls-support-subtitle {
  text-align: center;
  color: var(--color-white);
  margin-bottom: 50px;
}
.ls-support-content {
  display: flex;
  align-items: flex-start;
  gap: 50px;
}
.ls-support-list {
  flex: 0 0 35%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.ls-support-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.ls-number {
  width: 40px;
  height: 40px;
  background: var(--color-dark-blue);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  flex-shrink: 0;
}
.ls-text h3 {
  color: var(--color-dark-blue);
  margin-bottom: 5px;
}
.ls-text p {
  color: var(--color-black);
}

.ls-support-card {
  flex: 1;
  background: var(--color-white);
  border-radius: 15px;
  padding: 0 40px 40px 40px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  text-align: center;
}
.ls-profile-img {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  padding-top: 30px;
}
.ls-profile-img img {
  width: 130px;
  height: 130px;
  border-radius: 16px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.ls-support-card h3 {
  color: var(--color-green);
  font-size: 1.5rem;
  margin-bottom: 20px;
  padding: 0 40px;
}
.ls-check-list {
  text-align: left;
  padding: 0 40px;
}
.ls-check-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.ls-check-list li i {
  color: var(--color-neon-green);
  margin-top: 5px;
}

@media (max-width: 900px) {
  .ls-support-content {
    flex-direction: column;
    gap: 40px;
  }
  .ls-support-list {
    flex: none;
    width: 100%;
  }
  .ls-support-card {
    width: 100%;
    padding: 0 20px 30px 20px;
  }
}

.ls-ausbildung {
  padding: 80px 0;
  background: var(--color-white);
}
.ls-ausbildung-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.ls-ausbildung-card {
  background: var(--color-dark-blue);
  color: var(--color-white);
  padding: 40px;
  border-radius: 12px;
  text-align: center;
}
.ls-ausbildung-card h3 {
  margin-bottom: 15px;
}

/* Outline white button for dark hero sections */
.btn-outline-white {
  display: inline-block;
  padding: 14px 36px;
  border: 2px solid var(--color-white);
  color: var(--color-white);
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
  cursor: pointer;
}
.btn-outline-white:hover {
  background: var(--color-white);
  color: var(--color-dark-blue);
}

/* Footer CTA Band */
.footer-cta-band {
    padding: 60px 0;
    background: var(--color-dark-blue);
    text-align: center;
    margin-top: 90px;
}
.footer-cta-band h2 {
    color: var(--color-white);
    font-size: 2rem;
    margin-bottom: 25px;
}
.footer-cta-band .btn-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}


/* Override all hero h1s to match h2 size exactly at all breakpoints */
h1, .hero h1, .uber-uns-hero h1, .un-hero h1, .arb-hero h1, .ls-hero h1, .contact-hero h1 {
    font-size: 2.2rem !important;
}

@media (max-width: 992px) {
    h1, .hero h1, .uber-uns-hero h1, .un-hero h1, .arb-hero h1, .ls-hero h1, .contact-hero h1 {
        font-size: 2.0rem !important;
    }
}

@media (max-width: 768px) {
    h1, .hero h1, .uber-uns-hero h1, .un-hero h1, .arb-hero h1, .ls-hero h1, .contact-hero h1 {
        font-size: 1.8rem !important;
    }
}

@media (max-width: 480px) {
    h1, .hero h1, .uber-uns-hero h1, .un-hero h1, .arb-hero h1, .ls-hero h1, .contact-hero h1 {
        font-size: 1.6rem !important;
    }
}
