/* Keppler IT-Systems – Entwurf im Design der neuen CloudFaktor-Seite.
 * Grundlage: ~/Dev/CloudFaktor-Entwurf/assets/cf.css (Variante „Erster Vorschlag“).
 * Schriften selbst gehostet (OFL, assets/fonts) – nie von Google laden. */
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('fonts/inter-tight-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('fonts/inter-tight-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: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('fonts/plus-jakarta-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('fonts/plus-jakarta-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; }

/* Tagansicht */
:root {
  color-scheme: light;
  --page: #FFFFFF;
  --surface: #FFFFFF;
  --surface-hover: #FBFCFD;
  --soft-bg: #F1F4F8;
  --ink: #0F172A;
  --text: #1E293B;
  --muted: #475569;
  --faint: #64748B;
  --border: #E2E8F0;
  --border-2: #DCE2EA;
  --input-border: #CBD5E1;
  --accent: #E0863C;
  --accent-hover: #EC9A55;
  --accent-text: #B45309;
  --accent-text-hover: #92400E;
  --on-accent: #0F172A;
  --nav-bg: rgba(255, 255, 255, .96);
  --topbar-bg: #0B1222;
  --hero-bg: #0F172A;
  --hero-top: #F4F6FA;          /* Titelbereich am Tag hell (Tobias, 29.09.2026) */
  --hero-ink: #0F172A;
  --hero-muted: #475569;
  --hero-kicker: #B45309;
  --hero-ghost: #0F172A;
  --hero-ghost-border: #94A3B8;
  --hero-line: #E2E8F0;
  --hero-foto-line: #E2E8F0;
  --hero-foto-shadow: 0 20px 48px rgba(15, 23, 42, .12);
  --band-bg: #16213A;
  --band-line: #2B3A57;
  --dark-line: #334155;
  --on-dark: #FFFFFF;
  --on-dark-muted: #CBD5E1;
  --footer-bg: #0B1222;
  --footer-line: #1E293B;
  --footer-faint: #94A3B8;
  --btn-strong-bg: #0F172A;
  --btn-strong-fg: #FFFFFF;
  --btn-strong-hover: #1E293B;
  --badge-bg: #0F172A;
  --shot-bg: #1E293B;
  --shadow: 0 12px 32px rgba(15, 23, 42, .08);
  --ok: #166534;
  --display: 'Inter Tight', system-ui, sans-serif;
  --body: 'Plus Jakarta Sans', system-ui, sans-serif;
}
/* Nachtansicht: Systemeinstellung, solange nicht umgeschaltet */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --page: #0A0F1C;
    --surface: #111A2E;
    --surface-hover: #15203A;
    --soft-bg: #0E1627;
    --ink: #F1F5F9;
    --text: #E2E8F0;
    --muted: #A3B1C6;
    --faint: #8A9AB2;
    --border: #1F2B42;
    --border-2: #243149;
    --input-border: #33425E;
    --accent: #E8914A;
    --accent-hover: #F0A566;
    --accent-text: #F0A15E;
    --accent-text-hover: #F7BD85;
    --on-accent: #0F172A;
    --nav-bg: rgba(10, 15, 28, .94);
    --topbar-bg: #060A14;
    --hero-bg: #0D1426;
    --hero-top: #0D1426;
    --hero-ink: #F8FAFC;
    --hero-muted: #B8C4D6;
    --hero-kicker: #E8914A;
    --hero-ghost: #F8FAFC;
    --hero-ghost-border: #475569;
    --hero-line: transparent;
  --hero-foto-line: #334155;
  --hero-foto-shadow: 0 24px 60px rgba(0, 0, 0, .35);
    --band-bg: #111A2E;
    --band-line: #243149;
    --dark-line: #2B3A57;
    --on-dark: #F8FAFC;
    --on-dark-muted: #B8C4D6;
    --footer-bg: #060A14;
    --footer-line: #1A2439;
    --footer-faint: #8A9AB2;
    --btn-strong-bg: #F1F5F9;
    --btn-strong-fg: #0F172A;
    --btn-strong-hover: #FFFFFF;
    --badge-bg: #1C2842;
    --shot-bg: #16213A;
    --shadow: 0 12px 32px rgba(0, 0, 0, .35);
    --ok: #4ADE80;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #0A0F1C;
  --surface: #111A2E;
  --surface-hover: #15203A;
  --soft-bg: #0E1627;
  --ink: #F1F5F9;
  --text: #E2E8F0;
  --muted: #A3B1C6;
  --faint: #8A9AB2;
  --border: #1F2B42;
  --border-2: #243149;
  --input-border: #33425E;
  --accent: #E8914A;
  --accent-hover: #F0A566;
  --accent-text: #F0A15E;
  --accent-text-hover: #F7BD85;
  --on-accent: #0F172A;
  --nav-bg: rgba(10, 15, 28, .94);
  --topbar-bg: #060A14;
  --hero-bg: #0D1426;
  --hero-top: #0D1426;
  --hero-ink: #F8FAFC;
  --hero-muted: #B8C4D6;
  --hero-kicker: #E8914A;
  --hero-ghost: #F8FAFC;
  --hero-ghost-border: #475569;
  --hero-line: transparent;
  --hero-foto-line: #334155;
  --hero-foto-shadow: 0 24px 60px rgba(0, 0, 0, .35);
  --band-bg: #111A2E;
  --band-line: #243149;
  --dark-line: #2B3A57;
  --on-dark: #F8FAFC;
  --on-dark-muted: #B8C4D6;
  --footer-bg: #060A14;
  --footer-line: #1A2439;
  --footer-faint: #8A9AB2;
  --btn-strong-bg: #F1F5F9;
  --btn-strong-fg: #0F172A;
  --btn-strong-hover: #FFFFFF;
  --badge-bg: #1C2842;
  --shot-bg: #16213A;
  --shadow: 0 12px 32px rgba(0, 0, 0, .35);
  --ok: #4ADE80;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--page); line-height: 1.5; transition: background-color .25s, color .25s; }
h1, h2, h3 { font-family: var(--display); margin: 0; font-weight: 700; }
p { margin: 0; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { color: var(--accent-text-hover); }
img { max-width: 100%; display: block; }
svg { flex-shrink: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; }
.soft { background: var(--soft-bg); }
.dark { background: var(--hero-bg); color: var(--on-dark); }
.dark-2 { background: var(--band-bg); color: var(--on-dark); }

.kicker { font-size: 13px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent-text); }
.dark .kicker, .dark-2 .kicker { color: var(--band-kicker, var(--accent)); }
.hero .kicker { color: var(--hero-kicker); }
.h2 { font-size: clamp(30px, 3.2vw, 42px); letter-spacing: -1px; line-height: 1.12; }
.lead { font-size: 18px; line-height: 1.6; color: var(--muted); }
.head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 48px; }
.head.center { align-items: center; text-align: center; }
.head.center .lead { max-width: 720px; }

.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 6px; font-weight: 700; font-size: 15px; border: 0; cursor: pointer; font-family: var(--body); transition: background .15s, color .15s, border-color .15s; }
.btn-orange { background: var(--accent); color: var(--on-accent); }
.btn-orange:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-navy { background: var(--btn-strong-bg); color: var(--btn-strong-fg); }
.btn-navy:hover { background: var(--btn-strong-hover); color: var(--btn-strong-fg); }
.btn-ghost { border: 1.5px solid var(--hero-ghost-border); color: var(--hero-ghost); }
.btn-ghost:hover { border-color: var(--hero-ghost); color: var(--hero-ghost); }
.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); justify-content: center; }
.btn-outline:hover { background: var(--ink); color: var(--page); }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; }

.logo { font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.logo .c { color: var(--ink); }
.logo .f { color: var(--accent); }

/* Serviceleiste */
.topbar { background: var(--topbar-bg); color: var(--on-dark-muted); font-size: 13px; }
.topbar .wrap { height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar .grp { display: flex; gap: 28px; align-items: center; }
.topbar span { display: inline-flex; gap: 8px; align-items: center; }
.topbar a { color: var(--on-dark-muted); }
.topbar a:hover { color: var(--on-dark); }
.topbar .lang { color: var(--on-dark); font-weight: 600; }

/* Tag/Nacht-Schalter */
.theme-toggle { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 10px; border-radius: 15px; border: 1px solid #2B3A57; background: transparent; color: var(--on-dark); font-family: var(--body); font-size: 12.5px; font-weight: 600; cursor: pointer; transition: background .15s, border-color .15s; }
.theme-toggle:hover { background: rgba(255, 255, 255, .08); border-color: #475569; }
.theme-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display: none; }
}

/* Navigation */
.nav { background: var(--nav-bg); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 10; }
.nav .wrap { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.nav .brand { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.nav .brand .logo { font-size: 30px; }
.nav .brand small { font-family: var(--display); font-weight: 500; font-size: 12.5px; color: var(--muted); text-align: center; white-space: nowrap; }
.nav .btn { white-space: nowrap; flex-shrink: 0; height: 48px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.nav ul a { color: var(--ink); display: inline-flex; gap: 6px; align-items: center; }
.nav ul a:hover { color: var(--accent-text); }

/* Hero */
.hero { background: var(--hero-top); color: var(--hero-ink); border-bottom: 1px solid var(--hero-line); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; padding-top: 96px; padding-bottom: 96px; }
.hero .txt { display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-size: clamp(38px, 4.2vw, 58px); line-height: 1.06; letter-spacing: -1.6px; }
.hero p { font-size: 19px; line-height: 1.6; color: var(--hero-muted); }
.hero .ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.shot { border-radius: 10px; overflow: hidden; border: 1px solid var(--dark-line); background: var(--shot-bg); }
.shot .bar { height: 30px; display: flex; gap: 7px; align-items: center; padding: 0 14px; }
.shot .bar i { width: 10px; height: 10px; border-radius: 50%; background: #475569; }
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.stats { background: var(--band-bg); color: var(--on-dark); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats .wrap > div { padding: 28px 0 28px 40px; border-right: 1px solid var(--band-line); }
.stats .wrap > div:first-child { padding-left: 0; }
.stats .wrap > div:last-child { border-right: 0; }
.stats b { display: block; font-family: var(--display); font-size: 30px; }
.stats span { font-size: 14px; color: var(--on-dark-muted); }

/* Karten */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.card { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; background: var(--surface); transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card .pic { height: 180px; background: var(--soft-bg); display: flex; align-items: center; justify-content: center; color: var(--ink); }
.card .body { padding: 32px; display: flex; flex-direction: column; gap: 14px; flex-grow: 1; }
.card h3 { font-size: 24px; letter-spacing: -0.4px; }
.card p { font-size: 16px; line-height: 1.6; color: var(--muted); flex-grow: 1; }

/* Portfolio */
.split { display: grid; grid-template-columns: 380px 1fr; gap: 80px; align-items: start; }
.split .side { display: flex; flex-direction: column; gap: 20px; }
.split .side p { font-size: 17px; line-height: 1.65; color: var(--muted); }
.split .side .btn { align-self: flex-start; margin-top: 8px; }
.dark-2 .split .side p { color: var(--on-dark-muted); }
.svc { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border-2); border: 1px solid var(--border-2); border-radius: 10px; overflow: hidden; }
.svc a { background: var(--surface); padding: 22px 26px; display: flex; flex-direction: column; gap: 6px; color: var(--ink); }
.svc a:hover { background: var(--surface-hover); color: var(--ink); }
.svc small { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--faint); }
.svc span { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: var(--display); font-size: 19px; font-weight: 700; }
.svc svg { color: var(--accent-text); transition: transform .15s; }
.svc a:hover svg { transform: translateX(3px); }

/* Produkte */
.prod { border: 1px solid var(--border); border-top: 4px solid var(--ink); border-radius: 10px; padding: 36px 32px; display: flex; flex-direction: column; gap: 18px; background: var(--surface); }
.prod small { font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--faint); }
.prod h3 { font-size: 28px; letter-spacing: -0.6px; }
.prod p { font-size: 16px; line-height: 1.6; color: var(--muted); }
.prod hr { border: 0; height: 1px; background: var(--border); margin: 0; width: 100%; }
.prod ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.prod li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text); }
.prod li svg { color: var(--accent-text); margin-top: 2px; }
.note { margin-top: 32px; padding: 24px 28px; border-radius: 10px; background: var(--soft-bg); font-size: 16px; line-height: 1.6; color: var(--muted); }
.note b { color: var(--ink); }

/* Ablauf */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.steps div { padding-top: 24px; border-top: 1px solid var(--dark-line); display: flex; flex-direction: column; gap: 14px; }
.steps b { font-family: var(--display); font-size: 40px; font-weight: 800; color: var(--accent); line-height: 1; }
.steps h3 { font-size: 21px; color: var(--on-dark); }
.steps p { font-size: 15px; line-height: 1.6; color: var(--on-dark-muted); }

/* Partner */
.logos { display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; }
.logos div { height: 96px; border: 1px solid var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--faint); text-align: center; padding: 0 8px; background: var(--surface); transition: color .15s, border-color .15s; }
.logos div:hover { color: var(--ink); border-color: var(--input-border); }

/* Mitmachen */
.band { border-radius: 12px; background: var(--soft-bg); padding: 56px 64px; display: flex; justify-content: space-between; align-items: center; gap: 48px; }
.band .t { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.band h2 { font-size: 34px; letter-spacing: -0.8px; }
.band p { font-size: 17px; line-height: 1.6; color: var(--muted); }
.band .btn { flex-shrink: 0; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border-2); border-radius: 8px; }
.faq summary { list-style: none; cursor: pointer; min-height: 64px; padding: 18px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--display); font-size: 19px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; border-radius: 8px; }
.faq summary svg { color: var(--accent-text); transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; font-size: 16px; line-height: 1.65; color: var(--muted); }

/* Grundsätze */
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.values div { display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; padding: 28px 16px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.values i { width: 56px; height: 56px; border-radius: 50%; background: var(--badge-bg); display: flex; align-items: center; justify-content: center; color: var(--accent); }
.values b { font-family: var(--display); font-size: 17px; }
.values span { font-size: 14px; line-height: 1.5; color: var(--muted); }

/* Kontakt */
.contact-list { display: flex; flex-direction: column; gap: 16px; margin-top: 12px; font-size: 16px; }
.contact-list div { display: flex; gap: 14px; align-items: center; color: var(--on-dark); }
.contact-list svg { color: var(--accent); }
.contact-list a { color: var(--on-dark); }
.contact-list a:hover { color: var(--accent); }
form { background: var(--surface); border: 1px solid transparent; border-radius: 12px; padding: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; color: var(--text); }
:root[data-theme="dark"] form { border-color: var(--border-2); }
form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
form .full { grid-column: 1 / -1; }
form input[type=text], form input[type=email], form select, form textarea { height: 48px; border: 1px solid var(--input-border); border-radius: 6px; padding: 0 14px; font-size: 15px; font-family: var(--body); color: var(--ink); background: var(--page); }
form textarea { height: auto; padding: 12px 14px; resize: vertical; }
form input:focus, form select:focus, form textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
form .check { flex-direction: row; gap: 12px; align-items: flex-start; font-weight: 400; line-height: 1.5; color: var(--muted); }
form .check input { width: 20px; height: 20px; margin: 0; flex-shrink: 0; accent-color: var(--accent-text); }
form .btn { justify-self: start; }
.sent { grid-column: 1 / -1; color: var(--ok); font-weight: 600; display: none; }

/* Fußzeile */
footer { background: var(--footer-bg); color: var(--on-dark-muted); padding: 72px 0 40px; border-top: 1px solid var(--footer-line); }
footer .cols { display: grid; grid-template-columns: 360px 1fr 1fr 1fr; gap: 48px; }
footer .logo { font-size: 28px; }
footer .logo .c { color: var(--on-dark); }
footer p { font-size: 15px; line-height: 1.65; margin-top: 16px; }
footer h4 { font-family: var(--display); color: var(--on-dark); font-size: 16px; margin: 0 0 16px; }
footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
footer a { color: var(--on-dark-muted); }
footer a:hover { color: var(--on-dark); }
footer .legal { border-top: 1px solid var(--footer-line); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 13px; color: var(--footer-faint); }
footer .legal nav { display: flex; gap: 24px; }
footer .legal a { color: var(--footer-faint); }

.draft { position: fixed; right: 16px; bottom: 16px; z-index: 20; background: var(--btn-strong-bg); color: var(--btn-strong-fg); font-size: 12px; font-weight: 600; padding: 8px 12px; border-radius: 6px; box-shadow: 0 4px 16px rgba(0,0,0,.2); }

@media (max-width: 1240px) {
  .nav ul { display: none; }
  .topbar .hide-m { display: none; }
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; padding-top: 64px; padding-bottom: 64px; }
  .split { grid-template-columns: 1fr !important; gap: 40px; }
  .logos { grid-template-columns: repeat(4, 1fr); }
  .values { grid-template-columns: repeat(3, 1fr); }
  footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .section { padding: 72px 0; }
  .topbar .grp:first-child span:not(:first-child) { display: none; }
  .topbar .grp { gap: 16px; }
  .theme-toggle .lbl { display: none; }
  .theme-toggle { padding: 0 9px; }
  .nav .brand small { display: none; }
  .nav .btn { height: 44px; padding: 0 16px; font-size: 14px; }
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .stats .wrap > div { padding: 20px 0 !important; border-right: 0; }
  .grid3, .steps, .svc { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: 1fr 1fr; }
  .band { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
  form { grid-template-columns: 1fr; padding: 28px; }
  footer .cols { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } html { scroll-behavior: auto; } }

/* ── Keppler: Ergänzungen ── */
.logo { white-space: nowrap; }
.nav .brand .logo { font-size: 28px; }
.draft { opacity: .85; }

/* Dropdowns in der Navigation */
.nav ul li { position: relative; }
.nav ul ul { display: none; position: absolute; top: 100%; left: -16px; min-width: 250px; flex-direction: column; gap: 0; padding: 10px 0; margin-top: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow); white-space: normal; }
.nav ul ul::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav ul li.dd:hover > ul, .nav ul li.dd:focus-within > ul { display: flex; }
.nav ul ul a { display: block; padding: 9px 18px; font-weight: 500; }
.nav ul ul a:hover { background: var(--soft-bg); }
.nav-rechts { display: flex; align-items: center; gap: 12px; }
.menu-knopf { display: none; width: 44px; height: 44px; border: 1px solid var(--border-2); border-radius: 6px; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-knopf span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 1px; }

/* Fotos: ohne abgerundete Ecken (Tobias, 29.09.2026) */
.foto-hero { margin: 0; overflow: hidden; border: 1px solid var(--hero-foto-line); box-shadow: var(--hero-foto-shadow); }
.foto-hero img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card:has(> .pic.foto) { border-radius: 0; }
.card .pic.foto { height: 210px; padding: 0; }
.card .pic.foto img { width: 100%; height: 100%; object-fit: cover; }
.partner-logo { height: 72px; display: flex; align-items: center; }
.partner-logo img { max-height: 64px; width: auto; background: #FFFFFF; padding: 6px 10px; border: 1px solid var(--border); }

/* vNOC42 */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature .t { display: flex; flex-direction: column; gap: 20px; }
.feature .t > p { font-size: 17px; line-height: 1.65; color: var(--muted); }
.feature .ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.feature figure { margin: 0; overflow: hidden; border: 1px solid var(--border); }
.feature figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 50%; }
.haken { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; }
.haken li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.55; color: var(--muted); }
.haken li b { display: block; color: var(--ink); font-family: var(--display); font-size: 16.5px; margin-bottom: 2px; }
.haken li svg { color: var(--accent-text); margin-top: 2px; }

/* News */
.news { display: flex; flex-direction: column; gap: 12px; }
.news article { background: var(--surface); border: 1px solid var(--border-2); border-radius: 8px; padding: 22px 26px; display: flex; flex-direction: column; gap: 6px; }
.news small { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--accent-text); }
.news p { font-size: 16px; line-height: 1.6; color: var(--text); }

/* Kontaktformular */
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
form .hinweis { grid-column: 1 / -1; font-size: 13.5px; color: var(--faint); }
form input[type=text], form input[type=email] { width: 100%; }

/* Unterseiten: Inhalte der bisherigen keppler.de im neuen Stil */
.sub-kopf { background: var(--hero-top); color: var(--hero-ink); }
.sub-kopf .wrap { padding-top: 20px; padding-bottom: 20px; font-size: 14px; color: var(--hero-muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.sub-kopf a { color: var(--hero-muted); }
.sub-kopf a:hover { color: var(--hero-ink); }
.sub-kopf span[aria-current] { color: var(--hero-ink); font-weight: 600; }
.sub { padding: 72px 0 104px; background: var(--page); }
.sub h1 { font-size: clamp(34px, 4vw, 50px); letter-spacing: -1.2px; line-height: 1.08; margin-bottom: 24px; }
.sub h2 { font-size: 24px; letter-spacing: -0.4px; margin: 36px 0 14px; }
.sub p { font-size: 17px; line-height: 1.75; color: var(--muted); margin-bottom: 18px; }
.sub p.intro { font-size: 20px; line-height: 1.6; color: var(--ink); margin-bottom: 26px; }
.sub ul { margin: 0 0 18px; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.sub ul li { position: relative; padding-left: 26px; font-size: 16.5px; line-height: 1.6; color: var(--muted); }
.sub ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.sub .page-text, .sub .text-page { max-width: 780px; }
.sub .split-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.sub .split-layout > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--border); position: sticky; top: 112px; }
.sub .stacked-page .top-image { margin: 0 0 56px; overflow: hidden; border: 1px solid var(--border); }
.sub .stacked-page .top-image img { width: 100%; height: clamp(200px, 28vw, 360px); object-fit: cover; }
.sub .inline-logo { height: 72px; width: auto; background: #FFFFFF; padding: 8px 12px; border: 1px solid var(--border); }
.sub .news-page h1 + h2 { margin-top: 8px; }
.sub .news-page h2 { font-size: 13px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--accent-text); margin: 28px 0 8px; font-family: var(--body); }
.sub .news-page h1 br { display: none; }
.sub .news-page h1:not(:first-child) { font-size: 32px; margin: 56px 0 0; padding-top: 32px; border-top: 1px solid var(--border); }
.sub h3 { font-size: 19px; margin: 24px 0 10px; }
.sub code { font-size: .92em; background: var(--soft-bg); padding: 1px 6px; border-radius: 4px; }
.sub-band { margin-top: 72px; }
.sub .band h2 { font-size: 34px; margin: 0; }
.sub .band p { font-size: 17px; line-height: 1.6; margin: 0; color: var(--muted); }

@media (max-width: 1240px) {
  .menu-knopf { display: inline-flex; }
  .nav.offen ul#menu { display: flex; position: absolute; top: 84px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 12px 24px 20px; background: var(--page); border-bottom: 1px solid var(--border); box-shadow: var(--shadow); white-space: normal; }
  .nav.offen ul#menu > li > a { padding: 12px 0; }
  .nav.offen ul#menu ul { display: flex; position: static; box-shadow: none; border: 0; margin: 0 0 6px; padding: 0 0 0 14px; background: transparent; min-width: 0; }
  .nav.offen ul#menu ul a { padding: 7px 0; color: var(--muted); }
  .feature { grid-template-columns: 1fr; gap: 40px; }
  .sub .split-layout { grid-template-columns: 1fr; gap: 40px; }
  .sub .split-layout > img { position: static; max-height: 360px; }
}
@media (max-width: 760px) {
  .nav .brand .logo { font-size: 23px; }
  .nav .btn-orange { display: none; }
  .haken { grid-template-columns: 1fr; }
  .sub { padding: 48px 0 72px; }
}

/* Titelbild: Hafenfoto über die rechten drei Viertel, flacher Ausschnitt, nach
 * links weich in den Titelgrund auslaufend (Tobias, 29.09.2026).
 * Vorher am selben Tag: Vollbild-Hintergrund, dann 4:3-Bild rechts am Rand. */
.hero.foto-rechts { position: relative; overflow: hidden; }
.hero.foto-rechts .wrap { grid-template-columns: minmax(0, 1fr); min-height: 560px; position: relative; z-index: 1; }
.hero.foto-rechts .txt { max-width: 540px; }
.hero-foto-rechts { position: absolute; top: 0; right: 0; bottom: 0; width: 75%; height: 100%; object-fit: cover; object-position: 50% 55%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.15) 24%, rgba(0,0,0,.7) 48%, #000 64%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.15) 24%, rgba(0,0,0,.7) 48%, #000 64%); }
@media (max-width: 1240px) {
  .hero.foto-rechts { display: flex; flex-direction: column; }
  .hero.foto-rechts .wrap { min-height: 0; padding-bottom: 40px; width: 100%; }
  .hero.foto-rechts .txt { max-width: none; }
  .hero-foto-rechts { position: static; order: 2; display: block; width: 100%; height: clamp(200px, 42vw, 380px); margin-left: auto;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 28%); mask-image: linear-gradient(180deg, transparent 0%, #000 28%); }
}

/* Brückenfoto im vNOC42-Block blattfüllend (Tobias, 29.09.2026).
 * Verlauf in der Farbe der Sektion, Mast und Kuppeln rechts frei. */
:root { --soft-schleier: 241, 244, 248; }
:root[data-theme="dark"] { --soft-schleier: 14, 22, 39; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --soft-schleier: 14, 22, 39; } }
.foto-bg-bruecke { position: relative; overflow: hidden; background: var(--soft-bg) url('../img/bridge.jpg') 20% center / cover no-repeat; min-height: 760px; display: flex; align-items: center; }
.foto-bg-bruecke::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--soft-schleier), .97) 0%, rgba(var(--soft-schleier), .94) 46%, rgba(var(--soft-schleier), .35) 62%, rgba(var(--soft-schleier), 0) 74%); }
.foto-bg-bruecke > .wrap { position: relative; width: 100%; }
.foto-bg-bruecke .feature { grid-template-columns: minmax(0, 580px); }
@media (max-width: 1240px) {
  .foto-bg-bruecke { min-height: 0; align-items: flex-start; background-position: 50% bottom; background-size: auto 340px; background-color: var(--soft-bg); }
  .foto-bg-bruecke::before { background: linear-gradient(180deg, rgba(var(--soft-schleier), 1) 0%, rgba(var(--soft-schleier), 1) calc(100% - 380px), rgba(var(--soft-schleier), 0) calc(100% - 250px)); }
  .foto-bg-bruecke > .wrap { padding-bottom: 300px; }
}

/* Unterseiten AWS, Sophos, ALSO: Foto blattfüllend hinter dem Text (Tobias, 29.09.2026) */
:root { --page-schleier: 255, 255, 255; }
:root[data-theme="dark"] { --page-schleier: 10, 15, 28; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --page-schleier: 10, 15, 28; } }
.sub.sub-foto { padding-top: 0; }
.sub-foto-bg { position: relative; overflow: hidden; background-color: var(--page); background-position: center; background-size: cover; background-repeat: no-repeat; min-height: calc(100vh - 184px); min-height: calc(100svh - 184px); display: flex; align-items: center; padding: 80px 0; }
.sub-foto-bg::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--page-schleier), .97) 0%, rgba(var(--page-schleier), .93) 44%, rgba(var(--page-schleier), .35) 62%, rgba(var(--page-schleier), 0) 74%); }
.sub-foto-bg > .wrap { position: relative; width: 100%; }
.sub-foto-bg .page-text { max-width: 580px; }
@media (max-width: 1240px) {
  .sub-foto-bg { min-height: 0; display: block; padding: 56px 0 calc(75vw + 16px); background-size: 100% auto; background-position: center bottom; }
  .sub-foto-bg::before { background: linear-gradient(180deg, rgba(var(--page-schleier), 1) 0%, rgba(var(--page-schleier), 1) calc(100% - 75vw - 16px), rgba(var(--page-schleier), 0) calc(100% - 75vw + 60px)); }
}

/* vNOC42-Wortlogo wie im Portal noc26.virtual42.com (Tobias, 29.09.2026) */
:root { --vnoc-logo: #1a1a2e; }
:root[data-theme="dark"] { --vnoc-logo: #FFFFFF; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --vnoc-logo: #FFFFFF; } }
.vnoc-wortlogo, .vnoc-wortlogo:hover { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 30px; font-weight: 700; letter-spacing: .3px; line-height: 1; color: var(--vnoc-logo); text-decoration: none; }
.vnoc-wortlogo .z { color: #ee7c1b; }

/* Unterseiten mit neu geschriebenem Inhalt (inhalte/*.html) */
.eigen-kopf { background: var(--hero-top); color: var(--hero-ink); border-bottom: 1px solid var(--hero-line); }
.eigen-kopf-raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: 64px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.eigen-kopf .txt { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.eigen-kopf h1 { font-size: clamp(36px, 4vw, 54px); line-height: 1.06; letter-spacing: -1.4px; }
@media (min-width: 900px) { .eigen-kopf h1 { white-space: nowrap; } }  /* Tobias, 29.09.2026: Überschrift in einer Zeile */
.eigen-kopf .lead { color: var(--hero-muted); max-width: 760px; }
.eigen-kopf .ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.eigen-kopf .btn-outline { border-color: var(--hero-ghost-border); color: var(--hero-ghost); }
.eigen-kopf .btn-outline:hover { background: var(--hero-ghost); color: var(--hero-top); }
.eigen-kopf .kicker { color: var(--hero-kicker); }
.eigen-bild { margin: 0; }
.eigen-bild img { width: 100%; height: clamp(220px, 30vw, 440px); object-fit: cover; }
.kacheln { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.kacheln article { border: 1px solid var(--border); border-radius: 10px; padding: 32px; background: var(--surface); display: flex; flex-direction: column; gap: 12px; }
.kacheln i { width: 48px; height: 48px; border-radius: 50%; background: var(--badge-bg); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.kacheln h3 { font-size: 21px; letter-spacing: -0.3px; }
.kacheln p { font-size: 15.5px; line-height: 1.65; color: var(--muted); }
.eigen .split .haken { grid-template-columns: 1fr 1fr; }
.eigen-band { padding-bottom: 104px; }
.eigen-band .sub-band { margin-top: 0; }
@media (max-width: 1240px) {
  .eigen-kopf-raster { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; padding-bottom: 56px; }
  .kacheln { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .kacheln, .eigen .split .haken { grid-template-columns: 1fr; }
  .eigen-band .sub-band { margin-top: 0; }
}

/* Einblicke ins Portal: Bildschirmfoto im Fensterrahmen neben Text, abwechselnd */
.einblick { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; margin-bottom: 72px; }
.einblick.umgekehrt { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.einblick.umgekehrt .rahmen { order: 2; }
.einblick .t { display: flex; flex-direction: column; gap: 16px; }
.einblick h3 { font-size: 26px; letter-spacing: -0.5px; line-height: 1.2; }
.einblick .t > p { font-size: 16.5px; line-height: 1.65; color: var(--muted); }
.haken.eng { grid-template-columns: 1fr; gap: 10px; }
.rahmen { margin: 0; border: 1px solid var(--border-2); background: var(--shot-bg); box-shadow: var(--shadow); }
.rahmen .bar { height: 26px; display: flex; gap: 6px; align-items: center; padding: 0 12px; }
.rahmen .bar i { width: 9px; height: 9px; border-radius: 50%; background: #475569; }
.rahmen img { width: 100%; height: auto; }
.rahmen .bild-dunkel { display: none; }
:root[data-theme="dark"] .rahmen .bild-hell { display: none; }
:root[data-theme="dark"] .rahmen .bild-dunkel { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .rahmen .bild-hell { display: none; }
  :root:not([data-theme="light"]) .rahmen .bild-dunkel { display: block; }
}
.bildnachweis { text-align: center; font-size: 13px; color: var(--faint); margin-top: -32px; }
@media (max-width: 1240px) {
  .einblick, .einblick.umgekehrt { grid-template-columns: 1fr; gap: 28px; margin-bottom: 56px; }
  .einblick.umgekehrt .rahmen { order: 0; }
  .bildnachweis { margin-top: -16px; }
}

/* Formularmeldung bei Fehler */
.sent.fehler { color: #B91C1C; }
:root[data-theme="dark"] .sent.fehler { color: #F87171; }

/* Sprachwahl in der Serviceleiste (nur auf den veröffentlichten Seiten) */
.lang-wahl { position: relative; }
.lang-wahl summary { list-style: none; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; color: var(--on-dark); font-weight: 600; }
.lang-wahl summary::-webkit-details-marker { display: none; }
.lang-wahl ul { position: absolute; right: 0; top: calc(100% + 10px); z-index: 30; list-style: none; margin: 0; padding: 8px 0; min-width: 170px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow); }
.lang-wahl ul a { display: flex; align-items: center; gap: 10px; padding: 7px 16px; color: var(--ink); font-size: 14px; }
.lang-wahl .flagge { flex-shrink: 0; box-shadow: 0 0 0 1px rgba(15, 23, 42, .18); }
.lang-wahl ul a:hover { background: var(--soft-bg); color: var(--ink); }
.lang-wahl ul a[aria-current] { color: var(--accent-text); font-weight: 700; }

/* PORTAL-PREISE (AIPM 180, erzeugt von ~/Dev/Portal-Preise/preise.py) */
.pp-reihe { font-family: var(--display); font-size: 20px; font-weight: 700; margin: 8px 0 18px; color: var(--ink); }
.pp-reihe small { display: block; font-family: var(--body); font-size: 14px; font-weight: 400; color: var(--muted); margin-top: 4px; }
.pp-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: 14px; margin-bottom: 40px; }
.pp-karte { border: 1px solid var(--border); border-top: 4px solid var(--ink); border-radius: 10px; padding: 20px 18px; background: var(--surface); display: flex; flex-direction: column; gap: 12px; }
.pp-karte.anfrage { border-top-color: var(--accent); }
.pp-name { font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--ink); }
.pp-preis b { display: block; font-family: var(--display); font-size: 28px; font-weight: 800; line-height: 1.1; color: var(--ink); }
.pp-karte.anfrage .pp-preis b, .pp-karte.frei .pp-preis b { font-size: 22px; }
.pp-preis span { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }
.pp-karte ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--text); flex-grow: 1; }
.pp-karte li.pp-api::before { content: '\2713\00a0'; color: var(--accent); font-weight: 700; }
.pp-marke { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 20px; background: var(--accent); color: var(--on-accent); }
.pp-fuss { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0 0 24px; }
/* /PORTAL-PREISE */

/* AGB (AIPM 192): Übersetzungshinweis und Inhaltsverzeichnis */
.agb-page .agb-hinweis { border-left: 3px solid var(--accent); background: var(--soft-bg); padding: 14px 18px; border-radius: 6px; font-size: 15px; }
.agb-page .agb-inhalt { columns: 2; column-gap: 40px; padding-left: 1.4em; line-height: 1.9; }
.agb-page h3 { scroll-margin-top: 110px; }
@media (max-width: 760px) { .agb-page .agb-inhalt { columns: 1; } }
