:root {
  --ink: #121614;
  --ink-soft: #3d4540;
  --paper: #e7eae6;
  --paper-2: #d9ddd8;
  --mist: #c9cfc9;
  --field: #2a4638;
  --field-deep: #173026;
  --signal: #d6ff4b;
  --signal-ink: #152016;
  --white: #f5f7f4;
  --line: rgba(18, 22, 20, 0.14);
  --radius: 5px;
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Barlow Semi Condensed", sans-serif;
  --font-body: "Barlow", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(42, 70, 56, 0.16), transparent 55%),
    radial-gradient(900px 500px at -10% 35%, rgba(214, 255, 75, 0.08), transparent 50%),
    linear-gradient(180deg, #dfe4df 0%, var(--paper) 42%, #e3e7e2 100%);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

button,
input,
textarea {
  font: inherit;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  background: transparent;
  border: none;
  box-shadow: none;
  color: var(--white);
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(231, 234, 230, 0.94);
  backdrop-filter: blur(12px);
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.78;
}

.logo-dot {
  display: inline-block;
  margin: 0 -0.06em;
  font-size: 0.45em;
  font-weight: 800;
  line-height: 1;
  vertical-align: 0.35em;
  color: inherit;
  opacity: 0.35;
}

.site-header.is-scrolled .logo {
  opacity: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  color: rgba(245, 247, 244, 0.82);
  transition: color 0.2s ease;
}

.site-header.is-scrolled .nav a {
  color: var(--ink-soft);
}

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

.site-header.is-scrolled .nav a:hover {
  color: var(--ink);
}

.nav-cta {
  padding: 0.55rem 0.95rem;
  background: var(--signal);
  color: var(--signal-ink) !important;
  border-radius: var(--radius);
}

.nav-cta:hover {
  background: #c8f03a;
  color: var(--signal-ink) !important;
}

.site-header.is-scrolled .nav-cta {
  background: var(--ink);
  color: var(--white) !important;
}

.site-header.is-scrolled .nav-cta:hover {
  background: var(--field-deep);
  color: var(--white) !important;
}

.menu-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(245, 247, 244, 0.35);
  border-radius: var(--radius);
  background: rgba(12, 18, 14, 0.2);
  padding: 0;
  cursor: pointer;
}

.site-header.is-scrolled .menu-toggle {
  border-color: var(--line);
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  margin: 0.28rem auto;
  background: var(--white);
}

.site-header.is-scrolled .menu-toggle span {
  background: var(--ink);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: calc(var(--header-h) + 1rem) clamp(1.25rem, 4vw, 3rem) calc(clamp(1.5rem, 3.5vw, 2.75rem) + 150px);
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-media picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.hero-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.12) translate(50px, 0);
  animation: hero-ken 18s var(--ease) both;
}

.hero-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 22, 20, 0.16) 0%, rgba(18, 22, 20, 0.04) 42%, rgba(18, 22, 20, 0.62) 100%),
    linear-gradient(100deg, rgba(18, 22, 20, 0.48) 0%, rgba(18, 22, 20, 0.14) 44%, transparent 70%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 38rem;
  animation: rise 1s var(--ease) both;
}

.brand {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 10vw, 7rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-shadow: 0 1px 18px rgba(12, 18, 14, 0.28);
}

.hero h1 {
  margin: 0 0 0.75rem;
  max-width: none;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
  text-shadow: 0 1px 14px rgba(12, 18, 14, 0.25);
}

.hero h1 span + span {
  margin-left: 0.25em;
}

.lede {
  margin: 0 0 1.5rem;
  max-width: 34ch;
  font-size: 1.05rem;
  color: rgba(250, 249, 246, 0.92);
  text-shadow: 0 1px 10px rgba(12, 18, 14, 0.22);
}

.lede-mobile {
  display: none;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--signal);
  color: var(--signal-ink);
  border-color: var(--signal);
}

.btn-primary:hover {
  background: #c8f03a;
}

.btn-ghost {
  background: rgba(250, 249, 246, 0.08);
  color: var(--white);
  border-color: rgba(250, 249, 246, 0.35);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(250, 249, 246, 0.16);
}

/* Strip */
.strip {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.28);
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
}

.strip p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}

/* Sections */
.section {
  padding: clamp(4.5rem, 10vw, 7.5rem) clamp(1.25rem, 4vw, 3rem);
}

.section-head {
  max-width: 38rem;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.section h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.section-head p,
.gebiete-grid > div > p,
.kontakt-copy > p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 42ch;
}

/* Services */
.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.service-list li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.25rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}

.service-index {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--field);
  letter-spacing: -0.02em;
  padding-top: 0.2rem;
}

.service-list h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.service-list p {
  margin: 0;
  max-width: 48ch;
  color: var(--ink-soft);
}

/* Visual break */
.visual-break {
  position: relative;
  min-height: clamp(18rem, 48vw, 32rem);
  overflow: hidden;
  margin: 0 clamp(1.25rem, 4vw, 3rem);
  border-radius: var(--radius);
}

.visual-break + .section,
.section + .visual-break {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.visual-break + .visual-break {
  margin-top: clamp(1.25rem, 3vw, 2rem);
}

.visual-break img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.visual-break-team img {
  object-position: 48% 38%;
}

.visual-break-after img {
  object-position: 35% 55%;
}

.visual-break-wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 24, 22, 0.72), rgba(20, 24, 22, 0.15) 55%, transparent);
}

.visual-break-after .visual-break-wash {
  background:
    linear-gradient(90deg, rgba(28, 24, 18, 0.55) 0%, rgba(28, 24, 18, 0.12) 50%, transparent 75%),
    linear-gradient(180deg, transparent 45%, rgba(28, 24, 18, 0.35) 100%);
}

.visual-break-team .visual-break-wash {
  background:
    linear-gradient(90deg, rgba(18, 20, 18, 0.62) 0%, rgba(18, 20, 18, 0.18) 42%, transparent 72%),
    linear-gradient(180deg, transparent 40%, rgba(18, 20, 18, 0.4) 100%);
}

.visual-break-caption {
  position: absolute;
  left: clamp(1.25rem, 4vw, 2.5rem);
  bottom: clamp(1.25rem, 4vw, 2.5rem);
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 14ch;
  line-height: 1.1;
  text-shadow: 0 1px 12px rgba(12, 18, 14, 0.35);
}

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  counter-reset: step;
}

.steps li {
  position: relative;
  padding-top: 3.25rem;
  border-top: 2px solid var(--field);
  counter-increment: step;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0.85rem;
  left: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--field);
}

.steps h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.steps p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 28ch;
}

/* Gebiete */
.section-gebiete {
  background:
    linear-gradient(135deg, rgba(47, 74, 60, 0.1), transparent 50%),
    rgba(255, 255, 255, 0.35);
  border-block: 1px solid var(--line);
}

.gebiete-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
}

.gebiet-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gebiet-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}

.gebiet-list li:first-child {
  border-top: 1px solid var(--line);
}

/* Kontakt */
.kontakt-panel {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: var(--field-deep);
  color: var(--white);
  border-radius: var(--radius);
}

.kontakt-copy h2 {
  color: var(--white);
}

.kontakt-copy > p {
  color: rgba(250, 249, 246, 0.78);
}

.kontakt-meta {
  margin: 2rem 0 0;
  display: grid;
  gap: 1.1rem;
}

.kontakt-meta div {
  display: grid;
  gap: 0.2rem;
}

.kontakt-meta dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(250, 249, 246, 0.55);
}

.kontakt-meta dd {
  margin: 0;
  font-weight: 500;
}

.kontakt-meta a {
  text-decoration: none;
}

.kontakt-meta a:hover {
  text-decoration: underline;
}


.kontakt-form {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.kontakt-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(250, 249, 246, 0.82);
}

.kontakt-form input,
.kontakt-form textarea {
  width: 100%;
  border: 1px solid rgba(250, 249, 246, 0.22);
  border-radius: var(--radius);
  background: rgba(250, 249, 246, 0.06);
  color: var(--white);
  padding: 0.8rem 0.9rem;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.kontakt-form input::placeholder,
.kontakt-form textarea::placeholder {
  color: rgba(250, 249, 246, 0.4);
}

.kontakt-form input:focus,
.kontakt-form textarea:focus {
  border-color: rgba(250, 249, 246, 0.55);
  background: rgba(250, 249, 246, 0.1);
}

.kontakt-form .btn-primary {
  margin-top: 0.35rem;
  width: fit-content;
}

.form-note {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(250, 249, 246, 0.55);
}

.form-note a {
  color: rgba(250, 249, 246, 0.8);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.legal-page .site-header {
  color: var(--ink);
  background: rgba(231, 234, 230, 0.94);
}

.legal-page .logo {
  opacity: 1;
}

.legal-page .nav a {
  color: var(--ink-soft);
}

.legal {
  max-width: 42rem;
  padding: calc(var(--header-h) + 2.5rem) clamp(1.25rem, 4vw, 3rem) 4rem;
}

.legal h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.legal h2 {
  margin: 2rem 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.legal p {
  margin: 0 0 0.85rem;
  color: var(--ink-soft);
  max-width: 48ch;
}

.legal a {
  color: var(--field);
}

/* Footer */
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  padding: 2.5rem clamp(1.25rem, 4vw, 3rem) 2.75rem;
  border-top: 1px solid var(--line);
}

.footer-brand .logo {
  margin: 0 0 0.35rem;
}

.footer-brand p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
}

.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
}

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

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-ken {
  from {
    transform: scale(1.16) translate(50px, 0);
  }
  to {
    transform: scale(1.1) translate(50px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .hero-copy,
  .btn {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-media img {
    animation: none !important;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .steps,
  .gebiete-grid,
  .kontakt-panel {
    grid-template-columns: 1fr;
  }

  .service-list li {
    grid-template-columns: 3rem 1fr;
  }

  .steps p {
    max-width: none;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 3.75rem;
  }

  body {
    font-size: 1rem;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 41;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.1rem 1.1rem;
    background: rgba(231, 234, 230, 0.98);
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    max-height: calc(100svh - var(--header-h));
    overflow-y: auto;
  }

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

  .nav a,
  .site-header.is-scrolled .nav a {
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: 1.05rem;
  }

  .nav a:hover,
  .site-header.is-scrolled .nav a:hover {
    color: var(--ink);
  }

  .nav-cta {
    margin-top: 0.85rem;
    text-align: center;
    border-bottom: none !important;
    min-height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-header {
    padding: 0 1.2rem;
  }

  /* Mobile: wie Desktop — Vollbild mit Text unten links */
  .hero {
    display: grid;
    align-items: end;
    min-height: 100svh;
    min-height: 100dvh;
    overflow: hidden;
    padding:
      calc(var(--header-h) + 0.5rem)
      1.25rem
      max(1.75rem, calc(env(safe-area-inset-bottom, 0px) + 1.5rem));
    background: none;
    color: var(--white);
  }

  .hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
  }

  .hero-media picture,
  .hero-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
  }

  .hero-media img {
    object-fit: cover;
    /* Größer + nach oben: Sofa klar über dem Brand-Text */
    object-position: 30% 45%;
    transform: scale(1.55) translateY(-18%) !important;
    transform-origin: center 35%;
    animation: none !important;
  }

  /* Weicher Verlauf nur unten — Bild oben bleibt frei und ruhig */
  .hero-wash {
    background:
      linear-gradient(180deg, rgba(14, 18, 16, 0.3) 0%, rgba(14, 18, 16, 0.02) 22%, transparent 42%, rgba(14, 18, 16, 0.52) 68%, rgba(14, 18, 16, 0.82) 100%);
  }

  .hero-copy {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: none;
    padding: 0;
    background: none;
  }

  .hero .brand {
    display: block;
    font-size: clamp(3.1rem, 15.5vw, 3.9rem);
    margin: 0 0 0.5rem;
    line-height: 0.88;
    text-shadow: 0 2px 22px rgba(12, 18, 14, 0.45);
  }

  .hero h1 {
    font-size: 1.45rem;
    margin: 0 0 0.55rem;
    white-space: nowrap;
    max-width: none;
    line-height: 1.2;
    letter-spacing: 0;
    text-shadow: 0 1px 16px rgba(12, 18, 14, 0.4);
  }

  .hero h1 span {
    display: inline;
  }

  .hero h1 span + span {
    margin-left: 0.25em;
  }

  .lede {
    font-size: 1.05rem;
    max-width: 32ch;
    margin: 0 0 1.2rem;
    line-height: 1.45;
    color: rgba(245, 247, 244, 0.9);
    text-shadow: 0 1px 12px rgba(12, 18, 14, 0.4);
  }

  .lede-desktop {
    display: none;
  }

  .lede-mobile {
    display: inline;
  }

  .cta-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .cta-row .btn-primary {
    width: 100%;
    min-height: 3rem;
  }

  .cta-row .btn-ghost {
    width: 100%;
    min-height: 2.75rem;
    background: rgba(20, 26, 22, 0.35);
    border-color: rgba(245, 247, 244, 0.32);
    color: var(--white);
    backdrop-filter: blur(8px);
  }

  .strip {
    padding: 1rem 1.1rem;
  }

  .strip p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .section {
    padding: 3.5rem 1.1rem;
  }

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

  .service-list li {
    grid-template-columns: 2.5rem 1fr;
    gap: 0.85rem;
    padding: 1.25rem 0;
  }

  .service-list h3 {
    font-size: 1.2rem;
  }

  .visual-break {
    margin: 0 1.1rem;
    min-height: 16rem;
  }

  .visual-break-caption {
    left: 1rem;
    bottom: 1rem;
    font-size: 1.35rem;
  }

  .steps {
    gap: 1.75rem;
  }

  .steps li {
    padding-top: 2.75rem;
  }

  .kontakt-panel {
    padding: 1.35rem 1.1rem;
    gap: 1.75rem;
  }

  .kontakt-form .btn-primary {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
    align-items: start;
    padding: 2rem 1.1rem 2.25rem;
  }

  .footer-links {
    flex-wrap: wrap;
  }

}

@media (max-width: 420px) {
  .hero .brand {
    font-size: 2.95rem;
  }

  .hero h1 {
    font-size: 1.28rem;
  }

  .lede {
    font-size: 1rem;
  }

  .btn {
    font-size: 0.95rem;
    padding-inline: 1rem;
  }
}
