/* Kai Sobisch – Schweißtechnik & Qualität
   Schrift: Inter (SIL Open Font License), lokal eingebunden – keine externen Server. */

@font-face { font-family: "Inter"; src: url("../fonts/inter-regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-semibold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-bold.woff") format("woff"); font-weight: 700; font-display: swap; }

:root {
  --navy: #0b2a44;
  --navy-2: #12385a;
  --steel: #3c5a73;
  --orange: #f26a1c;        /* Akzent für Linien, Flächen und Text auf Dunkelblau */
  --orange-text: #b5450b;   /* Orange für Text und Buttons auf Hell: 5,5:1 auf Weiß */
  --orange-hover: #9e3b09;
  --copper: #c2470f;
  --ink: #1b2430;
  --muted: #5a6675;
  --line: #dfe4ea;
  --bg: #ffffff;
  --bg-soft: #f4f6f8;
  --radius: 4px;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-color: var(--orange); text-underline-offset: 3px; }
a:hover { color: var(--orange-text); }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--orange-text); margin-bottom: 14px;
}
.section--dark .eyebrow { color: var(--orange); }
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 2px; background: var(--orange); vertical-align: middle; margin-right: 10px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 46em; }
.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy); color: #dbe4ee; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 48px; }

/* Skip link */
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand, .brand picture { display: block; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-size: .93rem; font-weight: 500; color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--orange-text); }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: var(--radius);
  font-weight: 600; font-size: .95rem; text-decoration: none; transition: background .15s, color .15s, border-color .15s;
  border: 2px solid transparent;
}
.btn--primary { background: var(--orange-text); color: #fff; }
.btn--primary:hover { background: var(--orange-hover); color: #fff; }
.btn--ghost { border-color: var(--navy); color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.nav .btn { padding: 9px 18px; color: #fff; }

/* Hero */
.hero { padding: 88px 0 96px; background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.25fr .75fr; gap: 64px; align-items: center; }
.hero h1 span { color: var(--orange); display: block; }
.hero .lead { margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 36px; padding: 0; list-style: none; font-size: .88rem; font-weight: 600; color: var(--steel); letter-spacing: .04em; }
.hero-tags li::before { content: "◆"; color: var(--orange); font-size: .7em; margin-right: 8px; vertical-align: 2px; }
.portrait { position: relative; justify-self: end; max-width: 360px; }
.portrait img.photo { border-radius: var(--radius); box-shadow: 0 24px 48px -24px rgba(11,42,68,.45); }
.portrait::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px;
  border: 2px solid var(--orange); border-radius: var(--radius); z-index: -1;
}
.portrait figcaption { margin-top: 18px; font-size: .9rem; color: var(--muted); line-height: 1.45; }
.portrait figcaption strong { display: block; color: var(--navy); font-size: 1rem; }

/* Leistungen */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--navy);
  border-radius: var(--radius); padding: 34px 30px 30px; display: flex; flex-direction: column;
}
.card:nth-child(2) { border-top-color: var(--steel); }
.card:nth-child(3) { border-top-color: var(--orange); }
.card .num { font-size: .8rem; font-weight: 700; letter-spacing: .14em; color: var(--orange-text); }
.card h3 { font-size: 1.6rem; margin: 6px 0 6px; }
.card .claim { font-weight: 600; color: var(--steel); margin-bottom: 14px; }
.card p { color: var(--muted); font-size: .97rem; }
.card ul { margin: 8px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.card li { padding: 10px 0 10px 22px; border-bottom: 1px solid var(--line); font-size: .95rem; position: relative; }
.card li::before { content: ""; position: absolute; left: 0; top: 19px; width: 8px; height: 8px; background: var(--orange); transform: rotate(45deg); }

/* Arbeitsweise */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; margin: 8px 0 0; padding: 0; list-style: none; }
.steps li { position: relative; padding: 26px 18px 0 0; border-top: 3px solid rgba(255,255,255,.18); counter-increment: step; }
.steps li::after {
  content: ""; position: absolute; top: -15px; left: 0;
  width: 28px; height: 28px; background: var(--orange-text); transform: rotate(45deg);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: -15px; left: 0; z-index: 1;
  width: 28px; height: 28px; display: grid; place-items: center;
  color: #fff; font-size: .72rem; font-weight: 700; line-height: 1;
}
.steps li strong { display: block; color: #fff; font-size: 1.1rem; margin-bottom: 6px; }
.steps li span { font-size: .93rem; color: #b8c6d4; }
.quote { margin: 56px 0 0; font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 500; color: #fff; max-width: 36em; line-height: 1.45; }
.quote::before { content: ""; display: block; width: 48px; height: 3px; background: var(--orange); margin-bottom: 22px; }

/* Konzern & Mittelstand */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.compare { display: grid; gap: 16px; }
.compare div { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--navy); padding: 22px 24px; border-radius: var(--radius); }
.compare div:nth-child(2) { border-left-color: var(--orange); }
.compare h3 { margin-bottom: 6px; font-size: 1.05rem; }
.compare p { margin: 0; color: var(--muted); font-size: .96rem; }

/* Erfahrung */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 40px; padding: 0; list-style: none; }
.chips li { border: 1px solid var(--navy); color: var(--navy); padding: 7px 16px; border-radius: 999px; font-weight: 600; font-size: .92rem; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.facts h3 { font-size: 1.05rem; padding-top: 16px; border-top: 2px solid var(--orange); }
.facts p { color: var(--muted); font-size: .97rem; margin: 0; }

/* Projekte */
.projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.project { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.project .meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; margin-bottom: 8px; }
.project .year { font-weight: 700; color: var(--orange-text); font-size: .9rem; letter-spacing: .04em; }
.project .client { font-size: .9rem; color: var(--steel); font-weight: 600; }
.project h3 { margin-bottom: 4px; font-size: 1.12rem; }
.project .role { font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.project p { margin: 0; font-size: .95rem; color: var(--muted); }

/* Werdegang */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 26px 30px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; background: #fff; border: 2px solid var(--orange); transform: rotate(45deg); }
.timeline li:first-child::before { background: var(--orange); }
.timeline .when { display: block; font-size: .85rem; font-weight: 700; color: var(--orange-text); letter-spacing: .04em; }
.timeline .what { display: block; font-weight: 600; color: var(--navy); }
.timeline .where { display: block; font-size: .95rem; color: var(--muted); }
.quals { list-style: none; margin: 0; padding: 0; }
.quals li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.quals li:first-child { border-top: 1px solid var(--line); }
.quals strong { display: block; color: var(--navy); }
.quals span { font-size: .92rem; color: var(--muted); }

/* Kontakt */
.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.contact-list li:first-child { border-top: 1px solid rgba(255,255,255,.14); }
.contact-list small { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); font-weight: 600; }
.contact-list a, .contact-list span { color: #fff; font-size: 1.15rem; font-weight: 500; text-decoration: none; }
.contact-list a:hover { color: var(--orange); }

/* Footer */
.site-footer { background: #071d30; color: #8fa1b3; font-size: .88rem; padding: 28px 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.site-footer a { color: #c8d3de; text-decoration: none; margin-left: 20px; }
.site-footer a:first-child { margin-left: 0; }
.site-footer a:hover { color: var(--orange); }

/* Rechtstexte */
.legal { padding: 72px 0 96px; }
.legal .wrap { max-width: 800px; }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal h3 { font-size: 1.05rem; margin-top: 1.5em; }
.legal p, .legal li { color: #3a4553; }
.todo { background: #fff3e8; border-left: 3px solid var(--orange); padding: 2px 8px; font-weight: 600; color: var(--copper); }

/* Responsiv */
@media (max-width: 980px) {
  .hero .wrap, .split, .contact { grid-template-columns: 1fr; gap: 48px; }
  .portrait { justify-self: start; max-width: 300px; }
  .cards, .facts { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .projects { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .wrap { padding: 0 16px; }
  .site-header .wrap { flex-wrap: wrap; gap: 0; padding-top: 12px; }
  .brand img { height: 29px; }
  .nav { width: 100%; overflow-x: auto; gap: 20px; padding: 10px 0 12px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; }
  .nav .btn { padding: 4px 12px; font-size: .88rem; }
  html { scroll-padding-top: 120px; }
  .steps { grid-template-columns: 1fr; }
  .site-footer a { margin-left: 0; margin-right: 18px; }
}
@media print {
  .site-header, .hero-actions, .site-footer { display: none; }
  .section { padding: 24px 0; }
}
