/*
Theme Name: JINN LABS
Theme URI: https://jinncreators.de
Author: JINN LABS
Author URI: https://jinncreators.de
Description: Custom WordPress theme for JINN LABS – Digital Branding Agentur. Magic. Meet Science.
Version: 1.0.7
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jinnlabs
Tags: custom-logo, custom-menu, featured-images, full-width-template
*/

/* ===== CSS VARIABLES ===== */
:root {
  --cream: #faf8f3;
  --warm-white: #f5f2eb;
  --ink: #0f0e0b;
  --ink-soft: #2a2820;
  --muted: #8a8680;
  --gold: #c9a84c;
  --gold-light: #e8d5a0;
  --gold-pale: #f7f0dc;
  --rust: #c24d2c;
  --border: #e2ddd4;
  --border-soft: #ede9e0;
  /* Horizontal gutters (px only; scales via vw) */
  --layout-px: clamp(20px, 4vw, 64px);
  /* Typography scale — all px */
  --font-body: 16px;
  --font-body-lh: 26px;
  --font-lead: 18px;
  --font-lead-lh: 30px;
  --font-small: 13px;
  --font-caption: 12px;
  --font-label: 11px;
  --font-micro: 10px;
  --letter-nav: 1.5px;
  --letter-tag: 3px;
  /* Display line-heights (px; pair with matching font-size clamps) */
  --line-h1: clamp(52px, 5.5vw, 84px);
  --line-h2: clamp(38px, 4.2vw, 61px);
  --line-page-hero-h1: clamp(40px, 5vw, 68px);
  --line-inner-h2: clamp(30px, 3.15vw, 46px);
  --line-single-h1: clamp(35px, 4.4vw, 58px);
  --line-single-h2: clamp(28px, 3.15vw, 40px);
  /* Spacing scale (tighter rhythm sitewide) */
  --space-section-y: 88px;
  --space-section-y-sm: 64px;
  --space-nav-y: 20px;
  --space-hero-pad-y: 64px;
  --space-page-hero-t: 120px;
  --space-page-hero-b: 56px;
  --space-page-content-y: 72px;
  --space-block-y: 56px;
  --space-contact-y: 64px;
  --space-single-y: 72px;
  --space-2col-gap: 56px;
  --space-card-y: 40px;
  --space-card-x: 36px;
  --space-card-tight-y: 24px;
  --space-card-tight-x: 28px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* Skip link (accessibility) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100000;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--cream);
  font-size: var(--font-small);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 0 0 4px 0;
}
.skip-link:focus {
  left: 0;
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.site-main { outline: none; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Outfit', sans-serif;
  font-size: var(--font-body);
  line-height: var(--font-body-lh);
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

a:focus-visible,
button:focus-visible,
.btn-primary:focus-visible,
.btn-outline:focus-visible,
.btn-gold:focus-visible,
.btn-ghost-light:focus-visible,
.mobile-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

img { max-width: 100%; height: auto; }

/* ===== CUSTOM CURSOR ===== */
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--ink);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, background 0.2s ease;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.25s ease;
}
body:has(a:hover) .cursor-dot { background: var(--gold); transform: translate(-50%,-50%) scale(2); }
body:has(a:hover) .cursor-ring { width: 60px; height: 60px; border-color: var(--gold); opacity: 0.5; }

@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ===== NAVIGATION ===== */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-nav-y) var(--layout-px);
  box-sizing: border-box;
  background: rgba(250,248,243,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-soft);
}

.site-logo { display: flex; align-items: center; }

.site-logo img {
  height: 70px;
  width: auto;
  display: block;
}

.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a {
  font-size: var(--font-small);
  font-weight: 400;
  letter-spacing: var(--letter-nav);
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links .current-menu-item a,
.nav-links .current_page_item a { color: var(--ink); }

.nav-cta,
.nav-links .menu-item-cta a {
  font-size: var(--font-small) !important;
  font-weight: 500 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--cream) !important;
  padding: 12px 24px;
  border-radius: 2px;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover,
.nav-links .menu-item-cta a:hover {
  background: var(--gold) !important;
  color: var(--ink) !important;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 12px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s, opacity 0.3s;
}
.mobile-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 88px;
  position: relative;
  overflow: hidden;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-hero-pad-y) var(--layout-px);
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: var(--font-label); letter-spacing: var(--letter-tag); text-transform: uppercase;
  color: var(--gold); font-weight: 500;
  margin-bottom: 28px;
  animation: slideRight 0.8s ease both;
}
.hero-eyebrow::before {
  content: ''; display: block;
  width: 40px; height: 1px; background: var(--gold);
}

h1, .page-title {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(52px, 5.5vw, 84px);
  line-height: var(--line-h1);
  letter-spacing: -2px;
  color: var(--ink);
  margin-bottom: 0;
}

h1 .italic-line {
  font-style: italic;
  color: var(--gold);
  display: block;
}

.hero-sub {
  font-size: var(--font-lead);
  font-weight: 300;
  color: var(--muted);
  max-width: 440px;
  line-height: var(--font-lead-lh);
  margin-top: 28px;
  margin-bottom: 40px;
  animation: slideRight 0.8s 0.2s ease both;
}

.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  animation: slideRight 0.8s 0.3s ease both;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--cream);
  padding: 16px 32px; border-radius: 2px;
  font-size: var(--font-small); font-weight: 500; letter-spacing: var(--letter-nav);
  text-transform: uppercase; text-decoration: none;
  transition: all 0.3s;
  border: 1px solid var(--ink);
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--gold); color: var(--ink);
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(201,168,76,0.25);
}

.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--ink);
  padding: 16px 32px; border-radius: 2px;
  font-size: var(--font-small); font-weight: 500; letter-spacing: var(--letter-nav);
  text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--border);
  transition: all 0.3s;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
}
.btn-outline:hover { border-color: var(--ink); }

.btn-gold {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: var(--ink);
  padding: 18px 36px; border-radius: 2px;
  font-size: var(--font-small); font-weight: 600; letter-spacing: var(--letter-nav);
  text-transform: uppercase; text-decoration: none;
  transition: all 0.3s;
  border: 1px solid var(--gold);
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
}
.btn-gold:hover {
  background: transparent; color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(201,168,76,0.2);
}

.btn-ghost-light {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: rgba(255,255,255,0.6);
  padding: 18px 36px; border-radius: 2px;
  font-size: var(--font-small); font-weight: 400; letter-spacing: var(--letter-nav);
  text-transform: uppercase; text-decoration: none;
  border: 1px solid rgba(255,255,255,0.15);
  transition: all 0.3s;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
}
.btn-ghost-light:hover { border-color: rgba(255,255,255,0.4); color: white; }

/* ===== HERO RIGHT ===== */
.hero-right {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

.hero-visual {
  width: 100%; height: 100%;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}

.hero-bg-text {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 220px;
  color: rgba(255,255,255,0.04);
  position: absolute;
  letter-spacing: -10px;
  line-height: 220px;
  user-select: none;
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0%,100% { transform: translateY(0px) rotate(-5deg); }
  50% { transform: translateY(-20px) rotate(-5deg); }
}

.hero-card {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px;
}

.metric-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: var(--space-card-tight-y) var(--space-card-tight-x);
  color: white;
  backdrop-filter: blur(10px);
  transition: transform 0.3s;
  animation: slideLeft 0.8s ease both;
}
.metric-card:hover { transform: translateX(-6px); }
.metric-card:nth-child(2) { animation-delay: 0.15s; margin-left: 32px; }
.metric-card:nth-child(3) { animation-delay: 0.3s; }

.metric-val {
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  font-weight: 900;
  color: var(--gold);
  line-height: 44px;
  margin-bottom: 6px;
}
.metric-label {
  font-size: var(--font-caption);
  letter-spacing: var(--letter-nav);
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: var(--layout-px);
  display: flex; align-items: center; gap: 12px;
  font-size: var(--font-label); letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  animation: fadeIn 1s 0.8s ease both;
}
.scroll-line {
  width: 40px; height: 1px; background: var(--muted);
  animation: extend 2s ease-in-out infinite;
}
@keyframes extend {
  0%,100% { width: 40px; }
  50% { width: 60px; }
}

/* ===== MARQUEE ===== */
.marquee-wrap {
  background: var(--ink);
  padding: 18px 0;
  overflow: hidden;
  display: flex;
}
.marquee-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: marquee 25s linear infinite;
}
.marquee-item {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: var(--font-lead);
  color: rgba(255,255,255,0.35);
  padding: 0 32px;
  flex-shrink: 0;
}
.marquee-item span { color: var(--gold); margin-right: 32px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== SECTION BASE ===== */
section { padding: var(--space-section-y) var(--layout-px); }

.section-tag {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: var(--font-label); letter-spacing: var(--letter-tag); text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin-bottom: 20px;
}
.section-tag::before {
  content: ''; display: block;
  width: 32px; height: 1px; background: var(--gold);
}

h2, .section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(36px, 4vw, 58px);
  letter-spacing: -1.5px;
  line-height: var(--line-h2);
  color: var(--ink);
  margin-bottom: 16px;
}
h2 em, .section-title em { font-style: italic; color: var(--gold); }

/* Inline wordmark — matches logo type (Playfair 900, roman; not italic emphasis) */
.brand-word {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-style: normal;
  letter-spacing: -0.5px;
  color: var(--ink);
}

.lead {
  font-size: var(--font-lead);
  color: var(--muted);
  max-width: 540px;
  line-height: var(--font-lead-lh);
}

/* ===== ABOUT SECTION ===== */
.about {
  background: var(--warm-white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2col-gap);
  align-items: center;
}

.about-visual { position: relative; }

.about-img-frame {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--ink);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.about-img-inner {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #1a1814 0%, #2d2920 40%, #0f0e0b 100%);
  display: flex; align-items: center; justify-content: center;
}

.about-quote-art {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 80px;
  color: rgba(201,168,76,0.2);
  text-align: center;
  line-height: 80px;
  padding: 32px;
}

.about-badge {
  position: absolute;
  bottom: -24px; right: -24px;
  width: 120px; height: 120px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  animation: spin-slow 20s linear infinite;
}
.badge-num {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 28px;
  color: var(--ink);
  line-height: 28px;
}
.badge-txt {
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(15,14,11,0.6);
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.about-content { padding: 12px 0; }
.about-content .lead { margin-bottom: 32px; }

.about-mission {
  border-left: 2px solid var(--gold);
  padding-left: 24px;
  margin-bottom: 32px;
}
.about-mission p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--ink-soft);
  line-height: 34px;
}

.about-values {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.value-item {
  display: flex; gap: 12px; align-items: flex-start;
}
.value-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0; margin-top: 7px;
}
.value-item span { font-size: 14px; color: var(--muted); line-height: 22px; }

/* ===== SERVICES ===== */
.services { background: var(--cream); }

.services-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 56px; flex-wrap: wrap; gap: 24px;
}

.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
}

.service-card {
  background: var(--cream);
  padding: var(--space-card-y) var(--space-card-x);
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
}
.service-card:hover { background: var(--gold-pale); }

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.service-card:hover::after { transform: scaleX(1); }

.service-number {
  font-family: 'Playfair Display', serif;
  font-size: 80px;
  font-weight: 900;
  color: var(--border);
  position: absolute;
  top: 24px; right: 32px;
  line-height: 80px;
  transition: color 0.4s;
}
.service-card:hover .service-number { color: var(--gold-light); }

.service-icon {
  font-size: 36px; margin-bottom: 24px; display: block;
}

.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  color: var(--ink);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.service-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 24px;
}
.service-list li {
  font-size: 14px; color: var(--muted); line-height: 22px;
  display: flex; align-items: center; gap: 10px;
}
.service-list li::before {
  content: ''; width: 16px; height: 1px;
  background: var(--gold); flex-shrink: 0;
}

.service-goal-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--font-caption); letter-spacing: 1px; text-transform: uppercase;
  color: var(--gold); font-weight: 500;
}
.service-goal-tag::before { content: '\2192'; }

/* 5-column service grid for full services page */
.services-grid-full {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
}

/* ===== AUDIENCE ===== */
.audience {
  background: var(--ink);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.audience::before {
  content: 'KMU';
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 300px;
  color: rgba(255,255,255,0.02);
  position: absolute;
  right: -40px;
  bottom: -60px;
  letter-spacing: -10px;
  line-height: 300px;
  user-select: none;
}

.audience .section-tag { color: var(--gold); }
.audience h2 { color: var(--cream); }
.audience h2 em { color: var(--gold); }
.audience .lead { color: rgba(255,255,255,0.45); }

.audience-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; margin-top: 48px;
}

.audience-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  padding: 28px 24px;
  transition: all 0.3s;
}
.audience-card:hover {
  background: rgba(201,168,76,0.1);
  border-color: rgba(201,168,76,0.3);
  transform: translateY(-6px);
}

.audience-emoji { font-size: 36px; margin-bottom: 20px; display: block; }
.audience-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 19px; font-weight: 700;
  line-height: 26px;
  color: var(--cream); margin-bottom: 10px;
}
.audience-card p { font-size: var(--font-small); color: rgba(255,255,255,0.4); line-height: 22px; }

/* ===== METHOD ===== */
.method { background: var(--warm-white); }

.method-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 56px;
  position: relative;
}

.method-steps::before {
  content: '';
  position: absolute;
  top: 36px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent);
}

.method-step {
  padding: 0 20px;
  position: relative;
  text-align: center;
}

.step-circle {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  font-family: 'Playfair Display', serif;
  font-weight: 900; font-size: 22px;
  color: var(--gold);
  position: relative; z-index: 2;
  transition: all 0.3s;
}
.method-step:hover .step-circle {
  background: var(--gold); color: var(--ink);
  box-shadow: 0 0 0 8px rgba(201,168,76,0.15);
}

.method-step h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 700;
  color: var(--ink); margin-bottom: 12px;
}
.method-step p { font-size: 14px; color: var(--muted); line-height: 24px; }

/* ===== WHY US ===== */
.why { background: var(--cream); }

.why-grid {
  display: grid; grid-template-columns: 5fr 4fr;
  gap: var(--space-2col-gap); align-items: start;
  margin-top: 48px;
}

.why-list { display: flex; flex-direction: column; gap: 0; }

.why-item {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-soft);
  transition: padding-left 0.3s;
}
.why-item:first-child { border-top: 1px solid var(--border-soft); }
.why-item:hover { padding-left: 12px; }

.why-num {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 1px;
  padding-top: 3px;
  flex-shrink: 0;
  width: 24px;
}
.why-text h4 {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 700;
  color: var(--ink); margin-bottom: 8px;
}
.why-text p { font-size: 14px; color: var(--muted); line-height: 24px; }

.why-sidebar {
  background: var(--ink);
  border-radius: 4px;
  padding: 40px 32px;
  position: sticky;
  top: 108px;
}

.sidebar-title {
  font-size: var(--font-label); letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 24px;
}

.sidebar-metrics { display: flex; flex-direction: column; gap: 24px; }

.s-metric { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; }
.s-metric:first-child { border-top: none; padding-top: 0; }

.s-val {
  font-family: 'Playfair Display', serif;
  font-size: 48px; font-weight: 900;
  color: var(--gold); line-height: 48px;
  margin-bottom: 6px;
}
.s-label { font-size: var(--font-small); color: rgba(255,255,255,0.4); line-height: 20px; }

/* ===== BLOG SECTION ===== */
.blog-section { background: var(--warm-white); }

.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 48px;
}

.blog-card {
  background: var(--cream);
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 80px rgba(0,0,0,0.1);
}

.blog-thumb {
  aspect-ratio: 16/9;
  background: var(--ink);
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}

.blog-thumb-text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 64px;
  color: rgba(201,168,76,0.3);
}

.blog-tag {
  position: absolute; top: 16px; left: 16px;
  background: var(--gold); color: var(--ink);
  font-size: var(--font-micro); letter-spacing: var(--letter-nav); text-transform: uppercase;
  font-weight: 600; padding: 4px 10px; border-radius: 2px;
}

.blog-body { padding: 24px; }

.blog-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 700;
  color: var(--ink); margin-bottom: 10px;
  line-height: 24px;
}
.blog-body p { font-size: var(--font-small); color: var(--muted); line-height: 22px; margin-bottom: 16px; }

.blog-link {
  font-size: var(--font-caption); letter-spacing: 1px; text-transform: uppercase;
  color: var(--gold); text-decoration: none; font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
}
.blog-link::after { content: '\2192'; transition: transform 0.2s; }
.blog-link:hover::after { transform: translateX(4px); }

/* ===== CTA SECTION ===== */
.cta {
  background: var(--ink);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px; border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.1);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}
.cta::after {
  content: '';
  position: absolute;
  width: 900px; height: 900px; border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.05);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}

.cta-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}
.cta .section-tag { justify-content: center; color: var(--gold); }
.cta h2 { color: var(--cream); max-width: 680px; margin: 0 auto 16px; }
.cta h2 em { color: var(--gold); }
.cta .lead { text-align: center; margin: 0 auto 40px; color: rgba(255,255,255,0.45); }

.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.site-footer {
  background: #080807;
  padding: 48px var(--layout-px) 32px;
}

.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 48px; padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}

.footer-brand p { font-size: var(--font-small); color: rgba(255,255,255,0.35); line-height: 22px; max-width: 260px; margin-top: 16px; }
.footer-brand .site-logo img {
  height: 48px;
}

.footer-col h5 {
  font-size: var(--font-micro); letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: var(--font-small); color: rgba(255,255,255,0.35);
  text-decoration: none; transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--cream); }

.footer-bottom {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-copy { font-size: var(--font-caption); color: rgba(255,255,255,0.2); line-height: 18px; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: var(--font-caption); color: rgba(255,255,255,0.2); text-decoration: none; line-height: 18px; }
.footer-legal a:hover { color: var(--gold); }

/* ===== PAGE HERO (Inner pages) ===== */
.page-hero {
  padding: var(--space-page-hero-t) var(--layout-px) var(--space-page-hero-b);
  background: var(--warm-white);
  position: relative;
  overflow: hidden;
}

.page-hero .section-tag { margin-bottom: 16px; }

.page-hero h1 {
  font-size: clamp(40px, 5vw, 68px);
  line-height: var(--line-page-hero-h1);
  margin-bottom: 20px;
}

.page-hero .lead {
  font-size: var(--font-lead);
  line-height: var(--font-lead-lh);
  max-width: 600px;
}

.page-hero--compact {
  padding-bottom: 32px;
}

/* ===== INNER PAGE CONTENT ===== */
.page-content {
  padding: var(--space-page-content-y) var(--layout-px);
}

.content-block {
  max-width: 100%;
  margin: 0 0 var(--space-block-y);
}

.content-block--after-grid {
  margin-top: 32px;
}

.content-block h2 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: var(--line-inner-h2);
  margin-bottom: 20px;
}

.content-block h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  margin-top: 40px;
}

.content-block p {
  font-size: var(--font-body);
  color: var(--ink-soft);
  line-height: 29px;
  margin-bottom: 16px;
}

.content-block ul {
  list-style: none;
  margin-bottom: 20px;
}

.content-block ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: var(--font-body);
  color: var(--muted);
  line-height: var(--font-body-lh);
  padding: 8px 0;
  padding-left: 0;
  position: relative;
}

.content-block ul li::before {
  content: '';
  flex: 0 0 16px;
  width: 16px;
  min-width: 16px;
  height: 1px;
  background: var(--gold);
  margin-top: calc((var(--font-body-lh) - 1px) / 2);
}

.content-block .highlight-box {
  background: var(--gold-pale);
  border-left: 3px solid var(--gold);
  padding: 24px 28px;
  margin: 24px 0;
  border-radius: 0 4px 4px 0;
}

.content-block .highlight-box p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 20px;
  line-height: 30px;
  color: var(--ink-soft);
  margin-bottom: 0;
}

.content-block .before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 32px 0;
}

.content-block .before-col,
.content-block .after-col {
  padding: 28px;
  border-radius: 4px;
}

.content-block .before-col {
  background: rgba(194, 77, 44, 0.05);
  border: 1px solid rgba(194, 77, 44, 0.15);
}

.content-block .after-col {
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.2);
}

.content-block .before-col h4,
.content-block .after-col h4 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.content-block .before-col h4 { color: var(--rust); }
.content-block .after-col h4 { color: var(--gold); }

.content-block .before-col li::before { background: var(--rust); }

/* ===== AUTOMATION AREAS GRID ===== */
.auto-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 32px 0;
}

.auto-card {
  background: var(--warm-white);
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  padding: 24px;
  transition: all 0.3s;
}

.auto-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}

.auto-card .auto-icon {
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
}

.auto-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.auto-card p {
  font-size: var(--font-small);
  color: var(--muted);
  line-height: 22px;
  margin-bottom: 0;
}

/* ===== CONTACT / ERSTGESPRAECH ===== */
.contact-section {
  padding: var(--space-contact-y) var(--layout-px);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2col-gap);
  align-items: start;
}

.contact-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 24px;
}

.contact-info p {
  font-size: var(--font-body);
  color: var(--muted);
  line-height: var(--font-body-lh);
  margin-bottom: 20px;
}

.contact-benefits {
  list-style: none;
  margin: 24px 0;
}

.contact-benefits li {
  font-size: var(--font-body);
  color: var(--ink-soft);
  line-height: var(--font-body-lh);
  padding: 12px 0;
  padding-left: 32px;
  position: relative;
  border-bottom: 1px solid var(--border-soft);
}

.contact-benefits li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 600;
}

.contact-benefits li:last-child { border-bottom: none; }

.contact-form-wrap {
  background: var(--warm-white);
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  padding: 40px;
}

.contact-form-wrap h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: var(--font-caption);
  letter-spacing: var(--letter-nav);
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: 'Outfit', sans-serif;
  font-size: var(--font-body);
  color: var(--ink);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.calendly-embed {
  min-height: 600px;
  margin-top: 32px;
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  overflow: hidden;
}

/* ===== SINGLE POST ===== */
.single-post-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: var(--space-single-y) var(--layout-px);
  box-sizing: border-box;
}

.single-post-content .post-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
}

.single-post-content .post-meta span {
  font-size: var(--font-caption);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}

.single-post-content h1 {
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 28px;
  line-height: var(--line-single-h1);
  letter-spacing: -1px;
}

.single-post-content h2 {
  font-size: clamp(24px, 3vw, 36px);
  line-height: var(--line-single-h2);
  margin-top: 48px;
  margin-bottom: 16px;
}

.single-post-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  line-height: 30px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 36px;
  margin-bottom: 14px;
}

.single-post-content p {
  font-size: var(--font-body);
  line-height: 29px;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.single-post-content ul {
  list-style: none;
  margin-bottom: 20px;
}

.single-post-content ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: var(--font-body);
  color: var(--muted);
  line-height: var(--font-body-lh);
  padding: 6px 0;
  padding-left: 0;
  position: relative;
}

.single-post-content ul li::before {
  content: '';
  flex: 0 0 16px;
  width: 16px;
  min-width: 16px;
  height: 1px;
  background: var(--gold);
  margin-top: calc((var(--font-body-lh) - 1px) / 2);
}

.single-post-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 20px 24px;
  margin: 28px 0;
  background: var(--gold-pale);
  border-radius: 0 4px 4px 0;
}

.single-post-content blockquote p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 22px;
  line-height: 34px;
  color: var(--ink-soft);
  margin-bottom: 0;
}

/* ===== 404 PAGE ===== */
.error-404 {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-section-y) var(--layout-px);
  width: 100%;
  box-sizing: border-box;
}

.error-404 .error-code {
  font-family: 'Playfair Display', serif;
  font-size: 180px;
  font-weight: 900;
  color: var(--border);
  line-height: 180px;
  margin-bottom: 16px;
}

.error-404 h1 {
  font-size: 36px;
  line-height: 42px;
  margin-bottom: 16px;
}

.error-404 p {
  font-size: var(--font-body);
  line-height: var(--font-body-lh);
  color: var(--muted);
  margin-bottom: 32px;
}

/* ===== ANIMATIONS ===== */
@keyframes slideRight {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideLeft {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .about { grid-template-columns: 1fr; }
  .about-visual { display: none; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .method-steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .method-steps::before { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .why-sidebar { position: static; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .services-grid-full { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .content-block .before-after { grid-template-columns: 1fr; }
  .auto-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  body.nav-open { overflow: hidden; touch-action: none; }
  .site-nav { padding: 16px var(--layout-px); }
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--cream);
    padding: 32px var(--layout-px);
    border-bottom: 1px solid var(--border-soft);
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
  }

  section { padding-top: var(--space-section-y-sm); padding-bottom: var(--space-section-y-sm); }
  .hero-left { padding-top: 48px; padding-bottom: 48px; }
  .services-grid { grid-template-columns: 1fr; }
  .services-grid-full { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .method-steps { grid-template-columns: 1fr; }
  .site-footer { padding-top: 36px; padding-bottom: 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .page-hero { padding-top: 112px; padding-bottom: 48px; }
  .page-content { padding-top: 48px; padding-bottom: 48px; }
  .contact-section { padding-top: 48px; padding-bottom: 48px; }
  .contact-form-wrap { padding: 28px var(--layout-px); }
  .single-post-content { padding-top: 48px; padding-bottom: 48px; }
}
