:root {
  --orange: #f28c28;
  --orange-dark: #d86e08;
  --ink: #18202a;
  --muted: #66717f;
  --line: #e7e9ed;
  --soft: #f5f6f8;
  --white: #fff;
  --shadow: 0 24px 70px rgba(24, 32, 42, 0.10);
  --radius: 22px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

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

img {
  max-width: 100%;
}

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

.narrow {
  max-width: 860px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header und Navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(231, 233, 237, 0.85);
}

.nav-wrap {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  letter-spacing: -1px;
}

.brand-text {
  font-size: 1.05rem;
}

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

.main-nav > a:not(.button) {
  position: relative;
}

.main-nav > a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--orange);
  transition: 0.25s;
}

.main-nav > a:hover::after,
.main-nav > a.active::after {
  right: 0;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--ink);
  margin: 5px;
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(242, 140, 40, 0.22);
  transition:
    transform 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--orange-dark);
  box-shadow: 0 14px 34px rgba(242, 140, 40, 0.3);
}

.button-small {
  min-height: 42px;
  padding: 0 19px;
}

.button-secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}

.button-secondary:hover {
  background: var(--soft);
  color: var(--ink);
  box-shadow: none;
}

/* Hero-Bereich */

.hero {
  padding: 100px 0 115px;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #fbfbfc 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 80px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--orange-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero h1,
.page-hero h1 {
  margin: 0 0 24px;
  font-size: clamp(2.65rem, 5.4vw, 5.2rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.lead {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: 1.22rem;
}

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 32px;
  color: var(--muted);
  font-size: 0.88rem;
}

.trust-row span::before {
  content: "✓";
  margin-right: 7px;
  color: var(--orange);
  font-weight: 800;
}

/* Browser-Vorschau */

.browser-scene {
  position: relative;
  min-height: 470px;
  display: grid;
  place-items: center;
  perspective: 1200px;
}

.browser-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 530px;
  background: #fff;
  border: 1px solid rgba(24, 32, 42, 0.1);
  border-radius: 20px;
  box-shadow: 0 35px 90px rgba(24, 32, 42, 0.16);
  overflow: hidden;
  transform: rotateY(-8deg) rotateX(3deg);
  transition: 0.5s;
}

.browser-card:hover {
  transform: rotateY(-3deg) rotateX(1deg) translateY(-8px);
}

.browser-top {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  background: #f5f6f8;
  border-bottom: 1px solid var(--line);
  color: #8a929c;
  font-size: 0.72rem;
}

.browser-top i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ccd1d7;
}

.browser-top span {
  margin-left: 8px;
}

.browser-body {
  display: grid;
  grid-template-columns: 92px 1fr;
  min-height: 330px;
}

.mock-sidebar {
  background: #202833;
  color: #fff;
  padding: 26px 18px;
}

.mock-sidebar b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--orange);
}

.mock-sidebar span {
  display: block;
  height: 6px;
  margin-top: 24px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.16);
}

.mock-content {
  padding: 54px 38px;
}

.mock-content small {
  color: var(--orange-dark);
  font-weight: 800;
}

.mock-content h2 {
  font-size: 2rem;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.mock-content p {
  height: 8px;
  border-radius: 8px;
  background: #e9ebee;
}

.mock-content p:nth-of-type(2) {
  width: 68%;
}

.mock-content button {
  margin-top: 18px;
  border: 0;
  border-radius: 50px;
  background: var(--orange);
  color: #fff;
  padding: 12px 20px;
}

.soft-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}

.orb-one {
  width: 280px;
  height: 280px;
  right: -35px;
  top: 20px;
  background: rgba(242, 140, 40, 0.13);
}

.orb-two {
  width: 180px;
  height: 180px;
  left: 10px;
  bottom: 20px;
  background: rgba(24, 32, 42, 0.07);
}

/* Allgemeine Bereiche */

.section {
  padding: 105px 0;
}

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

.section-heading {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-heading h2,
.split-layout h2,
.cta-box h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.section-heading p,
.lead-small {
  color: var(--muted);
  font-size: 1.08rem;
}

/* Karten */

.card-grid {
  display: grid;
  gap: 24px;
}

.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: 0.25s;
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.service-card .icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #fff4e8;
  color: var(--orange-dark);
  font-weight: 850;
}

.service-card h3 {
  font-size: 1.35rem;
  margin: 25px 0 10px;
}

.service-card p {
  color: var(--muted);
}

.service-card a,
.text-link {
  font-weight: 800;
}

/* Zweispaltiges Layout */

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}

.check-list {
  display: grid;
  gap: 14px;
}

.check-list > div {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.check-list b {
  color: var(--orange);
}

.check-list span {
  color: var(--muted);
}

.check-list strong {
  display: block;
  color: var(--ink);
}

/* Projektbereich */

.project-feature {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
}

.project-visual {
  min-height: 440px;
  display: grid;
  place-items: center;
  padding: 50px;
  background: linear-gradient(135deg, #252f3a, #17202a);
}

.project-window {
  width: min(100%, 480px);
  aspect-ratio: 1.28;
  background: #fff;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}

.project-window-bar {
  height: 34px;
  background: #eceef1;
}

.project-logo {
  position: absolute;
  left: 40px;
  top: 75px;
  font-size: 2.1rem;
  line-height: 0.9;
  font-weight: 900;
  color: var(--orange);
}

.project-lines {
  position: absolute;
  left: 40px;
  right: 40px;
  top: 165px;
}

.project-lines span {
  display: block;
  height: 11px;
  margin-bottom: 15px;
  border-radius: 8px;
  background: #e7e9ed;
}

.project-lines span:nth-child(2) {
  width: 80%;
}

.project-lines span:nth-child(3) {
  width: 58%;
  background: var(--orange);
}

.project-copy {
  padding: 55px;
  align-self: center;
}

.tag {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  background: #fff4e8;
  color: var(--orange-dark);
  font-size: 0.75rem;
  font-weight: 800;
}

.project-copy h3 {
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.project-copy p {
  color: var(--muted);
  margin-bottom: 28px;
}

/* Call-to-Action */

.cta-section {
  padding: 0 0 105px;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 58px;
  border-radius: 28px;
  background: #202833;
  color: #fff;
}

.cta-box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

/* Unterseiten-Hero */

.page-hero {
  padding: 100px 0 70px;
  background: linear-gradient(180deg, #fff, #f8f9fa);
}

.page-hero.compact {
  padding-bottom: 40px;
}

/* Leistungsübersicht */

.service-list {
  display: grid;
  gap: 0;
}

.large-service {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 35px;
  padding: 55px 0;
  border-bottom: 1px solid var(--line);
}

.large-service:first-child {
  padding-top: 0;
}

.service-number {
  font-size: 2rem;
  font-weight: 850;
  color: var(--orange);
}

.large-service h2 {
  margin: 0;
  font-size: 2rem;
}

.large-service p {
  color: var(--muted);
}

.large-service ul {
  padding-left: 20px;
  columns: 2;
}

.large-service li {
  margin: 6px 0;
}

/* Referenzen */

.reference-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
}

.reference-preview {
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 50px;
}

.zhsono-preview {
  background: linear-gradient(145deg, #202833, #374453);
  color: #fff;
}

.reference-preview span {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  color: var(--orange);
}

.reference-preview small {
  font-size: 1rem;
}

.reference-content {
  padding: 55px;
  align-self: center;
}

.reference-content h2 {
  font-size: 2.3rem;
  line-height: 1.15;
}

.reference-content p {
  color: var(--muted);
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}

.feature-tags span {
  padding: 8px 12px;
  background: var(--soft);
  border-radius: 999px;
  font-size: 0.8rem;
}

.empty-project {
  margin-top: 30px;
  padding: 30px;
  border: 1px dashed #c9ced5;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Ablauf / Timeline */

.timeline {
  max-width: 900px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 30px;
  padding: 0 0 65px;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 38px;
  top: 58px;
  bottom: 10px;
  width: 1px;
  background: var(--line);
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-number {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff4e8;
  color: var(--orange-dark);
  font-weight: 850;
}

.timeline-item span {
  color: var(--orange-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.timeline-item h2 {
  margin: 5px 0 10px;
  font-size: 1.7rem;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
}

/* Über mich */

.about-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 80px;
  align-items: center;
}

.about-card {
  min-height: 430px;
  border-radius: 28px;
  background: #202833;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow);
}

.about-monogram {
  font-size: 7rem;
  font-weight: 900;
  letter-spacing: -0.1em;
  color: var(--orange);
}

.about-copy h2 {
  font-size: 2.5rem;
  line-height: 1.15;
}

.about-copy p {
  color: var(--muted);
}

.mini-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.mini-values div {
  padding: 18px;
  background: var(--soft);
  border-radius: 15px;
}

.mini-values strong,
.mini-values span {
  display: block;
}

.mini-values span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Kontakt */

.contact-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 70px;
}

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

.contact-info p {
  color: var(--muted);
}

.contact-link {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--orange-dark);
}

.contact-note {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 40px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

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

/* Formular */

.form-card {
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

form {
  display: grid;
  gap: 20px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid #d9dde2;
  border-radius: 12px;
  padding: 14px 15px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(242, 140, 40, 0.14);
  border-color: var(--orange);
}

textarea {
  resize: vertical;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.notice {
  padding: 14px 16px;
  margin-bottom: 20px;
  border-radius: 12px;
}

.notice.success {
  background: #eaf8ef;
  color: #1d6d38;
}

.notice.error {
  background: #fff0f0;
  color: #9a2d2d;
}

/* Rechtliche Seiten */

.legal-content {
  max-width: 820px;
}

.legal-content h2 {
  margin-top: 35px;
}

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

/* Footer */

.site-footer {
  padding: 70px 0 25px;
  background: #171e27;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
}

.footer-grid p {
  max-width: 440px;
  color: rgba(255, 255, 255, 0.62);
}

.footer-grid h2 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
}

.footer-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.footer-grid a,
.footer-grid span {
  color: rgba(255, 255, 255, 0.76);
}

.footer-brand {
  margin-bottom: 12px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  margin-top: 55px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom div {
  display: flex;
  gap: 20px;
}

/* Scroll-Animation */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Tablet */

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 80px;
    height: calc(100vh - 80px);
    padding: 35px 20px;
    background: #fff;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 16px 8px;
    border-bottom: 1px solid var(--line);
  }

  .main-nav .button {
    margin-top: 20px;
  }

  .hero-grid,
  .split-layout,
  .project-feature,
  .reference-card,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 70px;
  }

  .browser-scene {
    min-height: 400px;
  }

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

  .project-visual {
    min-height: 360px;
  }

  .reference-preview {
    min-height: 350px;
  }

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

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

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

  .large-service ul {
    columns: 1;
  }
}

/* Smartphone */

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .nav-wrap {
    height: 70px;
  }

  .main-nav {
    top: 70px;
    height: calc(100vh - 70px);
  }

  .hero {
    padding: 58px 0 78px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.55rem;
  }

  .browser-scene {
    min-height: 310px;
  }

  .browser-body {
    grid-template-columns: 62px 1fr;
    min-height: 250px;
  }

  .mock-sidebar {
    padding: 18px 10px;
  }

  .mock-sidebar b {
    width: 36px;
    height: 36px;
  }

  .mock-content {
    padding: 35px 22px;
  }

  .mock-content h2 {
    font-size: 1.45rem;
  }

  .section {
    padding: 75px 0;
  }

  .cta-section {
    padding-bottom: 75px;
  }

  .cta-box {
    padding: 35px 25px;
    align-items: flex-start;
    flex-direction: column;
  }

  .project-copy,
  .reference-content {
    padding: 32px 25px;
  }

  .project-visual {
    padding: 25px;
    min-height: 280px;
  }

  .large-service {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 38px 0;
  }

  .service-number {
    font-size: 1rem;
  }

  .timeline-item {
    grid-template-columns: 70px 1fr;
    gap: 15px;
  }

  .timeline-number {
    width: 55px;
    height: 55px;
  }

  .timeline-item::before {
    left: 27px;
    top: 55px;
  }

  .about-card {
    min-height: 320px;
  }

  .about-monogram {
    font-size: 5rem;
  }

  .form-card {
    padding: 25px 18px;
  }

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

  .footer-grid > div:first-child {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .empty-project {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
}