/* TechHeaven GmbH – statische Unternehmensseite im Designsystem von Taveqo (Systemschrift, hellgraue Kacheln, ein Blau-Akzent). */
:root {
  --bg: #ffffff;
  --fg: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --line-soft: #e8e8ed;
  --tile: #f5f5f7;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --link: #0066cc;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --pad: clamp(20px, 5vw, 48px);
  --sec: clamp(72px, 9vw, 136px);
  --max: 1120px;
  --r: 28px;
  --nav-h: 52px;
  --ease: cubic-bezier(0.28, 0.11, 0.32, 1);
}
.inv {
  --bg: #000000;
  --fg: #f5f5f7;
  --muted: #86868b;
  --line: #2c2c2e;
  --tile: #161617;
  --link: #2997ff;
  background: var(--bg);
  color: var(--fg);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
address {
  margin: 0;
}
ul {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
address {
  font-style: normal;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

.wrap {
  padding-left: max(var(--pad), calc((100% - var(--max)) / 2));
  padding-right: max(var(--pad), calc((100% - var(--max)) / 2));
}
.wrap--narrow {
  --max: 760px;
}
.sec {
  padding-top: var(--sec);
  padding-bottom: var(--sec);
}
.sec--tight {
  padding-top: calc(var(--sec) * 0.55);
  padding-bottom: calc(var(--sec) * 0.55);
}
.center {
  text-align: center;
}

/* Typografie */
.eyebrow {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 10px;
}
.h1 {
  font-size: clamp(2.6rem, 7.2vw, 5.5rem);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.h2 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.07;
  font-weight: 600;
  letter-spacing: -0.024em;
}
.h3 {
  font-size: clamp(1.3rem, 2vw, 1.5rem);
  line-height: 1.17;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.lead {
  font-size: clamp(1.1875rem, 1.9vw, 1.5rem);
  line-height: 1.33;
  letter-spacing: -0.015em;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 14px;
  letter-spacing: -0.012em;
}
.link {
  color: var(--link);
}
.link:hover {
  text-decoration: underline;
}
.link--arrow::after {
  content: " ›";
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line-soft);
}
.logo {
  display: inline-flex;
  align-items: baseline;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}
.logo i {
  display: inline-block;
  width: 0.2em;
  height: 0.2em;
  margin-left: 0.06em;
  border-radius: 50%;
  background: var(--accent);
}
.nav__links {
  display: flex;
  gap: clamp(16px, 2.6vw, 34px);
  font-size: 12px;
}
.nav__links a {
  opacity: 0.8;
  transition: opacity 0.2s;
}
.nav__links a:hover {
  opacity: 1;
}
@media (max-width: 720px) {
  .nav__links {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 17px;
  white-space: nowrap;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.btn:hover {
  background: var(--accent-hover);
}
.btn--ghost {
  background: transparent;
  color: var(--link);
  box-shadow: inset 0 0 0 1px var(--link);
}
.btn--ghost:hover {
  background: var(--link);
  color: #fff;
}
.inv .btn--ghost:hover {
  color: #000;
}
.btn--sm {
  min-height: 32px;
  padding: 0 15px;
  font-size: 14px;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn-row--center {
  justify-content: center;
}

/* Hero */
.hero {
  padding-top: clamp(72px, 11vw, 150px);
  padding-bottom: clamp(56px, 8vw, 110px);
  text-align: center;
}
.hero .lead {
  max-width: 34em;
  margin: 22px auto 34px;
  color: var(--muted);
}

/* Kacheln */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
}
.tile {
  background: var(--tile);
  border-radius: var(--r);
  padding: clamp(24px, 3.4vw, 40px);
}
.tile p {
  color: var(--muted);
  margin-top: 10px;
}
.tile--lg {
  padding: clamp(28px, 4.5vw, 64px);
}
.shead {
  max-width: 44em;
  margin: 0 auto clamp(36px, 5vw, 64px);
  text-align: center;
}
.shead .lead {
  color: var(--muted);
  margin-top: 16px;
}

/* Projekt Taveqo */
.project {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 860px) {
  .project {
    grid-template-columns: 1fr;
  }
}
.project__mark {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
}
.project__mark i {
  display: inline-block;
  width: 0.2em;
  height: 0.2em;
  margin-left: 0.06em;
  border-radius: 50%;
  background: #2997ff;
}
.facts {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.facts > div {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.facts dt {
  color: var(--muted);
}

/* Text- und Rechtsseiten */
.prose {
  max-width: 68ch;
  margin: 0 auto;
}
.prose h2 {
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.018em;
  margin: 2.2em 0 0.6em;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose p,
.prose ul,
.prose address {
  margin: 0 0 1em;
}
.prose ul {
  list-style: disc;
  padding-left: 1.2em;
}
.prose li {
  margin: 0.3em 0;
}
.prose a {
  color: var(--link);
}
.prose a:hover {
  text-decoration: underline;
}
.pagehead {
  padding-top: clamp(56px, 8vw, 104px);
  padding-bottom: clamp(32px, 4vw, 56px);
  text-align: center;
}

/* Footer */
.foot {
  padding-top: 56px;
  padding-bottom: 40px;
  font-size: 12px;
}
.foot__cols {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 720px) {
  .foot__cols {
    grid-template-columns: 1fr;
  }
}
.foot h3 {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}
.foot li {
  margin: 8px 0;
  color: var(--muted);
}
.foot li a:hover {
  color: var(--fg);
}
.foot__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  color: var(--muted);
}
