:root {
  --brand-navy: #17324D;
  --brand-blue: #2878C8;
  --brand-cyan: #32AFC1;
  --page: #FAFBFC;
  --surface: #FFFFFF;
  --surface-soft: #F2F6F8;
  --text: #182733;
  --text-soft: #5F6E79;
  --border: #DCE4EA;
  --max-width: 1160px;
  --radius: 20px;
  --shadow: 0 18px 50px rgba(23, 50, 77, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}
.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 999;
  background: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(220, 228, 234, .85);
  background: rgba(250, 251, 252, .92);
  backdrop-filter: blur(12px);
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-main {
  font-size: 1.08rem;
  letter-spacing: .15em;
  font-weight: 800;
  color: var(--brand-navy);
}
.brand-sub {
  color: var(--text-soft);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  padding-left: 12px;
  border-left: 1px solid var(--border);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a {
  text-decoration: none;
  font-size: .92rem;
  font-weight: 600;
  color: #334958;
}
.site-nav a:hover { color: var(--brand-blue); }
.site-nav .nav-cta {
  padding: 11px 16px;
  color: white;
  background: var(--brand-navy);
  border-radius: 10px;
}
.site-nav .nav-cta:hover { color: white; background: #214766; }
.nav-toggle { display: none; }

.hero {
  padding: 94px 0 72px;
  background:
    radial-gradient(circle at 86% 16%, rgba(50,175,193,.10), transparent 28%),
    radial-gradient(circle at 74% 58%, rgba(40,120,200,.08), transparent 34%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, .72fr);
  align-items: center;
  gap: 80px;
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--brand-blue);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .14em;
}
.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5.25rem);
  line-height: .99;
  letter-spacing: -.055em;
  color: var(--brand-navy);
}
.hero-lead {
  max-width: 720px;
  margin: 30px 0 12px;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.4;
  font-weight: 700;
  color: #294355;
}
.hero-text {
  max-width: 680px;
  margin: 0;
  font-size: 1.04rem;
  color: var(--text-soft);
}
.hero-actions {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 19px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 750;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary {
  background: var(--brand-blue);
  color: white;
  box-shadow: 0 8px 22px rgba(40,120,200,.16);
}
.button-primary:hover { background: #2169af; }
.button-light { background: white; color: var(--brand-navy); }
.text-link {
  font-weight: 700;
  color: var(--brand-blue);
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; }

.pill-row {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill-row span, .competencies span {
  border: 1px solid var(--border);
  background: rgba(255,255,255,.7);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: .82rem;
  font-weight: 700;
  color: #385267;
}

.hero-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow);
}
.hero-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.mini-label {
  font-size: .72rem;
  color: var(--text-soft);
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
}
.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--brand-cyan);
  box-shadow: 0 0 0 5px rgba(50,175,193,.12);
}
.flow { display: grid; gap: 0; }
.flow-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.flow-number {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--brand-blue);
  font-size: .72rem;
  font-weight: 800;
  background: var(--surface);
}
.flow-item strong {
  display: block;
  margin-top: 1px;
  color: var(--brand-navy);
}
.flow-item small {
  display: block;
  margin-top: 2px;
  color: var(--text-soft);
  font-size: .84rem;
}
.flow-line {
  width: 1px;
  height: 26px;
  margin-left: 18px;
  background: linear-gradient(var(--border), rgba(50,175,193,.65));
}
.hero-card-note {
  margin: 26px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--text-soft);
  font-size: .9rem;
}

.section { padding: 92px 0; }
.section-soft {
  background: var(--surface-soft);
  border-block: 1px solid var(--border);
}
.section-heading {
  max-width: 610px;
}
.section-heading.narrow {
  max-width: 720px;
  margin-bottom: 44px;
}
.section-heading h2, .about-copy h2, .contact-card h2, .teaser-inner h2 {
  margin: 0 0 18px;
  color: var(--brand-navy);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -.04em;
}
.section-heading p:not(.eyebrow), .about-copy p, .teaser-inner p, .contact-card p {
  color: var(--text-soft);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service {
  position: relative;
  min-height: 360px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.service-index {
  color: var(--brand-cyan);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
}
.service h3 {
  margin: 18px 0 10px;
  color: var(--brand-navy);
  font-size: 1.45rem;
}
.service p {
  min-height: 100px;
  color: var(--text-soft);
}
.service ul {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
}
.service li {
  padding: 10px 0;
  border-bottom: 1px solid #edf1f4;
  font-size: .9rem;
  color: #405667;
}

.split {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 100px;
  align-items: start;
}
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
}
.steps li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.steps li:first-child { padding-top: 0; }
.steps span {
  color: var(--brand-blue);
  font-size: .74rem;
  font-weight: 800;
  padding-top: 4px;
}
.steps strong {
  color: var(--brand-navy);
  font-size: 1.08rem;
}
.steps p {
  margin: 4px 0 0;
  color: var(--text-soft);
  font-size: .92rem;
}

.formats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.format {
  padding: 28px;
  border-top: 2px solid var(--brand-blue);
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(23,50,77,.04);
}
.format h3 {
  margin: 0 0 8px;
  color: var(--brand-navy);
  font-size: 1.15rem;
}
.format p {
  margin: 0;
  color: var(--text-soft);
}

.section-about { padding-top: 110px; }
.about-grid {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
  gap: 72px;
  align-items: center;
}
.portrait-placeholder {
  min-height: 480px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  color: #668094;
  background:
    linear-gradient(145deg, rgba(40,120,200,.09), rgba(50,175,193,.12)),
    var(--surface-soft);
  border: 1px solid var(--border);
}
.portrait-initials {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: white;
  color: var(--brand-navy);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: .05em;
  box-shadow: var(--shadow);
}
.portrait-placeholder span {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.about-copy { max-width: 680px; }
.about-copy p { font-size: 1.02rem; }
.about-emphasis {
  padding-left: 18px;
  border-left: 3px solid var(--brand-cyan);
  color: #294355 !important;
  font-weight: 700;
}
.competencies {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.technology-teaser { padding-top: 18px; }
.teaser-inner {
  padding: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  border: 1px solid var(--border);
  background: linear-gradient(100deg, white, #f4f8fa);
  border-radius: var(--radius);
}
.teaser-inner h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); margin-bottom: 8px; }
.teaser-inner p { margin: 0; max-width: 720px; }
.coming-soon {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(50,175,193,.12);
  color: #207886;
  font-size: .78rem;
  font-weight: 800;
}

.contact-section { padding-top: 64px; }
.contact-card {
  padding: 56px;
  border-radius: 28px;
  color: white;
  background:
    radial-gradient(circle at 86% 18%, rgba(50,175,193,.35), transparent 30%),
    var(--brand-navy);
}
.contact-card .eyebrow { color: #83e1ec; }
.contact-card h2 {
  max-width: 760px;
  color: white;
}
.contact-card p {
  max-width: 680px;
  color: rgba(255,255,255,.76);
}
.contact-mail {
  margin: 18px 0 0 !important;
  font-size: .9rem;
}

.site-footer {
  margin-top: 24px;
  padding: 50px 0 28px;
  border-top: 1px solid var(--border);
  background: white;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .7fr .7fr;
  gap: 40px;
}
.footer-brand { margin-bottom: 12px; }
.footer-grid p {
  margin: 0;
  color: var(--text-soft);
  font-size: .9rem;
}
.footer-links {
  display: grid;
  align-content: start;
  gap: 8px;
}
.footer-links a {
  color: #3c5262;
  text-decoration: none;
  font-size: .9rem;
}
.footer-links a:hover { color: var(--brand-blue); }
.footer-bottom {
  margin-top: 42px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--border);
  color: #7a8d9a;
  font-size: .78rem;
}

.legal-page {
  min-height: 100vh;
  padding: 72px 0;
}
.legal-page .legal-content {
  max-width: 760px;
}
.legal-page h1 {
  color: var(--brand-navy);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  letter-spacing: -.04em;
}
.legal-page h2 {
  margin-top: 34px;
  color: var(--brand-navy);
}
.legal-notice {
  padding: 18px;
  border: 1px solid #f0d9a6;
  background: #fffaf0;
  border-radius: 12px;
  color: #765b23;
}
.placeholder {
  background: #fff3f3;
  border: 1px solid #efcaca;
  border-radius: 6px;
  padding: 2px 5px;
  color: #8b3b3b;
}

@media (max-width: 900px) {
  .hero { padding-top: 70px; }
  .hero-grid, .split, .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-card { max-width: 620px; }
  .services-grid { grid-template-columns: 1fr; }
  .service { min-height: 0; }
  .service p { min-height: 0; }
  .about-grid { max-width: 760px; }
  .portrait-placeholder { min-height: 380px; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 28px), var(--max-width)); }
  .header-inner { min-height: 68px; }
  .nav-toggle {
    display: grid;
    width: 42px;
    height: 42px;
    place-content: center;
    gap: 4px;
    border: 1px solid var(--border);
    background: white;
    border-radius: 9px;
  }
  .nav-toggle span:not(.sr-only) {
    width: 18px;
    height: 2px;
    background: var(--brand-navy);
  }
  .site-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 72px;
    display: none;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: white;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open {
    display: grid;
    gap: 4px;
  }
  .site-nav a {
    padding: 11px 10px;
  }
  .site-nav .nav-cta {
    text-align: center;
    margin-top: 4px;
  }
  .hero { padding: 58px 0 46px; }
  .hero h1 { font-size: clamp(2.45rem, 13vw, 4rem); }
  .hero-grid { gap: 40px; }
  .section { padding: 68px 0; }
  .formats { grid-template-columns: 1fr; }
  .teaser-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .contact-card { padding: 36px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* v2 — Hospitality-first, more personal */
.hero {
  padding-top: 82px;
}
.hero-card {
  box-shadow: 0 14px 38px rgba(23, 50, 77, .06);
}
.service {
  box-shadow: none;
}
.formats-three {
  grid-template-columns: repeat(3, 1fr);
}
.format {
  border-top-width: 1px;
  box-shadow: none;
  border: 1px solid var(--border);
  border-top: 2px solid var(--brand-blue);
  border-radius: 16px;
}
.contact-card {
  background:
    radial-gradient(circle at 86% 18%, rgba(50,175,193,.22), transparent 30%),
    #17324D;
}
@media (max-width: 900px) {
  .formats-three { grid-template-columns: 1fr; }
}

/* v3 — more personal/trust-focused */
.trust-section {
  padding-top: 34px;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.trust-grid article {
  padding: 26px 22px 24px;
  border-top: 1px solid var(--border);
}
.trust-index {
  display: block;
  margin-bottom: 16px;
  color: var(--brand-cyan);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .08em;
}
.trust-grid h3 {
  margin: 0 0 8px;
  color: var(--brand-navy);
  font-size: 1.1rem;
}
.trust-grid p {
  margin: 0;
  color: var(--text-soft);
  font-size: .94rem;
}

.audience-section {
  padding-top: 28px;
  padding-bottom: 48px;
}
.audience-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 70px;
  align-items: start;
  padding: 36px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.audience-inner h2 {
  margin: 0;
  color: var(--brand-navy);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -.03em;
}
.audience-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: flex-start;
}
.audience-list span {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: white;
  color: #385267;
  font-size: .84rem;
  font-weight: 700;
}

@media (max-width: 900px) {
  .trust-grid { grid-template-columns: 1fr; }
  .audience-inner { grid-template-columns: 1fr; gap: 28px; }
}

/* v4 — echtes Porträt */
.portrait-frame {
  margin: 0;
  overflow: hidden;
  min-height: 480px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  box-shadow: 0 14px 36px rgba(23, 50, 77, .06);
}
.portrait-photo {
  width: 100%;
  height: 100%;
  min-height: 480px;
  display: block;
  object-fit: cover;
  object-position: center 20%;
}
@media (max-width: 900px) {
  .portrait-frame,
  .portrait-photo {
    min-height: 380px;
  }
  .portrait-photo {
    object-position: center 18%;
  }
}

/* v5 — legal pages */
.legal-content a:not(.text-link) {
  color: var(--brand-blue);
  text-underline-offset: 3px;
}
.legal-content p {
  color: var(--text-soft);
}
.legal-content strong {
  color: var(--text);
}
.legal-meta {
  margin-top: -12px;
  margin-bottom: 34px;
  font-size: .86rem;
  color: #80909b !important;
}
.legal-small {
  margin-top: 28px;
  font-size: .88rem;
}
.legal-disclaimer {
  margin-top: 42px;
  padding: 18px 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  font-size: .88rem;
}

/* v6 — Release Candidate: kürzer, persönlicher, eine klare Methodik */
.hero-person {
  margin: 16px 0 0;
  color: #536b7c;
  font-size: .88rem;
  font-weight: 700;
}

.promise-list {
  display: grid;
  gap: 0;
}
.promise-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.promise-item:first-child {
  padding-top: 0;
}
.promise-item:last-child {
  border-bottom: 0;
}
.promise-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--brand-blue);
  font-size: .72rem;
  font-weight: 800;
}
.promise-item strong {
  display: block;
  margin-top: 1px;
  color: var(--brand-navy);
}
.promise-item small {
  display: block;
  margin-top: 3px;
  color: var(--text-soft);
  font-size: .84rem;
  line-height: 1.45;
}
.about-role {
  margin: -4px 0 22px !important;
  color: var(--brand-blue) !important;
  font-size: .9rem !important;
  font-weight: 800;
  letter-spacing: .01em;
}

/* v7 — final rhythm refinements */
.section-about {
  padding-top: 76px;
}
@media (max-width: 900px) {
  .section-about {
    padding-top: 56px;
  }
}

/* v8 — tighten transition between hero and first section */
.hero {
  padding-bottom: 42px;
}

#leistungen.section {
  padding-top: 52px;
}

.hero-person {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .hero {
    padding-bottom: 34px;
  }

  #leistungen.section {
    padding-top: 48px;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-bottom: 28px;
  }

  #leistungen.section {
    padding-top: 42px;
  }
}
