/* Schlangenöl-Index – Styles */

.soi-container *,
.soi-container *::before,
.soi-container *::after {
	box-sizing: border-box;
	white-space: normal;
}

.soi-container {
	max-width: 780px;
	margin: 2rem auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
	color: #1a1a2e;
	line-height: 1.6;
	white-space: normal !important;
	overflow-wrap: break-word;
	word-wrap: break-word;
}

/* Header */
.soi-header {
	text-align: center;
	margin-bottom: 2.5rem;
	padding: 2rem 1.5rem;
	background: linear-gradient(135deg, #1a2d52, #28488f, #1e3868);
	border-radius: 16px;
	color: #fff;
}

.soi-title {
	font-size: 2rem;
	margin: 0 0 0.75rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #F0C054;
}

.soi-subtitle {
	font-size: 1.05rem;
	margin: 0;
	opacity: 0.88;
	line-height: 1.5;
}

/* Form */
.soi-form {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

/* Question Cards */
.soi-question {
	border: 2px solid #e8e8f0;
	border-radius: 14px;
	padding: 1.5rem 1.75rem;
	margin: 0;
	background: #fff;
	transition: border-color 0.3s, box-shadow 0.3s;
	overflow: hidden;
	min-width: 0;
	box-sizing: border-box;
}

.soi-question:hover {
	border-color: #b8c4d8;
}

.soi-question.soi-answered {
	border-color: #28488f;
	box-shadow: 0 0 0 1px #28488f22;
}

.soi-legend {
	font-size: 1.15rem;
	font-weight: 700;
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	padding: 0;
	margin-bottom: 0.5rem;
	white-space: normal;
	max-width: 100%;
}

.soi-q-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 32px;
	background: #28488f;
	color: #fff;
	border-radius: 50%;
	font-size: 0.85rem;
	font-weight: 700;
	flex-shrink: 0;
}

.soi-hint {
	font-size: 0.9rem;
	color: #666;
	margin: 0.25rem 0 1rem;
	padding-left: 2.6rem;
	font-style: italic;
	overflow-wrap: break-word;
	word-wrap: break-word;
}

/* Options */
.soi-options {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	padding-left: 2.6rem;
}

.soi-option {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	padding: 0.75rem 1rem;
	border: 2px solid #e0e4ed;
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.2s;
	background: #f5f7fb;
}

.soi-option:hover {
	border-color: #28488f;
	background: #e8edf5;
}

.soi-option input[type="radio"] {
	margin-top: 0.2rem;
	accent-color: #28488f;
	flex-shrink: 0;
}

.soi-option-text {
	font-size: 0.95rem;
	white-space: normal;
	overflow-wrap: break-word;
	word-wrap: break-word;
}

.soi-option:has(input:checked) {
	border-color: #28488f;
	background: #dde3ef;
}

/* Submit */
.soi-submit-wrap {
	text-align: center;
	margin-top: 1rem;
}

.soi-submit-btn {
	background: #28488f;
	color: #F0C054;
	border: none;
	padding: 1rem 2.5rem;
	font-size: 1.15rem;
	font-weight: 700;
	border-radius: 12px;
	cursor: pointer;
	transition: transform 0.2s, box-shadow 0.2s;
	box-shadow: 0 4px 14px rgba(40, 72, 143, 0.35);
}

.soi-submit-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(40, 72, 143, 0.45);
}

.soi-submit-btn:active {
	transform: translateY(0);
}

/* Result */
.soi-result {
	margin-top: 2rem;
}

.soi-result-inner {
	border-radius: 16px;
	padding: 2.5rem 2rem;
	text-align: center;
	overflow: hidden;
	overflow-wrap: break-word;
	word-wrap: break-word;
}

.soi-result-inner.soi-level-low {
	background: linear-gradient(135deg, #dde8f4, #c5d5ea);
	border: 2px solid #28488f;
}

.soi-result-inner.soi-level-medium {
	background: linear-gradient(135deg, #fdf5dc, #F0C054aa);
	border: 2px solid #F0C054;
}

.soi-result-inner.soi-level-high {
	background: linear-gradient(135deg, #f8d7da, #f5c6cb);
	border: 2px solid #dc3545;
}

.soi-result-inner.soi-level-extreme {
	background: linear-gradient(135deg, #4a0000, #8b0000);
	border: 2px solid #ff0000;
	color: #fff;
}

/* Score Display */
.soi-score-display {
	margin-bottom: 1.5rem;
}

.soi-thermometer {
	width: 100%;
	max-width: 500px;
	height: 28px;
	background: #e0e0e0;
	border-radius: 14px;
	margin: 0 auto 1rem;
	overflow: hidden;
	position: relative;
}

.soi-thermometer-fill {
	height: 100%;
	border-radius: 14px;
	transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1), background 0.8s;
	width: 0%;
}

.soi-thermometer-fill.soi-fill-low {
	background: linear-gradient(90deg, #28488f, #3a6bbf);
}

.soi-thermometer-fill.soi-fill-medium {
	background: linear-gradient(90deg, #F0C054, #e0a82e);
}

.soi-thermometer-fill.soi-fill-high {
	background: linear-gradient(90deg, #ff5722, #dc3545);
}

.soi-thermometer-fill.soi-fill-extreme {
	background: linear-gradient(90deg, #dc3545, #8b0000);
}

.soi-score-number {
	font-size: 4rem;
	font-weight: 900;
	line-height: 1;
	margin-bottom: 0.25rem;
}

.soi-score-label {
	font-size: 1.3rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

/* Verdict */
.soi-verdict {
	font-size: 1.15rem;
	line-height: 1.65;
	margin: 1.5rem auto;
	max-width: 600px;
	text-align: left;
	overflow-wrap: break-word;
	word-wrap: break-word;
}

.soi-details {
	font-size: 0.95rem;
	margin: 1.5rem auto;
	max-width: 600px;
	text-align: left;
	padding: 1rem 1.25rem;
	background: rgba(255,255,255,0.5);
	border-radius: 10px;
	line-height: 1.6;
	overflow-wrap: break-word;
	word-wrap: break-word;
}

.soi-level-extreme .soi-details {
	background: rgba(0,0,0,0.25);
}

/* CTA */
.soi-reset-btn {
	background: #fff;
	color: #333;
	border: 2px solid #ccc;
	padding: 0.7rem 2rem;
	font-size: 1rem;
	font-weight: 600;
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.2s;
	margin-top: 1rem;
}

.soi-reset-btn:hover {
	border-color: #28488f;
	color: #28488f;
}

/* Disclaimer */
.soi-disclaimer {
	font-size: 0.82rem;
	color: #888;
	margin-top: 1.5rem;
	line-height: 1.5;
}

.soi-level-extreme .soi-disclaimer {
	color: #ccc;
}

/* Responsive */
@media (max-width: 600px) {
	.soi-container {
		margin: 1rem;
	}

	.soi-title {
		font-size: 1.5rem;
	}

	.soi-question {
		padding: 1.25rem 1rem;
	}

	.soi-hint,
	.soi-options {
		padding-left: 0;
	}

	.soi-legend {
		font-size: 1.05rem;
	}

	.soi-score-number {
		font-size: 3rem;
	}
}

/* Animation */
@keyframes soi-shake {
	0%, 100% { transform: translateX(0); }
	10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
	20%, 40%, 60%, 80% { transform: translateX(4px); }
}

.soi-question.soi-shake {
	animation: soi-shake 0.5s ease;
	border-color: #dc3545;
}

@keyframes soi-fadeIn {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}

.soi-result[data-visible="true"] {
	animation: soi-fadeIn 0.6s ease;
}
