/* =====================================================
   EASTKAP — Website-Stylesheet v1.0
   Schwarz/Weiß-Minimalismus, Arial-Ersatz via Inter
   Orientiert an bestehender eastkap.de
   ===================================================== */

:root {
  --black: #000000;
  --white: #FFFFFF;
  --graphite: #404040;
  --stone: #808080;
  --mist: #D9D9D9;
  --paper: #F5F5F5;
  --max: 1200px;
  --gutter: 24px;
  --section: 96px;
  --font: 'Inter', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.6; }

img, svg { max-width: 100%; display: block; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- NAVIGATION ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--mist);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo { height: 26px; width: auto; }
.nav-links { display: flex; gap: 36px; align-items: center; list-style: none; }
.nav-links a {
  font-size: 0.8125rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--black); margin: 5px 0;
  transition: transform 0.2s;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--white); padding: 24px; gap: 20px;
    border-bottom: 1px solid var(--mist);
  }
}

/* ---------- HERO (mit Schiff-Video) ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; padding: 160px 0 120px;
  display: flex; align-items: center;
  color: var(--white);
  background: var(--black);
}

/* Homepage: jede Hauptsektion füllt einen vollen Viewport */
body.home > section {
  min-height: 100vh;
  display: flex; align-items: center;
}
body.home > section > .container { width: 100%; }
@media (max-width: 767px) {
  .hero { min-height: 100vh; padding: 120px 0 80px; }
  body.home > section { min-height: auto; display: block; }
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  filter: saturate(0.43) contrast(1.05);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(152deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.35) 70%);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 2; }
.hero-label {
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: rgba(255,255,255,0.7); margin-bottom: 32px;
}
.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -0.02em; max-width: 900px;
  margin-bottom: 32px;
  color: var(--white);
}
.hero-tagline {
  font-size: 1.125rem; line-height: 1.6;
  color: rgba(255,255,255,0.85);
  max-width: 640px; margin-bottom: 48px;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 32px;
  background: var(--white); color: var(--black);
  font-size: 0.875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.hero-cta:hover { opacity: 1; background: var(--mist); }
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}

/* ---------- SECTION ---------- */
section { padding: var(--section) 0; }
.section-label {
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--stone); margin-bottom: 24px;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700; line-height: 1.2; letter-spacing: -0.01em;
  margin-bottom: 32px; max-width: 800px;
}
.section-intro {
  font-size: 1.0625rem; line-height: 1.7; color: var(--graphite);
  max-width: 640px; margin-bottom: 64px;
}

/* ---------- ÜBER / KANZLEI ---------- */
.about { background: var(--paper); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: start;
}
@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; } }
.about p { margin-bottom: 16px; color: var(--graphite); line-height: 1.75; }

/* ---------- KI-USP ---------- */
.ki { background: var(--black); color: var(--white); padding: var(--section) 0; }
.ki .section-label { color: var(--stone); }
.ki-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 80px; align-items: start; }
@media (max-width: 768px) { .ki-grid { grid-template-columns: 1fr; gap: 32px; } }
.ki-body p { color: var(--mist); line-height: 1.75; margin-bottom: 16px; }
.ki-list { list-style: none; padding: 0; margin-top: 32px; border-top: 1px solid var(--graphite); }
.ki-list li {
  padding: 20px 0; border-bottom: 1px solid var(--graphite);
  font-size: 0.9375rem; color: var(--mist); line-height: 1.6;
}
.ki-list strong { color: var(--white); font-weight: 600; display: block; margin-bottom: 4px; }

/* ---------- EXPERTISE ---------- */
.expertise { background: var(--white); }
.expertise-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--mist);
}
@media (max-width: 1024px) { .expertise-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .expertise-grid { grid-template-columns: 1fr; } }
.expertise-item {
  padding: 40px 32px;
  border-bottom: 1px solid var(--mist);
  border-left: 1px solid var(--mist);
  display: block;
}
.expertise-item:first-child,
.expertise-grid > .expertise-item:nth-child(3n+1) {
  border-left: none;
  padding-left: 0;
}
@media (max-width: 1024px) {
  .expertise-grid > .expertise-item:nth-child(3n+1) { border-left: 1px solid var(--mist); padding-left: 32px; }
  .expertise-grid > .expertise-item:nth-child(odd) { border-left: none; padding-left: 0; }
}
.expertise-item:hover { opacity: 1; background: var(--paper); }
.expertise-item h3 {
  font-size: 1.375rem; font-weight: 700; line-height: 1.3;
  margin-bottom: 12px; letter-spacing: -0.01em;
}
.expertise-item p {
  font-size: 0.9375rem; line-height: 1.65; color: var(--graphite);
}
.expertise-item .arrow {
  display: inline-block; margin-top: 20px;
  font-size: 0.8125rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
}

/* ---------- TEAM ---------- */
.team { background: var(--paper); }
.team-card {
  display: grid; grid-template-columns: 240px 1fr; gap: 48px;
  align-items: start; max-width: 800px;
}
@media (max-width: 768px) {
  .team-card { grid-template-columns: 1fr; gap: 24px; }
}
.team-photo {
  width: 240px; height: 300px; background: var(--mist);
  display: flex; align-items: center; justify-content: center;
  color: var(--stone); font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.team-card h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 4px; }
.team-card .role {
  font-size: 0.8125rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--stone); margin-bottom: 20px;
}
.team-card p { color: var(--graphite); line-height: 1.75; margin-bottom: 12px; }
.team-card .contact { font-size: 0.9375rem; margin-top: 16px; }
.team-card .contact a { border-bottom: 1px solid var(--black); }

/* ---------- KONTAKT ---------- */
.contact { background: var(--black); color: var(--white); border-top: 1px solid var(--black); }
.contact .section-label { color: var(--stone); }
.contact .section-title { color: var(--white); }
.contact .section-intro { color: var(--mist); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-block h4 {
  font-size: 0.8125rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--stone); margin-bottom: 16px;
}
.contact-block p { color: var(--white); margin-bottom: 6px; line-height: 1.6; }
.contact-block a { border-bottom: 1px solid var(--white); }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--black); color: var(--mist);
  padding: 48px 0; border-top: 1px solid var(--graphite);
  font-size: 0.8125rem;
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-nav { display: flex; gap: 24px; list-style: none; }
.footer-nav a { color: var(--mist); }
.footer-copy { color: var(--stone); }
.footer-social { display: flex; gap: 16px; align-items: center; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid var(--graphite);
  color: var(--mist);
  transition: all 0.2s;
}
.footer-social a:hover { background: var(--white); color: var(--black); opacity: 1; }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------- LEAD-FORMULAR (auf Masseverfahren-Landingpage) ---------- */
.lead-form-section {
  background: var(--black); color: var(--white); padding: 96px 0;
}
.lead-form-wrap {
  max-width: 760px; margin: 0 auto; padding: 0 24px;
}
.lead-form-wrap .label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--stone); margin-bottom: 16px;
}
.lead-form-wrap h2 {
  color: var(--white); font-size: 2rem; font-weight: 700; margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.lead-form-wrap .intro {
  color: var(--mist); line-height: 1.65; margin-bottom: 40px;
}
.lead-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
@media (max-width: 640px) { .lead-form { grid-template-columns: 1fr; } }
.lead-form input,
.lead-form textarea {
  width: 100%;
  padding: 14px 16px;
  background: transparent;
  border: 1px solid var(--graphite);
  color: var(--white);
  font-family: var(--font); font-size: 0.9375rem;
  transition: border-color 0.2s;
}
.lead-form input:focus,
.lead-form textarea:focus {
  outline: none; border-color: var(--white);
}
.lead-form input::placeholder,
.lead-form textarea::placeholder { color: var(--stone); }
.lead-form .full { grid-column: span 2; }
@media (max-width: 640px) { .lead-form .full { grid-column: span 1; } }
.lead-form textarea { resize: vertical; min-height: 100px; }
.lead-form button {
  grid-column: span 2;
  padding: 16px 32px;
  background: var(--white); color: var(--black);
  border: none;
  font-family: var(--font); font-size: 0.875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s;
}
.lead-form button:hover { background: var(--mist); }
@media (max-width: 640px) { .lead-form button { grid-column: span 1; } }
.lead-form-note {
  margin-top: 16px; font-size: 0.8125rem; color: var(--stone); line-height: 1.6;
}
.lead-form-note a { color: var(--mist); border-bottom: 1px solid var(--stone); }

/* ---------- TRUST-BAR (auf Masseverfahren-Seite) ---------- */
.trust-bar {
  background: var(--paper); border-top: 1px solid var(--mist); border-bottom: 1px solid var(--mist);
  padding: 32px 0;
}
.trust-bar .wrapper {
  max-width: 1040px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
@media (max-width: 768px) { .trust-bar .wrapper { grid-template-columns: repeat(2, 1fr); } }
.trust-item {
  text-align: center;
}
.trust-item strong {
  display: block;
  font-size: 1.5rem; font-weight: 700; letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.trust-item span {
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--stone);
}

/* ---------- SUBPAGE ---------- */
.page-header { padding: 160px 0 64px; border-bottom: 1px solid var(--mist); }
.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.1;
}
.page-header .breadcrumb {
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--stone); margin-bottom: 24px;
}
.page-content {
  padding: 80px 0;
  max-width: 760px; margin: 0 auto;
}
.page-content h2 {
  font-size: 1.625rem; font-weight: 700;
  margin-top: 56px; margin-bottom: 20px; letter-spacing: -0.01em;
}
.page-content h2:first-of-type { margin-top: 0; }
.page-content h3 {
  font-size: 1.125rem; font-weight: 700;
  margin-top: 32px; margin-bottom: 12px;
}
.page-content p, .page-content ul {
  margin-bottom: 16px; color: var(--graphite); line-height: 1.75;
}
.page-content ul { padding-left: 24px; }
.page-content ul li { margin-bottom: 6px; }
.page-content strong { color: var(--black); font-weight: 600; }
.page-content a { border-bottom: 1px solid var(--black); }

/* ---------- LEISTUNGS-HERO (Bild + Overlay) ---------- */
.leistung-hero {
  position: relative; width: 100%; height: 520px;
  background-size: cover; background-position: center;
  filter: grayscale(100%) contrast(1.05);
  margin-top: 72px;
}
.leistung-hero-inner {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.60) 100%);
  display: flex; align-items: flex-end; padding-bottom: 72px;
}
.leistung-hero-inner .container { color: var(--white); }
.leistung-hero-label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 16px;
}
.leistung-hero h1 {
  color: var(--white);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.05;
  max-width: 820px;
}
@media (max-width: 768px) { .leistung-hero { height: 380px; } }

/* ---------- LEISTUNGS-HERO (Typo-Variante, ohne Bild) ---------- */
.leistung-hero-typo {
  margin-top: 72px; padding: 180px 0 120px;
  border-bottom: 1px solid var(--mist);
}
.leistung-hero-typo .leistung-hero-label {
  color: var(--stone); margin-bottom: 24px;
}
.leistung-hero-typo h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1;
  max-width: 900px; color: var(--black);
}
.leistung-hero-typo .kicker {
  font-size: 1.25rem; color: var(--graphite); margin-top: 32px; max-width: 640px;
  line-height: 1.5;
}

/* ---------- LEISTUNGS-INTRO (Opener + Overview-Sidebar) ---------- */
.leistung-intro { padding: 96px 0 64px; }
.leistung-intro .wrapper {
  max-width: 1040px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 2fr 1fr; gap: 64px; align-items: start;
}
@media (max-width: 768px) { .leistung-intro .wrapper { grid-template-columns: 1fr; gap: 32px; } }
.leistung-intro h2 {
  font-size: 1.75rem; font-weight: 700; margin-bottom: 24px;
  letter-spacing: -0.01em; line-height: 1.25;
}
.leistung-intro p { color: var(--graphite); line-height: 1.75; margin-bottom: 16px; }
.leistung-overview {
  background: var(--paper); padding: 32px;
  border-left: 2px solid var(--black);
}
.leistung-overview .label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--stone); margin-bottom: 20px;
}
.leistung-overview dl {
  display: grid; grid-template-columns: auto 1fr; gap: 12px 16px;
  font-size: 0.875rem; line-height: 1.55;
}
.leistung-overview dt { color: var(--stone); }
.leistung-overview dd { color: var(--black); font-weight: 500; }

/* ---------- LEISTUNGEN (Prozess-Schritte) ---------- */
.leistung-process { background: var(--paper); padding: 96px 0; }
.leistung-process .wrapper { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.leistung-process .label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--stone); margin-bottom: 16px;
}
.leistung-process h2 {
  font-size: 1.75rem; font-weight: 700; margin-bottom: 48px;
  letter-spacing: -0.01em;
}
.leistung-process-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 64px;
}
@media (max-width: 640px) { .leistung-process-grid { grid-template-columns: 1fr; } }
.process-step .num {
  font-size: 0.75rem; font-weight: 700; color: var(--black); margin-bottom: 8px;
  letter-spacing: 0.08em;
}
.process-step strong { font-size: 1.0625rem; display: block; margin-bottom: 6px; }
.process-step p { color: var(--graphite); font-size: 0.9375rem; line-height: 1.6; margin: 0; }

/* ---------- DETAIL-BAND (dezentes Zwischenbild) ---------- */
.leistung-band {
  width: 100%; height: 320px;
  background-size: cover; background-position: center;
  filter: grayscale(100%) contrast(1.05);
}

/* ---------- TYPISCHE MANDATE ---------- */
.leistung-cases { padding: 96px 0; }
.leistung-cases .wrapper { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.leistung-cases .label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--stone); margin-bottom: 16px;
}
.leistung-cases h2 {
  font-size: 1.75rem; font-weight: 700; margin-bottom: 48px;
  letter-spacing: -0.01em;
}
.leistung-cases-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
@media (max-width: 768px) { .leistung-cases-grid { grid-template-columns: 1fr; } }
.case {
  padding-top: 20px; border-top: 2px solid var(--black);
}
.case strong { font-size: 1rem; display: block; margin-bottom: 8px; }
.case p { color: var(--graphite); font-size: 0.9375rem; margin: 0; line-height: 1.6; }

/* ---------- CTA-Block ---------- */
.leistung-cta {
  background: var(--black); color: var(--white); padding: 96px 0;
}
.leistung-cta .wrapper {
  max-width: 1040px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 2fr 1fr; gap: 48px; align-items: center;
}
@media (max-width: 768px) { .leistung-cta .wrapper { grid-template-columns: 1fr; gap: 24px; } }
.leistung-cta h2 { color: var(--white); font-size: 1.75rem; font-weight: 700; margin-bottom: 12px; }
.leistung-cta p { color: var(--mist); max-width: 520px; margin: 0; }
.leistung-cta-btn {
  display: inline-block; background: var(--white); color: var(--black);
  padding: 16px 32px; font-size: 0.875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.leistung-cta-btn:hover { opacity: 1; background: var(--mist); }
