/* Alpha Juliet Solutions — styles
   Alles selbst gehostet: keine externen Fonts, Skripte oder Requests (DSGVO-freundlich). */

@font-face { font-family: "Inter"; src: url("fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("fonts/bodoni-italic-500.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }

:root {
  --bg: #0b0b0a;
  --bg-2: #141412;
  --fg: #f2f0ea;
  --muted: #8f8d86;
  --line: rgba(242, 240, 234, .12);
  --accent: #ff4f1f;
  --ink: #0b0b0a;

  --sans: "Inter", "Segoe UI Variable Display", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", "JetBrains Mono", Consolas, Menlo, monospace;

  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1320px;
  --bar-h: 4.5rem;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--bar-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* feines Filmkorn */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -.01em; color: var(--accent); }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.label { font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- Header ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--bar-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0 var(--pad);
  border-bottom: 1px solid transparent;
  transition: background .4s ease, border-color .4s ease;
}
.bar.is-scrolled, .page-legal .bar {
  background: rgba(11, 11, 10, .72);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom-color: var(--line);
}
.mark { display: inline-flex; align-items: center; gap: .75rem; }
.mark__box {
  display: grid; place-items: center;
  width: 2.3rem; height: 2.3rem;
  border: 1.5px solid currentColor;
  font-weight: 700; font-size: .8rem; letter-spacing: .02em;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.mark:hover .mark__box { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.mark__name { font-weight: 600; letter-spacing: -.01em; }

.bar__nav { display: flex; gap: clamp(1rem, 3vw, 2.25rem); font-size: .92rem; }
.bar__nav a { position: relative; color: #cfcdc6; transition: color .25s ease; }
.bar__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.bar__nav a:hover { color: var(--fg); }
.bar__nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.bar__right { display: flex; align-items: center; gap: 1rem; }
.pill { display: inline-flex; align-items: center; padding: .6rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); font-size: .9rem; transition: background .25s ease, color .25s ease, border-color .25s ease; }
.pill:hover { background: var(--fg); color: var(--ink); border-color: var(--fg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 92svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--bar-h) + 3rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
}
.hero__glow {
  position: absolute; z-index: -1; pointer-events: none;
  width: 52vw; height: 52vw; right: -14vw; top: -6vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 79, 31, .55) 0%, transparent 62%);
  filter: blur(70px); opacity: .5;
  animation: drift 20s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate(-5vw, 6vh) scale(1.1); } }

.hero__meta {
  position: absolute; top: calc(var(--bar-h) + 1.75rem); left: var(--pad); right: var(--pad);
  display: flex; justify-content: space-between; gap: 1rem;
  font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.clock time { color: var(--fg); font-variant-numeric: tabular-nums; }

.hero__title {
  font-size: clamp(3.6rem, 13.5vw, 13.5rem);
  font-weight: 600; line-height: .88; letter-spacing: -.06em;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.hero__title em { letter-spacing: -.035em; padding-right: .05em; }

.line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.line__in { display: inline-block; transform: translateY(108%); transition: transform 1.2s var(--ease); }
.lines.is-in .line__in { transform: none; }
.lines.is-in .line:nth-child(2) .line__in { transition-delay: .1s; }
.no-js .line__in { transform: none; }

.hero__lead {
  max-width: 34ch;
  padding-top: 1.5rem; border-top: 1px solid var(--line);
  font-size: clamp(1.1rem, 1.9vw, 1.5rem); line-height: 1.4; color: #d6d4cd;
}

/* ---------- Sektionen ---------- */
.section {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); column-gap: 2rem;
  padding-top: clamp(4rem, 9vw, 7.5rem); padding-bottom: clamp(4rem, 9vw, 7.5rem);
  border-top: 1px solid var(--line);
}
.section > .label { padding-top: .6rem; margin-bottom: 2rem; }
.section > :not(.label) { grid-column: 2; }

/* Leistungen */
.service {
  display: grid; grid-template-columns: 2.75rem minmax(0, 1fr) minmax(0, 1fr); align-items: baseline; gap: 1rem;
  padding: clamp(1.1rem, 2.2vw, 1.6rem) 0;
  border-bottom: 1px solid var(--line);
}
.service:first-child { padding-top: 0; }
.service__no { font-family: var(--mono); font-size: .75rem; color: var(--muted); transition: color .3s ease; }
.service h2 { font-size: clamp(1.6rem, 3.6vw, 3.1rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; transition: transform .5s var(--ease); }
.service p { color: var(--muted); }
.service p a { color: var(--fg); border-bottom: 1px solid var(--accent); white-space: nowrap; transition: color .25s ease; }
.service p a:hover { color: var(--accent); }
.service:hover h2 { transform: translateX(.35rem); }
.service:hover .service__no { color: var(--accent); }

.industries { margin-top: clamp(2rem, 4vw, 3rem); font-size: clamp(1.4rem, 3vw, 2.4rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.2; }

/* Marke Outrageous Socials */
.brand {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 2rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border-radius: clamp(14px, 1.6vw, 22px);
  background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line);
}
.brand__kicker { font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.brand__name { font-size: clamp(1.6rem, 3.6vw, 3.1rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; }
.brand__arrow { display: inline-block; color: var(--accent); transition: transform .5s var(--ease); }
.brand:hover { box-shadow: inset 0 0 0 1px var(--accent); }
.brand:hover .brand__arrow { transform: translate(.2rem, -.2rem); }

/* Team */
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.person {
  display: flex; flex-direction: column; align-items: flex-start; gap: clamp(1.5rem, 3vw, 2.5rem);
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border-radius: clamp(14px, 1.6vw, 22px);
  background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
}
.person__letter {
  flex: none;
  font-size: clamp(5rem, 9vw, 8rem); font-weight: 600; letter-spacing: -.07em; line-height: .76;
  color: transparent; -webkit-text-stroke: 1.5px rgba(242, 240, 234, .5);
  transition: color .5s ease, -webkit-text-stroke-color .5s ease;
}
.person:hover .person__letter { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.person h2 { font-size: clamp(1.3rem, 2.1vw, 1.75rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.person__role { color: var(--muted); font-size: .95rem; }
.person__mail { display: inline-block; margin-top: .9rem; font-family: var(--mono); font-size: .8rem; border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: color .25s ease, border-color .25s ease; }
.person__mail:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; padding-bottom: 1.75rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.foot__row nav { display: flex; gap: 1.5rem; }
.foot__row a:hover { color: var(--fg); }

/* ---------- Cookie-Banner (consent.js): Akzeptieren und Ablehnen gleich gestaltet ---------- */
.cc { position: fixed; left: var(--pad); right: var(--pad); bottom: 1.25rem; z-index: 90; display: flex; justify-content: flex-end; pointer-events: none; }
.cc-in {
  pointer-events: auto; width: min(460px, 100%); padding: 1.25rem 1.35rem;
  background: rgba(20, 20, 18, .92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line), 0 24px 60px -12px rgba(0, 0, 0, .7);
  transform: translateY(16px); opacity: 0; transition: transform .6s var(--ease), opacity .6s var(--ease);
}
.cc.is-in .cc-in { transform: none; opacity: 1; }
.cc-t { margin: 0 0 1rem; font-size: .9rem; line-height: 1.5; color: #cfcdc6; }
.cc-t b { color: var(--fg); font-weight: 600; }
.cc-t a { color: var(--fg); border-bottom: 1px solid var(--accent); }
.cc-b { display: flex; gap: .6rem; }
.cc-btn { flex: 1; padding: .75rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--fg); font: inherit; font-size: .9rem; font-weight: 500; cursor: pointer; transition: background .25s ease, color .25s ease, border-color .25s ease; }
.cc-btn:hover { background: var(--fg); color: var(--ink); border-color: var(--fg); }
.foot__row [hidden] { display: none; }

/* ---------- Rechtliche Seiten ---------- */
.legal { max-width: 780px; margin: 0 auto; padding: calc(var(--bar-h) + 4rem) var(--pad) 6rem; }
.legal h1 { font-size: clamp(2.8rem, 8vw, 5.5rem); font-weight: 600; letter-spacing: -.055em; line-height: .95; margin-bottom: 2.5rem; }
.legal h2 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; margin: 2.75rem 0 .85rem; }
.legal p, .legal li { color: #cfcdc6; margin-bottom: .6rem; }
.legal ul { list-style: disc; padding-left: 1.25rem; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 2rem; margin: 0; }
.legal dt { color: var(--muted); }
.legal dd { margin: 0; }
.legal a { border-bottom: 1px solid var(--muted); }
.legal a:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- 404 ---------- */
.err { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 2rem; padding-top: var(--bar-h); }
.err__code { font-size: clamp(8rem, 30vw, 26rem); font-weight: 600; letter-spacing: -.08em; line-height: .8; }
.btn { display: inline-flex; align-items: center; gap: .6rem; padding: 1rem 1.5rem; border: 1px solid var(--line); border-radius: 999px; font-weight: 500; white-space: nowrap; transition: background .3s ease, color .3s ease, border-color .3s ease; }
.btn--solid { background: var(--fg); color: var(--ink); border-color: var(--fg); }
.btn--solid:hover { background: var(--accent); border-color: var(--accent); }

/* ---------- Einblenden ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.brand.reveal { transition: opacity 1s var(--ease), transform 1s var(--ease), box-shadow .3s ease; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__glow { animation: none; }
  .reveal, .line__in { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .section { grid-template-columns: 1fr; }
  .section > :not(.label) { grid-column: 1; }
  .service { grid-template-columns: 2.25rem minmax(0, 1fr); row-gap: .35rem; }
  .service p { grid-column: 2; }
  .people { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .mark__name { display: none; }
  .bar__nav { font-size: .88rem; gap: 1.1rem; }
  .legal dl { grid-template-columns: 1fr; gap: .1rem; }
  .legal dd { margin-bottom: .6rem; }
}
