/*
Theme Name: Divi_Child
Author:
Description: Divi Child Theme
Version: 1.0
Template: Divi

This is the child theme for Divi theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/
/* roboto-regular - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/roboto-v30-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
   font-display: swap;
}
/* montserrat-regular - latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('../fonts/montserrat-v25-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/montserrat-v25-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  font-display: swap;
}

#main-content {
    background-color: #f7f8fa !important;
}

/*pinker haken */
.pinker-haken ul {
    list-style-type: none !important;
}

.pinker-haken ul li:before {
    content: '\e052';
    font-family: 'ETMODULES' !important;
    font-size: 1.1em !important;
    line-height: 1.7em;
    vertical-align: middle;

    color: #fff;                  /* Haken = weiß */
    background-color: #b5007c;    /* Hintergrund = pink */
    border-radius: 50%;           /* rund machen */
    padding: 3px;                 /* Abstand damit der Kreis sichtbar wird */
    margin-right: 7px;
    margin-left: -30px;
}


/* WP Forms Eingabefelder*/
#wpforms-241620 .wpforms-field input {

  border-bottom-color: #d5007d;

  border-radius: 4px 4px 4px 4px;

  background-color: rgba(240, 240, 240, .4);
	
}
/*WP Forms Buttons */
#wpforms-241620 .wpforms-form button[type=submit],
#wpforms-4394686 .wpforms-form button[type=submit],
button.wpforms-page-button {
  background-color: #d5007c !important;
  border-color: #d5007c !important;
  color: #fff !important;
  border-radius: 4px !important;
  font-size: 16px !important;
  transition: background 0.3s ease-in-out;
}

.wpforms-form button[type=submit]:hover, button.wpforms-page-button:hover {
    background-color: #212a35 !important;
	border-color: #212a35 !important;
}
/*"Benötigt" Asterisk*/
.wpforms-required-label {
    color: #d5007c;
    font-weight: 400;
}
div.wpforms-confirmation-container-full {
	text-align: left;
    color: white;
    margin: 0 0 24px 0;
    background: #b5007d;
    border: none;
    padding: 15px 15px;
	border-radius:4px;
}
div.wpforms-container label.wpforms-error {
    display: block;
    background:#F7F8FA!important;
	color: #b5007d!important;
	font-size: 12px;
    float: none;
	border-radius:4px;
}

/* ==========================================================================
   Toggle / Accordion CSS Styling von https://divimastermind.com/akkordeon-oeffnen-und-schliessen/
   ========================================================================== */
.bh_accordion .et_pb_toggle {
  border-top:none;
  border-left:none;
  border-right:none;
  border-bottom:1px solid #999;
  background:none;
  margin-bottom:0!important;
  padding:3.2rem 2rem;
  -webkit-transition: 0.4s;
   transition: 0.4s;
}
.bh_accordion .et_pb_toggle_title:before {
	left: 0 !important;
    right: auto !important;
    color: #b5007c!important; /* Farbe kann hier geändert werden*/
    font-family: 'ETModules', sans-serif !important;
    font-size: 1.5rem!important; /* Grösse der Schrift*/
    content: "\4c" !important; /* Plus Zeichen*/
   font-weight: 100;
   -webkit-transition: 0.3s;
   transition: 0.3s;
}
.bh_accordion .et_pb_toggle_open .et_pb_toggle_title:before {
 	display: block !important;
    content: "\4b" !important; /* Minus-Zeichen*/
    font-weight:100;
   -webkit-transform: rotate(180deg);
   transform: rotate(180deg);
}

.bh_accordion .et_pb_toggle_title {
    padding-left: 40px !important;
}
/*Breakpoint Mobile Menu*/
/*@media only screen
    /*and (min-width: 790px)
	and (max-width: 900px){
    .et_pb_menu .et_pb_menu__menu {
        display: none!important;
    }
    .et_mobile_nav_menu {
        display: block!important;
    }
}*/

.underline-on-hover:hover {
    text-decoration: underline;
}
.jb_content ol{
	list-style-type:none !important;
	list-style-position:outside;
	padding: 0px 0px 15px 15px;
}
.jb_content ul{
	list-style-type:none !important;
	padding:0px 0px 0px 0px;
	margin:0px;
}
.jb_content a {
	color:#f7f8fa;
	line-height:1.8em;
}
.jb_content a:hover {
	text-decoration:none;
	display: block;
	color:#ffff;
	background-color: #cccccc;
    /*padding: 2px 1px 1px 16px;*/
}
.jb_content a:focus {
	display:block;
	background-color:#b5007d!important;
	color:#ffffff!important;
	padding: 2px 1px 1px 16px;
}
.subsite_menu li,
.subsite_menu li a {
  color: white !important;
}
.subsite_menu .subitem {
  padding-left: 10px;
}

/* Lighthouse*/
.et_pb_module .et_pb_image img {
  width: 100%;
  max-width: 300px;
  height: auto;
}
.plane_icon {
  width: 48px;
  height: auto;
}
/* Fix ChatGPT Form Problem * Nur innerhalb von WPForms alles klickbar & ohne Skins */
.wpforms-container,
.wpforms-container * { pointer-events: auto !important; }

.wpforms-container input[type="checkbox"]{
  display:inline-block !important;
  width:1em !important; height:1em !important;
  position:relative !important; z-index:10 !important;
  -webkit-appearance: checkbox !important; appearance:auto !important;
  opacity:1 !important;
}

.wpforms-container .wpforms-field-checkbox label,
.wpforms-container .wpforms-field-gdpr-checkbox label{
  position:static !important; display:inline !important;
}

.wpforms-container .wpforms-field-checkbox label::before,
.wpforms-container .wpforms-field-checkbox label::after,
.wpforms-container .wpforms-field-gdpr-checkbox label::before,
.wpforms-container .wpforms-field-gdpr-checkbox label::after{
  content:none !important; pointer-events:none !important;
}
/* Linkfarbe: Nur Header → Kontakt-Formular (ID 276922) → Datenschutz-Link */
header.et-l--header .contact-form-module #wpforms-276922 .wpforms-field-label-inline a,
header.et-l--header .contact-form-module #wpforms-form-276922 .wpforms-field-label-inline a {
  color: #f4f4f4 !important;
  text-decoration: underline;
}

/* Hover/Focus */
header.et-l--header .contact-form-module #wpforms-276922 .wpforms-field-label-inline a:hover,
header.et-l--header .contact-form-module #wpforms-276922 .wpforms-field-label-inline a:focus,
header.et-l--header .contact-form-module #wpforms-form-276922 .wpforms-field-label-inline a:hover,
header.et-l--header .contact-form-module #wpforms-form-276922 .wpforms-field-label-inline a:focus {
  color: #202a44 !important;
}

/* Visited absichern (sonst überschreibt der Browser die Linkfarbe) */
header.et-l--header .contact-form-module #wpforms-276922 .wpforms-field-label-inline a:visited,
header.et-l--header .contact-form-module #wpforms-form-276922 .wpforms-field-label-inline a:visited {
  color: #f4f4f4 !important;
}
/* Alle Checkboxen – siteweit */
input[type="checkbox"] {
  accent-color: #b5007c; /* Haken + Box in Magenta */
}

/* Fokus sichtbar (Barrierefreiheit) */
input[type="checkbox"]:focus-visible {
  outline: 2px solid #b5007c;
  outline-offset: 2px;
}

/* WPForms überstimmen (falls Plugin/Theme eigene Farben setzt) */
.wpforms-field input[type="checkbox"] {
  accent-color: #b5007c !important;
}
@supports not (accent-color: #000) {
  /* Basis-Styling */
  input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 1.1em;
    height: 1.1em;
    border: 2px solid #b5007c;
    border-radius: 3px;
    display: inline-grid;
    place-content: center;
    background: #fff;
    cursor: pointer;
  }

  /* Haken + Hintergrund im aktiven Zustand */
  input[type="checkbox"]:checked {
    background: #b5007c;
  }

  /* Der Haken (weiß) */
  input[type="checkbox"]:checked::after {
    content: "";
    width: 0.35em;
    height: 0.6em;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    margin-top: -0.1em;
  }

  /* Fokus sichtbar */
  input[type="checkbox"]:focus-visible {
    outline: 2px solid #b5007c;
    outline-offset: 2px;
  }

  /* Optional: disabled etwas entschärfen */
  input[type="checkbox"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
  }
}
/* Hover-Effekt nur für Formular 4395558 */
#wpforms-form-4395558 button.wpforms-submit:hover,
#wpforms-form-4395558 button.wpforms-submit:focus {
  background-color: #b5007c !important; /* Magenta-Hintergrund */
  color: #ffffff !important;            /* Weißer Text */
}

/* Sanfter Übergang */
#wpforms-form-4395558 button.wpforms-submit {
  transition: background-color 0.3s ease, color 0.3s ease;
}
#wpforms-276922-field_10 {
  color: #ffffff !important;
}
/* Label-Pseudo-Elemente für das Feld 6 im Formular 4394686 hart abschalten */
#wpforms-4394686 .wpforms-field-radio label::before,
#wpforms-4394686 .wpforms-field-radio label::after {
  content: none !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Robuster Radio-Style ohne ::before/::after – Safari/Edge-safe */
#wpforms-4394686 .wpforms-field-radio input[type="radio"]{
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 16px !important;
  height: 16px !important;
  border-radius: 50% !important;
  border: 1px solid #ccc !important;
  background: #fff !important;
  background-image: radial-gradient(#b5007c 0, #b5007c 6px, transparent 7px) !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 0 0 !important; /* ausgeblendet */
}
#wpforms-4394686 .wpforms-field-radio input[type="radio"]:checked{
  background-size: 12px 12px !important;    /* Punkt einblenden */
  border-color: #b5007c !important;
}
/* Fix: Divi überschreibt Radio-Größe → zurücksetzen */
.wpforms-container input[type="radio"] {
  width: auto !important;
  height: auto !important;
  display: inline !important;
  vertical-align: middle !important;
}
/* Punkt als nicht-skalierender Hintergrund (keine Pseudo-Elemente, kein transform) */
.wpforms-container .wpforms-field-radio input[type="radio"]{
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 16px !important; height: 16px !important;
  border-radius: 50% !important; border: 1px solid #ccc !important;
  background:#fff !important;
  background-image: radial-gradient(#b5007c 0, #b5007c 6px, transparent 7px) !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 0 0 !important;  /* nicht checked → unsichtbar */
  transition: none !important;      /* wichtig: keine Animation */
}
.wpforms-container .wpforms-field-radio input[type="radio"]:checked{
  background-size: 12px 12px !important;  /* erscheint, ohne Layout-Shift */
  border-color:#b5007c !important;
}
/* Greift für alle difl_wpforms_* Wrapper */
[class^="difl_wpforms_"] .wpforms-container .wpforms-form input[type="radio"]:checked::before,
[class^="difl_wpforms_"] .wpforms-container .wpforms-form input[type="radio"]:checked::after,
[class^="difl_wpforms_"] .wpforms-container .wpforms-form input[type="radio"]:focus::before {
  box-shadow: none !important;
  content: none !important;
  width: 0 !important; height: 0 !important;
  border: 0 !important;
  background: none !important;
  transform: none !important;
}
[class^="difl_wpforms_"] .wpforms-container .wpforms-form input[type="radio"]{
  transition: none !important;
}
/* Kleinerer innerer Punkt nur für Edge/Safari/Chrome */
#wpforms-4394686 .wpforms-field-radio input[type="radio"]{
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 16px !important; height: 16px !important;
  border-radius: 50% !important; border: 1px solid #ccc !important;
  background-color: #fff !important;
  background-image: radial-gradient(#b5007c 0, #b5007c 5px, transparent 6px) !important; /* kleinerer Kern */
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: 0 0 !important;  /* un-checked = unsichtbar */
  transition: none !important;
}

#wpforms-4394686 .wpforms-field-radio input[type="radio"]:checked{
  background-size: 8px 8px !important; /* statt 12px → deutlich kleiner */
  border-color: #b5007c !important;
}
/* FORM 4394686: native Radio, CI-Farbe – ohne künstliche Hintergründe */
#wpforms-4394686 .wpforms-field-radio input[type="radio"]{
  -webkit-appearance: radio !important; /* Safari explizit */
  appearance: auto !important;
  accent-color: #b5007c !important;

  /* Künstliche Punkte/Skins aus */
  background: transparent !important;
  background-image: none !important;
  background-size: 0 0 !important;
  box-shadow: none !important;
  transform: none !important;

  /* WICHTIG: keine harten Größen/Borders entfernen → Safari braucht die UA-Darstellung */
  width: auto !important;
  height: auto !important;
  display: inline !important;
  vertical-align: middle !important;

  /* Falls irgendwo border:0 !important gesetzt war → auf UA-Standard zurück */
  border: revert !important;         /* Safari/Moderne Browser */
  outline: revert !important;
}

/* Sicherheitsnetz nur für Safari, falls dein Setup 'revert' nicht versteht */
@supports (-webkit-appearance: radio) {
  #wpforms-4394686 .wpforms-field-radio input[type="radio"]{
    border: initial !important;      /* alternative Rücknahme */
    outline: initial !important;
  }
}
/* FORM 4394686: native Radio, CI-Farbe – ohne künstliche Hintergründe */
#wpforms-4394686 .wpforms-field-radio input[type="radio"]{
  -webkit-appearance: radio !important; /* Safari explizit */
  appearance: auto !important;
  accent-color: #b5007c !important;

  /* Künstliche Punkte/Skins aus */
  background: transparent !important;
  background-image: none !important;
  background-size: 0 0 !important;
  box-shadow: none !important;
  transform: none !important;

  /* WICHTIG: keine harten Größen/Borders entfernen → Safari braucht die UA-Darstellung */
  width: auto !important;
  height: auto !important;
  display: inline !important;
  vertical-align: middle !important;

  /* Falls irgendwo border:0 !important gesetzt war → auf UA-Standard zurück */
  border: revert !important;         /* Safari/Moderne Browser */
  outline: revert !important;
}

/* Sicherheitsnetz nur für Safari, falls dein Setup 'revert' nicht versteht */
@supports (-webkit-appearance: radio) {
  #wpforms-4394686 .wpforms-field-radio input[type="radio"]{
    border: initial !important;      /* alternative Rücknahme */
    outline: initial !important;
  }
}
/* Fix für WPForms Radio Buttons (Formular 4394686, Safari/Edge Bug) */
#wpforms-4394686 .wpforms-field-radio input[type="radio"] {
  /* Native Darstellung aktivieren */
  -webkit-appearance: radio !important;
  appearance: auto !important;
  
  /* Nur die Farbe ändern */
  accent-color: #b5007c !important;
  
  /* Alle künstlichen Überschreibungen entfernen */
  background: initial !important;
  background-image: initial !important;
  background-size: initial !important;
  box-shadow: initial !important;
  transform: initial !important;
  border: initial !important;
  outline: initial !important;
  
  /* Größe und Position zurücksetzen */
  width: initial !important;
  height: initial !important;
  display: initial !important;
  vertical-align: initial !important;
}

/* Pseudo-Elemente komplett entfernen */
#wpforms-4394686 .wpforms-field-radio input[type="radio"]::before,
#wpforms-4394686 .wpforms-field-radio input[type="radio"]::after {
  display: none !important;
  content: none !important;
}
/* Safari/Divi: Radios nativ, Divi-Skin neutralisiert (Form 4394686) */
.et-db #et-boc .et-l .et_pb_module div.wpforms-container-full .wpforms-form
#wpforms-4394686 .wpforms-field-radio input[type="radio"]{
  -webkit-appearance: radio !important;
  appearance: auto !important;
  accent-color: #b5007c !important;

  /* Divi-Skin aus */
  background: none !important;
  background-image: none !important;
  box-shadow: none !important;
  border: initial !important;

  /* fixe Maße von Divi entfernen */
  width: auto !important;
  height: auto !important;
  display: inline !important;
  vertical-align: middle !important;
  margin: 0 .5em 0 .25em !important;
}

/* --- 1. BRAND VARIABLEN & GRUNDWERTE --- */
:root {
    --brand-navy: #202a44;
    --brand-magenta: #b5007c;
    --brand-cyan: #00bcd4;
    --brand-bg-light: #f7f8fa;
    --brand-error-dark: #cc0000;
    --brand-error-soft: #fff5f5;
    --brand-border: #d1d5db;
}

/* --- 2. CONTAINER & CARD DESIGN --- */
.pro-form-container {
    background-color: #ffffff !important; /* Weiß für Kontrast auf transparentem Grund */
    color: var(--brand-navy);
    max-width: 500px;
    margin: 40px auto;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(32, 42, 68, 0.08); /* Seriöse Tiefe */
    font-family: inherit;
    box-sizing: border-box;
}

.pro-form-header {
    text-align: center;
    margin-bottom: 30px;
}

.pro-form-badge {
    border: 2px solid var(--brand-magenta);
    color: var(--brand-magenta);
    padding: 4px 18px;
    font-size: 12px;
    letter-spacing: 1px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 12px;
}

.pro-form-phone {
    font-size: 24px;
    color: var(--brand-navy);
    font-weight: 600;
}

/* --- 3. LAYOUT-FIX (Gegen Treppen-Effekt) --- */
.pro-form-field {
    margin-bottom: 24px;
    display: flex !important;      /* Erzwingt Flexbox-Stapelung */
    flex-direction: column !important; 
    width: 100%;
    clear: both;
}

.pro-form-field[style*="display: none"],
.pro-form-field[style*="display:none"] {
    display: none !important;
}

.pro-form-field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pro-form input:not([type="checkbox"]), 
.pro-form select, 
.pro-form textarea {
    width: 100% !important;        /* Volle Breite erzwingen */
    padding: 12px 16px;
    border: 1px solid var(--brand-border);
    background: var(--brand-bg-light);
    color: var(--brand-navy);
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box;        /* Padding wird eingerechnet */
    transition: all 0.2s ease;
}

/* Interaktion: Cyan Fokus */
.pro-form input:focus, .pro-form select:focus {
    border-color: var(--brand-cyan);
    box-shadow: 0 0 0 4px rgba(0, 188, 212, 0.15); /* Subtiler Glow */
    outline: none;
}

/* --- 4. DATENSCHUTZ & CHECKBOX --- */
.pro-form-privacy {
    margin: 25px 0;
    display: flex;
    flex-direction: column;
}

.pro-form-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
}

.pro-form-checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.pro-form-checkbox-label a {
    color: var(--brand-magenta);
    text-decoration: underline;
}

/* --- 5. ELEGANTE VALIDIERUNG --- */
.is-invalid {
    border-color: var(--brand-error-dark) !important;
    background-color: var(--brand-error-soft) !important; /* Weiches Rot */
}

.error-msg {
    color: var(--brand-error-dark);
    font-size: 12px;
    margin-top: 6px;
    font-weight: 500;
    display: none; /* Steuerung durch JS */
    align-items: center;
}

/* Icon vor Fehlermeldung */
.error-msg::before {
    content: "!";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px; height: 14px;
    background: var(--brand-error-dark);
    color: #fff;
    border-radius: 50%;
    margin-right: 8px;
    font-size: 10px;
}

/* --- 6. BUTTON & LOADING --- */
.pro-form-submit {
    width: 100%;
    padding: 16px;
    background-color: var(--brand-magenta);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(181, 0, 124, 0.2);
    transition: all 0.3s ease;
}

.pro-form-submit:hover {
    background-color: #d5007c;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(181, 0, 124, 0.3);
}

.is-loading {
    color: transparent !important;
    position: relative;
}

.is-loading::after {
    content: "";
    position: absolute;
    width: 24px; height: 24px;
    top: 50%; left: 50%;
    margin: -12px 0 0 -12px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: pro-spin 0.8s linear infinite;
}

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

/* --- 7. ERFOLGSMELDUNG --- */
.success-msg {
    text-align: center;
    padding: 40px 20px;
    color: var(--brand-navy);
}

.success-msg h3 {
    color: var(--brand-magenta);
    margin-bottom: 10px;
}
/* Multi-Step Animationen */
.is-multi-step .form-step { display: none; }
.is-multi-step .form-step.active { 
    display: block; 
    animation: slideIn 0.4s ease forwards; 
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Stepper */
.pro-stepper { margin-bottom: 20px; }
.stepper-bar { background: #eee; height: 4px; border-radius: 2px; margin-top: 5px; }
.stepper-progress { background: var(--brand-magenta); height: 100%; transition: width 0.3s; }

/* Upload Zone */
.upload-drop-zone {
    border: 2px dashed var(--brand-border);
    padding: 20px;
    text-align: center;
    border-radius: 6px;
    cursor: pointer;
}
.upload-drop-zone.dragover { border-color: var(--brand-cyan); background: rgba(0, 188, 212, 0.05); }

/* Navigation & Sticky Buttons */
.form-navigation {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

@media (max-width: 600px) {
    .form-navigation {
        position: sticky;
        bottom: 10px;
        background: #fff;
        padding: 10px 0;
        z-index: 10;
    }
}

.nav-btn {
    flex: 1;
    padding: 15px;
    border-radius: 6px;
    font-weight: 700;
    border: none;
    cursor: pointer;
}
.nav-btn.secondary { background: #e5e7eb; color: var(--brand-navy); }
.nav-btn.primary { background: var(--brand-magenta); color: #fff; }
.pro-form-row { display: flex; gap: 15px; margin-bottom: 15px; }
.upload-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 10px; }
.upload-box span { font-size: 12px; font-weight: bold; margin-bottom: 5px; display: block; }

.drop-zone {
    border: 2px dashed var(--brand-border);
    padding: 15px;
    text-align: center;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
}
.drop-zone:hover { border-color: var(--brand-magenta); background: #fffcfd; }
.upload-icon { font-size: 24px; }
.drop-zone p { font-size: 10px; margin: 5px 0 0; color: #666; }

.file-preview { margin-top: 8px; font-size: 11px; color: var(--brand-cyan); }

@media (max-width: 600px) {
    .pro-form-row, .upload-grid { grid-template-columns: 1fr; flex-direction: column; }
    .form-navigation { position: sticky; bottom: 0; background: #fff; padding: 10px; border-top: 1px solid #eee; }
}

/* --- CONDITIONAL FIELDS (PROGRESSIVE DISCLOSURE) --- */
/* Smooth transitions when fields appear/disappear */
#veranstalter-field[style*="block"],
#verspaetung-field[style*="block"] {
    animation: slideIn 0.3s ease-out;
    border-left: 3px solid var(--brand-magenta);
    padding-left: 12px;
    margin-top: 12px;
    background: #fafafa;
    border-radius: 4px;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form hints (friendly micro-copy) */
.form-hint {
    display: block;
    font-size: 0.85em;
    color: #666;
    margin-top: 4px;
    font-style: italic;
}

/* Datalist autocomplete styling */
datalist {
    display: none;
}

input::-webkit-calendar-picker-indicator {
    cursor: pointer;
}

/* Upload Progress Bar */
.upload-progress-container {
    width: 100%;
    height: 6px;
    background-color: #eee;
    border-radius: 4px;
    margin-top: 15px;
    overflow: hidden;
}

.upload-progress-bar {
    height: 100%;
    width: 0%;
    background-color: #b5007c; /* Kanzlei Magenta */
    transition: width 0.3s ease;
}