/* KN Partner Webseite, Entwurf. KN Design 2026 (Richtung B: Petrol und Messing, Manrope).
   Layout: weisser Grund, hellpetrol-Abschnitte, Footer in Petrol. Messing nur als Linie, Diagonale und kleiner Akzent. */

@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/Manrope-400.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/Manrope-500.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/Manrope-600.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/Manrope-700.woff2") format("woff2"); }

:root {
  --petrol: #0d3d3f;
  --messing: #c49a4a;
  --messing-dunkel: #8a6a2e;
  --hellpetrol: #eef4f3;
  --grau: #5e6b6b;
  --tinte: #172022;

  --surface: #ffffff;
  --surface-tint: #eef4f3;
  --surface-brand: #0d3d3f;
  --ink-heading: #0d3d3f;
  --ink: #172022;
  --ink-muted: #5e6b6b;
  --accent: #c49a4a;
  --accent-text: #8a6a2e;
  --on-brand: #ffffff;
  --on-brand-muted: #c9d9d8;
  --line: #dce5e4;
  --focus: #8a6a2e;
  --btn-bg: #0d3d3f;
  --btn-ink: #ffffff;
  --card: #ffffff;
  --mark-bg: #fbf1d9;
  --mark-ink: #5c4514;
  --shadow-card: 0 1px 2px rgba(13, 61, 63, 0.06), 0 4px 16px rgba(13, 61, 63, 0.06);

  --font: "Manrope", Arial, Helvetica, sans-serif;
  --wrap: 1120px;
}

/* Nur helles Design, kein Dark Mode (Entscheid 14.11.2026) */
:root { color-scheme: light; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* Typografie */
h1, h2, h3 { color: var(--ink-heading); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.6vw, 3rem); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 2.8vw, 1.875rem); line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.1875rem; line-height: 1.35; font-weight: 600; }
p { margin: 0; }
.lead { font-size: 1.125rem; line-height: 1.65; max-width: 62ch; }
.muted { color: var(--ink-muted); }
.small { font-size: 0.875rem; line-height: 1.55; }
.label { font-size: 0.75rem; line-height: 1.4; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); }
.stack > * + * { margin-top: var(--gap, 16px); }

/* Vorschau-Hinweis */
.preview-bar { background: var(--surface-brand); color: var(--on-brand); font-size: 0.8125rem; line-height: 1.4; }
.preview-bar .wrap { padding-block: 8px; display: flex; gap: 8px 16px; flex-wrap: wrap; align-items: center; }
.preview-bar strong { font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.6875rem; color: var(--messing); }
.pruefen { display: inline-block; background: var(--mark-bg); color: var(--mark-ink); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 1px 7px; border-radius: 4px; vertical-align: 0.1em; white-space: normal; }

/* Kopf */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-block: 14px; }
.brand { display: inline-flex; line-height: 0; }
.brand img { height: 40px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px 20px; flex-wrap: wrap; }
.nav a.link { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.9375rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a.link:hover { border-bottom-color: var(--accent); }
.nav a.link[aria-current="page"] { border-bottom-color: var(--accent); color: var(--ink-heading); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 8px; font: inherit; font-weight: 600; font-size: 0.9375rem; line-height: 1.2; text-decoration: none; border: 1.5px solid var(--btn-bg); background: var(--btn-bg); color: var(--btn-ink); cursor: pointer; text-align: center; }
.btn:hover { filter: brightness(1.12); text-decoration: none; }
.btn.secondary { background: transparent; color: var(--ink-heading); border-color: var(--ink-heading); }
.btn.secondary:hover { filter: none; background: var(--surface-tint); }
.btn.small-btn { min-height: 38px; padding: 7px 14px; font-size: 0.875rem; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Abschnitte */
.section { padding-block: clamp(48px, 7vw, 88px); }
.section.tint { background: var(--surface-tint); }
.section-head { display: grid; gap: 12px; margin-bottom: clamp(28px, 4vw, 44px); max-width: 66ch; }

/* Hero */
.hero { background: var(--surface-tint); position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::after { /* Diagonale, parallel zum K-Bein im Monogramm */
  content: ""; position: absolute; right: 3%; top: -20%; width: 3px; height: 150%; background: var(--accent); transform: rotate(24deg); transform-origin: top; opacity: 0.55; pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(44px, 7vw, 92px); position: relative; z-index: 1; }
.hero h1 { margin-top: 14px; }
.hero .lead { margin-top: 20px; }
.hero .btn-row { margin-top: 28px; }
.points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.points li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.9375rem; color: var(--ink-heading); }
.points li::before { content: ""; width: 10px; height: 14px; border-right: 2.5px solid var(--accent); transform: skewX(-24deg); flex: none; }
.aside-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-card); display: grid; gap: 14px; }
.mail-copy { color: var(--ink-heading); overflow-wrap: anywhere; user-select: all; }
.hero-side { display: grid; justify-items: center; }
.hero-img { width: 100%; max-width: 460px; height: auto; margin-bottom: -48px; position: relative; z-index: 0; }
.hero-side .aside-card { position: relative; z-index: 1; width: 100%; }
.contact-line { display: grid; gap: 0; }
.contact-line a { font-weight: 600; font-size: 1.0625rem; color: var(--ink-heading); text-decoration: none; overflow-wrap: anywhere; }
.contact-line a:hover { color: var(--accent-text); }
.illu { width: 100%; max-width: 440px; height: auto; }
.page-head .wrap.with-illu { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: 24px clamp(24px, 5vw, 64px); }
.page-head .with-illu .illu { justify-self: end; max-width: 380px; }
.aside-card .mail { font-weight: 600; color: var(--ink-heading); overflow-wrap: anywhere; user-select: all; }

/* Leistungen auf der Startseite */
.service-main { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: clamp(20px, 3.4vw, 40px); display: grid; gap: 28px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 28px; padding: 0; margin: 0; list-style: none; }
.service-grid li { border-top: 2px solid var(--accent); padding-top: 14px; display: grid; gap: 6px; align-content: start; }
.service-grid h3 { font-size: 1.0625rem; }
.service-grid p { font-size: 0.9375rem; color: var(--ink-muted); }
.more { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }

/* Branchen */
.branch-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.branch-grid li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px; display: grid; gap: 8px; align-content: start; }
.branch-grid .ico { width: 44px; height: 44px; border-radius: 10px; background: var(--hellpetrol); display: grid; place-items: center; margin-bottom: 4px; }
.branch-grid .ico svg { width: 24px; height: 24px; fill: none; stroke: var(--petrol); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.branch-grid h3 { font-size: 1rem; line-height: 1.3; }
.branch-grid p { font-size: 0.875rem; color: var(--ink-muted); }

.person .bio { margin-bottom: 14px; }
.more > div { border: 1px solid var(--line); border-radius: 8px; padding: 20px 22px; display: grid; gap: 6px; align-content: start; }
.more p { font-size: 0.9375rem; color: var(--ink-muted); }

/* Ablauf */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 8px; align-content: start; }
.steps li::before { content: counter(step); font-weight: 700; font-size: 0.875rem; color: var(--accent-text); border-bottom: 2px solid var(--accent); width: 28px; padding-bottom: 6px; margin-bottom: 4px; }
.steps p { font-size: 0.9375rem; color: var(--ink-muted); }

/* Zweispalter */
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.facts { margin: 0; padding: 0; display: grid; gap: 0; }
.facts > div { display: grid; grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr); gap: 4px 20px; padding-block: 16px; border-top: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 700; color: var(--ink-heading); }
.facts dd { margin: 0; }
.plain-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.plain-list li { position: relative; padding-left: 22px; min-width: 0; overflow-wrap: anywhere; }
.plain-list li::before { content: ""; position: absolute; left: 4px; top: 0.45em; width: 8px; height: 12px; border-right: 2.5px solid var(--accent); transform: skewX(-24deg); }

/* Preise */
.rate { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.rate-card { background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 12px; padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow-card); display: grid; gap: 6px; }
.rate-card .amount { font-size: clamp(2.5rem, 6vw, 3.5rem); line-height: 1; font-weight: 700; color: var(--ink-heading); letter-spacing: -0.02em; }
.rate-card .unit { font-weight: 600; color: var(--ink-heading); }
.price-detail { margin-top: clamp(40px, 6vw, 64px); display: grid; gap: 28px; }
.steps.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.example { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: clamp(20px, 3vw, 28px); display: grid; gap: 14px; }
.example .facts > div { grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); padding-block: 12px; }
.more .plain-list { margin-top: 6px; font-size: 0.9375rem; }

/* FAQ */
.faq { display: grid; gap: 0; max-width: 780px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 600; font-size: 1.0625rem; color: var(--ink-heading); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--accent-text); }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 0 20px; max-width: 62ch; color: var(--ink); }

/* Schluss-Band */
.cta { background: var(--surface-brand); color: var(--on-brand); }
.cta .wrap { padding-block: clamp(44px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px 48px; align-items: center; }
.cta h2 { color: var(--on-brand); }
.cta p { color: var(--on-brand-muted); margin-top: 10px; }
.cta .btn { background: var(--messing); border-color: var(--messing); color: var(--petrol); }
.cta .mail { color: var(--on-brand); font-weight: 600; overflow-wrap: anywhere; user-select: all; }
.cta .stack { display: grid; gap: 12px; justify-items: start; }

/* Unterseiten */
.page-head { background: var(--surface-tint); border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-block: clamp(40px, 6vw, 72px); display: grid; gap: 14px; }
.page-head .lead { margin-top: 6px; }
.svc-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 12px clamp(24px, 5vw, 72px); padding-block: clamp(28px, 4vw, 44px); border-top: 1px solid var(--line); }
.svc-row:last-of-type { border-bottom: 1px solid var(--line); }
.svc-row h2 { font-size: clamp(1.375rem, 2.4vw, 1.625rem); }
.svc-row .stack { --gap: 12px; }
.svc-row .note { font-size: 0.9375rem; color: var(--ink-muted); }

.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 4vw, 48px); }
.person { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 20px; align-items: start; }
.foto { aspect-ratio: 4 / 5; width: 100%; background: var(--surface-tint); border: 1.5px dashed var(--ink-muted); border-radius: 12px; display: grid; place-content: center; justify-items: center; gap: 8px; padding: 12px; text-align: center; color: var(--ink-muted); font-size: 0.8125rem; }
.foto svg { width: 36px; height: 36px; stroke: var(--ink-muted); fill: none; stroke-width: 1.5; }
.portrait { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; border-bottom: 3px solid var(--accent); box-shadow: var(--shadow-card); background: var(--surface-tint); }
.person h3 { margin-bottom: 4px; }
.person .role { color: var(--accent-text); font-weight: 600; font-size: 0.9375rem; margin-bottom: 12px; }

.legal { max-width: 780px; }
.legal h2 { margin-top: 48px; margin-bottom: 16px; }
.legal h3 { margin-top: 28px; margin-bottom: 8px; }
.legal p + p { margin-top: 12px; }
.legal dl { margin: 0; }
.legal ul { padding-left: 1.2em; margin: 8px 0 0; display: grid; gap: 6px; }

/* Fuss */
.site-footer { background: var(--surface-brand); color: var(--on-brand); border-top: 1px solid rgba(255,255,255,0.08); }
.foot { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px 48px; padding-block: 48px 36px; font-size: 0.9375rem; }
.foot img { height: 40px; width: auto; margin-bottom: 16px; }
.foot p, .foot li { color: var(--on-brand-muted); }
.foot a { color: var(--on-brand); text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot h4 { margin: 0 0 12px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--messing); }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,0.14); }
.foot-bottom .wrap { padding-block: 16px; font-size: 0.75rem; color: var(--on-brand-muted); display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: space-between; }

@media (max-width: 1080px) {
  .branch-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero-grid, .two, .rate, .svc-row, .cta .wrap, .page-head .wrap.with-illu { grid-template-columns: minmax(0, 1fr); }
  .page-head .with-illu .illu { justify-self: start; max-width: 300px; }
  .branch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-img { max-width: 380px; }
  .hero::after { display: none; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps.three { grid-template-columns: minmax(0, 1fr); }
  .people { grid-template-columns: minmax(0, 1fr); }
  .foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .service-grid, .more, .steps, .branch-grid { grid-template-columns: minmax(0, 1fr); }
  .person { grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr); }
  .facts > div, .example .facts > div { grid-template-columns: minmax(0, 1fr); }
  .foot { grid-template-columns: minmax(0, 1fr); }
  .brand img { height: 34px; }
  .nav { gap: 2px 16px; }
  .btn-row .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
