/* ═══════════════════════════════════════════
   Foto-Schnellcheck als dunkle Karte mit Handy-Ansicht; das Formular klappt direkt in der Karte auf.
   Genutzt auf der Startseite und der Lidstraffungs-Seite (seit 24.10.2026); Logik in js/foto-check.js
   ═══════════════════════════════════════════ */

/* ── Karte ── */
.fc-band { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.fc-karte {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
	padding: clamp(2rem, 4.5vw, 3.75rem);
	border-radius: var(--radius-xl);
	background: #2A2320;
	color: #FAF8F5;
	overflow: hidden;
	box-shadow: 0 40px 80px -50px rgba(42, 35, 32, 0.85);
}
/* Warmes Licht hinter dem Handy */
.fc-karte::before { content: ''; position: absolute; right: -12%; top: -35%; width: 62%; height: 170%; background: radial-gradient(closest-side, rgba(196, 169, 125, 0.2), rgba(196, 169, 125, 0)); pointer-events: none; }
.fc-text { position: relative; z-index: 1; }
.fc-text .section-label { color: var(--color-accent-gold); }
.fc-text .section-label::before { background: var(--color-accent-gold); }
.fc-titel { font-size: clamp(2rem, 3.6vw, 2.9rem); letter-spacing: -0.02em; color: #FAF8F5; margin-bottom: 0.9rem; }
.fc-intro { color: rgba(250, 248, 245, 0.72); line-height: 1.7; max-width: 50ch; margin: 0 0 1.9rem; }
.fc-schritte { list-style: none; margin: 0 0 2.1rem; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.fc-schritte li { padding-top: 1rem; border-top: 1px solid rgba(250, 248, 245, 0.16); font-size: 0.88rem; line-height: 1.5; color: rgba(250, 248, 245, 0.86); }
.fc-schritte span { display: block; font: 400 1.7rem/1 var(--font-display); color: var(--color-accent-gold); margin-bottom: 0.5rem; }
.fc-knopf { min-height: 54px; padding-left: 1.6rem; padding-right: 1.8rem; }
.fc-meta { margin: 0.9rem 0 0; font-size: 0.8rem; color: rgba(250, 248, 245, 0.55); }

.fc-bild { position: relative; z-index: 1; min-height: 400px; display: flex; align-items: center; justify-content: center; }
.fc-telefon {
	position: relative;
	width: min(236px, 72%);
	aspect-ratio: 9 / 16;
	padding: 8px;
	border-radius: 32px;
	background: #1E1916;
	box-shadow: 0 0 0 1px rgba(196, 169, 125, 0.35), 0 34px 60px -22px rgba(0, 0, 0, 0.75);
	transform: rotate(-4deg);
}
.fc-telefon img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; border-radius: 24px; display: block; }
/* Kamera-Rahmen um das Gesicht */
.fc-ecken {
	--g: rgba(250, 248, 245, 0.92);
	position: absolute;
	inset: 17% 20% 44%;
	background:
		linear-gradient(var(--g), var(--g)) top left / 22px 2px no-repeat, linear-gradient(var(--g), var(--g)) top left / 2px 22px no-repeat,
		linear-gradient(var(--g), var(--g)) top right / 22px 2px no-repeat, linear-gradient(var(--g), var(--g)) top right / 2px 22px no-repeat,
		linear-gradient(var(--g), var(--g)) bottom left / 22px 2px no-repeat, linear-gradient(var(--g), var(--g)) bottom left / 2px 22px no-repeat,
		linear-gradient(var(--g), var(--g)) bottom right / 22px 2px no-repeat, linear-gradient(var(--g), var(--g)) bottom right / 2px 22px no-repeat;
}
.fc-status { position: absolute; left: 50%; top: 22px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 0.4rem; white-space: nowrap; padding: 0.5rem 0.85rem; border-radius: var(--radius-pill); background: rgba(30, 25, 22, 0.8); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font: 500 0.75rem/1 var(--font-body); color: #FAF8F5; }
.fc-status svg { width: 14px; height: 14px; color: var(--color-accent-gold); }
.fc-arzt { position: absolute; left: 0; bottom: 9%; display: flex; align-items: center; gap: 0.75rem; max-width: 250px; padding: 0.6rem 1rem 0.6rem 0.6rem; border-radius: 16px; background: #FAF8F5; box-shadow: 0 22px 40px -18px rgba(0, 0, 0, 0.65); }
.fc-arzt img { width: 46px; height: 46px; flex: none; border-radius: 50%; object-fit: cover; object-position: center 15%; }
.fc-arzt span { font-size: 0.78rem; line-height: 1.35; color: var(--color-text-soft); }
.fc-arzt b { display: block; font-size: 0.86rem; font-weight: 600; color: var(--color-text); }

/* Einmaliges Hereingleiten, sobald die Karte im Bild ist (Klassen setzt js/startseite.js) */
.fc-karte.fc-wartet .fc-telefon, .fc-karte.fc-wartet .fc-arzt { opacity: 0; }
.fc-karte.ist-sichtbar .fc-telefon { animation: fcTelefon 1s var(--ease-out) both; }
.fc-karte.ist-sichtbar .fc-arzt { animation: fcArzt 0.6s var(--ease-out) 0.5s both; }
@keyframes fcTelefon { from { opacity: 0; transform: translateY(40px) rotate(3deg); } to { opacity: 1; transform: rotate(-4deg); } }
@keyframes fcArzt { from { opacity: 0; transform: translateY(14px) scale(0.96); } to { opacity: 1; transform: none; } }

@media (max-width: 768px) {
	.dark-mobile .fc-band { background: #1E1916; }
	.fc-band { padding: 2.5rem 0; }
	.fc-karte { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding: 1.75rem 1.25rem 1.6rem; border-radius: var(--radius-lg); border: 1px solid rgba(196, 169, 125, 0.14); }
	.fc-bild { order: -1; min-height: 0; height: 270px; }
	.fc-telefon { width: 148px; border-radius: 24px; padding: 6px; }
	.fc-telefon img { border-radius: 18px; }
	.fc-status { top: 14px; font-size: 0.68rem; padding: 0.4rem 0.65rem; }
	.fc-arzt { left: 2%; bottom: 4%; max-width: 205px; padding: 0.5rem 0.8rem 0.5rem 0.5rem; }
	.fc-arzt img { width: 38px; height: 38px; }
	.fc-arzt span { font-size: 0.72rem; }
	.fc-titel { font-size: 2rem; }
	.fc-intro { font-size: 0.95rem; margin-bottom: 1.4rem; }
	.fc-schritte { grid-template-columns: minmax(0, 1fr); gap: 0.15rem; margin-bottom: 1.6rem; }
	.fc-schritte li { display: flex; align-items: center; gap: 0.85rem; padding: 0.7rem 0; }
	.fc-schritte span { margin: 0; width: 1.4rem; font-size: 1.4rem; }
	.fc-knopf { width: 100%; justify-content: center; }
	.fc-meta { text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
	.fc-karte.ist-sichtbar .fc-telefon, .fc-karte.ist-sichtbar .fc-arzt { animation: none; }
	.fc-karte.fc-wartet .fc-telefon, .fc-karte.fc-wartet .fc-arzt { opacity: 1; }
}


/* ── Formular in der Karte ── */
.fc-formular { grid-column: 1 / -1; display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.6s var(--ease-out); }
.fc-formular[hidden] { display: none; }
.fc-karte.formular-offen .fc-formular { grid-template-rows: 1fr; }
.fc-formular-innen { min-height: 0; overflow: hidden; }
.fc-formular-panel { position: relative; z-index: 1; margin-top: 0.25rem; padding: clamp(1.4rem, 3vw, 2.25rem); border-radius: 18px; background: #FAF8F5; color: var(--color-text); }
.fc-formular-kopf { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.fc-formular-kopf h3 { font-size: 1.7rem; color: var(--color-text); margin: 0; }
.fc-schliessen { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--color-border); background: transparent; color: var(--color-text-soft); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.fc-schliessen:hover { background: var(--color-bg-warm); }
.fc-schliessen:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.fc-formular .consult-success { padding: 1.5rem 0.5rem; }
.fc-karte.formular-offen .fc-knopf, .fc-karte.formular-offen .fc-meta { display: none; }
@media (max-width: 768px) {
	.fc-formular-panel { padding: 1.25rem 1rem; border-radius: 14px; }
	.fc-formular-kopf h3 { font-size: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) { .fc-formular { transition: none; } }

/* Variante Augenpartie (Lidstraffung): Kamera-Rahmen um das Auge */
.fc-auge .fc-telefon img { object-position: 50% 50%; }
.fc-auge .fc-ecken { inset: 34% 12% 34%; }
