/* ==========================================================================
   Kalea Ventures LLC — Stylesheet
   Editorial-Premium · Creative Consulting, Copy & Persuasion
   ========================================================================== */

/* === Fonts ============================================================== */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600&family=Inter+Tight:wght@300;400;500;600;700&display=swap');

/* === Reset & Base ======================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

:root {
  /* Brand Colors — Ventures (Marineblau-Lila) */
  --ink: #1a1828;
  --ink-soft: #312e43;
  --ink-mid: #4a4660;
  --ink-low: #75718a;
  --ink-faint: #b6b3c4;
  --paper: #ffffff;
  --paper-warm: #f9f8fb;
  --paper-cool: #f1eff5;
  --rule: #e6e3ec;
  --accent: #312e43;
  --accent-deep: #1a1828;
  --accent-glow: #c9a063;  /* warmes Goldakzent für Funken-Echo aus Hero */

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4.5rem;
  --space-3xl: 7rem;
  --space-4xl: 10rem;

  /* Layout */
  --max-width: 1280px;
  --content-width: 1080px;
  --reading-width: 680px;
  --gutter: 2rem;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 480ms;
}

@media (max-width: 720px) {
  :root {
    --gutter: 1.25rem;
    --space-3xl: 4.5rem;
    --space-4xl: 6rem;
  }
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 200ms var(--ease), color 200ms var(--ease);
}

/* === Typography ========================================================= */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-low);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}

.eyebrow::before {
  content: '';
  width: 1.5rem;
  height: 1px;
  background: var(--accent-glow);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  letter-spacing: -0.025em;
}

h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  letter-spacing: -0.015em;
}

h4 {
  font-size: 1.15rem;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: -0.01em;
}

p {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-mid);
}

p.lead {
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

em {
  font-style: italic;
  font-family: var(--font-display);
  font-weight: 400;
}

/* === Layout ============================================================= */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container--narrow { max-width: var(--content-width); }
.container--reading { max-width: var(--reading-width); }

section {
  padding: var(--space-4xl) 0;
}

section + section {
  padding-top: 0;
}

/* === Navigation ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--rule);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav__brand img {
  height: 36px;
  width: auto;
}

.nav__brand-text {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.nav__brand-text small {
  display: block;
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-low);
  margin-top: 1px;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav__menu a {
  font-size: 0.92rem;
  font-weight: 450;
  color: var(--ink-mid);
  position: relative;
}

.nav__menu a:hover,
.nav__menu a.is-active {
  color: var(--ink);
}

.nav__menu a.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -28px;
  height: 1px;
  background: var(--accent-glow);
}

.nav__cta {
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  border-radius: 1px;
  transition: all 200ms var(--ease);
}

.nav__cta:hover {
  background: var(--ink);
  color: var(--paper);
}

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--ink);
}

@media (max-width: 860px) {
  .nav__menu, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .nav__menu.is-open {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-l) var(--gutter);
    border-bottom: 1px solid var(--rule);
    gap: 1.25rem;
  }
}

/* === Buttons ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  border-radius: 1px;
  cursor: pointer;
  transition: all 240ms var(--ease);
}

.btn--primary {
  background: var(--ink);
  color: var(--paper);
}

.btn--primary:hover {
  background: var(--accent-glow);
  color: var(--ink);
}

.btn--ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn__arrow {
  display: inline-block;
  transition: transform 240ms var(--ease);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

/* === Hero =============================================================== */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding: 0;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 24, 40, 0.5) 0%,
    rgba(26, 24, 40, 0.55) 60%,
    rgba(26, 24, 40, 0.85) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding: var(--space-4xl) var(--gutter) var(--space-3xl);
  min-height: 78vh;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero__content { max-width: 820px; }

.hero h1 {
  color: var(--paper);
  margin: var(--space-l) 0 var(--space-l);
}

.hero h1 em {
  color: var(--accent-glow);
  font-weight: 300;
}

.hero__lead {
  font-size: 1.2rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  max-width: 620px;
  margin-bottom: var(--space-xl);
}

.hero .eyebrow { color: rgba(255, 255, 255, 0.7); }

.hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__cta .btn--primary {
  background: var(--paper);
  color: var(--ink);
}

.hero__cta .btn--primary:hover {
  background: var(--accent-glow);
  color: var(--ink);
}

.hero__cta .btn--ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--paper);
}

.hero__cta .btn--ghost:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.hero__meta {
  position: absolute;
  bottom: var(--space-xl);
  right: var(--gutter);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.hero__meta-line {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hero__meta-line::before {
  content: '';
  width: 1.5rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 720px) {
  .hero__meta { display: none; }
}

/* === Page Header (non-hero pages) ======================================= */
.page-header {
  background: var(--paper-warm);
  padding: var(--space-3xl) 0 var(--space-2xl);
  border-bottom: 1px solid var(--rule);
}

.page-header h1 {
  margin: var(--space-m) 0 var(--space-s);
  font-size: clamp(2.2rem, 4.8vw, 3.8rem);
}

.page-header p {
  font-size: 1.15rem;
  color: var(--ink-mid);
  max-width: 580px;
}

/* === Section Headers ==================================================== */
.section-head {
  margin-bottom: var(--space-2xl);
  max-width: 720px;
}

.section-head h2 { margin: var(--space-m) 0 var(--space-m); }
.section-head p { font-size: 1.1rem; color: var(--ink-mid); }

/* === Service Grid ======================================================= */
.services { background: var(--paper); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.service {
  background: var(--paper);
  padding: var(--space-xl) var(--space-l);
  display: flex;
  flex-direction: column;
  gap: var(--space-s);
  transition: background 320ms var(--ease);
  position: relative;
}

.service:hover { background: var(--paper-warm); }

.service__num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 400;
  font-style: italic;
  color: var(--accent-glow);
  letter-spacing: 0.02em;
}

.service h3 {
  font-size: 1.4rem;
  margin-bottom: var(--space-2xs);
}

.service p {
  font-size: 0.98rem;
  color: var(--ink-mid);
  line-height: 1.6;
}

/* === Editorial Image Section (Craft) ==================================== */
.editorial {
  background: var(--paper);
  padding: var(--space-3xl) 0;
}

.editorial__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

@media (max-width: 860px) {
  .editorial__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

.editorial__image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.editorial__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial__image::after {
  content: '';
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 80px;
  height: 80px;
  border-right: 1px solid var(--accent-glow);
  border-bottom: 1px solid var(--accent-glow);
  z-index: -1;
}

.editorial__text h2 {
  margin-bottom: var(--space-l);
}

.editorial__text p {
  font-size: 1.08rem;
  margin-bottom: var(--space-m);
}

/* === Approach =========================================================== */
.approach { background: var(--paper-warm); }

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

@media (max-width: 860px) {
  .approach__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

.approach__steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-l);
}

.approach__step {
  display: flex;
  gap: var(--space-m);
  padding-bottom: var(--space-l);
  border-bottom: 1px solid var(--rule);
}

.approach__step:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.approach__step-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--accent-glow);
  flex-shrink: 0;
  min-width: 2.5rem;
  line-height: 1;
}

.approach__step h4 { margin-bottom: 0.4rem; }
.approach__step p { font-size: 0.98rem; }

/* === Founder Section ==================================================== */
.founder {
  background: var(--paper);
  position: relative;
}

.founder__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-2xl);
  align-items: center;
}

@media (max-width: 860px) {
  .founder__grid { grid-template-columns: 1fr; }
}

.founder__photo {
  position: relative;
}

.founder__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(20%);
}

.founder__photo::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  right: 12px;
  bottom: 12px;
  border: 1px solid var(--accent-glow);
  z-index: -1;
}

.founder__quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.3;
  font-weight: 300;
  color: var(--ink);
  margin: var(--space-l) 0;
  font-style: italic;
}

.founder__quote::before {
  content: '“';
  font-size: 2.5em;
  line-height: 0;
  vertical-align: -0.4em;
  color: var(--accent-glow);
  margin-right: 0.1em;
}

.founder__sig {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  margin-top: var(--space-s);
  color: var(--ink);
}

.founder__sig small {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-low);
  margin-top: 0.3rem;
}

/* === CTA Block ========================================================== */
.cta-block {
  background: var(--ink);
  color: var(--paper);
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-glow);
}

.cta-block h2 {
  color: var(--paper);
  margin: var(--space-m) 0 var(--space-l);
  max-width: 720px;
}

.cta-block p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 580px;
  margin-bottom: var(--space-l);
}

.cta-block .eyebrow { color: rgba(255, 255, 255, 0.7); }

.cta-block .btn--primary {
  background: var(--paper);
  color: var(--ink);
}

.cta-block .btn--primary:hover {
  background: var(--accent-glow);
  color: var(--ink);
}

/* === Contact / Forms =================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-2xl);
}

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-l);
}

.contact-info__block {
  border-top: 1px solid var(--rule);
  padding-top: var(--space-m);
}

.contact-info__label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-low);
  margin-bottom: 0.4rem;
}

.contact-info__value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--ink);
}

.contact-info__value a:hover { color: var(--accent-glow); }

.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-m);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-m);
}

@media (max-width: 540px) {
  .form__row { grid-template-columns: 1fr; }
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form__field label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-low);
  font-weight: 500;
}

.form__field input,
.form__field textarea,
.form__field select {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink-faint);
  padding: 0.7rem 0;
  outline: none;
  transition: border-color 200ms var(--ease);
}

.form__field input:focus,
.form__field textarea:focus {
  border-bottom-color: var(--accent-glow);
}

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

.form .btn {
  align-self: flex-start;
  margin-top: var(--space-s);
}

.form__notice {
  font-size: 0.85rem;
  color: var(--ink-low);
  line-height: 1.5;
}

/* === Footer ============================================================= */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-2xl) 0 var(--space-l);
  font-size: 0.92rem;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 860px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: var(--space-l); }
}

@media (max-width: 540px) {
  .footer__top { grid-template-columns: 1fr; }
}

.footer__brand-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--paper);
  line-height: 1.4;
  margin-top: var(--space-m);
  max-width: 320px;
}

.footer__title {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--space-s);
}

.footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__list a:hover { color: var(--paper); }

.footer__bottom {
  padding-top: var(--space-l);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-m);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__legal {
  display: flex;
  gap: var(--space-l);
  flex-wrap: wrap;
}

.footer__legal a:hover { color: var(--paper); }

/* === Prose (legal pages) ================================================ */
.prose { max-width: var(--reading-width); margin: 0 auto; }

.prose h2 {
  font-size: 1.5rem;
  margin: var(--space-xl) 0 var(--space-s);
  font-family: var(--font-display);
  font-weight: 500;
}

.prose h3 {
  font-size: 1.15rem;
  margin: var(--space-l) 0 var(--space-xs);
  font-family: var(--font-body);
  font-weight: 600;
}

.prose p, .prose li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-mid);
  margin-bottom: var(--space-s);
}

.prose ul, .prose ol {
  margin-left: 1.4rem;
  margin-bottom: var(--space-m);
}

.prose strong { color: var(--ink); font-weight: 600; }

.prose a {
  color: var(--accent-glow);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* === Animations ========================================================= */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fade-up 800ms var(--ease) both; }
.fade-up-1 { animation-delay: 80ms; }
.fade-up-2 { animation-delay: 200ms; }
.fade-up-3 { animation-delay: 320ms; }
.fade-up-4 { animation-delay: 440ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* === Utility ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
