body { 
		font-family: sans-serif; padding-left: 0rem;
}

input[type="text"] {
		font-size: 1.2rem;
		padding: 0.5rem;
		width: 100px;
}

#ergebnis {
		margin-top: 1rem;
		#old_font-size: 1.1rem;
}

.section {
		margin-bottom: 1.5rem;
}

#main {
		padding-left: 0rem;
		padding-top: 20px;
		margin: 0 auto;
		max-width: 90%;
}


input[type="radio"] {
		transform: scale(2.0);
		margin-right: 10px;
		cursor: pointer;
}

label {
		font-size: 20px;
		cursor: pointer;
	}

.thumbnail {
		width: 160px;
		height: auto;
		cursor: pointer;
		margin-top: 10px;
		border: 1px solid #ccc;
		border-radius: 5px;
	}
	
.thumbnail.aktiv {
		old_box-shadow: 0 0 15px 5px #8DB3FB;
 	 border: 3px solid rgb(33, 191, 33);
 	 border-radius: 8px;
}

.modal {
		display: none;
		position: fixed;
		z-index: 999;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		background-color: rgba(0,0,0,0.8);
	}

.modal-content {
		display: block;
		margin: 5% auto;
		max-width: 80%;
		max-height: 80%;
	}

.close {
		position: absolute;
		right: 30px;
		top: 20px;
		font-size: 30px;
		color: white;
		cursor: pointer;
	}
	
#plz {
		font-size: 3.0rem;
		padding: 10px;
		width: 175px;
		border-radius: 6px;
		border: 1px solid #ccc;
		box-sizing: border-box;
}
	
	
	/* Container für alle Radio-Karten */
.radio-container {
		display: flex;
		flex-wrap: wrap;
		gap: 20px; /* Abstand zwischen den Karten */
}

/* Einzelne Karte */
.radio-card {
		width: 48%;
		old_height: 35px;
		display: flex;
		align-items: center;
		border: 2px solid #ccc;
		border-radius: 6px;
		padding: 12px 16px;
		box-shadow: 0 2px 5px rgba(0,0,0,0.05);
		transition: all 0.3s ease;
		background-color: #fff;
		cursor: pointer;
		gap: 10px;
}



.radio-card {
		position: relative;
		overflow: hidden; /* Begrenzung für das ::before-Element */
		border: 2px solid #ccc;
		border-radius: 6px;
		padding: 1rem;
		transition: all 0.3s ease;
		background: #fff;
}

/* Style wenn aktiv (per :has, nur moderne Browser) */
.radio-card:has(input[type="radio"]:checked) {
		border-color: #28a745;
		old_background-color: #f7f7f7;
		box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.3);
}

/* Der schmale Balken */
.radio-card:has(input[type="radio"]:checked)::before {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 6px;
		background: #28a745;
		old_transform: skewX(89deg); /* nur leichte optische Schrägung */
		clip-path: polygon(0 0, 100% 0, 100% 100%, 0 0);
		transform-origin: top left;
		z-index: 1;
}


@media (min-width: 1110px) {
		.radio-card {
				width: 20%;
		}
}

@media (max-width: 538px) {
		.radio-card {
				width: 90%;
		}
}

/* Hover-Effekt */
.radio-card:hover {
		border-color: #888;
		box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Radio sichtbar lassen */
.radio-card input[type="radio"] {
		accent-color: #28a745;
		width: 20px;
		height: 20px;
		flex-shrink: 0;
		display: none;
}

/* Stil für aktives Element */
.radio-card input[type="radio"]:checked + span {
		old_font-weight: bold;
		old_color: #28a745;
}