/* Meta to Matter — Basis-Stylesheet
   Palette und Layout gemäß Zwischenstand-Dokument (4. Session)
   Keine externen Requests: System-Font-Stack statt Google Fonts,
   damit kein Font-Abschnitt in der Datenschutzerklärung nötig ist. */

:root {
  --bg: #F1EFE8;
  --band: #E7E4DB;
  --surface: #D7D4CB;
  --border: #C7C4B8;
  --border-strong: #B4B2A9;
  --text-primary: #2C2C2A;
  --text-secondary: #5F5E5A;
  --dark: #2C2C2A;
  --on-dark: #F1EFE8;
  --accent: #2F4858;
  --max-width: 1080px;
  --radius: 10px;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-serif: Georgia, 'Times New Roman', Times, serif;
  --header-h: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: var(--header-h);
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

section[id],
.topic-group[id],
.section p[id] {
  scroll-margin-top: var(--header-h);
}

a {
  color: var(--accent);
}

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

/* Navigation */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.logo-lockup {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-lockup svg {
  display: block;
}

.logo-lockup span {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--accent);
}

/* Hero */

.hero {
  padding: 88px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 38px;
  line-height: 1.3;
  margin: 0 0 20px;
  max-width: 480px;
}

.hero p.lead {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 0 32px;
}

.hero-footnote {
  font-size: 12px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: -20px 0 32px;
}

.hero-photo {
  aspect-ratio: 4 / 5;
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.signature {
  font-size: 13px;
  font-style: italic;
  color: var(--text-secondary);
  margin: 18px 0 0;
}

.divider-list {
  border-bottom: 1px solid var(--border);
  margin: 28px 0 0;
  max-width: 720px;
}

.divider-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--border);
  padding: 26px 0;
  text-decoration: none;
  color: inherit;
}

.divider-item-text h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 6px;
}

.divider-item-text p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

.pill-outline {
  flex-shrink: 0;
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 9px 18px;
  white-space: nowrap;
}

.topic-group {
  margin-bottom: 48px;
}

.phase-list {
  list-style: none;
  margin: 28px 0;
  padding: 0;
  max-width: 640px;
}

.phase-list li {
  padding: 14px 0;
  border-top: 1px solid var(--border);
}

.phase-list li:first-child {
  border-top: none;
}

.phase-list strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 3px;
}

.example-list {
  margin: 12px 0 28px;
  padding-left: 20px;
  max-width: 640px;
}

.example-list li {
  margin-bottom: 6px;
}

.reference-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 28px 0;
  max-width: 960px;
}

.ref-card {
  background: var(--surface);
  border-radius: 12px;
  padding: 26px 24px;
}

.ref-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px;
}

.ref-card .case-tag {
  font-size: 13px;
  color: var(--text-secondary);
  font-style: italic;
  margin: 0 0 12px;
}

.ref-card p:last-child {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

/* Wie ich arbeite — alternierende Blöcke */

.approach-intro {
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.7;
  max-width: 42ch;
  margin: 0 0 40px;
}

/* Wie ich arbeite — konsistente Liste, Icon inline mit Überschrift */

.approach-block {
  max-width: 640px;
  margin-bottom: 36px;
}

.approach-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.approach-block h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 19px;
  margin: 0;
}

.approach-block p {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0;
  padding-left: 54px;
}

.icon-badge {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.approach-signature {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.5;
  color: var(--text-primary);
  border-top: 1px solid var(--border);
  padding-top: 40px;
  max-width: 620px;
  margin: 56px 0 0;
}

/* Form */

.form-field {
  margin-bottom: 20px;
  max-width: 480px;
}

.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 15px;
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 13px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 12px 0 0;
}

.form-error {
  display: none;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  padding: 14px 16px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  max-width: 480px;
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.contact-alt {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-secondary);
}

/* Buttons */

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--on-dark);
  border: none;
  border-radius: 999px;
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  opacity: 0.88;
}

.btn-block {
  margin-top: 28px;
}

/* Generic content sections */

main {
  padding: 8px 0 64px;
}

.section {
  padding: 76px 0;
}

.band {
  background: var(--band);
}

.section h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 30px;
  margin: 0 0 22px;
}

.section > p,
.section .container > p {
  max-width: 640px;
}

.eyebrow {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin: 0 0 10px;
}

.topic-label {
  font-size: 20px;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 12px;
}

.topic-group .divider-list {
  margin-top: 18px;
}

.topic-group .divider-item:first-child {
  border-top: none;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  font-size: 13px;
  color: var(--text-secondary);
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer nav a {
  color: var(--text-secondary);
  text-decoration: none;
  margin-left: 20px;
  font-size: 13px;
}

.site-footer nav a:first-child {
  margin-left: 0;
}

/* Mobile */

@media (max-width: 800px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-photo {
    order: -1;
    max-width: 360px;
    margin: 0 auto 32px;
  }
  .hero h1,
  .hero p.lead,
  .hero-footnote,
  .divider-list {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 28px;
  }
  .nav-links {
    gap: 16px;
  }
  .site-footer .container {
    flex-direction: column;
    align-items: flex-start;
  }
  .site-footer nav a {
    margin-left: 0;
    margin-right: 16px;
  }
  .approach-block p {
    padding-left: 0;
  }
  .divider-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
