:root {
  --orange: #f3921a;
  --ink: #303234;
  --muted: #6f7275;
  --line: #dedede;
  --paper: #fff;
  --soft: #f4f4f3;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

a {
  color: inherit;
}

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

/* Navigation */

.nav {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.nav img {
  display: block;
  width: 135px;
  height: auto;
}

.nav-links {
  display: flex;
  gap: 25px;
  font-size: .88rem;
  color: var(--muted);
  text-decoration: none;
}

.nav-links a {
  text-decoration: none;
}

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

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .05em;
  text-decoration: none;
  color: var(--ink);
}

.lang-switch:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.nav-links .lang-switch {
  margin-left: 6px;
}

/* Hero */

.hero {
  padding: 108px 0 82px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(240px, .7fr);
  gap: 72px;
  align-items: end;
}

.eyebrow {
  margin: 0 0 19px;
  color: var(--orange);
  font-size: .79rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(2.65rem, 5.8vw, 5.3rem);
  line-height: 1.02;
  letter-spacing: -.055em;
  font-weight: 720;
}

.hero-copy {
  margin: 30px 0 0;
  max-width: 630px;
  font-size: 1.1rem;
  color: var(--muted);
}

.hero-card {
  border-left: 3px solid var(--orange);
  padding: 8px 0 8px 24px;
}

.hero-card p {
  margin: 0 0 4px;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-card strong {
  font-size: 1.15rem;
}

/* Buttons */

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 39px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 49px;
  padding: 0 21px;
  border: 1px solid var(--orange);
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none;
}

.button:hover {
  background: #db7d08;
  border-color: #db7d08;
}

.button.ghost {
  background: transparent;
  color: var(--ink);
  border-color: #c7c7c7;
}

.button.ghost:hover {
  border-color: var(--ink);
}

/* Sections (generic) */

section {
  padding: 88px 0;
  border-top: 1px solid var(--line);
}

.section-label {
  font-size: .78rem;
  color: var(--orange);
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Profil / About */

.about {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 72px;
}

.about h2,
.contact h2 {
  margin: 7px 0 0;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.about p {
  max-width: 700px;
  margin: 0;
  font-size: 1.12rem;
  color: #505356;
}

/* Leistungen / Services */

.services {
  background: var(--soft);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  margin-top: 42px;
  border: 1px solid var(--line);
}

.service {
  padding: 30px;
  background: var(--paper);
  min-height: 196px;
}

.service-num {
  display: block;
  color: var(--orange);
  font-size: .77rem;
  font-weight: 750;
  letter-spacing: .1em;
}

.service h3 {
  margin: 27px 0 8px;
  font-size: 1.22rem;
  line-height: 1.2;
}

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

/* Kontakt / Contact */

.contact {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 72px;
}

.contact-intro {
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.detail {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.detail:nth-child(odd) {
  padding-right: 28px;
}

.detail:nth-child(even) {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.detail small {
  display: block;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 720;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.detail a {
  text-decoration: none;
}

.detail a:hover {
  color: var(--orange);
}

/* Footer */

footer {
  padding: 31px 0;
  color: var(--muted);
  font-size: .82rem;
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

footer a {
  text-decoration: none;
  margin-left: 20px;
}

footer a:hover {
  color: var(--orange);
}

/* Rechtliche Seiten / Legal pages */

.legal {
  padding: 70px 0 90px;
}

.legal h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: -.05em;
  line-height: 1.05;
  margin: 0 0 40px;
}

.legal h2 {
  font-size: 1.25rem;
  margin: 36px 0 9px;
}

.legal p,
.legal li {
  max-width: 760px;
  color: #4b4f52;
}

.legal .notice {
  border-left: 3px solid var(--orange);
  padding: 15px 20px;
  background: var(--soft);
  max-width: 760px;
  color: #4b4f52;
}

.back {
  padding: 28px 0 0;
}

.back a {
  color: var(--muted);
  text-decoration: none;
}

.back a:hover {
  color: var(--orange);
}

/* Responsive */

@media (max-width: 760px) {
  .wrap {
    width: min(100% - 34px, 1120px);
  }

  .nav {
    height: 72px;
  }

  .nav-links {
    gap: 15px;
    font-size: .78rem;
  }

  .nav img {
    width: 112px;
  }

  .hero {
    padding: 70px 0 58px;
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 12vw, 4.25rem);
  }

  .about,
  .contact {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  section {
    padding: 62px 0;
  }

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

  .service {
    min-height: 0;
  }

  .contact-details {
    grid-template-columns: 1fr;
  }

  .detail:nth-child(odd),
  .detail:nth-child(even) {
    padding: 18px 0;
    border-left: 0;
  }

  .detail:nth-child(even) {
    padding-top: 0;
  }

  .actions {
    margin-top: 30px;
  }

  .legal {
    padding-top: 45px;
  }
}
