/* Thomas Schütz IT-Beratung – computer-ottobrunn.de
   Schriften lokal eingebunden (keine Verbindung zu Google o. Ä.) */

@font-face { font-family: "Barlow SC"; src: url("../fonts/barlow-semi-condensed-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow SC"; src: url("../fonts/barlow-semi-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("../fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("../fonts/atkinson-hyperlegible-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("../fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --paper: #F5F7F9;
  --surface: #FFFFFF;
  --ink: #16202B;
  --muted: #4F5D6C;
  --line: #D6DDE4;
  --blue: #1D5AA6;
  --blue-dark: #154683;
  --go: #1B7747;
  --go-dark: #135A35;
  --c1: #F3C08E; --c2: #E4801F; --c3: #A9D8B8; --c4: #2B66B2;
  --c5: #A9C4E8; --c6: #2F9B5B; --c7: #CDB49C; --c8: #7A5230;
  --head: "Barlow SC", "Arial Narrow", Arial, sans-serif;
  --body: "Atkinson", "Segoe UI", Arial, sans-serif;
  --wrap: 72rem;
  --radius-s: 4px;
  --radius-m: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--c2); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.12; letter-spacing: -0.005em; margin: 0 0 0.6em; }
h1 { font-size: clamp(2.2rem, 1.4rem + 3.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); }
h3 { font-size: 1.35rem; margin-bottom: 0.4em; }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 38em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.prose { max-width: 42rem; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 0.6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* Kopfzeile */
.site-head {
  position: sticky; top: 0; z-index: 20;
  background: rgba(245, 247, 249, 0.94);
  backdrop-filter: saturate(1.2) blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 4.5rem; }
.brand { display: block; flex: 0 0 auto; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; gap: 1.4rem; margin-left: auto; font-family: var(--head); font-weight: 500; font-size: 1.1rem; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); text-decoration: underline; }
.head-actions { display: flex; align-items: center; gap: 1rem; }
.head-tel { font-family: var(--head); font-weight: 600; font-size: 1.1rem; color: var(--ink); text-decoration: none; white-space: nowrap; }

.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--head); font-weight: 600; font-size: 1.15rem; line-height: 1;
  padding: 0.8rem 1.2rem; border-radius: var(--radius-s);
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
}
.btn svg { width: 1.2em; height: 1.2em; flex: 0 0 auto; }
.btn-go { background: var(--go); color: #fff; }
.btn-go:hover { background: var(--go-dark); color: #fff; text-decoration: none; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; text-decoration: none; }
.btn-small { font-size: 1.02rem; padding: 0.6rem 0.9rem; }
.btn-big { font-size: 1.35rem; padding: 1rem 1.4rem; width: 100%; justify-content: center; }

@media (max-width: 60rem) {
  .nav { display: none; }
  .head-actions { margin-left: auto; }
}
@media (max-width: 30rem) {
  .brand img { height: 36px; }
  .head-tel { display: none; }
}

/* Einstieg */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.hero h1 { max-width: 14em; }
.hero-kicker { font-family: var(--head); font-weight: 500; font-size: 1.3rem; color: var(--blue); margin-bottom: 0.9rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }
@media (max-width: 52rem) { .hero .wrap { grid-template-columns: 1fr; } }

/* Fernwartungs-Kasten: das eine auffällige Element – Farben der Adern im Netzwerkkabel (T568B) */
.support {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -28px rgba(22, 32, 43, 0.45);
}
.cable {
  height: 12px;
  background: linear-gradient(90deg,
    var(--c1) 0 12.5%, var(--c2) 12.5% 25%, var(--c3) 25% 37.5%, var(--c4) 37.5% 50%,
    var(--c5) 50% 62.5%, var(--c6) 62.5% 75%, var(--c7) 75% 87.5%, var(--c8) 87.5% 100%);
}
.support-body { padding: 1.5rem 1.5rem 1.4rem; }
.support h2 { font-size: 1.75rem; margin-bottom: 0.3rem; }
.support-intro { color: var(--muted); margin-bottom: 1.1rem; }
.steps { list-style: none; counter-reset: step; margin: 0 0 1.3rem; padding: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 0.75rem 2.6rem; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: -0.05rem;
  width: 1.75rem; height: 1.75rem; border-radius: 50%;
  background: var(--ink); color: #fff;
  font-family: var(--head); font-weight: 600; font-size: 1rem;
  display: grid; place-items: center;
}
.support-note { font-size: 0.93rem; color: var(--muted); margin: 0.9rem 0 0; }
.support-note strong { color: var(--ink); }

/* Abschnitte */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 44rem; margin-bottom: 2.2rem; }

/* KI-Coaching auf der Startseite */
.ki { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); }
.ki-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ki-list li { padding: 0.95rem 0; border-bottom: 1px solid var(--line); }
.ki-list strong { display: block; font-family: var(--head); font-weight: 600; font-size: 1.2rem; }
.callout {
  border-left: 4px solid var(--c4);
  background: #EEF3FA;
  padding: 1rem 1.2rem;
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  margin: 1.5rem 0;
}
.callout p:last-child { margin-bottom: 0; }
@media (max-width: 52rem) { .ki { grid-template-columns: 1fr; } }

/* Leistungen als Liste mit Trennlinien */
.services { border-top: 1px solid var(--line); }
.service { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1rem 3rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.service h3 { margin: 0; }
.service p { margin: 0; max-width: 40rem; }
.service .tags { margin-top: 0.6rem; color: var(--muted); font-size: 0.95rem; }
@media (max-width: 44rem) { .service { grid-template-columns: 1fr; gap: 0.4rem; } }

/* Über mich */
.about { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.facts { list-style: none; margin: 0; padding: 1.2rem 1.3rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); }
.facts li { padding: 0.35rem 0; }
.facts li + li { border-top: 1px dashed var(--line); }
@media (max-width: 52rem) { .about { grid-template-columns: 1fr; } }

/* Kontakt */
.contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.contact div { border-top: 3px solid var(--ink); padding-top: 0.8rem; }
.contact .label { font-family: var(--head); font-weight: 500; color: var(--muted); font-size: 1.05rem; margin: 0 0 0.2rem; }
.contact .value { font-family: var(--head); font-weight: 600; font-size: 1.45rem; line-height: 1.25; margin: 0; }
.contact .value a { color: var(--ink); text-decoration: none; }
.contact .value a:hover { color: var(--blue); text-decoration: underline; }
@media (max-width: 48rem) { .contact { grid-template-columns: 1fr; } }

/* KI-Seite */
.page-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 1rem; }
.topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; border-top: 1px solid var(--line); }
.topics > div { padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.topics h3 { font-size: 1.25rem; }
.topics p { margin: 0; }
@media (max-width: 44rem) { .topics { grid-template-columns: 1fr; } }
.process { list-style: none; counter-reset: p; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.process li { counter-increment: p; border-top: 3px solid var(--ink); padding-top: 0.9rem; }
.process li::before { content: counter(p); display: block; font-family: var(--head); font-weight: 600; font-size: 2rem; line-height: 1; color: var(--blue); margin-bottom: 0.5rem; }
.process h3 { font-size: 1.2rem; }
.process p { margin: 0; font-size: 0.98rem; }
@media (max-width: 56rem) { .process { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 34rem) { .process { grid-template-columns: 1fr; } }
.faq details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style-position: inside; font-family: var(--head); font-weight: 600; font-size: 1.25rem; cursor: pointer; list-style-position: outside; }
.faq details p { margin: 0.7rem 0 0; max-width: 44rem; }
.cta-band { background: var(--ink); color: #fff; padding: clamp(2.5rem, 6vw, 4rem) 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #C9D3DD; max-width: 40rem; }
.cta-band .btn-line { border-color: #fff; color: #fff; }
.cta-band .btn-line:hover { background: #fff; color: var(--ink); }

/* Rechtstexte */
.legal { padding: clamp(2.5rem, 6vw, 4rem) 0 4rem; }
.legal h2 { font-size: 1.6rem; margin-top: 2.2rem; }
.legal h3 { font-size: 1.2rem; margin-top: 1.5rem; }
.legal address { font-style: normal; margin-bottom: 1em; }
.legal ul { padding-left: 1.2rem; }

/* Fußzeile */
.site-foot { border-top: 1px solid var(--line); padding: 2rem 0 2.5rem; font-size: 0.95rem; color: var(--muted); }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.site-foot nav { display: flex; gap: 1.5rem; }
.site-foot a { color: var(--muted); }
