/* 1033 Agency – Placeholder / Coming Soon
   CI: Graphit #1A1D24, Goldakzent #C58B32.
   Schriften: Poppins (Display) + Source Sans Pro (Text), lokal eingebettet. */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans Pro";
  src: url("../fonts/source-sans-pro-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans Pro";
  src: url("../fonts/source-sans-pro-400i.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans Pro";
  src: url("../fonts/source-sans-pro-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --agency: #1a1d24;
  --ink: #1a1d24;
  --amber: #c58b32;
  --amber-dim: #8a5a17;
  --white: #ffffff;
  --muted: #cbd5e1;
  --slate: #4a5568;
  --line: #e2e8f0;
  --line-dark: #2c313b;
  --tint: #f7f8fa;
  --paper: #f4f5f7;
  --header-h: 4.25rem;
  --font-display: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Source Sans Pro", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 72rem;
  --pad: clamp(1.25rem, 4.2vw, 3.25rem);
  --radius: 0.75rem;
  --shadow: 0 14px 40px rgba(26, 29, 36, 0.08);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}
html, body { margin: 0; padding: 0; }
body { overflow-x: hidden; }

body.is-home {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
body.is-home main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
body.is-home .hero {
  flex: 1 1 auto;
}
body.is-home .site-footer { flex: 0 0 auto; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--agency);
  min-height: 100vh;
  min-height: 100dvh;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--amber); text-underline-offset: 0.18em; }
a:hover { color: #e0a64a; }
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}
::selection { background: var(--amber); color: var(--ink); }

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 100;
  background: var(--amber);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.55rem 0.9rem;
  border-radius: 0.3rem;
  text-decoration: none;
}
.skip:focus { top: 0.75rem; color: var(--ink); }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(26, 29, 36, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-dark);
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}
.logo {
  display: flex;
  align-items: baseline;
  gap: 0;
  text-decoration: none;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  line-height: 1;
}
.logo:hover { color: var(--white); }
.logo .dot { color: var(--amber); font-weight: 600; }
.logo .tld { color: var(--amber); font-weight: 600; }
.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 2vw, 1.5rem);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--white); }
.nav .loc {
  display: none;
  color: #8b95a3;
  letter-spacing: 0.12em;
}
@media (min-width: 720px) {
  .nav .loc { display: inline; }
}
@media (max-width: 639px) {
  .site-header .inner {
    height: auto;
    padding: 0.8rem 0 0.75rem;
    flex-wrap: wrap;
    gap: 0.45rem 1rem;
  }
  .nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.7rem 1.15rem;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
  }
  .wordmark .agency {
    letter-spacing: 0.46em;
    margin-right: -0.46em;
  }
  .status {
    letter-spacing: 0.06em;
    font-size: 0.72rem;
    max-width: 100%;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
  padding: clamp(2.25rem, 6vw, 4.75rem) 0 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-grid,
.hero-contact { position: relative; z-index: 2; }

/* Subtle construction grid above the skyline, fading toward the horizon */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: center top;
  mask-image: linear-gradient(to bottom, #000 55%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
  pointer-events: none;
}

/* Munich skyline sits at the bottom of the hero, full width */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--agency);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 40% 100%;
  background-image: url("../img/skyline-1200.jpg");
  background-image: -webkit-image-set(
    url("../img/skyline-1200.webp") 1x,
    url("../img/skyline-2400.webp") 2x
  );
  background-image: image-set(
    url("../img/skyline-1200.webp") type("image/webp") 1x,
    url("../img/skyline-2400.webp") type("image/webp") 2x,
    url("../img/skyline-1200.jpg") type("image/jpeg") 1x,
    url("../img/skyline-2400.jpg") type("image/jpeg") 2x
  );
  transform-origin: 50% 100%;
  animation: sky-in 1.9s var(--ease) both;
}
@media (min-width: 900px) {
  .hero-bg::before { background-position: 50% 100%; }
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgb(26, 29, 36) 0%,
      rgba(26, 29, 36, 0.88) 26%,
      rgba(26, 29, 36, 0.48) 52%,
      rgba(26, 29, 36, 0.28) 70%,
      rgba(26, 29, 36, 0.58) 100%),
    linear-gradient(90deg,
      rgba(26, 29, 36, 0.7) 0%,
      rgba(26, 29, 36, 0.38) 36%,
      rgba(26, 29, 36, 0.1) 68%,
      rgba(26, 29, 36, 0.3) 100%);
  pointer-events: none;
}
@keyframes sky-in {
  from { opacity: 0; transform: scale(1.035); }
  to { opacity: 1; transform: scale(1); }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  flex: 1 1 auto;
  padding-bottom: clamp(1.5rem, 4vw, 2.75rem);
}
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 3rem;
    padding-bottom: clamp(1.75rem, 4vw, 3rem);
  }
}
.kicker {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}
.wordmark {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.045em;
  color: var(--white);
}
.wordmark .num {
  display: block;
  font-size: clamp(4.6rem, 18vw, 9.75rem);
}
.wordmark .gold { color: var(--amber); }
.wordmark .agency {
  display: block;
  margin: 0.85rem 0 0 0.12rem;
  margin-right: -0.62em; /* trailing letter-spacing would otherwise overflow */
  font-weight: 300;
  font-size: clamp(1.2rem, 3.6vw, 1.9rem);
  letter-spacing: 0.62em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1;
}
.rule {
  display: block;
  width: 3.25rem;
  height: 3px;
  margin: 1.5rem 0 1.35rem;
  background: var(--amber);
}
.claim {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  max-width: 22em;
}
.lede {
  margin: 0 0 1.6rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  max-width: 34em;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  padding: 0.45rem 0.95rem 0.45rem 0.8rem;
  border: 1px solid rgba(197, 139, 50, 0.45);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.status .dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 0 rgba(197, 139, 50, 0.7);
  animation: pulse 2.2s var(--ease) infinite;
  flex: 0 0 auto;
}
.status .sep { opacity: 0.55; }

/* Clock motif */
.clock {
  display: none;
  width: min(38vw, 16.5rem);
  height: min(38vw, 16.5rem);
  margin: 0 auto;
  color: var(--amber);
}
@media (min-width: 900px) {
  .clock { display: block; }
}
.clock svg { width: 100%; height: 100%; }
.clock .ring {
  fill: none;
  stroke: var(--amber);
  stroke-width: 1.15;
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  transform-origin: 50% 50%;
  animation: draw-ring 1.6s var(--ease) 0.3s forwards;
}
.clock .ring-inner {
  fill: none;
  stroke: rgba(203, 213, 225, 0.18);
  stroke-width: 0.5;
}
.clock text {
  fill: var(--amber);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.06em;
}

/* ---------- Contact (in hero) ---------- */
.hero-contact {
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line-dark);
  padding: 1.5rem 0 1.75rem;
}
.contact-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem 2.5rem;
}
@media (min-width: 800px) {
  .contact-row {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}
.hero-contact .kicker { margin: 0 0 0.55rem; }
.hero-contact address {
  font-style: normal;
  font-size: 1.15rem;
  line-height: 1.5;
}
.hero-contact .city { display: block; }
.hero-contact .country {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 1rem;
}
.contact-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  max-width: 26em;
}
@media (min-width: 800px) {
  .contact-action { align-items: flex-end; text-align: right; }
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  background: var(--amber);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 0.35rem;
  border: 1px solid var(--amber);
  line-height: 1.2;
}
.btn:hover { background: #d49a3c; color: var(--ink); }
.hero-contact .note {
  margin: 0;
  color: #8b95a3;
  font-size: 0.95rem;
}
.hero-contact a.email:not(.btn) {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  font-weight: 600;
}
.hero-contact a.email:not(.btn):hover { color: #e0a64a; }

@media (max-width: 639px) {
  .hero { padding-top: 1.6rem; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: #12141a;
  color: #8b95a3;
  border-top: 1px solid var(--line-dark);
  padding: 1.25rem 0 1.4rem;
  font-size: 0.88rem;
}
.site-footer .inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}
.site-footer a {
  color: var(--muted);
  text-decoration: none;
}
.site-footer a:hover { color: var(--white); }
.site-footer nav {
  display: flex;
  gap: 1.15rem;
}
.site-footer .mark {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--muted);
}
.site-footer .mark span { color: var(--amber); }

/* ---------- Legal pages ---------- */
.legal-main {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(2.2rem, 5vw, 3.5rem) 0 clamp(3.5rem, 7vw, 5rem);
  min-height: calc(100svh - var(--header-h) - 5rem);
}
.legal {
  max-width: 42rem;
}
.legal .kicker { color: var(--amber-dim); margin-bottom: 0.4rem; }
.legal h1 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.legal .lead {
  color: var(--slate);
  margin: 0 0 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.legal h2 {
  margin: 1.75rem 0 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.legal p, .legal li { color: #2a2f38; }
.legal ul { padding-left: 1.15rem; }
.legal li { margin: 0.25rem 0; }
.legal .meta-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  margin: 0 0 1.5rem;
}
.legal .meta-block p { margin: 0 0 0.35rem; }
.legal .meta-block p:last-child { margin-bottom: 0; }
.legal .label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 0.15rem;
}
.todo {
  display: inline;
  background: #fbf5ec;
  border-bottom: 2px solid var(--amber);
  color: var(--amber-dim);
  padding: 0 0.15em;
  font-style: italic;
}
.notice {
  border-left: 3px solid var(--amber);
  background: #fbf5ec;
  padding: 0.9rem 1rem;
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}
.notice strong {
  font-family: var(--font-display);
  font-weight: 600;
  display: block;
  margin-bottom: 0.25rem;
}
.back {
  display: inline-block;
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--slate);
}
.back:hover { color: var(--ink); }


.legal a { color: #2b4c7e; }
.legal a:hover { color: #1a3358; }

/* ---------- Motion ---------- */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(197, 139, 50, 0.55); }
  70% { box-shadow: 0 0 0 0.55rem rgba(197, 139, 50, 0); }
  100% { box-shadow: 0 0 0 0 rgba(197, 139, 50, 0); }
}
@keyframes draw-ring {
  to { stroke-dashoffset: 0; }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(1.1rem); }
  to { opacity: 1; transform: none; }
}
.hero-copy > * {
  animation: fade-up 0.85s var(--ease) both;
}
.hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.14s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.22s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.3s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.38s; }
.hero-copy > *:nth-child(6) { animation-delay: 0.46s; }
.clock { animation: fade-up 1s var(--ease) 0.25s both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .clock .ring { stroke-dashoffset: 0; }
  .status .dot { box-shadow: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .clock, .skip, .site-footer nav { }
  body { background: #fff; color: #000; }
  .hero, .hero-contact, .site-header, .site-footer { background: #fff; color: #000; }
  .hero-bg { display: none; }
  .hero { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .btn { border: 1px solid #000; }
}
