/* ===================================================
   Self-hosted Inter Font (Google Fonts)
   =================================================== */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/inter-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-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/inter-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;
}

/* ===================================================
   Variables & Reset
   =================================================== */

:root {
  --blue: #074291;
  --blue-light: #1976d2;
  --dark: #1a1a1a;
  --mid: #606566;
  --light: #A2A7A8;
  --muted: var(--light);
  --border: #E1E5E5;
  --bg: #ffffff;
  --bg-subtle: #f8f8f8;
  --max-width: 1100px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--dark);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* ===================================================
   Navigation
   =================================================== */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 120px;
  padding-bottom: 1rem;
}

.nav-logo {
  padding: 0.3rem 0;
  display: block;
}

.nav-logo img {
  height: 80px;/*44px*/
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--mid);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: all 0.25s;
}

/* ===================================================
   Hero
   =================================================== */

.hero {
  padding-top: 85px; /* nav height */
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 3rem 6rem 6rem;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.25rem;
}

.hero-name {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 1.15rem;
}

.hero-name strong {
  font-weight: 600;
}

.hero-title {
  font-size: 1rem;
  font-weight: 400;
  color: var(--mid);
  margin-bottom: 2.5rem;
  line-height: 1.5;
}

.hero-subline {
  font-size: 0.83em;
  color: var(--mid);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.75rem;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s;
  align-self: flex-start;
}

.hero-cta:hover {
  background: var(--mid);
}

.hero-image {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 4rem 6rem 4rem 3rem;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  max-width: 380px;
  height: 100%;
  max-height: calc(100vh - 68px - 8rem);
  object-fit: contain;
  object-position: center;
  display: block;
  filter: grayscale(15%);
}

/* ===================================================
   Sections
   =================================================== */

.section {
  padding: 5rem 2rem;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section--alt {
  background: var(--bg-subtle);
}

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 3rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

/* ===================================================
   Qualifikation
   =================================================== */

.qual-list {
  list-style: none;
  display: grid;
  gap: 1.25rem;
}

.qual-list li {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  font-size: 0.975rem;
  color: var(--mid);
  line-height: 1.6;
}

.qual-list li::before {
  content: '';
  display: block;
  width: 3px;
  min-height: 1.4em;
  background: var(--blue);
  flex-shrink: 0;
  margin-top: 0.15em;
}

/* ===================================================
   Tätigkeit
   =================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  padding: 2rem;
  border: 1px solid var(--border);
  background: var(--bg);
  position: relative;
}

.service-number {
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--light);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.service-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 1.25rem;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.service-list li {
  font-size: 0.875rem;
  color: var(--mid);
  line-height: 1.5;
  padding-left: 1rem;
  position: relative;
}

.service-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--muted);
  font-size: 0.75rem;
  top: 0.08em;
}

/* ===================================================
   Kontakt
   =================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-row {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.contact-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--blue);
  margin-top: 0.1em;
}

.contact-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.contact-value {
  font-size: 0.975rem;
  color: var(--dark);
  text-decoration: none;
  line-height: 1.5;
}

a.contact-value:hover {
  color: var(--blue);
}

.contact-tagline {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--mid);
  line-height: 1.6;
  padding: 2.5rem;
  border-left: 3px solid var(--blue);
  background: var(--bg-subtle);
  margin-top: 1rem;
}

/* ===================================================
   Reveal animation
   =================================================== */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease var(--delay, 0ms),
              transform 0.5s ease var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================
   Footer
   =================================================== */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1rem 2rem 1.5rem 2rem;
  text-align: center;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-logo img {
  height: 50px;
  width: auto;
}

/* ===================================================
   Responsive
   =================================================== */

@media (max-width: 900px) {

  .nav-inner {
    height: 85px;
    padding-bottom: 0.5rem;
  }

  .nav-logo {
    padding: 0.4rem 0;
  }

  .nav-logo img {
    height: 60px;
  }

  .nav-links {
    gap: 1.5rem;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-image {
    height: 50vw;
    justify-content: center;
    min-height: 280px;
    max-height: 420px;
    padding: 1.5rem 1.25rem 0 1.25rem;
    order: -1;
    object-position: center top;
  }

  .hero-image img {
    max-height: 100%;
  }

  .hero-text {
    padding: 3rem 1.25rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 640px) {

  .nav-logo {
    padding: 0.15rem 0;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1.25rem;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-name {
    font-size: 2rem;
  }

  .section {
    padding: 3.5rem 1.25rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .footer-inner {
    justify-content: center;
  }
}
