/*
 Theme Name: Parlament
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Divi Child Theme
 Author: Elegant Themes
 Author URI: https://www.elegantthemes.com
 Template: Divi
 Version: 1.0.0
*/

/* =Theme customization starts here
------------------------------------------------------- */
/* Gelb = FFCC00, Rot = AE0F0A, Grau = 27303a

/* Nur für Radio-Felder mit Klasse .auswahl */
.gfield.auswahl .gfield_radio {
  display: flex;
  flex-direction: row;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
}

/* Jede Wahl als Inline-Flex-Element */
.gfield.auswahl .gchoice {
  display: inline-flex;
  align-items: stretch;
  flex: 0 0 auto; /* Verhindert Dehnung über ganze Breite */
}

/* Radio-Eingabe ausblenden */
.gfield.auswahl input[type="radio"] {
  display: none;
}

/* Labels als Buttons */
.gfield.auswahl label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 2px solid #ccc;
  border-radius: 8px;
  background-color: #FFCC00;
  color: #27303a;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  min-width: 180px; /* gleichmäßige Breite */
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}


/* Hover-Effekt */
.gfield.auswahl label:hover {
  background-color: #eee;
  border-color: #bbb;
}

/* Aktiver Button (checked) */
.gfield.auswahl input[type="radio"]:checked + label {
  background-color: #b4001e; /* kräftiges Rot */
  border-color: #b4001e;
  color: #fff;
  box-shadow: 0 3px 6px rgba(180, 0, 30, 0.3);
}

/* Fokuszustand */
.gfield.auswahl input[type="radio"]:focus + label {
  outline: 3px solid rgba(180, 0, 30, 0.25);
}

/* Erster Button ohne linken Abstand */
.gfield.auswahl label:first-child, #label_1_1_0 {
  margin-left: 0 !important;
}



/* Responsiv: auf kleinen Bildschirmen umbrechen */
@media (max-width: 600px) {
  .gfield.auswahl .gchoice {
    flex: 1 1 100%;
	
  }
  .gfield.auswahl label {
	  margin-left:0!important;
  }
  
}
