/* ==========================================================================
   Base styles and CSS variables
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --primary-color: #ffc107;    /* Taxi-Yellow */
  --primary-dark: #ffa000;     /* Darker Yellow */
  --secondary-color: #1976d2;  /* Professional Blue */
  --accent-color: #2e4a2c;     /* Dark Green */
  --text-dark: #23272f;        
  --text-light: #ffffff;       
  --background-light: #f8fafc; 
  --border-color: #e0e0e0;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, #ffeb3b 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, #64b5f6 100%);
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
}

/* ==========================================================================
   Reset and base styles
   ========================================================================== */
body {
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  background: var(--background-light);
  color: var(--text-dark);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  width: 100vw;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  overflow-x: hidden;
}

.sidebar {
  width: 290px;
  background: var(--gradient-secondary);
  color: var(--text-light);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--spacing-xl) 0 0 0;
  position: fixed;
  left: 0;
  top: 0;
  box-shadow: var(--shadow-md);
  z-index: 10;
}
.sidebar img {
  max-width: 120px;
  border-radius: 24px;
  margin-bottom: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.13);
}
.sidebar h1 {
  font-size: 28px;
  margin: 0 0 28px 0;
  letter-spacing: 1.5px;
  color: #fff;
  font-weight: 800;
}
.sidebar nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 40px;
  align-items: center;
}
.sidebar nav a {
  color: #fff;
  text-decoration: none;
  padding: 16px 40px;
  font-size: 20px;
  border-radius: 10px 0 0 10px;
  transition: background 0.2s, color 0.2s, transform 0.13s;
  display: block;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.sidebar nav a.active, .sidebar nav a:hover {
  background: #fff;
  color: #1976d2;
  font-weight: bold;
  transform: scale(1.07);
}
.sidebar .sidebar-footer {
  margin-top: auto;
  font-size: 16px;
  color: #e0f7fa;
  padding: 24px 16px 16px 16px;
  text-align: center;
}
/* ==========================================================================
   Main Content Layout
   ========================================================================== */
.main-content {
  margin-top: 70px;
  padding: var(--spacing-lg);
  width: 100%;
  max-width: 100%;
  min-height: calc(100vh - 70px);
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--background-light);
  box-sizing: border-box;
}

/* Spezielle Version für die Bestellseite */
.main-content.order-page {
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 25px;
}
#section-order {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  min-height: 100vh;
  padding: 0;
  width: 100%;
}
#section-order > * {
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
form, #orderOverview {
  margin-bottom: 18px;
}
header {
  text-align: center;
  margin-bottom: 32px;
}
header img {
  max-width: 120px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(46,74,44,0.12);
  margin-bottom: 10px;
}

/* Logo in der title-section (Startseite) */
.title-section img {
  max-width: 120px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(46,74,44,0.12);
  margin-bottom: 10px;
}

/* Logo in der title-section (Startseite) */
.title-section img {
  max-width: 120px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(46,74,44,0.12);
  margin-bottom: 10px;
}

header h1 {
  margin: 15px 0 10px;
  color: var(--text-dark);
  font-size: 42px;
  letter-spacing: 2px;
  font-weight: 800;
  text-shadow: 2px 2px 0 var(--primary-color);
  position: relative;
  display: inline-block;
}

header h1::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

header p.slogan {
  font-style: italic;
  color: var(--secondary-color);
  font-size: 22px;
  margin: 15px 0;
  font-weight: 500;
  position: relative;
  display: inline-block;
  padding: 5px 15px;
  background: rgba(255, 193, 7, 0.1);
  border-radius: 20px;
  border: 2px solid var(--primary-color);
}

header p.slogan::before {
  content: '🚖';
  margin-right: 8px;
  font-style: normal;
}

header p a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 5px 10px;
  border-radius: 6px;
  background: transparent;
}

header p a:hover {
  color: var(--text-dark);
  background: var(--primary-color);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
h2, h3, h4 {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #333;
  text-align: center;
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
  font-weight: 600;
}
h2 {
  font-size: 1.6em;
  font-weight: 600;
  color: #333;
  margin-top: 0;
  margin-bottom: 25px;
  text-align: left;
}
h2::after {
  content: '';
  display: block;
  margin: 12px auto 0 auto;
  width: 60px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #1976d2 60%, #0097a7 100%);
  opacity: 0.18;
}
h3 {
  font-size: 1.35em;
  font-weight: 700;
  color: #1a7f64;
  text-shadow: 0 1px 8px #b2ebf2;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.13em;
  font-weight: 700;
  color: #0097a7;
  margin-bottom: 8px;
  text-shadow: 0 1px 6px #b2ebf2;
}
/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeInUp 0.7s cubic-bezier(.23,1.02,.32,1) forwards;
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: none;
  }
}
.button-group button, .contact-order-btn, .lang-switch {
  transition: background 0.2s, color 0.2s, transform 0.18s, box-shadow 0.18s;
}
.button-group button:active, .contact-order-btn:active, .lang-switch:active {
  transform: scale(0.97);
  box-shadow: 0 1px 8px 0 #1976d2aa;
}
.card-animate {
  animation: cardPop 0.7s cubic-bezier(.23,1.02,.32,1) forwards;
  opacity: 0;
}
@keyframes cardPop {
  0% { opacity: 0; transform: scale(0.95) translateY(32px); }
  80% { opacity: 1; transform: scale(1.03) translateY(-6px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
/* ==========================================================================
   Forms and Inputs
   ========================================================================== */
form {
  background: var(--text-light);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  max-width: 600px !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

form:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

form::before {
  content: '🚕';
  position: absolute;
  top: -20px;
  right: -20px;
  font-size: 100px;
  opacity: 0.03;
  transform: rotate(15deg);
}

form label {
  color: var(--text-dark);
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 500;
  font-size: 0.95em;
  position: relative;
}

form label::after {
  content: ' 🚖';
  font-size: 0.9em;
  opacity: 0.7;
}

form input, 
form textarea {
  width: 100%;
  padding: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  box-sizing: border-box;
  font-size: 0.95em;
  background: var(--text-light);
  transition: all 0.2s ease;
  color: var(--text-dark);
}

form input:hover,
form textarea:hover {
  border-color: var(--primary-color);
}

form input:focus, 
form textarea:focus {
  border: 2px solid var(--secondary-color);
  outline: none;
  background: #e3f2fd;
  box-shadow: var(--shadow-sm);
}
.button-group {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
button {
  flex: 1;
  padding: 10px 20px;
  background: #ffb300;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 0.95em;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
  position: relative;
}

button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: 0.5s;
}

button:hover::before {
  left: 100%;
}

button:hover {
  background: var(--gradient-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

button:active {
  transform: translateY(1px);
  box-shadow: var(--shadow-sm);
}
#formStatus {
  font-size: 15px;
  margin-top: 10px;
  font-weight: bold;
  min-height: 20px;
  text-align: center;
}
form p[style] {
  margin-top: 10px;
  text-align: center;
}
footer {
  width: 100%;
  position: static;
  font-size: 15px;
  color: #666;
  text-align: center;
  border-top: 1px solid var(--border-color);
  padding: var(--spacing-sm);
  background: var(--text-light);
  box-shadow: 0 -2px 8px rgba(0,0,0,0.05);
  margin: 60px 0 0 0;
  box-sizing: border-box;
}

.map-container {
  flex: 1;
  height: calc(100vh - 120px);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  background: var(--text-light);
  min-width: 400px;
  max-width: 800px;
  position: sticky;
  top: 95px;
}
/* Cleanup: Removed unused about-* styles as About page content moved to order.html */

.contact-card {
  background: #fff;
  border-radius: 8px;
  padding: 25px;
  max-width: 700px;
  min-width: 340px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #e0e0e0;
  position: relative;
}

.contact-card::before {
  content: '🚕';
  position: absolute;
  top: -20px;
  right: -20px;
  font-size: 100px;
  opacity: 0.03;
  transform: rotate(15deg);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(255, 193, 7, 0.2);
}
.contact-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 18px;
  width: 100%;
}
.contact-logo {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  background: #fff;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.contact-intro {
  text-align: center;
  width: 100%;
}
.contact-intro h3 {
  margin: 0 0 8px 0;
  color: #1976d2;
  font-size: 1.15em;
}
.contact-intro p {
  margin: 0;
  color: #333;
  font-size: 1.04em;
}
.contact-details {
  width: 100%;
  margin: 18px 0 18px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.1em;
  color: var(--text-dark);
  background: rgba(255, 193, 7, 0.1);
  border-radius: 12px;
  padding: 12px 20px;
  width: 100%;
  max-width: 480px;
  box-sizing: border-box;
  justify-content: center;
  border: 2px solid var(--primary-color);
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  background: rgba(255, 193, 7, 0.15);
}
.contact-icon {
  font-size: 1.3em;
  color: #0097a7;
}
.contact-details a {
  color: #1976d2;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.contact-details a:hover {
  color: #0097a7;
  text-decoration: underline;
}
.contact-cta {
  background: linear-gradient(90deg, #1976d2 60%, #0097a7 100%);
  color: #fff;
  padding: 16px 18px;
  border-radius: 12px;
  text-align: center;
  margin-top: 18px;
  width: 100%;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}
.contact-cta h4 {
  margin: 0 0 8px 0;
  color: #fff;
  font-size: 1.08em;
}
.contact-order-btn {
  display: inline-block;
  text-decoration: none;
  margin-top: 6px;
  background: linear-gradient(135deg,#ffc107,#ffeb3b);
  color: #23272f;
  font-weight: 600;
  padding: 10px 26px;
  border-radius: 12px;
  font-size: 1em;
  box-shadow: 0 4px 12px rgba(255,193,7,0.3);
  transition: all .25s ease;
}
.contact-order-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 20px rgba(255,193,7,0.4);
}

/* Neue horizontale Navbar oben */
/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  background: var(--text-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--spacing-lg);
  height: 70px;
  box-sizing: border-box;
  border-bottom: 1px solid var(--border-color);
}

.navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
}

.navbar-logo {
  height: 70px;
  width: 70px;
  border-radius: var(--border-radius-lg);
  object-fit: cover;
  margin-right: var(--spacing-md);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--primary-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.navbar-logo:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

/* Logo und Titel als klickbare Links */
.navbar a {
  text-decoration: none;
  color: inherit;
}

.navbar-title-link {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.navbar-title-link:hover .navbar-title {
  color: var(--primary-color);
}

.navbar-title {
  color: var(--text-light);
  font-size: 1.6em;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-right: 32px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}
.navbar-nav {
  display: flex;
  gap: 12px;
  align-items: center;
}
.navbar-nav a {
  color: #333;
  text-decoration: none;
  padding: 12px 24px;
  font-size: 1.05em;
  border-radius: 4px;
  transition: all 0.2s ease;
  font-weight: 500;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.navbar-nav a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.navbar-nav a:hover::before {
  width: 80%;
}

.navbar-nav a.active, .navbar-nav a:hover {
  background: #fff8e1;
  color: #ffb300;
  font-weight: 600;
}

/* Sprachumschalter in Navbar */
.navbar-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 24px;
}

.lang-switcher {
  display: flex;
  gap: 4px;
  background: #f5f5f5;
  padding: 4px;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
}

.lang-switch {
  background: transparent;
  color: #666;
  border: none;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 0.9em;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.lang-switch:hover, .lang-switch.active {
  background: var(--primary-color);
  color: white;
}

/* Hauptkarten und Formulare mit Abstand zu den Rändern */
form, #orderOverview, .contact-card, #loginForm {
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  padding-left: 2vw;
  padding-right: 2vw;
}
@media (max-width: 700px) {
  form, #orderOverview, .contact-card, #loginForm {
    padding-left: 1vw;
    padding-right: 1vw;
  }
}
/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 900px) {
  .main-content {
    flex-direction: column;
    padding: var(--spacing-md);
    margin-top: 104px;
    align-items: stretch;
    justify-content: flex-start;
  }
  
  .map-container {
    min-width: 100%;
    height: 400px;
    position: relative;
    top: 0;
  }
  
  form {
    max-width: 100% !important;
  }

  .features-row {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 700px) {
  .navbar {
    padding: var(--spacing-sm);
    height: 60px;
  }
  
  .navbar-nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }
  
  .navbar-nav a {
    padding: 8px 12px;
    font-size: 0.9em;
  }
  
  .navbar-logo {
    height: 40px;
    width: 40px;
  }
  
  .navbar-title {
    font-size: 1.1em;
    margin-right: 12px;
  }
  
  .lang-switcher {
    margin-left: auto;
  }
}

@media (max-width: 600px) {
  .navbar {
    padding: var(--spacing-sm) 1vw;
    flex-wrap: wrap;
    height: auto;
    min-height: 60px;
  }
  
  .navbar-nav {
    flex-basis: 100%;
    order: 3;
    margin-top: 8px;
    justify-content: center;
  }
  
  .main-content {
    margin-top: 100px;
    padding: var(--spacing-sm);
    width: 100%;
  }
  
  #section-order,
  .contact-card,
  #loginForm {
    width: 100% !important;
    max-width: 100% !important;
    padding: var(--spacing-md);
    margin: 0;
  }
  
  .feature-card {
    border-radius: 0;
  }
  
  /* Verbesserungen für Touch-Geräte */
  button, input, textarea, select {
    min-height: 44px;
    font-size: 16px; /* Verhindert Zoom bei iOS */
  }
  
  .button-group button {
    padding: 16px 24px;
    font-size: 16px;
  }
  
  /* Bessere Touch-Targets */
  .navbar-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .lang-switch {
    min-height: 44px;
    min-width: 44px;
    font-size: 14px;
  }
}
/* Kontaktseite: Flex-Layout für Karte und Kontaktkarte */
.contact-flex {
  display: flex;
  flex-direction: row;
  gap: 32px;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  max-width: 1000px;
  margin: 64px auto 32px auto; /* Noch mehr Abstand nach oben zur Navbar */
  box-sizing: border-box;
}
.contact-card {
  flex: 1 1 340px;
  min-width: 320px;
  max-width: 520px;
  margin-top: 18px; /* Abstand zur Navbar */
}
.contact-map {
  flex: 1 1 320px;
  min-width: 260px;
  max-width: 420px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(25,118,210,0.10);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 364px;
  margin-top: 18px; /* Abstand zur Navbar */
}
@media (max-width: 900px) {
  .contact-flex {
    flex-direction: column;
    gap: 24px;
    max-width: 100%;
    margin-top: 32px;
    padding: 0 16px;
  }
  .contact-map, .contact-card {
    max-width: 100%;
    width: 100%;
    margin-top: 12px;
  }
  .contact-map {
    height: 300px;
    padding: 4px;
  }
  
  .contact-card {
    padding: 20px;
    margin: 0;
  }
  
  .contact-item {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding: 16px;
  }
  
  .contact-item a {
    font-size: 16px;
    font-weight: 600;
  }
}

/* FAQ Styles */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  position: relative;
}

.faq-list {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Center section headings within FAQ list with higher specificity */
.faq-list > h2 { text-align: center !important; margin-left: auto; margin-right: auto; width: 100%; }

.faq-item::before {
  content: '🚕';
  position: absolute;
  top: -15px;
  right: -15px;
  font-size: 60px;
  opacity: 0.05;
  transform: rotate(15deg);
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-dark);
}
.faq-item h4 {
  margin: 0 0 7px 0;
  color: #1976d2;
  font-size: 1.13em;
  text-align: center;
}
.faq-item p {
  margin: 0;
  color: #222;
  font-size: 1.04em;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #1976d2;
  color: #fff;
  padding: 18px 16px;
  text-align: center;
  z-index: 9999;
  font-size: 16px;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.13);
}
.cookie-banner button {
  margin-left: 18px;
  background: #fff;
  color: #1976d2;
  border: none;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}
.cookie-banner button:hover {
  background: #e3f2fd;
  color: #1976d2;
  transform: scale(1.05);
}
/* Google Places Autocomplete Dropdown sichtbar machen */
.pac-container {
  z-index: 99999 !important;
}
.features-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 18px;
}
.feature-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  min-width: 210px;
  max-width: 260px;
  flex: 1 1 210px;
  text-align: center;
  transition: all 0.2s ease;
  border: 1px solid #e0e0e0;
}
.feature-card strong {
  display: block;
  font-size: 1.13em;
  color: #1976d2;
  margin-bottom: 8px;
}
.feature-card p {
  margin: 0;
  color: #23272f;
  font-size: 1em;
}
.feature-card:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 6px 24px 0 rgba(25,118,210,0.13);
  border-color: #1976d2;
}
.feature-main {
  flex: 1.2 1 260px;
  background: linear-gradient(120deg, #e3f2fd 60%, #fff 100%);
  border-color: #1976d2;
  box-shadow: 0 4px 24px 0 rgba(25,118,210,0.13);
}
@media (max-width: 900px) {
  .features-row { flex-direction: column; align-items: stretch; }
}

/* ==========================================================================
   Einheitliche Seiten-Container / Cards
   ========================================================================== */
.section-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  padding: 32px 28px;
  margin: 0 auto 32px auto;
  width: 100%;
  max-width: 800px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  box-sizing: border-box;
}
.section-card.wide { max-width: 840px; }
.section-card.narrow { max-width: 600px; }
.section-card + .section-card { margin-top: 0; }

/* Überschriften konsistent mittig innerhalb Haupt-Content */
.main-content > h2 { text-align: center; }

/* Make FAQ card a bit wider */
.faq-list.section-card { max-width: 900px; }

@media (max-width: 700px) {
  .section-card { padding: 28px 20px; border-radius: 14px; }
}

  /* ======================================================================
    Input Icon Groups & Progress Bar (Added)
    ====================================================================== */
  .input-icon-group { position: relative; display: flex; align-items: center; }
  .input-icon-group .icon { position: absolute; left: 12px; font-size: 0.9rem; opacity: .7; pointer-events: none; }
  .input-icon-group input,
  .input-icon-group textarea { padding-left: 2.1rem !important; }

  .form-progress { margin-top: 1rem; }
  .progress-meta { font-size: .72rem; margin-bottom: 4px; color: var(--text-dark); opacity:.75; }
  .progress-bar { width:100%; height:6px; background:#e0e6ed; border-radius:3px; overflow:hidden; position:relative; }
  #progressFill { height:100%; width:0%; background:linear-gradient(90deg,#ffb703,#fb8500); transition:width .35s ease; }

  /* Back to Top Button */
  #backToTop {
    position: fixed;
    left: 18px;
    bottom: 90px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg,#1976d2,#64b5f6);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:20px;
    border:none;
    box-shadow:0 8px 24px -6px rgba(25,118,210,0.45);
    cursor:pointer;
    opacity:0;
    visibility:hidden;
    transform: translateY(8px);
    transition:all .35s cubic-bezier(.4,0,.2,1);
    z-index:999;
  }
  #backToTop.show { opacity:1; visibility:visible; transform: translateY(0); }
  #backToTop:focus { outline: 3px solid #ffeb3b; outline-offset:2px; }

  /* ======================================================================
    Mobile refinements (Added)
    ====================================================================== */
  @media (max-width:600px){
    .form-progress { margin-top:1.25rem; }
    button { font-size:0.9em; }
    header h1 { font-size: 2rem; }
    #backToTop { bottom: 110px; left: 12px; }
  }
