/* ==========================================================================
   Fluss & Steuerung — Unabhängige Beratung für KI-Agenten
   Dr.-Ing. Markus Meier · Düsseldorf
   Design System: Klar, ruhig, transparent, hochästhetisch
   ========================================================================== */

:root {
  --ink: #14171a;
  --ink-light: #2c3138;
  --paper: #faf9f6;
  --paper-2: #f3efe6;
  --paper-card: #ffffff;
  --line: #ded9cd;
  --line-strong: #c8c2b5;
  --muted: #5a6068;
  --accent: #1e4d40;        /* Gedämpftes Waldgrün */
  --accent-hover: #14352b;
  --accent-soft: #e5eee9;
  --accent-tint: #f0f6f3;
  --warm: #8c5a2b;          /* Dezenter Bronze- / Kupferton */
  --warm-soft: #f7f1e7;
  --font-serif: "Georgia", "Cambria", "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 2px 6px rgba(20, 23, 26, 0.04);
  --shadow-md: 0 8px 24px rgba(20, 23, 26, 0.07);
  --shadow-lg: 0 16px 40px rgba(20, 23, 26, 0.09);
  --max-w: 860px;
  --max-w-wide: 1100px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 17px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--ink-light);
  background-color: var(--paper);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, .serif {
  font-family: var(--font-serif);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.015em;
}

p {
  margin-bottom: 1.25rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}

a:hover {
  color: var(--accent-hover);
}

img, svg {
  max-width: 100%;
  display: block;
}

/* Layout Container */
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.wrap-wide {
  width: 100%;
  max-width: var(--max-w-wide);
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 246, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: all 0.2s ease;
}

nav .wrap-wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.brand span {
  color: var(--accent);
  font-weight: 400;
  font-style: italic;
}

.brand .subtag {
  font-family: var(--font-sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
  margin-left: 6px;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 22px;
}

nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
}

nav a:hover {
  color: var(--ink);
}

nav .nav-cta {
  background: var(--accent);
  color: #ffffff !important;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s ease;
  text-decoration: none;
}

nav .nav-cta:hover {
  background: var(--accent-hover);
}

/* Calm, Highly Readable Hero Section */
.hero {
  padding: 88px 0 68px;
  background: linear-gradient(180deg, #f2eee5 0%, #faf9f6 100%);
  border-bottom: 1px solid var(--line);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
  border: 1px solid rgba(30, 77, 64, 0.15);
}

.kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  font-size: 48px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 860px;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
  border-bottom: 3px solid var(--accent);
  padding-bottom: 2px;
}

.hero .lead {
  font-size: 20px;
  line-height: 1.62;
  color: var(--muted);
  max-width: 740px;
  margin-bottom: 36px;
}

.cta-row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #ffffff;
  font-size: 15.5px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

/* Stats / Trust Bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-item .num {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-item .lbl {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

/* Section Standards */
section {
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}

section.bg-alt {
  background-color: var(--paper-2);
}

.sec-head {
  margin-bottom: 40px;
}

.sec-head h2 {
  font-size: 32px;
  margin-bottom: 12px;
}

.sec-head .sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 720px;
  line-height: 1.55;
}

/* Three Questions Principle / Core Box */
.principle-box {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-top: 24px;
  box-shadow: var(--shadow-sm);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.principle-item {
  padding-right: 8px;
}

.principle-item .q-num {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--warm);
  margin-bottom: 4px;
}

.principle-item h4 {
  font-size: 16px;
  font-family: var(--font-sans);
  font-weight: 700;
  margin-bottom: 6px;
}

.principle-item p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.5;
}

/* Case Studies / Proof Grid */
.cases-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.case-card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.case-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.case-card .tag {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--warm);
  background: var(--warm-soft);
  padding: 3px 8px;
  border-radius: 4px;
  align-self: flex-start;
  margin-bottom: 14px;
}

.case-card.success .tag {
  color: var(--accent);
  background: var(--accent-soft);
}

.case-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.case-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.case-result {
  background: var(--paper-2);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.case-result span {
  color: var(--accent);
}

/* Services / Pricing Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.service-card.highlight {
  border: 2px solid var(--accent);
  background: #ffffff;
}

.service-badge {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 4px;
  align-self: flex-start;
  margin-bottom: 14px;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.service-price {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.service-price .duration {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  display: block;
}

.service-card hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 16px 0;
}

.service-card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

.service-deliverable {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: var(--paper-2);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  margin-top: auto;
}

/* Method Steps (Timeline) */
.method-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  counter-reset: m-step;
}

.method-step {
  display: flex;
  gap: 24px;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}

.method-num {
  counter-increment: m-step;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}

.method-content h3 {
  font-size: 20px;
  margin-bottom: 6px;
}

.method-content p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 8px;
}

.method-result {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent);
}

/* Blog Teaser Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: all 0.15s ease;
}

.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.blog-card .meta {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 8px;
}

.blog-card h3 {
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.3;
}

.blog-card:hover h3 {
  color: var(--accent);
}

.blog-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.blog-card .read-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* About Section */
.about-box {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 36px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.about-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-soft) 0%, #d8e5df 100%);
  border: 2px solid var(--accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}

.about-avatar .initials {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.about-avatar .badge-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--warm);
  margin-top: 4px;
}

.about-content h3 {
  font-size: 24px;
  margin-bottom: 14px;
}

.about-content p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 14px;
}

.about-metrics {
  display: flex;
  gap: 24px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.about-metric-item {
  display: flex;
  flex-direction: column;
}

.about-metric-item strong {
  font-size: 18px;
  color: var(--ink);
}

.about-metric-item span {
  font-size: 12.5px;
  color: var(--muted);
}

/* FAQ Accordion */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.faq-item {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 28px;
  box-shadow: var(--shadow-sm);
}

.faq-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-item h3::before {
  content: "Q";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.faq-item p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  padding-left: 36px;
}

/* Contact CTA Box */
.cta-box {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-box h2 {
  color: #ffffff;
  font-size: 36px;
  margin-bottom: 16px;
}

.cta-box p {
  color: #d1d5db;
  font-size: 18px;
  max-width: 620px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.contact-options {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.15s ease;
}

.contact-pill:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.cta-box .direct-note {
  font-size: 13.5px;
  color: #9ca3af;
  margin-top: 16px;
}

/* Footer */
footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 40px 0;
  font-size: 13.5px;
  color: var(--muted);
}

footer .wrap-wide {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

footer .legal-links {
  display: flex;
  gap: 20px;
}

footer a {
  color: var(--muted);
  text-decoration: none;
}

footer a:hover {
  color: var(--ink);
}

/* Blog Article Layout */
article.post-content {
  padding: 64px 0 80px;
}

article .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 32px;
  text-decoration: none;
}

article .back-link:hover {
  text-decoration: underline;
}

article h1 {
  font-size: 40px;
  line-height: 1.18;
  margin-bottom: 16px;
}

article .post-meta {
  font-size: 13.5px;
  color: var(--muted);
  padding-bottom: 24px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

article h2 {
  font-size: 26px;
  margin: 40px 0 16px;
}

article h3 {
  font-size: 20px;
  margin: 28px 0 12px;
}

article p {
  font-size: 17px;
  line-height: 1.72;
  margin-bottom: 20px;
}

article ul, article ol {
  margin: 0 0 24px 28px;
  font-size: 16.5px;
  line-height: 1.68;
}

article li {
  margin-bottom: 10px;
}

article blockquote {
  border-left: 4px solid var(--accent);
  background: var(--accent-tint);
  padding: 16px 24px;
  margin: 28px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
  color: var(--ink);
}

/* Synthesis Callout Box (NotebookLM Style) */
.synthesis-box {
  background: #fdfcf9;
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--warm);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin: 32px 0;
}

.synthesis-box h3 {
  color: var(--warm);
  font-size: 18px;
  margin-top: 0;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.synthesis-box p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-light);
  margin-bottom: 12px;
}

.synthesis-box p:last-child {
  margin-bottom: 0;
}

/* Responsive Media Queries */
@media (max-width: 960px) {
  .hero h1 {
    font-size: 38px;
  }
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stats-bar {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

@media (max-width: 680px) {
  nav .wrap-wide {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  nav ul {
    flex-wrap: wrap;
    gap: 14px;
  }
  .hero {
    padding: 56px 0 44px;
  }
  .hero h1 {
    font-size: 32px;
  }
  .hero .lead {
    font-size: 17.5px;
  }
  .stats-bar {
    grid-template-columns: 1fr;
  }
  .principle-grid {
    grid-template-columns: 1fr;
  }
  .cases-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .about-box {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 28px 20px;
  }
  .about-metrics {
    justify-content: center;
  }
  .cta-box {
    padding: 36px 20px;
  }
  .cta-box h2 {
    font-size: 28px;
  }
  article h1 {
    font-size: 30px;
  }
}
