/* ==========================================
   SECTION 6: WHY ALAB - MODERN & PROFESSIONAL
   Hochprofessionelles Design mit Gradient Accent
========================================== */

:root {
    /* Brand Colors mit Gradient */
    --primary-gradient-start: #E5C44D;
    --primary-gradient-end: #F3D663;
    --primary-gradient: linear-gradient(135deg, var(--primary-gradient-start) 0%, var(--primary-gradient-end) 100%);
    --primary-color: #E6C23C;
    --primary-hover: #d4af37;
    --primary-dark: #b8860b;
    --primary-light: rgba(230, 194, 60, 0.1);
    --primary-glow: rgba(230, 194, 60, 0.3);
    
    /* Neutral Colors */
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --bg-body: #ffffff;
    --bg-section: #f8fafc;
    --bg-white: #ffffff;
    --bg-light: #f1f5f9;
    --border-light: #e2e8f0;
    --border-medium: #cbd5e0;
    
    /* Success Colors */
    --success: #10b981;
    --success-bg: rgba(16, 185, 129, 0.1);
    
    /* Typography */
    --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 20px rgba(230, 194, 60, 0.3);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================
   RESET & BASE STYLES
========================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
}

button {
    font-family: inherit;
}

/* ==========================================
   WHY SECTION
========================================== */
.why-section {
    padding: var(--space-3xl) 0;
    background: var(--bg-section);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ==========================================
   SECTION HEADER
========================================== */
.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
    animation: fadeInUp 0.8s ease;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.highlight {
    background: var(--primary-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ==========================================
   FEATURES GRID
========================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

/* Feature Card */
.feature-card {
    background: var(--bg-white);
    border-radius: var(--radius-2xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-card);
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-slow);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

/* Feature Icon */
.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-xl);
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-glow);
    transition: transform var(--transition-base);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--text-primary);
    stroke-width: 2;
}

/* Feature Content */
.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.feature-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

/* Feature List */
.feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.feature-list li {
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: var(--space-xs) 0;
    padding-left: var(--space-lg);
    position: relative;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1rem;
}

/* ==========================================
   VALUE PROPOSITION
========================================== */
.value-proposition {
    background: var(--bg-white);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-card);
    margin-bottom: var(--space-3xl);
    animation: fadeInUp 1s ease;
}

.value-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    text-align: center;
}

.value-text {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-md);
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.value-text strong {
    color: var(--text-primary);
    font-weight: 700;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-light);
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

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

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--primary-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--space-xs);
    font-family: var(--font-primary);
}

.stat-label {
    font-size: 0.9375rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==========================================
   CTA SECTION
========================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-gradient-start) 0%, var(--primary-gradient-end) 100%);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-xl);
    box-shadow: var(--shadow-xl);
    animation: fadeInUp 1.2s ease;
}

@media (max-width: 768px) {
    .cta-section {
        flex-direction: column;
        text-align: center;
    }
}

.cta-content {
    flex: 1;
}

.cta-title {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.cta-description {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 1rem 2rem;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary);
    background: var(--bg-white);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
    white-space: nowrap;
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.cta-button svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-primary);
    transition: transform var(--transition-base);
}

.cta-button:hover svg {
    transform: translateX(4px);
}

/* ==========================================
   MODAL
========================================== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

/* Modal */
.modal-content {
  position: relative;
  width: 100%;
  max-width: 720px;          /* etwas breiter als zuvor (600px) */
  /* max-height: 90vh;  <-- ENTFERNEN */
  height: auto;              /* volle Höhe anhand des Inhalts */
  background: var(--bg-white);
  border-radius: var(--radius-2xl);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
  overflow: visible;         /* keine interne Scrollbar */
  animation: modalSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Header */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg) var(--space-xl);
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-section);
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
}

.modal-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: var(--text-muted);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--bg-light);
    color: var(--text-primary);
}

.modal-close svg {
    width: 24px;
    height: 24px;
}

/* Modal Body */
.modal-body {
  padding: var(--space-xl);
  /* max-height: calc(90vh - 80px);  <-- ENTFERNEN */
  overflow: visible;         /* keine Scrollbar im Body */
}
/* etwas kompaktere Abstände, damit es sicher reinpasst */
.modal-header { padding: 1rem 1.25rem; }
.modal-body   { padding: 1rem 1.25rem; }
.form-group   { margin-bottom: 0.875rem; }
.form-row     { gap: 0.875rem; }
.checkbox-group { margin-bottom: 1rem; padding: 0.875rem; }
.submit-button  { padding: 0.875rem 1rem; }

/* ==========================================
   CONTACT FORM
========================================== */
.contact-form {
    width: 100%;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
    font-size: 0.9375rem;
}

.required {
    color: #ef4444;
}

.form-group input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    background: var(--bg-white);
    transition: all var(--transition-base);
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.form-group input.error {
    border-color: #ef4444;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-row .small {
    grid-column: span 1;
    max-width: 120px;
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-row .small {
        max-width: none;
    }
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
    padding: var(--space-md);
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-light);
    margin-bottom: var(--space-lg);
    transition: all var(--transition-base);
}

.checkbox-group:has(input:checked) {
    border-color: var(--primary-color);
    background: var(--primary-light);
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.checkbox-group label {
    flex: 1;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1.6;
}

.checkbox-group a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Submit Button */
.submit-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 1rem;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary);
    background: var(--primary-gradient);
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-glow);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(230, 194, 60, 0.4);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.submit-button svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-primary);
}

/* ==========================================
   SUCCESS STEP
========================================== */
.success-content {
    text-align: center;
    padding: var(--space-xl) 0;
}

.success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--space-xl);
    background: var(--success-bg);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.success-icon svg {
    width: 50px;
    height: 50px;
    stroke: var(--success);
}

.success-content h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.success-content p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.close-button {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--bg-white);
    background: var(--text-primary);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
}

.close-button:hover {
    background: var(--text-secondary);
    transform: translateY(-2px);
}

/* ==========================================
   ANIMATIONS
========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   ACCESSIBILITY
========================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Styles */
.cta-button:focus-visible,
.submit-button:focus-visible,
.modal-close:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 4px;
}

/* ==========================================
   LOADING STATE
========================================== */
.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid var(--border-light);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ==========================================
   RESPONSIVE OPTIMIZATIONS
========================================== */
@media (max-width: 768px) {
    .why-section {
        padding: var(--space-2xl) 0;
    }
    
    .section-header {
        margin-bottom: var(--space-xl);
    }
    
    .value-proposition {
        padding: var(--space-lg);
    }
    
    .cta-section {
        padding: var(--space-lg);
    }
    
    .modal-body {
        padding: var(--space-lg);
    }
}

/* Checkbox: expliziter Fehlerzustand (Pflichtfeld nicht angehakt) */
.checkbox-group.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.08);
}
.checkbox-group.error label {
  color: #b91c1c;
}

@media (max-height: 760px) {
  .modal-header { padding: 0.75rem 1rem; }
  .modal-body   { padding: 0.75rem 1rem; }
  .form-group   { margin-bottom: 0.75rem; }
  .form-row     { gap: 0.75rem; }
  .checkbox-group { padding: 0.75rem; }
  .submit-button  { padding: 0.75rem 1rem; }
}

/* mehr Luft oben – gleiche Hintergrundfarbe wie Section 6 */

/* Mehr Luft oberhalb von Section 6 – gleiche Hintergrundfarbe */
body.gewerbe-page .why-section {
  position: relative;
  padding-top: 6rem !important;       /* anpassen: 4rem–8rem je nach Wunsch */
  background: var(--bg-section);      /* bleibt im Look von Section 6 */
}

/* Falls der Browser trotz padding-top noch 'weiß' zeigt (Margins etc.), 
   legt dieser Pseudo-Block identische Hintergrundfarbe über den Übergang. */
body.gewerbe-page .why-section::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: -48px;                         /* Höhe des "Vorlaufs" */
  height: 48px;                       /* ggf. zu 64px, 80px etc. ändern */
  background: var(--bg-section);
  pointer-events: none;
  z-index: 0;
}

/* Why-Section kompakter auf Mobil */
@media (max-width: 768px){
  .why-section{ padding: 28px 0 !important; }
  .why-section .container{ padding: 0 16px !important; }

  /* Header */
  .why-section .section-header{ margin-bottom: 18px !important; }
  .why-section .section-title{
    font-size: 1.5rem !important;
    line-height: 1.15 !important;
    margin-bottom: 6px !important;
  }
  .why-section .section-subtitle{
    font-size: .95rem !important;
    line-height: 1.5 !important;
    max-width: 100% !important;
  }

  /* Feature-Grid & Karten */
  .why-section .features-grid{ gap: 14px !important; }
  .why-section .feature-card{
    padding: 14px !important;
    border-radius: 16px !important;
  }
  .why-section .feature-icon{
    width: 48px; height: 48px;
    margin-bottom: 10px;
  }
  .why-section .feature-icon svg{ width: 24px; height: 24px; }
  .why-section .feature-title{ font-size: 1.05rem; margin-bottom: 6px; }
  .why-section .feature-description{ font-size: .92rem; line-height: 1.5; margin-bottom: 8px; }
  .why-section .feature-list li{
    font-size: .9rem; padding: 4px 0 4px 16px;
  }

  /* Value-Proposition & Stats */
  .why-section .value-proposition{ padding: 16px !important; margin-bottom: 20px !important; }
  .why-section .value-title{ font-size: 1.25rem; margin-bottom: 10px; }
  .why-section .value-text{ font-size: .95rem; line-height: 1.55; }
  .why-section .stats-grid{
    gap: 12px; margin-top: 14px; padding-top: 12px;
  }
  .why-section .stat-number{ font-size: 2.25rem; }
  .why-section .stat-label{ font-size: .8rem; }

  /* CTA */
  .why-section .cta-section{ padding: 14px !important; gap: 12px !important; }
  .why-section .cta-title{ font-size: 1.25rem; margin-bottom: 6px; }
  .why-section .cta-description{ font-size: .95rem; }
  .why-section .cta-button{ padding: .75rem 1.25rem; font-size: 1rem; }
}

/* noch straffer auf sehr kleinen Screens */
@media (max-width: 480px){
  .why-section{ padding: 22px 0 !important; }
  .why-section .feature-card{ padding: 12px !important; }
  .why-section .feature-icon{ width: 44px; height: 44px; }
  .why-section .stat-number{ font-size: 2rem; }
}

/* Dein „mehr Luft oben“ auf Mobil reduzieren */
@media (max-width: 768px){
  body.gewerbe-page .why-section{ padding-top: 32px !important; }
  body.gewerbe-page .why-section::before{ height: 0; top: 0; }
}

/* Gewerbe – Kontaktformular im Why-Block: mobil deutlich kompakter
   -> Modal hängt am <body>, nicht in .why-section, daher auf body.gewerbe-page scopen */
@media (max-width: 768px){

  /* Rahmen / Kopf */
  body.gewerbe-page .modal .modal-content{
    max-width: 520px;
    border-radius: 14px;
  }
  body.gewerbe-page .modal .modal-header{ padding: 10px 14px; }
  body.gewerbe-page .modal .modal-title{ font-size: 1.05rem; }
  body.gewerbe-page .modal .modal-close{ width: 32px; height: 32px; }

  body.gewerbe-page .modal .modal-body{ padding: 12px 14px; }

  /* Formular: Abstände/Typo kleiner */
  body.gewerbe-page .modal .contact-form .form-row{ gap: 8px; }
  body.gewerbe-page .modal .contact-form .form-group{ margin-bottom: 10px; }
  body.gewerbe-page .modal .contact-form .form-group label{
    font-size: .85rem;
    margin-bottom: 4px;
    line-height: 1.2;
  }

  body.gewerbe-page .modal .contact-form .form-group input,
  body.gewerbe-page .modal .contact-form .form-group textarea{
    padding: 9px 11px;
    font-size: 15px;
    border-radius: 10px;
    border-width: 1px;
  }
  body.gewerbe-page .modal .contact-form .form-group textarea{ min-height: 84px; }

  /* Checkboxblock enger */
  body.gewerbe-page .modal .contact-form .checkbox-group{
    padding: 10px;
    margin-bottom: 12px;
    border-width: 1px;
  }
  body.gewerbe-page .modal .contact-form .checkbox-group label{ font-size: .88rem; }
  body.gewerbe-page .modal .contact-form .checkbox-group input{ width: 18px; height: 18px; }

  /* Submit-Button kleiner */
  body.gewerbe-page .modal .contact-form .submit-button{
    padding: 10px 14px;
    font-size: .98rem;
    border-radius: 12px;
  }
}

/* Extra straff auf sehr kleinen Screens */
@media (max-width: 420px){
  body.gewerbe-page .modal .modal-content{ max-width: 92vw; }
  body.gewerbe-page .modal .modal-header,
  body.gewerbe-page .modal .modal-body{ padding: 10px 12px; }
  body.gewerbe-page .modal .contact-form .form-group input,
  body.gewerbe-page .modal .contact-form .form-group textarea{
    padding: 8px 10px; font-size: 14.5px;
  }
  body.gewerbe-page .modal .contact-form .submit-button{
    padding: 9px 12px; font-size: .95rem;
  }
}

/* Optional: 2 Spalten auf Mini-Screens, wenn deine Felder bereits in .form-row gruppiert sind */
@media (max-width: 480px){
  body.gewerbe-page .modal .contact-form .form-row{
    grid-template-columns: 1fr 1fr;
  }
  /* Felder, die trotzdem volle Breite brauchen, einfach .full geben */
  body.gewerbe-page .modal .contact-form .form-row .full{
    grid-column: 1 / -1;
  }
}
