/*
Theme Name: ViP Digital
Theme URI: https://example.com
Author: ViP Digital
Description: Custom block theme for ViP Digital: slate and rust, square corners, self-hosted fonts, no tracking.
Version: 1.3.1
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vip-digital
*/

:root {
	--vip-slate: #2C333A;
	--vip-rust: #B4633A;
	--vip-rust-dark: #9A5230;
	--vip-cream: #F4F2EE;
	--vip-shade: #E5E1DA;
	--vip-tint: #EDD9C8;
	--vip-warm: #B5AFA6;
	--vip-muted: #55616E;
	--vip-paper: #FBFAF8;
	--vip-display: 'Inter Display', Inter, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	--vip-serif: Caladea, Georgia, 'Times New Roman', serif;
}

*, *::before, *::after { border-radius: 0 !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }

.wp-site-blocks > * { margin-block-start: 0; margin-block-end: 0; }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--vip-slate); background: var(--vip-cream); position: sticky; top: 0; z-index: 50; }
.site-header .header-inner { max-width: 1120px; margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header .wp-block-site-title { margin: 0; font-family: var(--vip-display); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; }
.site-header .wp-block-site-title a { color: var(--vip-slate); text-decoration: none; }
.site-header .wp-block-navigation { font-size: 15px; font-weight: 500; }
.site-header .wp-block-navigation a { color: var(--vip-slate); text-decoration: none; padding: 6px 2px; }
.site-header .wp-block-navigation a:hover { color: var(--vip-rust-dark); }
.site-header .wp-block-navigation__container { gap: 28px; }
.site-header .nav-cta > a { background: var(--vip-slate); color: var(--vip-cream) !important; padding: 10px 20px !important; margin-left: 6px; }
.site-header .nav-cta > a:hover { background: var(--vip-rust); }

/* Language switcher (EN | DE) */
.site-header .header-inner > .wp-block-site-title { margin-right: auto; }
.lang-switch { display: flex; flex: none; border: 1px solid var(--vip-slate); font-size: 13px; font-weight: 600; letter-spacing: 0.05em; line-height: 1; }
.lang-switch a, .lang-switch span { padding: 7px 10px; color: var(--vip-slate); text-decoration: none; }
.lang-switch a:hover { background: var(--vip-tint, #EDD9C8); color: var(--vip-slate); }
.lang-switch [aria-current] { background: var(--vip-slate); color: var(--vip-cream); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--vip-slate); background: var(--vip-cream); }
.site-footer .footer-inner { max-width: 1120px; margin: 0 auto; padding: 28px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--vip-muted); }
.site-footer p { margin: 0; }
.site-footer a { color: var(--vip-slate); text-decoration: none; margin-left: 22px; }
.site-footer a:first-child { margin-left: 0; }
.site-footer a:hover { color: var(--vip-rust-dark); text-decoration: underline; }

/* ---------- Layout helpers (landing pages) ---------- */
.wrap { max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.sec { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); }
.sec-tint { background: var(--vip-shade); }
.sec-dark { background: var(--vip-slate); color: var(--vip-cream); }
.sec p, .sec h1, .sec h2, .sec h3, .sec ul, .sec ol { margin-top: 0; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--vip-rust-dark); margin: 0 0 18px; line-height: 1.3; }
.sec-dark .eyebrow { color: var(--vip-tint); }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--vip-muted); max-width: 34em; margin: 0 0 32px; }
.h1, .hero-title { font-family: var(--vip-display); font-weight: 700; font-size: clamp(2.3rem, 5vw, 3.9rem); line-height: 1.05; letter-spacing: -0.025em; margin: 0 0 24px; color: var(--vip-slate); }
.hero-title em, .h2 em { font-family: var(--vip-serif); font-style: italic; font-weight: 400; color: var(--vip-rust); font-size: 1.07em; letter-spacing: 0; }
.h2 { font-family: var(--vip-display); font-weight: 700; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 20px; }
.section-head { margin-bottom: clamp(32px, 4vw, 52px); max-width: 44em; }
.section-head .lead { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-block; font-family: var(--vip-display); font-weight: 600; font-size: 16px; line-height: 1; text-decoration: none; padding: 17px 28px; border: 1px solid var(--vip-slate); transition: background .15s, color .15s, border-color .15s; cursor: pointer; }
.btn-solid { background: var(--vip-slate); color: var(--vip-cream); }
.btn-solid:hover { background: var(--vip-rust); border-color: var(--vip-rust); color: #fff; }
.btn-outline { background: transparent; color: var(--vip-slate); }
.btn-outline:hover { background: var(--vip-slate); color: var(--vip-cream); }
.btn-light { background: var(--vip-cream); color: var(--vip-slate); border-color: var(--vip-cream); }
.btn-light:hover { background: var(--vip-rust); border-color: var(--vip-rust); color: #fff; }
.btn:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--vip-rust); outline-offset: 3px; }

/* ---------- Hero ---------- */
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }

/* Home: two independent service blocks */
.svc-list { display: grid; gap: 20px; }
.svc { background: var(--vip-paper); border: 1px solid var(--vip-slate); border-left: 6px solid var(--vip-rust); padding: 28px 30px; }
.svc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.svc-name { font-family: var(--vip-display); font-weight: 700; font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; margin: 0; }
.svc-badge { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; border: 1px solid var(--vip-warm); color: var(--vip-muted); padding: 4px 8px; margin: 0; line-height: 1.2; }
.svc h3 { font-family: var(--vip-display); font-size: 1.5rem; margin: 0 0 8px; letter-spacing: -0.01em; }
.svc p.svc-text { color: var(--vip-muted); margin: 0 0 16px; font-size: 16px; }
.svc a.more { font-weight: 600; font-size: 15px; color: var(--vip-slate); text-decoration: none; border-bottom: 1px solid var(--vip-rust); padding-bottom: 2px; }
.svc a.more:hover { color: var(--vip-rust-dark); }

/* Mission */
.mission { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(24px, 5vw, 80px); }
.mission p { font-size: 19px; line-height: 1.7; margin: 0 0 1.2em; }
.mission p:last-child { margin-bottom: 0; }

/* Signal hero */
.sig-brand { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; border-bottom: 1px solid var(--vip-warm); padding-bottom: 18px; margin-bottom: clamp(28px, 4vw, 56px); }
.sig-logo { font-family: var(--vip-display); font-weight: 700; font-size: 26px; letter-spacing: -0.02em; }
.sig-tag { font-family: var(--vip-serif); font-style: italic; font-size: 18px; color: var(--vip-muted); }

/* Timeline of example exchange */
.timeline { list-style: none; margin: 0; padding: 0 0 0 0; position: relative; display: grid; gap: 18px; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 24px; bottom: 24px; width: 1px; background: var(--vip-slate); opacity: .35; }
.tl { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; position: relative; }
.tl-n { width: 44px; height: 44px; background: var(--vip-cream); border: 1px solid var(--vip-slate); display: flex; align-items: center; justify-content: center; font-family: var(--vip-display); font-weight: 600; font-size: 14px; position: relative; z-index: 1; }
.tl-hl .tl-n { background: var(--vip-rust); border-color: var(--vip-rust); color: #fff; }
.card { background: var(--vip-paper); border: 1px solid var(--vip-slate); padding: 18px 20px; }
.tl-hl .card { background: var(--vip-tint); border-left: 6px solid var(--vip-rust); }
.card-meta { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--vip-muted); margin: 0 0 10px !important; }
.card-text { font-size: 15.5px; line-height: 1.55; margin: 0; }
.card-foot { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--vip-muted); margin: 12px 0 0 !important; }
.person { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.avatar { width: 38px; height: 38px; background: var(--vip-slate); color: var(--vip-cream); display: flex; align-items: center; justify-content: center; font-family: var(--vip-display); font-weight: 600; font-size: 13px; flex: none; }
.person-name { font-weight: 600; font-size: 15px; margin: 0 !important; line-height: 1.3; }
.person-role { font-size: 13px; color: var(--vip-muted); margin: 0 !important; line-height: 1.3; }
.fiction { text-align: right; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--vip-muted); margin: 14px 0 0 !important; }

/* Info columns */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--vip-slate); background: var(--vip-paper); }
.info { padding: clamp(24px, 3vw, 40px); }
.info + .info { border-left: 1px solid var(--vip-slate); }
.info .eyebrow { margin-bottom: 14px; }
.info p:last-child { font-size: 19px; line-height: 1.55; margin: 0; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; max-width: 820px; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 28px; position: relative; padding-bottom: 36px; }
.step:last-child { padding-bottom: 0; }
.step:not(:last-child)::before { content: ""; position: absolute; left: 27px; top: 64px; bottom: 8px; width: 1px; background: var(--vip-slate); }
.step-n { width: 56px; height: 56px; border: 1px solid var(--vip-slate); display: flex; align-items: center; justify-content: center; font-family: var(--vip-display); font-weight: 700; font-size: 18px; background: var(--vip-cream); }
.step:last-child .step-n { background: var(--vip-rust); border-color: var(--vip-rust); color: #fff; }
.step h3 { font-size: 1.25rem; letter-spacing: .06em; text-transform: uppercase; margin: 12px 0 8px; }
.step p { margin: 0; color: var(--vip-muted); max-width: 36em; }

/* Plans */
.plans-intro { color: var(--vip-muted); margin: 0 0 36px; max-width: 40em; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { background: var(--vip-paper); border: 1px solid var(--vip-slate); padding: 30px 28px; display: flex; flex-direction: column; }
.plan h3 { font-size: 1.35rem; margin: 0 0 10px; letter-spacing: -0.01em; }
.plan .plan-desc { color: var(--vip-muted); font-size: 15.5px; line-height: 1.55; margin: 0 0 24px; min-height: 4.7em; }
.plan .price { font-family: var(--vip-display); margin: 0; line-height: 1; }
.plan .price strong { font-size: 2.6rem; font-weight: 700; letter-spacing: -0.03em; }
.plan .price span { font-size: 1rem; font-weight: 500; color: var(--vip-muted); margin-left: 6px; }
.plan .setup { font-size: 14px; color: var(--vip-muted); margin: 10px 0 20px; min-height: 1.5em; }
.plan .incl { font-size: 15px; font-weight: 500; margin: 0 0 20px; padding: 14px 0; border-top: 1px solid var(--vip-warm); border-bottom: 1px solid var(--vip-warm); }
.plan .addon { font-size: 14px; color: var(--vip-muted); margin: 0; line-height: 1.55; }
.plan .addon b { color: var(--vip-slate); font-weight: 600; }

.note { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 30px 32px; background: var(--vip-tint); border: 1px solid var(--vip-slate); border-left: 6px solid var(--vip-rust); }
.note h3 { font-size: 1.35rem; margin: 0 0 8px; }
.note p { margin: 0; max-width: 40em; }

/* CTA */
.cta { text-align: left; max-width: 760px; }
.cta .h2 { color: var(--vip-cream); }
.cta p { color: #D7D3CC; font-size: 19px; margin: 0 0 30px; max-width: 34em; }

/* Pulse list */
.ticks { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 0; border: 1px solid var(--vip-slate); background: var(--vip-paper); max-width: 560px; }
.ticks li { padding: 16px 22px; border-top: 1px solid var(--vip-shade); font-weight: 500; }
.ticks li:first-child { border-top: 0; }
.ticks li::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--vip-rust); margin-right: 14px; }

/* ---------- Legal / text pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) 24px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -0.02em; margin: 0 0 28px; }
.legal h2 { font-size: 1.35rem; margin: 2.2em 0 .6em; }
.legal h3 { font-size: 1.1rem; margin: 1.6em 0 .5em; }
.legal p, .legal ul { margin: 0 0 1em; }
.legal ul { padding-left: 1.3em; }
.legal li { margin-bottom: .4em; }

/* Contact form */
.vip-form { margin: 24px 0 12px; border: 1px solid var(--vip-slate); background: var(--vip-paper); padding: clamp(20px, 3vw, 32px); }
.vip-form label { display: block; font-weight: 600; font-size: 14px; margin: 0 0 6px; }
.vip-form .field { margin-bottom: 20px; }
.vip-form input[type=text], .vip-form input[type=email], .vip-form textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; padding: 13px 14px; border: 1px solid var(--vip-slate); background: #fff; color: var(--vip-slate); }
.vip-form textarea { min-height: 160px; resize: vertical; }
.vip-form button { font-family: var(--vip-display); font-weight: 600; font-size: 16px; padding: 16px 30px; background: var(--vip-slate); color: var(--vip-cream); border: 1px solid var(--vip-slate); cursor: pointer; }
.vip-form button:hover { background: var(--vip-rust); border-color: var(--vip-rust); }
.vip-hp { position: absolute !important; left: -9999px !important; height: 0; width: 0; overflow: hidden; }
.vip-msg { padding: 16px 20px; margin: 20px 0; border: 1px solid var(--vip-slate); border-left: 6px solid var(--vip-rust); background: var(--vip-tint); }
.vip-small { font-size: 14px; color: var(--vip-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.hero-grid, .mission { grid-template-columns: 1fr; }
	.plans { grid-template-columns: 1fr; }
	.plan .plan-desc { min-height: 0; }
	.info-grid { grid-template-columns: 1fr; }
	.info + .info { border-left: 0; border-top: 1px solid var(--vip-slate); }
}
@media (max-width: 600px) {
	.step { grid-template-columns: 44px 1fr; gap: 18px; }
	.step-n { width: 44px; height: 44px; font-size: 15px; }
	.step:not(:last-child)::before { left: 21px; top: 52px; }
	.btn { width: 100%; text-align: center; box-sizing: border-box; }
	.note .btn { width: auto; }
	.site-footer .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.btn { transition: none; }
}
