/*
Theme Name: Handymaeusle Neon
Theme URI: https://www.handymaeusle.de/
Description: Eigenständiges Neon-Child-Theme für Smartphones, Mobilfunktarife, Zubehör und Sicherheit.
Author: TBS Multimedia
Template: tbs-affiliate-neon
Version: 1.2.2
Text Domain: handymaeusle-neon
*/

:root {
	--hm-night: #030513;
	--hm-panel: #0a1028;
	--hm-panel-soft: #10183a;
	--hm-cyan: #32eaff;
	--hm-pink: #ff2bd6;
	--hm-violet: #9658ff;
	--hm-white: #f8fbff;
	--hm-muted: #b9c8df;
}

html { scroll-behavior: smooth; }
body {
	background: radial-gradient(circle at 50% -10%, rgba(50, 234, 255, .12), transparent 38rem), var(--hm-night);
	color: var(--hm-white);
}

.site-header {
	position: relative;
	z-index: 20;
	border-bottom: 1px solid rgba(50, 234, 255, .25);
	background: rgba(3, 5, 19, .9);
	box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
	backdrop-filter: blur(18px);
}
.site-header a { color: var(--hm-white); }
.site-header a:hover, .site-header a:focus { color: var(--hm-cyan); }
.site-branding .site-title { letter-spacing: -.03em; }
.site-branding .site-title::after { content: ".de"; color: var(--hm-pink); text-shadow: 0 0 18px rgba(255, 43, 214, .6); }
.site-header .site-logo .handymaeusle-logo-link {
	display: inline-flex;
	align-items: center;
	padding: .42rem .7rem;
	border: 1px solid rgba(50, 234, 255, .38);
	border-radius: 14px;
	background: rgba(255, 255, 255, .94);
	box-shadow: 0 0 24px rgba(50, 234, 255, .16);
	line-height: 0;
}
.site-header .site-logo .handymaeusle-logo-link .custom-logo { width: clamp(300px, 34vw, 460px); height: auto; max-height: 76px; object-fit: contain; filter: none; }

@media (max-width: 720px) {
	.site-header .site-logo .handymaeusle-logo-link .custom-logo { width: min(72vw, 340px); max-height: 62px; }
}

.handymaeusle-home { max-width: 1720px; margin-inline: auto; padding: 0 clamp(1rem, 3vw, 3rem) 4rem; }
.handymaeusle-hero {
	position: relative;
	isolation: isolate;
	display: grid;
	min-height: clamp(610px, 69vw, 850px);
	margin: 1.25rem 0 4rem;
	overflow: hidden;
	border: 1px solid rgba(50, 234, 255, .36);
	border-radius: 36px;
	background: #06132c;
	box-shadow: 0 30px 100px rgba(0, 0, 0, .48), 0 0 55px rgba(50, 234, 255, .1);
}
.handymaeusle-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(3, 5, 19, .2) 0, rgba(3, 5, 19, .08) 42%, rgba(3, 5, 19, 0) 68%);
}
.handymaeusle-hero__copy {
	position: relative;
	z-index: 2;
	align-self: center;
	max-width: 760px;
	padding: clamp(2rem, 6vw, 6rem);
}
.handymaeusle-kicker {
	margin: 0 0 .8rem;
	color: var(--hm-cyan);
	font-size: .78rem;
	font-weight: 900;
	letter-spacing: .18em;
	text-transform: uppercase;
	text-shadow: 0 0 18px rgba(50, 234, 255, .55);
}
.handymaeusle-hero h1 {
	margin: 0 0 1.2rem;
	color: #fff;
	font-size: clamp(3rem, 6.6vw, 7rem);
	line-height: .92;
	letter-spacing: -.065em;
	text-wrap: balance;
}
.handymaeusle-hero h1 span {
	display: block;
	background: linear-gradient(90deg, var(--hm-cyan), #fff 50%, var(--hm-pink));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	text-shadow: 0 0 40px rgba(50, 234, 255, .18);
}
.handymaeusle-hero__copy > p:not(.handymaeusle-kicker) { max-width: 610px; color: #dbe8f7; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.7; }
.handymaeusle-hero__media { position: absolute; inset: 0; z-index: -2; margin: 0; }
.handymaeusle-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.handymaeusle-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.handymaeusle-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: .8rem 1.35rem;
	border: 2px solid var(--hm-cyan);
	border-radius: 999px;
	background: linear-gradient(135deg, var(--hm-cyan), #6fffe9);
	box-shadow: 0 0 26px rgba(50, 234, 255, .28);
	color: #04101f !important;
	font-weight: 900;
	text-decoration: none !important;
}
.handymaeusle-button--ghost { border-color: var(--hm-pink); background: rgba(3, 5, 19, .55); color: #fff !important; box-shadow: 0 0 22px rgba(255, 43, 214, .22); }
.handymaeusle-button:hover { transform: translateY(-2px); filter: brightness(1.08); }

.handymaeusle-topics, .handymaeusle-tariffs, .handymaeusle-products, .handymaeusle-posts { margin: 4.5rem 0; }
.handymaeusle-topics > h2, .handymaeusle-tariffs h2, .handymaeusle-products h2, .handymaeusle-posts h2, .handymaeusle-trust h2 { margin: 0 0 1.5rem; font-size: clamp(2rem, 4vw, 4rem); line-height: 1; letter-spacing: -.045em; }
.handymaeusle-topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.handymaeusle-topic-grid > a {
	position: relative;
	min-height: 230px;
	padding: 1.7rem;
	overflow: hidden;
	border: 1px solid rgba(50, 234, 255, .25);
	border-radius: 24px;
	background: linear-gradient(145deg, rgba(16, 24, 58, .94), rgba(6, 10, 30, .96));
	color: var(--hm-white);
	text-decoration: none;
	transition: border-color .2s, transform .2s, box-shadow .2s;
}
.handymaeusle-topic-grid > a:nth-child(2) { border-color: rgba(150, 88, 255, .38); }
.handymaeusle-topic-grid > a:nth-child(3) { border-color: rgba(255, 43, 214, .35); }
.handymaeusle-topic-grid > a:hover { transform: translateY(-5px); border-color: var(--hm-cyan); box-shadow: 0 20px 45px rgba(0, 0, 0, .32), 0 0 24px rgba(50, 234, 255, .12); }
.handymaeusle-topic-grid span { color: var(--hm-pink); font-weight: 900; }
.handymaeusle-topic-grid h3 { margin: 2.5rem 0 .7rem; color: #fff; font-size: 1.6rem; }
.handymaeusle-topic-grid p { margin: 0; color: var(--hm-muted); line-height: 1.65; }

.handymaeusle-section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .65fr); gap: 2rem; align-items: end; margin-bottom: 1.5rem; }
.handymaeusle-section-head > p { max-width: 600px; margin: 0 0 1.5rem; color: var(--hm-muted); line-height: 1.65; }
.handymaeusle-tariff-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.handymaeusle-tariff-card { display: flex; flex-direction: column; min-height: 360px; padding: 1.4rem; border: 1px solid rgba(50, 234, 255, .25); border-radius: 22px; background: linear-gradient(155deg, rgba(16, 24, 58, .98), rgba(4, 8, 25, .98)); }
.handymaeusle-tariff-card--telekom { border-color: rgba(255, 43, 214, .55); }
.handymaeusle-tariff-card--1und1 { border-color: rgba(50, 234, 255, .55); }
.handymaeusle-tariff-card--congstar { border-color: rgba(255, 241, 74, .45); }
.handymaeusle-tariff-card--vodafone { border-color: rgba(255, 86, 112, .52); }
.handymaeusle-tariff-card__label { margin: 0 0 1rem; color: #fff; font-size: 1.35rem; font-weight: 900; }
.handymaeusle-tariff-card ul { margin: 0 0 1.5rem; padding: 0; list-style: none; }
.handymaeusle-tariff-card li { border-top: 1px solid rgba(185, 200, 223, .13); }
.handymaeusle-tariff-card li:first-child { border-top: 0; }
.handymaeusle-tariff-card li a { display: block; padding: .65rem 0; color: var(--hm-muted); line-height: 1.35; text-decoration: none; }
.handymaeusle-tariff-card li a:hover { color: var(--hm-cyan); }
.handymaeusle-tariff-card__more { margin-top: auto; color: var(--hm-cyan); font-weight: 900; text-decoration: none; }

.handymaeusle-fallback-image, .handymaeusle-content-fallback img { display: block; width: 100%; height: auto; object-fit: cover; }
.handymaeusle-content-fallback { margin: 0 0 2rem; overflow: hidden; border: 1px solid rgba(50, 234, 255, .3); border-radius: 22px; background: var(--hm-panel); }
.handymaeusle-content-fallback img { aspect-ratio: 4 / 3; }
.handymaeusle-content-fallback figcaption { padding: .6rem 1rem; color: var(--hm-muted); font-size: .78rem; }

.handymaeusle-products { padding: clamp(1rem, 3vw, 2.5rem); border: 1px solid rgba(255, 43, 214, .2); border-radius: 28px; background: rgba(10, 16, 40, .78); }
.handymaeusle-products ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.handymaeusle-products ul.products::before, .handymaeusle-products ul.products::after { display: none !important; content: none !important; }
.handymaeusle-products ul.products li.product { display: flex !important; float: none !important; flex-direction: column; width: auto !important; height: 100%; margin: 0 !important; border: 1px solid rgba(50, 234, 255, .18); border-radius: 18px; background: #0b112a; }
.handymaeusle-products li.product .woocommerce-LoopProduct-link { display: grid !important; grid-template-rows: auto 1.25rem 5.25rem auto; row-gap: .7rem; align-content: start; flex: 1 1 auto; }
.handymaeusle-products li.product img { width: 100% !important; height: auto !important; margin: 0 !important; aspect-ratio: 4 / 3; object-fit: contain; border-radius: 15px 15px 0 0; background: #fff; }
.handymaeusle-products li.product .star-rating { display: block !important; position: relative; width: 5.4em !important; height: 1em !important; min-height: 1em; margin: 0 1rem !important; overflow: hidden !important; white-space: nowrap !important; line-height: 1 !important; }
.handymaeusle-products li.product .woocommerce-loop-product__title { display: -webkit-box; height: 5.25rem; margin: 0 1rem !important; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; color: #fff; }
.handymaeusle-products li.product .price { align-self: end; min-height: 1.5rem; margin: 0 1rem !important; color: var(--hm-cyan) !important; }
.handymaeusle-products li.product .button { width: calc(100% - 2rem); margin: 1rem !important; }

.handymaeusle-trust { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 7rem); align-items: end; margin: 4.5rem 0; padding: clamp(2rem, 5vw, 5rem); border: 1px solid rgba(150, 88, 255, .34); border-radius: 30px; background: radial-gradient(circle at 10% 50%, rgba(150, 88, 255, .18), transparent 45%), var(--hm-panel); }
.handymaeusle-trust h2 { margin-bottom: 0; }
.handymaeusle-trust > p { margin: 0; color: var(--hm-muted); font-size: 1.08rem; line-height: 1.75; }

.handymaeusle-faq { clear: both; margin: 3rem 0; padding: clamp(1.25rem, 3vw, 2.5rem); border: 1px solid rgba(50, 234, 255, .26); border-radius: 24px; background: var(--hm-panel); color: var(--hm-white); }
.handymaeusle-faq h2 { margin-top: 0; color: var(--hm-cyan); }
.handymaeusle-faq details { border-top: 1px solid rgba(185, 200, 223, .18); }
.handymaeusle-faq summary { padding: 1rem 2rem 1rem 0; cursor: pointer; color: #fff; font-weight: 800; }
.handymaeusle-faq details div { color: var(--hm-muted); line-height: 1.65; }
.handymaeusle-faq details div p { margin-top: 0; }

.handymaeusle-button:focus-visible, .handymaeusle-topic-grid a:focus-visible, .handymaeusle-faq summary:focus-visible { outline: 3px solid #fff36a; outline-offset: 4px; }

@media (max-width: 980px) {
	.handymaeusle-hero { min-height: 760px; }
	.handymaeusle-hero__copy { align-self: end; max-width: 650px; padding-top: 21rem; }
	.handymaeusle-hero__media img { object-position: 63% center; }
	.handymaeusle-hero::after { background: linear-gradient(0deg, rgba(3, 5, 19, .98) 0, rgba(3, 5, 19, .72) 52%, rgba(3, 5, 19, .03) 78%); }
	.handymaeusle-topic-grid { grid-template-columns: 1fr; }
	.handymaeusle-tariff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.handymaeusle-products ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
	.handymaeusle-home { padding-inline: .7rem; }
	.handymaeusle-hero { min-height: 720px; border-radius: 24px; }
	.handymaeusle-hero__copy { padding: 22rem 1.3rem 2rem; }
	.handymaeusle-hero h1 { font-size: clamp(2.7rem, 14vw, 4rem); }
	.handymaeusle-hero__media img { object-position: 68% top; }
	.handymaeusle-section-head, .handymaeusle-tariff-grid, .handymaeusle-products ul.products, .handymaeusle-trust { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; }
}

