/* ================================================
   DESIGN TOKENS
   ================================================ */
:root {
  --ink: #0e0e0e;
  --paper: #f5f2ec;
  --accent: #c84b2f;
  --accent2: #2a5c8a;
  --muted: #6b6560;
  --border: #d8d3cb;
  --card: #ffffff;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  font-size: 17px;
}

/* ================================================
   NAV
   ================================================ */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  padding: 0 6vw;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  z-index: 101;
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 400;
  transition: color 0.2s;
  letter-spacing: 0.03em;
}
.nav-links a:hover { color: var(--accent); }

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: all 0.3s ease;
  display: block;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* ================================================
   FOOTER
   ================================================ */
footer {
  padding: 2rem 6vw;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted);
}
footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
footer a:hover { color: var(--accent); }

/* ================================================
   BUTTONS
   ================================================ */
.btn-primary {
  background: var(--accent);
  color: white;
  padding: 0.85rem 2rem;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.02em;
}
.btn-primary:hover { background: #a33820; transform: translateY(-1px); }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  padding: 0.85rem 2rem;
  border: 1px solid var(--border);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }

/* ================================================
   SECTIONS (shared)
   ================================================ */
.section { padding: 7rem 6vw; }
.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.section-title em { font-style: italic; color: var(--accent); }

/* ================================================
   HERO
   ================================================ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 64px;
}
.hero-left {
  padding: 10vh 6vw 8vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--border);
}
.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.hero-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 3rem;
  line-height: 1.8;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-right {
  padding: 10vh 6vw 8vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  background: var(--ink);
}
.hero-stat {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 1.5rem;
}
.hero-stat:last-child { border-bottom: none; }
.stat-number {
  font-family: 'Fraunces', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ================================================
   PAIN POINTS
   ================================================ */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 4rem;
  border: 2px solid var(--ink);
}
.pain-card {
  background: var(--card);
  padding: 2.5rem;
  border-right: 2px solid var(--ink);
  transition: background 0.2s;
}
.pain-card:last-child { border-right: none; }
.pain-card:hover { background: var(--ink); color: white; }
.pain-card:hover .pain-icon { color: var(--accent); }
.pain-card:hover .pain-text { color: rgba(255,255,255,0.7); }
.pain-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--accent2);
  transition: color 0.2s;
}
.pain-title {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}
.pain-text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  transition: color 0.2s;
}

/* ================================================
   SERVICES
   ================================================ */
.services-bg { background: var(--ink); color: white; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-top: 4rem;
}
.service-card {
  border-top: 2px solid var(--accent);
  padding-top: 2rem;
}
.service-number {
  font-family: 'Fraunces', serif;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255,255,255,0.08);
  line-height: 1;
  margin-bottom: -1rem;
}
.service-title {
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: white;
}
.service-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.service-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag {
  font-size: 0.75rem;
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
}
.tag-accent {
  border-color: var(--accent);
  color: var(--accent);
}

/* ================================================
   RETAINER
   ================================================ */
.retainer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}
.retainer-card {
  border: 1px solid var(--border);
  padding: 2.5rem;
  background: var(--card);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.retainer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.retainer-card.featured {
  border-color: var(--accent);
  border-width: 2px;
}
.featured-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.3rem 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.retainer-name {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 0.3rem;
}
.retainer-hours {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.retainer-price {
  font-family: 'Fraunces', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.3rem;
}
.retainer-price-sub {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 2rem;
}
.retainer-features { list-style: none; margin-bottom: 2rem; }
.retainer-features li {
  font-size: 0.88rem;
  color: var(--muted);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.retainer-features li::before {
  content: '→';
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* ================================================
   CASE STUDY
   ================================================ */
.case-section { background: #f0ece4; }
.case-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: start;
}
.case-meta { position: sticky; top: 100px; }
.case-tag {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.3rem 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.case-client {
  font-family: 'Fraunces', serif;
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.case-context {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
}
.case-content h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  margin-top: 2rem;
}
.case-content h3:first-child { margin-top: 0; }
.case-content p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.case-result {
  background: var(--ink);
  color: white;
  padding: 2rem;
  margin-top: 2rem;
}
.case-result-label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.case-result p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin: 0;
}

/* ================================================
   ABOUT
   ================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.about-img-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.2);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}
.about-text p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 1.2rem;
}
.certs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.cert {
  font-size: 0.75rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--border);
  color: var(--muted);
  letter-spacing: 0.05em;
}

/* ================================================
   CONTACT
   ================================================ */
.contact-bg { background: var(--ink); color: white; }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}
.contact-info p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 2rem;
}
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.contact-item:hover { color: var(--accent); }
.contact-item span:first-child { color: var(--accent); font-size: 1rem; }

.contact-form { display: flex; flex-direction: column; gap: 1rem; background-color: var(--paper); }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.form-input {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: white;
  padding: 0.85rem 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}
.form-input:focus { border-color: var(--accent); }
.form-input::placeholder { color: rgba(255,255,255,0.2); }
textarea.form-input { resize: vertical; min-height: 120px; }

/* ================================================
   IMPRESSUM – PAGE HEADER
   ================================================ */
.page-header {
  padding-top: 64px;
  border-bottom: 1px solid var(--border);
  background: var(--ink);
  color: white;
}
.page-header-inner {
  padding: 5rem 6vw 4rem;
}
.page-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.page-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: white;
}

/* ================================================
   IMPRESSUM – CONTENT
   ================================================ */
.content-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 5rem 6vw 7rem;
}

.impressum-block {
  margin-bottom: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border);
}
.impressum-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.block-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.block-title {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.block-text {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.85;
}

.block-text a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.block-text a:hover {
  border-color: var(--accent);
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.5rem;
}
.contact-list li {
  display: flex;
  gap: 1rem;
  font-size: 0.95rem;
  color: var(--muted);
  align-items: center;
}
.contact-list .ci-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
  min-width: 80px;
}

.ust-box {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 1.5rem 2rem;
  display: inline-block;
  margin-top: 0.5rem;
}
.ust-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.ust-value {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0.05em;
}

/* ================================================
   ANIMATIONS
   ================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-left > * {
  animation: fadeUp 0.7s ease both;
}
.hero-left > *:nth-child(1) { animation-delay: 0.1s; }
.hero-left > *:nth-child(2) { animation-delay: 0.25s; }
.hero-left > *:nth-child(3) { animation-delay: 0.4s; }
.hero-left > *:nth-child(4) { animation-delay: 0.55s; }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .pain-grid, .services-grid, .retainer-grid,
  .about-grid, .contact-inner { grid-template-columns: 1fr; }
  .case-inner { grid-template-columns: 1fr; }
  .case-meta { position: static; }
  nav { padding: 0 4vw; }
  .section { padding: 4rem 4vw; }
}

@media (max-width: 750px) {
  .hamburger { display: flex; }
  .nav-wrapper {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0;
  }
  .nav-wrapper.active {
    max-height: 500px;
    padding: 1rem 0;
  }
  .nav-links {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .nav-links li {
    border-bottom: 1px solid var(--border);
  }
  .nav-links li:last-child {
    border-bottom: none;
  }
  .nav-links a {
    display: block;
    padding: 1rem 6vw;
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .content-wrap { padding: 3rem 4vw 5rem; }
  nav { padding: 0 4vw; }
  .page-header-inner { padding: 3rem 4vw 2.5rem; }
  .nav-links a {
    padding: 1rem 4vw;
  }
}
