/* TN Works – schlicht, schnell, ohne Fremdserver. Roboto liegt lokal (OFL). */
@font-face { font-family: "Roboto"; font-weight: 100 900; font-display: swap; src: url("../fonts/roboto-latin-var.woff2") format("woff2"); }

:root {
  --blue: #006CFF;
  --blue-dark: #0052C2;
  --ink: #111827;
  --muted: #4B5563;
  --line: #E5E7EB;
  --tint: #F3F6FB;
  --white: #fff;
  --radius: 14px;
  --sans: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--white); padding: 8px 12px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 18px; text-decoration: none; }
.brand img { width: 180px; height: auto; }
.brand-tag { color: var(--muted); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 16px; }
.nav-links a:hover { color: var(--blue); }
.nav-links .nav-call { background: var(--blue); color: var(--white); padding: 9px 18px; border-radius: 999px; }
.nav-links .nav-call:hover { background: var(--blue-dark); color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }

/* Hero */
.hero { position: relative; min-height: min(86vh, 820px); display: flex; align-items: flex-end; color: var(--white); overflow: hidden; background: #2a3340; }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; object-position: 66% 35%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,16,28,.72) 0%, rgba(10,16,28,.35) 45%, rgba(10,16,28,0) 70%), linear-gradient(0deg, rgba(10,16,28,.5) 0%, rgba(10,16,28,0) 40%); }
.hero-content { position: relative; z-index: 1; padding-block: 96px 80px; }
.hero-title { font-size: clamp(44px, 7vw, 84px); font-weight: 900; letter-spacing: -.02em; margin-bottom: 14px; }
.hero-text { font-size: clamp(18px, 2vw, 22px); font-weight: 500; max-width: 34ch; text-shadow: 0 1px 12px rgba(0,0,0,.35); }

/* Buttons */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-block; background: var(--blue); color: var(--white); text-decoration: none; font-weight: 700; padding: 14px 26px; border-radius: 999px; border: 2px solid var(--blue); transition: background .15s, border-color .15s; }
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.85); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn-outline { background: transparent; color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); }

/* Sections */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-tint { background: var(--tint); }
.section-head { margin-bottom: 40px; }
.eyebrow { color: var(--blue); font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.eyebrow.light { color: rgba(255,255,255,.8); }
.h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }

/* Über uns */
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.about-text p { color: var(--muted); }
.about-text .lead-strong { color: var(--ink); font-weight: 700; font-size: 19px; }
.promise { background: var(--blue); color: var(--white); border-radius: var(--radius); padding: 36px 32px; }
.promise h3 { font-size: 28px; font-weight: 800; margin-bottom: 18px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; font-weight: 500; font-size: 18px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006CFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Dienstleistungen */
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.service { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; transition: transform .15s, box-shadow .15s; }
.service:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(17,24,39,.08); }
.service-nr { display: inline-block; color: var(--blue); font-weight: 800; font-size: 15px; margin-bottom: 12px; border-bottom: 3px solid var(--blue); padding-bottom: 2px; }
.service h3 { font-size: 21px; font-weight: 700; }
.service p { color: var(--muted); font-size: 16px; margin: 0; }

/* Kontakt */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.contact > div > p { color: var(--muted); font-size: 18px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 28px 28px; box-shadow: 0 12px 40px rgba(17,24,39,.06); }
.contact-row { display: grid; grid-template-columns: 100px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.contact-row:hover .contact-value { color: var(--blue); }
.contact-label { color: var(--muted); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; padding-top: 3px; }
.contact-value { font-size: 19px; font-weight: 500; }

/* Rechtstexte */
.legal { padding-block: 56px 88px; max-width: 760px; }
.legal h1 { font-size: clamp(32px, 4vw, 44px); font-weight: 800; }
.legal h2 { font-size: 21px; margin-top: 2em; }
.legal p, .legal li { color: var(--muted); }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); font-size: 15px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 28px; }
.footer-inner p { margin: 0; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: rgba(255,255,255,.85); text-decoration: none; }
.footer-links a:hover { color: var(--white); text-decoration: underline; }

/* Mobil */
@media (max-width: 980px) {
  .brand-tag { display: none; }
}
@media (max-width: 760px) {
  .nav { min-height: 64px; }
  .brand img { width: 150px; }
  .nav-toggle { display: block; }
  .js .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; }
  .js .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links .nav-call { margin-top: 14px; text-align: center; border-bottom: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  html:not(.js) .nav-links { flex-wrap: wrap; gap: 12px; }
  .hero { min-height: min(78vh, 680px); }
  .hero-bg img { object-position: 60% 20%; }
  .hero::after { background: linear-gradient(0deg, rgba(10,16,28,.82) 0%, rgba(10,16,28,.35) 50%, rgba(10,16,28,0) 75%); }
  .hero-content { padding-block: 60px 40px; }
  .about, .contact { grid-template-columns: 1fr; }
  .contact-row { grid-template-columns: 1fr; gap: 2px; }
  .btn-row .btn { flex: 1 1 auto; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .service { transition: none; } }
