/* Vertragscheck Page Styles */

.vc-page {
	background: #ffffff;
	min-height: 100vh;
}

.vc-hero {
	padding: clamp(40px, 6vw, 90px) 0;
	background: var(--vc-gradient-hero);
}

.vc-hero .container.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
	gap: clamp(22px, 3.2vw, 34px);
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.vc-hero .hero-copy h1 {
	margin: 0 0 14px;
	font-size: clamp(2rem, 3vw, 2.6rem);
	color: var(--vc-text);
	line-height: 1.1;
}

.vc-hero .hero-copy .lead {
	margin: 0 0 18px;
	color: var(--vc-muted);
	font-size: clamp(1rem, 2.2vw, 1.15rem);
	line-height: 1.6;
	max-width: 680px;
}

.vc-hero .eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 800;
	color: var(--vc-brand);
	margin: 0 0 10px;
	font-size: 0.95rem;
}

.vc-hero .hero-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 10px;
}

.vc-hero .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 18px;
	border-radius: 12px;
	font-weight: 700;
	text-decoration: none;
}

.vc-hero .btn.primary {
	background: var(--vc-gradient-btn);
	color: #fff;
	box-shadow: var(--vc-shadow-btn);
}

.vc-hero .btn.ghost {
	color: var(--vc-brand);
	border: 1px solid var(--vc-border-brand);
	background: var(--vc-surface);
}

.vc-hero .hero-highlight {
	background: rgba(255, 255, 255, 0.9);
	border-radius: 16px;
	padding: clamp(18px, 2vw, 24px);
	box-shadow: var(--vc-shadow-lg);
	border: 1px solid var(--vc-border-soft);
	max-width: 420px;
	width: 100%;
	justify-self: end;
	position: relative;
	overflow: hidden;
}

.vc-hero .hero-highlight::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(140% 120% at 20% 20%, rgba(37, 99, 235, 0.08), transparent 50%),
		radial-gradient(120% 120% at 90% 30%, rgba(37, 99, 235, 0.06), transparent 60%);
	opacity: 0.7;
}

.vc-hero .stat-title {
	margin: 0 0 10px;
	font-size: 1rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--vc-muted);
}

.vc-hero .hero-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.vc-hero .hero-steps li {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 8px 12px;
	padding: 10px 12px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.7);
	border: 1px solid var(--vc-border-soft);
	box-shadow: 0 6px 18px rgba(15, 16, 32, 0.05);
	position: relative;
	z-index: 1;
}

.vc-hero .hero-steps .bullet {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--vc-gradient-btn);
	color: #fff;
	display: grid;
	place-items: center;
	font-weight: 800;
	font-size: 0.95rem;
}

.vc-hero .hero-steps strong {
	display: inline-block;
	color: var(--vc-text);
	font-size: 1.05rem;
}

.vc-hero .hero-steps span {
	display: block;
	color: var(--vc-muted);
	line-height: 1.45;
}

@media (max-width: 900px) {
	.vc-hero .container.hero-grid {
		grid-template-columns: 1fr;
	}

	.vc-hero .hero-highlight {
		order: 2;
		justify-self: center;
		margin: 0 auto;
	}
}

/* Steps in Hero Section */
.vc-steps-in-hero {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(20px, 3vw, 30px);
	margin-top: clamp(20px, 4vw, 40px);
	position: relative;
	z-index: 10;
}

.vc-steps-in-hero .card {
	background: var(--vc-surface);
	border: 1px solid var(--vc-border);
	border-radius: 16px;
	padding: clamp(18px, 2.6vw, 30px);
	text-align: center;
	box-shadow: var(--vc-shadow-sm);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	position: relative;
	min-height: 240px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 10px;
}

.vc-steps-in-hero .card:hover {
	transform: translateY(-8px);
	box-shadow: var(--vc-shadow-hover);
	border-color: var(--vc-border-brand);
}

.vc-steps-in-hero .card h3 {
	font-size: clamp(1.1rem, 2vw, 1.3rem);
	font-weight: 700;
	color: var(--vc-text);
	margin-bottom: 12px;
	position: relative;
}

.vc-steps-in-hero .card h3::before {
	content: '';
	position: absolute;
	top: -8px;
	left: 50%;
	transform: translateX(-50%);
	width: 40px;
	height: 3px;
	background: var(--vc-gradient-btn);
	border-radius: 2px;
}

.vc-steps-in-hero .card p {
	font-size: clamp(0.9rem, 1.5vw, 1rem);
	color: var(--vc-muted);
	line-height: 1.5;
	margin: 0;
}

/* Tablet: Steps in Hero */
@media (max-width: 900px) and (min-width: 601px) {
	.vc-steps-in-hero {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}

	.vc-steps-in-hero .card:last-child {
		grid-column: 1 / -1;
		max-width: 50%;
		margin: 0 auto;
	}
}

@media (max-width: 600px) {
	.vc-steps-in-hero {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.vc-steps-in-hero .card {
		min-height: auto;
	}
}

.vc-steps {
	padding: 30px 0;
	background: var(--vc-surface);
}

.vc-steps .grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	max-width: 900px;
	margin: 0 auto;
}

.vc-steps .card {
	background: var(--vc-surface);
	padding: 20px;
	border-radius: 12px;
	box-shadow: var(--vc-shadow-sm);
	border: 1px solid var(--vc-border);
	text-align: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vc-steps .card:hover {
	transform: translateY(-3px);
	box-shadow: var(--vc-shadow-hover);
}

.vc-steps .card h3 {
	color: var(--vc-brand);
	font-size: 1.2rem;
	margin-bottom: 0.8rem;
	font-weight: 600;
}

.vc-steps .card p {
	color: var(--vc-muted);
	line-height: 1.5;
	margin: 0;
	font-size: 0.95rem;
}

/* Upload Form Section */
.vc-upload-form {
	padding: 40px 0;
	background: var(--vc-surface);
}

.form-container {
	max-width: 800px;
	margin: 0 auto;
	background: var(--vc-surface);
	padding: 30px;
	border-radius: 16px;
	box-shadow: var(--vc-shadow-sm);
	border: 1px solid var(--vc-border);
}

.form-container h2 {
	color: var(--vc-brand);
	font-size: 1.8rem;
	margin-bottom: 0.8rem;
	text-align: center;
	font-weight: 600;
}

.form-description {
	text-align: center;
	color: var(--vc-muted);
	font-size: 1rem;
	margin-bottom: 30px;
	line-height: 1.5;
}

.vertragscheck-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.form-section {
	background: var(--vc-surface-soft);
	padding: 20px;
	border-radius: 12px;
	border: 1px solid var(--vc-border);
}

.form-section h3 {
	color: var(--vc-brand);
	font-size: 1.3rem;
	margin-bottom: 20px;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 10px;
}

.form-section h3::before {
	content: '';
	width: 4px;
	height: 20px;
	background: var(--vc-brand);
	border-radius: 2px;
}

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 20px;
}

.form-row:last-child {
	margin-bottom: 0;
}

.form-field {
	display: flex;
	flex-direction: column;
}

.form-field label {
	color: var(--vc-text);
	font-weight: 600;
	margin-bottom: 8px;
	font-size: 0.95rem;
}

.form-field input,
.form-field textarea {
	padding: 14px 16px;
	border: 2px solid rgba(37, 99, 235, 0.2);
	border-radius: 12px;
	font-size: 1rem;
	font-family: inherit;
	background: var(--vc-surface);
	transition: all 0.3s ease;
	box-sizing: border-box;
}

.form-field input:focus,
.form-field textarea:focus {
	outline: none;
	border-color: var(--vc-brand);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-field textarea {
	resize: vertical;
	min-height: 100px;
	line-height: 1.5;
}

/* Upload Fields */
.upload-info {
	color: var(--vc-muted);
	font-size: 0.95rem;
	margin-bottom: 20px;
	font-style: italic;
}

.upload-fields {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.upload-field {
	display: flex;
	flex-direction: column;
}

.upload-field label {
	color: var(--vc-text);
	font-weight: 600;
	margin-bottom: 8px;
	font-size: 0.95rem;
}

.file-upload {
	position: relative;
}

.file-upload input[type="file"] {
	position: absolute;
	opacity: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
}

.file-upload-display {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 20px;
	background: var(--vc-surface);
	border: 2px dashed rgba(37, 99, 235, 0.3);
	border-radius: 12px;
	cursor: pointer;
	transition: all 0.3s ease;
	min-height: 60px;
}

.file-upload-display:hover {
	border-color: var(--vc-brand);
	background: var(--vc-surface-soft);
}

.file-upload-display.has-file {
	border-color: var(--vc-brand);
	background: var(--vc-surface-soft);
	border-style: solid;
}

.file-icon {
	font-size: 1.5rem;
	flex-shrink: 0;
}

.file-text {
	color: var(--vc-muted);
	font-weight: 500;
}

.file-name {
	color: var(--vc-brand);
	font-weight: 600;
	margin-left: auto;
	text-align: right;
	max-width: 200px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.upload-file-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 12px;
}

.upload-file {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 12px;
	background: var(--vc-surface);
	border: 1px solid var(--vc-border);
	border-radius: 10px;
	font-size: 0.95rem;
}

.upload-file-name {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.upload-remove {
	border: none;
	background: transparent;
	color: var(--vc-brand);
	font-weight: 700;
	font-size: 1.1rem;
	cursor: pointer;
	line-height: 1;
}

.upload-remove:hover {
	color: var(--vc-brand-dark);
}

.upload-progress {
	margin-top: 12px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.upload-progress-label {
	display: flex;
	justify-content: space-between;
	color: var(--vc-muted);
	font-size: 0.9rem;
}

.upload-progress-bar {
	width: 100%;
	height: 12px;
}

/* Privacy Section */
.privacy-section {
	background: var(--vc-surface);
	padding: 20px;
	border-radius: 12px;
	border: 1px solid rgba(37, 99, 235, 0.2);
}

.checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	cursor: pointer;
	line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
	display: none;
}

.checkmark {
	width: 20px;
	height: 20px;
	border: 2px solid rgba(37, 99, 235, 0.3);
	border-radius: 4px;
	background: var(--vc-surface);
	flex-shrink: 0;
	position: relative;
	transition: all 0.3s ease;
	margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
	background: var(--vc-brand);
	border-color: var(--vc-brand);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
	content: '✓';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: white;
	font-size: 12px;
	font-weight: bold;
}

.checkbox-text {
	color: var(--vc-text);
	font-size: 0.95rem;
	line-height: 1.5;
}

.privacy-link {
	color: var(--vc-brand);
	text-decoration: none;
	font-weight: 600;
	border-bottom: 1px solid transparent;
	transition: border-color 0.3s ease;
}

.privacy-link:hover {
	border-bottom-color: var(--vc-brand);
}

/* Form Actions */
.form-actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--vc-border);
}

.btn.primary {
	background: var(--vc-gradient-btn);
	color: white;
	padding: 16px 32px;
	border-radius: 12px;
	font-weight: 700;
	font-size: 1.1rem;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: var(--vc-shadow-btn);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 200px;
	justify-content: center;
}

.btn.primary:hover:not(:disabled) {
	transform: translateY(-2px);
	box-shadow: var(--vc-shadow-btn);
}

.btn.primary:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

.form-status {
	font-size: 0.95rem;
	font-weight: 500;
	text-align: center;
	padding: 12px 20px;
	border-radius: 8px;
	min-height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.form-status.success {
	background: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

.form-status.error {
	background: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

.form-status.loading {
	background: #d1ecf1;
	color: #0c5460;
	border: 1px solid #bee5eb;
}

/* Info Section */
.vc-info {
	padding: 40px 0;
	background: linear-gradient(135deg, var(--vc-surface-soft) 0%, #e8ecff 100%);
}

.info-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	max-width: 900px;
	margin: 0 auto;
}

.info-card {
	background: var(--vc-surface);
	padding: 25px 20px;
	border-radius: 16px;
	text-align: center;
	box-shadow: var(--vc-shadow-sm);
	border: 1px solid var(--vc-border);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--vc-shadow-hover);
}

.info-icon {
	font-size: 2.5rem;
	margin-bottom: 15px;
	display: block;
}

.info-card h3 {
	color: var(--vc-brand);
	font-size: 1.1rem;
	margin-bottom: 10px;
	font-weight: 600;
}

.info-card p {
	color: var(--vc-muted);
	line-height: 1.5;
	margin: 0;
	font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
	.vc-hero {
		padding: clamp(20px, 4vw, 40px) clamp(15px, 4vw, 30px);
		min-height: 300px;
	}

	.vc-hero .container {
		padding: clamp(20px, 3vw, 30px);
	}

	.vc-hero h1 {
		font-size: clamp(1.6rem, 3vw, 2.2rem);
	}

	.vc-hero .lead {
		font-size: clamp(1rem, 2vw, 1.2rem);
	}

	.vc-steps {
		padding: 20px 0;
	}

	.vc-upload-form {
		padding: 30px 0;
	}

	.form-container {
		padding: 20px;
		margin: 0 15px;
	}

	.form-container h2 {
		font-size: 1.5rem;
	}

	.form-row {
		grid-template-columns: 1fr;
		gap: 15px;
	}

	.form-section {
		padding: 15px;
	}

	.vc-steps .grid {
		grid-template-columns: 1fr;
		gap: 15px;
	}

	.info-grid {
		grid-template-columns: 1fr;
		gap: 15px;
	}

	.btn.primary {
		width: 100%;
		max-width: 300px;
	}
}

@media (max-width: 480px) {
	.vc-hero {
		padding: clamp(15px, 3vw, 25px) clamp(10px, 3vw, 20px);
		min-height: 250px;
	}

	.vc-hero .container {
		padding: clamp(15px, 2.5vw, 25px);
	}

	.vc-hero h1 {
		font-size: clamp(1.4rem, 2.5vw, 1.8rem);
	}

	.vc-hero .lead {
		font-size: clamp(0.9rem, 1.8vw, 1.1rem);
	}

	.form-container {
		margin: 0 10px;
		padding: 15px;
	}

	.form-container h2 {
		font-size: 1.3rem;
	}

	.form-section {
		padding: 12px;
	}

	.file-upload-display {
		padding: 12px 16px;
		min-height: 50px;
	}

	.file-icon {
		font-size: 1.2rem;
	}

	.info-card {
		padding: 20px 15px;
	}

	.info-icon {
		font-size: 2rem;
	}

	/* Mobile: Hero optimieren */
	.vc-hero {
		min-height: 500px;
		padding: clamp(40px, 8vw, 80px) clamp(16px, 4vw, 32px);
		background-attachment: scroll;
		background-size: cover;
	}

	.vc-hero h1 {
		font-size: clamp(1.5rem, 5vw, 2rem);
	}

	.vc-hero .lead {
		font-size: clamp(1rem, 4vw, 1.2rem);
	}

	/* Mobile: Steps in Hero */
	.vc-steps-in-hero {
		grid-template-columns: 1fr;
		gap: 16px;
		margin-top: 30px;
	}

	.vc-steps-in-hero .card {
		padding: 20px 16px;
	}

	.vc-steps-in-hero .card h3 {
		font-size: 1.1rem;
	}

	.vc-steps-in-hero .card p {
		font-size: 0.9rem;
	}
}

/* Utility */
.vc-page .container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}
