@import url('fonts.css');

/* =========================================================================
   Schlomann Digital – IT-Beratung & Projektmanagement
   Design-System: monochrom (Schwarz/Weiß + Logo-Grau #878787)
   ========================================================================= */

:root {
  /* Farben – Schwarz/Weiß plus das Grau aus dem MS-Logo */
  --ink:        #161616;   /* Primär – Beinahe-Schwarz (Text auf hell, dunkle Flächen) */
  --ink-soft:   #222222;   /* dunkle Flächen */
  --ink-deep:   #0d0d0d;   /* tiefster Ton – Footer */
  --paper:      #ffffff;   /* Basis – Weiß */
  --paper-2:    #f4f4f4;   /* Element-/Karten-Fläche (neutrales Hellgrau) */
  --paper-3:    #ebebeb;   /* etwas tieferes Hellgrau */
  --line:       #e4e4e4;   /* Haarlinie auf hell */
  --line-dark:  #333333;   /* Haarlinie auf dunkel */
  --muted:      #666666;   /* gedämpfter Text auf hell */
  --muted-2:    #8c8c8c;   /* noch gedämpfter */
  --on-dark:    #f2f2f2;   /* Text auf dunkel */
  --on-dark-mut:#a3a3a3;   /* gedämpft auf dunkel */

  /* Akzent – das Logo-Grau */
  --accent:     #878787;
  --accent-deep:#6e6e6e;
  --accent-ink: #5f5f5f;   /* Grau für Text auf hell (kontraststark) */
  --accent-soft:#f0f0f0;   /* heller Grau-Tint für Flächen */
  --accent-glow:rgba(0,0,0,0.14);

  /* Maße */
  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(3.25rem, 5.5vw, 5.5rem);
  --radius: 6px;
  --radius-lg: 12px;

  /* Schrift */
  --font-display: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--ink); color: #fff; }

/* ---------- Typografie ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }

.display {
  font-size: clamp(2.1rem, 4.6vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.h2 { font-size: clamp(1.65rem, 3vw, 2.45rem); font-weight: 700; }
.h3 { font-size: clamp(1.1rem, 1.4vw, 1.3rem); font-weight: 600; }

/* Eyebrow – kleines Label mit kurzer Linie davor */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.eyebrow::before {
  content: "";
  width: 2em; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.eyebrow.on-dark { color: #b5b5b5; }
.eyebrow.on-dark::before { background: var(--accent); }

/* Zentrierte Sektionsköpfe – Label mit Linien beidseitig */
.section-head { max-width: 70ch; margin: 0 auto clamp(2.5rem, 4.5vw, 3.5rem); text-align: center; }
.section-head .eyebrow::after {
  content: "";
  width: 2em; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.section-head .h2 { margin-top: 0.85rem; }
.section-head .intro { margin: 1.1rem auto 0; color: var(--muted); font-size: 1.06rem; line-height: 1.6; max-width: 58ch; }
.section--dark .section-head .intro { color: var(--on-dark-mut); }

.lead { font-size: clamp(1.05rem, 1.3vw, 1.22rem); line-height: 1.6; color: var(--ink); font-weight: 400; }
.muted { color: var(--muted); }

/* ---------- Layout-Helfer ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section:not(.section--dark):not(.section--soft) + .section:not(.section--dark):not(.section--soft),
.hero + .section:not(.section--dark):not(.section--soft) { border-top: 1px solid var(--line); }

.section--dark { background: var(--ink); color: var(--on-dark); }
.section--dark .muted { color: var(--on-dark-mut); }
.section--soft { background: var(--paper-2); }
/* Dezentes Schreibtisch-Foto als Sektions-Hintergrund (stark aufgehellt) */
.section--bg-desk {
  background-image:
    linear-gradient(rgba(244,244,244,0.93), rgba(244,244,244,0.88)),
    url('../assets/img/bg-leistungen.jpg');
  background-size: cover;
  background-position: center 35%;
}
.section--soft .service-card,
.section--soft .critical-row,
.section--soft .testimonial,
.section--soft .step { background: var(--paper); }

.measure { max-width: 62ch; }
.rule { height: 1px; background: var(--line); border: 0; }
.section--dark .rule { background: var(--line-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 0.9em 1.8em;
  font-family: var(--font-body);
  font-size: 0.95rem; font-weight: 600; letter-spacing: 0.01em;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
  will-change: transform;
}
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--primary { background: var(--ink); color: #fff; box-shadow: 0 8px 22px -10px var(--accent-glow); }
.btn--primary:hover { background: #000; border-color: #000; transform: translateY(-2px); box-shadow: 0 14px 30px -12px var(--accent-glow); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.section--dark .btn--primary { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.section--dark .btn--primary:hover { background: #fff; border-color: #fff; }
.section--dark .btn--ghost { color: var(--on-dark); border-color: var(--line-dark); }
.section--dark .btn--ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* Text-Link mit Pfeil */
.tlink {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-weight: 600; font-size: 0.95rem; color: var(--accent-ink);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color .3s var(--ease), gap .3s var(--ease);
}
.tlink:hover { border-color: var(--accent); gap: 0.8em; }
.section--dark .tlink { color: #b5b5b5; }

/* =========================================================================
   Header
   ========================================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s var(--ease), border-color .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
  border-bottom: 1px solid transparent;
  padding-block: 1rem;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: saturate(170%) blur(12px);
  backdrop-filter: saturate(170%) blur(12px);
  border-bottom-color: var(--line);
  padding-block: 0.5rem;
  box-shadow: 0 6px 24px -18px rgba(20,30,40,0.5);
}

/* Über dem dunklen Hero (ungescrollt): helle Schrift, Logo invertiert */
body:not(.nav-open) .site-header:not(.scrolled) .brand-mark { filter: invert(1) brightness(1.15); }
body:not(.nav-open) .site-header:not(.scrolled) .brand-name { color: #fff; }
body:not(.nav-open) .site-header:not(.scrolled) .brand-tag { color: var(--on-dark-mut); }
body:not(.nav-open) .site-header:not(.scrolled) .nav a:not(.btn) { color: #fff; }
body:not(.nav-open) .site-header:not(.scrolled) .nav a:not(.btn)::after { background: #fff; }
body:not(.nav-open) .site-header:not(.scrolled) .nav .btn--primary { background: var(--paper); color: var(--ink); border-color: var(--paper); }
body:not(.nav-open) .site-header:not(.scrolled) .nav-toggle span { background: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

/* Marke – Original-Bildmarke (MS-Monogramm, Schwarz/Grau) + Text */
.brand { display: inline-flex; align-items: center; gap: 0.8rem; }
.brand-mark {
  height: 46px; width: auto; flex-shrink: 0;
  transition: height .4s var(--ease), transform .4s var(--ease), filter .4s var(--ease);
}
.brand:hover .brand-mark { transform: scale(1.05); }
.brand-text { display: flex; flex-direction: column; gap: 0.3em; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 400; font-size: 1.12rem; letter-spacing: 0.01em; color: var(--ink); transition: color .4s var(--ease); }
.brand-tag { font-size: 0.62rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted-2); transition: color .4s var(--ease); }
.scrolled .brand-mark { height: 38px; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav a:not(.btn) {
  font-size: 0.92rem; font-weight: 500; color: var(--ink);
  position: relative; padding-block: 4px;
  transition: color .4s var(--ease);
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--ink); border-radius: 2px; transition: width .3s var(--ease);
}
.nav a:not(.btn):hover::after { width: 100%; }
.nav .btn { padding: 0.65em 1.2em; }

.nav-toggle { display: none; }

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 5px;
    background: none; border: 0; padding: 8px; z-index: 110;
  }
  .nav-toggle span { width: 26px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav {
    position: fixed; inset: 0; background: var(--paper);
    flex-direction: column; justify-content: center; align-items: center;
    gap: 1.6rem; font-size: 1.3rem;
    transform: translateX(100%); transition: transform .4s var(--ease);
  }
  .nav a:not(.btn) { font-size: 1.4rem; font-weight: 700; }
  .nav.open { transform: translateX(0); }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 420px) { .brand-tag { display: none; } }

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  padding-top: clamp(7.5rem, 15vh, 11rem); padding-bottom: clamp(3.5rem, 7vw, 6rem);
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--on-dark);
}
/* Partikel-Netzwerk (Canvas, per JS bespielt) + statisches Punktraster als Fallback */
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1.5px);
  background-size: 28px 28px;
}
.hero .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-eyebrow { margin-bottom: 1.6rem; }
.hero h1 { margin-bottom: 1.5rem; color: #fff; }
.hero h1 .hl { color: #b5b5b5; }
.hero .sub { color: var(--on-dark-mut); font-size: 1.05rem; letter-spacing: 0.01em; margin-bottom: 1.6rem; font-weight: 500; }
.hero .sub strong { color: #fff; font-weight: 700; }
.hero .hero-lead { color: var(--on-dark-mut); font-size: 1.05rem; line-height: 1.65; max-width: 52ch; margin-bottom: 2.2rem; }
.hero .btn--primary { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.hero .btn--primary:hover { background: #fff; border-color: #fff; }
.hero .btn--ghost { color: var(--on-dark); border-color: rgba(255,255,255,0.3); }
.hero .btn--ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.hashtags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.hashtag { font-size: 0.82rem; font-weight: 600; color: #d6d6d6; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.22); padding: 0.35em 0.95em; border-radius: 999px; }

/* Hero-Visual: helles Panel als Kontrast auf dunklem Grund */
.hero-figure { position: relative; }
.hero-panel {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--ink);
  box-shadow: 0 40px 90px -40px rgba(0,0,0,0.85);
}
.hero-panel .hp-label { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 1.4rem; }
.hp-rows { display: grid; gap: 0.9rem; }
.hp-row { display: flex; align-items: center; gap: 0.9rem; }
.hp-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex-shrink: 0; box-shadow: 0 0 0 4px rgba(0,0,0,0.07); }
.hp-row span { font-weight: 600; font-size: 1.02rem; color: var(--ink); }
.hp-bar { margin-top: 1.6rem; height: 8px; border-radius: 999px; background: var(--paper-3); overflow: hidden; }
.hp-bar i { display: block; height: 100%; width: 84%; border-radius: 999px; background: linear-gradient(90deg, var(--ink), var(--accent)); }
.hp-meta { margin-top: 0.8rem; display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--muted); }

@media (max-width: 920px) {
  .hero { padding-top: clamp(6.5rem, 12vh, 8rem); }
  .hero-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .hero-copy { order: 1; }
  .hero-figure { order: 2; }
}

/* =========================================================================
   Philosophie – Wertekarten
   ========================================================================= */
/* Bild + Werte nebeneinander: Visitenkarten-Foto links, drei Werte gestapelt rechts */
.philo-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; max-width: 1040px; margin-inline: auto; }
.philo-figure { margin: 0; }
.philo-figure img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 40%;
  border-radius: var(--radius-lg);
  filter: grayscale(1) contrast(1.04);
  display: block;
}
.values { display: grid; grid-template-columns: 1fr; gap: clamp(1.6rem, 3vw, 2.2rem); margin-top: 0; }
.value-card {
  padding: 1.4rem 0 0;
  border-top: 2px solid var(--ink);
  text-align: left;
}
.value-card .v-tag { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: var(--accent); margin-bottom: 0.6rem; letter-spacing: -0.02em; }
.value-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.value-card p { color: var(--muted); font-size: 0.98rem; line-height: 1.55; max-width: 58ch; }
@media (max-width: 860px) {
  .philo-grid { grid-template-columns: 1fr; gap: 2rem; }
  .philo-figure { max-width: 420px; margin-inline: auto; }
}

/* =========================================================================
   Leistungen – Karten-Grid
   ========================================================================= */
/* Geteilte Haarlinien (1px-Gap auf Linienfarbe) – technisches Raster statt Einzelkarten */
.services {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; margin-top: 0;
  background: var(--line); border: 1px solid var(--line);
}
@media (max-width: 1100px) { .services { grid-template-columns: repeat(2, 1fr); } }
.service-card {
  background: var(--paper);
  padding: clamp(1.8rem, 2.6vw, 2.4rem); display: flex; flex-direction: column;
  transition: background .3s var(--ease);
}
.service-card:hover { background: var(--ink); }
.service-icon {
  width: 46px; height: 46px; border-radius: 50%; margin-bottom: 1.3rem;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--ink);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 1.18rem; margin-bottom: 0.7rem; line-height: 1.25; transition: color .3s var(--ease); }
.service-card p { color: var(--muted); font-size: 0.97rem; line-height: 1.58; flex: 1; transition: color .3s var(--ease); }
.service-card .s-foot { margin-top: 1.2rem; font-size: 0.84rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); transition: color .3s var(--ease); }
.service-card:hover h3 { color: #fff; }
.service-card:hover p { color: var(--on-dark-mut); }
.service-card:hover .s-foot { color: #b5b5b5; }
.service-card:hover .service-icon { background: rgba(255,255,255,0.12); color: #fff; }
@media (max-width: 880px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }

/* =========================================================================
   Vorgehen – nummerierte Schritte
   ========================================================================= */
/* Horizontale Prozess-Timeline – verbundene Stationen statt Karten */
.steps { margin-top: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); position: relative; }
.steps::before {
  content: ""; position: absolute; top: 24px; left: 12.5%; right: 12.5%;
  height: 2px; background: var(--line);
}
.step { text-align: center; position: relative; }
.step .step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--ink); color: var(--ink);
  font-family: var(--font-display); font-weight: 800; font-size: 1rem;
  margin: 0 auto 1.1rem; position: relative; z-index: 1;
}
.step .step-title { font-family: var(--font-display); font-size: 1.12rem; font-weight: 700; margin-bottom: 0.55rem; line-height: 1.25; }
.step .step-body { color: var(--muted); }
.step .step-body p { font-size: 0.95rem; line-height: 1.55; max-width: 26ch; margin-inline: auto; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 2rem; }
  .steps::before { display: none; }
}

/* =========================================================================
   Zitat-Banner – breites Bild mit Leitsatz-Overlay
   ========================================================================= */
.quote-banner { padding-bottom: var(--section-y); }
.qb-figure { position: relative; border-radius: var(--radius-lg); overflow: hidden; margin: 0; }
.qb-figure img {
  width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 38%;
  filter: grayscale(1) contrast(1.04);
  display: block;
}
.qb-figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(13,13,13,0.78) 0%, rgba(13,13,13,0.42) 48%, rgba(13,13,13,0.08) 100%);
}
.qb-quote {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(1.5rem, 5vw, 4.5rem);
  color: #fff;
}
.qb-quote p {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em;
  font-size: clamp(1.15rem, 2.4vw, 1.9rem); line-height: 1.3;
  max-width: 24ch; margin: 0;
}
.qb-quote span {
  margin-top: 1rem; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: #b5b5b5;
}
@media (max-width: 680px) {
  .qb-figure img { aspect-ratio: 4 / 3; object-position: 62% 38%; }
  .qb-figure::after { background: linear-gradient(90deg, rgba(13,13,13,0.82) 0%, rgba(13,13,13,0.45) 60%, rgba(13,13,13,0.18) 100%); }
}

/* =========================================================================
   Über mich – Profil, Stats, Vita
   ========================================================================= */
.profile-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
.profile-card {
  background: var(--ink); color: var(--on-dark);
  border-radius: var(--radius-lg); padding: clamp(1.8rem, 3vw, 2.4rem);
  position: sticky; top: 96px;
}
/* Porträtfoto – randlos oben in der Karte, dezent entsättigt */
.profile-card .pc-photo {
  display: block;
  max-width: none; /* Reset (max-width:100%) aushebeln, sonst greifen die negativen Margins nur links */
  margin: calc(-1 * clamp(1.8rem, 3vw, 2.4rem)) calc(-1 * clamp(1.8rem, 3vw, 2.4rem)) 1.5rem;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
}
.profile-card .pc-photo img {
  width: 100%; aspect-ratio: 5 / 4.8; object-fit: cover; object-position: 50% 0%;
  filter: grayscale(1) contrast(1.03);
  display: block;
}
.profile-card h3 { color: #fff; font-size: 1.35rem; margin-bottom: 0.3rem; }
.profile-card .pc-role { color: #b5b5b5; font-weight: 600; font-size: 0.95rem; margin-bottom: 1.4rem; }
.profile-card .pc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 1.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line-dark); }
.pc-stat .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 2.6vw, 2.1rem); color: #fff; line-height: 1; letter-spacing: -0.02em; }
.pc-stat .lbl { color: var(--on-dark-mut); font-size: 0.85rem; margin-top: 0.35rem; }
.pc-linkedin {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  margin-top: 1.6rem; padding: 0.78rem 1.2rem;
  border: 1px solid var(--line-dark); border-radius: 999px;
  color: var(--on-dark); font-weight: 600; font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.pc-linkedin svg { width: 17px; height: 17px; flex: none; }
.pc-linkedin .arrow { transition: transform 0.2s ease; }
.pc-linkedin:hover { background: #fff; color: var(--ink); border-color: #fff; }
.pc-linkedin:hover .arrow { transform: translateX(3px); }
.profile-body p + p { margin-top: 1.05rem; }
.profile-body .lead { margin-bottom: 0.4rem; }
.pullquote {
  font-family: var(--font-display); font-weight: 700; font-style: normal;
  font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.3; letter-spacing: -0.02em;
  margin: 2.2rem 0; padding: 1.6rem 1.8rem; border-radius: var(--radius);
  background: var(--accent-soft); border-left: 4px solid var(--accent);
  color: var(--ink);
}
@media (max-width: 880px) { .profile-grid { grid-template-columns: 1fr; } .profile-card { position: static; } }

/* Vita-Timeline */
.vita { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.vita-list { position: relative; margin-top: 1.5rem; padding-left: 1.8rem; }
.vita-list::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.vita-item { position: relative; padding-bottom: 1.6rem; }
.vita-item:last-child { padding-bottom: 0; }
.vita-item::before { content: ""; position: absolute; left: -1.8rem; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--accent); }
.vita-item.now::before { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-glow); }
.vita-date { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; color: var(--accent-ink); text-transform: uppercase; }
.vita-role { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin: 0.15rem 0 0.1rem; }
.vita-org { color: var(--muted); font-size: 0.95rem; }
.section--dark .vita-list::before { background: var(--line-dark); }
.section--dark .vita-item::before { background: var(--ink); }
.section--dark .vita-date { color: #b5b5b5; }

/* Badges (Zertifikate / Mitgliedschaften) */
.badges { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: clamp(2.5rem,5vw,3.5rem); }
.badge { padding: 1.4rem 1.5rem; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); }
.section--dark .badge { background: var(--ink-soft); border-color: var(--line-dark); }
.badge--link { display: block; transition: border-color .3s var(--ease), transform .3s var(--ease); }
.badge--link:hover { border-color: var(--accent); transform: translateY(-2px); }
.badge-logo { height: 26px; width: auto; margin-bottom: 0.9rem; }
.badge h4 { font-size: 1rem; margin-bottom: 0.45rem; }
.badge p { color: var(--muted); font-size: 0.93rem; line-height: 1.55; }
.section--dark .badge p { color: var(--on-dark-mut); }
.badge a { color: var(--accent-ink); border-bottom: 1px solid transparent; }
.badge a:hover { border-color: var(--accent); }
.section--dark .badge a { color: #b5b5b5; }
@media (max-width: 620px) { .badges { grid-template-columns: 1fr; } }

/* =========================================================================
   Referenzen – Testimonials
   ========================================================================= */
.testimonials { columns: 3 280px; column-gap: 1.2rem; margin-top: 0; }
.testimonial {
  break-inside: avoid; margin-bottom: 1.2rem;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
}
.testimonial .t-quote { color: var(--ink); font-size: 0.97rem; line-height: 1.6; position: relative; }
.testimonial .t-quote::before { content: "\201C"; font-family: var(--font-display); font-weight: 800; color: var(--accent); opacity: 0.45; font-size: 2.4rem; line-height: 0; position: relative; top: 0.35rem; margin-right: 0.1rem; }
.testimonial .t-author { margin-top: 1.1rem; padding-top: 0.9rem; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 0.8rem; }
.t-avatar { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; background: var(--accent-soft); color: var(--accent-ink); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 0.92rem; }
.t-meta strong { display: block; font-size: 0.92rem; font-weight: 700; color: var(--ink); line-height: 1.2; }
.t-meta span { font-size: 0.82rem; color: var(--muted); }
.testimonials-intro { max-width: 60ch; margin: 0 0 clamp(2rem,4vw,2.75rem); color: var(--muted); }
@media (max-width: 600px) { .testimonials { columns: 1; } }

/* =========================================================================
   Partner
   ========================================================================= */
.partners { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; max-width: 980px; margin-inline: auto; }
.partner-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.8rem, 2.6vw, 2.4rem);
  display: flex; flex-direction: column; align-items: flex-start;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.partner-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.partner-logo { height: 44px; width: auto; margin-bottom: 1.3rem; }
.partner-logo--wide { height: 30px; margin-top: 7px; } /* einzeilige Wortmarke optisch an zweizeiliges Logo angleichen */
.partner-card p { color: var(--muted); font-size: 0.97rem; line-height: 1.6; flex: 1; }
.partner-card .tlink { margin-top: 1.3rem; }
@media (max-width: 760px) { .partners { grid-template-columns: 1fr; } }

/* =========================================================================
   Kontakt
   ========================================================================= */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem,5vw,4rem); margin-top: 0; align-items: start; }
.contact-info .ci-item { padding: 1.3rem 0; border-top: 1px solid var(--line-dark); }
.contact-info .ci-item:first-of-type { border-top: 0; padding-top: 0; }
.contact-info .ci-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.18em; color: #b5b5b5; margin-bottom: 0.4rem; font-weight: 700; }
.contact-info .ci-value { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.05rem,1.3vw,1.22rem); }
.contact-info .ci-value a { border-bottom: 1px solid transparent; transition: border-color .3s; }
.contact-info .ci-value a:hover { border-color: var(--on-dark-mut); }
.contact-info .ci-note { color: var(--on-dark-mut); font-size: 0.9rem; margin-bottom: 0.3rem; }
.contact-social { display: flex; gap: 0.8rem; margin-top: 1.8rem; }
.contact-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 10px;
  border: 1px solid var(--line-dark); color: var(--on-dark);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.contact-social a:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.contact-social svg { width: 20px; height: 20px; }

/* Formular */
.form { background: var(--paper); color: var(--ink); padding: clamp(1.8rem,3vw,2.6rem); border-radius: var(--radius-lg); box-shadow: 0 30px 60px -40px rgba(14,18,23,0.6); }
.form .field { margin-bottom: 1.25rem; }
.form label { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.45rem; }
.form label .req { color: var(--accent); }
.form input, .form select, .form textarea {
  width: 100%; padding: 0.85em 1em; font: inherit; font-size: 1rem;
  background: var(--paper-2); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 3px rgba(0,0,0,0.08);
}
.form textarea { resize: vertical; min-height: 130px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .form .row2 { grid-template-columns: 1fr; gap: 0; } }
.form .consent { display: flex; gap: 0.7rem; align-items: flex-start; }
.form .consent input { width: auto; margin-top: 0.25em; flex-shrink: 0; accent-color: var(--ink); }
.form .consent label { text-transform: none; letter-spacing: 0; font-weight: 400; margin: 0; font-size: 0.9rem; color: var(--muted); line-height: 1.5; }
.form .consent a { color: var(--accent-ink); border-bottom: 1px solid var(--line); }
.form .hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form button[type="submit"] { width: 100%; justify-content: center; margin-top: 0.6rem; }
.form-status { margin-top: 1rem; padding: 0.9rem 1.1rem; border-radius: var(--radius); font-size: 0.95rem; display: none; }
.form-status.show { display: block; }
.form-status.success { background: #e6f4ea; color: #235c33; border: 1px solid #b9d8c2; }
.form-status.error { background: #fce8e6; color: #8a2c20; border: 1px solid #f0bcb4; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { background: var(--ink-deep); color: var(--on-dark); padding-block: clamp(3rem,5vw,4.5rem) 2rem; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; }
.footer-logo { height: 52px; width: auto; }
.footer-brand p { color: var(--on-dark-mut); font-size: 0.95rem; max-width: 36ch; margin-top: 1.2rem; }
.footer-col h4 { font-family: var(--font-body); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--on-dark-mut); margin-bottom: 1.1rem; font-weight: 700; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 0.7rem; }
.footer-col a { color: var(--on-dark); font-size: 0.95rem; border-bottom: 1px solid transparent; transition: border-color .3s, color .3s; }
.footer-col a:hover { border-color: #fff; color: #fff; }
.footer-col li.plain { color: var(--on-dark-mut); font-size: 0.95rem; }
.footer-bottom { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; color: var(--on-dark-mut); font-size: 0.85rem; }
.footer-bottom a { color: var(--on-dark); border-bottom: 1px solid transparent; transition: border-color .3s; }
.footer-bottom a:hover { border-color: #fff; }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; gap: 2rem; } }

/* =========================================================================
   Rechtstexte (Impressum/Datenschutz)
   ========================================================================= */
.legal { padding-top: clamp(7.5rem, 13vh, 10rem); padding-bottom: clamp(3rem,6vw,5rem); }
.legal h1 { font-size: clamp(2.1rem,4vw,3rem); margin-bottom: 2.2rem; }
.legal h2 { font-size: clamp(1.4rem,2.4vw,1.85rem); margin: 2.6rem 0 1rem; }
.legal h3 { font-size: 1.15rem; font-weight: 700; margin: 1.6rem 0 0.5rem; }
.legal p, .legal ul { max-width: 72ch; color: var(--ink); margin-bottom: 1rem; }
.legal ul { padding-left: 1.3em; }
.legal li { margin-bottom: 0.4rem; }
.legal a { color: var(--accent-ink); border-bottom: 1px solid var(--line); }
.legal .back { display: inline-flex; gap: 0.5em; margin-bottom: 2rem; color: var(--muted); font-weight: 600; font-size: 0.92rem; }

/* =========================================================================
   Scroll-Reveal
   ========================================================================= */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Scroll-to-Top */
.to-top {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: #fff; border: 0; cursor: pointer;
  opacity: 0; transform: translateY(10px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), background .25s var(--ease);
  pointer-events: none; box-shadow: 0 12px 28px -12px rgba(0,0,0,0.4);
}
.to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.to-top:hover { background: #000; transform: translateY(-2px); }
.to-top[hidden] { display: none; }

/* Skip-Link */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 0.8em 1.2em; z-index: 200; border-radius: 0 0 var(--radius) 0; }
.skip-link:focus { left: 0; }

/* Fokus-Sichtbarkeit */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--ink); outline-offset: 2px;
}

/* Sektions-Counter */
