/* IT-Consulting Hellweg – Stylesheet. Keine externen Schriften oder Dienste (DSGVO). */
:root {
  --navy: #1d1a6e;
  --navy-900: #110f45;
  --navy-700: #2b2790;
  --yellow: #f5c400;
  --yellow-600: #d9ad00;
  --ink: #17163a;
  --muted: #5d5c7a;
  --line: #e3e2ef;
  --bg: #ffffff;
  --tint: #f5f5fa;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(17 15 69 / .06), 0 8px 24px rgb(17 15 69 / .06);
  --wrap: 1160px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); }
img, svg { display: block; max-width: 100%; }
a { color: var(--navy-700); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.015em; margin: 0 0 .5em; color: var(--navy-900); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 750; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 650; }
p { margin: 0 0 1em; }
code { font-family: var(--mono); font-size: .88em; background: var(--tint); border: 1px solid var(--line); padding: .05em .4em; border-radius: 6px; color: var(--navy); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--yellow); color: var(--navy-900); padding: 10px 16px; border-radius: 8px; z-index: 100; font-weight: 600; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; background: var(--yellow); color: var(--navy-900); font-weight: 650; text-decoration: none; padding: .8em 1.3em; border-radius: 999px; border: 2px solid var(--yellow); font: inherit; font-weight: 650; cursor: pointer; transition: background .15s, transform .15s; }
.btn svg { width: 1.1em; height: 1.1em; }
.btn:hover { background: var(--yellow-600); border-color: var(--yellow-600); color: var(--navy-900); transform: translateY(-1px); }
.btn-small { padding: .45em 1em; font-size: .92rem; }
.btn-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-ghost-light { background: transparent; border-color: rgb(255 255 255 / .35); color: #fff; }
.btn-ghost-light:hover { background: rgb(255 255 255 / .1); border-color: #fff; color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; }
.link-arrow svg { width: 1.1em; height: 1.1em; transition: transform .15s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy-900); }
.logo-mark { width: 52px; height: 32px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.02rem; letter-spacing: -.01em; }
.brand-text small { font-size: .78rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 550; padding: .5em .85em; border-radius: 999px; }
.main-nav a:not(.btn):hover { background: var(--tint); }
.main-nav a[aria-current="page"] { color: var(--navy); background: #ecebf8; }
.main-nav .btn { margin-left: 8px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer; position: relative; }
.nav-toggle span:first-child, .nav-toggle span:first-child::before, .nav-toggle span:first-child::after { position: absolute; left: 11px; width: 20px; height: 2px; background: var(--navy-900); content: ""; transition: transform .2s; }
.nav-toggle span:first-child { top: 21px; }
.nav-toggle span:first-child::before { left: 0; top: -6px; }
.nav-toggle span:first-child::after { left: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] span:first-child { background: transparent; }
.nav-toggle[aria-expanded="true"] span:first-child::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:first-child::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #3a35b8 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%); color: #fff; overflow: hidden; position: relative; }
.hero::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 520px; height: 520px; background: var(--yellow); opacity: .07; clip-path: polygon(40% 0, 100% 0, 60% 45%, 85% 45%, 20% 100%, 40% 55%, 15% 55%); pointer-events: none; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 96px; position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero .hl { color: var(--yellow); }
.hero .lead { color: #d6d5f3; font-size: 1.15rem; max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-700); margin-bottom: .8em; }
.eyebrow-light { color: var(--yellow); }
.term { background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .14); border-radius: 18px; box-shadow: 0 30px 60px rgb(0 0 0 / .3); overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid rgb(255 255 255 / .1); font-family: var(--mono); font-size: .78rem; color: #b9b8e3; }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgb(255 255 255 / .25); }
.term-bar i:first-child { background: var(--yellow); }
.term-bar span { margin-left: 8px; }
.term-body { padding: 22px; display: grid; gap: 16px; }
.metric { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.metric span { color: #b9b8e3; font-size: .9rem; flex: 1 1 100%; }
.metric b { font-size: 2.2rem; font-weight: 750; letter-spacing: -.02em; }
.metric em { font-style: normal; font-weight: 700; color: #7ee2a8; }
.metric.small { border-top: 1px solid rgb(255 255 255 / .1); padding-top: 12px; }
.metric.small span { flex: 1; }
.metric.small b { font-size: 1.1rem; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; }
.bars i { flex: 1; height: var(--h); background: linear-gradient(180deg, var(--yellow), rgb(245 196 0 / .35)); border-radius: 6px 6px 2px 2px; }
.visual-note { font-size: .75rem; color: #8f8ec2; text-align: right; margin: 8px 4px 0; }

/* Sections */
.section { padding: 88px 0; }
.section-tint { background: var(--tint); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 36px; }
.section-head .eyebrow { flex: 1 1 100%; margin: 0; }
.section-head h2 { margin: 0; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; }
.prose { max-width: 70ch; }
.prose p, .prose li { color: #33324f; }
.narrow { max-width: 820px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 44em; }
.pillars { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.pillars li { padding: 22px 20px 0 0; display: flex; flex-direction: column; gap: 4px; border-left: 3px solid transparent; }
.pillars b { color: var(--navy); font-size: 1.05rem; position: relative; padding-left: 16px; }
.pillars b::before { content: ""; position: absolute; left: 0; top: .45em; width: 8px; height: 8px; background: var(--yellow); border-radius: 2px; transform: rotate(45deg); }
.pillars span { color: var(--muted); font-size: .95rem; padding-left: 16px; }

/* Cards */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); color: inherit; text-decoration: none; display: flex; flex-direction: column; }
a.card { transition: transform .18s, box-shadow .18s, border-color .18s; }
a.card:hover { transform: translateY(-3px); border-color: #c9c7ea; box-shadow: 0 2px 4px rgb(17 15 69 / .06), 0 18px 40px rgb(17 15 69 / .1); color: inherit; }
.card p { color: var(--muted); }
.card h2 { font-size: 1.25rem; }
.more { margin-top: auto; display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--navy-700); }
.more svg { width: 1.05em; height: 1.05em; transition: transform .15s; }
a.card:hover .more svg { transform: translateX(3px); }
.svc-icon { width: 46px; height: 46px; padding: 10px; border-radius: 12px; background: #ecebf8; color: var(--navy); margin-bottom: 18px; }
a.svc-card:hover .svc-icon { background: var(--navy); color: var(--yellow); }
.card-dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.card-dark h2 { color: #fff; }
.card-dark p { color: #d6d5f3; }
.card-dark .btn { align-self: flex-start; }

/* Feature */
.feature { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.feature-badge { aspect-ratio: 1; border-radius: 28px; background: linear-gradient(145deg, var(--navy) 0%, var(--navy-900) 100%); display: grid; place-items: center; box-shadow: var(--shadow); }
.feature-badge .logo-mark { width: 62%; height: auto; }
.feature-badge .logo-mark path:first-child { fill: rgb(255 255 255 / .06); }
.checks { list-style: none; padding: 0; margin: 0 0 1.6em; display: grid; gap: .55em; }
.checks li { display: flex; gap: .65em; align-items: flex-start; }
.checks svg { width: 1.25em; height: 1.25em; flex: none; margin-top: .2em; color: var(--navy); background: #fff3c2; border-radius: 50%; padding: 3px; }

/* CTA */
.cta { background: var(--navy-900); color: #fff; padding: 64px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { color: #c3c2ea; margin: 0; max-width: 40em; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-actions .btn-ghost-light svg { width: 1.1em; height: 1.1em; }

/* Page head */
.page-head { background: linear-gradient(160deg, #f3f2fb 0%, #fff 70%); border-bottom: 1px solid var(--line); padding: 56px 0 48px; }
.page-head h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
.page-head .lead { margin: 0; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 22px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); }
.crumbs span[aria-current] { color: var(--ink); }

/* Service detail */
.with-aside { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: start; }
.aside { display: grid; gap: 22px; position: sticky; top: 96px; }
.aside-nav { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.aside-nav a { display: block; padding: .45em .7em; border-radius: 8px; text-decoration: none; color: var(--ink); }
.aside-nav a:hover { background: var(--tint); }
.aside-nav a[aria-current] { background: #ecebf8; color: var(--navy); font-weight: 600; }
.list-card .checks { margin: 0; }
.list-card .checks li { color: #33324f; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: .97rem; }
th, td { text-align: left; padding: 12px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--tint); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
tbody tr:last-child > * { border-bottom: 0; }
tbody tr:hover { background: #fafaff; }
td:first-child { width: 160px; }
.checklist th[scope="row"] { color: var(--navy-900); width: 210px; }
.checklist td.tools { display: flex; flex-wrap: wrap; gap: 6px; }
.checklist td.tools code { white-space: normal; }
.note { color: var(--muted); font-size: .92rem; margin-top: 16px; }
.tx-tools { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.search { flex: 1 1 320px; }
.search input { width: 100%; font: inherit; padding: .8em 1em .8em 2.8em; border: 1px solid #cfcde4; border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d5c7a' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m16 16 4 4'/%3E%3C/svg%3E") no-repeat 1em center / 1.2em; }
.search input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgb(29 26 110 / .12); }
.tx-count { margin: 0; color: var(--muted); font-size: .95rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip { font-size: .88rem; padding: .35em .9em; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); background: #fff; }
.chip:hover { border-color: var(--navy); color: var(--navy); }
.tx-group { margin-bottom: 40px; }
.tx-group h2 { font-size: 1.3rem; display: flex; align-items: center; gap: 10px; }
.tx-group h2 small { font-size: .78rem; font-weight: 600; background: #ecebf8; color: var(--navy); border-radius: 999px; padding: .15em .65em; }
.tx-empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; }
.contact-info { display: grid; gap: 22px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { width: 40px; height: 40px; padding: 9px; flex: none; border-radius: 10px; background: #ecebf8; color: var(--navy); }
.contact-list span, .contact-list li > a { padding-top: 8px; }
.contact-list small { display: block; color: var(--muted); font-size: .85rem; }
.social-cards { display: grid; gap: 12px; }
.social-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); transition: border-color .15s, background .15s; }
.social-card:hover { border-color: var(--navy); background: #fafaff; color: var(--ink); }
.social-card > svg:first-child { width: 42px; height: 42px; padding: 9px; border-radius: 10px; color: #fff; flex: none; }
.social-card[href*="xing"] > svg:first-child { background: #006567; }
.social-card[href*="linkedin"] > svg:first-child { background: #0a66c2; }
.social-card span { display: flex; flex-direction: column; flex: 1; }
.social-card small { color: var(--muted); }
.social-card > svg:last-child { width: 20px; height: 20px; color: var(--muted); }
form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.opt { font-weight: 400; color: var(--muted); }
input, select, textarea { font: inherit; font-weight: 400; padding: .7em .9em; border: 1px solid #cfcde4; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgb(29 26 110 / .12); }
textarea { resize: vertical; }
.radios { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.radios legend { font-weight: 600; font-size: .95rem; margin-bottom: 8px; }
.radios label { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.radios input { width: auto; accent-color: var(--navy); }
.form-note { font-size: .88rem; color: var(--muted); margin: 0; }
.form-card button { justify-self: start; }
.form-error { color: #b42318; font-weight: 600; margin: 0; }
.invalid { border-color: #b42318 !important; }

/* Legal */
.legal h2 { font-size: 1.3rem; margin-top: 1.8em; }
.legal p { overflow-wrap: anywhere; }

/* Footer */
.site-footer { background: #0c0b33; color: #b9b8e3; padding: 64px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h2 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1em; }
.site-footer a { color: #e3e2fa; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.brand-footer { color: #fff; margin-bottom: 16px; }
.brand-footer .brand-text small { color: #8f8ec2; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.social { display: flex; gap: 10px; flex-wrap: wrap; }
.social-footer-link, .social-link { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border: 1px solid rgb(255 255 255 / .15); border-radius: 999px; }
.social-footer-link svg, .social-link svg { width: 20px; height: 20px; }
.social-footer-link:hover { border-color: var(--yellow); }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / .1); margin-top: 48px; padding-top: 20px; padding-bottom: 28px; font-size: .85rem; color: #8f8ec2; }
.footer-bottom p { margin: 0; }

/* Responsive */
@media (max-width: 1000px) {
  .hero-inner, .split, .feature, .contact-grid, .with-aside { grid-template-columns: 1fr; }
  .hero-inner { padding-top: 64px; padding-bottom: 72px; gap: 40px; }
  .hero-visual { max-width: 520px; }
  .feature-badge { max-width: 260px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); row-gap: 8px; }
  .aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav { position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 16px 20px; gap: 2px; display: none; box-shadow: 0 20px 30px rgb(17 15 69 / .08); }
  .main-nav.open { display: flex; }
  .main-nav a:not(.btn) { border-radius: 10px; padding: .8em 1em; }
  .main-nav .btn { margin: 10px 0 0; justify-content: center; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding: 60px 0; }
  .grid-2, .grid-3, .form-row, .pillars, .footer-grid { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .brand-text small { display: none; }
  .hero-actions .btn, .cta-actions .btn { flex: 1 1 100%; justify-content: center; }
  th, td { padding: 10px 12px; }
  td:first-child { width: auto; }
  .checklist thead { display: none; }
  .checklist tr { display: grid; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .checklist th[scope="row"], .checklist td { border: 0; padding: 4px 14px; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .cta, .aside, .chips, .tx-tools { display: none !important; }
  .hero { background: none; color: var(--ink); }
  .hero h1, .hero .lead { color: var(--ink); }
}
