/* ============================================================
   KUBERZIG.COM – DIGITAL EXPERTISE
   © 2026 Krischan Kuberzig-von Döllen
   ============================================================ */

/* ─── 1. TOKENS ────────────────────────────────────────────── */
:root {
  /* Palette – editorial / professional */
  --ink:          #0f1e26;     /* deep petrol – primary */
  --ink-soft:     #1a2f3a;
  --ink-muted:    #4a5d68;
  --paper:        #f7f2ea;     /* warm cream */
  --paper-soft:   #ede5d8;
  --line:         #d8cfc1;
  --white:        #ffffff;
  --accent:       #b15232;     /* warm terracotta - WCAG AA: 4.57:1 auf Cream */
  --accent-dark:  #a84a2a;
  --accent-soft:  #f4dcd0;
  --text:         #16252e;
  --text-soft:    #4e5b65;

  /* Type */
  --serif:  'Fraunces', 'Georgia', serif;
  --sans:   'Inter Tight', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --pad-x:   clamp(20px, 5vw, 80px);
  --pad-sec: clamp(72px, 11vw, 140px);
  --gap:     clamp(24px, 4vw, 56px);
  --maxw:    1280px;

  /* Misc */
  --radius:    4px;
  --radius-lg: 14px;
  --shadow-sm: 0 2px 12px rgba(15,30,38,.06);
  --shadow-md: 0 12px 40px rgba(15,30,38,.10);
  --shadow-lg: 0 30px 80px rgba(15,30,38,.18);
  --t:         .25s cubic-bezier(.4,.0,.2,1);
}

/* ─── 2. RESET ─────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html  { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body  {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
  font-feature-settings: 'ss01', 'cv11';
}
img, svg { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; transition: color var(--t); }
ul, ol { list-style: none; }
button, input, textarea, select {
  font: inherit; color: inherit; background: none; border: 0;
}

/* Skip-to-Content-Link für Tastatur- und Screenreader-Nutzer.
   Visuell versteckt, wird nur sichtbar bei Tab-Fokus. */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 1000;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: top var(--t);
}
.skip-to-content:focus {
  top: 16px;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ─── 3. TYPOGRAPHY UTILITIES ──────────────────────────────── */
.serif { font-family: var(--serif); }
.h-display {
  font-family: var(--serif);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.02;
  letter-spacing: -.02em;
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
}
.h-display em {
  font-style: italic;
  font-variation-settings: 'opsz' 144, 'SOFT' 80;
  color: var(--accent);
}
.h-section {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -.015em;
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
}
.h-section em { font-style: italic; color: var(--accent); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--accent);
}
.lead {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.5;
  color: var(--text-soft);
  font-weight: 300;
  max-width: 60ch;
}

/* ─── 4. BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  font-size: 14px; font-weight: 500;
  letter-spacing: .04em;
  border-radius: 100px;
  transition: all var(--t);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(199,95,60,.35);
}
.btn-accent {
  background: var(--accent);
  color: var(--white);
}
.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(199,95,60,.35);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn-text {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink);
  font-weight: 500;
  font-size: 14px;
  position: relative;
  padding-bottom: 4px;
}
.btn-text::after {
  content: '';
  position: absolute;
  left: 0; right: 24px; bottom: 0;
  height: 1px;
  background: var(--ink);
  transition: right var(--t);
}
.btn-text:hover { color: var(--accent); }
.btn-text:hover::after { right: 0; background: var(--accent); }
.btn-text .arr {
  transition: transform var(--t);
}
.btn-text:hover .arr { transform: translateX(4px); }

/* ─── 5. LAYOUT WRAPPERS ───────────────────────────────────── */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
section {
  padding: var(--pad-sec) 0;
  position: relative;
  /* Performance: Browser darf Off-Screen-Sections later layouten/painten.
     Spart Rendering-Zeit und reduziert effektive DOM-Größe.
     contain-intrinsic-size verhindert "Ruckler" durch unbekannte Höhe. */
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}
/* Hero/Header-Bereich nicht verschieben - immer sofort gerendert */
.page-hero, header.page-hero, header[class] {
  content-visibility: visible;
}

/* ─── 6. NAVIGATION ────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(247,242,234,.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), background var(--t);
}
.nav.scrolled {
  background: rgba(247,242,234,.95);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad-x);
  max-width: var(--maxw);
  margin: 0 auto;
}
.nav-brand {
  display: flex; align-items: center;
  color: var(--ink);
}
.nav-brand img {
  height: 28px; width: auto;
  max-width: 280px;
}
/* Auf größeren Bildschirmen darf das Logo etwas größer sein */
@media (min-width: 1200px) {
  .nav-brand img { height: 32px; max-width: 320px; }
}
.nav-links {
  display: flex; gap: 36px;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 50%; bottom: -6px;
  width: 0; height: 2px;
  background: var(--accent);
  transition: all var(--t);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
  left: 0;
}
.nav-links a.active { color: var(--accent); }
.nav-cta {
  padding: 11px 22px;
  font-size: 13px;
}

/* Mobile burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--ink);
  transition: all var(--t);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer {
  position: fixed; inset: 0;
  z-index: 90;
  background: var(--paper);
  padding: 110px var(--pad-x) 40px;
  display: none;
  flex-direction: column;
  overflow-y: auto;
}
.drawer.open { display: flex; }
.drawer a {
  display: block;
  padding: 20px 0;
  font-family: var(--serif);
  font-size: 28px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.drawer a:hover { color: var(--accent); }
.drawer .btn {
  margin-top: 32px;
  align-self: flex-start;
}

/* ─── 7. HERO – START ─────────────────────────────────────── */
.hero {
  padding: clamp(140px, 18vh, 200px) 0 clamp(80px, 12vh, 140px);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero-text { position: relative; z-index: 2; }
.hero-text h1 { margin: 28px 0 32px; }
.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-top: 16px;
}
.hero-image {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(.15) contrast(1.05);
}
.hero-image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15,30,38,.4));
  pointer-events: none;
}
.hero-image-tag {
  position: absolute;
  bottom: 24px; left: 24px; right: 24px;
  z-index: 2;
  color: var(--paper);
  font-size: 13px;
  letter-spacing: .04em;
  display: flex; justify-content: space-between;
  align-items: flex-end;
}
.hero-image-tag em {
  font-family: var(--serif); font-style: italic;
  font-size: 18px;
}

/* Decorative big-text in hero */
.hero-decoration {
  position: absolute;
  top: 50%; right: -5%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(120px, 18vw, 240px);
  color: var(--ink);
  opacity: .04;
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: -.05em;
  z-index: 0;
}

/* ─── 8. STATS BAR ────────────────────────────────────────── */
.stats {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(48px, 7vw, 80px) 0;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(247,242,234,.04) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(0deg, rgba(247,242,234,.04) 0 1px, transparent 1px 80px);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 40px);
  position: relative;
}
.stat { text-align: left; }
.stat .num {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 6vw, 84px);
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--accent);
}
.stat .num sup {
  font-size: .55em;
  vertical-align: super;
  margin-left: 2px;
  color: var(--paper);
}
.stat .label {
  font-size: 13px;
  letter-spacing: .04em;
  color: rgba(247,242,234,.7);
  margin-top: 12px;
  line-height: 1.4;
  max-width: 22ch;
}

/* ─── 9. SECTION HEADER ───────────────────────────────────── */
.sec-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(30px, 5vw, 70px);
  margin-bottom: clamp(48px, 7vw, 80px);
  align-items: end;
}
.sec-head-text h2 { margin: 18px 0 0; }
.sec-head-side p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-soft);
  max-width: 55ch;
}

/* ─── 10. SERVICES (HOMEPAGE) ─────────────────────────────── */
.services {
  background: var(--white);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.svc {
  background: var(--white);
  padding: clamp(32px, 4vw, 56px);
  display: flex; flex-direction: column;
  gap: 16px;
  transition: background var(--t);
  position: relative;
}
.svc:hover {
  background: var(--paper);
}
.svc-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--accent);
  font-weight: 400;
}
.svc h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -.01em;
  line-height: 1.15;
  margin-bottom: 4px;
}
.svc p {
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 16px;
}
.svc-list {
  display: flex; flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.svc-list li {
  font-size: 14px;
  color: var(--text-soft);
  padding-left: 18px;
  position: relative;
}
.svc-list li::before {
  content: '+';
  position: absolute; left: 0;
  color: var(--accent);
  font-weight: 500;
}
.svc .btn-text { margin-top: auto; align-self: flex-start; }

/* ─── 11. ABOUT (HOMEPAGE TEASER) ─────────────────────────── */
.about-home {
  background: var(--paper);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.about-img {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: visible;
  background: var(--ink);
  max-width: 520px;
  box-shadow: var(--shadow-md);
}
.about-img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  border-radius: var(--radius-lg);
}
.about-img-badge {
  position: absolute;
  top: 24px; right: 0;
  background: var(--accent);
  color: var(--white);
  padding: 10px 18px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 100px;
  transform: rotate(3deg);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}
.about-text h2 { margin: 18px 0 24px; }
.about-text p {
  margin-bottom: 18px;
  color: var(--text-soft);
}
.about-text p strong { color: var(--ink); font-weight: 500; }
.about-text .btn { margin-top: 16px; }

/* ─── 12. WEBINARS (HOMEPAGE LIST) ────────────────────────── */
.webinars {
  background: var(--white);
}
.webinar-row {
  display: grid;
  grid-template-columns: 110px 1fr auto auto;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  padding: 28px 0;
  border-top: 1px solid var(--line);
  transition: padding-left var(--t);
}
.webinar-row:last-child { border-bottom: 1px solid var(--line); }
.webinar-row:hover {
  padding-left: 12px;
}
.webinar-date {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--accent);
  line-height: 1.1;
}
.webinar-date small {
  display: block;
  font-style: normal;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 4px;
}
.webinar-title {
  font-family: var(--serif);
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
}
.webinar-title small {
  display: block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-soft);
  margin-top: 4px;
}
.webinar-meta {
  font-size: 13px;
  color: var(--ink-muted);
  letter-spacing: .03em;
}
.webinar-row .btn-text {
  font-size: 13px;
}

/* ─── 13. REFERENCES STRIP ─────────────────────────────────── */
.refs {
  background: var(--paper);
  color: var(--ink);
  padding: 60px 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.refs-label {
  text-align: center;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 36px;
}
.refs-track {
  display: flex; align-items: center;
  gap: 80px;
  animation: marquee 40s linear infinite;
  width: max-content;
}
.refs-track img {
  height: 44px; width: auto;
  filter: grayscale(1);
  opacity: .65;
  transition: opacity var(--t), filter var(--t);
}
.refs-track img:hover {
  opacity: 1;
  filter: grayscale(0);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.refs-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

/* ─── 14. TESTIMONIAL ─────────────────────────────────────── */
.testimonial {
  background: var(--paper);
  padding: clamp(80px, 12vw, 140px) 0;
}
.testimonial-card {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.testimonial-card .quote-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 100px;
  color: var(--accent);
  line-height: 1;
  opacity: .25;
  margin-bottom: -20px;
}
.testimonial-card blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: -.01em;
  margin-bottom: 32px;
}
.testimonial-card cite {
  font-style: normal;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-soft);
}

/* ─── 15. CTA BANNER ──────────────────────────────────────── */
.cta {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(199,95,60,.22), transparent 60%);
  top: -50%; right: -10%;
  pointer-events: none;
}
.cta-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  position: relative;
}
.cta h2 { color: var(--paper); margin: 18px 0 24px; }
.cta h2 em { color: var(--accent); }
.cta p {
  color: rgba(247,242,234,.75);
  font-size: 17px;
  line-height: 1.6;
  max-width: 50ch;
}
.cta-actions {
  display: flex; flex-direction: column; gap: 16px;
  align-items: flex-start;
}
.cta .btn-primary {
  background: var(--accent);
  color: var(--white);
}
.cta .btn-primary:hover { background: var(--accent-dark); }
.cta .btn-ghost {
  border-color: rgba(247,242,234,.4);
  color: var(--paper);
}
.cta .btn-ghost:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

/* ─── 16. FOOTER ──────────────────────────────────────────── */
footer {
  background: var(--ink);
  color: rgba(247,242,234,.75);
  padding: clamp(60px, 8vw, 100px) 0 32px;
  border-top: 1px solid rgba(247,242,234,.08);
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(30px, 4vw, 60px);
  margin-bottom: 60px;
}
.foot-brand img {
  height: 64px; width: auto;
  max-width: 320px;
  margin-bottom: 20px;
}
.foot-brand p {
  font-size: 14px;
  line-height: 1.6;
  max-width: 36ch;
  color: rgba(247,242,234,.6);
}
.foot-col h4 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.foot-col ul { display: flex; flex-direction: column; gap: 10px; }
.foot-col a {
  font-size: 14px;
  color: rgba(247,242,234,.7);
}
.foot-col a:hover { color: var(--paper); }
.foot-bot {
  border-top: 1px solid rgba(247,242,234,.1);
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: rgba(247,242,234,.4);
  letter-spacing: .04em;
}

/* ─── 17. PAGE HERO (subpages) ────────────────────────────── */
.page-hero {
  padding: clamp(140px, 20vh, 200px) 0 clamp(28px, 4vw, 48px);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-hero-inner {
  max-width: 900px;
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 24px 0 28px;
}
.page-hero h1 em { font-style: italic; color: var(--accent); }
.page-hero .lead { color: var(--text-soft); }
.breadcrumb {
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: 8px;
  letter-spacing: .04em;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { margin: 0 8px; opacity: .5; }

/* ─── 18. LEISTUNGEN PAGE ─────────────────────────────────── */
.leistung-block {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(40px, 6vw, 90px);
  padding: clamp(60px, 8vw, 100px) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.leistung-block:last-child { border-bottom: 0; }
.leistung-side {
  position: sticky;
  top: 120px;
}
.leistung-side .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 80px;
  color: var(--accent);
  line-height: 1;
  font-weight: 300;
  margin-bottom: 20px;
}
.leistung-side h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.015em;
}
.leistung-main p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-soft);
  margin-bottom: 20px;
}
.leistung-main p strong { color: var(--ink); font-weight: 500; }
.leistung-main h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  margin: 32px 0 14px;
}
.leistung-main .check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
  margin: 24px 0 28px;
}
.leistung-main .check-list li {
  font-size: 15px;
  color: var(--text-soft);
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}
.leistung-main .check-list li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 12px; height: 12px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--accent) 0 30%, transparent 30%);
}

/* ─── 19. ÜBER MICH PAGE ──────────────────────────────────── */
/* Section, die .about-intro enthält, soll kein zusätzliches section-Padding bekommen,
   da .about-intro bereits eigenes Padding hat. Damit liegen die Bereiche enger. */
section.about-intro-section {
  padding-top: 0;
  padding-bottom: 0;
}

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  padding: clamp(28px, 3.5vw, 44px) 0 clamp(40px, 5vw, 60px);
  border-bottom: 1px solid var(--line);
}
.about-portrait {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  position: relative;
  max-width: 560px;
}
.about-portrait img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
}
.about-intro-text p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-soft);
  margin-bottom: 18px;
}
.about-intro-text .quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  line-height: 1.4;
  color: var(--ink);
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 32px 0;
}

.cv {
  background: var(--paper);
  padding: clamp(36px, 5vw, 60px) 0 var(--pad-sec);
  border-top: 2px solid var(--accent);
  position: relative;
}
.cv::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 6px var(--paper);
}
.cv-section { margin-bottom: clamp(60px, 8vw, 90px); }
.cv-section:last-child { margin-bottom: 0; }
.cv-grid {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: clamp(30px, 4vw, 60px);
  align-items: start;
}
.cv-grid h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 500;
  letter-spacing: -.01em;
  position: sticky;
  top: 110px;
}
.cv-entry {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
}
.cv-entry:first-child { border-top: 0; padding-top: 0; }
.cv-entry .date {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
  font-size: 15px;
}
.cv-entry h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
}
.cv-entry .org {
  font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: 10px;
  letter-spacing: .02em;
}
.cv-entry ul li {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.6;
  padding-left: 18px;
  position: relative;
  margin-bottom: 6px;
}
.cv-entry ul li::before {
  content: '–';
  position: absolute; left: 0; color: var(--accent);
}
.cv-entry p {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.6;
}

/* ─── 20. WEBINAR-ÜBERSICHT ──────────────────────────────── */
.webinar-filters {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 32px 0 16px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.webinar-filters button {
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--line);
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--t);
  background: var(--white);
  color: var(--ink-muted);
}
.webinar-filters button:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.webinar-filters button.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.webinar-period {
  font-family: var(--serif);
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  margin: 48px 0 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.webinar-period:first-of-type { margin-top: 16px; }

.webinar-card {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: clamp(20px, 3vw, 40px);
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: background var(--t);
}
.webinar-card:hover {
  background: var(--paper-soft);
  margin: 0 -16px;
  padding: 28px 16px;
}
.webinar-card .date-block {
  text-align: left;
}
.webinar-card .date-block .day {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
}
.webinar-card .date-block .month {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-top: 6px;
}
.webinar-card .date-block .dow {
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 4px;
}
.webinar-card .info h3 {
  font-family: var(--serif);
  font-size: clamp(18px, 1.9vw, 22px);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 8px;
}
.webinar-card .info .meta {
  display: flex; gap: 24px; flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-muted);
  letter-spacing: .02em;
}
.webinar-card .info .meta span::before {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}
.webinar-card .actions {
  display: flex; gap: 12px; flex-shrink: 0;
}

/* ─── 21. WEBINAR DETAIL ─────────────────────────────────── */
.webinar-detail {
  padding: var(--pad-sec) 0;
}
.webinar-detail-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.webinar-content p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-soft);
  margin-bottom: 18px;
}
.webinar-content h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 500;
  color: var(--ink);
  margin: 48px 0 20px;
  letter-spacing: -.01em;
}
.webinar-content ul {
  margin: 16px 0 24px;
}
.webinar-content ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-soft);
}
.webinar-content ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 14px; height: 2px;
  background: var(--accent);
}

.webinar-aside {
  position: sticky;
  top: 110px;
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--line);
}
.webinar-aside h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 20px;
  color: var(--ink);
}
.webinar-aside .date-item {
  display: flex; justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.webinar-aside .date-item:last-of-type { border-bottom: 0; }
.webinar-aside .date-item .dt {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--ink);
}
.webinar-aside .date-item .dt small {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 2px;
}
.webinar-aside .btn {
  margin-top: 24px;
  width: 100%;
  justify-content: center;
}
.webinar-meta-list {
  list-style: none; margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.webinar-meta-list li {
  display: flex; justify-content: space-between;
  font-size: 14px;
  padding: 8px 0;
}
.webinar-meta-list li span:first-child {
  color: var(--ink-muted);
}
.webinar-meta-list li span:last-child {
  color: var(--ink); font-weight: 500;
}

/* ─── 22. KONTAKT PAGE ──────────────────────────────────── */
.kontakt {
  padding: var(--pad-sec) 0;
}
.kontakt-grid {
  display: grid;
  grid-template-columns: .8fr 1.4fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.kontakt-info p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-soft);
  margin-bottom: 32px;
}
.kontakt-detail {
  display: flex; gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.kontakt-detail:last-child { border-bottom: 1px solid var(--line); }
.kontakt-detail .ico {
  width: 36px; height: 36px;
  background: var(--accent-soft);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  font-weight: 600;
  font-size: 14px;
}
.kontakt-detail .txt small {
  display: block;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 4px;
}
.kontakt-detail .txt a,
.kontakt-detail .txt span {
  font-size: 16px;
  color: var(--ink);
  font-weight: 500;
}
.kontakt-detail .txt a:hover { color: var(--accent); }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-sm);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}
.form-grid .full { grid-column: 1 / -1; }
.form-group label {
  display: block;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 8px;
  font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  transition: border-color var(--t), background var(--t);
  font-family: var(--sans);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
}
.form-group textarea {
  min-height: 140px; resize: vertical;
}
.form-consent {
  grid-column: 1/-1;
  display: flex; align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.5;
}
.form-consent input { margin-top: 4px; flex-shrink: 0; }
.form-consent a { color: var(--accent); text-decoration: underline; }
.form-submit {
  grid-column: 1/-1;
  justify-self: start;
}
.form-status {
  grid-column: 1/-1;
  padding: 16px;
  border-radius: var(--radius);
  font-size: 14px;
  display: none;
}
.form-status.ok {
  display: block;
  background: #e6f3ec;
  color: #1a6638;
  border-left: 3px solid #1a6638;
}
.form-status.err {
  display: block;
  background: #fbe9e7;
  color: #8a2419;
  border-left: 3px solid #8a2419;
}

/* ─── 23. LEGAL PAGES ──────────────────────────────────── */
.legal {
  padding: var(--pad-sec) 0;
  max-width: 900px;
  margin: 0 auto;
}
.legal h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  margin: 40px 0 16px;
  color: var(--ink);
}
.legal h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  margin: 28px 0 12px;
  color: var(--ink);
}
.legal p, .legal li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-soft);
  margin-bottom: 14px;
}
.legal ul {
  padding-left: 20px;
  margin-bottom: 20px;
}
.legal ul li {
  list-style: disc;
  margin-bottom: 8px;
}
.legal a { color: var(--accent); }
.legal a:hover { text-decoration: underline; }

/* ─── 24. REVEAL ANIMATION ─────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.2,.6,.2,1), transform .8s cubic-bezier(.2,.6,.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── 25. RESPONSIVE ───────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid,
  .about-grid,
  .cta-inner,
  .about-intro,
  .kontakt-grid,
  .webinar-detail-grid {
    grid-template-columns: 1fr;
  }
  .hero-image { max-width: 480px; margin: 0 auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .sec-head { grid-template-columns: 1fr; gap: 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .leistung-block { grid-template-columns: 1fr; }
  .leistung-side { position: static; }
  .cv-grid { grid-template-columns: 1fr; }
  .cv-grid h2 { position: static; }
  .webinar-aside { position: static; }
  .leistung-main .check-list { grid-template-columns: 1fr; }
  .about-img-badge { right: 12px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .nav-cta { display: none; }
  .webinar-row,
  .webinar-card {
    grid-template-columns: 80px 1fr;
  }
  .webinar-row .webinar-meta { display: none; }
  .webinar-row .btn-text { grid-column: 2; justify-self: start; }
  .webinar-card .actions {
    grid-column: 1 / -1;
    margin-top: 16px;
  }
  .webinar-card:hover { margin: 0 0; padding: 28px 0; background: transparent; }
  .form-grid { grid-template-columns: 1fr; }
  .cv-entry { grid-template-columns: 1fr; gap: 8px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-decoration { display: none; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .nav-brand img { height: 26px; max-width: 240px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat .num { font-size: 56px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ─── 27. STIMMEN / TESTIMONIALS GRID ─────────────────────── */
.stimmen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.stimme {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px 26px;
  position: relative;
  transition: transform var(--t), box-shadow var(--t);
  display: flex; flex-direction: column;
}
.stimme:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.stimme::before {
  content: '"';
  position: absolute;
  top: -8px; left: 20px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 64px;
  color: var(--accent);
  line-height: 1;
  opacity: .5;
}
.stimme p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink);
  margin-top: 12px;
  flex: 1;
}
.stimme .stimme-meta {
  font-family: var(--sans);
  font-style: normal;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-weight: 500;
}

/* ─── 28. MEDIEN & PRESSE BLOCK ───────────────────────────── */
.medien-block {
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: clamp(36px, 5vw, 56px);
  margin-top: 60px;
}
.medien-block h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-bottom: 16px;
}
.medien-block .lead { margin-bottom: 28px; }
.medien-cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
}
.medien-cat h4 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.medien-cat ul {
  display: flex; flex-direction: column;
  gap: 8px;
}
.medien-cat li {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.5;
  padding-left: 16px;
  position: relative;
}
.medien-cat li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.medien-cat li strong { color: var(--ink); font-weight: 500; }

@media (max-width: 768px) {
  .stimmen-grid { grid-template-columns: 1fr; }
  .medien-cats { grid-template-columns: 1fr; gap: 24px; }
}

/* ─── 29. ACCESSIBILITY ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
::selection { background: var(--accent); color: var(--white); }


/* ─── DARK MODE ────────────────────────────────────────────
   Automatisch aktiviert wenn der Browser/das OS Dark-Mode-Modus nutzt.
   ──────────────────────────────────────────────────────────── */
@media (prefers-color-scheme: dark) {
  :root {
    /* Farben invertieren, aber den warmen Charakter erhalten */
    --ink:          #f4ead8;     /* heller Cream-Ton als Text */
    --ink-soft:     #e6dccc;
    --ink-muted:    #b0a796;
    --paper:        #15252e;     /* dunkles Petrol als Hintergrund */
    --paper-soft:   #1d3038;
    --line:         #2c3e4a;
    --white:        #15252e;
    --text:         #f4ead8;
    --text-soft:    #b0a796;
    /* Accent bleibt warm, aber etwas heller im Dark-Mode */
    --accent:       #d97a55;
    --accent-dark:  #c75f3c;
    --accent-soft:  #4a3024;
  }

  /* Bilder leicht abdunkeln, damit sie nicht "leuchten" */
  img:not([src*=".svg"]):not([alt*="Logo"]):not([alt*="kuberzig"]) {
    opacity: 0.92;
  }

  /* Hero-Decoration anpassen */
  .hero-decoration {
    opacity: 0.06;
  }

  /* Navigation: anderer Background-Blur-Effekt im Dark-Mode */
  .nav {
    background: rgba(21,37,46,.85) !important;
  }
  .nav.scrolled {
    background: rgba(21,37,46,.95) !important;
    border-bottom-color: rgba(244,234,216,.08);
  }

  /* Buttons im Dark-Mode angepasst */
  .btn-primary {
    background: var(--paper-soft);
    color: var(--ink);
    border: 1px solid var(--line);
  }
  .btn-primary:hover {
    background: var(--line);
  }

  /* Footer im Dark-Mode: noch etwas dunkler */
  footer {
    background: #0d1b22 !important;
  }
}

/* ─── PRINT-STYLES ────────────────────────────────────────── */
/* Optimiert die Seite für Ausdrucke (z.B. Webinar-Beschreibungen
   die zum Vorlegen ausgedruckt werden) */
@media print {
  /* Nicht-druckenswertes ausblenden */
  .nav,
  .drawer,
  .burger,
  .skip-to-content,
  .hero-actions,
  .cta,
  .nav-cta,
  footer .foot-grid,
  .ref-grid {
    display: none !important;
  }

  /* Optimaler Druck-Kontrast: schwarz auf weiß */
  body {
    background: white !important;
    color: black !important;
    font-size: 11pt;
    line-height: 1.4;
  }

  /* Hero-Bereich kompakter, keine großen Margins */
  .hero, header.page-hero {
    padding: 0 !important;
    min-height: auto !important;
  }
  .hero-decoration { display: none !important; }

  /* Headlines konservativ */
  h1, .h-display { font-size: 22pt !important; }
  h2, .h-section { font-size: 16pt !important; page-break-after: avoid; }
  h3 { font-size: 13pt !important; page-break-after: avoid; }

  /* Links: URL nach dem Linktext anzeigen */
  a[href^="http"]::after,
  a[href^="mailto"]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #666;
  }
  /* Aber nicht für interne Anker und Navigation */
  a[href^="#"]::after,
  .nav a::after { content: ""; }

  /* Seitenumbrüche optimieren */
  article, section, .cv-entry { page-break-inside: avoid; }

  /* Bilder maximal in Druckbreite */
  img { max-width: 100% !important; page-break-inside: avoid; }
}
