/* Skyline Media — site-wide styles
   Plain CSS, no build step, no external font/CDN calls (SFTP-deployable as-is).
   Palette derived from the brand logo (Cologne skyline on a blue→violet→magenta
   dusk gradient), deepened and desaturated so nothing reads as neon. */

:root {
  /* VERSION 6 — new blue→gold gradient: V2's royal blue base with a warm golden
     glow behind the skyline (instead of magenta), gold highlights, warm beige. */
  --navy-1: #14335f;          /* deep royal blue (top of banner + header) */
  --navy-2: #21497f;          /* royal blue (foot of banner) */
  --accent: #1d3f77;          /* royal blue for text accents (legible on light) */
  --accent-soft: rgba(29, 63, 119, 0.09);
  --yellow: #e8b23a;          /* golden highlight / CTA colour */
  --yellow-deep: #cf9a22;

  --ink: #14172e;
  --ink-soft: #565a72;
  --ink-faint: #8a8ea6;
  --paper: #fbfaf6;
  --paper-alt: #f2ede0;
  --line: #e8e2d4;
  --line-strong: #d9d2c0;

  --dusk-gradient: radial-gradient(80% 96% at 88% 112%, rgba(232,178,58,0.55) 0%, rgba(232,178,58,0) 58%), linear-gradient(165deg, #14335f 0%, #21497f 100%);
  --plum-deep: #14335f;
  --plum-deep-2: #21497f;

  --skyline-fill: #0e1730;    /* corner skyline silhouette — dark, classic
                                 buildings-against-sunset silhouette.
                                 Try #ece2cf (cream), #ffffff (white) or #edc87a (gold). */
  --skyline-alpha: 0.92;

  --radius: 12px;
  --radius-lg: 22px;
  --shadow: 0 6px 24px rgba(14, 19, 48, 0.08);
  --shadow-lg: 0 22px 50px rgba(14, 19, 48, 0.18);
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--accent); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 600; z-index: 200;
}
.skip-link:focus { left: 0; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 2px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 78px; }

.brand { display: flex; align-items: center; gap: 13px; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand-logo { height: 34px; width: auto; display: block; flex-shrink: 0; }
.brand-word { display: flex; flex-direction: column; line-height: 1.12; }
.brand-word strong { font-size: 1.02rem; letter-spacing: 0.04em; font-weight: 800; }
.brand-word span { font-size: 0.64rem; color: var(--ink-faint); letter-spacing: 0.11em; text-transform: uppercase; font-weight: 600; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-strong); border-radius: 8px;
  width: 44px; height: 44px; color: var(--ink); cursor: pointer; flex-shrink: 0;
}
.nav-toggle svg { width: 20px; height: 20px; }

.main-nav { display: flex; align-items: center; gap: 34px; flex: 1; justify-content: flex-end; }
.main-nav ul { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
.main-nav ul a {
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 1px; border-bottom: 2px solid transparent;
}
.main-nav ul a:hover { color: var(--accent); }
.main-nav ul a[aria-current="page"] { border-bottom-color: var(--accent); }

.lang-switch {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; color: var(--ink-faint); border: 1.5px solid var(--line-strong);
  border-radius: 999px; padding: 6px 12px; line-height: 1;
}
.lang-switch:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 0.86rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  font-family: inherit; transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: rgba(255,255,255,0.88); color: var(--ink); }
.btn-outline { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-outline-invert { background: transparent; border-color: rgba(255,255,255,0.45); color: #fff; }
.btn-outline-invert:hover { border-color: #fff; background: rgba(255,255,255,0.10); color: #fff; }
.btn-sm { padding: 10px 20px; font-size: 0.8rem; }
.btn-block { width: 100%; }

/* ---------- Hero (dusk skyline) ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--dusk-gradient); }
.hero .container { position: relative; z-index: 2; padding-top: 92px; padding-bottom: 200px; max-width: 900px; }
.hero-eyebrow {
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700;
  color: rgba(255,255,255,0.65); margin: 0 0 20px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.04; margin: 0 0 22px;
  font-weight: 800; letter-spacing: -0.015em; text-wrap: balance;
}
.hero p.lead { font-size: 1.18rem; color: rgba(255,255,255,0.78); max-width: 54ch; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-skyline {
  position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: auto; z-index: 1;
  pointer-events: none; /* transparent black skyline PNG, sits on the dusk glow */
}

/* ---------- Facts bar ---------- */
.facts { background: var(--paper); border-bottom: 1px solid var(--line); }
.facts .container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.fact { display: flex; align-items: flex-start; gap: 16px; padding: 34px 32px 34px 0; }
.fact + .fact { padding-left: 40px; border-left: 1px solid var(--line); }
.fact-icon {
  width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.fact-icon svg { width: 22px; height: 22px; }
.fact h3 { margin: 0 0 3px; font-size: 0.98rem; font-weight: 800; }
.fact p { margin: 0; font-size: 0.9rem; color: var(--ink-soft); line-height: 1.45; }

/* ---------- Sections ---------- */
section { padding: 92px 0; }
.section-tight { padding: 60px 0; }
.section-head { max-width: 680px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--accent); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.74rem; margin: 0;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); display: inline-block; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: 12px 0 12px; font-weight: 800; letter-spacing: -0.015em; text-wrap: balance; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; margin: 0; }

.bg-alt { background: var(--paper-alt); }
.bg-dark { background: var(--plum-deep); color: #fff; }
.bg-dark .section-head h2 { color: #fff; }
.bg-dark .section-head p { color: rgba(255,255,255,0.72); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card { background: var(--paper-card, #fff); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }

.category-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.category-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.22s ease;
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.category-card:hover::before { transform: scaleX(1); }
.category-card h3 { margin: 18px 0 8px; font-size: 1.2rem; font-weight: 800; }
.category-card p { margin: 0 0 14px; color: var(--ink-soft); font-size: 0.96rem; }
.category-card .card-link { font-size: 0.82rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent); text-decoration: none; }
.category-icon {
  width: 50px; height: 50px; border-radius: 12px; background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.category-icon svg { width: 25px; height: 25px; }

.tag {
  display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); margin-bottom: 14px;
}

.format-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; overflow: hidden; }
.format-card h4 { margin: 0 0 6px; font-size: 1.06rem; font-weight: 800; }
.format-card p { margin: 0; font-size: 0.92rem; color: var(--ink-soft); }
.format-card .format-media { display: block; width: calc(100% + 48px); height: 160px; margin: -24px -24px 18px; object-fit: cover; }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat { text-align: left; }
.stat .num { font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.bg-dark .stat .num { color: #fff; }
.stat .lbl { margin-top: 10px; font-size: 0.92rem; color: var(--ink-soft); }
.bg-dark .stat .lbl { color: rgba(255,255,255,0.62); }
.stat .num em { color: var(--accent); font-style: normal; }

/* ---------- Split (photo + copy) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media img { width: 100%; height: 100%; max-height: 460px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.split-copy h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.015em; margin: 14px 0 16px; text-wrap: balance; }
.split-copy p { color: var(--ink-soft); font-size: 1.05rem; margin: 0 0 22px; }

/* ---------- Photo CTA band ---------- */
.photo-band { position: relative; overflow: hidden; color: #fff; }
.photo-band img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.photo-band::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(9,20,42,0.88) 0%, rgba(10,24,48,0.66) 45%, rgba(13,38,78,0.34) 100%); }
.photo-band .container { position: relative; z-index: 2; }
.photo-band h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 800; letter-spacing: -0.015em; margin: 0 0 12px; max-width: 20ch; text-wrap: balance; }
.photo-band p { color: rgba(255,255,255,0.8); font-size: 1.08rem; margin: 0 0 28px; max-width: 52ch; }
.photo-band .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Partner strip (light, boxless, unified) ---------- */
.partners { background: var(--paper-alt); }
.partners .eyebrow { justify-content: center; display: flex; margin-bottom: 34px; }
/* About page: larger banner title, tighter to the paragraph above */
.partners-about { padding-top: 22px; }
.partners-about .eyebrow { font-size: 1.15rem; letter-spacing: 0.08em; margin-bottom: 24px; }
.partner-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 40px 52px; }
.partner-row img {
  height: 30px; width: auto; opacity: 0.55;
  filter: grayscale(1); transition: opacity 0.18s ease, filter 0.18s ease;
}
.partner-row img:hover { opacity: 1; filter: grayscale(0); }
.partner-row .rtm-logo { height: 82px; }

/* ---------- Office cards ---------- */
.office-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.office-card h3 { margin: 0 0 4px; font-size: 1.3rem; font-weight: 800; }
.office-card .office-sub { color: var(--accent); font-weight: 700; font-size: 0.78rem; margin: 0 0 22px; text-transform: uppercase; letter-spacing: 0.06em; }
.office-card dl { margin: 0; }
.office-card dt { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-faint); margin-top: 16px; font-weight: 700; }
.office-card dt:first-of-type { margin-top: 0; }
.office-card dd { margin: 3px 0 0; font-size: 1.02rem; }
.office-card dd a { text-decoration: none; font-weight: 700; }
.office-card dd a:hover { text-decoration: underline; }

/* ---------- Contact form ---------- */
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow-lg); }
.form-row { display: grid; gap: 20px; margin-bottom: 20px; }
.form-row.two { grid-template-columns: 1fr 1fr; }
.field label { display: block; font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; border: 1.5px solid var(--line-strong); border-radius: 10px; padding: 13px 15px;
  font: inherit; font-size: 0.98rem; color: var(--ink); background: var(--paper);
}
.field input:focus, .field textarea:focus { border-color: var(--accent); outline: none; }
.field textarea { resize: vertical; min-height: 150px; }
.form-note { font-size: 0.82rem; color: var(--ink-faint); margin-top: 16px; }
.form-note a { color: var(--ink-faint); }

/* ---------- Prose (about / legal pages) ---------- */
.prose { max-width: 78ch; }
.prose h2 { margin-top: 2.4em; font-size: 1.5rem; font-weight: 800; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 2em; font-size: 1.14rem; font-weight: 800; }
.prose p, .prose li { color: var(--ink-soft); font-size: 1.03rem; }
.prose strong { color: var(--ink); }
.prose a { color: var(--accent); }
.prose hr { border: none; border-top: 1px solid var(--line); margin: 2.4em 0; }
.legal-toc { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 44px; }
.legal-toc a { font-size: 0.82rem; font-weight: 700; text-decoration: none; color: var(--ink); background: var(--paper-alt); padding: 9px 17px; border-radius: 999px; }
.legal-toc a:hover { background: var(--line); color: var(--ink); }
.data-table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; }
.data-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 0.98rem; vertical-align: top; }
.data-table td:first-child { color: var(--ink-faint); width: 38%; font-weight: 600; }

/* ---------- Page header (inner pages) ---------- */
.page-hero { background: var(--dusk-gradient); color: #fff; }
.page-hero .container { padding: 64px 32px 68px; }
.page-hero .eyebrow { color: rgba(255,255,255,0.7); }
.page-hero .eyebrow::before { background: rgba(255,255,255,0.7); }
.page-hero h1 { font-size: clamp(2rem, 3.8vw, 2.9rem); font-weight: 800; letter-spacing: -0.015em; margin: 12px 0 12px; }
.page-hero p { color: rgba(255,255,255,0.78); font-size: 1.1rem; max-width: 60ch; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--plum-deep); color: rgba(255,255,255,0.66); padding: 66px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand .brand:hover { color: #fff; }
.footer-brand .brand-logo { filter: invert(1); }
.footer-brand .brand-word span { color: rgba(255,255,255,0.45); }
.footer-brand p { max-width: 34ch; font-size: 0.92rem; }
.site-footer h4 { color: #fff; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.07em; margin: 0 0 16px; }
.site-footer address { font-style: normal; font-size: 0.92rem; line-height: 1.9; }
.site-footer nav { display: flex; flex-direction: column; gap: 11px; }
.site-footer nav a, .site-footer address a { color: rgba(255,255,255,0.66); text-decoration: none; }
.site-footer nav a:hover, .site-footer address a:hover { color: #fff; }
.footer-bottom { padding: 24px 0 30px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; font-size: 0.8rem; }
.footer-bottom .legal-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom .legal-links a { color: rgba(255,255,255,0.55); text-decoration: none; }
.footer-bottom .legal-links a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 30px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .split-media { order: -1; }
  .split-media img { max-height: 340px; }
  .hero .container { padding-bottom: 170px; }
}

@media (max-width: 820px) {
  .facts .container { grid-template-columns: 1fr; }
  .fact { padding: 22px 0; }
  .fact + .fact { padding-left: 0; border-left: none; border-top: 1px solid var(--line); }
}

@media (max-width: 720px) {
  .container { padding: 0 22px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .main-nav {
    position: fixed; inset: 78px 0 0 0; background: var(--paper);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: 28px 22px; gap: 26px; transform: translateX(100%); transition: transform 0.25s ease; border-top: 1px solid var(--line);
  }
  .main-nav ul { flex-direction: column; gap: 6px; }
  .main-nav ul a { display: block; padding: 14px 4px; font-size: 1rem; }
  .site-header.nav-open .main-nav { transform: translateX(0); }
  .main-nav .btn { width: 100%; }
  section { padding: 64px 0; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .form-row.two { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero .container { padding-top: 60px; padding-bottom: 130px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .main-nav { transition: none; }
}


/* ============ VERSION 6 THEME OVERRIDES (royal blue + gold gradient, warm beige page) ============ */
/* Header shares the hero colour so the top reads as one clean block */
.site-header { background: var(--navy-1); border-bottom: 1px solid rgba(255,255,255,0.08); }
.brand, .brand:hover { color: #fff; }
.brand-word span { color: rgba(255,255,255,0.5); }
.brand-logo { filter: invert(1); }
.main-nav ul a { color: rgba(255,255,255,0.88); }
.main-nav ul a:hover { color: #fff; }
.main-nav ul a[aria-current="page"] { color: #fff; border-bottom-color: var(--yellow); }
.lang-switch { color: rgba(255,255,255,0.78); border-color: rgba(255,255,255,0.32); }
.lang-switch:hover { color: #fff; border-color: #fff; }
.nav-toggle { color: #fff; border-color: rgba(255,255,255,0.32); }
@media (max-width: 720px) { .main-nav { background: var(--navy-1); border-top-color: rgba(255,255,255,0.08); } }

/* Skyline blended into the bottom-right corner, out of the headline's way */
.hero .container { max-width: 760px; margin-left: max(24px, calc((100% - var(--container)) / 2 + 32px)); padding-bottom: 150px; }
.hero-skyline { display: none; }
.hero::after {
  content: ""; position: absolute; right: 0; bottom: 0; z-index: 1; pointer-events: none;
  width: min(56%, 640px); aspect-ratio: 477 / 194;
  background: var(--skyline-fill);
  -webkit-mask: url(../../Images/skyline.png) right bottom / contain no-repeat;
          mask: url(../../Images/skyline.png) right bottom / contain no-repeat;
  opacity: var(--skyline-alpha);
}
.hero-eyebrow { color: var(--yellow); }
.hero h1 em { color: var(--yellow); }

/* Gold is the call-to-action / highlight colour */
.btn-primary { background: var(--yellow); color: #12294f; }
.btn-primary:hover { background: var(--yellow-deep); color: #12294f; }
.btn-light { background: var(--yellow); color: #12294f; }
.btn-light:hover { background: var(--yellow-deep); color: #12294f; }
.category-card::before { background: var(--yellow); }
.bg-dark .stat .num em { color: var(--yellow); }

/* Standort-/Kontaktkarten etwas hervorheben (leichter Farbton + mehr Tiefe) */
.office-card { background: #f2f5fb; border: 1px solid #dde3ef; box-shadow: 0 10px 28px rgba(20, 51, 95, 0.09); }

@media (max-width: 820px) {
  .hero::after { width: 82%; opacity: 0.5; }
  .hero .container { margin-left: auto; }
}
