:root {
  --white: #ffffff;
  --off: #faf7f4;
  --ink: #1a1210;
  --ink-soft: #4a3834;
  --orange: #e38233;
  --orange-deep: #c96a1c;
  --red: #8b2b2b;
  --red-deep: #6e1f1f;
  --line: rgba(139, 43, 43, 0.14);
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--red);
  color: #fff;
  padding: .6rem 1rem;
  z-index: 999;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem var(--pad);
  transition: background .35s var(--ease), backdrop-filter .35s, border-color .35s, box-shadow .35s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-color: var(--line);
  box-shadow: 0 8px 28px rgba(139, 43, 43, 0.06);
}
.nav-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  background: transparent;
  line-height: 0;
}
.nav-logo {
  height: 42px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  object-position: left center;
  display: block;
  background: transparent;
}
.nav.is-scrolled .nav-logo {
  /* blend away leftover white from logo PNG on light bar */
  mix-blend-mode: multiply;
}
.nav:not(.is-scrolled) .nav-logo {
  mix-blend-mode: normal;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.35));
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-logo { height: 34px; max-width: 130px; }
}
.nav-links {
  display: flex;
  gap: 1.6rem;
}
.nav-links a {
  font-size: .95rem;
  font-weight: 550;
  position: relative;
  letter-spacing: -.01em;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width .35s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.nav:not(.is-scrolled) .nav-links a { color: #fff; }
.nav.is-scrolled .nav-links a { color: var(--ink-soft); }
.nav-cta {
  font-size: .88rem;
  font-weight: 700;
  padding: .55rem 1.15rem;
  background: var(--orange);
  color: #fff !important;
  border-radius: 3px;
  transition: background .25s, transform .25s var(--ease);
}
.nav-cta:hover { background: var(--orange-deep); transform: translateY(-1px); }

/* ---------- Video-Scroll Header ---------- */
.video-scroll {
  height: 400vh;
  position: relative;
}
.video-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background: #1a1210;
  display: grid;
  align-items: end;
  color: #fff;
}
.video-stage video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.hero-wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(26, 18, 16, 0.45) 0%, rgba(26, 18, 16, 0.2) 40%, rgba(26, 18, 16, 0.82) 100%),
    radial-gradient(ellipse at 15% 85%, rgba(227, 130, 51, 0.28), transparent 45%);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding: 6rem var(--pad) 4.2rem;
  max-width: 780px;
}
.video-stage h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3.2vw, 2.05rem);
  line-height: 1.18;
  letter-spacing: -.03em;
  max-width: 20ch;
  margin-bottom: .85rem;
  animation: rise .9s .12s var(--ease) both;
}
.hero-lead {
  font-size: clamp(.95rem, 1.6vw, 1.08rem);
  max-width: 40ch;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.45rem;
  animation: rise .9s .22s var(--ease) both;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  animation: rise .9s .32s var(--ease) both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .85rem 1.35rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--orange);
  color: #fff;
}
.btn-primary:hover { background: var(--orange-deep); }
.btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  color: #fff;
  background: transparent;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}
.btn-ghost-dark {
  border: 1.5px solid var(--red);
  color: var(--red);
  background: transparent;
}
.btn-ghost-dark:hover {
  background: var(--red);
  color: #fff;
}
.hero-scroll {
  position: absolute;
  z-index: 2;
  left: var(--pad);
  bottom: 1.6rem;
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  animation: bob 2.2s ease-in-out infinite;
  pointer-events: none;
}
.video-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, var(--red), var(--orange));
  pointer-events: none;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ---------- Sections shared ---------- */
.eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .7rem;
}
.section-head {
  max-width: 640px;
  margin-bottom: 3rem;
}
.section-head h2,
.craft-copy h2,
.contact-intro h2,
.refs-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -.03em;
}

.reveal {
  opacity: 0;
  transform: translateY(40px) scale(.985);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Services ---------- */
.services {
  padding: clamp(4.5rem, 10vw, 7.5rem) var(--pad);
  max-width: calc(var(--max) + 2 * var(--pad));
  margin: 0 auto;
  background: var(--white);
}
.service-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.service {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: background .3s;
}
.service:hover { background: rgba(227, 130, 51, 0.05); }
.service-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  color: var(--orange);
  letter-spacing: -.04em;
  min-width: 2.4ch;
}
.service-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: .4rem;
  color: var(--red);
}
.service-body p {
  color: var(--ink-soft);
  max-width: 52ch;
  font-size: 1.02rem;
}

/* ---------- References ---------- */
.refs {
  padding: clamp(4.5rem, 10vw, 7rem) var(--pad);
  background:
    radial-gradient(ellipse at 0% 0%, rgba(227, 130, 51, 0.08), transparent 40%),
    radial-gradient(ellipse at 100% 100%, rgba(139, 43, 43, 0.06), transparent 40%),
    var(--off);
}
.refs-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.refs-head {
  max-width: 620px;
  margin-bottom: 2.5rem;
}
.refs-head p:last-of-type {
  margin-top: .85rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.refs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .9rem;
  perspective: 900px;
}
.ref-card {
  position: relative;
  overflow: hidden;
  background: #f0ebe6;
  aspect-ratio: 1 / 1;
  margin: 0;
}
.ref-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.ref-card:hover img { transform: scale(1.05); }
.ref-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: .7rem .85rem;
  font-size: .82rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(transparent, rgba(26, 18, 16, 0.78));
  letter-spacing: -.01em;
}
@media (max-width: 900px) {
  .refs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .refs-grid { grid-template-columns: 1fr; }
  .ref-card { aspect-ratio: 4 / 3; }
}

/* ---------- Craft ---------- */
.craft {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 70vh;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.craft-visual {
  position: relative;
  overflow: hidden;
  min-height: 360px;
}
.craft-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.craft:hover .craft-visual img { transform: scale(1.04); }
.craft-copy {
  padding: clamp(2.5rem, 6vw, 5rem) var(--pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--off);
}
.craft-copy h2 { margin-bottom: 1.1rem; color: var(--red); }
.craft-copy p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-bottom: 1rem;
  max-width: 38ch;
}
.craft-points {
  margin-top: 1.4rem;
  display: grid;
  gap: .7rem;
}
.craft-points li {
  padding-left: 1.3rem;
  position: relative;
  font-weight: 600;
  font-size: .98rem;
  color: var(--ink);
}
.craft-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: .55rem;
  height: .55rem;
  background: var(--orange);
  border-radius: 1px;
}
@media (max-width: 860px) {
  .craft { grid-template-columns: 1fr; }
  .craft-visual { min-height: 280px; max-height: 380px; }
}

/* ---------- Contact ---------- */
.contact {
  padding: clamp(4.5rem, 10vw, 7.5rem) var(--pad);
  max-width: calc(var(--max) + 2 * var(--pad));
  margin: 0 auto;
  background: var(--white);
}
.contact-intro {
  max-width: 560px;
  margin-bottom: 2.8rem;
}
.contact-intro h2 { color: var(--red); }
.contact-intro p:last-child {
  margin-top: .9rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1.35fr .85fr;
  gap: 1.5rem;
  align-items: start;
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.1rem;
  padding: 1.6rem;
  background: var(--off);
  border: 1px solid var(--line);
}
.contact-form .full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: .4rem;
  color: var(--red);
}
.field .opt {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  opacity: .65;
  color: var(--ink-soft);
}
.field input,
.field textarea {
  width: 100%;
  padding: .75rem .85rem;
  border: 1.5px solid var(--line);
  border-radius: 3px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color .2s, background .2s;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange);
}
.field textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.5;
}
.form-msg {
  grid-column: 1 / -1;
  min-height: 1.2em;
  font-size: .92rem;
  color: var(--red);
  font-weight: 600;
}
.form-msg.ok { color: var(--orange-deep); }
.btn-submit {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: .2rem;
}
.form-hint {
  grid-column: 1 / -1;
  font-size: .82rem;
  color: var(--ink-soft);
  opacity: .85;
}
.contact-aside {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  align-content: start;
}
.contact-line {
  background: var(--white);
  padding: 1.35rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  transition: background .3s, color .3s;
}
.contact-line:hover {
  background: var(--red);
  color: #fff;
}
a.contact-line { cursor: pointer; }
.contact-address:hover {
  background: var(--white);
  color: inherit;
}
.contact-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange);
}
.contact-line:hover .contact-label { color: rgba(255,255,255,.75); }
.contact-address:hover .contact-label { color: var(--orange); }
.contact-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  letter-spacing: -.02em;
  line-height: 1.25;
}
.btn-route {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .95rem 1.4rem;
  background: linear-gradient(120deg, var(--red) 0%, var(--orange) 100%);
  background-size: 160% 160%;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -.01em;
  border-radius: 3px;
  transition: background-position .45s var(--ease), transform .25s var(--ease), box-shadow .25s;
  box-shadow: 0 10px 28px rgba(227, 130, 51, 0.28);
}
.btn-route:hover {
  background-position: 100% 0;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(139, 43, 43, 0.28);
}

/* Anfahrt = same card language as Mobil / Telefon / Adresse */
.visit {
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.visit-visual {
  position: absolute;
  top: 50%;
  right: -6px;
  width: 120px;
  height: 120px;
  transform: translateY(-50%);
  pointer-events: none;
  display: grid;
  place-items: center;
  opacity: .55;
}
.visit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(227, 130, 51, 0.45);
  animation: visitPulse 5.5s ease-in-out infinite;
}
.visit-ring-1 { width: 40px; height: 40px; }
.visit-ring-2 { width: 74px; height: 74px; animation-delay: .4s; border-color: rgba(139, 43, 43, 0.35); }
.visit-ring-3 { width: 108px; height: 108px; animation-delay: .8s; border-color: rgba(227, 130, 51, 0.22); }
.visit-pin {
  position: relative;
  z-index: 1;
  width: 12px;
  height: 12px;
  background: var(--orange);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 0 0 5px rgba(227, 130, 51, 0.18);
  animation: visitBob 2.4s ease-in-out infinite;
}
@keyframes visitPulse {
  0%, 100% { transform: scale(1); opacity: .75; }
  50% { transform: scale(1.06); opacity: 1; }
}
@keyframes visitBob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -4px; }
}
.visit .contact-value {
  color: var(--red);
}
.visit-note {
  position: relative;
  z-index: 1;
  font-size: .82rem;
  color: var(--ink-soft);
  margin-top: .15rem;
}
.visit:hover .visit-note { color: rgba(255,255,255,.8); }
.visit:hover .visit-visual { opacity: .35; }
.visit:hover .visit-pin { background: #fff; box-shadow: 0 0 0 5px rgba(255,255,255,.2); }
.visit:hover .visit-ring { border-color: rgba(255,255,255,.35); }
@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .contact-form { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem var(--pad);
  background: var(--white);
  border-top: 2px solid var(--orange);
  color: var(--ink-soft);
  font-size: .9rem;
}
.footer-meta strong {
  color: var(--red);
  font-family: var(--font-display);
}
.footer-links {
  display: flex;
  gap: 1.2rem;
}
.footer-links a {
  color: var(--red);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color .25s, color .25s;
}
.footer-links a:hover {
  color: var(--orange);
  border-color: var(--orange);
}

/* ---------- Legal pages ---------- */
.legal-page {
  min-height: 100svh;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(227, 130, 51, 0.08), transparent 40%),
    var(--white);
}
.legal-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem var(--pad);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.legal-nav a.back {
  font-weight: 600;
  font-size: .95rem;
  color: var(--red);
}
.legal-nav a.back:hover { color: var(--orange); }
.legal-nav .nav-logo { height: 42px; }
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem var(--pad) 5rem;
}
.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -.03em;
  margin-bottom: 2rem;
  color: var(--red);
}
.legal h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 2rem 0 .7rem;
  color: var(--orange-deep);
}
.legal p, .legal li {
  color: var(--ink-soft);
  margin-bottom: .7rem;
  font-size: 1.02rem;
}
.legal ul { padding-left: 1.2rem; list-style: disc; }
.legal a { color: var(--red); font-weight: 600; }

/* ---------- Creative polish ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 80;
  opacity: .035;
  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='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--off);
  padding: .85rem 0;
}
.marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  letter-spacing: -.02em;
  color: var(--red);
  white-space: nowrap;
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
}
.marquee-track span::after {
  content: "◆";
  color: var(--orange);
  font-size: .7em;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.service {
  transition: background .3s, padding-left .35s var(--ease);
}
.service:hover { padding-left: .6rem; }
.service-num {
  transition: transform .45s var(--ease), color .3s;
}
.service:hover .service-num {
  transform: scale(1.08) rotate(-4deg);
  color: var(--red);
}

.ref-card {
  transition: transform .35s var(--ease), box-shadow .45s;
  will-change: transform;
  transform-style: preserve-3d;
  perspective: 800px;
}
.ref-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(139, 43, 43, 0.14);
  z-index: 1;
}

.btn {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.28) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .55s var(--ease);
}
.btn-primary:hover::after { transform: translateX(120%); }

.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

.rings {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1.5px solid rgba(227, 130, 51, 0.22);
  pointer-events: none;
  animation: spinSlow 40s linear infinite;
}
.rings::before,
.rings::after {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  border: 1.5px solid rgba(139, 43, 43, 0.18);
}
.rings::after { inset: 36%; border-color: rgba(227, 130, 51, 0.28); }
.rings-a { top: 8%; right: -60px; }
.rings-b { bottom: 12%; left: -80px; animation-direction: reverse; animation-duration: 55s; }
@keyframes spinSlow { to { transform: rotate(360deg); } }

.services { position: relative; overflow: hidden; }
.refs { position: relative; overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

