:root {
  --yellow: #ffd100;
  --bg: #0b0d0e;
  --bg-soft: #111417;
  --text: #14171a;
  --text-soft: #444a50;
  --line: #e7e7e4;
  --panel: #ffffff;
  --max: 1320px;
  --radius: 16px;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    "Poppins",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 11, 12, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.brand img {
  height: 68px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 34px;
  align-items: center;
}

.main-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--yellow);
}

.main-nav a.active::after,
.main-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -14px;
  width: 38px;
  height: 3px;
  margin: 0 auto;
  background: var(--yellow);
  border-radius: 99px;
}

.hero {
  padding: 72px 24px 58px;
  background: #060708;
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(380px, 0.9fr) minmax(520px, 1.2fr);
  overflow: hidden;
  background: #0b0d0e;
}

.hero-content {
  padding: 54px 110px 58px 58px;
  position: relative;
  z-index: 1;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 42%),
    linear-gradient(180deg, #15181b 0%, #070809 100%);
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--yellow);
  font-size: 0.74rem;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero h1,
.legal-hero h1 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.hero h1 {
  max-width: 560px;
  color: #ffffff;
  font-size: clamp(2.35rem, 3.4vw, 4.1rem);
}

.hero h1 span {
  display: block;
  color: var(--yellow);
}

.hero-text {
  max-width: 520px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.99rem;
  line-height: 1.7;
}

.hero-image {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  margin-left: -120px;
}

.hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 6, 7, 0.14), transparent 32%),
    linear-gradient(180deg, transparent 72%, rgba(5, 6, 7, 0.12));
  pointer-events: none;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.person-cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.hero-ctas {
  margin-top: 30px;
  max-width: 430px;
  gap: 12px;
}

.person-cta {
  min-height: 96px;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--yellow);
  color: #08090a;
  box-shadow: 0 18px 36px rgba(255, 204, 0, 0.22);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.person-cta:hover {
  transform: translateY(-2px);
  background: #ffdb2e;
  box-shadow: 0 22px 44px rgba(255, 204, 0, 0.28);
}

.person-cta-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.72rem;
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.84;
}

.person-cta strong {
  display: block;
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 800;
}

.person-cta small {
  display: block;
  margin-top: 4px;
  font-size: 0.93rem;
  line-height: 1.35;
  font-weight: 700;
}

section {
  padding: 42px 0;
}

.section-title {
  text-align: center;
  margin: 0 0 28px;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(1.95rem, 3vw, 2.9rem);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.section-title p {
  max-width: 820px;
  margin: 14px auto 0;
  color: var(--text-soft);
  font-size: 1.04rem;
  line-height: 1.65;
}

.underline {
  display: block;
  width: 78px;
  height: 4px;
  margin: 14px auto 0;
  background: var(--yellow);
  border-radius: 999px;
}

.services {
  background: #ffffff;
  padding-top: 38px;
  padding-bottom: 46px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  min-height: 220px;
  padding: 32px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card svg {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  color: var(--yellow);
  stroke: currentColor;
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.service-card p {
  margin: 0;
  color: #383d42;
  font-size: 0.97rem;
  line-height: 1.58;
}

.why {
  padding: 44px 0 42px;
  color: #ffffff;
  background:
    linear-gradient(rgba(10, 11, 12, 0.88), rgba(10, 11, 12, 0.92)),
    url("assets/project-3.webp") center / cover;
}

.why .section-title h2 {
  color: #ffffff;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.why-item {
  min-height: 126px;
  padding: 14px 18px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.28);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 11px;
}

.why-item:last-child {
  border-right: 0;
}

.why-item svg {
  width: 56px;
  height: 56px;
  color: var(--yellow);
  stroke: currentColor;
}

.why-item span {
  font-size: 0.98rem;
  line-height: 1.3;
  font-weight: 800;
}

.projects {
  background: #ffffff;
  padding-top: 30px;
  padding-bottom: 40px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.gallery figure {
  height: 240px;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #dddddd;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.gallery figure:hover img {
  transform: scale(1.03);
}

.process {
  padding-top: 36px;
  padding-bottom: 48px;
  background: linear-gradient(180deg, #f4f4f2, #ffffff);
}

.steps {
  max-width: 1110px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 90px;
}

.step {
  position: relative;
  min-height: 182px;
  padding: 32px 24px 24px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
  text-align: center;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(100% + 16px);
  width: 58px;
  height: 18px;
  transform: translateY(-50%);
  background-image: url("data:image/svg+xml,%3Csvg width='58' height='18' viewBox='0 0 58 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 9H47' stroke='%23FFD100' stroke-width='3.6' stroke-linecap='round'/%3E%3Cpath d='M40 3L47 9L40 15' stroke='%23FFD100' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.num {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: #111111;
  font-size: 1.05rem;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(255, 209, 0, 0.24);
}

.step h3 {
  margin: 18px 0 9px;
  font-size: 1rem;
  font-weight: 800;
}

.step p {
  margin: 0;
  color: #33383e;
  font-size: 0.95rem;
  line-height: 1.56;
}

.contact {
  padding: 0;
  color: #ffffff;
  background: #0b0d0e;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-inner {
  max-width: var(--max);
  min-height: 250px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 28% 37% 35%;
  align-items: stretch;
  background: linear-gradient(135deg, #151719, #0b0d0e);
}

.contact-logo {
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #151719, #0d0f10);
}

.contact-logo img {
  width: 190px;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.34));
}

.contact-copy {
  padding: 42px 48px;
}

.contact-copy h2 {
  margin: 0 0 6px;
  font-size: 2.35rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.contact-copy .underline {
  width: 70px;
  margin: 10px 0 24px;
}

.contact-copy p {
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.58;
}

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

.contact-details {
  padding: 34px 54px 34px 44px;
  border-left: 1px solid rgba(255, 255, 255, 0.42);
}

.contact-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  align-items: start;
  padding: 12px 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-row:last-child {
  border-bottom: 0;
}

.contact-row.no-link {
  cursor: default;
}

.contact-icon-simple {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: var(--yellow);
}

.contact-line-icon {
  width: 18px;
  height: 18px;
  display: block;
  color: currentColor;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-row small {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
  line-height: 1.3;
}

.contact-row strong {
  display: block;
  margin-top: 2px;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 700;
}

.footer {
  padding: 20px 16px 24px;
  color: #e8e8e8;
  background: #090a0b;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
}

.footer strong {
  display: block;
  color: var(--yellow);
  font-size: 1.05rem;
  margin-bottom: 5px;
}

.footer-links {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
}

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

.footer-links a:hover {
  color: var(--yellow);
}

.legal-footer {
  margin-top: 0;
}

.legal-hero {
  padding: 86px 0 74px;
  color: #ffffff;
  background:
    linear-gradient(rgba(5, 6, 7, 0.86), rgba(5, 6, 7, 0.94)),
    url("assets/hero-pv.png") center / cover;
}

.legal-hero h1 {
  max-width: 920px;
  font-size: clamp(2.6rem, 5vw, 4.5rem);
}

.legal-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.7;
}

.legal-content {
  padding: 48px 0 64px;
  background: #f5f5f3;
}

.legal-wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 32px;
}

.legal-card {
  margin: 0 0 22px;
  padding: 34px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.legal-card h2 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.legal-card p {
  margin: 0 0 18px;
  color: #33383e;
  line-height: 1.72;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-card a {
  color: #111111;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 3px;
}

@media (max-width: 1180px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-content {
    clip-path: none;
    padding: 54px 34px;
  }

  .hero-image {
    min-height: 420px;
    margin-left: 0;
  }

  .service-grid,
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .why-item:last-child {
    border-bottom: 0;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 54px;
  }

  .step:not(:last-child)::after {
    display: none;
  }

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

  .contact-logo {
    min-height: 180px;
  }

  .contact-details {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    padding: 30px;
  }

  .contact-copy {
    padding: 32px 30px;
  }
}

@media (max-width: 760px) {
  .wrap,
  .legal-wrap {
    padding: 0 18px;
  }

  .header-inner {
    height: auto;
    padding: 16px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .brand img {
    height: 60px;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .main-nav a {
    white-space: nowrap;
    font-size: 0.92rem;
  }

  .hero {
    padding: 20px 0 36px;
  }

  .hero-content {
    padding: 44px 24px;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 11vw, 3.2rem);
  }

  .hero-text,
  .section-title p,
  .legal-hero p:not(.eyebrow) {
    font-size: 0.97rem;
  }

  .person-cta-grid,
  .service-grid,
  .gallery,
  .why-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .gallery figure {
    height: 230px;
  }

  .hero-image {
    min-height: 290px;
  }

  .contact-copy h2 {
    font-size: 2rem;
  }

  .contact-row strong {
    font-size: 0.98rem;
  }

  .legal-hero {
    padding: 58px 0 50px;
  }

  .legal-card {
    padding: 24px;
  }
}

/* v30 - Desktop bekommt mehr Luft zwischen Header und Hero */
@media (max-width: 1180px) {
  .hero {
    padding: 30px 24px 46px;
  }
}

@media (max-width: 760px) {
  .hero {
    padding: 20px 0 36px;
  }
}

/* v30 - Kontaktblock rechts entschlackt */
.contact-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-row {
  min-height: 68px;
}

/* v31 - sichtbare Desktop-Korrekturen */
@media (min-width: 1181px) {
  .hero {
    padding-top: 72px;
    padding-bottom: 58px;
  }

  .hero-content {
    padding-right: 110px;
    clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
  }

  .hero-image {
    min-height: 600px;
    margin-left: -120px;
  }

  .hero-ctas {
    max-width: 430px;
    gap: 12px;
  }

  .hero-ctas .person-cta {
    min-height: 78px;
    padding: 12px 14px;
    border-radius: 14px;
  }

  .hero-ctas .person-cta-label {
    font-size: 0.65rem;
    margin-bottom: 5px;
  }

  .hero-ctas .person-cta strong {
    font-size: 0.92rem;
  }

  .hero-ctas .person-cta small {
    font-size: 0.82rem;
  }
}

/* v31 - Kontaktbereich weniger überladen */
.contact-copy {
  padding: 42px 40px;
}

.contact-copy p {
  margin-bottom: 22px;
}

.contact-ctas-compact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-cta-compact {
  display: block;
  min-height: 70px;
  padding: 13px 14px;
  border-radius: 14px;
  background: var(--yellow);
  color: #08090a;
  box-shadow: 0 14px 28px rgba(255, 204, 0, 0.2);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.contact-cta-compact:hover {
  transform: translateY(-2px);
  background: #ffdb2e;
  box-shadow: 0 18px 34px rgba(255, 204, 0, 0.26);
}

.contact-cta-compact span {
  display: block;
  font-size: 0.88rem;
  line-height: 1.2;
  font-weight: 800;
}

.contact-cta-compact strong {
  display: block;
  margin-top: 4px;
  font-size: 0.9rem;
  line-height: 1.28;
  font-weight: 800;
}

.contact-details {
  justify-content: center;
}

@media (max-width: 1180px) {
  .contact-ctas-compact {
    max-width: 560px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .contact-ctas-compact {
    grid-template-columns: 1fr;
  }
}

/* v32 - clean vector logo from original PDF */
.brand img,
.contact-logo img {
  image-rendering: auto;
}
