/* VokaKitty – Layout und Komponenten.
 *
 * theme.json liefert Palette und Grundtypografie (vom Eltern-Theme Twenty
 * Twenty-Five: Manrope). Hier steht alles, was die Seite als Produktseite
 * aussehen laesst: Header, Startseiten-Abschnitte, Rechtstext-Seiten, Footer.
 * Die Startseite wird in vokakitty_home_blocks() (inc/i18n.php) gebaut, Header
 * und Footer in vokakitty_header_shortcode() / vokakitty_footer_shortcode().
 */

:root {
	--vk-orange: #FF6B35;
	--vk-orange-dark: #E4551F;
	--vk-pink: #FF69B4;
	--vk-plum: #4A1F3A;
	--vk-plum-soft: #6B3556;
	--vk-ink: #2A1F1A;
	--vk-stone: #6F6560;
	--vk-sand: #F7F4F0;
	--vk-cream: #FFF3EA;
	--vk-line: rgba(42, 31, 26, .1);
	--vk-radius: 20px;
	--vk-shadow: 0 1px 2px rgba(42, 31, 26, .05), 0 8px 24px rgba(42, 31, 26, .07);
	--vk-gutter: clamp(16px, 4vw, 32px);
}

body {
	background: #fff;
	color: var(--vk-ink);
	-webkit-font-smoothing: antialiased;
}

.vk-container {
	width: 100%;
	max-width: 1160px;
	margin-inline: auto;
	padding-inline: var(--vk-gutter);
	box-sizing: border-box;
}

/* Abstaende des Eltern-Themes zwischen Template-Bloecken neutralisieren -
   die Abschnitte bringen ihr eigenes Padding mit. */
.wp-site-blocks > * + *,
.vk-main--home > .entry-content > * + *,
.vk-main--home .wp-block-post-content > * + * {
	margin-block-start: 0;
}

.vk-main {
	margin: 0;
}

/* -------------------------------------------------------------------------- */
/*  Buttons                                                                   */
/* -------------------------------------------------------------------------- */

.vk-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	padding: .9rem 1.5rem;
	border-radius: 999px;
	border: 2px solid transparent;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none !important;
	transition: background-color .15s, color .15s, border-color .15s, transform .15s;
	white-space: nowrap;
}

.vk-btn:hover { transform: translateY(-1px); }
.vk-btn:focus-visible { outline: 3px solid var(--vk-plum); outline-offset: 2px; }

.vk-btn--primary { background: var(--vk-orange); color: #fff !important; box-shadow: 0 6px 16px rgba(255, 107, 53, .3); }
.vk-btn--primary:hover { background: var(--vk-orange-dark); }
.vk-btn--ghost { border-color: var(--vk-line); color: var(--vk-ink) !important; background: rgba(255, 255, 255, .6); }
.vk-btn--ghost:hover { border-color: var(--vk-ink); }
.vk-btn--light { background: #fff; color: var(--vk-plum) !important; }
.vk-btn--light:hover { background: var(--vk-cream); }
.vk-btn--sm { padding: .55rem 1.1rem; font-size: .9375rem; box-shadow: none; }

/* Store-Buttons: Google Play und iPhone/iPad gleichrangig, gleiche Form */
.vk-btn--store {
	background: var(--vk-ink);
	color: #fff !important;
	padding: .85rem 1.4rem .85rem 1.15rem;
	box-shadow: 0 6px 16px rgba(42, 31, 26, .18);
}

.vk-btn--store:hover { background: #000; }
.vk-btn--store svg { flex: none; }

.vk-cta .vk-btn--store { background: #fff; color: var(--vk-plum) !important; box-shadow: none; }
.vk-cta .vk-btn--store:hover { background: var(--vk-cream); }

/* Buttons im Fliesstext der Unterseiten (Beta-Programm) */
.wp-block-button__link { font-weight: 700; padding: .85rem 1.5rem; }

/* -------------------------------------------------------------------------- */
/*  Header                                                                    */
/* -------------------------------------------------------------------------- */

.vk-site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, .88);
	-webkit-backdrop-filter: saturate(1.4) blur(12px);
	backdrop-filter: saturate(1.4) blur(12px);
	border-bottom: 1px solid var(--vk-line);
}

.admin-bar .vk-site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .vk-site-header { top: 0; } }

.vk-site-header__inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	min-height: 68px;
}

.vk-brand {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	font-weight: 800;
	font-size: 1.25rem;
	letter-spacing: -.01em;
	color: var(--vk-ink) !important;
	text-decoration: none !important;
}

.vk-brand img { width: 40px; height: 40px; border-radius: 12px; }

.vk-nav {
	display: flex;
	gap: 1.5rem;
	margin-inline-start: auto;
}

.vk-nav a {
	color: var(--vk-stone) !important;
	font-weight: 600;
	font-size: .9375rem;
	text-decoration: none !important;
}

.vk-nav a:hover { color: var(--vk-ink) !important; }

.vk-site-header__actions {
	display: flex;
	align-items: center;
	gap: .75rem;
}

@media (max-width: 720px) {
	.vk-nav { display: none; }
	.vk-site-header__actions { margin-inline-start: auto; gap: .5rem; }
	.vk-brand span { font-size: 1.125rem; }
}

/* Sprachumschalter */
.vk-lang { position: relative; }

.vk-lang summary {
	display: flex;
	align-items: center;
	gap: .4rem;
	padding: .5rem .7rem;
	border-radius: 999px;
	cursor: pointer;
	list-style: none;
	font-size: .9375rem;
	font-weight: 600;
	color: var(--vk-stone);
}

.vk-lang summary::-webkit-details-marker { display: none; }
.vk-lang summary:hover,
.vk-lang[open] summary { background: var(--vk-sand); color: var(--vk-ink); }
.vk-lang summary:focus-visible { outline: 3px solid var(--vk-plum); outline-offset: 2px; }

@media (max-width: 480px) {
	.vk-lang summary span { display: none; }
}

.vk-lang__menu {
	position: absolute;
	right: 0;
	top: calc(100% + .5rem);
	min-width: 170px;
	margin: 0;
	padding: .4rem;
	list-style: none;
	background: #fff;
	border: 1px solid var(--vk-line);
	border-radius: 14px;
	box-shadow: var(--vk-shadow);
}

.vk-lang__menu a {
	display: block;
	padding: .5rem .75rem;
	border-radius: 8px;
	color: var(--vk-ink) !important;
	font-size: .9375rem;
	text-decoration: none !important;
}

.vk-lang__menu a:hover { background: var(--vk-sand); }
.vk-lang__menu a[aria-current] { color: var(--vk-orange) !important; font-weight: 700; }

/* -------------------------------------------------------------------------- */
/*  Startseite                                                                */
/* -------------------------------------------------------------------------- */

.vk-section { padding-block: clamp(3.5rem, 8vw, 6rem); margin: 0; }
.vk-section h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin: 0 0 1rem; }
.vk-section p { line-height: 1.65; }
.vk-section__title { text-align: center; max-width: 22ch; margin-inline: auto !important; margin-bottom: 2.5rem !important; }
.vk-narrow { max-width: 760px; }

/* Hero */
.vk-hero {
	background:
		radial-gradient(60% 80% at 85% 20%, rgba(255, 105, 180, .16), transparent 70%),
		radial-gradient(50% 70% at 10% 90%, rgba(255, 107, 53, .14), transparent 70%),
		linear-gradient(180deg, var(--vk-cream) 0%, #fff 100%);
	padding-block: clamp(3rem, 7vw, 6rem) clamp(3.5rem, 8vw, 6.5rem);
	overflow: hidden;
}

.vk-hero__grid {
	display: grid;
	grid-template-columns: 1.15fr .85fr;
	align-items: center;
	gap: clamp(2rem, 5vw, 4rem);
}

.vk-eyebrow {
	display: inline-block;
	margin: 0 0 1.25rem;
	padding: .35rem .85rem;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--vk-line);
	color: var(--vk-plum);
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .02em;
}

.vk-hero h1 {
	font-size: clamp(2.4rem, 6vw, 4.25rem);
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -.035em;
	margin: 0 0 1.25rem;
	color: var(--vk-ink);
	text-wrap: balance;
}

.vk-section h2 { text-wrap: balance; }

/* Negatives Tracking ist fuer lateinische Schrift gedacht; CJK-Zeichen
   kleben damit aneinander. */
:lang(ja) .vk-hero h1, :lang(zh) .vk-hero h1,
:lang(ja) .vk-section h2, :lang(zh) .vk-section h2 { letter-spacing: 0; }

.vk-lead {
	font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
	color: var(--vk-stone);
	max-width: 36em;
	margin: 0 0 2rem;
}

.vk-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.vk-trust {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem 1.25rem;
	margin: 1.75rem 0 0;
	padding: 0;
	list-style: none;
	color: var(--vk-stone);
	font-size: .9375rem;
	font-weight: 600;
}

.vk-trust li { display: flex; align-items: center; gap: .4rem; }
.vk-trust li::before {
	content: "";
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--vk-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
	flex: none;
}

/* Maskottchen "springt" aus dem Kreis: Das Bild ist unten gerade
   abgeschnitten, der Rahmen ist unten rund und kappt genau diese Kante. */
.vk-hero__art {
	position: relative;
	width: min(100%, 420px);
	aspect-ratio: 1 / 1.12;
	margin-inline: auto;
	overflow: hidden;
	border-radius: 0 0 50% 50% / 0 0 44.6% 44.6%;
}

.vk-hero__art::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--vk-orange) 0%, var(--vk-pink) 100%);
}

.vk-hero__art img {
	position: absolute;
	left: 50%;
	bottom: -5%;
	width: 96%;
	height: auto;
	transform: translateX(-50%);
}

@media (max-width: 860px) {
	.vk-hero__grid { grid-template-columns: 1fr; text-align: center; }
	.vk-hero__art { order: -1; }
	.vk-hero__art { width: min(46vw, 190px); }
	.vk-hero { padding-top: 2rem; }
	.vk-eyebrow { margin-bottom: .9rem; }
	.vk-lead { margin-inline: auto; }
	.vk-actions, .vk-trust { justify-content: center; }
	.vk-actions .vk-btn { flex: 1 1 100%; max-width: 360px; }
}

/* Ueber */
.vk-about { padding-bottom: 0; }
.vk-about p { color: var(--vk-stone); font-size: 1.0625rem; }
.vk-about strong { color: var(--vk-ink); }

/* Funktionen */
.vk-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: 1.25rem;
}

.vk-card {
	background: #fff;
	border: 1px solid var(--vk-line);
	border-radius: var(--vk-radius);
	padding: 1.75rem;
	box-shadow: var(--vk-shadow);
	transition: transform .2s, box-shadow .2s;
}

.vk-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(42, 31, 26, .05), 0 16px 36px rgba(42, 31, 26, .1); }

.vk-card__icon {
	display: inline-grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin-bottom: 1rem;
	border-radius: 16px;
	background: var(--vk-cream);
	font-size: 1.6rem;
	line-height: 1;
}

.vk-card h3 { font-size: 1.1875rem; font-weight: 800; margin: 0 0 .5rem; letter-spacing: -.01em; }
.vk-card p { margin: 0; color: var(--vk-stone); font-size: .975rem; }

/* Zielgruppe + Datenschutz */
.vk-more { background: var(--vk-sand); }
.vk-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 1.25rem; }
.vk-panel { background: #fff; border-radius: var(--vk-radius); padding: clamp(1.5rem, 4vw, 2.5rem); }
.vk-panel h2 { font-size: clamp(1.4rem, 2.5vw, 1.75rem); }
.vk-panel p { margin: 0; color: var(--vk-stone); }

/* Abschluss-CTA */
.vk-cta {
	background:
		radial-gradient(60% 120% at 100% 0%, rgba(255, 105, 180, .35), transparent 60%),
		radial-gradient(60% 120% at 0% 100%, rgba(255, 107, 53, .35), transparent 60%),
		var(--vk-plum);
	color: #fff;
	text-align: center;
}

.vk-cta__inner { max-width: 760px; }
.vk-cta h2 { color: #fff; }
.vk-cta p { color: rgba(255, 255, 255, .82); font-size: 1.125rem; margin: 0 auto 2rem; }
.vk-cta .vk-actions { justify-content: center; }
.vk-cta .vk-cta__meta { font-size: .9375rem; margin: 1.75rem 0 0; color: rgba(255, 255, 255, .7); }
.vk-cta a:not(.vk-btn) { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* -------------------------------------------------------------------------- */
/*  Unterseiten (Rechtstexte, Beta, Changelog)                                */
/* -------------------------------------------------------------------------- */

.vk-page-head {
	background: linear-gradient(180deg, var(--vk-cream) 0%, #fff 100%);
	padding: clamp(2.5rem, 7vw, 4.5rem) var(--vk-gutter) clamp(1rem, 3vw, 2rem);
	margin: 0;
}

.vk-page-head .wp-block-post-title {
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: 800;
	letter-spacing: -.03em;
	line-height: 1.1;
}

.vk-prose {
	padding: 0 var(--vk-gutter) clamp(3rem, 8vw, 5rem);
	margin: 0;
	font-size: 1.0625rem;
	line-height: 1.7;
}

.vk-prose h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.015em; margin-top: 2.5em; }
.vk-prose h3 { font-size: 1.1875rem; font-weight: 700; margin-top: 2em; }
.vk-prose li + li { margin-top: .35em; }
.vk-prose a { text-underline-offset: 3px; }

/* Hinweis-Box (Beta / Platzhalter) */
.vk-note {
	border-left: 4px solid var(--vk-orange);
	background: var(--vk-cream);
	padding: 1rem 1.25rem;
	border-radius: 0 12px 12px 0;
	font-size: .9375rem;
}

.vk-releasenotes ul { margin-top: .25rem; }

/* -------------------------------------------------------------------------- */
/*  Footer                                                                    */
/* -------------------------------------------------------------------------- */

.vk-site-footer {
	background: var(--vk-ink);
	color: rgba(255, 255, 255, .7);
	padding-block: 3.5rem 2rem;
	font-size: .9375rem;
}

.vk-footer__grid {
	display: grid;
	grid-template-columns: 1.6fr repeat(3, 1fr);
	gap: 2rem;
}

.vk-site-footer .vk-brand { color: #fff !important; }
.vk-footer__brand p { max-width: 30ch; margin: 1rem 0 0; line-height: 1.6; }

.vk-footer__col h2 {
	margin: 0 0 .9rem;
	color: #fff;
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.vk-footer__col ul { margin: 0; padding: 0; list-style: none; }
.vk-footer__col li + li { margin-top: .55rem; }
.vk-footer__col a { color: rgba(255, 255, 255, .75) !important; text-decoration: none !important; }
.vk-footer__col a:hover { color: #fff !important; text-decoration: underline !important; }

.vk-footer__bottom {
	margin: 2.5rem 0 0;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, .12);
	font-size: .8125rem;
	color: rgba(255, 255, 255, .5);
}

@media (max-width: 860px) {
	.vk-footer__grid { grid-template-columns: repeat(3, 1fr); }
	.vk-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
	.vk-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	.vk-btn, .vk-card { transition: none; }
	.vk-btn:hover, .vk-card:hover { transform: none; }
}
