/* ══════════════════════════════════════════════════════════════
   GLOBAL CONSULTANCY AG – Stylesheet Unterseiten (Vertiefungen, Recht)
   Designsystem: Anthrazit #3A3A3A · Orange #D94F1E · Georgia/Helvetica
══════════════════════════════════════════════════════════════ */
:root {
  --c-dunkel:   #3A3A3A;
  --c-grau:     #555555;
  --c-orange:   #D94F1E;
  --c-hell:     #F4F4F4;
  --c-weiss:    #FFFFFF;
  --c-text:     #2C2C2C;
  --c-subtle:   #999999;
  --c-linie:    #E2E2E2;
  --serif:      Georgia, 'Times New Roman', serif;
  --sans:       'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--serif);
  color: var(--c-text);
  background: var(--c-weiss);
  line-height: 1.75;
  font-size: 16px;
}

/* ── Header (identisch zur Startseite) ─────────────────────── */
header {
  background: var(--c-dunkel);
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 64px;
  position: sticky;
  top: 0;
  z-index: 200;
}
.logo-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-decoration: none; }
.logo-top { display: block; }
.logo-img { display: block; width: auto; height: auto; }
.logo-tagline {
  color: var(--c-orange);
  font-family: var(--serif);
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: -0.037em;
  line-height: 1.2;
  margin: -15px 0 4px 26px;
  white-space: nowrap;
}
nav { display: flex; gap: 40px; align-items: center; }
nav a {
  color: rgba(255,255,255,0.6);
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
  min-height: 44px;
  display: flex;
  align-items: center;
}
nav a:hover { color: var(--c-weiss); }
nav a.nav-aktiv { color: var(--c-weiss); }
nav a.kontakt-nav {
  color: var(--c-weiss);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 8px 20px;
  transition: background 0.2s, border-color 0.2s;
}
nav a.kontakt-nav:hover { background: var(--c-orange); border-color: var(--c-orange); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; }

/* ── Artikel ───────────────────────────────────────────────── */
main.artikel, main.uebersicht, main.recht {
  max-width: 720px;
  margin: 0 auto;
  padding: 72px 24px 96px;
}
.artikel-kicker {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-orange);
  margin-bottom: 16px;
}
main h1 {
  font-size: 1.9rem;
  font-weight: 300;
  color: var(--c-dunkel);
  line-height: 1.35;
  margin-bottom: 14px;
}
.artikel-stand {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--c-subtle);
  margin-bottom: 36px;
}
.artikel-lead {
  font-size: 1.05rem;
  font-weight: bold;
  color: var(--c-dunkel);
  line-height: 1.7;
  margin-bottom: 36px;
}
.artikel-grafik {
  margin: 0 0 44px;
  text-align: center;
}
.artikel-grafik img {
  max-width: 480px;
  width: 100%;
  height: auto;
  border: 1px solid var(--c-linie);
}
main.artikel h2 {
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--c-dunkel);
  line-height: 1.4;
  margin: 44px 0 16px;
}
main.artikel h3 {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--c-dunkel);
  margin: 32px 0 12px;
}
main.artikel p { margin-bottom: 18px; font-size: 0.95rem; }
main.artikel ul, main.artikel ol { margin: 0 0 18px 22px; font-size: 0.95rem; }
main.artikel li { margin-bottom: 8px; }
main.artikel hr { border: none; border-top: 1px solid var(--c-linie); margin: 36px 0; }
main.artikel blockquote {
  border-left: 3px solid var(--c-orange);
  padding: 4px 0 4px 20px;
  margin: 0 0 18px;
  color: var(--c-grau);
}
main.artikel table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 24px;
  font-family: var(--sans);
  font-size: 0.85rem;
}
main.artikel th {
  text-align: left;
  font-weight: 600;
  color: var(--c-dunkel);
  border-bottom: 2px solid var(--c-dunkel);
  padding: 8px 12px 8px 0;
}
main.artikel td {
  border-bottom: 1px solid var(--c-linie);
  padding: 8px 12px 8px 0;
  vertical-align: top;
  color: var(--c-grau);
}
.autorenkasten {
  background: var(--c-hell);
  border-left: 3px solid var(--c-orange);
  padding: 24px 28px;
  margin: 44px 0 0;
  position: relative;
  overflow: hidden;
}
.autorenkasten::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 0 28px 28px;
  border-color: transparent transparent var(--c-orange) transparent;
}
.autorenkasten p {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--c-grau);
  margin: 0;
}
.artikel-cta {
  margin-top: 44px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.e-cta {
  display: inline-block;
  padding: 13px 32px;
  background: var(--c-dunkel);
  color: var(--c-weiss);
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s;
}
.e-cta:hover { background: var(--c-orange); }
.zurueck {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--c-subtle);
  text-decoration: none;
  letter-spacing: 0.06em;
}
.zurueck:hover { color: var(--c-dunkel); }

/* ── Übersicht ─────────────────────────────────────────────── */
.uebersicht-intro {
  font-size: 0.95rem;
  color: var(--c-grau);
  margin-bottom: 48px;
}
.gruppen-titel {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-subtle);
  font-weight: 400;
  margin: 40px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--c-linie);
}
.beitrag-karte {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 28px;
  border: 1px solid var(--c-linie);
  margin-bottom: 10px;
  text-decoration: none;
  transition: border-color 0.2s;
  position: relative;
  overflow: hidden;
}
.beitrag-karte:hover { border-color: var(--c-dunkel); }
.beitrag-text-wrap { flex: 1; min-width: 0; }
.beitrag-bild {
  flex-shrink: 0;
  width: 104px;
  height: 104px;
  border: 1px solid var(--c-linie);
  background: var(--c-weiss);
}
.beitrag-kicker {
  display: block;
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-orange);
  margin-bottom: 6px;
}
.beitrag-titel {
  display: block;
  font-family: var(--serif);
  font-size: 1.08rem;
  color: var(--c-dunkel);
  line-height: 1.45;
  margin-bottom: 8px;
}
.beitrag-teaser {
  display: block;
  font-family: var(--serif);
  font-size: 0.87rem;
  color: var(--c-subtle);
  line-height: 1.65;
}

/* ── Rechtsseiten (Impressum/Datenschutz) ──────────────────── */
main.recht h2 {
  font-family: var(--sans);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-orange);
  font-weight: 600;
  margin: 32px 0 10px;
}
main.recht p, main.recht li {
  font-family: var(--sans);
  font-size: 0.875rem;
  color: var(--c-grau);
  line-height: 1.8;
  margin-bottom: 10px;
}
main.recht ul { padding-left: 20px; }
main.recht a { color: var(--c-orange); text-decoration: none; }
main.recht a:hover { text-decoration: underline; }
main.recht table { width: 100%; border-collapse: collapse; margin-top: 10px; }
main.recht td {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--c-grau);
  padding: 8px 0;
  vertical-align: top;
  border-bottom: 1px solid var(--c-linie);
  line-height: 1.65;
}
main.recht td:first-child {
  white-space: nowrap;
  font-weight: 600;
  color: var(--c-dunkel);
  padding-right: 28px;
  width: 42%;
}

/* ── Footer ────────────────────────────────────────────────── */
footer {
  background: var(--c-dunkel);
  padding: 36px 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
}
footer::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 0 56px 56px;
  border-color: transparent transparent var(--c-orange) transparent;
  pointer-events: none;
}
.footer-name { color: rgba(255,255,255,0.45); font-family: var(--serif); font-size: 0.82rem; letter-spacing: 0.04em; }
.footer-links { display: flex; gap: 32px; }
.footer-links a {
  color: rgba(255,255,255,0.35);
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.75); }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  header { padding: 16px 32px; }
  footer { padding: 28px 32px; }
}
@media (max-width: 767px) {
  header { padding: 14px 20px; flex-wrap: wrap; gap: 0; min-height: auto; }
  .hamburger { display: flex; }
  nav {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    background: var(--c-dunkel);
    padding: 12px 0 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  nav.offen { display: flex; }
  nav a { width: 100%; padding: 12px 20px; font-size: 0.82rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
  nav a.kontakt-nav { margin: 10px 20px 0; width: calc(100% - 40px); text-align: center; justify-content: center; }
  .logo-tagline { font-size: 0.68rem; }
  main.artikel, main.uebersicht, main.recht { padding: 44px 20px 64px; }
  main h1 { font-size: 1.5rem; }
  .beitrag-karte { gap: 16px; padding: 18px 20px; }
  .beitrag-bild { width: 72px; height: 72px; }
  footer { flex-direction: column; align-items: flex-start; padding: 24px 20px; gap: 16px; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
}
