/* COMTEKO – Startseite
   Palette und Schrift orientiert an label-engineering.group */

/* Rubik lokal einbinden (keine Verbindung zu Google).
   Datei Rubik-VariableFont_wght.ttf in den Ordner fonts/ legen. */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('fonts/Rubik-VariableFont_wght.ttf') format('truetype');
}

:root {
  --petrol-dark: #145F64;
  --petrol: #00A0AA;
  --red: #DC000A;
  --red-dark: #91000A;
  --ink: #323232;
  --grey: #575757;
  --light: #EBEBEB;
  --max: 1280px;
  --font: 'Rubik', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--grey);
  background: #fff;
}
h1, h2, h3, p, ul { margin: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--petrol); outline-offset: 3px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: #fff; color: var(--ink); padding: 12px 20px; z-index: 10;
}
.skip:focus { left: 16px; top: 16px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 40px; }

.bar { width: 72px; height: 6px; background: var(--petrol); }
.eyebrow {
  font-size: 14px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--petrol-dark);
}
h2 {
  font-weight: 700; font-size: clamp(36px, 5vw, 68px);
  line-height: 1.05; letter-spacing: -.02em; color: var(--ink);
}
.intro { font-size: 19px; line-height: 1.7; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; min-height: 56px;
  padding: 0 36px; font-weight: 600; font-size: 17px;
  border: 2px solid transparent; border-radius: 2px;
  transition: background .2s, color .2s;
}
.btn-light { background: #fff; color: var(--petrol-dark); }
.btn-light:hover { background: var(--light); }
.btn-outline-light { border-color: var(--light); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.btn-outline { border-color: var(--petrol-dark); color: var(--petrol-dark); }
.btn-outline:hover { background: var(--petrol-dark); color: #fff; }

/* Hero */
.hero { background: var(--petrol-dark); color: #fff; }
.site-header {
  display: flex; flex-wrap: wrap; gap: 16px 40px;
  align-items: center; justify-content: space-between;
}
.wordmark {
  display: inline-flex; align-items: center;
  padding: 36px 40px 36px 0;
  font-weight: 700; font-size: 26px; letter-spacing: .14em; color: #fff;
}
.wordmark-text { position: relative; z-index: 1; }
.wordmark-o { position: relative; display: inline-block; }
.wordmark-o svg {
  position: absolute; left: 50%; top: 50%;
  width: 58px; height: 58px; transform: translate(-50%, -50%);
}
.o-letter { position: relative; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 8px 36px; font-size: 15px; font-weight: 500; }
.site-header nav a { padding: 10px 0; color: var(--light); }
.site-header nav a:hover { color: #fff; }

.hero-body { padding: 140px 0 160px; display: flex; flex-direction: column; gap: 40px; }
.hero .eyebrow { color: var(--light); font-weight: 500; }
h1 {
  font-weight: 700; font-size: clamp(46px, 8vw, 112px);
  line-height: 1.02; letter-spacing: -.02em; max-width: 1100px;
}
.lead { font-size: clamp(18px, 2vw, 22px); line-height: 1.6; color: var(--light); max-width: 640px; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; }

/* Abschnitte */
.section { padding: 140px 0; }
.section-light { background: var(--light); }
.stack-xl { display: flex; flex-direction: column; gap: 80px; }
.section-head { display: flex; flex-direction: column; gap: 24px; max-width: 760px; }

/* Leistungen */
.services { border-top: 1px solid var(--light); }
.service {
  display: flex; flex-wrap: wrap; gap: 16px 48px; align-items: baseline;
  padding: 44px 0; border-bottom: 1px solid var(--light);
}
.service .no { flex: 0 0 56px; font-weight: 500; font-size: 18px; }
.service h3 { flex: 1 1 280px; font-weight: 600; font-size: clamp(26px, 3vw, 38px); color: var(--ink); }
.service p { flex: 2 1 320px; font-size: 18px; line-height: 1.65; }

/* Über den Inhaber */
.about { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.portrait {
  flex: 1 1 360px; min-height: 460px; background: var(--ink); color: var(--light);
  display: flex; align-items: flex-end; padding: 24px; font-size: 14px;
}
.portrait-img { flex: 1 1 360px; min-height: 460px; width: 100%; object-fit: cover; }
.about-text { flex: 1.4 1 420px; display: flex; flex-direction: column; gap: 28px; }
.about-text h2 { font-size: clamp(34px, 4.5vw, 60px); line-height: 1.08; }
.about-text .intro { font-size: 20px; }
.chapter {
  display: flex; flex-direction: column; gap: 12px;
  padding-top: 28px; border-top: 1px solid rgba(50,50,50,.25);
}
.chapter h3 { font-weight: 600; font-size: 24px; color: var(--ink); }
.chapter p { font-size: 18px; line-height: 1.7; }
.projects { list-style: none; padding: 0; margin: 8px 0 0; font-size: 18px; color: var(--ink); }
.projects li { padding: 12px 0; border-top: 1px solid rgba(50,50,50,.25); }
.projects li:last-child { border-bottom: 1px solid rgba(50,50,50,.25); }
.chapter-claim { gap: 20px; }
.claim { font-weight: 600; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.25; color: var(--ink); }

/* Kontakt */
.contact { display: flex; flex-wrap: wrap; gap: 80px; }
.contact-intro { flex: 1 1 360px; display: flex; flex-direction: column; gap: 28px; }
.contact-actions { flex: 1.3 1 420px; display: flex; flex-direction: column; gap: 24px; }
.card { display: flex; flex-direction: column; gap: 20px; padding: 44px; }
.card h3 { font-weight: 600; font-size: clamp(26px, 3vw, 36px); }
.card p { font-size: 18px; line-height: 1.65; }
.card-dark { background: var(--petrol-dark); color: #fff; }
.card-dark p { color: var(--light); }
.card-light { border: 2px solid var(--light); }
.card-light h3 { color: var(--ink); }

/* Footer */
.site-footer { background: var(--ink); color: var(--light); }
.footer-row {
  padding-top: 64px; padding-bottom: 64px;
  display: flex; flex-wrap: wrap; gap: 32px 64px;
  justify-content: space-between; align-items: center;
}
.footer-mark {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 22px; letter-spacing: .14em; color: #fff;
}
.footer-dot { display: inline-block; width: 8px; height: 8px; background: var(--red); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 32px; font-size: 15px; }
.site-footer nav a { padding: 10px 0; }
.site-footer nav a:hover { color: #fff; }
.copy { font-size: 14px; color: #BDBDBD; }

/* Mobil */
@media (max-width: 720px) {
  .container { padding: 0 24px; }
  .hero-body { padding: 80px 0 96px; gap: 32px; }
  .section { padding: 88px 0; }
  .stack-xl { gap: 56px; }
  .about, .contact { gap: 48px; }
  .card { padding: 32px 28px; }
  .service { padding: 32px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* ---- Ergänzungen: Einleitung, Warum COMTEKO, Schwerpunkte, Kontakt ---- */
.stack-l { display: flex; flex-direction: column; gap: 32px; }
.claim-h2 { max-width: 1000px; }
.intro-wide { max-width: 760px; }

.section-dark { background: var(--ink); color: var(--light); }
.section-dark h2 { color: #fff; }
.section-dark .bar { background: var(--petrol); }

.why {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px;
}
.why li {
  padding: 24px 0; border-top: 1px solid rgba(255,255,255,.25);
  font-weight: 500; font-size: clamp(19px, 2vw, 24px); color: #fff;
}
.why li:nth-last-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.25); }

.focus {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px;
}
.focus-item { display: flex; flex-direction: column; gap: 16px; padding-top: 28px; border-top: 6px solid var(--petrol); }
.focus-item h3 { font-weight: 600; font-size: clamp(24px, 2.4vw, 30px); color: var(--ink); }
.focus-item p { font-size: 18px; line-height: 1.65; }

.contact-details { display: flex; flex-direction: column; gap: 4px; font-size: 19px; line-height: 1.6; }
.contact-name { font-weight: 600; font-size: 22px; color: var(--ink); }
.mail { color: var(--petrol-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.mail:hover { color: var(--ink); }

@media (max-width: 960px) {
  .focus { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .why { grid-template-columns: 1fr; }
  .why li:nth-last-child(2) { border-bottom: 0; }
  .focus { grid-template-columns: 1fr; gap: 40px; }
}