:root {
  --gold: #c98524;
  --ink: #252826;
  --black: #1f2527;
  --muted: #676d66;
  --line: #dedfd9;
  --soft: #f4f4f1;
  --paper: #ffffff;
  --champagne: #ffffff;
  --stone: #92988c;
  --stone-dark: #6f766c;
  --mint: #f4f4f1;
  --white: #ffffff;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

.site-header {
  border-bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 24px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: block;
  width: min(250px, 54vw);
  height: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.main-nav a:hover {
  color: var(--ink);
}

.phone {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #181300;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(37, 40, 38, 0.08);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.button.dark {
  border-color: var(--stone-dark);
  background: var(--stone-dark);
  color: var(--white);
}

.mobile-icon-link,
.mobile-menu-toggle,
.mobile-menu-close {
  display: none;
}

.mobile-icon-link,
.mobile-menu-toggle,
.mobile-menu-close {
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 10px 20px rgba(37, 40, 38, 0.08);
}

.mobile-icon-link svg,
.mobile-menu-close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-menu-toggle {
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  margin: 0;
  transition: transform 180ms ease, width 180ms ease;
}

.mobile-menu-toggle span:nth-child(2) {
  width: 12px;
}

.mobile-menu-toggle span:nth-child(3) {
  display: none;
}

.mobile-menu-toggle:hover span:nth-child(2),
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  width: 17px;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  background: rgba(37, 40, 38, 0.35);
  backdrop-filter: blur(12px);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu-panel {
  min-height: 100%;
  padding: 22px 24px 34px;
  background: var(--stone);
  color: var(--white);
  display: flex;
  flex-direction: column;
}

.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.mobile-menu-logo {
  width: min(230px, 58vw);
  height: auto;
  filter: brightness(0) invert(1);
}

.mobile-menu-close {
  display: inline-flex;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  cursor: pointer;
}

.mobile-menu-nav {
  display: grid;
  gap: 10px;
  margin-top: 62px;
}

.mobile-menu-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 0 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
  text-decoration: none;
  font-size: clamp(28px, 10vw, 46px);
  font-weight: 800;
  line-height: 1;
}

.mobile-menu-nav a::after {
  content: "→";
  color: var(--gold);
  font-size: 24px;
}

.mobile-menu-contact {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 48px;
}

.mobile-menu-contact a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration-color: rgba(255, 255, 255, 0.44);
  text-underline-offset: 4px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 22px 24px 52px;
  background: var(--white);
}

.hero-inner {
  max-width: var(--max);
  min-height: 590px;
  margin: 0 auto;
  padding: 52px 42px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 52px;
  align-items: center;
  background: var(--champagne);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(37, 40, 38, 0.08);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 12px;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 620px;
  margin-bottom: 22px;
  font-size: clamp(38px, 5.2vw, 66px);
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.build-note {
  max-width: 390px;
  margin: 28px 0 0;
  padding: 12px 14px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 15px;
}

.build-note strong {
  color: var(--ink);
}

.hero-media {
  position: relative;
  align-self: stretch;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 4% 2% 2% 5%;
  background: var(--white);
  border: 1px solid rgba(201, 133, 36, 0.5);
  border-radius: 28px;
  transform: rotate(-1.5deg);
}

.hero-graphic {
  position: relative;
  width: min(100%, 620px);
  height: auto;
  filter: drop-shadow(0 26px 36px rgba(31, 37, 39, 0.13));
  border-radius: 24px;
}

.floating-card {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 2px;
  min-width: 150px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 231, 227, 0.9);
  border-radius: 18px;
  box-shadow: 0 18px 38px rgba(37, 40, 38, 0.11);
}

.floating-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.floating-card strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.05;
}

.card-tech {
  left: 0;
  top: 20%;
}

.card-care {
  right: 0;
  bottom: 22%;
}

.claim-strip {
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 14px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.claim-strip span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  background: var(--white);
  border: 1px solid rgba(201, 133, 36, 0.42);
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(37, 40, 38, 0.07);
}

.section {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

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

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

.section-title {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-title h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3.3vw, 40px);
  line-height: 1.1;
}

.section-title p {
  color: var(--muted);
  font-size: 17px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  background: transparent;
  border: 0;
}

.tile {
  min-height: 74px;
  padding: 20px 56px 20px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: transform 180ms ease, border-color 180ms ease;
  position: relative;
}

.tile:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 133, 36, 0.8);
}

.tile h3 {
  margin-bottom: 4px;
  font-size: 18px;
}

.tile p {
  color: var(--muted);
  margin-bottom: 0;
  font-size: 15px;
}

.tile::after {
  content: "→";
  position: absolute;
  right: 18px;
  top: 21px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--soft);
  font-weight: 800;
}

.tile:nth-child(2n) {
  background: var(--gold);
  color: #211700;
}

.tile:nth-child(3n) {
  background: var(--stone);
  border-color: var(--stone);
  color: var(--white);
}

.tile:nth-child(2n)::after,
.tile:nth-child(3n)::after {
  background: var(--white);
}

.tile:nth-child(2n) p {
  color: rgba(33, 23, 0, 0.78);
}

.tile:nth-child(3n) p {
  color: rgba(255, 255, 255, 0.74);
}

.tile:nth-child(3n)::after {
  color: var(--ink);
}

.tile:hover {
  box-shadow: 0 16px 34px rgba(37, 40, 38, 0.08);
}

.tile:hover::after {
  background: var(--gold);
}

.tile:hover p {
  color: #425457;
}

.tile:nth-child(2n):hover p {
  color: rgba(33, 23, 0, 0.78);
}

.tile:nth-child(3n):hover p {
  color: rgba(255, 255, 255, 0.74);
}

.tile:nth-child(3n):hover::after {
  background: var(--gold);
  color: #211700;
}

.job {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 48px;
  align-items: start;
}

.job-card {
  position: relative;
  padding: 34px;
  border: 1px solid rgba(201, 133, 36, 0.55);
  background: var(--white);
  border-radius: 22px;
  box-shadow: 0 22px 54px rgba(37, 40, 38, 0.1);
}

.job-card::before {
  content: "Wir suchen";
  display: inline-flex;
  margin-bottom: 18px;
  min-height: 34px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--gold);
  color: #211700;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.job-card h3 {
  font-size: 24px;
  line-height: 1.2;
}

.job-meta {
  color: var(--muted);
  margin-bottom: 24px;
}

.list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.list li + li {
  margin-top: 8px;
}

.job-card .hero-actions {
  margin-top: 28px;
}

.contact-band {
  background: var(--stone);
  color: var(--ink);
  border-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.56fr);
  gap: 48px;
  align-items: center;
}

.contact-band .section-inner {
  padding-top: 74px;
  padding-bottom: 74px;
}

.contact-grid .eyebrow {
  color: var(--white);
}

.contact-grid p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 630px;
  font-size: 18px;
}

.contact-grid h2 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
}

.contact-card {
  display: grid;
  gap: 10px;
  padding: 28px;
  background: var(--white);
  color: var(--ink);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 24px 54px rgba(37, 40, 38, 0.16);
  font-style: normal;
}

.contact-card strong {
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 22px;
  line-height: 1.1;
}

.contact-card span,
.contact-card a {
  color: var(--muted);
}

.contact-card a {
  text-decoration-color: rgba(201, 133, 36, 0.55);
  text-underline-offset: 4px;
}

.contact-card a:hover {
  color: var(--ink);
  text-decoration-color: var(--gold);
}

.contact-phone-link {
  margin-top: 12px;
}

.legal {
  color: var(--muted);
}

.legal h2 {
  color: var(--ink);
}

.legal-page {
  display: none;
}

.legal-page:target {
  display: block;
}

.notice {
  padding: 16px 18px;
  border: 1px solid #ead7a3;
  background: #fff8e4;
  color: #5f4810;
  border-radius: 4px;
}

.site-footer {
  padding: 24px;
  background: var(--stone-dark);
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
}

@media (max-width: 1020px) {
  .main-nav {
    display: none;
  }
}

@media (max-width: 860px) {
  .header-inner,
  .header-actions,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-inner,
  .job,
  .contact-grid,
  .legal-page:target {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
    padding: 34px 22px 38px;
    border-radius: 22px;
  }

  .hero-media {
    min-height: 390px;
    order: 0;
  }

  .claim-strip {
    left: 0;
    right: 0;
  }

  .floating-card {
    min-width: 132px;
    padding: 12px 14px;
  }

  .floating-card strong {
    font-size: 15px;
  }

  .card-tech {
    left: 5%;
    top: 14%;
  }

  .card-care {
    right: 5%;
    bottom: 24%;
  }

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

@media (max-width: 620px) {
  .site-header {
    position: sticky;
  }

  .header-inner {
    flex-direction: row;
    align-items: center;
    padding-top: 12px;
    padding-bottom: 10px;
    gap: 12px;
  }

  .logo {
    width: min(210px, 46vw);
  }

  .header-actions {
    width: auto;
    margin-left: auto;
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }

  .header-actions .button {
    display: none;
  }

  .mobile-icon-link,
  .mobile-menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .floating-card {
    display: none;
  }

  .build-note {
    border-radius: 18px;
  }
}

@media (max-width: 520px) {
  .header-inner,
  .section-inner,
  .hero-inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: 38px;
  }

  .lead {
    font-size: 17px;
  }

  .hero-actions,
  .header-actions {
    width: 100%;
  }

  .button {
    width: 100%;
  }
}
