/* =========================================================
   OWNER DESK - SIMPLE DESIGN SYSTEM
   Alles Wichtige lässt sich hier oben zentral anpassen.
   ========================================================= */

:root {
  --bg: #f3f6f9;
  --surface: #ffffff;
  --surface-soft: #e8eef4;
  --text: #172433;
  --muted: #647386;
  --line: #cfd9e3;

  --accent: #2d67a3;
  --accent-mid: #4e7faa;
  --accent-dark: #214e79;

  --dark: #142536;
  --dark-soft: #1d3449;

  /* bewusst eckiger */
  --radius-sm: 5px;
  --radius-md: 8px;
  --radius-lg: 10px;

  --shadow: 0 18px 50px rgba(20, 37, 54, 0.09);

  --container: 1180px;
  --narrow: 800px;
}


/* =========================================================
   RESET / BASE
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(3rem, 6vw, 5.8rem);
  max-width: 900px;
  margin-bottom: 28px;
}

h1 span {
  color: var(--accent);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  margin-bottom: 24px;
}

h3 {
  font-size: 1.45rem;
}

p {
  color: var(--muted);
}

ul {
  padding-left: 1.2rem;
}

section[id] {
  scroll-margin-top: 100px;
}


/* =========================================================
   LAYOUT
   ========================================================= */

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.narrow {
  max-width: var(--narrow);
}

.section {
  padding: clamp(78px, 10vw, 140px) 0;
}

.section-soft {
  background: var(--surface-soft);
}

.section-dark {
  background: var(--dark);
  color: white;
}

.split,
.about-grid,
.case-grid,
.hero-grid,
.cta,
.footer-grid {
  display: grid;
  gap: clamp(32px, 6vw, 80px);
}

.split,
.about-grid {
  grid-template-columns: 0.9fr 1.1fr;
}

.case-grid {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

.hero-grid {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 50px;
}

.section-heading > p:last-child {
  max-width: 650px;
}

.section-heading-light p {
  color: #bdcbd7;
}

.prose {
  font-size: 1.08rem;
}

.prose p:last-child {
  margin-bottom: 0;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(243, 246, 249, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(216, 216, 210, 0.7);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--dark), #284e72 62%, #4d77a0);
  color: white;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-text small {
  color: var(--muted);
  margin-top: 4px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.95rem;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 12px;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
  padding-top: clamp(70px, 9vw, 120px);
}

.lead {
  max-width: 760px;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.eyebrow {
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin: 34px 0;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.trust-list li::before {
  content: "✓";
  color: var(--accent);
  margin-right: 8px;
  font-weight: 800;
}


/* =========================================================
   BUTTONS / LINKS
   ========================================================= */

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 6px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-weight: 750;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.button-small {
  min-height: 42px;
  padding-inline: 18px;
}

.button-light {
  background: white;
  color: var(--dark);
}

.button-light:hover {
  background: #eef2f0;
}

.text-link {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}


/* =========================================================
   MEDIA PLACEHOLDERS
   ========================================================= */

.media-card {
  overflow: hidden;
  min-height: 360px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-media {
  min-height: 560px;
}

.media-placeholder {
  min-height: inherit;
  height: 100%;
  display: grid;
  place-content: center;
  gap: 6px;
  padding: 30px;
  text-align: center;
  background:
    radial-gradient(circle at 24% 18%, rgba(62, 119, 173, 0.30), transparent 34%),
    radial-gradient(circle at 82% 72%, rgba(89, 143, 188, 0.20), transparent 30%),
    linear-gradient(145deg, #dce5ee 0%, #cbd9e6 46%, #e7edf3 100%);
}

.media-placeholder span {
  font-size: 1.35rem;
  font-weight: 800;
}

.media-placeholder small {
  color: var(--muted);
}


/* =========================================================
   SERVICE CARDS
   ========================================================= */

.cards {
  display: grid;
  gap: 22px;
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.55);
}

.service-card.featured {
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}

.service-number {
  display: inline-block;
  margin-bottom: 55px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
}

.card-intro {
  min-height: 70px;
}

.service-card ul {
  margin: 26px 0 0;
  color: var(--muted);
}

.service-card li + li {
  margin-top: 10px;
}


/* =========================================================
   STEPS
   ========================================================= */

.steps {
  list-style: none;
  padding: 0;
  margin: 50px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.steps li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 20px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.steps > li > span {
  color: #89a9c6;
  font-weight: 800;
}

.steps h3 {
  color: white;
  margin-bottom: 8px;
}

.steps p {
  max-width: 720px;
  margin-bottom: 0;
  color: #bdcbd7;
}


/* =========================================================
   CASE / NOTE
   ========================================================= */

.note {
  padding: 20px 22px;
  border-left: 3px solid var(--accent);
  background: rgba(45, 103, 163, 0.08);
}


/* =========================================================
   FAQ
   ========================================================= */

.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.faq summary {
  cursor: pointer;
  font-size: 1.08rem;
  font-weight: 750;
}

.faq p {
  max-width: 680px;
  margin: 15px 0 0;
}


/* =========================================================
   CTA
   ========================================================= */

.cta-section {
  background: var(--accent);
  color: white;
}

.cta {
  grid-template-columns: 1fr auto;
  align-items: end;
}

.cta .eyebrow,
.cta p {
  color: #dce8f3;
}

.cta-actions {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.cta-actions small {
  color: #dce8f3;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  padding: 55px 0;
  background: #0f1d2b;
  color: white;
}

.footer-grid {
  grid-template-columns: 1fr auto auto;
  align-items: start;
}

.site-footer p {
  color: #a9b9c8;
  margin: 6px 0 0;
}

.footer-links,
.footer-legal {
  display: grid;
  gap: 8px;
}

.site-footer a {
  color: #d9e5ef;
  text-decoration: none;
  font-size: 0.92rem;
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 20px;
  top: 20px;
  z-index: 999;
  padding: 12px 16px;
  background: white;
  border-radius: 8px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .about-grid,
  .case-grid,
  .cta,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cards-3 {
    grid-template-columns: 1fr;
  }

  .service-card.featured {
    transform: none;
  }

  .hero-media {
    min-height: 420px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: 78px;
    left: 20px;
    right: 20px;
    display: none;
    padding: 22px;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding-top: 54px;
  }

  .service-card {
    padding: 28px 24px;
  }

  .steps li {
    grid-template-columns: 48px 1fr;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}


/* =========================================================
   OPTIONAL PROFILE PHOTO
   ========================================================= */
.brand-photo {
  width: 42px;
  height: 42px;
  object-fit: cover;
  object-position: center;
  border-radius: 4px;
  border: 1px solid rgba(45, 103, 163, 0.24);
}

/* =========================================================
   HERO IMAGE / GEOMETRIC BLUE ART DIRECTION
   ========================================================= */
.hero-media {
  position: relative;
  isolation: isolate;
  border: 1px solid rgba(45, 103, 163, 0.16);
}

.hero-image {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-media::before,
.hero-media::after {
  content: "";
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.hero-media::before {
  width: 42%;
  height: 34%;
  top: -8%;
  right: -8%;
  border: 1px solid rgba(45, 103, 163, 0.22);
  transform: rotate(8deg);
  background: rgba(255, 255, 255, 0.04);
}

.hero-media::after {
  width: 34%;
  height: 24%;
  left: -7%;
  bottom: 5%;
  border: 1px solid rgba(33, 78, 121, 0.20);
  transform: rotate(-7deg);
  background: rgba(78, 127, 170, 0.05);
}

.hero-placeholder {
  position: relative;
  overflow: hidden;
}

.hero-placeholder::before {
  content: "";
  position: absolute;
  width: 40%;
  height: 58%;
  left: 8%;
  top: 14%;
  border: 1px solid rgba(23, 36, 51, 0.12);
  transform: rotate(-8deg) skewX(-5deg);
}

.hero-placeholder::after {
  content: "";
  position: absolute;
  width: 32%;
  height: 36%;
  right: 12%;
  bottom: 12%;
  border: 1px solid rgba(45, 103, 163, 0.24);
  transform: rotate(10deg) skewX(5deg);
}

.service-card {
  position: relative;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 54px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-mid));
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(45, 103, 163, 0.28);
  outline-offset: 4px;
}

/* =========================================================
   LANGUAGE SWITCHER
   ========================================================= */
.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.language-switcher a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  line-height: 0;
}

.language-switcher a + a {
  margin-left: -30px;
}

.language-icon {
  display: block;
  width: clamp(66px, 6.5vw, 90px);
  height: auto;
}