/* Jung Batterietechnik · CI für das Web · aus tokens.json erzeugt */

@font-face { font-family: "Jung Volt"; src: url("fonts/JungVolt-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Jung Volt"; src: url("fonts/JungVolt-MediumItalic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Jung Volt"; src: url("fonts/JungVolt-BoldItalic.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Jung Volt"; src: url("fonts/JungVolt-BlackItalic.woff2") format("woff2"); font-weight: 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Jung Volt Slim"; src: url("fonts/JungVoltSlim-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Jung Volt Slim"; src: url("fonts/JungVoltSlim-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Jung Volt Slim"; src: url("fonts/JungVoltSlim-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Jung Volt Slim"; src: url("fonts/JungVoltSlim-MediumItalic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Jung Volt Slim"; src: url("fonts/JungVoltSlim-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Jung Volt Slim"; src: url("fonts/JungVoltSlim-BoldItalic.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Jung Volt Slim"; src: url("fonts/JungVoltSlim-Black.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Jung Volt Slim"; src: url("fonts/JungVoltSlim-BlackItalic.woff2") format("woff2"); font-weight: 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Jung Volt"; src: url("fonts/JungVolt-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Jung Volt"; src: url("fonts/JungVolt-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Jung Volt"; src: url("fonts/JungVolt-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Jung Volt"; src: url("fonts/JungVolt-Black.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("fonts/IBMPlexSans-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("fonts/IBMPlexSans-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("fonts/IBMPlexSans-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("fonts/IBMPlexSans-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("fonts/IBMPlexSans-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("fonts/IBMPlexSans-BoldItalic.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }

:root {
  --navy: #0B2A66;
  --orange: #FF7A00;
  --glut: #F04E00;
  --strom: #0A84E8;
  --link-blau: #0066C2;
  --graphit: #55565B;
  --nebel: #F2F5F9;
  --eisblau: #9DD0FF;
  --navy-tone: var(--navy);
  --surface: #FFFFFF;
  --surface-alt: var(--nebel);
  --surface-raised: #FFFFFF;
  --surface-brand: var(--navy);
  --line: #D9E0EA;
  --line-strong: #7A879D;
  --ink: #1E2A3D;
  --ink-muted: var(--graphit);
  --ink-heading: var(--navy);
  --link: var(--link-blau);
  --on-orange: var(--navy);
  --on-brand: #FFFFFF;
  --on-brand-muted: #C5D0E2;
  --focus: var(--strom);
  --danger: #B42318;
  --success: #1E7B4A;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --content-max: 1200px;
  --text-max: 68ch;
  --header-height: 72px;
  --shadow-card: 0 1px 2px rgba(11,42,102,0.06), 0 8px 24px rgba(11,42,102,0.10);
  --font-display: "Jung Volt", "Bahnschrift", "Arial Narrow", sans-serif;
  --font-narrow: "Jung Volt Slim", "Jung Volt", "Bahnschrift", "Arial Narrow", sans-serif;
  --font-text: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
}

/* Dunkles Thema, nur wenn gewünscht: <html data-theme="dark"> */
[data-theme="dark"] {
  --strom: #3AA6FF;
  --navy-tone: #1D4196;
  --surface: #07142F;
  --surface-alt: #0E1F45;
  --surface-raised: #13285A;
  --surface-brand: var(--navy);
  --line: #22355E;
  --line-strong: #6F82AB;
  --ink: #E8EEF7;
  --ink-muted: #A9B5C8;
  --ink-heading: #FFFFFF;
  --link: #5CB4FF;
  --on-orange: var(--navy);
  --on-brand: #FFFFFF;
  --on-brand-muted: #C5D0E2;
  --focus: var(--strom);
  --danger: #FF8A80;
  --success: #5BD39A;
  --shadow-card: 0 1px 2px rgba(0,0,0,0.40), 0 8px 24px rgba(0,0,0,0.35);
  color-scheme: dark;
}

/* Textstile */
.t-display { font-family: var(--font-display); font-style: italic; font-size: 56px; line-height: 56px; font-weight: 900; letter-spacing: -0.01em; }
.t-h1 { font-family: var(--font-display); font-style: italic; font-size: 40px; line-height: 44px; font-weight: 700; }
.t-h2 { font-family: var(--font-display); font-style: italic; font-size: 30px; line-height: 36px; font-weight: 700; }
.t-h3 { font-family: var(--font-display); font-style: italic; font-size: 21px; line-height: 28px; font-weight: 700; }
.t-kennzahl { font-family: var(--font-display); font-style: italic; font-size: 44px; line-height: 44px; font-weight: 900; }
.t-eyebrow { font-family: var(--font-display); font-style: italic; font-size: 13px; line-height: 16px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.t-button { font-family: var(--font-display); font-style: italic; font-size: 15px; line-height: 20px; font-weight: 700; letter-spacing: 0.02em; }
.t-nav { font-family: var(--font-display); font-style: italic; font-size: 15px; line-height: 20px; font-weight: 500; }
.t-lead { font-family: var(--font-text); font-size: 20px; line-height: 30px; font-weight: 400; }
.t-body { font-family: var(--font-text); font-size: 17px; line-height: 27px; font-weight: 400; }
.t-body-strong { font-family: var(--font-text); font-size: 17px; line-height: 27px; font-weight: 600; }
.t-label { font-family: var(--font-text); font-size: 14px; line-height: 20px; font-weight: 600; }
.t-small { font-family: var(--font-text); font-size: 14px; line-height: 20px; font-weight: 400; }
.t-caption { font-family: var(--font-text); font-size: 12px; line-height: 16px; font-weight: 400; letter-spacing: 0.02em; }

/* Jung Batterietechnik · Bausteine. Alle Werte kommen aus den Tokens (CSS-Variablen). */
body { margin: 0; font-family: var(--font-text); font-size: 17px; line-height: 27px; color: var(--ink); background: var(--surface); }
.jb-demo-stage { padding: var(--space-6); display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; }
html:not([data-theme="dark"]) .jb-only-dark,
[data-theme="dark"] .jb-only-light { display: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
a { color: var(--link); text-underline-offset: 3px; }

/* Button */
.jb-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 48px; padding: 0 var(--space-6);
  font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 15px; line-height: 20px; letter-spacing: .02em;
  border-radius: var(--radius-sm); border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: box-shadow .15s, background-color .15s; }
.jb-btn--primary { background: var(--orange); color: var(--on-orange); box-shadow: inset 0 -3px 0 var(--glut); }
.jb-btn--primary:hover { box-shadow: inset 0 -5px 0 var(--glut); }
.jb-btn--primary:active { box-shadow: inset 0 3px 0 var(--glut); }
.jb-btn--outline { background: transparent; color: var(--ink-heading); border-color: var(--ink-heading); }
.jb-btn--outline:hover { background: var(--surface-alt); }
.jb-btn--on-brand { background: transparent; color: var(--on-brand); border-color: var(--on-brand); }
.jb-btn--on-brand:hover { background: rgba(255,255,255,0.08); }
.jb-btn--small { min-height: 40px; padding: 0 var(--space-4); }
.jb-btn[disabled] { opacity: .45; cursor: not-allowed; }
.jb-btn__arrow { font-family: var(--font-text); font-weight: 600; }

/* Kopfzeile */
.jb-header { display: flex; align-items: center; gap: var(--space-8); min-height: var(--header-height); padding-inline: var(--space-6);
  background: var(--surface); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.jb-header__logo { display: block; flex: none; }
.jb-header__logo img { display: block; height: 36px; width: auto; }
.jb-nav { display: flex; gap: var(--space-6); margin-left: auto; flex-wrap: wrap; }
.jb-nav a { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 15px; line-height: 20px; color: var(--ink-heading);
  text-decoration: none; padding: 6px 0; border-bottom: 3px solid transparent; }
.jb-nav a:hover { border-bottom-color: var(--line); }
.jb-nav a[aria-current="page"] { border-bottom-color: var(--orange); }
@media (max-width: 720px) { .jb-header { gap: var(--space-2) var(--space-3); padding-block: var(--space-3); }
  .jb-nav { order: 3; width: 100%; margin-left: 0; gap: var(--space-4); }
  .jb-header__logo img { height: 26px; }
  .jb-header > .jb-btn { margin-left: auto; } }

/* Hero */
.jb-hero { position: relative; overflow: hidden; background: var(--surface-brand); color: var(--on-brand); padding: var(--space-16) var(--space-8); }
.jb-hero__body { position: relative; max-width: 640px; display: flex; flex-direction: column; gap: var(--space-4); }
.jb-hero__eyebrow { color: var(--eisblau); }
.jb-hero__title { margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: clamp(24px, 8vw, 56px); line-height: 1; letter-spacing: -.01em; color: var(--on-brand); text-wrap: balance; }
.jb-hero__lead { margin: 0; font-size: 20px; line-height: 30px; color: var(--on-brand-muted); max-width: 34em; }
.jb-hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-4); }
.jb-hero__waves { position: absolute; right: -2%; bottom: var(--space-12); width: 44%; max-width: 560px; pointer-events: none; }
@media (max-width: 720px) { .jb-hero { padding: var(--space-12) var(--space-4) calc(var(--space-16) + 40px); }
  .jb-hero__lead { font-size: 18px; line-height: 28px; }
  .jb-hero__waves { width: 70%; bottom: var(--space-4); } }

/* Rubrik mit Pixel und Abschnittstitel */
.jb-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 13px;
  line-height: 16px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-heading); }
.jb-eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--orange); box-shadow: -14px 0 0 -1px var(--orange); margin-left: 14px; flex: none; }
.jb-hero .jb-eyebrow { color: var(--eisblau); }
.jb-section-head { display: flex; flex-direction: column; gap: var(--space-3); max-width: var(--text-max); }
.jb-section-head h2 { margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 30px; line-height: 36px; color: var(--ink-heading); text-wrap: balance; }
.jb-section-head p { margin: 0; font-size: 20px; line-height: 30px; color: var(--ink-muted); }

/* Leistungskarte */
.jb-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-6); }
.jb-card { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-6); background: var(--surface-raised);
  border: 1px solid var(--line); border-radius: var(--radius-md); transition: box-shadow .15s, border-color .15s; min-width: 0; }
.jb-card:hover { border-color: var(--strom); box-shadow: var(--shadow-card); }
.jb-card__pixels { display: flex; gap: 4px; align-items: flex-end; height: 16px; }
.jb-card__pixels i { display: block; width: 8px; height: 8px; background: var(--orange); }
.jb-card__pixels i:nth-child(2) { width: 12px; height: 12px; }
.jb-card__pixels i:nth-child(3) { width: 16px; height: 16px; background: var(--glut); }
.jb-card h3 { margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 21px; line-height: 28px; color: var(--ink-heading); }
.jb-card p { margin: 0; color: var(--ink); }
.jb-card a { margin-top: auto; font-weight: 600; }

/* Kennzahl */
.jb-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--space-6); }
.jb-stat { display: flex; flex-direction: column; gap: var(--space-2); padding-top: var(--space-3); border-top: 2px solid var(--line); }
.jb-stat__value { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 44px; line-height: 44px; color: var(--ink-heading); font-variant-numeric: tabular-nums; }
.jb-stat__unit { font-size: 22px; margin-left: 4px; }
.jb-stat__label { font-size: 14px; line-height: 20px; color: var(--ink-muted); }

/* Branchen-Tag */
.jb-tag { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: var(--radius-pill); background: var(--surface-alt);
  border: 1px solid var(--line); color: var(--ink-heading); font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 12px; line-height: 16px;
  letter-spacing: .08em; text-transform: uppercase; }

/* Eingabefeld */
.jb-field { display: flex; flex-direction: column; gap: var(--space-2); max-width: 420px; min-width: 0; }
.jb-field label { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink); }
.jb-field input, .jb-field textarea { font: inherit; color: var(--ink); background: var(--surface); padding: 11px 14px;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); width: 100%; box-sizing: border-box; }
.jb-field input::placeholder, .jb-field textarea::placeholder { color: var(--ink-muted); }
.jb-field input:focus-visible, .jb-field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.jb-field__hint { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.jb-field--error input, .jb-field--error textarea { border-color: var(--danger); }
.jb-field__error { font-size: 14px; line-height: 20px; color: var(--danger); font-weight: 600; }

/* Kontaktkasten */
.jb-contact { display: grid; gap: var(--space-4); padding: var(--space-12); background: var(--surface-alt); border-radius: var(--radius-lg); max-width: 560px; box-sizing: border-box; }
.jb-contact h3 { margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 21px; line-height: 28px; color: var(--ink-heading); }
.jb-contact__role { margin: -8px 0 0; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.jb-contact dl { display: grid; grid-template-columns: auto 1fr; gap: var(--space-1) var(--space-4); margin: 0; }
.jb-contact dt { font-size: 14px; line-height: 27px; color: var(--ink-muted); }
.jb-contact dd { margin: 0; font-variant-numeric: tabular-nums; min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) { .jb-contact { padding: var(--space-6); } }

/* Fußbereich */
.jb-footer { background: var(--surface-brand); color: var(--on-brand-muted); padding: var(--space-12) var(--space-8) var(--space-6); font-size: 14px; line-height: 22px; }
.jb-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--space-8); }
.jb-footer__logo { height: 34px; width: auto; display: block; }
.jb-footer h4 { margin: 0 0 var(--space-2); font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 13px; line-height: 16px; letter-spacing: .12em; text-transform: uppercase; color: var(--eisblau); }
.jb-footer p { margin: 0; }
.jb-footer a { color: var(--on-brand); }
.jb-footer__legal { margin-top: var(--space-8); padding-top: var(--space-4); border-top: 1px solid rgba(197,208,226,0.25); display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); }

/* Seitenraster für die echte Website: <body class="jb-page">, Inhalte in .jb-section > .jb-container */
:root { --gutter: var(--space-8); }
@media (max-width: 720px) { :root { --gutter: var(--space-4); } }
.jb-container { max-width: var(--content-max); margin-inline: auto; padding-inline: var(--gutter); }
.jb-page .jb-header, .jb-page .jb-hero, .jb-page .jb-footer { padding-inline: max(var(--gutter), calc((100% - var(--content-max)) / 2)); }
.jb-section { padding-block: var(--space-16); }
.jb-section--alt { background: var(--surface-alt); }
.jb-section .jb-container > * + * { margin-top: var(--space-8); }
.jb-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--space-8); align-items: start; }
.jb-form { display: flex; flex-direction: column; gap: var(--space-4); }
.jb-form .jb-field { max-width: none; }
@media (max-width: 720px) { .jb-section { padding-block: var(--space-12); } }
