:root {
  --black: #050406;
  --ink: #151115;
  --paper: #f7f7f3;
  --warm: #efebe8;
  --muted: #6b6669;
  --line: rgba(5, 4, 6, 0.13);
  --green: #05de4f;
  --lime: #e7f54e;
  --red: #f33d3c;
  --violet: #581c6c;
  --blue: #04a5d1;
  --shadow: 0 18px 50px rgba(5, 4, 6, 0.11);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

button,
a {
  font: inherit;
}

button {
  border: 0;
}

a {
  color: inherit;
}

#app {
  min-height: 100vh;
}

.shell {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(5, 4, 6, 0.95), rgba(5, 4, 6, 0.68)),
    url("https://360grad-creations.de/wp-content/uploads/2025/09/Startseite_Titelbild.webp") center / cover fixed;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(16px, 3vw, 36px);
  background: rgba(5, 4, 6, 0.9);
  border-bottom: 1px solid rgba(247, 247, 243, 0.16);
  color: var(--paper);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--lime);
  color: var(--black);
  font-weight: 900;
}

.brand strong,
.brand span {
  display: block;
}

.brand strong {
  font-size: 18px;
  line-height: 1;
}

.brand span {
  margin-top: 3px;
  color: rgba(247, 247, 243, 0.68);
  font-size: 12px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.nav-button,
.action,
.small-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 13px;
  background: rgba(247, 247, 243, 0.08);
  border: 1px solid rgba(247, 247, 243, 0.16);
  color: var(--paper);
  text-decoration: none;
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
}

.nav-button:hover,
.action:hover,
.small-action:hover {
  transform: translateY(-1px);
}

.nav-button.active,
.action.primary {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--black);
  font-weight: 800;
}

.action.dark,
.small-action.dark {
  background: var(--black);
  border-color: var(--black);
  color: var(--paper);
}

.action.red {
  background: var(--red);
  border-color: var(--red);
  color: var(--black);
  font-weight: 800;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  gap: 28px;
  align-items: end;
  min-height: 540px;
  padding: clamp(28px, 5vw, 72px) clamp(16px, 4vw, 54px);
  color: var(--paper);
}

.hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(48px, 8vw, 118px);
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 em {
  color: var(--lime);
  font-style: italic;
}

.hero-copy {
  display: grid;
  gap: 18px;
}

.hero-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pitch-board {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: rgba(247, 247, 243, 0.94);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.pitch-board h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1;
}

.pitch-board p,
.hero p {
  margin: 0;
  color: rgba(247, 247, 243, 0.78);
  font-size: 18px;
  line-height: 1.45;
}

.pitch-board p {
  color: var(--muted);
  font-size: 15px;
}

.main {
  background: var(--paper);
}

.section {
  padding: clamp(24px, 4vw, 52px) clamp(16px, 4vw, 54px);
  border-top: 1px solid var(--line);
}

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

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section-header h2,
.workspace-title h2 {
  margin: 0;
  font-size: clamp(30px, 4.5vw, 62px);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: 0;
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dark .eyebrow {
  color: rgba(247, 247, 243, 0.62);
}

.grid-two,
.grid-three,
.grid-four {
  display: grid;
  gap: 14px;
}

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

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

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

.object,
.metric,
.workspace,
.invoice-panel,
.timeline,
.status-row {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(5, 4, 6, 0.06);
}

.metric,
.status-row,
.document-row,
.link-row,
.automation-row,
.content-row {
  color: var(--ink);
}

.object,
.metric,
.invoice-panel,
.timeline {
  padding: 16px;
}

.object.dark {
  background: #111015;
  border-color: rgba(247, 247, 243, 0.14);
  color: var(--paper);
}

.object h3,
.metric strong,
.invoice-panel h3,
.timeline h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.05;
}

.object p,
.metric span,
.timeline p,
.invoice-panel p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.object.dark p {
  color: rgba(247, 247, 243, 0.68);
}

.label-row,
.action-row,
.doc-list,
.link-list,
.automation-list,
.content-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.label-row {
  margin-top: 12px;
}

.action-row {
  margin-top: 16px;
}

.label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  background: rgba(5, 4, 6, 0.07);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.label.green {
  background: rgba(5, 222, 79, 0.18);
}

.label.lime {
  background: var(--lime);
}

.label.red {
  background: rgba(243, 61, 60, 0.18);
}

.label.blue {
  background: rgba(4, 165, 209, 0.18);
}

.label.violet {
  background: rgba(88, 28, 108, 0.16);
}

.label.dark {
  background: var(--black);
  color: var(--paper);
}

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 0;
  overflow: hidden;
}

.workspace-main {
  padding: clamp(18px, 3vw, 30px);
}

.workspace-aside {
  padding: clamp(18px, 3vw, 26px);
  background: var(--warm);
  border-left: 1px solid var(--line);
}

.workspace-title {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 22px;
}

.price {
  min-width: 160px;
  padding: 12px;
  background: var(--black);
  color: var(--paper);
  text-align: right;
}

.price strong {
  display: block;
  font-size: 26px;
  line-height: 1;
}

.price span {
  color: rgba(247, 247, 243, 0.7);
  font-size: 12px;
}

.doc-list,
.link-list,
.automation-list,
.content-list {
  flex-direction: column;
}

.status-row,
.document-row,
.link-row,
.automation-row,
.content-row {
  display: grid;
  gap: 10px;
  align-items: center;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
}

.status-row {
  grid-template-columns: minmax(0, 1fr) auto;
}

.document-row,
.link-row,
.content-row {
  grid-template-columns: minmax(0, 1.15fr) minmax(120px, 0.45fr) minmax(120px, 0.42fr);
}

.automation-row {
  grid-template-columns: 28px minmax(0, 1fr) auto;
}

.automation-check {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  background: var(--green);
  color: var(--black);
  font-weight: 900;
}

.row-title strong,
.row-title span {
  display: block;
}

.row-title span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.invoice-panel {
  display: grid;
  gap: 12px;
  background: var(--black);
  color: var(--paper);
}

.invoice-panel p {
  color: rgba(247, 247, 243, 0.7);
}

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

.invoice-fact {
  padding: 10px;
  border: 1px solid rgba(247, 247, 243, 0.16);
}

.invoice-fact span,
.invoice-fact strong {
  display: block;
}

.invoice-fact span {
  color: rgba(247, 247, 243, 0.56);
  font-size: 12px;
}

.invoice-fact strong {
  margin-top: 4px;
  font-size: 15px;
}

.scenario-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.retainer-board {
  display: grid;
  gap: 12px;
}

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

.hidden {
  display: none !important;
}

@media (max-width: 980px) {
  .hero,
  .workspace,
  .grid-two,
  .grid-three,
  .grid-four {
    grid-template-columns: 1fr;
  }

  .workspace-aside {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .topbar,
  .section-header,
  .workspace-title {
    align-items: stretch;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
  }

  .document-row,
  .link-row,
  .content-row,
  .automation-row,
  .status-row {
    grid-template-columns: 1fr;
  }

  .price {
    text-align: left;
  }
}
