/* ============================================================
   mack:consulting — Design System
   Farben abgeleitet von der bisherigen Marke:
   Anthrazit #323335 · Taupe #625A5A · Orange #E87722 · Weiß
   Typografie: Oswald (Display) · Inter (Text), selbst gehostet
   ============================================================ */

/* ---------- Fonts (self-hosted, DSGVO-konform) ---------- */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/oswald-500-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/oswald-600-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-500-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-600-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Custom Properties ---------- */
:root {
  --ink: #232426;
  --anthracite: #323335;
  --anthracite-deep: #26272a;
  --taupe: #625a5a;
  --taupe-soft: #8c8482;
  --orange: #e87722;
  --orange-deep: #cf6314;
  --paper: #ffffff;
  --off: #f7f6f4;
  --mist: #edebe8;
  --line: #e2dfdb;
  --text: #3d3e40;
  --text-soft: #6b6c6e;
  --on-dark-soft: #c9c6c3;
  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --container: 1160px;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(35, 36, 38, 0.08);
  --shadow-lift: 0 18px 44px rgba(35, 36, 38, 0.14);
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 3.9rem); letter-spacing: 0.01em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.35rem; letter-spacing: 0.015em; }
p { margin: 0 0 1.1em; }
ul { padding-left: 1.2em; }
.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--orange); color: #fff; padding: 0.6rem 1rem; z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  padding: 0.85rem 1.7rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  cursor: pointer;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-deep); color: #fff; }
.btn-ghost { border-color: var(--anthracite); color: var(--anthracite); background: transparent; }
.btn-ghost:hover { background: var(--anthracite); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,0.65); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: #fff; color: var(--anthracite); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 78px;
}
.logo { display: inline-flex; flex-direction: column; line-height: 1; }
.logo:hover { text-decoration: none; }
.logo .logo-word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2rem;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.logo .logo-word span { color: var(--orange); }
.logo .logo-claim {
  font-size: 0.585rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe-soft);
  margin-top: 0.3rem;
}
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.site-nav a {
  color: var(--ink); font-weight: 500; font-size: 0.98rem;
  padding: 0.35rem 0; border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.site-nav a:hover { text-decoration: none; border-bottom-color: var(--orange); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--orange); }
.site-nav .nav-cta { margin-left: 0.5rem; }
.site-nav .nav-cta a {
  background: var(--anthracite); color: #fff; padding: 0.65rem 1.25rem;
  border-radius: var(--radius); border-bottom: none; font-weight: 600;
}
.site-nav .nav-cta a:hover { background: var(--orange); }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ''; display: block; position: absolute;
  width: 24px; height: 2px; background: var(--ink);
  left: 10px; transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -8px; left: 0; }
.nav-toggle span::after { top: 8px; left: 0; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 0; }
  .site-nav li { border-top: 1px solid var(--off); }
  .site-nav a { display: block; padding: 0.9rem clamp(1.25rem, 4vw, 2.5rem); border-bottom: none; }
  .site-nav .nav-cta { margin: 0.5rem clamp(1.25rem, 4vw, 2.5rem) 0.75rem; }
  .site-nav .nav-cta a { display: inline-block; }
}

/* ---------- Hero (Startseite) ---------- */
.hero {
  background: linear-gradient(155deg, var(--anthracite-deep) 0%, var(--anthracite) 55%, #3c3a3b 100%);
  color: #fff;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: ''; display: inline-block; vertical-align: middle;
  width: 2rem; height: 2px; background: var(--orange); margin-right: 0.75rem;
}
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero .claim {
  font-size: 1.2rem; font-style: italic; color: var(--on-dark-soft);
  margin-bottom: 1.6rem;
}
.hero .claim strong { color: #fff; font-style: normal; font-weight: 600; }
.hero-points { list-style: none; padding: 0; margin: 0 0 2.2rem; display: grid; gap: 0.55rem; }
.hero-points li { padding-left: 1.6rem; position: relative; color: var(--on-dark-soft); }
.hero-points li::before {
  content: '›'; position: absolute; left: 0.2rem; top: -0.1rem;
  color: var(--orange); font-weight: 700; font-size: 1.25rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero-figure { position: relative; justify-self: end; width: min(100%, 420px); }
.hero-figure::before {
  content: ''; position: absolute; inset: 1.4rem -1.4rem -1.4rem 1.4rem;
  border: 2px solid var(--orange); border-radius: var(--radius);
}
.hero-figure img, .hero-figure svg {
  position: relative; border-radius: var(--radius);
  width: 100%; filter: grayscale(1) contrast(1.04);
}
.hero-figure figcaption {
  position: relative; margin-top: 1.9rem; font-size: 0.9rem; color: var(--on-dark-soft);
}
@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-figure { justify-self: start; margin-top: 0.5rem; }
}

/* Trust-Leiste */
.trust-band { background: var(--off); border-bottom: 1px solid var(--line); }
.trust-band ul {
  list-style: none; margin: 0; padding: 1.1rem 0;
  display: flex; flex-wrap: wrap; gap: 0.5rem 2.2rem;
  justify-content: center; align-items: center;
  font-size: 0.92rem; color: var(--text-soft);
}
.trust-band li { position: relative; }
.trust-band li + li::before {
  content: '·'; color: var(--orange); font-weight: 700;
  position: absolute; left: -1.35rem;
}
.trust-band strong { color: var(--ink); font-weight: 600; }

/* Anlass-/Checklisten-Box */
.callout {
  background: var(--off); border-left: 4px solid var(--orange);
  border-radius: var(--radius); padding: 1.7rem 2rem 1.5rem;
  max-width: 56rem; margin-bottom: clamp(2rem, 4vw, 3rem);
}
.callout h2 { font-size: 1.3rem; margin-bottom: 0.9rem; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.check-list li { padding-left: 1.7rem; position: relative; }
.check-list li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--orange); font-weight: 700;
}

/* FAQ */
.faq-item {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 0.9rem; overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 1.1rem 1.5rem;
  font-weight: 600; color: var(--ink); font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; color: var(--orange); font-size: 1.4rem; font-weight: 400; line-height: 1; flex-shrink: 0;
}
.faq-item[open] summary::after { content: '–'; }
.faq-item .faq-body { padding: 0 1.5rem 1.2rem; color: var(--text); }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-off { background: var(--off); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--text-soft); font-size: 1.1rem; }

/* Karten: Ansatz */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4rem; }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem 1.7rem;
  box-shadow: 0 2px 6px rgba(35,36,38,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card .card-num {
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  color: var(--orange); letter-spacing: 0.12em; display: block; margin-bottom: 0.9rem;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { margin-bottom: 0; color: var(--text-soft); font-size: 0.98rem; }

/* Statement-Band */
.statement {
  background: var(--taupe); color: #fff; text-align: center;
}
.statement blockquote {
  margin: 0 auto; max-width: 52rem;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.6rem, 3.6vw, 2.5rem); line-height: 1.3;
}
.statement blockquote span { color: #f5c9a5; }
.statement cite {
  display: block; margin-top: 1.2rem; font-family: var(--font-body);
  font-style: normal; font-size: 1rem; color: rgba(255,255,255,0.75);
}

/* Arbeitsfelder */
.field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.4rem; }
.field-card {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.8rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  color: inherit;
}
.field-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lift);
  border-color: var(--orange); text-decoration: none;
}
.field-card h3 { color: var(--ink); }
.field-card .field-tags { color: var(--text-soft); font-size: 0.95rem; flex: 1; margin-bottom: 1.2rem; }
.field-card .field-more {
  font-weight: 600; color: var(--orange-deep); font-size: 0.95rem;
}
.field-card .field-more::after { content: ' →'; }

/* Über / Teaser */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* CTA-Band */
.cta-band { background: var(--anthracite); color: #fff; }
.cta-band .cta-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.cta-band h2 { color: #fff; margin: 0; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-band p { margin: 0.4rem 0 0; color: var(--on-dark-soft); }

/* ---------- Unterseiten-Hero ---------- */
.page-hero { background: linear-gradient(150deg, var(--anthracite-deep), var(--anthracite)); color: #fff; }
.page-hero-inner { padding-block: clamp(2.8rem, 6vw, 4.5rem); max-width: 54rem; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.2rem); margin-bottom: 0.5rem; }
.page-hero .lead { font-size: 1.15rem; color: var(--on-dark-soft); margin: 0; max-width: 44rem; }
.breadcrumb { font-size: 0.88rem; margin-bottom: 1.4rem; color: var(--on-dark-soft); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: '/'; margin-right: 0.4rem; opacity: 0.5; }
.breadcrumb a { color: var(--on-dark-soft); }
.breadcrumb a:hover { color: #fff; }

/* Themen-Detailblöcke */
.topic-list { display: grid; gap: 1.4rem; max-width: 56rem; }
.topic {
  background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--orange);
  border-radius: var(--radius); padding: 1.9rem 2rem 1.6rem;
}
.topic h3 { margin-bottom: 0.2rem; }
.topic .topic-sub { color: var(--taupe); font-weight: 600; font-size: 0.98rem; margin-bottom: 0.8rem; }
.topic p { color: var(--text); }
.topic .topic-cta { font-weight: 600; font-size: 0.95rem; }
.topic .topic-cta::after { content: ' →'; }

/* Team */
.profile {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0; overflow: hidden; margin-bottom: 1.5rem;
}
.profile summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: 1.4rem 1.8rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; color: var(--ink);
}
.profile summary::-webkit-details-marker { display: none; }
.profile summary .role { font-family: var(--font-body); font-weight: 400; font-size: 0.92rem; color: var(--text-soft); margin-left: auto; }
.profile summary::after {
  content: '+'; font-family: var(--font-body); font-weight: 400;
  font-size: 1.6rem; color: var(--orange); line-height: 1; flex-shrink: 0;
}
.profile[open] summary::after { content: '–'; }
.profile[open] summary { border-bottom: 1px solid var(--line); }
.profile .profile-body { padding: 1.6rem 1.8rem 1.2rem; }
.profile h4 {
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--taupe);
  margin: 1.6rem 0 0.5rem;
}
.focus-list { list-style: none; padding: 0; display: grid; gap: 0.4rem; }
.focus-list li { padding-left: 1.5rem; position: relative; }
.focus-list li::before { content: '::'; position: absolute; left: 0; color: var(--orange); font-weight: 700; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--off); border-radius: var(--radius); padding: 2rem;
}
.contact-card dl { margin: 0; }
.contact-card dt {
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--taupe); margin-top: 1.3rem;
}
.contact-card dt:first-child { margin-top: 0; }
.contact-card dd { margin: 0.2rem 0 0; }
.contact-card .contact-mail { font-size: 1.15rem; font-weight: 600; }
.steps { list-style: none; counter-reset: step; padding: 0; display: grid; gap: 1.3rem; margin: 0; }
.steps li { counter-increment: step; padding-left: 3.4rem; position: relative; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0.1rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: var(--orange);
}
.steps h3 { font-size: 1.1rem; margin-bottom: 0.2rem; }
.steps p { margin: 0; color: var(--text-soft); font-size: 0.98rem; }

/* Prose (Impressum/Datenschutz) */
.prose { max-width: 48rem; }
.prose h2 { font-size: 1.5rem; margin-top: 2.4em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.8em; }
.prose address { font-style: normal; }

/* ---------- Footer ---------- */
.site-footer { background: var(--anthracite-deep); color: var(--on-dark-soft); font-size: 0.95rem; }
.footer-main {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
@media (max-width: 900px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-main { grid-template-columns: 1fr; } }
.footer-logo .logo-word { font-size: 1.7rem; color: #fff; }
.footer-logo .logo-claim { color: var(--taupe-soft); }
.site-footer h3 {
  color: #fff; font-family: var(--font-body); font-size: 0.85rem;
  font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.9rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.site-footer a { color: var(--on-dark-soft); }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-block: 1.2rem;
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: space-between;
  font-size: 0.88rem;
}
.footer-bottom ul { display: flex; gap: 1.4rem; }
