/* ============================================================
   STYLE.CSS – Globale Styles
   Farben, Schriften, Layout-Grundgerüst und alle Sektionen.
   Wiederverwendbare Elemente (Buttons, Cards) stehen in components.css.

   TIPP: Alle Farben und Schriften sind als CSS-Variablen unter :root
   definiert – dort das Design zentral ändern.
   ============================================================ */

/* ---- Reset ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ============================================================
   DESIGN-VARIABLEN  (hier zentral anpassen)
   ============================================================ */
:root {
  /* Hintergründe */
  --c-bg:     #fafaf8;
  --c-bg2:    #f4f3ef;
  --c-white:  #ffffff;

  /* Rahmen */
  --c-border:  rgba(0, 0, 0, 0.09);
  --c-border2: rgba(0, 0, 0, 0.15);

  /* Text */
  --c-text:   #1a1814;
  --c-muted:  #6b6760;
  --c-muted2: #a09a93;

  /* Akzentfarben (Marke) */
  --c-yellow:    #FFF046;
  --c-orange:    #FF9E2B;
  --c-lime:      #B0E600;
  --c-lime-dark: #7aaa00;

  /* Schriften */
  --font-base:    'Blinker', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: 'Oswald', 'Inter', system-ui, sans-serif;

  /* Radien */
  --radius:    14px;
  --radius-sm: 8px;

  /* Layout */
  --container:  1100px;
  --nav-height: 62px;
}

/* ============================================================
   BASIS
   ============================================================ */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---- Layout-Helfer ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

section { padding: 100px 0; }

/* ---- Typografie ---- */
h1, h2, h3 {
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
}
h1 { font-size: clamp(38px, 5.5vw, 66px); }
h2 { font-size: clamp(28px, 3.5vw, 42px); margin-bottom: 1rem; font-family: var(--font-display); }
h3 { font-size: 18px; margin-bottom: 0.4rem; }

p { color: var(--c-muted); }

.section-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-muted2);
  margin-bottom: 1rem;
}

/* Unterstrichene Text-Hervorhebungen in den Überschriften.
   Statt nativer text-decoration ein Hintergrund-Verlauf als Unterstrich –
   dadurch lässt sich die Linie animieren (von links nach rechts „durchziehen").
   Ohne JS bleibt die volle Unterstreichung als Fallback sichtbar. */
.mark, .mark-lime, .mark-orange {
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 3px;        /* Fallback: volle Linie */
  padding-bottom: 4px;              /* entspricht etwa dem früheren Offset */
}
.mark        { background-image: linear-gradient(var(--c-yellow), var(--c-yellow)); }
.mark-lime   { background-image: linear-gradient(var(--c-lime),   var(--c-lime)); }
.mark-orange { background-image: linear-gradient(var(--c-orange), var(--c-orange)); }

/* Sobald JS aktiv ist (html.marks-armed): Linie startet bei 0 Breite und wird
   beim Reinscrollen „durchgezogen" – wie mit einem Textmarker. */
html.marks-armed .mark,
html.marks-armed .mark-lime,
html.marks-armed .mark-orange {
  background-size: 0% 3px;
  transition: background-size 0.7s ease;
}
html.marks-armed .mark.drawn,
html.marks-armed .mark-lime.drawn,
html.marks-armed .mark-orange.drawn {
  background-size: 100% 3px;
}

/* ============================================================
   SCROLL-REVEAL – sanftes Einfaden von unten
   Die versteckende Grundklasse .reveal-up wird per JS gesetzt,
   damit ohne JavaScript alles normal sichtbar bleibt.
   ============================================================ */
/* Per CSS-animation (nicht transition) – so kollidiert der Effekt nicht mit
   den eigenen transition-Regeln der Karten (z.B. Hover-Lift). fill-mode
   backwards hält den Startzustand während einer evtl. Staffelungs-Verzögerung,
   gibt die Karte danach aber wieder frei (Hover funktioniert normal). */
.reveal-up { opacity: 0; }
.reveal-up.revealed {
  opacity: 1;
  animation: reveal-up-anim 0.6s ease backwards;
}
@keyframes reveal-up-anim {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Referenzen / Stimmen: gleiten sanft von der Seite herein */
.reveal-side { opacity: 0; }
.reveal-side.revealed {
  opacity: 1;
  animation: reveal-side-anim 0.7s ease backwards;
}
@keyframes reveal-side-anim {
  from { opacity: 0; transform: translateX(50px); }
  to   { opacity: 1; transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-up, .reveal-side { opacity: 1 !important; }
  .reveal-up.revealed, .reveal-side.revealed { animation: none !important; }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 250, 248, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--c-border);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav-logo {
  display: flex;
  align-items: center;
}
/* Echtes Logo-Bild – Höhe steuert die Größe, Breite folgt automatisch */
.nav-logo img {
  height: 24px;
  width: auto;
  display: block;
}

/* Logo + Links sitzen links, der Kontakt-Button wird per margin nach rechts geschoben */
.nav-links {
  display: flex;
  gap: 2rem;
  margin-left: 2.5rem;
  margin-right: auto;
  align-self: stretch; /* Links nehmen die volle Höhe der Leiste ein */
}
.nav-links a {
  position: relative;
  display: flex;
  align-items: center; /* Text bleibt vertikal zentriert */
  font-size: 15px;
  color: var(--c-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--c-text); }

/* Aktiver Menüpunkt: dunkler Text + orange Unterstreichung */
.nav-links a.active { color: var(--c-text); font-weight: 600; }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 0; /* liegt direkt auf der Unterkante der Navigationsleiste auf */
  height: 3px;
  background: var(--c-orange);
}

/* Kontakt-Button: dunkler Pill mit Icon */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--c-text);
  color: var(--c-white);
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  white-space: nowrap;
}
/* Dezenter Hover: leicht aufgehellter Dunkelton, sanftes Anheben + weicher
   Schatten, minimaler „Spring"-Effekt durch leichtes Skalieren. */
.nav-cta:hover {
  background: #34302a;
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}
.nav-cta:active { transform: translateY(1px) scale(1); box-shadow: none; }
.nav-cta svg {
  width: 16px; height: 16px; flex-shrink: 0;
  transition: transform 0.25s ease;
}
/* Sprechblase „nickt" beim Hover kurz an */
.nav-cta:hover svg { transform: translateY(-1px) rotate(-8deg); }

/* Mobile Burger-Button */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  background: var(--c-bg);
  padding-top: calc(var(--nav-height) + 56px);
  padding-bottom: 0;
  overflow: hidden; /* schneidet das große Bild am rechten Bildschirmrand ab */
}
/* Zweispaltiges Layout: Text links, Bild rechts */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
/* verhindert, dass das große Bild die Textspalte zusammenstaucht */
.hero-text, .hero-media { min-width: 0; }
.hero-text {
  text-align: left;
  padding-bottom: 90px;
}

/* Dunkler Kennzahlen-Balken über die volle Breite am unteren Rand.
   Das Hero-Bild liegt mit der Unterkante auf der Oberkante dieses Balkens auf. */
.hero-stats {
  background: var(--c-text);
}
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 2.2rem 0;
  margin: 0;
}
.stat { text-align: center; }
/* Große Kennzahl in Oswald, in den Markenfarben */
.stat-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1;
  letter-spacing: 0.5px;
}
.stat-lime   { color: var(--c-lime); }
.stat-orange { color: var(--c-orange); }
.stat-yellow { color: var(--c-yellow); }
/* Label (Blinker) + Sublabel unter der Zahl */
.stat-label {
  display: block;
  margin: 0.55rem 0 0;
  font-size: 15px;            /* eine Spur größer */
  font-weight: 400;           /* regular */
  line-height: 1.3;
  color: var(--c-bg);         /* helle Hintergrundfarbe der Seite als Schriftfarbe */
}
/* Verb in zweiter Zeile – sonst identische Formatierung wie die erste Zeile */
.stat-sub { display: block; }

/* ============================================================
   ÜBER MICH – MINI-HERO  (#ich-Abschnitt auf der Startseite)
   ============================================================ */
.mini-hero {
  position: relative;
  overflow: hidden;                 /* schneidet das Bild oben und links ab */
  background: var(--c-bg);
  margin-top: var(--nav-height);    /* beginnt unter der fixen Navigation */
  padding: 28px 0 56px;             /* überschreibt section{padding:100px} -> weniger Abstand oben */
}
/* Bild links und oben angeschnitten: absolut positioniert, ragt über die
   obere und linke Kante der Sektion hinaus und wird von overflow:hidden geclippt */
.mini-hero-media {
  position: absolute;
  top: -65px;
  left: -65px;
  width: clamp(400px, 46vw, 620px);
  max-width: none;
  height: auto;
  z-index: 0;
}
.mini-hero .container { position: relative; z-index: 1; }
.mini-hero-grid {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;  /* schmale linke Spalte -> Text näher beim Bild */
  align-items: start;                     /* Text oben statt mittig -> weniger Abstand oben */
  min-height: 400px;
}
.mini-hero-text { grid-column: 2; }  /* Text rechts – das Bild liegt links */
.mini-hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(38px, 5.2vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.5px;
  margin-bottom: 1.25rem;
}
.mini-hero-lead,
.section-lead {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.6;
  color: var(--c-muted);
  max-width: 520px;
}
.section-lead { margin-top: 0.75rem; }

/* Mini-Hero einspaltig: Bild oben (größer + oben angeschnitten), Text darunter */
@media (max-width: 760px) {
  .mini-hero { padding-top: 0; }   /* damit der negative Rand voll oben anschneidet */
  .mini-hero-media {
    position: relative;
    top: 0;
    left: -45px;
    width: min(110vw, 500px);   /* deutlich größer */
    margin-top: -55px;          /* oben anschneiden (wird von overflow:hidden geclippt) */
  }
  .mini-hero-grid {
    display: block;
    min-height: 0;
    padding-bottom: 2.5rem;
  }
  .mini-hero-text { padding-top: 0.75rem; }
}

/* Headline in EINER Zeile, so groß wie es geht: Oswald (schmal) + nowrap.
   Die Größe skaliert mit der Viewport-Breite, damit die Zeile die Textspalte
   füllt, aber nicht umbricht. */
.hero-title {
  color: var(--c-text);
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  white-space: nowrap;
  font-size: clamp(34px, 5.8vw, 64px);
  letter-spacing: -0.5px;
  line-height: 1.05;
}

/* Fette Kurzbotschaft direkt unter der Headline */
.hero-lead {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.3;
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: 17px;
  color: var(--c-muted);
  max-width: 520px;
  margin-bottom: 1.75rem;
  font-weight: 400;
}
.hero-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--c-text);
  margin-bottom: 0.1rem;
}
.hero-exp {
  font-size: 16px;
  color: var(--c-muted);
  margin-bottom: 2rem;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Header-Bild (transparentes PNG mit Foto + Doodles) –
   unten ausgerichtet, damit es auf dem schwarzen Trenner aufliegt.
   Höhengesteuert und bewusst groß: läuft rechts über den Bildschirmrand
   hinaus (wird von #hero overflow:hidden abgeschnitten). */
.hero-media { align-self: end; }
.hero-media img {
  height: clamp(360px, 42vw, 540px);
  width: auto;
  max-width: none;
  display: block;
}

/* ============================================================
   PROBLEM
   ============================================================ */
#problem { background: var(--c-white); }

.problem-intro {
  max-width: 780px;
  margin: 1.5rem 0 3rem;
}
.problem-intro p {
  margin-top: 1rem;
  font-size: 16px;
  line-height: 1.8;
}
.problem-intro p:first-child { margin-top: 0; }

.problem-subtitle {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 1.5rem;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.problem-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 4px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.problem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--c-orange);
}

.problem-num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 600;
  color: var(--c-orange);
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.35;
}

.problem-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 0.75rem;
}
.problem-card p {
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.75;
}

/* ============================================================
   ANGEBOTE
   ============================================================ */
#angebote { background: var(--c-bg); }

/* Zusatz-Angebot: längerfristige Zusammenarbeit (Fließtext, kein Kasten) */
.angebot-custom {
  margin-top: 3.5rem;
  max-width: 820px;
}
.angebot-custom h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--c-text);
  margin-bottom: 0.75rem;
}
.angebot-custom p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-muted);
}
.angebot-custom a {
  color: var(--c-lime-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}
.angebot-custom a:hover { color: var(--c-text); }

.angebote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

/* ============================================================
   ÜBER HELLIX
   ============================================================ */
#ueber { background: var(--c-white); }
.ueber-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.ueber-text p { margin-top: 1rem; }

.leistungen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}

/* ---- Expertise-Cluster ------------------------------------- */
.expertise-cluster {
  margin-top: 2.75rem;
}
.expertise-cluster:first-of-type { margin-top: 2.5rem; }

.cluster-head {
  margin-bottom: 1.25rem;
}
.cluster-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--c-text);
  margin: 0;
}
.cluster-sub {
  font-size: 15px;
  color: var(--c-muted);
  margin: 0.6rem 0 0;
  line-height: 1.55;
}

.cluster-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

/* Cluster-Farben – steuern Balken (--bar-color) und Icon/Akzent */
.cluster-klarheit  { --cluster-bar: #FF9E2B; --cluster-accent: #D97200; --bar-color: #FF9E2B; }
.cluster-gestalten { --cluster-bar: #B0E600; --cluster-accent: #6f9e00; --bar-color: #B0E600; }
.cluster-menschen  { --cluster-bar: #FFE34A; --cluster-accent: #B58A00; --bar-color: #FFE34A; }

.expertise-cluster .leistung-icon { color: var(--cluster-accent, var(--bar-color)); }

.leistung-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 4px;
  padding: 1.5rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.leistung-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px;
  background: var(--bar-color, var(--c-orange));
}
.leistung-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
}

/* Farbvarianten über CSS-Custom-Property */
.bar-orange    { --bar-color: #FF8E2B; }
.bar-yellow    { --bar-color: #FFF046; }
.bar-lime      { --bar-color: #B0E600; }
.bar-orange-lt { --bar-color: #FFC580; }
.bar-lime-lt   { --bar-color: #D0F066; }
.bar-lemon-lt  { --bar-color: #FFFBCB; }

.leistung-header {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.5rem;
}

.leistung-icon {
  font-size: 24px;
  color: var(--bar-color, var(--c-orange));
  flex-shrink: 0;
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.leistung-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 0;
}
.leistung-card p {
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.65;
}

/* ============================================================
   WERTE
   ============================================================ */
#werte { background: var(--c-bg); }
.werte-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.wert-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.wert-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}
/* Farbiger Balken oben */
.wert-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.wert-orange::before { background: var(--c-orange); }
.wert-lime::before   { background: var(--c-lime); }
.wert-yellow::before { background: var(--c-yellow); }

.wert-card h3 { font-size: 16px; font-weight: 600; color: var(--c-text); }
.wert-card p  { font-size: 14px; margin-top: 0.5rem; }


/* ============================================================
   STIMMEN – Testimonial-Karussell
   ============================================================ */
#stimmen { background: var(--c-white); overflow: hidden; } /* hidden: seitlicher Reveal-Slide erzeugt keinen Scrollbalken */
.testi-carousel {
  margin-top: 2.5rem;
}
.testi-viewport {
  overflow: hidden;
}
.testi-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.4s ease;
}
/* Zwei Karten gleichzeitig sichtbar (mobil: eine) */
.testi-card {
  container-type: inline-size;
  flex: 0 0 calc((100% - 1.25rem) / 2);
  box-sizing: border-box;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 2.25rem 2.25rem;
  margin: 0;
}

/* Farbe pro Zitat (gelb / orange / grün) – steuert Mark, Balken & Avatar */
.testi-lime   { --accent: #B0E600; --accent-soft: rgba(176, 230, 0, 0.14); }
.testi-orange { --accent: #FF9E2B; --accent-soft: rgba(255, 158, 43, 0.14); }
.testi-yellow { --accent: #FFF046; --accent-soft: rgba(255, 240, 70, 0.20); }

/* Zitat-Block: großes Anführungszeichen + vertikaler Balken + Text */
.testi-quote-row {
  display: flex;
  align-items: stretch;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}
.testi-mark {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 78px;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  flex-shrink: 0;
  align-self: flex-start;
  height: 38px;
}
.testi-bar {
  flex-shrink: 0;
  width: 3px;
  border-radius: 2px;
  background: var(--accent);
}
.testi-quote {
  font-size: 14px;
  line-height: 1.65;
  color: var(--c-text);
  margin: 0;
}

/* Schmale Karte: Anführungszeichen & Abstand zur Linie verkleinern,
   damit dem Zitat mehr Platz für Zeilenumbrüche bleibt. */
@container (max-width: 280px) {
  .testi-quote-row {
    gap: 0.65rem;
  }
  .testi-mark {
    font-size: 42px;
    height: 22px;
  }
}

/* Person: Avatar + Name / Titel / Organisation */
.testi-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.testi-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.testi-avatar .material-symbols-rounded {
  font-size: 34px;
  color: #9a958c;
}
.testi-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.testi-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}
.testi-name { font-weight: 700; color: var(--c-text); font-size: 17px; }
.testi-role { font-size: 15px; color: var(--c-text); }
.testi-org  { font-size: 14px; color: var(--c-muted); }

/* Dezente Steuerleiste unter den Karten: ‹  • •  › */
.testi-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.75rem;
}
.testi-nav {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--c-border2);
  background: transparent;
  color: var(--c-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, transform 0.15s;
}
.testi-nav:hover { color: var(--c-text); border-color: var(--c-text); }
.testi-nav:active { transform: scale(0.92); }
.testi-nav .material-symbols-rounded { font-size: 20px; }

/* Punkte */
.testi-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}
.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: var(--c-border2);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.testi-dot.active {
  background: var(--c-lime-dark);
  transform: scale(1.3);
}

/* ============================================================
   ÜBER MICH  (als angeschnittener Mini-Hero mitten auf der Seite)
   Nutzt die .mini-hero-Struktur. Hier nur die Abweichungen zur
   Verwendung als eigenständige Hero-Sektion: kein Nav-Abstand,
   normale Sektions-Abstände oben/unten.
   ============================================================ */
#ich.mini-hero {
  margin-top: 0;
  padding: 72px 0 80px;
}

/* Auf breiten Desktops: Text linksbündig am (am Viewport-Rand fixierten)
   Bild halten. Statt den 1100px-Container zu zentrieren – wodurch der Text ab
   ~1400px immer weiter nach rechts vom Bild wegrutscht – läuft der Container
   hier über die volle Breite und das Grid wird links ausgerichtet. Die linke
   (leere) Spalte ist nach oben gedeckelt, damit der Abstand zum Bild konstant
   bleibt. */
@media (min-width: 1100px) {
  #ich.mini-hero .container { max-width: none; }
  #ich .mini-hero-grid {
    grid-template-columns: clamp(320px, 34vw, 478px) minmax(0, 780px);
    justify-content: start;
  }
}

/* Mobil: Bild oben anschneiden – wie auf dem Desktop. Steht bewusst NACH der
   Basis-Regel oben, damit das padding-top:0 die per ID gesetzten Paddings
   (gleiche Spezifität) gewinnt. */
@media (max-width: 760px) {
  #ich.mini-hero { padding-top: 0; }
}

.ich-text p { margin-top: 1rem; }

.ich-quote {
  margin-top: 1.25rem;
  padding-left: 1.25rem;
  border-left: 4px solid var(--c-orange);
  font-style: italic;
  font-size: 18px;
  line-height: 1.5;
  color: var(--c-text);
}

.ich-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}
.ich-btns .btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1.5rem;
}

/* Zertifizierungs-Zeile in "Über mich" */
.ich-certs { margin-top: 1.75rem; }
.ich-certs-label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--c-text);
  margin-bottom: 0.6rem;
}
.ich-certs .tags { margin-top: 0; }
.tag-year { font-weight: 400; opacity: 0.65; margin-left: 5px; }
.tag {
  font-size: 14px;
  padding: 6px 15px;
  border-radius: 999px;
  font-weight: 600;
  border: 1.5px solid;
}
.tag-lime   { background: rgba(176, 230, 0, 0.10); border-color: rgba(176, 230, 0, 0.45); color: #4a7000; }
.tag-orange { background: rgba(255, 158, 43, 0.08); border-color: rgba(255, 158, 43, 0.35); color: #8a4e00; }
.tag-yellow { background: rgba(255, 240, 70, 0.12); border-color: rgba(200, 180, 0, 0.35);  color: #5a4800; }

/* ============================================================
   FAQ – aufklappbare Fragen (<details>/<summary>)
   ============================================================ */
#faq { background: var(--c-white); }
.faq-intro {
  max-width: 560px;
  margin-top: 0.5rem;
}
.faq-list {
  max-width: 760px;
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.faq-item {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item[open] {
  border-color: rgba(176, 230, 0, 0.6);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  font-size: 16px;
  font-weight: 600;
  color: var(--c-text);
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--c-lime-dark); }
.faq-icon {
  flex-shrink: 0;
  font-size: 22px;
  color: var(--c-lime-dark);
  transition: transform 0.25s;
}
.faq-item[open] .faq-icon { transform: rotate(135deg); }
.faq-answer {
  padding: 0 1.35rem 1.25rem;
}
.faq-answer p {
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.7;
  margin: 0;
}
.faq-answer p + p { margin-top: 0.85rem; }

/* ============================================================
   KONTAKT
   ============================================================ */
#kontakt {
  background: var(--c-bg);
  position: relative;      /* Bezug für die Deko-Pinselstriche */
  overflow: hidden;        /* schneidet die Striche am Rand ab (kein H-Scroll) */
}
.kontakt-inner {
  position: relative;
  z-index: 2;              /* Inhalt liegt über der Deko */
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

/* Dekorative Pinselstriche in den unteren Ecken.
   Negatives bottom: die Striche laufen nach unten aus der Sektion heraus und
   werden durch #kontakt overflow:hidden an der Kante zum Footer abgeschnitten. */
.kontakt-deco {
  position: absolute;
  bottom: -70px;
  z-index: 1;
  width: clamp(220px, 34vw, 540px);
  height: auto;
  pointer-events: none;
  user-select: none;
}
.kontakt-deco-left  { left: 0; }
.kontakt-deco-right { right: 0; }
/* Auf Desktop die Striche stärker nach unten ziehen = mehr Anschnitt unten */
@media (min-width: 861px) {
  .kontakt-deco { bottom: -150px; }
}
/* "Kontakt"-Label etwas größer als die übrigen Section-Labels */
#kontakt .section-label { font-size: 14px; }
/* Überschrift "Lass uns sprechen." in Oswald (wie die Hero-Headline) */
#kontakt h2 { font-family: var(--font-display); }
.kontakt-intro {
  font-size: 18px;
  margin-bottom: 2.5rem;
}
.kontakt-options {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.kontakt-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 2rem 2.25rem;
  text-align: left;
  flex: 1;
  min-width: 240px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.kontakt-card h3 { color: var(--c-text); font-size: 16px; font-weight: 600; margin-bottom: 0.5rem; }
.kontakt-card p  { font-size: 14px; margin-bottom: 1.25rem; }

/* E-Mail + Telefon untereinander in der kombinierten Box – gleiche Breite */
.kontakt-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.6rem;
}
.kontakt-actions .btn {
  justify-content: center;
  text-align: center;
  line-height: 1.3;
  white-space: nowrap;
}

/* Sanftes Einblenden der Telefonnummer nach dem Klick */
@keyframes phoneIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.phone-revealed { animation: phoneIn 0.35s ease both; }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--c-text);
  padding: 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
  gap: 2rem;
}

.footer-logo {
  height: 20px;
  width: auto;
  display: block;
  margin-bottom: 0.4rem;
}

.footer-role {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin: 0;
}

.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
}
.footer-name {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  margin: 0 0 0.1rem;
}
.footer-address {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin: 0 0 0.45rem;
}
.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.footer-email:hover { color: var(--c-white); }
.footer-email svg { width: 14px; height: 14px; flex-shrink: 0; }

.footer-divider {
  color: rgba(255,255,255,0.25);
  font-size: 13px;
  line-height: 1;
}

.footer-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.footer-linkedin:hover { color: var(--c-white); }
.footer-linkedin svg { width: 14px; height: 14px; flex-shrink: 0; }

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
}
.footer-copy-text {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  margin: 0;
}
.footer-legal {
  display: flex;
  gap: 1rem;
}
.footer-legal a {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--c-white); }

/* ============================================================
   IMPRESSUM & DATENSCHUTZ
   ============================================================ */
.impressum-page {
  padding: calc(var(--nav-height) + 2rem) 0 4rem;
}
.impressum-inner {
  max-width: 680px;
}
.impressum-inner h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 0.3rem;
}
.impressum-law {
  font-size: 14px;
  color: var(--c-muted2);
  margin-bottom: 2rem;
}
/* Mehr Abstand nach der H1, wenn direkt die Callout-Box folgt (Datenschutz) */
.impressum-inner h1 + .ds-callout { margin-top: 1.6rem; }
.impressum-block {
  padding: 0;
  margin-bottom: 1.6rem;
}
.impressum-block:last-child {
  margin-bottom: 0;
}
.impressum-block h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--c-text);
}
.impressum-block p {
  font-size: 15px;
  color: var(--c-muted);
  line-height: 1.65;
  margin-bottom: 0.35rem;
}
.impressum-block p:last-child { margin-bottom: 0; }
.impressum-block a {
  color: var(--c-text);
  text-decoration: underline;
  text-decoration-color: var(--c-border2);
  transition: color 0.2s;
}
.impressum-block a:hover { color: var(--c-orange); }
.impressum-phone-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

/* Kontaktzeile: Label oben, Wert/Button darunter */
.ds-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  margin-top: 0.9rem;
}
.ds-contact:first-of-type { margin-top: 0.5rem; }
.ds-contact-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text);
}
.ds-contact a {
  font-size: 15px;
  color: var(--c-text);
  text-decoration: underline;
  text-decoration-color: var(--c-border2);
  transition: color 0.2s;
}
.ds-contact a:hover { color: var(--c-orange); }

/* Button-Links (z. B. angezeigte Telefonnummer) wie auf der Startseite:
   keine Unterstreichung, kein Orange – grauer Hover-Hintergrund vom btn-outline */
.impressum-block .btn,
.impressum-block .btn:hover {
  text-decoration: none;
  color: var(--c-text);
}

/* Einleitender Lead-Text (Datenschutz) */
.ds-lead {
  font-size: 16px !important;
  color: var(--c-text) !important;
  line-height: 1.7 !important;
  margin-bottom: 1.5rem !important;
}

/* Hervorgehobene "Das Wesentliche"-Box */
.ds-callout {
  background: var(--c-bg2);
  border-left: 3px solid var(--c-orange);
  border-radius: 4px;
  padding: 1.1rem 1.3rem;
  margin-bottom: 2.25rem;
}
.ds-callout .ds-callout-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--c-text);
  margin-bottom: 0.35rem;
}
.ds-callout p { font-size: 15px; line-height: 1.65; }

/* Untergliederung innerhalb einer Sektion (z. B. "Kontaktaufnahme per E-Mail.") */
.ds-item { margin-top: 1.1rem; }
.ds-item:first-of-type { margin-top: 0; }
.ds-item > p:first-child strong { color: var(--c-text); }

/* Meta-Zeilen: Zweck / Rechtsgrundlage / Speicherdauer */
.ds-meta {
  list-style: none;
  margin: 0.45rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.ds-meta li {
  font-size: 15px;
  color: var(--c-muted);
  line-height: 1.65;
  padding-left: 1.1rem;
  position: relative;
}
.ds-meta li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-muted2);
}
.ds-meta li strong { color: var(--c-text); font-weight: 600; }

/* Aufzählungen (Was nicht passiert / Ihre Rechte) */
.ds-list {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.ds-list li {
  font-size: 15px;
  color: var(--c-muted);
  line-height: 1.65;
  padding-left: 1.2rem;
  position: relative;
}
.ds-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-muted2);
}
.ds-list.ds-list-cross li {
  padding-left: 1.5rem;
}
.ds-list.ds-list-cross li::before {
  background: none;
  content: '×';
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  color: var(--c-orange);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .faq-item summary { font-size: 15px; }
  .testi-quote { font-size: 15px; }
}

/* Mobil: nur eine Stimme gleichzeitig */
@media (max-width: 700px) {
  .testi-card { flex-basis: 100%; padding: 1.75rem 1.5rem; }
}

/* Kennzahlen-Balken: auf Tablet/Handy 2x2 statt 4 nebeneinander */
@media (max-width: 680px) {
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem 1rem;
  }
}

/* Hero einspaltig: zuerst Bild, dann Text – ab Tablet-Breite */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  /* Bild unter den Text, mittig, kompakt – liegt auf dem schwarzen Trenner auf */
  .hero-media { max-width: 380px; margin: 0 auto; }
  .hero-media img { height: auto; width: 100%; max-width: 100%; }
  .hero-text { padding-bottom: 0; }
  .hero-sub { max-width: none; }
}

@media (max-width: 768px) {
  section { padding: 70px 0; }
  #hero { padding-top: calc(var(--nav-height) + 32px); padding-bottom: 70px; }

  .ueber-grid,
  .ich-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .leistungen-grid { grid-template-columns: 1fr; }
  .cluster-cards { grid-template-columns: 1fr; }
  .problem-grid { grid-template-columns: 1fr; }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
    padding-top: 2rem;
    padding-bottom: 1.5rem;
  }
  .footer-left { align-items: center; display: flex; flex-direction: column; }
  .footer-right { align-items: center; }
  .footer-right { order: 3; }
  .footer-center { order: 2; }
  .footer-left { order: 1; }
  .footer-contact-row { flex-wrap: wrap; justify-content: center; }
  .footer-copy-text { text-align: center; }
  .footer-legal { justify-content: center; }

}

/* ---- Smartphone & Tablet (einspaltiger Bereich); Desktop >860px unverändert ---- */
@media (max-width: 860px) {
  /* Header-Bild größer: läuft über die Container-Ränder bis an die
     Bildschirmkanten (negativer Rand hebt das Container-Padding auf). */
  .hero-media {
    max-width: none;
    margin-left: -2rem;
    margin-right: -2rem;
  }

  /* Footer-Pinselstriche größer */
  .kontakt-deco { width: 320px; }

  /* --- Navigation: Burger ab 860px, CTA rechts neben Burger --- */
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  /* CTA-Icon ausblenden; CTA per margin-left: auto an den rechten Rand schieben */
  .nav-cta svg { display: none; }
  .nav-inner { justify-content: flex-start; gap: 0.75rem; }
  .nav-cta { margin-left: auto; }

  /* Im aufgeklappten Menü keine Unterstreichung des aktiven Links */
  .nav-links.open a.active::after { display: none; }

  /* Aufgeklapptes Mobile-Menü */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(250, 250, 248, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--c-border);
    margin-left: 0;
    padding: 0.5rem 0;
  }
  .nav-links.open a {
    padding: 0.9rem 2rem;
    font-size: 16px;
    border-top: 1px solid var(--c-border);
  }
}

/* ---- Sehr kleine Bildschirme ≤360px: Logo + Nav komprimieren ---- */
@media (max-width: 360px) {
  .nav-logo img { height: 20px; }
  .nav-inner { padding: 0 1rem; gap: 0.5rem; }
  .nav-cta { padding: 8px 14px; font-size: 13px; }
}
