/*
 * Roundhouse Systems – Stylesheet
 * ------------------------------------------------------------------
 * Ein Stylesheet für die ganze öffentliche Website (Startseite, Über mich,
 * Privatkunden, Rechtliches). Strikte CSP: keine Inline-Styles – alle
 * elementbezogenen Werte (Positionen, Breiten, Verzögerungen, Markenfarben)
 * sind als Modifier-Klassen hinterlegt.
 *
 *  1. Schriften (selbst gehostet, SIL OFL – siehe /assets/fonts/OFL.txt)
 *  2. Design-Tokens
 *  3. Basis & Hilfsklassen
 *  4. Header, Navigation, Zielgruppen-Schalter
 *  5. Buttons & Links
 *  6. Sections, Überschriften, Raster
 *  7. Hero (Startseite) & Drehscheibe
 *  8. Terminal, Laufband
 *  9. Karten (Probleme, Leistungen, Referenzen …) & Mini-Visuals
 * 10. Tools (Tabs + Produkt-Mockups)
 * 11. Prostly
 * 12. Kontakt & Formulare
 * 13. Über mich
 * 14. Privatkunden
 * 15. Rechtstexte (.prose), Status-Seiten, Hinweise
 * 16. Footer
 * 17. Scroll-Reveal
 * 18. Keyframes
 * 19. Responsive
 * 20. Reduzierte Bewegung
 */

/* ------------------------------------------------------------------
 * 1. Schriften
 * ---------------------------------------------------------------- */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('../fonts/unbounded-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('../fonts/unbounded-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/instrument-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/instrument-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ------------------------------------------------------------------
 * 2. Design-Tokens
 * ---------------------------------------------------------------- */
:root {
  /* Flächen */
  --bg: #0B0D11;
  --bg-band: #0E1015;
  --surface: #12151B;
  --surface-2: #161A21;
  --surface-3: #1B2029;
  --surface-active: #232833;

  /* Linien */
  --line-1: #1A1E25;
  --line-2: #20252E;
  --line-3: #252A34;
  --line-4: #2C323D;
  --line-5: #343B47;
  --line-hover: #3A414E;
  --line-header: #1C2028;

  /* Text */
  --text: #EEF0F4;
  --text-2: #C9CED7;
  --text-3: #A7AFBC;
  --text-4: #7C8594;
  --text-white: #FFFFFF;

  /* Akzent */
  --accent: #FF8A3D;
  --accent-hover: #FFB27A;
  --accent-soft: rgba(255, 138, 61, 0.12);   /* #FF8A3D1F */
  --accent-line: rgba(255, 138, 61, 0.35);   /* #FF8A3D59 */
  --on-accent: #140A03;

  /* Status */
  --green: #4ADE80;
  --green-soft: #123B2A;
  --danger: #F87171;
  --danger-text: #FCA5A5;
  --danger-soft: rgba(248, 113, 113, 0.08);
  --danger-line: rgba(248, 113, 113, 0.45);

  /* Prostly */
  --violet: #9B7BFF;
  --violet-bg: #0A0814;
  --violet-line: #2A2348;
  --violet-text: #C3BCDF;
  --violet-muted: #A79ED4;
  --gold: #E9C46A;

  /* Typografie */
  --font-display: 'Unbounded', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(56px, 6vw, 88px);
  --header-offset: 84px;

  /* Radien & Schatten */
  --radius-card: 20px;
  --radius-panel: 28px;
  --shadow-float: 0 24px 48px -24px rgba(0, 0, 0, 0.8);
  --shadow-mock: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}

/* ------------------------------------------------------------------
 * 3. Basis & Hilfsklassen
 * ---------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
  color-scheme: dark;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote {
  margin: 0;
}

h1, h2, h3, h4 {
  overflow-wrap: break-word;
  hyphens: manual;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

svg {
  flex-shrink: 0;
}

a {
  color: var(--accent);
}
a:hover {
  color: var(--accent-hover);
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--accent);
  color: var(--on-accent);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: clip;
}

.site-main {
  flex: 1 0 auto;
}
.site-main:focus {
  outline: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: none;
  color: var(--on-accent);
}

/* Icons (ui_icon) */
.icon {
  display: inline-block;
  vertical-align: middle;
}
.icon--accent { color: var(--accent); }
.icon--green { color: var(--green); }
.icon--muted { color: var(--text-4); }

.text-accent { color: var(--accent); }
.text-green { color: var(--green); }
.text-muted { color: var(--text-3); }

/* Pulsierender Punkt (Ping) – Farbe per Modifier */
.ping {
  --ping: var(--accent);
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
}
.ping::before,
.ping::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--ping);
}
.ping::before {
  animation: rh-ping 2.2s ease-out infinite;
}
.ping--green { --ping: var(--green); }
.ping--gold { --ping: var(--gold); }
.ping--blue { --ping: #4FA3FF; }
.ping--fast::before { animation-duration: 2s; }

/* Kleiner Status-Punkt */
.dot {
  display: inline-block;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.dot--green { background: var(--green); }
.dot--amber { background: #E9B949; }
.dot--grey { background: #9BA1AD; }
.dot--sm { width: 7px; height: 7px; }

/* ------------------------------------------------------------------
 * 4. Header, Navigation, Zielgruppen-Schalter
 * ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 13, 17, 0.84);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-header);
}

.site-header__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: 14px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}
.brand:hover {
  color: var(--text);
}
.brand__mark {
  width: 38px;
  height: 38px;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.brand__sub {
  margin-top: 5px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.34em;
  color: var(--text-3);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid var(--line-3);
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.nav-toggle:hover {
  border-color: var(--line-hover);
}
.nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 14px;
}
.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6px; }
.nav-toggle__bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

.site-menu {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 24px;
  margin-inline: auto;
  font-size: 15px;
  font-weight: 500;
}
.main-nav__link {
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s ease;
}
.main-nav__link:hover {
  color: var(--text-white);
}
.main-nav__link[aria-current="page"] {
  color: var(--text-white);
  box-shadow: inset 0 -2px 0 var(--accent);
}

.header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.audience-switch {
  display: flex;
  padding: 4px;
  border: 1px solid var(--line-3);
  border-radius: 999px;
  background: var(--surface);
  font-size: 14px;
  font-weight: 600;
}
.audience-switch__link {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.audience-switch__link:hover {
  color: var(--text-white);
}
.audience-switch__link[aria-current="page"] {
  background: var(--surface-active);
  color: var(--text);
}

/* ------------------------------------------------------------------
 * 5. Buttons & Links
 * ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  color: var(--text);
}
.btn:active {
  transform: translateY(0);
}
.btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
}
.btn--primary:hover {
  color: var(--on-accent);
}
.btn--secondary {
  background: var(--surface);
  border-color: var(--line-4);
  color: var(--text);
}
.btn--dark {
  background: var(--bg);
  border-color: var(--line-4);
  color: var(--text);
}
.btn--ghost {
  min-height: 44px;
  padding: 0 18px;
  background: transparent;
  border-color: var(--line-4);
  color: var(--text);
  font-size: 15px;
}
.btn--violet {
  background: var(--violet);
  border-color: var(--violet);
  color: var(--violet-bg);
  font-weight: 700;
}
.btn--violet:hover {
  color: var(--violet-bg);
}
.btn--sm {
  min-height: 44px;
  padding: 0 20px;
  font-size: 15px;
}
.btn--md {
  min-height: 48px;
  padding: 0 20px;
  font-size: 15px;
}
.btn--lg {
  min-height: 54px;
  padding: 0 26px;
}
.btn--block {
  display: flex;
  width: 100%;
}
.btn--self-start {
  align-self: flex-start;
}
.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  filter: none;
}
.btn[aria-busy="true"] {
  cursor: progress;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Textlink mit Pfeil (z. B. "Zum Mitgliederportal →", "Live ansehen ↗") */
.text-link {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}
.text-link .icon {
  color: var(--accent);
  transition: translate 0.2s ease;
}
.text-link:hover {
  color: var(--text-white);
}
.text-link:hover .icon {
  translate: 3px 0;
}
.text-link--lg {
  gap: 8px;
  font-size: 15px;
}

/* ------------------------------------------------------------------
 * 6. Sections, Überschriften, Raster
 * ---------------------------------------------------------------- */
.section {
  padding-block: var(--section-y);
}
.section--bordered {
  border-top: 1px solid var(--line-1);
}

/* Innerer Container einer Section: Flex-Spalte mit Abstand */
.section__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.section__inner--36 { gap: 36px; }
.section__inner--28 { gap: 28px; }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
}
.section-head--700 { max-width: 700px; }
.section-head--720 { max-width: 720px; }
.section-head--780 { max-width: 780px; }

/* Kopfzeile mit Button rechts (Referenzen) */
.section-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow--muted {
  color: var(--text-4);
  font-weight: 400;
}
.eyebrow--violet {
  color: #C8C0FF;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.section-title--sm {
  font-size: clamp(30px, 3.4vw, 46px);
}

.lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-3);
}
.body-lg {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-3);
}

/* Große Seitentitel (h1) */
.display-title {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
  overflow-wrap: normal;     /* Wörter nie mitten im Wort umbrechen */
}
.display-title--xl {           /* Startseite */
  font-size: clamp(44px, 5.4vw, 80px);
  line-height: 0.98;
}
.display-title--lg {           /* Über mich */
  font-size: clamp(40px, 4.8vw, 68px);
}
.display-title--md {           /* Privatkunden */
  font-size: clamp(38px, 4.6vw, 66px);
}
.display-title__line {
  display: block;
}
.display-title__accent {
  color: var(--accent);
}

/* Häkchen-Listen */
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  color: var(--text-2);
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.check-list .icon {
  margin-top: 2px;
  color: var(--accent);
}
.check-list--grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 10px 18px;
  font-size: 14.5px;
}
.check-list--lg {
  gap: 12px;
  font-size: 16px;
}
.check-list--lg li {
  gap: 12px;
}

/* Inline-Vertrauensliste im Hero */
.trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 14px;
  color: var(--text-3);
}
.trust-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.trust-list .icon {
  color: var(--accent);
}

/* Generisches Auto-Raster: Mindestbreite per Modifier */
.auto-grid {
  --min: 280px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min)), 1fr));
  gap: 18px;
}
.auto-grid--140 { --min: 140px; gap: 12px; }
.auto-grid--200 { --min: 200px; gap: 14px; }
.auto-grid--240 { --min: 240px; }
.auto-grid--250 { --min: 250px; }
.auto-grid--260 { --min: 260px; gap: 16px; }
.auto-grid--300 { --min: 300px; }
.auto-grid--320 { --min: 320px; }
.auto-grid--340 { --min: 340px; }
.auto-grid--440 { --min: 440px; }
.auto-grid--500 { --min: 500px; gap: 20px; }
.auto-grid--gap-16 { gap: 16px; }
.auto-grid--gap-18 { gap: 18px; }
.auto-grid--gap-20 { gap: 20px; }

/* Benannte Raster der Seiten */
.problem-grid { --min: 250px; }
.problem-grid--wide { --min: 320px; }
.service-grid { --min: 500px; gap: 20px; }
.ref-grid { --min: 340px; }

/* Zweispaltige Aufteilung (Kontakt, Hilfe anfragen) */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 48px;
  align-items: start;
}
.split__copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* ------------------------------------------------------------------
 * 7. Hero & Drehscheibe
 * ---------------------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(40px, 6vw, 88px) 0 clamp(48px, 6vw, 80px);
  overflow-x: clip;
}

/* Punktraster im Hintergrund */
.hero__dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(#1D222B 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 72% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 72% 40%, #000 20%, transparent 75%);
}
.hero__dots--left {
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 25% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 70% at 25% 45%, #000 20%, transparent 75%);
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: 48px;
  align-items: center;
}
.hero__grid--about {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 56px;
}
/* Breite Bildschirme: Textspalte etwas breiter, damit "Roundhouse" nicht in die Lücke ragt */
@media (min-width: 1100px) {
  .hero__grid:not(.hero__grid--about) {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  }
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.hero__copy--24 {
  gap: 24px;
}

.hero__claim {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text);
}
.hero__claim--sm {             /* Über mich */
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.5;
  letter-spacing: 0;
}
.hero__lead {
  max-width: 540px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-3);
}
.hero__lead--wide {
  max-width: 560px;
}

/* Pill mit Ping-Punkt ("Webseiten · Tools · Apps · IT-Service") */
.pill {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 12px;
  border: 1px solid var(--line-3);
  border-radius: 999px;
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--text-2);
}

/* Drehscheibe (Startseite) */
.turntable {
  position: relative;
  justify-self: center;
  width: min(100%, 540px);
  aspect-ratio: 1 / 1;
}
.turntable__tracks {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.turntable__tracks-base {
  stroke: #1F242D;
  stroke-width: 2;
}
.turntable__tracks-accent {
  stroke: var(--accent);
  stroke-opacity: 0.35;
  stroke-width: 2.4;
}
.turntable__orbit {
  position: absolute;
  inset: 7%;
  border-radius: 50%;
  border: 1px dashed var(--line-5);
  animation: rh-spin 90s linear infinite;
}
.orbit-chip {
  position: absolute;
  transform: translate(-50%, -50%);
}
.orbit-chip--1 { left: 50%; top: 0; }
.orbit-chip--2 { left: 93.3%; top: 25%; }
.orbit-chip--3 { left: 93.3%; top: 75%; }
.orbit-chip--4 { left: 50%; top: 100%; }
.orbit-chip--5 { left: 6.7%; top: 75%; }
.orbit-chip--6 { left: 6.7%; top: 25%; }
.orbit-chip__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-4);
  background: var(--surface-2);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  animation: rh-spin-rev 90s linear infinite;
}
.turntable__ring {
  position: absolute;
  inset: 21%;
  border-radius: 50%;
  border: 1px solid var(--line-3);
  animation: rh-spin-rev 28s linear infinite;
}
.turntable__ring-dot {
  position: absolute;
  left: 50%;
  top: -5px;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--accent);
}
.turntable__deck {
  position: absolute;
  inset: 31%;
  border-radius: 50%;
  border: 1px solid var(--line-4);
  background: var(--surface);
  box-shadow: inset 0 0 0 10px #0F1217;
}
.turntable__swing {
  position: absolute;
  inset: 0;
  animation: rh-swing 16s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
.turntable__bridge {
  position: absolute;
  left: 4%;
  right: 4%;
  top: 50%;
  height: 16px;
  margin-top: -8px;
  border-radius: 8px;
  border: 1px solid var(--line-5);
  background: #1C2129;
}
.turntable__bridge::before,
.turntable__bridge::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1px;
  background: var(--line-hover);
}
.turntable__bridge::before { top: 4px; }
.turntable__bridge::after { bottom: 4px; }
.turntable__bridge-end {
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border-radius: 50%;
  background: var(--accent);
}
.turntable__bridge-end--l { left: -3px; }
.turntable__bridge-end--r { right: -3px; }
.turntable__hub {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 30%;
  height: 30%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid var(--line-5);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.turntable__hub::after {
  content: "";
  width: 22%;
  height: 22%;
  border-radius: 50%;
  background: var(--accent);
}

/* ------------------------------------------------------------------
 * 8. Terminal, Laufband
 * ---------------------------------------------------------------- */
.terminal {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line-4);
  background: rgba(18, 21, 27, 0.94);
  box-shadow: var(--shadow-float);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.85;
  color: var(--text-2);
}
.terminal--hero {
  position: absolute;
  left: 0;
  bottom: 4%;
  width: 262px;
  max-width: 70%;
}
.terminal__line {
  opacity: 0;
  animation: rh-l1 9s ease infinite;
}
.terminal__line--1 { animation-name: rh-l1; }
.terminal__line--2 { animation-name: rh-l2; }
.terminal__line--3 { animation-name: rh-l3; }
.terminal__line--4 { animation-name: rh-l4; }
.terminal__line--static {
  opacity: 1;
  animation: none;
}
.terminal--slow .terminal__line {          /* 10-s-Zyklus (Über mich) */
  animation-duration: 10s;
}
.terminal__prompt { color: var(--accent); }
.terminal__ok { color: var(--green); }
.terminal__cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  vertical-align: -2px;
  background: var(--accent);
  animation: rh-caret 1s steps(1) infinite;
}

/* Laufband mit Begriffen (Startseite) */
.marquee {
  overflow: hidden;
  padding: 22px 0;
  background: var(--bg-band);
  border-top: 1px solid var(--line-1);
  border-bottom: 1px solid var(--line-1);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: rh-marquee 50s linear infinite;
}
.marquee__group {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  color: var(--text-4);
  white-space: nowrap;
}
.marquee__dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent);
}

/* Variante mit Chips (Über mich: "Werkzeuge, mit denen ich arbeite") */
.marquee--chips {
  padding: 40px 0;
  border-bottom: 0;
}
.marquee__title {
  margin-bottom: 18px;
}
.marquee--chips .marquee__track {
  animation-duration: 45s;
}
/* Anhalten zum Lesen (WCAG 2.2.2) */
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track {
  animation-play-state: paused;
}
.marquee--chips .marquee__group {
  gap: 10px;
  padding-right: 10px;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 14px;
  color: var(--text-2);
}
.marquee__chip {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-3);
  background: var(--surface);
}

/* ------------------------------------------------------------------
 * 9. Karten & Mini-Visuals
 * ---------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-card);
}
.card--hover {
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.card--hover:hover {
  transform: translateY(-4px);
  border-color: var(--line-hover);
}

/* Icon-Kachel (Akzent-Hintergrund) */
.icon-tile {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
}
.icon-tile--sm {
  width: 46px;
  height: 46px;
}
.icon-tile--lg {
  width: 56px;
  height: 56px;
  border-radius: 16px;
}
/* Funkwellen-Rahmen (Fernwartung) */
.icon-tile__wave {
  position: absolute;
  inset: 4px;
  border-radius: 12px;
  border: 1px solid var(--accent-line);
  animation: rh-wave 2.6s ease-out infinite;
}

.card-title {                      /* Unbounded, 22px */
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.card-title--21 {
  font-size: 21px;
  letter-spacing: 0;
}
.card-title--20 {
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: 0;
}

/* Problem-Karte */
.problem-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
}
.problem-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-4);
}
.problem-card__quote {
  flex-grow: 1;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 600;
  color: var(--text);
}
.problem-card__solution {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px dashed var(--line-4);
}
.problem-card__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.problem-card__text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-3);
}

/* Leistungs-Karte (Startseite) */
.service-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(22px, 3vw, 32px);
  border-radius: 24px;
}
.service-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.service-card__text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-3);
}
.service-card__visual {
  margin-top: auto;
}

/* Mini-Visual-Rahmen */
.mock {
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: var(--bg);
  overflow: hidden;
}

/* Mini-Browser (Webseiten) */
.mock-browser__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line-1);
}
.mock-browser__dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--line-4);
}
.mock-browser__url {
  flex: 1;
  min-width: 0;
  max-width: 220px;
  margin-left: 10px;
  padding: 3px 10px;
  border-radius: 6px;
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-browser__body {
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.mock-browser__hero {
  grid-column: 1 / -1;
  height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
}
.mock-browser__headline {
  width: 40%;
  height: 10px;
  border-radius: 5px;
  background: var(--accent);
  animation: rh-shimmer 2.6s ease-in-out infinite;
}
.mock-browser__sub {
  width: 16%;
  height: 10px;
  border-radius: 5px;
  background: var(--line-4);
}
.mock-browser__tile {
  height: 56px;
  border-radius: 8px;
  background: var(--surface-2);
  animation: rh-shimmer 2.6s ease-in-out infinite;
}
.mock-browser__tile--1 { animation-delay: 0.3s; }
.mock-browser__tile--2 { animation-delay: 0.6s; }
.mock-browser__tile--3 { animation-delay: 0.9s; }

/* Mini-Chat ("Frag den Verein") */
.mock-chat {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.45;
}
.mock-chat__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-4);
}
.mock-chat__question {
  align-self: flex-end;
  max-width: 80%;
  padding: 9px 12px;
  border-radius: 14px 14px 4px 14px;
  background: var(--surface-3);
  color: var(--text);
}
.mock-chat__answer {
  align-self: flex-start;
  max-width: 88%;
  padding: 9px 12px;
  border-radius: 14px 14px 14px 4px;
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  color: var(--text);
}
.mock-chat__source {
  color: var(--text-3);
}

/* Mini-Terminal (Hosting) */
.mock-terminal {
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--text-2);
}

/* Mini-Ablauf (Individuelle Software) */
.mock-steps {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.step-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
}
.step-chip {
  position: relative;
  overflow: hidden;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--line-4);
  background: var(--surface-2);
}
.step-chip__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--accent);
  opacity: 0;
  transform-origin: left center;
  animation: rh-step 10s linear infinite both;
}
.step-chip__bar--2 { animation-delay: 2s; }
.step-chip__bar--3 { animation-delay: 4s; }
.step-chip__bar--4 { animation-delay: 6s; }
.step-chip__bar--5 { animation-delay: 8s; }
.step-arrow {
  color: #4B5260;
}

/* Tags */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-3);
}
.tag-list--sans {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--text-2);
}
.tag {
  padding: 4px 9px;
  border-radius: 6px;
  border: 1px solid var(--line-3);
}

/* Referenz-Karte */
.ref-card {
  --s1: var(--line-4);
  --s2: var(--line-3);
  --s3: var(--line-2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.ref-card__stripe {
  height: 6px;
  background: linear-gradient(90deg, var(--s1) 0 60%, var(--s2) 60% 80%, var(--s3) 80% 100%);
}
.ref-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px 22px;
}
.ref-card__body--rich {           /* Über mich: mit Tags und Link */
  flex-grow: 1;
  gap: 10px;
}
.ref-card__meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-4);
}
.ref-card__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}
.ref-card__title--lg {
  font-size: 19px;
}
.ref-card__text {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-3);
}
.ref-card__text--lg {
  font-size: 15px;
}
.ref-card__link {
  margin-top: auto;
  padding-top: 6px;
}
/* Markenfarben der Referenzen (Streifen 3 : 1 : 1) */
.ref-card--djk     { --s1: #0088CC; --s2: #FF7A18; --s3: #0A3D5C; }

/* CTA-Karte im Raster ("Ihr Projekt als Nächstes?") */
.cta-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  border-radius: var(--radius-card);
  border: 1px dashed var(--accent-line);
  background: var(--accent-soft);
}
.cta-card__text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-2);
}
.cta-card .btn {
  align-self: flex-start;
  min-height: 46px;
  gap: 8px;
}
/* Beim Hover nur anheben, der gestrichelte Akzent-Rahmen bleibt (wie im Design) */
.cta-card.card--hover:hover {
  border-color: var(--accent-line);
}

/* ------------------------------------------------------------------
 * 10. Tools (Tabs + Produkt-Mockups)
 * ---------------------------------------------------------------- */
.tool-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
/* Ohne JavaScript: Tabs ausblenden, alle Panels untereinander zeigen */
html:not(.js) .tool-tabs {
  display: none;
}
.tool-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-height: 58px;
  padding: 10px 20px;
  border-radius: 16px;
  border: 1px solid var(--line-4);
  background: transparent;
  color: var(--text-2);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.tool-tab:hover {
  border-color: var(--line-hover);
  color: var(--text-white);
}
.tool-tab[aria-selected="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}
.tool-tab__name {
  font-weight: 700;
  font-size: 16px;
}
.tool-tab__sub {
  font-size: 12.5px;
  opacity: 0.8;
}

.tool-panels {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
/* Mit JS bis zur Initialisierung nur das erste Panel zeigen (kein Aufblitzen) */
html.js .tool-panels:not(.is-ready) > .tool-panel:not(:first-child) {
  display: none;
}
.tool-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: 40px;
  align-items: center;
  padding: clamp(20px, 3vw, 40px);
  border-radius: var(--radius-panel);
  border: 1px solid var(--line-2);
  background: var(--surface);
}
.tool-panel:focus-visible {
  outline-offset: 4px;
}
.tool-panel__copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.tool-panel__kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.tool-panel__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.tool-panel__text {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text-3);
}
.tool-panel__note {
  font-size: 14px;
  color: var(--text-4);
}

/* Hinweis-Pill mit Akzent ("Umzug von Webling per Import-Assistent") */
.pill-note {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

/* Rahmen der Produkt-Mockups */
.mock-frame {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line-4);
  box-shadow: var(--shadow-mock);
}

/* Planer (helles Theme) */
.planer-mock {
  background: #F5F3EE;
  color: #1C1B18;
}
.planer-mock__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  background: #EFECE4;
  border-bottom: 1px solid #E3DFD4;
}
.planer-mock__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
}
.planer-logo {
  width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 6px;
  background: #3346D3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}
.planer-logo span {
  height: 2px;
  border-radius: 1px;
  background: #FFFFFF;
}
.planer-logo span:last-child {
  width: 60%;
}
.kbd {
  padding: 3px 7px;
  border: 1px solid #DAD5C8;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #5F5B52;
}
.planer-mock__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.quick-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  overflow: hidden;
  background: #FFFFFF;
  border: 2px solid #3346D3;
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
}
.quick-input__plus {
  font-weight: 700;
  color: #3346D3;
}
.quick-input__text {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  max-width: 44ch;
  animation: rh-type 8s steps(44, end) infinite;
}
.quick-input__caret {
  flex-shrink: 0;
  width: 2px;
  height: 16px;
  margin-left: -8px;
  background: #3346D3;
  animation: rh-caret 1s steps(1) infinite;
}
.token-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
}
.token-row--appear {
  animation: rh-appear 8s ease infinite;
}
.token {
  padding: 4px 9px;
  border-radius: 999px;
}
.token--wide { padding: 4px 10px; }
.token--project { background: #E3E6FA; color: #2A3AB8; }
.token--neutral { background: #E7E3D8; color: #3F3C35; }
.token--warn { background: #F6E2D6; color: #8E3F12; }
.token--ok { background: #DDEEEA; color: #0B5F57; }

.gantt {
  padding: 14px;
  background: #FFFFFF;
  border: 1px solid #E3DFD4;
  border-radius: 12px;
}
.gantt__head {
  display: grid;
  grid-template-columns: 112px repeat(4, minmax(0, 1fr));
  padding-bottom: 8px;
  border-bottom: 1px solid #EFECE4;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #5F5B52;
}
.gantt__row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px dashed #EFECE4;
}
.gantt__row:last-child {
  border-bottom: 0;
}
.gantt__label {
  font-size: 12.5px;
  font-weight: 600;
}
.gantt__track {
  position: relative;
  height: 22px;
}
.gantt__bar {
  position: absolute;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  padding-left: 8px;
  border-radius: 6px;
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  transform-origin: left center;
  animation: rh-grow 8s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}
.gantt__bar--1 { left: 3%; width: 46%; background: #3346D3; }
.gantt__bar--2 { left: 20%; width: 62%; background: #0E7C72; animation-delay: 0.15s; }
.gantt__bar--3 { left: 56%; width: 30%; background: #C2571A; animation-delay: 0.3s; }
.gantt__bar--4 { left: 8%; width: 22%; background: #1C1B18; animation-delay: 0.45s; }

/* Mitgliederportal (dunkles Theme) */
.portal-mock {
  background: #111318;
  color: #E3E5EA;
  font-size: 13px;
}
.portal-mock__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  background: #16191F;
  border-bottom: 1px solid #22262E;
}
.portal-mock__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 700;
}
.portal-logo {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 6px;
  background: #1565C0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.portal-logo span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #FFFFFF;
}
.portal-logo span:nth-child(2) {
  background: #BBD7FF;
}
.avatar {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #1565C0;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}
.portal-mock__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.action-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
}
.action-chip {
  padding: 6px 10px;
  border-radius: 999px;
  background: #182740;
  color: #A8CBFF;
}
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.kpi {
  padding: 12px;
  border-radius: 12px;
  background: #1B1E24;
  min-width: 0;
}
.kpi__label,
.kpi__note {
  font-size: 11px;
  color: #9BA1AD;
}
.kpi__note--up {
  color: #7FD9A0;
}
.kpi__value {
  font-size: 22px;
  font-weight: 700;
  white-space: nowrap;
}
.portal-box {
  padding: 12px 14px;
  border-radius: 12px;
  background: #1B1E24;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.portal-box--tight {
  gap: 8px;
}
.portal-box__title {
  font-weight: 700;
}
.portal-box__count {
  font-weight: 500;
  color: #9BA1AD;
}
.task-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.task-row__text {
  flex: 1;
  min-width: 0;
}
.task-row__muted {
  color: #9BA1AD;
}
.task-row__mono {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #9BA1AD;
}
.btn-mini {
  padding: 3px 8px;
  border-radius: 6px;
  background: #1565C0;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
}
.date-badge {
  width: 38px;
  flex-shrink: 0;
  padding: 3px 0;
  border-radius: 8px;
  background: #262A32;
  text-align: center;
  font-size: 11px;
  line-height: 1.2;
}
.date-badge b {
  display: block;
  font-size: 14px;
}
.role-badge {
  padding: 2px 7px;
  border-radius: 6px;
  background: #262A32;
  font-size: 11px;
  color: #C4C9D2;
}

/* Rechnungsportal (warmes helles Theme) */
.invoice-mock {
  position: relative;
  display: flex;
  min-height: 420px;
  background: #F4F1EA;
  color: #1A1A17;
  font-size: 13px;
}
.invoice-mock__side {
  width: 60px;
  flex-shrink: 0;
  padding: 16px 0;
  background: #1B2321;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.invoice-logo {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #1D5C57;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}
.side-line {
  width: 20px;
  height: 4px;
  border-radius: 2px;
  background: #3A4744;
}
.side-line--active {
  background: #9FD3CC;
}
.invoice-mock__main {
  flex: 1;
  min-width: 0;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.invoice-mock__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
}
.invoice-mock__date {
  font-size: 11px;
  color: #5F5A50;
}
.invoice-mock__title {
  font-family: var(--font-serif);
  font-size: 32px;
  line-height: 1;
}
.invoice-btn {
  padding: 8px 12px;
  border-radius: 8px;
  background: #1D5C57;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.sum-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.sum {
  min-width: 0;
  padding: 10px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid #E4DFD3;
}
.sum__label {
  font-size: 11px;
  color: #5F5A50;
}
.sum__label--danger {
  color: #9E2B20;
}
.sum__value {
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}
.op-list {
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid #E4DFD3;
  overflow: hidden;
}
.op-list__title {
  padding: 10px 12px;
  font-family: var(--font-serif);
  font-size: 19px;
  border-bottom: 1px solid #EEEAE0;
}
.op-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid #EEEAE0;
}
.op-row:last-child {
  border-bottom: 0;
}
.op-row__main {
  flex: 1;
  min-width: 0;
}
.op-row__no,
.op-row__amount {
  font-weight: 700;
  white-space: nowrap;
}
.op-row__client {
  font-size: 11px;
  color: #5F5A50;
}
.status-pill {
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.status-pill--overdue { background: #F8DCD6; color: #8E2419; }
.status-pill--open { background: #FBE9C8; color: #7A4F06; }
.toast {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #1B2321;
  color: #FFFFFF;
  font-size: 12px;
  opacity: 0;
  animation: rh-toast 7s ease infinite;
}
.toast__check {
  color: #9FD3CC;
}

/* Live-Link mit grünem Punkt */
.live-link {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.live-link:hover {
  color: var(--text-white);
}
.live-link .icon {
  color: var(--accent);
}

/* ------------------------------------------------------------------
 * 11. Prostly
 * ---------------------------------------------------------------- */
.prostly {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 48px;
  align-items: center;
  padding: clamp(24px, 5vw, 64px);
  border-radius: 32px;
  border: 1px solid var(--violet-line);
  background: var(--violet-bg);
}
.prostly__copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.prostly__brand {
  display: flex;
  align-items: center;
  gap: 18px;
}
.prostly__icon {
  width: 84px;
  height: 84px;
  flex-shrink: 0;
  border-radius: 22px;
  border: 1px solid #352B5C;
  background: #1A1433;
}
.prostly__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #F6F4FB;
}
.prostly__by {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--violet-muted);
}
.prostly__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #F6F4FB;
}
.prostly__text {
  font-size: 17px;
  line-height: 1.65;
  color: var(--violet-text);
}
.prostly-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
}
.prostly-stat {
  container-type: inline-size;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--violet-line);
  background: #15111F;
}
.prostly-stat__value {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  line-height: 1.5;
  white-space: nowrap;
  color: #F6F4FB;
}
@container (max-width: 100px) {
  .prostly-stat__value {
    font-size: 22px;
  }
}
.prostly-stat__label {
  display: block;
  font-size: 13px;
  color: var(--violet-muted);
}
.prostly__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--violet-text);
}
.prostly__tag {
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid #352B5C;
}
.prostly__release {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 4px;
}
.prostly__note {
  font-size: 13.5px;
  color: var(--violet-muted);
}
.prostly .btn {
  align-self: flex-start;
}
.prostly__visual {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Aufsteigende Bläschen */
.bubble {
  position: absolute;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  animation: rh-bubble 6s ease-in infinite;
}
.bubble--1 { bottom: 40px; left: 18%; width: 14px; height: 14px; }
.bubble--2 { bottom: 20px; left: 30%; width: 8px; height: 8px; animation-duration: 7s; animation-delay: 1.4s; }
.bubble--3 { bottom: 60px; right: 20%; width: 12px; height: 12px; animation-duration: 6.5s; animation-delay: 2.2s; }
.bubble--4 { bottom: 30px; right: 30%; width: 6px; height: 6px; background: #C8C0FF; animation-duration: 5.5s; animation-delay: 0.6s; }
.bubble--5 { bottom: 10px; left: 46%; width: 10px; height: 10px; animation-duration: 7.5s; animation-delay: 3.4s; }
.bubble--6 { bottom: 50px; right: 12%; width: 7px; height: 7px; background: #C8C0FF; animation-duration: 6s; animation-delay: 4.1s; }

/* Handy-Mockup */
.phone {
  position: relative;
  width: 280px;
  height: 560px;
  padding: 12px;
  border-radius: 44px;
  border: 9px solid #1E1838;
  background: var(--violet-bg);
  box-shadow: 0 40px 80px -30px rgba(80, 50, 180, 0.55);
  display: flex;
  flex-direction: column;
  gap: 9px;
  overflow: hidden;
  animation: rh-float 7s ease-in-out infinite;
}
.phone__notch {
  align-self: center;
  width: 84px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 999px;
  background: #000000;
}
.phone__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 4px 6px;
}
.phone__title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 30px;
  color: #DCD5FF;
}
.phone__count {
  font-size: 11px;
  color: var(--violet-muted);
}
.game {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 14px;
  border: 1px solid #241F38;
  background: #15131F;
}
.game__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
}
.game__icon--violet { background: #2A2150; color: #C8C0FF; }
.game__icon--gold { background: #3A2F14; color: var(--gold); }
.game__text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.game__name {
  font-size: 14px;
  font-weight: 600;
  color: #F6F4FB;
}
.game__desc {
  font-size: 11.5px;
  color: var(--violet-muted);
}
.phone__cta {
  margin-top: auto;
  padding: 13px;
  border-radius: 14px;
  background: var(--violet);
  color: var(--violet-bg);
  text-align: center;
  font-weight: 700;
  font-size: 14px;
}

/* ------------------------------------------------------------------
 * 12. Kontakt & Formulare
 * ---------------------------------------------------------------- */
/* Nummerierte Schritte mit Kreis (Startseite) */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.steps__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.steps__num {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--accent-line);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps__title {
  font-weight: 700;
  font-size: 16px;
}
.steps__text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-3);
}

/* E-Mail / Telefon */
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 8px;
}
.contact-link {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact-link:hover {
  color: var(--text-white);
}
.contact-link__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  border: 1px solid var(--line-3);
  background: var(--surface);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease;
}
.contact-link:hover .contact-link__icon {
  border-color: var(--accent-line);
}

/* Formular-Karte */
.form-card {
  padding: clamp(20px, 3vw, 36px);
  border-radius: var(--radius-panel);
  border: 1px solid var(--line-2);
  background: var(--surface);
}
.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.fieldset__legend {
  padding: 0;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
}
.field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 14px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.field__label {
  font-size: 14px;
  font-weight: 600;
}
.field__optional {
  font-weight: 400;
  color: var(--text-4);
}
.input,
.textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--line-4);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  transition: border-color 0.2s ease;
}
.textarea {
  min-height: 132px;
  padding: 14px 16px;
  line-height: 1.5;
  resize: vertical;
}
.input::placeholder,
.textarea::placeholder {
  color: var(--text-4);
  opacity: 1;
}
.input:hover,
.textarea:hover {
  border-color: var(--line-hover);
}
.input:focus,
.textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.input[aria-invalid="true"],
.textarea[aria-invalid="true"] {
  border-color: var(--danger);
}
.field__hint {
  font-size: 13px;
  color: var(--text-4);
}
.field__error {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--danger-text);
}
.fieldset .field__error {
  margin-top: 8px;
}

/* Chips aus echten Checkboxen/Radios */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  position: relative;
  display: inline-flex;
}
.chip__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.chip__label {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line-4);
  background: transparent;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  pointer-events: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.chip:hover .chip__label {
  border-color: var(--line-hover);
  color: var(--text-white);
}
.chip__input:checked + .chip__label {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--text);
}
.chip__input:focus-visible + .chip__label {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.chip--square .chip__label {
  border-radius: 12px;
  font-weight: 600;
}
.fieldset[aria-invalid="true"] .chip__label {
  border-color: var(--danger-line);
}

/* Einwilligung (Datenschutz-Checkbox) */
.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-3);
  cursor: pointer;
}
.consent__box {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  flex-shrink: 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.consent a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.consent__box[aria-invalid="true"] {
  outline: 2px solid var(--danger);
  outline-offset: 2px;
}

/* Honeypot – für Menschen unsichtbar */
.hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Erfolgsmeldung nach dem Senden */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 0;
}
.form-success:focus {
  outline: none;
}
.form-success__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-success__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
}
.form-success__text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-3);
}

/* ------------------------------------------------------------------
 * 13. Über mich
 * ---------------------------------------------------------------- */
.about-visual {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 480px;
}
.photo-frame {
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  border: 1px dashed var(--line-5);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-4);
  overflow: hidden;
}
.photo-frame__label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
}
.photo-frame--image {
  border-style: solid;
  border-color: var(--line-4);
}
.photo-frame--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.float-badge {
  position: absolute;
  left: 16px;
  top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--line-4);
  background: rgba(18, 21, 27, 0.94);
  font-size: 14px;
  font-weight: 600;
  animation: rh-float-sm 6s ease-in-out infinite;
}
.terminal--whoami {
  position: absolute;
  right: -8px;
  bottom: 28px;
  width: 290px;
  max-width: 86%;
  background: rgba(14, 16, 21, 0.96);
  font-size: 12.5px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}
.stat {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--line-2);
  background: var(--surface);
}
.stat__value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  color: var(--accent);
}
.stat__label {
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-3);
}

/* Werdegang */
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 18px;
}
.scanline {
  grid-column: 1 / -1;
  position: relative;
  height: 2px;
  border-radius: 1px;
  background: var(--line-3);
}
.scanline::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 96px;
  height: 8px;
  border-radius: 4px;
  background: var(--accent);
  animation: rh-scan 7s ease-in-out infinite alternate;
}
.timeline-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
}
.timeline-card--current {
  border-color: var(--accent-line);
}
.timeline-card__when {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
}
.timeline-card__title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
}
.timeline-card__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-3);
}

/* Werte ("Wie ich arbeite") */
.value-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border-radius: 22px;
}
.value-card__text {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-3);
}

/* Werkstatt-Karten */
.work-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border-radius: 18px;
}
.work-card__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
}
.work-card__kind {
  font-family: var(--font-mono);
  color: var(--text-4);
}
.work-card__title {
  font-size: 18px;
  font-weight: 700;
}
.work-card__text {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-3);
}
.status {
  padding: 2px 8px;
  border-radius: 999px;
}
.status--store   { background: #2A2150; color: #DCD5FF; }   /* Store-Release in Vorbereitung */
.status--live    { background: var(--green-soft); color: #9FF0C2; }
.status--version { background: #1C2230; color: #C9D3EA; }   /* Version 1.0 */
.status--dev     { background: #2B2414; color: #F2D79A; }   /* Prototyp, In Entwicklung */

/* CTA-Band */
.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(28px, 4vw, 56px);
  border-radius: 32px;
  border: 1px solid var(--line-3);
  background: var(--surface);
}
.cta-band__copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 640px;
}
.cta-band__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.cta-band__text {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-3);
}

/* ------------------------------------------------------------------
 * 14. Privatkunden
 * ---------------------------------------------------------------- */
/* Laptop mit PC-Check */
.laptop {
  justify-self: center;
  width: min(100%, 520px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.laptop__lid {
  width: 100%;
  padding: 14px;
  border-radius: 22px 22px 8px 8px;
  border: 1px solid var(--line-4);
  background: var(--line-1);
  animation: rh-float-sm 7s ease-in-out infinite;
}
.laptop__screen {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  border-radius: 12px;
  border: 1px solid var(--line-3);
  background: var(--bg-band);
}
.laptop__base {
  width: 112%;
  max-width: calc(100% + 40px);
  height: 16px;
  border-radius: 0 0 18px 18px;
  border: 1px solid var(--line-4);
  border-top: 0;
  background: var(--surface-active);
}
.laptop__foot {
  width: 22%;
  height: 6px;
  border-radius: 0 0 6px 6px;
  background: var(--line-1);
}
.pc-check__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-3);
}
.pc-check__status {
  position: relative;
  height: 18px;
  min-width: 120px;
  text-align: right;
}
.pc-check__busy,
.pc-check__done {
  position: absolute;
  right: 0;
  top: 0;
  white-space: nowrap;
}
.pc-check__busy {
  color: var(--accent);
  animation: rh-busy 10s linear infinite;
}
.pc-check__done {
  color: var(--green);
  opacity: 0;
  animation: rh-done 10s linear infinite;
}
.progress {
  height: 8px;
  border-radius: 4px;
  background: var(--line-header);
  overflow: hidden;
}
.progress__bar {
  width: 0;
  height: 100%;
  border-radius: 4px;
  background: var(--accent);
  animation: rh-progress 10s linear infinite;
}
.check-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
}
.check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--surface);
  opacity: 0.25;
  animation: rh-c1 10s linear infinite;
}
.check-item--1 { animation-name: rh-c1; }
.check-item--2 { animation-name: rh-c2; }
.check-item--3 { animation-name: rh-c3; }
.check-item--4 { animation-name: rh-c4; }
.check-item--5 { animation-name: rh-c5; }
.check-item__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Kleine Leistungs-Karte (Privat: 8 Leistungen) */
.mini-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
}
.mini-card__title {
  font-size: 18px;
  font-weight: 700;
}
.mini-card__text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-3);
}

/* Vor Ort / Fernwartung */
.mode-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  border-radius: 24px;
}
.mode-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mode-card__text {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-3);
}

/* Schritt-Karten mit großer Nummer (Privat: 01–04) */
.step-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px;
}
.step-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border-radius: var(--radius-card);
  border: 1px solid var(--line-2);
}
.step-card__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  color: var(--accent);
}
.step-card__title {
  font-weight: 700;
  font-size: 17px;
}
.step-card__text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-3);
}

/* ------------------------------------------------------------------
 * 15. Rechtstexte, Status-Seiten, Hinweise
 * ---------------------------------------------------------------- */
/* Kopf einfacher Seiten (Impressum, Datenschutz, Danke, 404) */
.page-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 760px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.page-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.prose {
  max-width: 760px;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text-2);
}
.prose > :first-child {
  margin-top: 0;
}
.prose h2 {
  margin: 2.2em 0 0.6em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text);
}
.prose h3 {
  margin: 1.6em 0 0.4em;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}
.prose p,
.prose ul,
.prose ol,
.prose address,
.prose dl {
  margin: 0 0 1em;
}
.prose ul,
.prose ol {
  padding-left: 1.3em;
}
.prose li {
  margin: 0.3em 0;
}
.prose li::marker {
  color: var(--accent);
}
.prose address {
  font-style: normal;
}
.prose strong {
  color: var(--text);
  font-weight: 600;
}
.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.prose a:hover {
  color: var(--accent-hover);
}
.prose hr {
  margin: 2em 0;
  border: 0;
  border-top: 1px solid var(--line-2);
}
.prose dt {
  font-weight: 600;
  color: var(--text);
}
.prose dd {
  margin: 0 0 0.8em;
}
.prose .meta,
.prose-meta {
  font-size: 14px;
  color: var(--text-4);
}
/* Deutlich markierter Platzhalter: <mark class="todo">[bitte eintragen: …]</mark> */
.todo {
  padding: 1px 6px;
  border-radius: 6px;
  border: 1px dashed var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent-hover);
  font-family: var(--font-mono);
  font-size: 0.88em;
}

/* Status-Seite (Danke, 404) */
.state {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  max-width: 680px;
}
.state__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.state__code {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--text-4);
}

/* Hinweise / Meldungen */
.notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line-4);
  background: var(--surface-2);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
}
.notice .icon {
  margin-top: 1px;
}
.notice--error {
  border-color: var(--danger-line);
  background: var(--danger-soft);
  color: #FECACA;
}
.notice--error .icon {
  color: var(--danger);
}
.notice--warn {
  border-color: var(--accent-line);
  background: var(--accent-soft);
}
.notice--warn .icon {
  color: var(--accent);
}
.notice a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ------------------------------------------------------------------
 * 16. Footer
 * ---------------------------------------------------------------- */
.site-footer {
  padding: 56px 0 28px;
  border-top: 1px solid var(--line-1);
  overflow: hidden;
}
.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 32px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-brand__row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand__mark {
  width: 34px;
  height: 34px;
}
.footer-brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
}
.footer-brand__text {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-3);
}
.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-size: 14.5px;
}
.footer-nav__title {
  margin-bottom: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-4);
}
.footer-nav__link {
  padding-block: 2px;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-nav__link:hover,
.footer-nav__link[aria-current="page"] {
  color: var(--text-white);
}
.footer-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 10.5vw, 150px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-4);
  white-space: nowrap;
  text-align: center;
  user-select: none;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: var(--text-4);
}

/* ------------------------------------------------------------------
 * 17. Scroll-Reveal (nur mit JavaScript; main.js setzt .is-visible)
 * ---------------------------------------------------------------- */
html.js .reveal {
  opacity: 0;
  translate: 0 26px;
  transition:
    opacity 0.7s ease var(--reveal-delay, 0s),
    translate 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0s);
}
/* Karten mit Hover-Effekt behalten ihre eigenen Übergänge */
html.js .reveal.card--hover {
  transition:
    opacity 0.7s ease var(--reveal-delay, 0s),
    translate 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0s),
    transform 0.3s ease,
    border-color 0.3s ease;
}
html.js .reveal.is-visible {
  opacity: 1;
  translate: none;
}
.reveal--d1 { --reveal-delay: 0.08s; }
.reveal--d2 { --reveal-delay: 0.16s; }
.reveal--d3 { --reveal-delay: 0.24s; }
.reveal--d4 { --reveal-delay: 0.32s; }

/* ------------------------------------------------------------------
 * 18. Keyframes
 * ---------------------------------------------------------------- */
@keyframes rh-spin { to { transform: rotate(360deg); } }
@keyframes rh-spin-rev { to { transform: rotate(-360deg); } }
@keyframes rh-swing {
  0%, 12% { transform: rotate(0deg); }
  38%, 62% { transform: rotate(180deg); }
  88%, 100% { transform: rotate(360deg); }
}
@keyframes rh-ping {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2.8); opacity: 0; }
}
@keyframes rh-marquee { to { transform: translateX(-50%); } }
@keyframes rh-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes rh-float-sm {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes rh-type {
  0% { max-width: 0; }
  50%, 100% { max-width: 44ch; }
}
@keyframes rh-caret { 50% { opacity: 0; } }
@keyframes rh-appear {
  0%, 52% { opacity: 0; transform: translateY(4px); }
  58%, 94% { opacity: 1; transform: none; }
  100% { opacity: 0; }
}
@keyframes rh-grow {
  0% { transform: scaleX(0); }
  22%, 94% { transform: scaleX(1); }
  100% { transform: scaleX(0); }
}
@keyframes rh-toast {
  0%, 50% { opacity: 0; transform: translateY(10px); }
  56%, 90% { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; transform: translateY(10px); }
}
@keyframes rh-bubble {
  0% { opacity: 0; transform: translateY(0) scale(0.6); }
  12% { opacity: 0.9; }
  100% { opacity: 0; transform: translateY(-280px) scale(1); }
}
@keyframes rh-shimmer {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}
@keyframes rh-l1 {
  0%, 4% { opacity: 0; }
  8%, 92% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes rh-l2 {
  0%, 22% { opacity: 0; }
  26%, 92% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes rh-l3 {
  0%, 40% { opacity: 0; }
  44%, 92% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes rh-l4 {
  0%, 58% { opacity: 0; }
  62%, 92% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes rh-step {
  0% { opacity: 0; transform: scaleX(0); }
  3% { opacity: 1; transform: scaleX(0.15); }
  17% { opacity: 1; transform: scaleX(1); }
  20%, 100% { opacity: 0; transform: scaleX(1); }
}
@keyframes rh-scan {
  0% { left: 0; }
  100% { left: calc(100% - 96px); }
}
@keyframes rh-progress {
  0% { width: 0; }
  80%, 100% { width: 100%; }
}
@keyframes rh-done {
  0%, 80% { opacity: 0; transform: translateY(6px); }
  84%, 96% { opacity: 1; transform: none; }
  100% { opacity: 0; }
}
@keyframes rh-busy {
  0%, 80% { opacity: 1; }
  84%, 100% { opacity: 0; }
}
@keyframes rh-c1 {
  0%, 6% { opacity: 0.25; }
  10%, 96% { opacity: 1; }
  100% { opacity: 0.25; }
}
@keyframes rh-c2 {
  0%, 22% { opacity: 0.25; }
  26%, 96% { opacity: 1; }
  100% { opacity: 0.25; }
}
@keyframes rh-c3 {
  0%, 38% { opacity: 0.25; }
  42%, 96% { opacity: 1; }
  100% { opacity: 0.25; }
}
@keyframes rh-c4 {
  0%, 54% { opacity: 0.25; }
  58%, 96% { opacity: 1; }
  100% { opacity: 0.25; }
}
@keyframes rh-c5 {
  0%, 70% { opacity: 0.25; }
  74%, 96% { opacity: 1; }
  100% { opacity: 0.25; }
}
@keyframes rh-wave {
  0% { transform: scale(0.6); opacity: 0; }
  30% { opacity: 0.9; }
  100% { transform: scale(1.25); opacity: 0; }
}

/* ------------------------------------------------------------------
 * 19. Responsive
 * ---------------------------------------------------------------- */

/* Header: unterhalb von 1180 px passt die Navigation nicht mehr in eine Zeile
   -> Menü-Button. Ohne JavaScript bleibt das Menü sichtbar (gestapelt). */
@media (max-width: 1179.98px) {
  .nav-toggle {
    display: inline-flex;
  }
  .site-header__inner {
    gap: 12px 16px;
  }
  .site-menu {
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 4px 0 8px;
  }
  html.js .site-menu {
    display: none;
  }
  html.js .site-menu.is-open {
    display: flex;
    max-height: calc(100vh - 80px);
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  html:not(.js) .site-header {
    position: relative;
  }
  html:not(.js) .nav-toggle {
    display: none;
  }
  .main-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-inline: 0;
    font-size: 17px;
  }
  .main-nav__link {
    display: flex;
    align-items: center;
    min-height: 48px;
    border-bottom: 1px solid var(--line-1);
  }
  .main-nav__link[aria-current="page"] {
    padding-left: 12px;
    box-shadow: inset 3px 0 0 var(--accent);
  }
  .header-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .audience-switch {
    width: 100%;
  }
  .audience-switch__link {
    flex: 1 1 0;
    justify-content: center;
    min-height: 44px;
    padding: 4px 10px;
    text-align: center;
    line-height: 1.2;
  }
  .header-actions .btn {
    width: 100%;
    min-height: 48px;
  }
}

@media (max-width: 600px) {
  .pill {
    font-size: 11.5px;
    letter-spacing: 0.03em;
  }
  .turntable {
    width: 90%;
  }
  .orbit-chip__label {
    padding: 6px 11px;
    font-size: 12px;
  }
  .gantt__bar {
    padding-left: 5px;
    font-size: 9.5px;
  }
  .terminal--hero {
    font-size: 11px;
    padding: 12px 14px;
  }
  .marquee__group {
    font-size: 19px;
  }
  .mode-card {
    padding: 22px;
    gap: 16px;
  }
  .value-card {
    padding: 24px;
  }
  .kpi {
    padding: 10px;
  }
  .kpi__value {
    font-size: 16px;
  }
  .sum-grid {
    grid-template-columns: 1fr;
  }
  .invoice-mock__side {
    width: 48px;
  }
  .planer-mock__body {
    padding: 14px;
  }
  .gantt {
    padding: 12px 10px;
  }
  .gantt__head,
  .gantt__row {
    grid-template-columns: 92px minmax(0, 1fr);
  }
  .gantt__head {
    grid-template-columns: 92px repeat(4, minmax(0, 1fr));
    font-size: 9.5px;
  }
  .gantt__label {
    font-size: 11.5px;
  }
  .laptop__base {
    width: calc(100% + 24px);
  }
  .laptop__screen {
    padding: 16px;
  }
  .terminal--whoami {
    right: 0;
  }
  .prostly__visual {
    min-height: 600px;
  }
}

@media (max-width: 380px) {
  .brand__name {
    font-size: 16px;
  }
  .display-title--xl {
    font-size: clamp(36px, 11.6vw, 44px);
  }
  .phone {
    width: 260px;
  }
}

/* ------------------------------------------------------------------
 * 20. Reduzierte Bewegung: keine Animationen, Endzustände zeigen
 * ---------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  .terminal__line,
  .check-item,
  .token-row--appear,
  .pc-check__done {
    opacity: 1;
  }
  /* .toast bleibt unsichtbar (opacity 0), sonst verdeckt er die letzte Rechnungszeile */
  .pc-check__busy,
  .bubble,
  .step-chip__bar {
    opacity: 0;
  }
  .progress__bar {
    width: 100%;
  }
  .btn:hover,
  .card--hover:hover {
    transform: none;
  }
  html.js .reveal {
    opacity: 1;
    translate: none;
  }
  /* "Werkzeuge" (Über mich): statt eingefrorenem Laufband alle Chips umbrechen */
  .marquee--chips .marquee__track {
    display: block;
    width: auto;
  }
  .marquee--chips .marquee__group {
    flex-wrap: wrap;
    white-space: normal;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
  }
  .marquee--chips .marquee__group[aria-hidden="true"] {
    display: none;
  }
}
