/* JAS³ Kontaktseite — nach Figma „JAS³ Gin – Kontaktseite (mobil)“ */

@font-face { font-family: "JAS3 Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "JAS3 Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "JAS3 Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); }

.jas3k {
	--jas3k-bg: #0e0e10;
	--jas3k-card: #141418;
	--jas3k-card-call: #17150f;
	--jas3k-gold: #c9a04a;
	--jas3k-gold-dark: #8c6522;
	--jas3k-cream: #ede3cc;
	--jas3k-muted: #8f887a;
	--jas3k-gold-text: linear-gradient(90deg, #8c6522 0%, #e2bc68 45%, #c29440 70%, #8c6522 100%);
	--jas3k-gold-btn: linear-gradient(90deg, #a97b2e 0%, #e6c274 45%, #c99b45 75%, #9c7128 100%);

	box-sizing: border-box;
	background: var(--jas3k-bg);
	color: var(--jas3k-cream);
	font-family: "JAS3 Poppins", "Poppins", system-ui, sans-serif;
	font-weight: 400;
	line-height: normal;
	-webkit-font-smoothing: antialiased;
	padding: 44px 20px 40px;
	/* gegen Abstände aus dem Theme */
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}
.jas3k *, .jas3k *::before, .jas3k *::after { box-sizing: border-box; }
.jas3k img { display: block; max-width: none; height: auto; border: 0; box-shadow: none; }
.jas3k a { text-decoration: none; }
.jas3k ul { list-style: none; margin: 0; padding: 0; }
.jas3k h2, .jas3k p { margin: 0; }

.jas3k__inner {
	max-width: 350px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* goldener Verlaufstext */
.jas3k-gold-text {
	color: #c9a04a;
	background-image: var(--jas3k-gold-text);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

/* ---------- Logo ---------- */
.jas3k-logo {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 282px;
	max-width: 100%;
}
.jas3k-logo__link { display: flex; flex-direction: column; align-items: center; color: inherit; transition: opacity .2s ease, filter .2s ease; }
.jas3k-logo__link:hover { filter: brightness(1.12); }
.jas3k-logo__link + .jas3k-logo__claim { margin-top: 22px; }
.jas3k-logo__mark { display: flex; flex-direction: column; align-items: center; }
.jas3k-logo__chev-top { width: 220px; height: 70px; }
.jas3k-logo__chev-bottom { width: 140px; height: 54px; }
.jas3k-logo__word {
	display: flex;
	align-items: flex-start;
	gap: 2px;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
}
.jas3k-logo__jas { font-size: 78px; letter-spacing: -0.01em; }
.jas3k-logo__three { font-size: 30px; }
.jas3k-logo__gin { display: flex; align-items: center; gap: 16px; }
.jas3k-logo__gin img { width: 70px; height: 4px; }
.jas3k-logo__gin span { font-size: 28px; font-weight: 500; line-height: 1.1; letter-spacing: 0.22em; margin-right: -0.22em; }
.jas3k-logo__image img { max-width: 282px; width: 100%; height: auto; }
.jas3k-logo__mark + .jas3k-logo__claim,
.jas3k-logo__image + .jas3k-logo__claim { margin-top: 22px; }

/* ---------- Überschriften mit Linien ---------- */
.jas3k-heading {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	width: 100%;
}
.jas3k-heading__line { flex: 0 0 auto; height: 4px; }
.jas3k-heading__text {
	font-family: inherit;
	font-size: 12px !important;
	font-weight: 400 !important;
	line-height: normal !important;
	letter-spacing: 0.28em !important;
	text-transform: uppercase;
	white-space: nowrap;
	margin: 0 -0.28em 0 0 !important; /* Laufweite rechts ausgleichen */
}
.jas3k-logo__claim .jas3k-heading__text { font-size: 13px !important; }

/* ---------- Spalten ---------- */
.jas3k__cols { width: 100%; margin-top: 44px; }
.jas3k__col { width: 100%; }
.jas3k__col + .jas3k__col { margin-top: 40px; }
.jas3k__col > .jas3k-heading + * { margin-top: 18px; }
.jas3k__cols:first-child { margin-top: 0; }

/* ---------- Kaufen ---------- */
.jas3k-buy { display: flex; flex-direction: column; gap: 26px; }

.jas3k-shop {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 20px;
	background-image: var(--jas3k-gold-btn);
	box-shadow: 0 6px 22px rgba(201, 160, 74, 0.28);
	color: var(--jas3k-bg) !important;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-align: center;
	transition: filter .2s ease, box-shadow .2s ease, transform .2s ease;
}
.jas3k-shop img { width: 20px; height: 20px; flex: 0 0 auto; }
.jas3k-shop:hover { filter: brightness(1.08); box-shadow: 0 8px 28px rgba(201, 160, 74, 0.4); }
.jas3k-shop:active { transform: translateY(1px); }

.jas3k-stores { display: flex; flex-direction: column; gap: 10px; }
.jas3k-store {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 72px;
	padding: 13px 20px 13px 18px;
	background: var(--jas3k-card);
	border: 1px solid rgba(201, 160, 74, 0.35);
	transition: border-color .2s ease, background-color .2s ease;
}
.jas3k-store__icon { width: 30px; height: 30px; flex: 0 0 auto; }
.jas3k-store__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.jas3k-store__title { color: var(--jas3k-cream); font-size: 16px; font-weight: 500; letter-spacing: 0.02em; overflow-wrap: anywhere; }
.jas3k-store__sub { color: var(--jas3k-muted); font-size: 12px; letter-spacing: 0.06em; }
.jas3k-store__arrow { width: 16px; height: 16px; flex: 0 0 auto; transition: transform .2s ease; }
a.jas3k-store:hover { border-color: rgba(201, 160, 74, 0.8); background: #18171a; }
a.jas3k-store:hover .jas3k-store__arrow { transform: translateX(3px); }

.jas3k a:focus-visible { outline: 2px solid var(--jas3k-gold); outline-offset: 3px; }

/* ---------- Anrufen ---------- */
.jas3k-calls { display: flex; flex-direction: column; gap: 10px; }
.jas3k-call {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 20px;
	background: var(--jas3k-card-call);
	border: 1.2px solid var(--jas3k-gold-dark);
}
.jas3k-call__icon { position: relative; width: 46px; height: 46px; flex: 0 0 auto; margin-left: 1.2px; }
.jas3k-call__raute { position: absolute; inset: 0; width: 46px; height: 46px; }
.jas3k-call__phone { position: absolute; left: 14px; top: 14px; width: 18px; height: 18px; }
.jas3k-call__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.jas3k-call__name { color: var(--jas3k-cream); font-size: 15px; letter-spacing: 0.03em; }
.jas3k-call__number { font-size: 23px; font-weight: 600; letter-spacing: 0.02em; white-space: nowrap; }
.jas3k-call__email { color: var(--jas3k-muted) !important; font-size: 13px; letter-spacing: 0.04em; margin-top: 2px; overflow-wrap: anywhere; }
.jas3k-call__email:hover { color: var(--jas3k-cream) !important; }

/* ---------- Ornament ---------- */
.jas3k-ornament { width: 350px; max-width: 100%; height: auto; margin-top: 44px; }

/* sehr schmale Displays */
@media (max-width: 359px) {
	.jas3k-logo__chev-top { width: 190px; height: auto; }
	.jas3k-logo__jas { font-size: 66px; }
	.jas3k-call__number { font-size: 20px; }
	.jas3k-shop { letter-spacing: 0.08em; font-size: 14px; }
}

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
	.jas3k { padding: 64px 32px 56px; }
	.jas3k__inner { max-width: 520px; }
}

/* ---------- Desktop ---------- */
@media (min-width: 960px) {
	.jas3k { padding: 80px 40px 72px; }
	.jas3k__inner { max-width: 1040px; }

	.jas3k__cols {
		display: grid;
		grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
		gap: 64px;
		align-items: start;
		margin-top: 64px;
	}
	.jas3k__col + .jas3k__col { margin-top: 0; }
	.jas3k__cols > .jas3k__col:only-child { grid-column: 1 / -1; max-width: 560px; justify-self: center; }
	.jas3k__col > .jas3k-heading + * { margin-top: 24px; }

	/* Linien der Abschnittsüberschriften etwas länger als mobil */
	.jas3k__col > .jas3k-heading .jas3k-heading__line { flex: 0 1 110px; width: 110px; }

	.jas3k-store { min-height: 80px; padding-top: 16px; padding-bottom: 16px; }
	.jas3k-call { padding: 24px; }
	.jas3k-call__number { font-size: 26px; }

	.jas3k-ornament { margin-top: 72px; width: 420px; }
}

/* ---------- Dunkle Seite (Option) ---------- */
body.jas3k-dark {
	--wp--preset--color--base: #0e0e10;
	--wp--preset--color--contrast: #ede3cc;
	background-color: #0e0e10 !important;
	color: #ede3cc;
}
body.jas3k-dark .wp-site-blocks { background-color: #0e0e10; }
/* Abstände des Themes um den Inhalt herum entfernen, damit die Fläche nahtlos wirkt */
body.jas3k-dark main.wp-block-group { margin-top: 0 !important; }
body.jas3k-dark .entry-content > .jas3k:first-child { margin-top: 0 !important; }
