/* =================================================================
   INAVI Inner Studio — Main Stylesheet
   ================================================================= */

:root {
  --terracotta: #6d412a;
  --terracotta-soft: #8a5a3f;
  --cream: #e3d7c8;
  --cream-light: #f1e9dd;
  --paper: #f8f3ea;
  --ink: #1d1d1b;
  --ink-soft: #2b2b28;
  --sage: #718956;
  --sage-light: #c7d4b9;
  --muted: #7a6f62;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(109,65,42,0.03) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(113,137,86,0.025) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

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

/* ============ NAVIGATION ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 24px 0;
  background: rgba(248, 243, 234, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s ease, padding 0.3s ease;
}
.nav.scrolled {
  border-bottom-color: rgba(29,29,27,0.08);
  padding: 16px 0;
}

@media (max-width: 960px) {
  /* Mobile: transparent oben, solid beim Scrollen */
  .nav {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom-color: transparent;
    transition: background 0.4s ease, border-color 0.4s ease, padding 0.3s ease;
  }
  .nav.scrolled {
    background: rgba(248, 243, 234, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: rgba(29,29,27,0.08);
    padding: 16px 0;
  }
  /* Logo/Burger weiss wenn transparent */
  .nav:not(.scrolled) .logo,
  .nav:not(.scrolled) .logo span,
  .nav:not(.scrolled) .nav-links a { color: var(--paper); }
  .nav:not(.scrolled) .logo-wrap img { filter: brightness(0) invert(1); }
  .nav:not(.scrolled) .nav-toggle span { background: var(--paper); }
  /* Logo/Burger dunkel wenn scrolled */
  .nav.scrolled .logo,
  .nav.scrolled .logo span,
  .nav.scrolled .nav-links a { color: var(--ink); }
  .nav.scrolled .logo-wrap img { filter: none; }
  .nav.scrolled .nav-toggle span { background: var(--ink); }
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* WP Custom Logo */
.logo-wrap .custom-logo-link img { max-height: 48px; width: auto; }
.logo {
  font-family: var(--serif);
  font-size: 1.6rem;
  letter-spacing: 0.24em;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}
.logo span {
  display: block;
  font-family: var(--sans);
  font-size: 0.58rem;
  letter-spacing: 0.42em;
  font-weight: 400;
  color: var(--muted);
  margin-top: 4px;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 44px;
  list-style: none;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
  transition: color 0.3s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--terracotta);
  transition: width 0.4s ease;
}
.nav-links a:hover { color: var(--terracotta); }
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 1px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.35s ease, opacity 0.25s ease, background 0.3s ease;
  transform-origin: center;
}
/* Burger -> X */
.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
/* Wenn Menü offen ist: Burger-Striche immer dunkel (auf hellem Panel) */
.nav .nav-toggle.is-open span { background: var(--ink); }

/* Body-Scroll-Lock wenn Menü offen */
body.menu-open { overflow: hidden; }

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 32px;
  font-weight: 400;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px; height: 1px;
  background: var(--terracotta);
  vertical-align: middle;
  margin-right: 14px;
  margin-bottom: 3px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5.8vw, 5.2rem);
  line-height: 1.02;
  font-weight: 300;
  letter-spacing: -0.015em;
  margin-bottom: 32px;
  color: var(--ink);
}
.hero h1 em {
  font-style: italic;
  color: var(--terracotta);
  font-weight: 300;
}
.hero-sub {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 460px;
  margin-bottom: 40px;
}
.hero-sub strong {
  font-weight: 400;
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 32px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 400;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--terracotta);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}
.btn > * { position: relative; z-index: 1; }
.btn span { position: relative; z-index: 1; }
.btn:hover::before { transform: translateY(0); }
.btn .arrow { display: inline-block; transition: transform 0.3s ease; }
.btn:hover .arrow { transform: translateX(6px); }

/* Hero-Visual */
.hero-visual {
  position: relative;
  max-width: 520px;
  margin-left: auto;
  overflow: hidden;
}
.hero-visual img.hero-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center bottom;
}
.hero-badge {
  position: absolute;
  bottom: 28px;
  left: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--serif);
  font-style: normal;
  font-weight: 300;
  font-size: 0.85rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 12px rgba(0,0,0,0.18);
  z-index: 2;
}
.hero-badge-line {
  display: block;
  width: 28px;
  height: 1px;
  background: rgba(255,255,255,0.85);
  flex-shrink: 0;
}

.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.68rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.scroll-hint::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--muted), transparent);
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.5; }
  50% { transform: scaleY(1.3); opacity: 1; }
}

/* ============ SECTIONS ============ */
section {
  padding: 140px 0;
  position: relative;
}
.section-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--terracotta);
  letter-spacing: 0.15em;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.section-num::before {
  content: '';
  width: 40px; height: 1px;
  background: var(--terracotta);
}

h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  line-height: 1.08;
  font-weight: 300;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
  color: var(--ink);
}
h2 em {
  font-style: italic;
  color: var(--terracotta);
  font-weight: 300;
}

/* ============ RECOGNITION ============ */
.recognition {
  background: var(--cream-light);
  padding: 160px 0;
  position: relative;
  overflow: hidden;
}
.recognition::before {
  content: '';
  position: absolute;
  top: 60px; right: -60px;
  width: 300px; height: 300px;
  border: 1px solid var(--terracotta);
  border-radius: 50%;
  opacity: 0.2;
}
.recognition-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
  align-items: center;
}
.recognition-image {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.recognition-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.recognition-image:hover img { transform: scale(1.04); }
.recognition-image-caption {
  display: none !important;
}
.recognition-content h2 { margin-bottom: 32px; }
.recognition-content p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.recognition-content p:last-child { margin-bottom: 0; }
.recognition-content .lead {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.5;
  font-style: italic;
  color: var(--ink);
  padding-left: 24px;
  border-left: 2px solid var(--terracotta);
  margin-bottom: 32px;
}

/* ============ APPROACH ============ */
.approach { padding: 180px 0; }
.approach-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  margin-bottom: 100px;
  align-items: end;
}
.approach-header h2 { margin-bottom: 0; }
.approach-header p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink-soft);
  padding-bottom: 12px;
}
.approach-body {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.approach-image {
  position: sticky;
  top: 120px;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.approach-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.approach-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 32px;
  padding: 36px 0;
  border-top: 1px solid rgba(29,29,27,0.15);
  transition: border-color 0.4s, padding 0.4s;
}
.step:last-child { border-bottom: 1px solid rgba(29,29,27,0.15); }
.step:hover {
  border-top-color: var(--terracotta);
  padding-left: 12px;
}
.step-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.8rem;
  color: var(--terracotta);
  display: block;
  font-weight: 300;
  padding-top: 2px;
}
.step h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--ink);
}
.step p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0;
}
.step-content { min-width: 0; }

/* ============ RHYTHM ============ */
.rhythm {
  background: var(--ink);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--paper);
  padding: 200px 0;
  position: relative;
  overflow: hidden;
}
.rhythm::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -200px;
  transform: translateY(-50%);
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109,65,42,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.rhythm::after {
  content: '';
  position: absolute;
  bottom: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(113,137,86,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.rhythm-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.rhythm .section-num {
  justify-content: center;
  color: var(--cream);
}
.rhythm .section-num::before { background: var(--cream); }
.rhythm h2 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  color: var(--paper);
  margin-bottom: 40px;
  line-height: 1.15;
}
.rhythm h2 em { color: var(--sage-light); }
.rhythm p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: rgba(248,243,234,0.75);
  max-width: 620px;
  margin: 0 auto;
}

/* ============ OFFERINGS ============ */
.offerings { padding: 180px 0; }
.offerings-header {
  max-width: 720px;
  margin-bottom: 80px;
}
.offering-intro {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.8;
  margin-top: 32px;
}
.offerings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.offering {
  position: relative;
  background: var(--paper);
  border: 1px solid rgba(29,29,27,0.08);
  transition: all 0.5s cubic-bezier(0.4,0,0.2,1);
  overflow: hidden;
}
.offering:nth-child(2) {
  background: var(--cream-light);
}
.offering::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
  z-index: 2;
}
.offering:hover { transform: translateY(-8px); }
.offering:hover::before { transform: scaleX(1); }

.offering-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.offering-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.offering:hover .offering-image img { transform: scale(1.05); }

.offering-body {
  padding: 56px 48px;
}
.offering-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--terracotta);
  margin-bottom: 20px;
  letter-spacing: 0.1em;
}
.offering h3 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--ink);
}
.offering p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.offering p:last-of-type { margin-bottom: 0; }

/* ============ FIT ============ */
.fit-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 120px;
  align-items: start;
}
.fit-left {
  position: sticky;
  top: 120px;
}
.fit-left h2 { margin-bottom: 24px; }
.fit-left p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink-soft);
}

.fit-list { list-style: none; }
.fit-list li {
  padding: 24px 0;
  border-bottom: 1px solid rgba(29,29,27,0.12);
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--ink-soft);
  display: flex;
  gap: 24px;
  transition: color 0.3s;
}
.fit-list li:last-child { border-bottom: none; }
.fit-list li:hover { color: var(--ink); }
.fit-list .idx {
  font-family: var(--serif);
  font-style: italic;
  color: var(--terracotta);
  font-size: 0.9rem;
  padding-top: 6px;
  min-width: 28px;
}

.fit-close {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid rgba(29,29,27,0.15);
}

.fit-close-btn {
  display: inline-block;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
  text-decoration: none;
  padding: 18px 36px;
  border: 1px solid rgba(29,29,27,0.3);
  background: transparent;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  overflow: hidden;
}
.fit-close-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--terracotta);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  z-index: 0;
}
.fit-close-btn span,
.fit-close-btn > * { position: relative; z-index: 1; }
.fit-close-btn:hover {
  color: var(--paper);
  border-color: var(--terracotta);
}
.fit-close-btn:hover::before { transform: translateY(0); }

/* ============ ABOUT ============ */
.about { padding: 200px 0; position: relative; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 100px;
  align-items: start;
}
.about-portrait {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.about-portrait:hover img { transform: scale(1.03); }
.about-portrait::before {
  content: '';
  position: absolute;
  top: -24px; left: -24px;
  width: 80px; height: 80px;
  border: 1px solid var(--terracotta);
  z-index: 2;
  pointer-events: none;
}
.about-portrait::after {
  content: '';
  position: absolute;
  bottom: -24px; right: -24px;
  width: 120px; height: 120px;
  background: var(--sage-light);
  z-index: -1;
}
.about-portrait-mark {
  position: absolute;
  bottom: 24px;
  left: 24px;
  font-family: var(--serif);
  font-size: 0.95rem;
  letter-spacing: 0.32em;
  color: var(--paper);
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
  z-index: 2;
}

.about-content h2 { margin-bottom: 40px; }
.about-content .about-lead {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.55;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 40px;
}
.about-content p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.about-credentials {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(29,29,27,0.15);
}
.about-credentials .cred {
  display: flex;
  gap: 20px;
  padding: 14px 0;
  font-size: 0.92rem;
}
.about-credentials .cred-label {
  font-family: var(--serif);
  font-style: italic;
  color: var(--terracotta);
  min-width: 80px;
}

/* ============ VISION ============ */
.vision {
  background: var(--cream-light);
  padding: 180px 0;
  position: relative;
  overflow: hidden;
}
.vision-feature {
  margin-bottom: 100px;
  aspect-ratio: 21/9;
  overflow: hidden;
  position: relative;
}
.vision-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}
.vision-block { position: relative; }
.vision-block .vision-label {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--terracotta);
  margin-bottom: 24px;
  letter-spacing: 0.08em;
}
.vision-block h3 {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 32px;
  color: var(--ink);
}
.vision-block p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

/* Fit-Section Overlay */
.fit {
  padding: 180px 0;
  position: relative;
  background-color: var(--cream);
}

/* ============ CTA ============ */
.cta {
  padding: 180px 0;
  text-align: center;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.cta::before {
  display: none;
}
.cta-inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.cta h2 {
  color: var(--paper);
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: 40px;
}
.cta h2 em { color: var(--sage-light); }
.cta p {
  font-size: 1.1rem;
  color: rgba(248,243,234,0.7);
  margin-bottom: 56px;
  line-height: 1.7;
}
.cta .btn {
  background: var(--paper);
  color: var(--ink);
}
.cta .btn::before { background: var(--terracotta); }
.cta .btn:hover { color: var(--paper); }

/* ============ FOOTER ============ */
footer {
  padding: 80px 0 40px;
  background: var(--ink-soft);
  color: rgba(248,243,234,0.6);
  font-size: 0.88rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: start;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(248,243,234,0.1);
}
footer .logo { color: var(--paper); }
footer .logo span { color: rgba(248,243,234,0.5); }
.footer-logo-link { display: inline-block; }
.footer-logo-img { max-height: 48px; width: auto; }
.footer-logo-wp img { max-height: 48px; width: auto; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-tag {
  margin-top: 20px;
  max-width: 320px;
  line-height: 1.7;
}
.footer-links {
  display: flex;
  gap: 32px;
  list-style: none;
  flex-wrap: wrap;
}
.footer-links a {
  color: rgba(248,243,234,0.7);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s;
  white-space: nowrap;
}
.footer-links a:hover { color: var(--cream); }
.footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(248,243,234,0.4);
  flex-wrap: wrap;
  gap: 8px;
}
.footer-credit {
  color: rgba(248,243,234,0.25);
}

@media (max-width: 600px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-links {
    gap: 16px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
  }
}

/* ============ REVEAL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.4,0,0.2,1), transform 1s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* ============ WordPress Core Classes ============ */
.alignwide { max-width: 1400px; margin-left: auto; margin-right: auto; }
.alignfull { max-width: none; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.alignleft { float: left; margin-right: 24px; margin-bottom: 16px; }
.alignright { float: right; margin-left: 24px; margin-bottom: 16px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }

.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4 {
  font-family: var(--serif);
  font-weight: 300;
  margin: 40px 0 20px;
  line-height: 1.2;
}
.entry-content h2 { font-size: 2rem; }
.entry-content h3 { font-size: 1.5rem; }
.entry-content p { margin-bottom: 20px; }
.entry-content a { color: var(--terracotta); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--ink); }
.entry-content ul, .entry-content ol { margin: 0 0 20px 24px; }
.entry-content li { margin-bottom: 8px; }
.entry-content blockquote {
  border-left: 2px solid var(--terracotta);
  padding-left: 24px;
  margin: 32px 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--ink);
}
.entry-content img { margin: 20px 0; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .container { padding: 0 24px; }
  .nav-toggle { display: block; }

  /* Mobile-Menü: immer im DOM, mit weichem Ein-/Ausblenden */
  .nav-links {
    display: flex;
    position: fixed;
    top: 0; left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    padding: 100px 32px 40px;
    gap: 28px;
    border-bottom: 1px solid rgba(29,29,27,0.08);
    box-shadow: 0 12px 32px rgba(29,29,27,0.08);

    /* Geschlossener Zustand */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    pointer-events: none;
    transition:
      opacity 0.35s ease,
      transform 0.35s ease,
      visibility 0s linear 0.35s;
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition:
      opacity 0.35s ease,
      transform 0.35s ease,
      visibility 0s linear 0s;
  }
  /* Im offenen Menü: Links immer dunkel (auf hellem Panel) */
  .nav .nav-links.open a { color: var(--ink); }
  .nav-links.open a {
    font-size: 1.1rem;
    letter-spacing: 0.16em;
    padding: 8px 0;
  }
  .hero-grid,
  .recognition-grid,
  .approach-header,
  .approach-body,
  .fit-grid,
  .about-grid,
  .vision-grid,
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .fit-left,
  .approach-image { position: static; }
  .offerings-grid { grid-template-columns: 1fr; }
  .offering:nth-child(2) { margin-top: 0; }
  .offering-body { padding: 40px 32px; }
  section { padding: 100px 0; }
  .hero { padding: 120px 0 60px; min-height: auto; }
  .hero-visual { max-width: 100%; margin-left: 0; aspect-ratio: 4/5; }
  .hero-badge { left: 20px; bottom: 20px; }
  .scroll-hint { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { gap: 8px; }
  .rhythm { background-attachment: scroll; }
  .vision-feature { aspect-ratio: 16/10; margin-bottom: 60px; }
}

/* ============ MOBILE IMAGE HIDE (via Customizer) ============ */
.mobile-hide-image { display: block; }

@media (max-width: 960px) {
  /* Text immer vor Bild auf Mobile */
  .hero-grid,
  .recognition-grid,
  .approach-body,
  .about-grid {
    display: flex;
    flex-direction: column;
  }
  .hero-text,
  .recognition-content,
  .about-content {
    order: 1;
  }
  .hero-visual,
  .recognition-image,
  .approach-image,
  .about-portrait {
    order: 2;
  }

  /* Customizer-gesteuerte Ausblendung */
  .mobile-hide-image { display: none !important; }

  /* Bilder auf Mobile im Querformat */
  .recognition-image {
    aspect-ratio: 16/9 !important;
  }
  .recognition-image img {
    height: 100%;
    object-fit: cover;
  }

  /* Hero Mobile — Rand zu Rand, wie Referenzbild */
  .hero {
    min-height: 100svh;
    padding: 0;
    position: relative;
    display: block;
  }
  .hero-grid {
    display: block;
    position: relative;
    min-height: 100svh;
  }
  /* Nav Mobile — scrolled Klasse übernimmt */

  .hero-visual {
    position: absolute !important;
    inset: 0;
    order: 0;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: unset !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .hero-visual picture,
  .hero-visual img.hero-image {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: unset !important;
    object-fit: cover;
    object-position: center center;
  }
  /* Overlay — weiter nach oben damit ganzer Text lesbar */
  .hero-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(10,10,8,0.1) 0%,
      rgba(10,10,8,0.1) 20%,
      rgba(10,10,8,0.6) 45%,
      rgba(10,10,8,0.95) 100%
    );
    z-index: 1;
  }
  /* Text unten */
  .hero-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 0 28px 52px;
    color: var(--paper);
  }
  .hero-eyebrow { display: none; }
  .hero h1 {
    color: #fff;
    font-size: clamp(1.55rem, 5.8vw, 2.4rem);
    line-height: 1.15;
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
  }
  .hero h1 em { color: #e8c4a0; }
  .hero-sub {
    color: rgba(255,255,255,0.82);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 32px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
  }
  /* Button — elegant, passend zum Stil */
  .hero .btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255,255,255,0.6);
    color: #fff;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    padding: 15px 28px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
  }
  .hero .btn::before { display: none; }
  .hero .btn:hover {
    background: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.9);
  }
  .hero .btn span { position: relative; z-index: 1; }
  .hero-badge { z-index: 3; }
  .hero .container { padding: 0; }
}

/* ============ KONTAKTFORMULAR ============ */
.contact-form-wrap {
  max-width: 720px;
  margin: 60px auto 0;
  text-align: left;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(248,243,234,0.55);
  font-weight: 400;
}

.form-group input,
.form-group textarea {
  background: rgba(248,243,234,0.06);
  border: 1px solid rgba(248,243,234,0.18);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  padding: 16px 20px;
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease;
  border-radius: 0;
  -webkit-appearance: none;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(248,243,234,0.28);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(248,243,234,0.5);
  background: rgba(248,243,234,0.10);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.65;
}

.form-footer {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 8px;
}

.form-privacy {
  font-size: 0.72rem;
  color: rgba(248,243,234,0.3);
  line-height: 1.5;
  letter-spacing: 0.03em;
  margin-bottom: 0;
}
.form-privacy a {
  color: rgba(248,243,234,0.45);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s;
}
.form-privacy a:hover { color: var(--paper); }

.btn-submit {
  width: 100%;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(248,243,234,0.35);
  color: var(--paper);
}
.btn-submit::before { background: var(--terracotta); }
.btn-submit:hover { color: var(--paper); border-color: var(--terracotta); }

.form-success {
  text-align: center;
  padding: 60px 40px;
  border: 1px solid rgba(248,243,234,0.15);
}
.form-success-icon {
  display: block;
  font-size: 2rem;
  color: var(--sage-light);
  margin-bottom: 20px;
}
.form-success p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: rgba(248,243,234,0.85);
  line-height: 1.6;
}

.form-error-msg {
  padding: 16px 20px;
  border: 1px solid rgba(255,100,100,0.3);
  background: rgba(255,100,100,0.08);
  color: rgba(248,243,234,0.75);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

/* ============ FOOTER LEGAL LINKS ============ */
.footer-legal-links a {
  color: rgba(248,243,234,0.4);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}
.footer-legal-links a:hover { color: var(--cream); }

/* ============ RESPONSIVE FORM ============ */
@media (max-width: 960px) {
  .form-row { grid-template-columns: 1fr; gap: 20px; }
  .form-footer { flex-direction: column; align-items: flex-start; }
  .form-privacy { max-width: 100%; }
  .contact-form-wrap { margin-top: 48px; }
}

.braun, span.braun, em.braun {
  color: var(--terracotta) !important;
  font-style: italic !important;
  font-weight: 300 !important;
}
.sage { color: var(--sage); }

/* Picture-Element wie img behandeln */
picture { display: block; width: 100%; height: 100%; }
picture img { width: 100%; height: 100%; object-fit: cover; }

/* Credentials — Name/Rolle */
.cred-name-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 0;
}
.cred-name-title {
  font-family: var(--sans);
  font-style: normal;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.cred-role {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.cred-role-small {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.92rem;
  color: var(--ink-soft);
  letter-spacing: 0;
}

/* Honeypot — für Menschen unsichtbar */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

@media (max-width: 960px) {
  .hero-sub strong,
  .hero-sub a {
    color: rgba(255,255,255,0.95) !important;
    font-weight: 600;
  }
}

/* ============ WIEDERERKENNUNG MOBILE VOLLBILD-HINTERGRUND ============ */
@media (max-width: 960px) {
  .recognition-has-mobile-bg {
    position: relative;
    overflow: hidden;
  }
  .recognition-mobile-bg {
    position: absolute;
    inset: 0;
    background-image: var(--recog-mobile-bg);
    background-size: cover;
    background-position: center top;
    z-index: 0;
  }
  .recognition-mobile-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(10,6,2,0.15) 0%,
      rgba(10,6,2,0.55) 50%,
      rgba(10,6,2,0.92) 100%
    );
  }
  .recognition-has-mobile-bg .container {
    position: relative;
    z-index: 2;
  }
  .recognition-has-mobile-bg .recognition-image {
    display: none !important;
  }
  .recognition-has-mobile-bg .recognition-grid {
    display: block;
  }
  /* Text auf dem Hintergrund — weiss/hell */
  .recognition-has-mobile-bg .recognition-content {
    padding: 60px 0 60px;
    color: var(--paper);
  }
  .recognition-has-mobile-bg .section-num {
    color: rgba(212,168,130,0.85);
  }
  .recognition-has-mobile-bg h2 {
    color: var(--paper);
  }
  .recognition-has-mobile-bg h2 em {
    color: #d4a882;
  }
  .recognition-has-mobile-bg .lead {
    color: rgba(248,243,234,0.82);
    border-left-color: rgba(212,168,130,0.55);
  }
  .recognition-has-mobile-bg p {
    color: rgba(248,243,234,0.75);
  }
}

/* ============ HERO MOBILE VOLLBILD-HINTERGRUND ============ */
@media (max-width: 960px) {
  .hero-has-mobile-bg {
    position: absolute !important;
    inset: 0;
  }
  .hero-mobile-bg {
    position: absolute;
    inset: 0;
    background-image: var(--hero-mobile-bg);
    background-size: cover;
    background-position: center center;
    z-index: 0;
  }
  .hero-mobile-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(10,6,2,0.1) 0%,
      rgba(10,6,2,0.1) 20%,
      rgba(10,6,2,0.6) 45%,
      rgba(10,6,2,0.95) 100%
    );
  }
  .hero-has-mobile-bg .hero-desktop-img {
    display: none;
  }
  .hero-badge {
    z-index: 3;
  }
}

/* Hero Mobile — Zeile 2 und 3 zusammen auf einer Linie */
@media (max-width: 960px) {
  .hero h1 br { display: none; }
  .hero h1 em { display: inline; }
  .hero-em-group {
    display: block;
  }
  .hero-em-group em {
    display: inline;
  }
}

/* Hero Headline — Zeile 2+3 auf Desktop getrennt, auf Mobile zusammen */
.hero-em-group {
  display: block;
}
.hero-em-group em + em::before {
  content: ' ';
}
@media (max-width: 960px) {
  .hero-em-group {
    display: inline;
  }
  .hero h1 br { display: none; }
}

/* Hero Mobile — braun Span gleiche Farbe wie em auf dunklem Hintergrund */
@media (max-width: 960px) {
  .hero-text span.braun,
  .hero h1 span.braun {
    color: #e8c4a0 !important;
    font-style: italic !important;
    font-weight: 300 !important;
  }
}

/* ============ MOBILE FIXES (Screenshot-Feedback) ============ */
@media (max-width: 960px) {

  /* 1. Overlay heller — Bild besser sichtbar */
  .hero-mobile-bg::after,
  .hero-visual::after {
    background: linear-gradient(
      to bottom,
      rgba(10,6,2,0.0) 0%,
      rgba(10,6,2,0.05) 25%,
      rgba(10,6,2,0.45) 50%,
      rgba(10,6,2,0.88) 100%
    ) !important;
  }

  /* 2. Hero Eyebrow auf Mobile ausblenden (doppelter Text) */
  .hero-eyebrow { display: none !important; }

  /* 3. INAVI Badge auf Mobile ausblenden */
  .hero-badge { display: none !important; }

  /* 4. Section-Num auf Mobile — gleiche Schrift wie Body, nicht kursiv */
  .section-num {
    font-family: var(--sans) !important;
    font-style: normal !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.2em !important;
    color: var(--terracotta) !important;
  }

  /* 5. Alle Buttons gleich wie Hero-Button — transparent mit Rahmen */
  .btn {
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.5) !important;
    color: var(--paper) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    width: 100%;
    justify-content: center;
  }
  .btn::before { display: none !important; }
  .btn:hover {
    background: rgba(255,255,255,0.18) !important;
  }
  /* Buttons auf hellem Hintergrund (ausserhalb Hero) */
  .recognition .btn,
  .approach .btn,
  .offerings .btn,
  .about .btn,
  .fit .btn {
    background: transparent !important;
    border: 1px solid rgba(29,29,27,0.4) !important;
    color: var(--ink) !important;
  }
  .recognition .btn:hover,
  .approach .btn:hover,
  .offerings .btn:hover,
  .about .btn:hover,
  .fit .btn:hover {
    background: var(--ink) !important;
    color: var(--paper) !important;
  }
}
