/* TechPro A/V – Medientechnik · Basis-Stylesheet */

@font-face { font-family: "Heros Cn"; src: url("fonts/texgyreheroscn-bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@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-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }

:root {
  --ink: #12213b;        /* Navy wie die Wortmarke */
  --signal: #0071d9;     /* Markenblau */
  --lit: #3fa3f5;        /* leuchtendes LED-Modul */
  --paper: #f6f7f9;
  --panel: #e4e8ee;
  --cable: #5d687a;
  --white: #ffffff;
  --display: "Heros Cn", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--text); }
img, svg { display: block; max-width: 100%; }
a { color: var(--signal); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--lit); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.02; letter-spacing: -0.005em; margin: 0; }
h1 { font-size: clamp(44px, 7vw, 84px); }
h2 { font-size: clamp(32px, 4.2vw, 50px); margin-bottom: 20px; }
h3 { font-size: 25px; line-height: 1.1; margin-bottom: 6px; }
p { margin: 0 0 1em; max-width: 66ch; }
.lead { font-size: 20px; line-height: 1.55; color: var(--cable); max-width: 54ch; }

/* Kopfzeile */
.site-head { background: var(--white); border-bottom: 1px solid var(--panel); position: sticky; top: 0; z-index: 10; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 36px; height: 36px; }
.brand-name { font-family: var(--text); font-weight: 700; font-size: 22px; letter-spacing: -0.035em; line-height: 1; color: #13213a; }
.brand-name small { display: block; font-size: 13px; font-weight: 600; color: #13213a; letter-spacing: -0.01em; margin-top: 2px; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--signal); }
.nav .btn { padding: 10px 18px; }
.nav-toggle { display: none; }

/* Buttons */
.btn { display: inline-block; background: var(--signal); color: var(--white) !important; text-decoration: none; font-weight: 600; padding: 14px 24px; border-radius: 4px; border: 2px solid var(--signal); cursor: pointer; font: 600 16px/1.2 var(--text); }
.btn:hover { background: var(--ink); border-color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink) !important; border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--white) !important; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Hero mit LED-Wand */
.hero { background: var(--white); padding: 72px 0 80px; border-bottom: 1px solid var(--panel); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 24px; }

.ledwall { background: var(--ink); padding: 14px; border-radius: 6px; }
.ledwall-grid { display: grid; grid-template-columns: repeat(16, 1fr); gap: 2px; }
.cab { aspect-ratio: 1; background: #1b2c49; border-radius: 1px; }
.cab.on { background: var(--lit); }
.cab.dim { background: var(--signal); }
.ledwall-caption { color: #9fb0c8; font-size: 13px; margin-top: 12px; display: flex; justify-content: space-between; gap: 12px; }
@media (prefers-reduced-motion: no-preference) {
  .js .cab { opacity: 0.15; }
  .js .ledwall.run .cab { animation: cabOn 260ms ease-out forwards; animation-delay: calc(var(--i) * 35ms); }
}
@keyframes cabOn { to { opacity: 1; } }

/* Abschnitte */
section { padding: 88px 0; }
section.alt { background: var(--white); border-block: 1px solid var(--panel); }
.section-intro { margin-bottom: 40px; }

/* Leistungen als Liste mit Linien */
.services { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 56px; }
.service { border-top: 2px solid var(--ink); padding: 18px 0 28px; }
.service p { color: var(--cable); margin: 0; }

/* Ablauf – echte Reihenfolge */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.steps li { counter-increment: s; padding: 0 24px 0 0; position: relative; }
.steps li::before { content: counter(s); display: block; font-family: var(--display); font-size: 56px; line-height: 1; color: var(--signal); margin-bottom: 14px; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 28px; left: 52px; right: 16px; height: 2px; background: var(--panel); }
.steps p { color: var(--cable); font-size: 16px; }
.who { font-size: 13px; font-weight: 600; color: var(--signal); margin-bottom: 4px; }

/* Zwei Spalten */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.facts { list-style: none; padding: 0; margin: 0; }
.facts li { padding: 14px 0; border-bottom: 1px solid var(--panel); display: flex; gap: 16px; justify-content: space-between; }
.facts li span:first-child { font-weight: 600; }
.facts li span:last-child { color: var(--cable); text-align: right; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.tags li { border: 1px solid var(--ink); padding: 6px 14px; border-radius: 40px; font-size: 15px; }

/* Band */
.band { background: var(--ink); color: var(--white); padding: 72px 0; }
.band h2 { color: var(--white); }
.band p { color: #c3cedd; }
.band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.band .btn { background: var(--lit); border-color: var(--lit); color: var(--ink) !important; }
.band .btn:hover { background: var(--white); border-color: var(--white); }

/* Seitenkopf Unterseiten */
.page-head { background: var(--white); padding: 64px 0 48px; border-bottom: 1px solid var(--panel); }
.page-head h1 { font-size: clamp(40px, 5.5vw, 64px); margin-bottom: 18px; }

/* Formulare */
form { display: grid; gap: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--cable); }
input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea {
  width: 100%; font: 400 16px/1.4 var(--text); color: var(--ink); background: var(--white);
  border: 1.5px solid #c4ccd8; border-radius: 4px; padding: 12px 14px;
}
input:focus, select:focus, textarea:focus { border-color: var(--signal); outline: none; box-shadow: 0 0 0 3px rgba(0,113,217,.2); }
textarea { min-height: 140px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 20px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 16px; margin: 0; }
.check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--signal); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-box { background: var(--white); border: 1px solid var(--panel); border-radius: 6px; padding: 36px; }
.aside p { color: var(--cable); }
.aside h3 { margin-top: 28px; }

/* Rechtstexte */
.legal h2 { font-size: 30px; margin: 40px 0 12px; }
.legal h3 { font-family: var(--text); font-size: 18px; font-weight: 600; margin: 24px 0 6px; }
.note { background: #fff6d8; border-left: 4px solid #d9a400; padding: 14px 18px; margin: 0 0 32px; font-size: 15px; max-width: 70ch; }

/* Fußzeile */
.site-foot { background: var(--white); border-top: 1px solid var(--panel); padding: 48px 0 32px; font-size: 15px; }
.site-foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-foot h3 { font-family: var(--text); font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: 6px; }
.site-foot a { color: var(--ink); }
.site-foot .legal-line { grid-column: 1 / -1; border-top: 1px solid var(--panel); padding-top: 20px; color: var(--cable); font-size: 14px; display: flex; gap: 20px; flex-wrap: wrap; }

/* Mobil */
@media (max-width: 900px) {
  .hero .wrap, .split, .services { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .steps li::after { display: none; }
  .site-foot .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-toggle { display: inline-block; background: none; border: 1.5px solid var(--ink); border-radius: 4px; padding: 8px 12px; font: 600 15px var(--text); color: var(--ink); }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: flex-start; padding: 16px 24px 24px; border-bottom: 1px solid var(--panel); gap: 16px; }
  .nav.open { display: flex; }
  section { padding: 64px 0; }
  .hero { padding: 48px 0 56px; }
  .form-grid, .checks, .steps { grid-template-columns: 1fr; }
  .form-box { padding: 22px; }
}

/* Leistungen im Detail */
.detail { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; border-top: 2px solid var(--ink); padding: 28px 0 36px; }
.detail h2 { font-size: clamp(26px, 3vw, 34px); margin: 0; }
.detail p { color: var(--cable); }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 8px 0 8px 26px; position: relative; border-bottom: 1px solid var(--panel); }
.checklist li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 10px; height: 10px; background: var(--signal); border-radius: 1px; }
.muted { color: var(--cable); }

/* Projekte */
.projects { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 56px; }
.project { border-top: 2px solid var(--ink); padding: 18px 0 32px; }
.project-meta { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; color: var(--signal); margin-bottom: 8px; }
.project p { color: var(--cable); margin: 0; }
@media (max-width: 760px) {
  .detail, .projects { grid-template-columns: 1fr; gap: 16px; }
}
