/* ==========================================================
   components.css - Buttons, Karten, Slider, Formular-Override
   ========================================================== */

.btn{
	display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
	padding: .95rem 1.7rem;
	border-radius: var(--radius);
	font-family: var(--font-display);
	font-weight: 600; font-size: .95rem;
	text-decoration: none; border: 1px solid transparent;
	min-height: 44px;
	cursor: pointer;
	transition: transform .15s ease-out, background-color .2s ease-out, border-color .2s ease-out, box-shadow .2s ease-out;
}
.btn:active{ transform: scale(0.98); }
.btn--accent{ background: var(--accent-ink); color: #fff; }
.btn--accent:hover{ background: #8a3f12; box-shadow: var(--shadow-sm); }
.btn--ghost{ background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover{ border-color: var(--accent-ink); color: var(--accent-ink); }

.link-arrow{ display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--accent-ink); text-decoration: none; }
.link-arrow .icon{ transition: transform .2s ease-out; width: 1.1em; height: 1.1em; }
.link-arrow:hover .icon{ transform: translateX(4px); }

/* ---------- Slider ---------- */
.slider{ position: relative; margin-top: var(--space-sm); }
.slider__track{
	display: flex; gap: 1.5rem; overflow-x: auto;
	scroll-snap-type: x mandatory; scroll-behavior: smooth;
	padding-bottom: .75rem; margin: 0 calc(var(--container) * -0 / 2);
	-webkit-overflow-scrolling: touch;
}
.slide{
	scroll-snap-align: start; flex: 0 0 min(620px, 84vw);
	background: var(--bg-raised); border-radius: var(--radius);
	overflow: hidden; box-shadow: var(--shadow-sm);
}
.slide__media{ aspect-ratio: 16 / 10; overflow: hidden; background: var(--line); }
.slide__media img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.slide__caption{ padding: 1.4rem 1.6rem; }
.slide__caption h3{ font-size: var(--step-1); margin-bottom: .35rem; }
.slider__dots{ display: flex; gap: .55rem; justify-content: center; margin-top: 1.5rem; }
.slider__dots button{
	width: 9px; height: 9px; border-radius: var(--radius-feature);
	border: none; background: var(--line); padding: 0; cursor: pointer;
	transition: background-color .2s ease-out, transform .2s ease-out;
}
.slider__dots button.is-active{ background: var(--accent-ink); transform: scale(1.3); }

/* ---------- Spezifikations-Tabelle ---------- */
.specs-grid{ border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-raised); margin-top: var(--space-sm); }
.specs-row{ display: grid; grid-template-columns: 1fr 2fr; gap: 1.5rem; padding: 1.1rem 1.6rem; border-top: 1px solid var(--line); }
.specs-row:first-child{ border-top: none; }
.specs-row--head{ background: var(--primary); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.specs-row span:first-child{ font-weight: 600; }
.specs-row p{ max-width: none; margin: 0; }
@media (max-width: 600px){
	.specs-row{ grid-template-columns: 1fr; gap: .2rem; }
	.specs-row:not(.specs-row--head) span:first-child{ color: var(--accent-ink); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
}

/* ---------- Prozess-Schritte ---------- */
.process-steps{ display: flex; flex-wrap: wrap; gap: 2.5rem 3rem; margin-top: 2.75rem; }
.process-step{ display: flex; flex-direction: column; gap: .35rem; flex: 1 1 170px; }
.process-step__n{ font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; color: var(--accent); line-height: 1; }
.process-step__l{ font-size: .95rem; color: rgba(255,255,255,.85); }

/* ---------- Leistungs-Karten (Feature + Liste, keine gleichspaltige Reihe) ---------- */
.service-feature{ background: var(--bg-raised); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.service-feature__media{ aspect-ratio: 16 / 10; overflow: hidden; background: var(--line); }
.service-feature__media img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.service-feature__body{ padding: 2.1rem 2.2rem; }
.service-feature__body h3{ font-size: var(--step-2); }
.service-feature__text p{ color: var(--ink-soft); }

.service-list{ display: flex; flex-direction: column; justify-content: center; }
.service-list__item{ padding: 1.5rem 0; border-top: 1px solid var(--line); }
.service-list__item:first-child{ border-top: none; }
.service-list__item h3{ font-size: var(--step-1); margin-bottom: .4rem; }
.service-list__text p{ color: var(--ink-soft); margin-bottom: .6rem; }

/* ---------- Kontaktformular-Plugin ueberschreiben ([kontaktformular]/[anamnese_formular]) ---------- */
.wpscp-form.wpscp-form{
	border-radius: var(--radius) !important;
	box-shadow: none !important;
	border: 1px solid var(--line) !important;
	background: var(--bg-raised) !important;
	padding: 2.2rem !important;
}
.wpscp-form .wpscp-form__title{ font-family: var(--font-display); }
.wpscp-form input, .wpscp-form textarea{
	border-radius: var(--radius) !important;
	border: 1px solid var(--line) !important;
	font-family: var(--font-body);
	padding: .8rem 1rem !important;
}
.wpscp-form input:focus, .wpscp-form textarea:focus{
	outline: 2px solid var(--accent);
	border-color: var(--accent-ink) !important;
}
.wpscp-form .wpscp-form__btn{
	background: var(--accent-ink) !important;
	border-radius: var(--radius) !important;
	box-shadow: none !important;
	border: none !important;
	font-family: var(--font-display);
	font-weight: 600;
	min-height: 44px;
}
.wpscp-form .wpscp-form__btn:hover{ background: #8a3f12 !important; }
