/* =========================================================
   Hohenlohe Trageberatung – Ergänzungs-Styles
   (alles, was theme.json nicht abbilden kann)
   ========================================================= */

/* ---- Handschrift-Akzent (für kurze, persönliche Zeilen) ---- */
.hohenlohe-script {
	font-family: var(--wp--preset--font-family--accent);
	font-size: var(--wp--preset--font-size--accent-script);
	line-height: 1.3;
	color: var(--wp--preset--color--contrast);
}

/* ---- Wellenform zwischen Sektionen (ersetzt die Elementor-"Shape Dividers") ---- */
.hohenlohe-wave-top,
.hohenlohe-wave-bottom {
	position: relative;
}
.hohenlohe-wave-top::before,
.hohenlohe-wave-bottom::after {
	content: "";
	position: absolute;
	left: 0;
	width: 100%;
	height: 60px;
	background-repeat: no-repeat;
	background-size: 100% 100%;
	pointer-events: none;
}
.hohenlohe-wave-top::before {
	top: -1px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0,30 C300,70 900,-10 1200,30 L1200,0 L0,0 Z' fill='%23ffffff'/%3E%3C/svg%3E");
}
.hohenlohe-wave-bottom::after {
	bottom: -1px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0,30 C300,-10 900,70 1200,30 L1200,60 L0,60 Z' fill='%23ffffff'/%3E%3C/svg%3E");
}

/* ---- Karten (3-Säulen, Angebote) ---- */
.hohenlohe-card {
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hohenlohe-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 24px rgba(47, 48, 48, 0.12);
}
.hohenlohe-card img {
	border-radius: 999px;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

/* Eck-Radius-Hilfsklassen (statt Block-"style"-Attribut, das WordPress
   beim Einfügen von Mustern manchmal fälschlich als "ungültigen Inhalt"
   markiert) */
.hohenlohe-radius-16 img,
img.hohenlohe-radius-16 {
	border-radius: 16px;
}
.hohenlohe-radius-24 img,
img.hohenlohe-radius-24 {
	border-radius: 24px;
}
.hohenlohe-radius-round img,
img.hohenlohe-radius-round {
	border-radius: 999px;
}

/* Zweitfarbige Buttons (Beere) für Karten mit .is-style-secondary-button */
.wp-block-button.is-style-secondary-button .wp-block-button__link {
	background-color: var(--wp--preset--color--secondary);
	color: #fff;
}
.wp-block-button.is-style-secondary-button .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--secondary-dark);
}

/* Outline-Button-Stil (z. B. sekundäre Calls-to-Action im Footer) */
.wp-block-button.is-style-outline-light .wp-block-button__link {
	background-color: transparent;
	border: 2px solid #fff;
	color: #fff;
}
.wp-block-button.is-style-outline-light .wp-block-button__link:hover {
	background-color: #fff;
	color: var(--wp--preset--color--contrast);
}

/* ---- Testimonials ---- */
.hohenlohe-testimonial {
	background: rgba(255, 255, 255, 0.15);
	border-radius: 20px;
	padding: 2rem;
}
.hohenlohe-testimonial p {
	font-style: italic;
}
.hohenlohe-testimonial cite {
	display: block;
	margin-top: 1rem;
	font-family: var(--wp--preset--font-family--heading);
	font-style: normal;
	font-weight: 700;
	font-size: 1.2rem;
}

/* ---- Freebie- / Newsletter-Formularbereich (MailerLite) ---- */
.hohenlohe-signup-box {
	background: var(--wp--preset--color--surface);
	border-radius: 24px;
	padding: 2.5rem;
}
.hohenlohe-signup-box .ml-embedded,
.hohenlohe-signup-box iframe {
	width: 100% !important;
	max-width: 480px;
	margin: 0 auto;
}

/* ---- Footer ---- */
.hohenlohe-footer-legal a {
	color: #cfcfcf;
	text-decoration: none;
	font-size: 0.85rem;
}
.hohenlohe-footer-legal a:hover {
	color: #fff;
	text-decoration: underline;
}

/* ---- Emoji-Listen (wie im Original: Emoji statt Bullet) ---- */
.hohenlohe-emoji-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.hohenlohe-emoji-list li {
	margin-bottom: 0.75rem;
	padding-left: 0;
}

/* ---- Sanfte Einblend-Animation (ersetzt Elementor-Entrance-Animationen) ---- */
@media (prefers-reduced-motion: no-preference) {
	.hohenlohe-fade-in {
		animation: hohenloheFadeIn 0.7s ease both;
	}
	@keyframes hohenloheFadeIn {
		from { opacity: 0; transform: translateY(16px); }
		to { opacity: 1; transform: translateY(0); }
	}
}

/* ---- Funnel-Seiten (Landingpage, Quiz, Ergebnis) ---- */
.hohenlohe-eyebrow {
	display: inline-block;
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--secondary-dark);
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: 0.85rem;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	padding: 0.5rem 1.2rem;
	border-radius: 999px;
	margin-bottom: 1rem;
}

.hohenlohe-device-mockup {
	position: relative;
	display: flex;
	justify-content: center;
	padding: 1rem 0;
}
.hohenlohe-device-mockup .hohenlohe-device-frame {
	position: relative;
	width: 240px;
	border-radius: 28px;
	background: var(--wp--preset--color--contrast);
	padding: 12px;
	box-shadow: 0 24px 48px rgba(47, 48, 48, 0.22);
	transform: rotate(-4deg);
}
.hohenlohe-device-mockup .hohenlohe-device-frame img {
	display: block;
	width: 100%;
	border-radius: 18px;
}

.hohenlohe-signup-hero {
	background: var(--wp--preset--color--contrast);
	border-radius: 28px;
	padding: 2.5rem;
}
.hohenlohe-signup-hero h3,
.hohenlohe-signup-hero p {
	color: #fff;
}
.hohenlohe-signup-hero .ml-embedded,
.hohenlohe-signup-hero iframe {
	width: 100% !important;
	margin: 0 auto;
}

.hohenlohe-pain-card {
	text-align: center;
}
.hohenlohe-pain-card img {
	border-radius: 999px;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border: 4px solid var(--wp--preset--color--primary);
}
.hohenlohe-pain-card h3 {
	font-size: 1.05rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-top: 1.25rem;
}

/* ---- Mobile Feinschliff ---- */
@media (max-width: 782px) {
	.hohenlohe-script {
		font-size: clamp(1.5rem, 1.2rem + 2vw, 2rem);
	}
	.hohenlohe-wave-top::before,
	.hohenlohe-wave-bottom::after {
		height: 32px;
	}
	.hohenlohe-signup-hero {
		padding: 1.75rem;
	}
}
