/* dominik-heil.de — gemeinsames Template
   Design-Grundlage: Seitenkonzept.md, Positionierung & Brand (Thema).md */

/* Manrope lokal gehostet statt über Google Fonts CDN geladen —
   vermeidet Übertragung der Besucher-IP an Google-Server ohne Einwilligung. */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --onyx: #17130F;
  --orange: #E35A0C;
  --orange-dark: #C24E0A;
  --sandstein: #EDE4D3;
  --white: #FFFFFF;
  --text-muted: #6B6459;
  --max-width: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--onyx);
  background: var(--white);
  line-height: 1.55;
}

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

a { color: inherit; text-decoration: none; }

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

/* Header */
.site-header {
  background: var(--onyx);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 40px;
  width: auto;
}

.brand span {
  color: var(--white);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
}

.main-nav a {
  color: var(--sandstein);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

.main-nav a:hover { color: var(--orange); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--sandstein);
}

.btn-secondary:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* Hero */
.hero {
  background: var(--onyx);
  color: var(--white);
  padding: 88px 0 96px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 .accent { color: var(--orange); }

.hero p.lead {
  font-size: 1.15rem;
  color: var(--sandstein);
  margin-bottom: 32px;
  max-width: 46ch;
}

.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Kontakt-Karte */
.contact-card {
  background: var(--sandstein);
  border-radius: 12px;
  padding: 32px 36px;
  margin-bottom: 40px;
}

.contact-card h2 {
  margin-top: 0 !important;
  font-size: 1.3rem !important;
}

.contact-card p {
  margin-bottom: 10px;
}

.contact-card a { color: var(--onyx); text-decoration: underline; }

.hero-photo {
  aspect-ratio: 4 / 5;
  background: var(--sandstein);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-weight: 600;
  text-align: center;
  padding: 24px;
}

/* Trust-Bar */
.trust-bar {
  background: var(--white);
  padding: 48px 0 40px;
  border-bottom: 1px solid rgba(23, 19, 15, 0.08);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

.trust-item h3 {
  font-size: 1.02rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.trust-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.anti-claims {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.anti-claims .dot {
  color: var(--orange);
  margin: 0 10px;
}

/* Problem / Lösung */
.problem-solution {
  background: var(--sandstein);
  padding: 88px 0;
}

.ps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.ps-block h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.ps-block.solution h3 { color: var(--orange); }

.ps-block p { color: var(--onyx); }

/* Leistungsfelder */
.services {
  padding: 88px 0;
  background: var(--white);
}

.services h2 {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 48px;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.service-card {
  background: var(--sandstein);
  border-radius: 12px;
  padding: 40px;
}

.service-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--onyx);
  margin-bottom: 24px;
}

.service-card a.btn-primary {
  padding: 12px 24px;
  font-size: 0.9rem;
}

/* Themen-Grid (Fachthemen-Übersicht) */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.topic-card {
  border-radius: 12px;
  padding: 32px;
}

.topic-card.available {
  background: var(--sandstein);
}

.topic-card.pending {
  background: var(--white);
  border: 2px dashed var(--line-muted, #D9CEB8);
  opacity: 0.75;
}

.topic-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.topic-card p {
  color: var(--onyx);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.topic-card .tag-pending {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Footer */
.site-footer {
  background: var(--onyx);
  color: var(--sandstein);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--sandstein); font-size: 0.92rem; }
.footer-col a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid rgba(237, 228, 211, 0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--orange); }

/* Page header (Unterseiten ohne Hero-Foto) */
.page-header {
  background: var(--onyx);
  color: var(--white);
  padding: 64px 0 56px;
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.page-header p {
  color: var(--sandstein);
  font-size: 1.05rem;
  max-width: 56ch;
}

/* Content-Textblock */
.content-block {
  padding: 72px 0;
}

.content-block .wrap { max-width: 780px; }

.content-block h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 40px 0 14px;
}

.content-block h2:first-child { margin-top: 0; }

.content-block.alt { background: var(--sandstein); }

.content-block p {
  margin-bottom: 16px;
}

.content-block .callout {
  background: var(--sandstein);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 8px 0 24px;
}

.content-block .callout a.btn-primary {
  margin-top: 12px;
  padding: 12px 24px;
  font-size: 0.9rem;
}

.content-block .warning {
  background: #FBEDE3;
  border: 1px solid #E8C4A8;
  border-radius: 8px;
  padding: 16px 20px;
  color: #7A3E1C;
  font-size: 0.95rem;
}

/* Ablauf-Schaubild */
.process {
  padding: 88px 0;
  background: var(--sandstein);
}

.process h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.process .subhead {
  text-align: center;
  color: var(--text-muted);
  max-width: 60ch;
  margin: 0 auto 56px;
}

.process-track {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  position: relative;
  margin-bottom: 48px;
}

.process-track::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 22px;
  right: 22px;
  height: 2px;
  background: rgba(23, 19, 15, 0.15);
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  flex: 1;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 16px;
}

.process-step.internal .step-number {
  background: var(--onyx);
}

.process-step h3 {
  font-size: 1.02rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.process-step .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.process-step p {
  font-size: 0.92rem;
  color: var(--onyx);
}

.process-cta { text-align: center; }

/* Intro-Split mit Foto (z.B. Über mich) */
.intro-split {
  padding: 72px 0 16px;
}

.intro-split .wrap {
  max-width: var(--max-width);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.intro-split p { margin-bottom: 16px; }

/* Zitat / Positionierungssatz */
.quote-block {
  border-left: 4px solid var(--orange);
  padding: 4px 0 4px 24px;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 8px 0 24px;
  color: var(--onyx);
}

.cta-band {
  background: var(--onyx);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}

.cta-band h2 {
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 24px;
}

/* Responsive */
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .main-nav.open {
    display: block;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--onyx);
    padding: 8px 24px 24px;
  }
  .main-nav.open ul { flex-direction: column; gap: 4px; }
  .main-nav.open li { padding: 10px 0; border-bottom: 1px solid rgba(237, 228, 211, 0.1); }
  .nav-toggle { display: block; }
  .process-track { flex-direction: column; gap: 32px; }
  .process-track::before { display: none; }
  .intro-split .wrap { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; gap: 24px; }
  .ps-grid { grid-template-columns: 1fr; }
  .anti-claims .dot { display: block; margin: 4px 0; }
}
