/* =============================================
   WEITBLICK BERATUNG — COMING SOON
   Playfair Display + Jost
   Navy #1C2B4A | Steel Blue #4A7FA5
   ============================================= */

/* ── NORMALIZE BASE ───────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root { color-scheme: light; }
@media (prefers-color-scheme: dark) { :root { color-scheme: light; } html { filter: none !important; } }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  height: 100%;
}
body {
  min-height: 100vh;
  min-height: 100svh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
address { font-style: normal; }
a { background-color: transparent; }

/* ── DESIGN TOKENS ────────────────────────── */
:root {
  --navy:        #1C2B4A;
  --navy-dark:   #111d33;
  --navy-mid:    #243555;
  --steel:       #4A7FA5;
  --steel-lt:    #7AAECF;
  --steel-pale:  rgba(74, 127, 165, 0.15);
  --white:       #ffffff;
  --off-white:   #F4F3EF;
  --gold:        #C9A96E;
  --gold-lt:     #E8C98A;

  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:  'Jost', 'Helvetica Neue', Arial, sans-serif;

  --t:  0.25s ease;
  --max: 1140px;
}

/* ── BACKGROUND ───────────────────────────── */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* Deep city-scape photo — full bleed dark overlay */
.bg-photo {
  position: absolute;
  inset: 0;
  background-image:
    url('https://images.unsplash.com/photo-1486325212027-8081e485255e?w=1600&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center 40%;
  filter: grayscale(30%) brightness(0.35);
  transform: scale(1.04);
  animation: slowpan 30s ease-in-out infinite alternate;
}
@keyframes slowpan {
  from { transform: scale(1.04) translateX(0); }
  to   { transform: scale(1.04) translateX(-2%); }
}

.bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    165deg,
    rgba(17, 29, 51, 0.82) 0%,
    rgba(28, 43, 74, 0.70) 40%,
    rgba(17, 29, 51, 0.92) 100%
  );
}

.bg-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, transparent 35%, rgba(8, 14, 26, 0.75) 100%);
}

/* Vertical grid lines */
.bg-grid {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 8%;
  pointer-events: none;
}
.bg-grid span {
  display: block;
  width: 1px;
  height: 100%;
  background: rgba(255,255,255,0.04);
}

/* ── GRAIN TEXTURE ────────────────────────── */
.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' 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");
  background-repeat: repeat;
  background-size: 200px 200px;
  animation: grainshift 0.4s steps(1) infinite;
}
@keyframes grainshift {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-1%, 1%); }
  50%  { transform: translate(1%, -1%); }
  75%  { transform: translate(-2%, 2%); }
  100% { transform: translate(2%, -2%); }
}

/* ── PAGE WRAP ────────────────────────────── */
.page-wrap {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100svh;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 52px;
  display: flex;
  flex-direction: column;
}

/* ── HEADER ───────────────────────────────── */
.cs-header {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 36px 0 0;
  animation: fadeDown 0.8s ease both;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.logo-emblem {
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--steel);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--steel-lt);
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.logo-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.logo-sub {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel-lt);
}

.header-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(74,127,165,0.35), rgba(255,255,255,0.06) 70%, transparent);
}

.header-location {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  flex-shrink: 0;
}

.location-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--steel);
  flex-shrink: 0;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.75); }
}

/* ── MAIN ─────────────────────────────────── */
.cs-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 0 40px;
  gap: 40px;
}

/* ── CONTENT ──────────────────────────────── */
.cs-content {
  max-width: 680px;
}

.cs-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel-lt);
  margin-bottom: 28px;
  animation: fadeUp 0.9s 0.15s ease both;
}
.eyebrow-line {
  display: block;
  width: 36px;
  height: 1px;
  background: var(--steel);
  flex-shrink: 0;
}

.cs-headline {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 32px;
  animation: fadeUp 0.9s 0.25s ease both;
}
.cs-headline em {
  font-style: italic;
  font-weight: 400;
  color: var(--steel-lt);
}

.cs-body {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.62);
  max-width: 520px;
  margin-bottom: 40px;
  animation: fadeUp 0.9s 0.35s ease both;
}

/* ── DIVIDER ──────────────────────────────── */
.cs-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
  animation: fadeUp 0.9s 0.42s ease both;
}
.divider-line {
  flex: 1;
  height: 1px;
  max-width: 80px;
  background: rgba(74,127,165,0.35);
}
.divider-diamond {
  font-size: 0.7rem;
  color: var(--steel);
}

/* ── FIRMENDATEN ──────────────────────────── */
.cs-firma {
  display: flex;
  align-items: flex-start;
  gap: 0;
  animation: fadeUp 0.9s 0.5s ease both;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-left: 3px solid var(--steel);
  padding: 28px 32px;
}

.firma-block { flex: 1; }

.firma-rule {
  width: 1px;
  min-height: 80px;
  background: rgba(255,255,255,0.08);
  margin: 0 28px;
  flex-shrink: 0;
  align-self: stretch;
}

.firma-label {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel-lt);
  margin-bottom: 10px;
}

.firma-value {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255,255,255,0.82);
  line-height: 1.75;
}
.firma-value--name {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}
.firma-value--legal {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 2px;
}
.firma-value--type {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel-lt);
  margin-top: 4px;
}

.firma-status-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.firma-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  font-style: italic;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-dot--pending {
  background: var(--gold);
  box-shadow: 0 0 6px rgba(201,169,110,0.5);
  animation: pulse 2.8s ease-in-out infinite;
}

/* ── SIDE DECORATION ──────────────────────── */
.cs-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  animation: fadeLeft 0.9s 0.4s ease both;
  user-select: none;
}

.side-year {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
}

.side-line {
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, rgba(74,127,165,0.4), transparent);
  flex-shrink: 0;
}

.side-label {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.18);
  text-align: center;
  line-height: 1.8;
}

/* ── FOOTER ───────────────────────────────── */
.cs-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.07);
  gap: 20px;
  flex-wrap: wrap;
  animation: fadeUp 0.9s 0.6s ease both;
}

.cs-footer-copy {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.28);
}

.cs-footer-legal {
  display: flex;
  gap: 24px;
}
.cs-footer-legal a {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.32);
  text-decoration: none;
  transition: color var(--t);
}
@media (hover: hover) { .cs-footer-legal a:hover { color: rgba(255,255,255,0.65); } }

/* ── ANIMATIONS ───────────────────────────── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(18px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── RESPONSIVE ───────────────────────────── */
@media (max-width: 1024px) {
  .page-wrap { padding: 0 36px; }
  .cs-side { display: none; }
}

@media (max-width: 768px) {
  .page-wrap { padding: 0 24px; }

  .cs-header { gap: 16px; padding-top: 28px; }
  .header-location { display: none; }
  .header-rule { display: none; }

  .cs-main { padding: 44px 0 32px; }

  .cs-headline { font-size: clamp(2.4rem, 11vw, 3.5rem); margin-bottom: 24px; }
  .cs-body { font-size: 0.95rem; margin-bottom: 32px; }

  .cs-firma {
    flex-direction: column;
    gap: 24px;
    padding: 22px 20px;
  }
  .firma-rule { width: 100%; min-height: unset; height: 1px; margin: 0; }

  .cs-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .page-wrap { padding: 0 18px; }
  .cs-headline { font-size: 2.2rem; }
}

/* ── REDUCED MOTION ───────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .bg-photo { animation: none; transform: none; }
  .grain { animation: none; }
}
