:root {
  /* dunkel, aber nicht zu dunkel */
  --bg: #17181b;
  --panel: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.12);

  --fg: #ffffff;
  --tt: #000000;
  --muted: rgba(255,255,255,0.74);

  --accent: rgb(5, 208, 245);

  /*14,237,211*/
  --radius: 22px;
  --shadow: 0 14px 40px rgba(0,0,0,0.32);
}

/* 1. REGISTRIERUNG DEINER KÄUFLICH ERWORBENEN SCHRIFTART */
@font-face {
  font-family: "Rocket Brush Standard";
  src: url("assets/fonts/rocket-brush-standard.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  overflow: hidden;
  font-family: "Rocket Brush Standard", -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--fg);
  background:
    radial-gradient(1100px 700px at 16% 18%, rgba(0, 183, 255, 0.35), transparent 55%),
    radial-gradient(900px 600px at 85% 35%, rgba(255,255,255,0.05), transparent 55%),
    var(--bg);
}

/* Topbar */
.topbar {
  position: fixed;
  top: 14px;
  left: 16px;
  right: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-end; /*space-between*/
  gap: 14px;
  pointer-events: none;
}

.brand, .nav { pointer-events: auto; }

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--tt);
  padding: 8px 10px;
  background: rgba(255,255,255,0.10);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.brand__logo {
  width: 36px;
  height: 36px;
  display: block;
}

.brand__text {
  font-weight: 650;
  letter-spacing: -0.01em;
  font-size: 14px;
  opacity: 0.95;
}

/* Nav (clean, round pills) */
.nav {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(20,20,23,0.55);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.nav__btn {
  appearance: none;
  border: 1px solid rgba(255,255,255,0.10);
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 999px;
  position: relative;
  color: var(--muted);
  background: rgba(255,255,255,0.04);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 13px;
  line-height: 1;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.nav__btn:hover {
  transform: translateY(-1px);
  color: var(--fg);
  border-color: rgba(0, 255, 255, 0.35);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

.nav__btn::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav__btn.active {
  color: var(--fg);
  background: rgba(0, 255, 255, 0.35);
  border-color: rgba(0, 183, 255, 0.35);
  box-shadow: 0 12px 28px rgba(0, 255, 255, 0.35);
}

.nav__btn.active::after {
  opacity: 0.9;
  transform: scaleX(1);
}

/* Horizontal container */
.wrap {
  height: 100vh;
  width: 100vw;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.wrap::-webkit-scrollbar { display: none; }

/* Panels */
.panel {
  flex: 0 0 100vw;
  height: 100vh;
  scroll-snap-align: start;
  display: grid;
  place-items: center;
  padding: 92px 24px 40px;
  position: relative;
}

.panel:nth-child(odd) {
  background: radial-gradient(900px 600px at 85% 30%, rgba(0, 183, 255, 0.35), transparent 55%);
}
.panel:nth-child(even) {
  background: radial-gradient(900px 600px at 15% 30%, rgba(255,255,255,0.05), transparent 55%);
}

.panel__inner {
  width: min(1080px, 92vw);
  padding: 44px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

h1, h2, .h {
  font-family: "Rocket Brush Standard", system-ui, sans-serif;
}

h1 {
  margin: 0 0 12px 0;
  font-size: clamp(34px, 4vw, 56px);
  letter-spacing: -0.02em;
}

.h {
  margin: 0 0 12px 0;
  font-size: clamp(28px, 3.2vw, 42px);
  letter-spacing: -0.02em;
}

.card h3,
.contact-block h3,
.hex-face--front h3,
h3 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.01em;
  /* NEU: Befreit die kompakten Karten-Titel von der Brush-Font für perfekte Lesbarkeit */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* 2. ANPASSUNG: FLIESSTEXTE ERHALTEN EINE CLEAN SERIFENLOSE SCHRIFT */
.lead, p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
  max-width: 85ch;
  /* Garantiert hervorragende Lesbarkeit im Kontrast zu den Headlines */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* CTA */
.cta {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  font-weight: 600;
  font-size: 14px;
  color: var(--fg);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: rgba(0, 183, 255, 0.35);
  border-color: rgba(0, 255, 255, 0.35);
  box-shadow: 0 14px 32px rgba(0, 183, 255, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 30px rgba(5, 208, 245, 0.6); /* Intensiver neon-türkiser Glow */
  background: rgba(12, 237, 215, 0.5);
}

.btn--ghost {
  background: rgba(255,255,255,0.04);
}

.mini {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.70);
  font-size: 13px;
}

/* simple blocks */
.stats {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}
.stat {
  padding: 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
}
.stat__num {
  font-size: 26px;
  font-weight: 750;
  letter-spacing: -0.01em;
}
.stat__txt {
  margin-top: 4px;
  font-size: 13px;
  color: rgba(255,255,255,0.70);
}

.two-col {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}
.card {
  padding: 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
}
.card h3 { margin: 0 0 8px 0; font-size: 16px; }
.card ul { margin: 0; padding-left: 18px; color: rgba(255,255,255,0.74); }
.card li { margin: 6px 0; }

.quotes {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}
.quote {
  margin: 0;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
}
.quote p { margin: 0; }
.quote footer {
  margin-top: 10px;
  color: rgba(255,255,255,0.60);
  font-size: 13px;
}

/* Contact */
.contact {
  margin-top: 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.contact__meta {
  display: grid;
  gap: 6px;
  color: rgba(255,255,255,0.70);
  font-size: 13px;
}
.k {
  display: inline-block;
  min-width: 70px;
  color: rgba(255,255,255,0.55);
}

.footerlinks {
  margin-top: 22px;
  display: flex;
  gap: 14px;
}
.link {
  color: rgba(255,255,255,0.70);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
.link:hover {
  color: var(--fg);
  border-bottom-color: rgba(0, 255, 255, 0.35);
}

/* --- Hexagon Flip Cards --- */
.hex-grid {
  margin-top: 20px;
  display: grid;
  gap: 16px;
}

.hex-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hex-grid--process { margin-top: 22px; }

@media (max-width: 980px) {
  .stats { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .hex-grid--3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 680px) {
  .hex-grid--3 { grid-template-columns: 1fr; }
  .panel__inner { padding: 34px; }
  .nav { display: none; }
}

/* Hex flip container */
.hex-flip {
  height: 165px;
  perspective: 1100px;
  perspective-origin: 50% 40%;
  outline: none;
}

.hex-flip__inner {
  height: 100%;
  width: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 430ms cubic-bezier(.2,.8,.2,1);
}

.hex-flip:hover .hex-flip__inner,
.hex-flip:focus .hex-flip__inner,
.hex-flip:focus-visible .hex-flip__inner {
  transform: rotateX(180deg);
}

/* Hex faces */
.hex-face {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.045);
  border: 2px solid rgba(255,255,255,0.16);
  box-shadow: 0 10px 26px rgba(0,0,0,0.22);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.hex-flip:hover .hex-face,
.hex-flip:focus .hex-face,
.hex-flip:focus-visible .hex-face {
  border-color: rgba(0, 255, 255, 0.35);
  box-shadow: 0 14px 32px rgba(0, 183, 255, 0.35);
}

/* Feinjustierung für die Größe im hexagonalen Raster */
.hex-face--front h3 {
  font-size: 17px;
  margin-bottom: 4px;
}

.hex-face--front p,
.hex-face--back p {
  font-size: 14px;
}

.hex-face--front p {
  margin: 0;
  font-size: 15px;
  color: rgba(255,255,255,0.72);
}

.hex-face--back {
  transform: rotateX(180deg);
  background: rgba(0, 183, 255, 0.35);
}
.hex-face--back h4 {
  margin: 0;
  margin-bottom: 6px;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
}
.hex-face--back p {
  margin: 0;
  font-size: 15px;
  color: rgba(255,255,255,0.76);
}

.hex-face::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    repeating-linear-gradient(
      60deg,
      rgba(0, 183, 255, 0.35) 0,
      rgba(0, 183, 255, 0.35) 1px,
      transparent 1px,
      transparent 14px
    ),
    repeating-linear-gradient(
      -60deg,
      rgba(0, 183, 255, 0.35) 0,
      rgba(0, 183, 255, 0.35) 1px,
      transparent 1px,
      transparent 14px
    );
  opacity: 0;
  transition: opacity 220ms ease;
}

.hex-flip:hover .hex-face::before,
.hex-flip:focus .hex-face::before,
.hex-flip:focus-visible .hex-face::before {
  opacity: 0.35;
}

.hex-face > * {
  position: relative;
  z-index: 1;
}

/* --- HERO Start-Sektion (ohne panel__inner) --- */
.panel--hero {
  padding: 92px 24px 40px;
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.panel--hero .brand__logo {
  opacity: 0;
  transform: translateY(40px); /* Startet 40px weiter unten */
  filter: blur(4px);
  transition: opacity 600ms ease, transform 600ms ease, filter 600ms ease;
  transition-delay: 350ms; /* Kommt kurz nach den Wörtern "Einfach. Anders. Machen." */
}

/* Zustand, wenn die Sektion aktiv wird */
.panel.is-active .brand__logo {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* HIER DEIN STARTBILD EINTRAGEN */
  background-image: url("assets/images/start_bild.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  transform: scale(1.02);
}

.panel--hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0.10), rgba(0,0,0,0.35));
  pointer-events: none;
}

/* 1. ANPASSUNG: MEHR ABSTAND ZWISCHEN DEN WÖRTERN IM HERO */
.hero-words {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 48px; /* Deutlich vergrößerte Lücke zwischen den Spans */
  text-align: center;
  flex-wrap: wrap;
}

.hero-words--lift {
  margin-top: 10px;
}

.hero-word {
  font-weight: 850;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1;
  /* Subtiler Abstand auch innerhalb der Buchstaben, falls nötig */
  letter-spacing: 0.03em; 
  opacity: 0;
  transform: translateY(10px);
  filter: blur(4px);
  transition: opacity 520ms ease, transform 520ms ease, filter 520ms ease;
}

.hero-word--accent { color: var(--accent); }

/* Corner Block: rechts unten */
.hero-corner {
  position: absolute;
  right: 22px;
  bottom: 18px;
  z-index: 2;
  max-width: min(420px, 86vw);
}

.hero-corner__inner {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(20,20,23,0.55);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.28);
  opacity: 0;
  transform: translateY(10px);
  filter: blur(4px);
  transition: opacity 520ms ease, transform 520ms ease, filter 520ms ease;
}

.hero-corner__kicker {
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.70);
  margin-bottom: 6px;
}

.panel.is-active .hero-word {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.panel.is-active .hero-word:nth-child(1) { transition-delay: 0ms; }
.panel.is-active .hero-word:nth-child(2) { transition-delay: 110ms; }
.panel.is-active .hero-word:nth-child(3) { transition-delay: 220ms; }

.panel.is-active .hero-corner__inner {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition-delay: 260ms;
}

/* --- Über mich --- */
.panel--about {
  place-items: center start;
  padding: 92px 24px 40px;
  overflow: hidden;
}

.about-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* HIER DEIN FRONTBALBILD EINTRAGEN */
  background-image: url("assets/images/ueber_mich.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.panel__inner--left {
  position: relative;
  z-index: 2;
  margin-right: auto;
  width: min(560px, 92vw);
  margin-left: 2vw;
}

@media (min-width: 1100px) {
  .panel__inner--left {
    width: 50vw;
    max-width: 620px;
    margin-left: 3vw;
  }
}


.panel--why::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  
  /* HIER DEIN BAUSTELLEN-BILD EINTRAGEN */
  background-image: url("assets/images/worum_geht_bild.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  
}

/* --- Worum geht es? --- */
.panel--why .panel__inner {
  position: relative;
  padding-bottom: 240px; /* Von 140px hochgesetzt für massig Sicherheitsabstand */
  min-height: 350px;
}

.ticker-area {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  width: min(980px, 92%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}

@media (max-width: 860px) {
  .ticker-area {
    grid-template-columns: 1fr;
    bottom: 18px;
  }
  .panel--why .panel__inner { padding-bottom: 220px; }
}

.ticker-box {
  padding: 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 14px 34px rgba(0,0,0,0.22);
  backdrop-filter: blur(10px);
  min-height: 110px;
  display: grid;
  align-content: center;
  gap: 6px;
  position: relative;
  overflow: hidden;
}

.ticker-box::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 2px;
  border-radius: 2px;
  background: rgba(0, 255, 255, 0.35);
  opacity: 0.65;
}

.ticker-title {
  font-weight: 750;
  letter-spacing: -0.01em;
  font-size: 18px;
  color: rgba(255,255,255,0.92);
  /* NEU: Cleane, hochgradig lesbare Schrift für den schnellen Ticker-Wechsel */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.ticker-text {
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255,255,255,0.74);
  /* Ticker Beschreibungen ebenfalls für Lesbarkeit clean halten */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.ticker-box.is-fading .ticker-title,
.ticker-box.is-fading .ticker-text {
  opacity: 0;
  transform: translateY(6px);
  filter: blur(3px);
}

.ticker-title,
.ticker-text {
  transition: opacity 360ms ease, transform 360ms ease, filter 360ms ease;
}

/* --- Wie arbeite ich? --- */
.panel--work {
  place-items: center end;
  padding: 92px 24px 40px;
  overflow: hidden;
}

.work-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("assets/images/wie_ich_arbeite_bild.webp");
  background-size: cover;
  background-position: center 35%; /* Zentriert das Bild leicht nach oben versetzt */
  background-repeat: no-repeat;
}

.panel__inner--right {
  position: relative;
  z-index: 2;
  margin-left: auto;
  width: min(560px, 92vw);
  margin-right: 2vw;
}

@media (min-width: 1100px) {
  .panel__inner--right {
    width: 50vw;
    max-width: 620px;
    margin-right: 3vw;
  }
}

.ticker-area--single {
  position: static;
  transform: none;
  width: 100%;
  margin-top: 16px;
  display: block;
}

/* --- Erzielte Mehrwerte --- */
.hex-face--front h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.hex-face--front p {
  font-size: 13px;
  line-height: 1.35;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.hex-face--back h4 {
  font-size: 12px;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.hex-face--back p {
  font-size: 13px;
  line-height: 1.4;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* --- Kontakt --- */
.panel--contact { place-items: center; }
.panel__inner--contact { width: min(900px, 92vw); }

.contact-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-block {
  padding: 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 14px 34px rgba(0,0,0,0.22);
}

.contact-block h3 {
  margin: 0 0 6px 0;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.contact-block p {
  margin: 0 0 10px 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255,255,255,0.74);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.contact-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 255, 255, 0.35);
}

.contact-link:hover { border-bottom-color: rgba(12, 237, 215); }

/* --- Modal --- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
}

.modal.is-open { display: block; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(860px, 92vw);
  max-height: min(78vh, 720px);
  margin: 10vh auto 0;
  padding: 18px 18px 16px;
  background: rgba(20,20,23,0.92);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}

.modal__title {
  margin: 0 0 12px 0;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.modal__content {
  max-height: calc(min(78vh, 720px) - 72px);
  overflow: auto;
  padding-right: 6px;
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  line-height: 1.55;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.modal__content hr {
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  margin: 18px 0;
}

.modal__close {
  position: absolute;
  right: 12px;
  top: 10px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.88);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.modal__close:hover { border-color: rgba(255,138,0,0.45); }

#prozess {
  background: 
    linear-gradient(180deg, rgba(23, 24, 27, 0.60), rgba(23, 24, 27, 0.85)),
    url("assets/images/erzielte_mehrwerte.webp") center center / cover no-repeat !important;
}

/* --- 6. STIMMEN HINTERGRUND --- */
#stimmen {
  background: 
    linear-gradient(180deg, rgba(23, 24, 27, 0.55), rgba(23, 24, 27, 0.80)),
    url("assets/images/stimmen_bild.webp") center top / 85% no-repeat !important;
}

/* --- 7. KONTAKT HINTERGRUND --- */
#kontakt {
  background: 
    linear-gradient(180deg, rgba(23, 24, 27, 0.50), rgba(23, 24, 27, 0.85)),
    url("assets/images/kontakt_bild.webp") center center / cover no-repeat !important;
}

.hero-center-logo {
  position: relative;
  z-index: 2;
  
  /* NEU: Der Container selbst wird groß gemacht, nicht das Bild. 
     500px auf dem Desktop, maximal 85% der Bildschirmbreite auf dem iPad */
  width: min(500px, 85vw) !important; 
  margin: auto !important; /* Das zwingt den Riesen-Container exakt in die Mitte */
  
  /* Deine Animationen */
  opacity: 0;
  filter: blur(6px);
  transform: translateY(30px);
  transition: opacity 700ms ease, transform 700ms ease, filter 700ms ease;
  transition-delay: 350ms;
}

/* Das Bild füllt den großen Container jetzt einfach sauber aus */
.hero-center-logo img {
  width: 100% !important; /* Bleibt bei 100%, um nicht auszubrechen */
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Auslöser, wenn die Sektion aktiv wird */
.panel.is-active .hero-center-logo {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Kicker über den Badges */
.badges-kicker {
  color: rgba(255,255,255,0.4); 
  font-size: 11px; 
  letter-spacing: 0.05em; 
  text-transform: uppercase; 
  display: block; 
  margin-bottom: 10px;
}

/* Container, der die Badges nebeneinander anordnet */
.badges-wrapper {
  display: flex;
  align-items: center;
  gap: 16px; /* Abstand zwischen den einzelnen Grafiken */
  flex-wrap: wrap; /* Zeilenumbruch, falls der Bildschirm zu klein wird */
}

/* Einheitliche Skalierung für deine Zertifikate */
.badge-img {
  height: 75px; /* Das ist der magische Hebel: Alle Bilder werden exakt gleich hoch gezogen */
  width: auto;  /* Die Breite passt sich automatisch ohne Verzerrung an */
  filter: grayscale(20%) brightness(95%); /* Passt bunte Badges dezent an den edlen, dunklen Seiten-Vibe an */
  transition: transform 200ms ease, filter 200ms ease;
}

/* Kleiner digitaler Effekt beim Drüberfahren */
.badge-img:hover {
  transform: scale(1.05);
  filter: grayscale(0%) brightness(100%); /* Bei Hover strahlt das Original-Zertifikat */
}

/* Der Container braucht "relative", damit der Tooltip weiß, wo er andocken muss */
.badge-container {
  position: relative;
  display: inline-block;
}

/* Der unsichtbare Standard-Zustand des Tooltips */
.tooltip-text {
  position: absolute;
  bottom: 125%; /* Platziert den Tooltip exakt über dem Badge */
  left: 50%;
  transform: translateX(-50%) translateY(5px); /* Leicht nach unten versetzt für den Einblend-Effekt */
  
  /* Styling der Tooltip-Box – passend zum dunklen, edlen Tech-Vibe */
  background: rgba(20, 20, 23, 0.95);
  color: #ffffff;
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 500;
  white-space: nowrap; /* Verhindert ungewollte Zeilenumbrüche */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 10;
  
  /* Sanfter Einblend-Effekt */
  opacity: 0;
  pointer-events: none; /* Verhindert, dass der Tooltip beim Scrollen stört */
  transition: opacity 200ms ease, transform 200ms ease;
}

/* Kleiner Pfeil nach unten, der auf das Badge zeigt */
.tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: rgba(20, 20, 23, 0.95) transparent transparent transparent;
}

/* Aktivierung bei Hover */
.badge-container:hover .tooltip-text {
  opacity: 1;
  transform: translateX(-50%) translateY(0); /* Bewegt sich geschmeidig an seine finale Position */
}

/* ==========================================================================
   MOBILE RESPONSIVENESS (Für Smartphones und kleine Tablets)
   ========================================================================== */
@media (max-width: 767px) {
 .hero-center-logo {
    /* Mobil schrumpfen wir den Container wieder auf ein gesundes Maß, 
       damit er das kleine Display nicht sprengt */
    width: min(220px, 65vw) !important; 
  }
 

  
  /* 1. STARTSEITE: Logo-Skalierung korrigieren */
  .hero-center-logo img {
    width: min(160px, 60vw) !important; /* Verhindert das Sprengen des Bildschirms */
    top: 50% !important;
  }
  
  /* 2. WORUM GEHT ES: Textbox-Überlagerung fixen */
  .panel--why .panel__inner {
    padding-bottom: 20px !important; /* Wir nehmen das Desktop-Padding weg */
    min-height: auto !important;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  /* Ticker-Bereich aus der absoluten Positionierung befreien */
  .panel--why .ticker-area {
    position: static !important; /* Schiebt die Boxen sauber IM Flow unter den Text */
    transform: none !important;
    width: 100% !important;
    margin-top: 16px;
    grid-template-columns: 1fr !important; /* Untereinander statt nebeneinander */
  }

  /* 3. FLIPBOXEN (MEHRWERTE) vertikal scrollbar machen */
  #prozess {
    height: auto !important; /* Hebelt die starre Fullscreen-Höhe aus */
    min-height: 100vh; /* Garantiert, dass es mindestens den Bildschirm füllt */
    place-items: start center !important;
    overflow-y: visible !important; /* Kein verstecktes Abschneiden mehr */
    padding-top: 100px !important; /* Platz für die fixierte Topbar */
    padding-bottom: 60px !important; /* Schafft unten Luft zum Atmen vor der nächsten Sektion */
  }

  #prozess .panel__inner {
    height: auto !important;
    width: min(1080px, 92vw) !important;
    padding: 24px 16px !important; /* Kompakteres Innenmaß für mobile Geräte */
    background: var(--panel);
    box-shadow: none !important; /* Spart Performance beim vertikalen Scrollen */
  }

  /* Der Grid-Container wird von 3 auf 1 Spalte für Handys umgestellt */
  #prozess .hex-grid--3 {
    grid-template-columns: 1fr !important; 
    gap: 16px !important;
    margin-top: 20px !important;
  }

  /* Die Flipboxen erhalten eine feste, gut lesbare Höhe auf dem Smartphone */
  #prozess .hex-flip {
    height: 140px !important; /* Etwas flacher, damit man mehr auf einmal sieht */
  }

  /* 4. STIMMEN vertikal scrollbar machen */
  #stimmen {
    place-items: start center !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    padding-top: 100px !important;
  }

  #stimmen .panel__inner {
    height: auto !important;
    margin-bottom: 40px;
  }

  #stimmen .quotes {
    grid-template-columns: 1fr !important; /* Zitate untereinander */
  }

  /* 5. KONTAKT ("UND JETZT?") vertikal scrollbar machen */
  #kontakt {
    place-items: start center !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    padding-top: 100px !important;
  }

  #kontakt .panel__inner--contact {
    height: auto !important;
    margin-bottom: 40px;
  }

  #kontakt .contact-grid {
    grid-template-columns: 1fr !important; /* LinkedIn, Impressum, Datenschutz untereinander */
  }

  @media (max-width: 380px) {
  .hero-center-logo {
    width: 110px !important; /* Macht das Logo auf dem SE kompakt, damit Platz für den Text bleibt */
  }
  
  .hero-words {
    gap: 20px !important; /* Schiebt "Einfach. Anders. Machen." enger zusammen */
  }
  
  .hero-word {
    font-size: 32px !important; /* Verhindert hässliche Zeilenumbrüche bei den Hauptwörtern */
  }
}
}
@media (max-width: 380px) {
  .hero-center-logo {
    /* Spezieller Schutz für das winzige iPhone SE */
    width: 160px !important; 
  }
  .hero-words {
    gap: 14px !important;
  }
  .hero-word {
    font-size: 30px !important;
  }
  .panel--why .panel__inner {
    padding: 20px 16px !important; /* Weniger Luft zu den Rändern */
    padding-bottom: 10px !important;
  }

  /* Die Überschrift "Worum geht es?" etwas verkleinern */
  .panel--why .h {
    font-size: 22px !important;
    margin-bottom: 8px !important;
  }

  /* Der Lead-Text ("Hand aufs Herz...") wird kleiner und enger im Zeilenabstand */
  .panel--why .lead {
    font-size: 15px !important;
    line-height: 1.4 !important;
  }

  /* Ticker-Bereich: Abstände zwischen den Boxen verringern */
  .panel--why .ticker-area {
    margin-top: 12px !important;
    gap: 8px !important;
  }

  /* Die einzelnen Tickerboxen kompakter bauen */
  .panel--why .ticker-box {
    padding: 12px !important;
    min-height: auto !important; /* Die Box wächst nur so weit, wie der Text es braucht */
    gap: 4px !important;
  }

  /* Ticker-Überschrift (z.B. "Slowmotion") schrumpfen */
  .panel--why .ticker-title {
    font-size: 15px !important;
  }

  /* Ticker-Beschreibungstext schrumpfen */
  .panel--why .ticker-text {
    font-size: 12px !important;
    line-height: 1.35 !important;
  }

  .panel--about {
    padding-top: 80px !important; /* Etwas weiter hochschieben */
  }

  .panel--about .panel__inner--left {
    padding: 20px 16px !important; /* Kompakterer Kasten */
    width: 100% !important;
    margin-left: 0 !important;
  }

  /* Die Überschrift "Über mich" anpassen */
  .panel--about .h {
    font-size: 22px !important;
    margin-bottom: 8px !important;
  }

  /* Die beiden Absätze verkleinern und den Abstand dazwischen reduzieren */
  .panel--about .lead {
    font-size: 14px !important; /* Minimal kleiner für die nötige Höhe */
    line-height: 1.4 !important;
  }

  /* Den oberen Abstand des zweiten Absatzes verringern */
  .panel--about .lead[style*="margin-top"] {
    margin-top: 8px !important; 
  }

  /* Den Badge-Bereich kompakter anbinden */
  .mini-badges {
    margin-top: 14px !important; /* Luft nach oben halbieren */
    padding-top: 10px !important;
  }

  .badges-kicker {
    margin-bottom: 6px !important;
  }

  /* Die Badges selbst minimal verkleinern, damit sie nicht stauchen */
  .badge-img {
    height: 36px !important; /* Von 45px runtergesetzt – das spart massig vertikalen
  #stimmen {
    padding-top: 80px !important; /* Weiter nach oben für mehr Platz */
  }

  #stimmen .panel__inner {
    padding: 20px 16px !important;
  }

  #stimmen .h {
    font-size: 22px !important;
    margin-bottom: 8px !important;
  }

  #stimmen .lead {
    font-size: 14px !important;
    line-height: 1.4 !important;
    margin-bottom: 12px !important;
  }

  #stimmen .quotes {
    gap: 10px !important; /* Engerer Abstand zwischen den Zitaten */
  }

  #stimmen .quote {
    padding: 12px !important;
  }

  #stimmen .quote p {
    font-size: 13px !important;
    line-height: 1.4 !important;
  }

  #stimmen .quote footer {
    margin-top: 6px !important;
    font-size: 11px !important;
  }


  /* --- 5. KONTAKT / UND JETZT? (Kompakt-Modus für iPhone SE) --- */
  #kontakt {
    padding-top: 80px !important;
  }

  #kontakt .panel__inner--contact {
    padding: 20px 16px !important;
  }

  #kontakt .h {
    font-size: 22px !important;
    margin-bottom: 8px !important;
  }

  #kontakt .lead {
    font-size: 14px !important;
    line-height: 1.4 !important;
  }

  #kontakt .contact-grid {
    margin-top: 14px !important;
    gap: 10px !important;
  }

  #kontakt .contact-block {
    padding: 12px !important;
  }

  #kontakt .contact-block h3 {
    font-size: 15px !important;
    margin-bottom: 4px !important;
  }

  #kontakt .contact-block p {
    font-size: 12px !important;
    line-height: 1.4 !important;
    margin-bottom: 8px !important;
  }

  #kontakt .contact-link {
    font-size: 12px !important;
  }

  #prozess .h {
      font-size: 22px !important;
      margin-bottom: 6px !important;
    }
    #prozess .lead {
      font-size: 14px !important;
      line-height: 1.4 !important;
    }
    #prozess .hex-face h3 {
      font-size: 15px !important;
    }
    #prozess .hex-face p {
      font-size: 12px !important;
      line-height: 1.3 !important;
    }
}