/* Novia – novialabs.de */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --black: #111111;
  --white: #ffffff;
  --orange: #f26b1f;
  --text: #111111;
  --muted: #5c5c5c;
  --muted-dark: #a3a3a3;
  --line: #e7e7e7;
  --line-dark: #2a2a2a;
  --max: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 10;
  padding: 8px 14px;
  background: var(--black);
  color: var(--white);
  border-radius: 6px;
}

/* Header */

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 28px;
}

.logo {
  display: inline-block;
  line-height: 0;
}

.logo img {
  height: 34px;
  width: auto;
}

.header-link {
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.2s ease;
}

.header-link:hover {
  border-bottom-color: var(--orange);
}

/* Hero */

.hero {
  padding: clamp(72px, 14vh, 160px) 0 clamp(80px, 14vh, 150px);
}

.eyebrow {
  margin: 0 0 24px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 12px;
  border-radius: 50%;
  background: var(--orange);
  vertical-align: 0.08em;
}

h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2.75rem, 9vw, 6.25rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.dot {
  color: var(--orange);
}

.lead {
  max-width: 34em;
  margin: clamp(28px, 4vw, 40px) 0 0;
  font-size: clamp(1.125rem, 2vw, 1.3125rem);
  line-height: 1.6;
  color: var(--muted);
}

.lead strong {
  color: var(--text);
  font-weight: 700;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
  margin-top: clamp(36px, 5vw, 48px);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--black);
  color: var(--white);
}

.btn-primary:hover {
  background: #2b2b2b;
}

.btn-accent {
  background: var(--orange);
  color: var(--black);
}

.btn-accent:hover {
  background: #ff7d33;
}

.text-link {
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1.5px solid var(--line);
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
}

.text-link:hover {
  border-bottom-color: var(--orange);
}

/* Schwerpunkte */

.services {
  padding: 0 0 clamp(88px, 12vw, 140px);
}

.section-label {
  margin: 0 0 32px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 48px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.service-num {
  display: block;
  margin-bottom: 20px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}

.service-list h3 {
  margin: 0 0 10px;
  font-size: 1.3125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.service-list p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

/* Kontakt */

.contact {
  background: var(--black);
  color: var(--white);
  padding: clamp(88px, 12vw, 140px) 0;
}

.contact .section-label {
  color: var(--muted-dark);
}

.contact h2 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(2.125rem, 5.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.contact-intro {
  max-width: 30em;
  margin: 24px 0 0;
  color: var(--muted-dark);
  font-size: 1.125rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 48px;
  margin-top: clamp(48px, 7vw, 72px);
  padding-top: 40px;
  border-top: 1px solid var(--line-dark);
}

.contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 64px;
  margin: 0;
}

.contact-list dt {
  margin-bottom: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

.contact-list dd {
  margin: 0;
  font-size: clamp(1.125rem, 2.2vw, 1.375rem);
  font-weight: 700;
}

.contact-list a {
  text-decoration: none;
  overflow-wrap: anywhere;
  border-bottom: 1.5px solid var(--line-dark);
  transition: border-color 0.2s ease;
}

.contact-list a:hover {
  border-bottom-color: var(--orange);
}

/* Footer */

.site-footer {
  font-size: 0.9375rem;
  color: var(--muted);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-top: 32px;
  padding-bottom: 32px;
}

.site-footer p {
  margin: 0;
}

.footer-nav {
  display: flex;
  gap: 28px;
}

.footer-nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--text);
}

.footer-nav a:hover,
.footer-nav a[aria-current="page"] {
  color: var(--orange);
}

.page-legal .site-footer {
  border-top: 1px solid var(--line);
}

/* Rechtstexte */

.legal {
  max-width: 760px;
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(72px, 10vw, 120px);
}

.legal h1 {
  max-width: none;
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  margin-bottom: 40px;
}

.legal h2 {
  margin: 48px 0 12px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.legal h3 {
  margin: 28px 0 8px;
  font-size: 1.0625rem;
  font-weight: 700;
}

.legal p,
.legal ul {
  margin: 0 0 16px;
  color: #333333;
}

.legal ul {
  padding-left: 1.25em;
}

.legal li {
  margin-bottom: 6px;
}

.legal a {
  text-decoration-color: var(--orange);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.legal address {
  font-style: normal;
}

.legal .stand {
  margin-top: 48px;
  font-size: 0.9375rem;
  color: var(--muted);
}

.back-link {
  display: inline-block;
  margin-bottom: 32px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--muted);
}

.back-link:hover {
  color: var(--text);
}

/* Mobil */

@media (max-width: 860px) {
  .service-list {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .logo img {
    height: 28px;
  }

  .site-header .wrap {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .actions .btn,
  .contact .btn {
    width: 100%;
    justify-content: center;
  }

  .contact-list {
    flex-direction: column;
    gap: 24px;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
