:root {
  /* Zentrale Designwerte fuer Farben, Abstaende und Schatten */
  --color-black: #0f0f10;
  --color-anthracite: #1b1c1e;
  --color-text: #24262a;
  --color-muted: #666b73;
  --color-line: #e5e7eb;
  --color-soft: #f5f5f4;
  --color-white: #ffffff;
  --shadow-soft: 0 18px 45px rgba(15, 15, 16, 0.08);
  --shadow-dark: 0 24px 70px rgba(0, 0, 0, 0.26);
  --radius: 8px;
  --container: 1180px;
  --header-height: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-white);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--color-black);
  background: var(--color-white);
  border: 2px solid var(--color-black);
  border-radius: 10px;
  transform: translateY(-140%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  /* Dunkler, fixer Markenanker mit leichtem Glas-Effekt */
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  color: var(--color-white);
  background: rgba(15, 15, 16, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 226px;
  padding: 6px 0;
}

.brand img {
  width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.95rem;
  font-weight: 650;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--color-white);
}

.main-nav .nav-button {
  padding: 10px 16px;
  color: var(--color-black);
  background: var(--color-white);
  border-radius: 999px;
}

.main-nav .nav-button:hover,
.main-nav .nav-button:focus-visible {
  color: var(--color-black);
  transform: translateY(-1px);
}

.legal-nav {
  gap: 14px;
}

.legal-nav a {
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--color-white);
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  /* Dunkler Hero als Kontrast zum hellen Grunddesign */
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--header-height));
  color: var(--color-white);
  background:
    linear-gradient(135deg, rgba(15, 15, 16, 0.98), rgba(27, 28, 30, 0.92)),
    radial-gradient(circle at 78% 42%, rgba(255, 255, 255, 0.18), transparent 34%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr);
  align-items: center;
  gap: 56px;
  min-height: calc(100vh - var(--header-height));
  padding-block: 76px;
}

.hero-content {
  animation: heroEnter 0.8s ease both;
}

.eyebrow {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--color-muted);
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  color: inherit;
  line-height: 1.08;
  overflow-wrap: normal;
  hyphens: none;
}

h1 {
  max-width: 760px;
  font-size: clamp(3rem, 8vw, 6.7rem);
  font-weight: 850;
}

h2 {
  max-width: 760px;
  font-size: clamp(2rem, 4.4vw, 4rem);
  font-weight: 800;
}

h3 {
  font-size: 1.18rem;
  font-weight: 780;
}

.hero-text {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.05rem, 1.8vw, 1.24rem);
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-light {
  color: var(--color-black);
  background: var(--color-white);
  box-shadow: var(--shadow-dark);
}

.button-outline-light {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.34);
}

.button-outline-light:hover,
.button-outline-light:focus-visible {
  color: var(--color-black);
  background: var(--color-white);
}

.button-dark {
  width: fit-content;
  color: var(--color-white);
  background: var(--color-black);
}

.button-dark:hover,
.button-dark:focus-visible {
  box-shadow: var(--shadow-soft);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  box-shadow: var(--shadow-dark);
  animation: visualEnter 0.9s 0.15s ease both;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: inherit;
  pointer-events: none;
}

.mockup-window {
  width: min(100%, 520px);
  overflow: hidden;
  background: #f7f7f6;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.34);
}

.mockup-topbar {
  display: flex;
  gap: 8px;
  padding: 16px 18px;
  background: #18191b;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mockup-topbar span {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 50%;
}

.mockup-content {
  padding: 34px;
}

.mockup-title {
  width: 76%;
  height: 42px;
  background: var(--color-black);
  border-radius: 8px;
}

.mockup-line {
  width: 88%;
  height: 12px;
  margin-top: 22px;
  background: #d8dadd;
  border-radius: 999px;
}

.mockup-line.short {
  width: 58%;
  margin-top: 12px;
}

.mockup-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.mockup-cards span {
  min-height: 118px;
  background:
    linear-gradient(180deg, #ffffff, #efefef);
  border: 1px solid #e0e2e5;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(15, 15, 16, 0.08);
}

.section {
  padding-block: 112px;
}

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

.section-dark {
  color: var(--color-white);
  background: var(--color-black);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 46px;
}

.section-heading p:not(.eyebrow) {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--color-muted);
  font-size: 1.06rem;
}

.section-dark .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.66);
}

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

.card {
  min-height: 258px;
  padding: 30px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(15, 15, 16, 0.04);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.card:hover {
  transform: translateY(-8px);
  border-color: #cfd3d9;
  box-shadow: var(--shadow-soft);
}

.card-number {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.card p,
.benefit p,
.process-item p,
.project-card p {
  margin: 13px 0 0;
  color: var(--color-muted);
}

.split-layout {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 64px;
  align-items: start;
}

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

.benefit {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 16px;
  min-height: 132px;
  padding: 24px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(15, 15, 16, 0.035);
}

.benefit span {
  width: 10px;
  height: 10px;
  margin-top: 6px;
  background: var(--color-black);
  border-radius: 50%;
  box-shadow: 0 0 0 6px #efefef;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-item {
  position: relative;
  min-height: 248px;
  padding: 26px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(15, 15, 16, 0.04);
}

.process-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 42px;
  color: var(--color-white);
  background: var(--color-black);
  border-radius: 50%;
  font-weight: 850;
}

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

.project-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #18191b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.28);
}

.project-card h3,
.project-card p {
  padding-inline: 22px;
}

.project-card h3 {
  margin-top: 22px;
}

.project-card p {
  flex: 1;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.66);
}

.project-link {
  display: inline-flex;
  margin: 0 22px 24px;
  color: var(--color-white);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.project-link:hover,
.project-link:focus-visible {
  color: rgba(255, 255, 255, 0.74);
}

.project-status {
  display: inline-flex;
  max-width: calc(100% - 44px);
  margin: 0 22px 24px;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.25;
  white-space: normal;
}

.project-media {
  min-height: 188px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.2)),
    linear-gradient(45deg, #222, #777);
}

.project-media-1 {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(225, 225, 225, 0.34)),
    repeating-linear-gradient(45deg, #1d1f1d 0 12px, #5d645b 12px 24px);
}

.project-media-2 {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(230, 230, 230, 0.28)),
    linear-gradient(135deg, #151515 0 34%, #6d7177 34% 36%, #f1f1f1 36% 68%, #292a2c 68% 100%);
}

.project-media-3 {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 240, 240, 0.25)),
    linear-gradient(90deg, #171717 0 26%, #777 26% 28%, #252525 28% 100%);
}

.project-media-4 {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(221, 221, 221, 0.24)),
    conic-gradient(from 120deg, #151515, #777, #2a2a2a, #151515);
}

.contact-section {
  background:
    linear-gradient(180deg, var(--color-white), #f7f7f6);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 66px;
  align-items: start;
}

.contact-copy p:not(.eyebrow) {
  max-width: 540px;
  margin: 20px 0 0;
  color: var(--color-muted);
  font-size: 1.08rem;
}

.contact-mail {
  display: inline-flex;
  margin-top: 28px;
  font-size: 1.08rem;
  font-weight: 850;
  border-bottom: 2px solid var(--color-black);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 34px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  font-size: 0.94rem;
  font-weight: 760;
}

.form-row input,
.form-row textarea {
  width: 100%;
  color: var(--color-text);
  background: #fbfbfb;
  border: 1px solid #d6d9de;
  border-radius: 14px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.form-row input {
  min-height: 48px;
  padding: 10px 14px;
}

.form-row textarea {
  min-height: 150px;
  padding: 14px;
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  background: var(--color-white);
  border-color: var(--color-black);
  box-shadow: 0 0 0 4px rgba(15, 15, 16, 0.08);
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: #245c34;
  font-weight: 700;
}

.site-footer {
  color: rgba(255, 255, 255, 0.76);
  background: var(--color-black);
  padding-block: 54px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 44px;
}

.footer-brand {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--color-white);
  font-size: 1.28rem;
  font-weight: 850;
}

.site-footer p {
  max-width: 410px;
  margin: 0;
}

.footer-nav,
.footer-contact {
  display: grid;
  gap: 10px;
}

.footer-nav a,
.footer-contact a {
  width: fit-content;
  transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-contact a:hover,
.footer-nav a:focus-visible,
.footer-contact a:focus-visible {
  color: var(--color-white);
}

.legal-main {
  min-height: calc(100vh - var(--header-height));
  padding-block: 96px;
  background: var(--color-soft);
}

.legal-box {
  max-width: 860px;
  padding: 42px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.legal-box h1 {
  color: var(--color-black);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
}

.legal-box p {
  color: var(--color-muted);
  font-size: 1.08rem;
}

.legal-section {
  padding-top: 28px;
  margin-top: 28px;
  border-top: 1px solid var(--color-line);
}

.legal-section h2 {
  max-width: none;
  margin-bottom: 12px;
  color: var(--color-black);
  font-size: 1.25rem;
  line-height: 1.25;
}

.legal-section p {
  margin: 10px 0 0;
}

.legal-section a {
  color: var(--color-black);
  font-weight: 800;
  border-bottom: 2px solid currentColor;
}

.legal-box > .button {
  margin-top: 32px;
}

.legal-note {
  padding: 22px;
  background: var(--color-soft);
  border: 1px solid var(--color-line);
  border-radius: 8px;
}

.legal-note h2 {
  margin-bottom: 8px;
}

.reveal {
  /* Scroll-Reveal wird per JavaScript aktiviert */
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@keyframes heroEnter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes visualEnter {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1040px) {
  .hero-grid,
  .split-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 44px;
  }

  .hero-visual {
    max-width: 520px;
  }

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

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

@media (max-width: 820px) {
  :root {
    --header-height: 74px;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .brand {
    width: 172px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 14px;
    right: 14px;
    display: grid;
    gap: 0;
    padding: 14px;
    background: rgba(15, 15, 16, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    box-shadow: var(--shadow-dark);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.24s ease, visibility 0.24s ease, transform 0.24s ease;
  }

  .main-nav.legal-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px 12px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .main-nav.legal-nav a {
    padding: 8px 0;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 13px 12px;
  }

  .main-nav .nav-button {
    justify-content: center;
    margin-top: 8px;
    text-align: center;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    min-height: auto;
    padding-block: 66px 52px;
  }

  .section {
    padding-block: 78px;
  }

  .benefit-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: clamp(2.55rem, 11vw, 3.55rem);
    line-height: 1.04;
  }

  h2 {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
  }

  .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }

  .card-grid,
  .project-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .button-group {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .card,
  .benefit,
  .process-item,
  .contact-form,
  .legal-box {
    padding: 24px;
  }

  .hero-visual {
    border-radius: 18px;
    min-height: 360px;
    padding: 18px;
  }

  .mockup-content {
    padding: 24px;
  }

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

  .mockup-cards span {
    min-height: 70px;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 22px, var(--container));
  }

  .header-inner {
    gap: 14px;
  }

  .brand {
    width: 154px;
  }

  .legal-nav {
    font-size: 0.88rem;
  }
}

@media (max-width: 360px) {
  .brand {
    width: 138px;
  }

  .legal-nav {
    gap: 4px 9px;
    font-size: 0.82rem;
  }

  h1 {
    font-size: clamp(2.25rem, 10.5vw, 3rem);
  }

  .hero-grid {
    padding-block: 52px 42px;
  }

  .section {
    padding-block: 64px;
  }

  .contact-form {
    gap: 15px;
  }

  .form-row textarea {
    min-height: 130px;
  }
}
