:root {
  --bg: #000000;
  --panel: rgba(16, 16, 16, 0.9);
  --panel-soft: rgba(22, 22, 22, 0.82);
  --line: rgba(255,255,255,0.1);
  --text: #ffffff;
  --muted: #c4c4c4;
  --muted-2: #8a8a8a;
  --max: 1120px;
  --radius: 22px;
  --shadow: 0 10px 40px rgba(0,0,0,0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.7;
}

a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--text);
}

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

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

.container.narrow {
  max-width: 760px;
}

/* fixed background video */

.video-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  background: #000;
  overflow: hidden;
}

.video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  filter: saturate(1) contrast(1.08) brightness(1.02);
}

.video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.18), rgba(0,0,0,0.58)),
    radial-gradient(circle at top left, rgba(0,0,0,0.16), transparent 34%);
}

/* fixed topbar */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(0,0,0,0.38);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.topbar-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  color: var(--text);
}

.topbar .brand .brand-logo {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--text);
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

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

.nav a {
  color: var(--muted);
  font-size: 0.96rem;
}

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

/* scrolling content */

.site-main {
  position: relative;
  z-index: 1;
  padding-top: 76px;
}

.content-section {
  position: relative;
  z-index: 1;
  padding: 88px 0 0 0;
}

/* typography */

h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.2rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 800;
  text-shadow: 0 4px 40px rgba(0,0,0,0.6);
}

h2,
h3 {
  color: var(--text);
}

p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.2vw, 1.15rem);
}

ul {
  margin: 18px 0 0;
  padding-left: 22px;
  color: var(--muted);
  font-size: 1.05rem;
}

li {
  margin-bottom: 8px;
}

.strong {
  color: var(--text);
  font-weight: 600;
}

.highlight {
  color: var(--text);
  font-weight: 600;
}

/* section headings */

.section-head {
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.section-head p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-head.center {
  text-align: center;
}

.section-head.center p {
  margin-left: auto;
  margin-right: auto;
}

/* badge */

.badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: #e8e8e8;
  font-size: 0.85rem;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

/* hero */

.hero {
  min-height: calc(92vh - 76px);
  display: flex;
  align-items: center;
}

.hero-content {
  padding: 72px 0 56px;
}

.hero-copy {
  max-width: 900px;
  padding-left: 20px;
}

.hero-copy h1,
.hero-lead,
.hero-highlight,
.hero-actions {
  max-width: 100%;
}

.hero-lead {
  margin-top: 24px;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}

.hero-highlight {
  margin-top: 18px;
}

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

/* buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  font-weight: 600;
}

.btn-primary {
  background: rgba(255,255,255,0.12);
  color: var(--text);
}

.btn-primary:hover {
  background: rgba(255,255,255,0.18);
}

.btn-secondary {
  background: rgba(255,255,255,0.04);
  color: var(--text);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
}

/* cards and panels */

.panel,
.project,
.service-card,
.principle,
.cta {
  background: rgba(255,255,255,0.06);
  border: none;
  border-radius: var(--radius);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow:
    0 12px 50px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.panel p {
  color: #d8d8d8;
}

.two-col {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}

/* projects */

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

.project {
  overflow: hidden;
}

.project img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.project-content {
  padding: 22px;
}

.project-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

/* services */

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

.service-card {
  padding: 24px;
}

.service-card h3 {
  margin: 0 0 12px;
}

/* principles */

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

.principle {
  padding: 24px;
}

.principle-number {
  display: block;
  margin-bottom: 16px;
  font-size: 2rem;
  font-weight: 700;
  opacity: 0.18;
}

/* contact */

.contact-layout {
  align-items: stretch;
}

.contact-panel {
  padding: 28px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.optional {
  color: var(--muted-2);
  font-weight: 400;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  padding: 16px 18px;
  color: var(--text);
  font: inherit;
  outline: none;
}

.contact-form textarea {
  min-height: 170px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.26);
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.form-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.form-actions {
  padding-top: 4px;
}

.form-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.08);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.form-button:hover {
  background: rgba(255,255,255,0.12);
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.contact-status.is-success {
  background: rgba(60, 120, 60, 0.18);
}

.contact-status.is-error {
  background: rgba(150, 40, 40, 0.18);
}

/* closing cta */

.closing-claim {
  font-size: clamp(3rem, 7vw, 6.2rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-shadow: 0 4px 40px rgba(0,0,0,0.6);
}

.closing-cta {
  padding: 120px 0 80px;
}

/* custom section adjustments */

#arbeitsweise .section-head {
  margin-bottom: 36px;
}

#arbeitsweise h2 {
  font-size: clamp(2.8rem, 5.2vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.032em;
  font-weight: 700;
}

#erlebniswege,
#projekte,
#kontakt {
  position: relative;
  isolation: isolate;
  padding-top: 80px;
  padding-bottom: 80px;
}

#erlebniswege {
  margin-top: 120px;
}

#projekte,
#kontakt {
  margin-top: 60px;
}

#erlebniswege::before,
#projekte::before,
#kontakt::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 0;
}

#erlebniswege > *,
#projekte > *,
#kontakt > * {
  position: relative;
  z-index: 1;
}

#erlebniswege .panel,
#erfahrung .panel {
  padding: 40px 42px;
}

#erlebniswege .panel ul,
#erfahrung .panel ul {
  margin-top: 18px;
  padding-left: 24px;
}

#erlebniswege .panel li,
#erfahrung .panel li {
  margin-bottom: 12px;
}

#erlebniswege .panel p:last-child,
#erfahrung .panel p:last-child {
  margin-top: 28px;
  margin-bottom: 0;
}

/* footer */

.footer {
  position: relative;
  z-index: 1;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 22px;
  padding-bottom: 34px;
  color: var(--muted-2);
  font-size: 0.92rem;
}

/* responsive */

@media (max-width: 980px) {
  .projects,
  .service-grid,
  .principles-grid,
  .two-col {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .topbar-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-direction: row;
    padding-top: 0;
    padding-bottom: 0;
  }

  .nav {
    display: none;
  }

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

  .site-main {
    padding-top: 72px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content,
  .hero .container {
    padding-top: 64px;
    padding-bottom: 40px;
  }
}


@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex !important;
  }

  .nav-toggle span {
    height: 3px !important;
    width: 26px !important;
  }
}


.hero-meta {
  font-size: 1.2rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);

  margin-bottom: 28px;
}


.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 120;
}

.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 24px;
  height: 2.5px;
  background: rgba(255,255,255,0.95);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform 0.25s ease, opacity 0.25s ease;
  box-shadow: 0 0 8px rgba(0,0,0,0.35);
}

.nav-toggle span:nth-child(1) {
  top: 16px;
}

.nav-toggle span:nth-child(2) {
  top: 23px;
}

.nav-toggle span:nth-child(3) {
  top: 30px;
}

.topbar.is-open .nav-toggle span:nth-child(1) {
  transform: translateX(-50%) translateY(7px) rotate(45deg);
}

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

.topbar.is-open .nav-toggle span:nth-child(3) {
  transform: translateX(-50%) translateY(-7px) rotate(-45deg);
}

.topbar.is-open .mobile-nav {
  display: block;
}

.mobile-nav {
  display: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(16px);
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  padding: 18px 0 22px;
}

.mobile-nav-inner a {
  display: block;
  color: var(--text);
  padding: 12px 0;
  font-size: 1rem;
}


.legal-content h1,
.legal-content h2,
.legal-content p,
.legal-content ul {
  max-width: 760px;
  margin-left: 0;
}


.legal-page h1 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-shadow: none;
  margin-bottom: 32px;
}

.legal-page h2 {
  font-size: 1.3rem;
  margin-top: 32px;
}

.legal-page p {
  margin-bottom: 14px;
}


