/* IT Service & Beratung Küpper – Website (Konzept B „Werkbank“), Tokens aus dem Design System */
@font-face { font-family: "Space Grotesk"; src: url(../fonts/space-grotesk-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url(../fonts/space-grotesk-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url(../fonts/space-grotesk-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Roboto"; src: url(../fonts/roboto-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Roboto"; src: url(../fonts/roboto-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Roboto"; src: url(../fonts/roboto-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Permanent Marker"; src: url(../fonts/permanent-marker-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --blau: #0050a0; --violett: #64328c; --rot: #b41432; --ink: #000; --nacht: #0d0d0f;
  --text: #4e4e4e; --text-muted: #595959; --flaeche: #fff; --flaeche-tint: #f2eef6; --rahmen: #d9d3e3;
  --font-display: "Space Grotesk", "Segoe UI", Arial, sans-serif;
  --font-text: Roboto, Arial, "Helvetica Neue", sans-serif;
  --font-slogan: "Permanent Marker", "Segoe Print", cursive;
  --radius-sm: 2px; --radius-md: 4px; --max: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--font-text); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--flaeche); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blau); text-underline-offset: 2px; }
:focus-visible { outline: 3px solid #4d9cff; outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 99; }
.skip:focus { left: 8px; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; margin: 0 0 16px; overflow-wrap: break-word; hyphens: auto; }
h2 { font-size: 40px; letter-spacing: -.01em; }
h3 { font-size: 22px; }
p { margin: 0 0 16px; }
.slogan { font-family: var(--font-slogan); color: var(--rot); transform: rotate(-4deg); display: inline-block; transform-origin: left center; font-weight: 400; }
.label { font-family: var(--font-display); font-weight: 500; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--violett); margin-bottom: 8px; }
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.2; text-decoration: none; padding: 14px 22px; border-radius: var(--radius-sm); border: 2px solid transparent; cursor: pointer; }
.btn-red { background: var(--rot); color: #fff; } .btn-red:hover { background: #941029; }
.btn-blau { background: var(--blau); color: #fff; } .btn-blau:hover { background: #003f80; }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }

/* Dunkle Flächen */
.dark { background: var(--nacht); color: #d7d7d7; }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.dark a:not(.btn) { color: #fff; }
.dark .label { color: #c9b3df; }

/* Header */
header.top { background: var(--nacht); position: relative; z-index: 30; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 88px; gap: 20px; }
header.top .logo img { height: 58px; width: auto; }
.nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.nav a { color: #fff; text-decoration: none; font-family: var(--font-display); font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--rot); }
.menu-btn { display: none; background: none; border: 2px solid #fff; color: #fff; font: 700 15px var(--font-display); padding: 8px 12px; border-radius: var(--radius-sm); cursor: pointer; }

/* Hero mit Foto */
.hero { position: relative; overflow: hidden; background: var(--nacht); color: #e2e2e2; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,13,15,.94) 0%, rgba(13,13,15,.82) 45%, rgba(13,13,15,.45) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 88px; }
.hero h1 { color: #fff; font-size: 64px; line-height: 1.02; letter-spacing: -.02em; max-width: 13ch; }
.hero.home h1 { font-size: 76px; max-width: 11ch; }
.hero .slogan { font-size: 34px; color: #fff; margin: 4px 0 26px; }
.hero .lead { font-size: 20px; max-width: 36em; color: #e6e6e6; }
.hero .cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero .btn-ghost { color: #fff; }
.hero.sub .wrap { padding-top: 56px; padding-bottom: 64px; }
.hero.sub h1 { font-size: 52px; max-width: 18ch; }
.crumbs { font-size: 14px; margin-bottom: 18px; color: #cfcfcf; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li:not(:last-child)::after { content: "/"; color: var(--rot); margin-left: 6px; }
.crumbs a { color: #fff; }

/* Branchen-Band */
.branchen { background: var(--blau); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 26px; }
.branchen .wrap { display: flex; gap: 36px; padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; }
.branchen span:not(:last-child)::after { content: "·"; margin-left: 36px; opacity: .6; }

section { padding: 80px 0; }
.tint { background: var(--flaeche-tint); }
.intro { max-width: 46em; font-size: 19px; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(190px, auto); gap: 14px; margin-top: 28px; }
.tile { background: var(--flaeche-tint); padding: 26px; border-radius: var(--radius-md); display: flex; flex-direction: column; justify-content: space-between; color: var(--text); text-decoration: none; transition: transform .15s ease; }
.tile:hover { transform: translateY(-3px); }
.tile h3 { font-size: 26px; margin-bottom: 8px; }
.tile p { margin: 0; font-size: 16px; }
.tile .more { font-family: var(--font-display); font-weight: 700; margin-top: 14px; color: var(--ink); }
.t-wide { grid-column: span 2; } .t-tall { grid-row: span 2; }
.t-blau { background: var(--blau); color: #fff; } .t-violett { background: var(--violett); color: #fff; } .t-ink { background: var(--nacht); color: #ddd; }
.t-blau h3, .t-violett h3, .t-ink h3, .t-blau .more, .t-violett .more, .t-ink .more { color: #fff; }
.tile:focus-visible { outline-offset: 4px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius-md); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.check { list-style: none; padding: 0; margin: 20px 0 0; }
.check li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.check li::before { content: ""; position: absolute; left: 0; top: 6px; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 13px solid var(--rot); }

/* Schritte */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: s; margin-top: 28px; }
.steps > div { border-top: 3px solid var(--ink); padding-top: 18px; }
.steps > div::before { counter-increment: s; content: "0" counter(s); font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .1em; color: var(--rot); display: block; margin-bottom: 8px; }

/* Region */
.region h2 { font-size: 44px; }
.orte { font-family: var(--font-display); font-size: 22px; color: #fff; line-height: 1.7; margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 0 10px; }
.orte li { white-space: nowrap; }
.orte li:not(:last-child)::after { content: " /"; color: var(--rot); }

/* Leistungsseiten */
.pakete { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 28px; }
.paket { border: 1px solid var(--rahmen); border-top: 4px solid var(--blau); border-radius: var(--radius-md); padding: 24px 26px; background: #fff; }
.paket:nth-child(3n+2) { border-top-color: var(--violett); } .paket:nth-child(3n) { border-top-color: var(--rot); }
.paket h3 { font-size: 21px; margin-bottom: 8px; }
.paket p:last-child, .paket ul:last-child { margin-bottom: 0; }
.paket ul { padding-left: 18px; margin: 0 0 12px; }
.note { border-left: 4px solid var(--violett); background: var(--flaeche-tint); padding: 16px 20px; margin-top: 28px; max-width: 52em; }
.prose { max-width: 46em; }
.prose h2 { font-size: 30px; margin-top: 40px; } .prose h3 { margin-top: 28px; }
.prose ul { padding-left: 20px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--rahmen); padding: 18px 0; max-width: 52em; }
.faq summary { cursor: pointer; font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--rot); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; }

/* CTA-Band */
.band { background: var(--violett); color: #fff; padding: 52px 0; }
.band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.band h2 { color: #fff; margin: 0; font-size: 32px; }
.band .btn-ghost { color: #fff; }

/* Formular */
.kontakt-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; }
form.anfrage { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; align-items: start; }
form.anfrage label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--ink); font-weight: 500; }
form.anfrage .full { grid-column: 1 / -1; }
form.anfrage input, form.anfrage select, form.anfrage textarea { font: inherit; font-size: 17px; font-weight: 400; line-height: 1.4; margin: 0; padding: 12px 14px; border: 1.5px solid #77707f; border-radius: var(--radius-sm); background: #fff; color: var(--ink); width: 100%; box-shadow: none; }
/* Einzeilige Felder und Auswahlliste exakt gleich hoch */
form.anfrage input, form.anfrage select { height: 52px; padding-top: 0; padding-bottom: 0; }
form.anfrage select { -webkit-appearance: none; appearance: none; padding-right: 44px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 16px center; }
form.anfrage textarea { min-height: 160px; resize: vertical; display: block; }
form.anfrage .feld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
form.anfrage .feld label { display: block; line-height: 1.3; }
form.anfrage [aria-invalid="true"] { border-color: var(--rot); box-shadow: inset 0 0 0 1px var(--rot); }
.pflicht { color: var(--rot); }
.fehler { color: var(--rot); font-size: 15px; font-weight: 500; }
.meldung { border-left: 4px solid var(--blau); background: var(--flaeche-tint); padding: 16px 20px; margin-bottom: 24px; color: var(--ink); }
.meldung p:last-child { margin-bottom: 0; }
.meldung-ok { border-left-color: #2e7d32; }
.meldung-fehler { border-left-color: var(--rot); }
.meldung:focus { outline: none; }
.hint { font-size: 14px; color: var(--text-muted); font-weight: 400; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.kontaktdaten p { font-size: 18px; }
.kontaktdaten a { font-weight: 500; }

/* Footer */
footer.site { padding: 56px 0 32px; font-size: 15px; }
footer.site .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
footer.site img { height: 64px; width: auto; margin-bottom: 14px; }
footer.site h2 { font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 10px; }
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site li { margin-bottom: 6px; }
footer.site a { color: #fff; }
footer.site .legal { border-top: 1px solid #2b2b30; margin-top: 36px; padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: #a9a9a9; }
.callbar { display: none; }
.preview-note { background: #fff4c2; color: #000; font-size: 14px; padding: 8px 20px; text-align: center; }

@media (max-width: 1160px) { header.top .btn-red { display: none; } .nav ul { gap: 20px; } }
@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  header.top .wrap { height: 70px; } header.top .logo img { height: 44px; }
  header.top .btn-red { display: none; }
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--nacht); border-top: 1px solid #2b2b30; padding: 8px 20px 20px; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { display: block; padding: 14px 0; border-bottom: 1px solid #2b2b30; }
  h2 { font-size: 30px; }
  .hero .wrap { padding-top: 48px; padding-bottom: 56px; }
  .hero h1, .hero.home h1 { font-size: 42px; } .hero.sub h1 { font-size: 34px; }
  .hero .slogan { font-size: 24px; } .hero .lead { font-size: 18px; }
  .hero::after { background: rgba(13,13,15,.82); }
  .bento, .pakete, .steps, .split, .kontakt-grid, form.anfrage { grid-template-columns: 1fr; }
  .t-wide, .t-tall { grid-column: auto; grid-row: auto; }
  .bento { grid-auto-rows: auto; } .tile { min-height: 0; }
  .branchen { font-size: 19px; } .branchen .wrap { gap: 12px; } .branchen span:not(:last-child)::after { margin-left: 12px; }
  section { padding: 56px 0; } .region h2 { font-size: 32px; } .orte { font-size: 18px; }
  footer.site .cols { grid-template-columns: 1fr; }
  .callbar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; }
  .callbar a { flex: 1; text-align: center; padding: 16px; font-family: var(--font-display); font-weight: 700; text-decoration: none; color: #fff; }
  .callbar a:first-child { background: var(--rot); } .callbar a:last-child { background: var(--blau); }
  body { padding-bottom: 56px; }
}
@media print { header.top, .callbar, .band, footer.site .cols { display: none; } .hero { background: #fff; color: #000; } .hero::after, .hero picture { display: none; } .hero h1 { color: #000; } }

/* Einwilligungs-Banner (Google Analytics nur nach Zustimmung) */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000; display: flex; justify-content: center; }
.consent[hidden] { display: none; }
.consent-inner { max-width: 720px; width: 100%; background: #fff; color: var(--text); border-radius: var(--radius-md); box-shadow: 0 10px 40px rgba(0,0,0,.35); padding: 22px 24px; border-top: 5px solid var(--violett); }
.consent-title { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--ink); margin-bottom: 8px; }
.consent p { font-size: 15px; }
.consent-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.consent-buttons button { min-height: 48px; font: 700 16px var(--font-display); border-radius: var(--radius-sm); cursor: pointer; border: 2px solid var(--ink); background: #fff; color: var(--ink); }
.consent-buttons button:hover { background: var(--ink); color: #fff; }
.linkknopf { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
@media (max-width: 860px) { .consent { bottom: 72px; } }
.dark .linkknopf { color: #fff; }

/* Checkbox „Kopie an mich“: feste Größe, sauber neben dem Text, kein Springen */
form.anfrage .feld label.check-feld { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 12px; min-height: 52px; font-weight: 400; font-size: 16px; color: var(--ink); cursor: pointer; }
form.anfrage .check-feld input { flex: 0 0 22px; width: 22px; height: 22px; margin: 0; padding: 0; accent-color: var(--blau); cursor: pointer; }

/* Über mich: Porträt und Werdegang */
.seitenspalte { display: grid; gap: 24px; }
.split img.portrait { aspect-ratio: 4/5; object-position: center top; }
.laufbahn { list-style: none; padding: 0; margin: 20px 0 0; border-left: 3px solid var(--blau); }
.laufbahn li { padding: 0 0 16px 22px; position: relative; }
.laufbahn li::before { content: ""; position: absolute; left: -8px; top: 7px; width: 13px; height: 13px; border-radius: 50%; background: var(--rot); }
.laufbahn span { display: block; font-family: var(--font-display); font-weight: 700; color: var(--ink); }
@media (max-width: 860px) { .seitenspalte { order: -1; } .split img.portrait { max-width: 360px; } }

/* Logo „IT Service & Beratung – Christian Küpper“ ist breiter als das Watt-Logo (19.10.2026) */
header.top .logo { flex-shrink: 0; }
header.top .logo img { height: 52px; }
header.top .btn-red { white-space: nowrap; }
.nav ul { gap: 20px; }
.nav a { white-space: nowrap; }
@media (max-width: 1260px) { header.top .btn-red { display: none; } }
@media (max-width: 1060px) and (min-width: 861px) { header.top .logo img { height: 44px; } .nav ul { gap: 14px; } .nav a { font-size: 15px; } }
@media (max-width: 860px) { header.top .logo img { height: 44px; } }
.hero .label { color: #c9b3df; }
