/* ============================================================
   Resilienz Residenz — Stylesheet
   Variante B "Große Zahlen als Leitmotiv"
   ============================================================ */

:root {
  --bordeaux: #801916;
  --bordeaux-dark: #5c1210;
  --ink: #1c1614;
  --ink-soft: #332e2b;
  --paper: #ffffff;
  --paper-tint: #faf9f7;
  --line: #ececea;
  --muted: #6b645f;
  --num-outline: #ecd9d8;
  --focus: #157a6e;
  --max-width: 1240px;
  --header-height: 92px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--bordeaux);
  text-decoration: none;
}
a:hover { color: var(--bordeaux-dark); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

h1, h2, h3, h4 {
  font-weight: 800;
  margin: 0 0 0.5em;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }

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

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.tag {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bordeaux);
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bordeaux);
  color: #fff;
  padding: 15px 28px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn:hover { background: var(--bordeaux-dark); color: #fff; }
.btn.btn-outline {
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
}
.btn.btn-outline:hover { background: var(--ink); color: #fff; }

.btn-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--bordeaux);
  text-decoration: underline;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  z-index: 1000;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}

/* Sprungmarken: Platz für den fixierten Header lassen, damit beim Anspringen
   nichts unter der Navigation verschwindet */
#organisationsentwicklung,
#coaching,
#supervision,
#weiterbildung,
#ueber-mich,
#kontakt {
  scroll-margin-top: calc(var(--header-height) + 12px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.brand { display: flex; align-items: center; }
.brand img { height: 64px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.main-nav a[aria-current="page"] { color: var(--bordeaux); }

.phone-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bordeaux);
  color: #fff;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  flex-shrink: 0;
}
.phone-cta:hover { background: var(--bordeaux-dark); color: #fff; }
.phone-cta svg { flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle svg { display: block; }

.mobile-nav { display: none; }

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 88px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { font-size: clamp(34px, 4.4vw, 54px); }
.hero h1 .accent { color: var(--bordeaux); }
.hero .lede {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 440px;
  font-weight: 500;
}
.hero-photo {
  position: relative;
}
.hero-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--paper-tint);
  filter: url("#duotone-bordeaux") contrast(1.1) brightness(1.02);
}
.hero-photo .swatch {
  position: absolute;
  top: -18px; right: -18px;
  width: 96px; height: 96px;
  background: var(--bordeaux);
  z-index: -1;
}

/* ---------- Moin ---------- */
.moin {
  display: flex;
  gap: 56px;
  padding: 56px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
}
.moin h2 { font-size: 34px; color: var(--bordeaux); flex-shrink: 0; width: 220px; }
.moin .body { max-width: 760px; font-size: 16.5px; line-height: 1.75; color: var(--ink-soft); }

/* ---------- Leistungen: Große Zahlen ---------- */
.services-intro { padding: 56px 0 0; }
.services-intro h2 { font-size: 34px; }

.service-row {
  display: flex;
  align-items: flex-start;
  padding: 44px 0 60px;
  border-bottom: 1px solid var(--line);
  gap: 0;
}
.service-row:nth-child(even) { background: var(--paper-tint); }
.service-row-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: flex-start;
  width: 100%;
}
.service-num {
  width: 220px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.service-num span {
  font-size: 150px;
  font-weight: 800;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 2px var(--num-outline);
  letter-spacing: -0.04em;
  font-family: 'Archivo', sans-serif;
}
.service-content {
  flex: 1;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.service-text { flex: 1; max-width: 620px; }
.service-text h3 { font-size: 26px; color: var(--bordeaux); }
.service-text p { font-size: 16.5px; line-height: 1.75; color: var(--ink-soft); }
.service-text .tag { font-size: 14.5px; }
.service-topics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
  font-size: 16px;
  color: var(--ink);
  margin: 18px 0 20px;
}
.service-topics li { display: flex; align-items: baseline; gap: 8px; }
.service-topics li::before {
  content: "•";
  color: var(--bordeaux);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
}
.service-photo {
  width: 280px;
  flex-shrink: 0;
}
.service-photo span { font-size: 12.5px; color: #999; font-weight: 500; }
.service-photo img {
  width: 100%;
  height: auto;
  display: block;
  filter: url("#duotone-bordeaux") contrast(1.1) brightness(1.02);
}
.service-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Über mich Akkordeon ---------- */
.about-accordion { padding-top: 72px; padding-bottom: 72px; }
.about-accordion h2 { font-size: 32px; color: var(--bordeaux); margin-bottom: 8px; }
.about-accordion .intro { color: var(--muted); margin-bottom: 32px; max-width: 640px; }

.acc-item { border-bottom: 1px solid var(--line); max-width: 900px; }
.acc-item:first-child { border-top: 2px solid var(--ink); }
.acc-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  padding: 20px 0;
  cursor: pointer;
  text-align: left;
}
.acc-trigger .plus {
  color: var(--bordeaux);
  font-size: 22px;
  font-weight: 800;
  flex-shrink: 0;
  margin-left: 20px;
  transition: transform 0.2s ease;
}
.acc-trigger[aria-expanded="true"] .plus { transform: rotate(45deg); }
.acc-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.25s ease;
}
.acc-panel[data-open="true"] { max-height: 1400px; }
.acc-panel-inner { padding: 0 0 24px; font-size: 15px; line-height: 1.7; color: var(--ink-soft); }
.acc-panel-inner ul { list-style: none; padding: 0; margin: 0; }
.acc-panel-inner li { display: flex; align-items: baseline; gap: 8px; padding: 3px 0; }
.acc-panel-inner li::before { content: "•"; color: var(--bordeaux); font-weight: 700; font-size: 16px; line-height: 1; flex-shrink: 0; }

/* ---------- CTA-Band ---------- */
.cta-band {
  margin: 0 24px 72px;
  max-width: calc(var(--max-width) - 48px);
  margin-left: auto; margin-right: auto;
  border: 2px solid var(--ink);
  display: grid;
  grid-template-columns: 1fr auto;
}
.cta-band p {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  padding: 40px 48px;
  border-right: 2px solid var(--ink);
}
.cta-band .btn {
  border-radius: 0;
  padding: 0 48px;
  display: flex;
  align-items: center;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 2px solid var(--ink);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { height: 22px; width: auto; }
.footer-brand span { font-size: 13px; color: var(--muted); font-weight: 600; }
.footer-links { display: flex; gap: 28px; font-size: 14px; font-weight: 600; flex-wrap: wrap; }
.footer-links a { color: var(--ink); }

/* ---------- Generic content pages (Referenzen, Blog, Impressum, Datenschutz) ---------- */
.page-hero {
  padding: 56px 0 40px;
  border-bottom: 2px solid var(--ink);
}
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); color: var(--bordeaux); }
.page-content { padding: 56px 0 88px; }
.page-content h2 { font-size: 24px; margin-top: 2em; }
.page-content h2:first-child { margin-top: 0; }
.page-content p, .page-content li { font-size: 15.5px; line-height: 1.75; color: var(--ink-soft); }
.page-content a { text-decoration: underline; }

.reference-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin: 32px 0 56px;
}
.reference-card {
  border: 1px solid var(--line);
  padding: 32px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}
.reference-card img { max-height: 56px; width: auto; }

.reference-quotes { display: flex; flex-direction: column; gap: 32px; margin-bottom: 56px; }
.reference-quote {
  border-left: 3px solid var(--bordeaux);
  padding: 4px 0 4px 24px;
}
.reference-quote p { font-size: 17px; font-style: italic; color: var(--ink); }
.reference-quote cite { font-size: 13.5px; color: var(--muted); font-style: normal; }

.blog-list { display: flex; flex-direction: column; gap: 0; margin-top: 32px; }
.blog-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.blog-item:first-child { border-top: 2px solid var(--ink); }
.blog-item time { font-size: 13px; color: var(--muted); font-weight: 600; }
.blog-item h2 { font-size: 21px; margin: 8px 0 8px; }
.blog-item p { margin: 0; }
.blog-empty {
  padding: 48px 32px;
  background: var(--paper-tint);
  border: 1px dashed var(--line);
  text-align: center;
  color: var(--muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { order: -1; max-width: 380px; }

  .moin { flex-direction: column; gap: 20px; }
  .moin h2 { width: auto; }

  .service-row-inner { flex-direction: column; }
  .service-num { width: auto; justify-content: flex-start; padding-top: 0; margin-bottom: 8px; }
  .service-num span { font-size: 90px; }
  .service-content { flex-direction: column-reverse; }
  .service-photo { width: 100%; }

  .cta-band { grid-template-columns: 1fr; }
  .cta-band p { border-right: none; border-bottom: 2px solid var(--ink); }
  .cta-band .btn { padding: 20px 48px; }
}

@media (max-width: 760px) {
  .main-nav { display: none; }
  .phone-cta span.phone-text { display: none; }
  .nav-toggle { display: inline-flex; }

  .mobile-nav[data-open="true"] {
    display: flex;
  }
  .mobile-nav {
    flex-direction: column;
    padding: 8px 24px 24px;
    border-top: 1px solid var(--line);
    gap: 4px;
  }
  .mobile-nav a {
    color: var(--ink);
    font-weight: 600;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .service-topics { grid-template-columns: 1fr; }
  .cta-band p { font-size: 17px; padding: 28px 24px; }
  .cta-band .btn { padding: 20px 24px; justify-content: center; }
}
