/* AssurFinance – eigener statischer Entwurf. Farben und Typografie angelehnt an die genehmigte Stilrichtung, Stylesheet unabhängig verfasst. */

@font-face {
  font-family: "Ysabeau Office";
  src: url("../fonts/ysabeau-latin-ext.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Ysabeau Office";
  src: url("../fonts/ysabeau-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #fbfcfd;
  --powder: #d5e0ea;
  --powder-soft: #e9eff5;
  --slate: #a3bfdb;
  --slate-deep: #8fb0d1;
  --ink: #1f1d20;
  --ink-soft: #3a3f45;
  --mist: #5a5f64;
  --blue: #0071b9;
  --blue-text: #005e9c;
  --deep: #2f4c63;
  --sky: #cfe0f1;
  --line: color-mix(in srgb, var(--ink) 14%, transparent);
  --font: "Ysabeau Office", "Segoe UI", Arial, sans-serif;
  --wrap: 1280px;
  --header-h: 76px;
  --radius: 2px;
  --pill: 60px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 430;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}

body.nav-lock { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-text); text-underline-offset: 0.15em; }
a:hover { color: var(--blue); }
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  background: var(--ink);
  color: #fff;
}
.skip:focus,
.skip:focus-visible {
  position: fixed;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  clip-path: none;
  overflow: visible;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 8px 14px;
  border-radius: var(--radius);
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--paper) 70%, transparent);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}
.logo img,
.logo svg { height: 42px; width: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px 22px;
  margin-left: auto;
}
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  padding: 8px 0;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--blue-text); }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--blue); }
.site-nav .btn { padding: 8px 24px; white-space: nowrap; }
@media (min-width: 860px) and (max-width: 1179px) {
  .header-phone { display: none; }
  .site-nav { gap: 4px 16px; }
  .site-nav .btn { padding: 8px 20px; }
}
@media (min-width: 860px) and (max-width: 979px) {
  .header-inner { gap: 16px; }
  .logo img, .logo svg { height: 34px; }
  .site-nav { gap: 4px 12px; }
  .site-nav a { font-size: 16px; }
  .site-nav .btn { padding: 8px 16px; }
}

.header-phone {
  color: var(--ink);
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  white-space: nowrap;
}
.header-phone:hover { color: var(--blue-text); }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.site-header.is-open .nav-toggle span { background: transparent; }
.site-header.is-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.site-header.is-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 50px;
  padding: 12px 26px;
  border: 0;
  border-radius: var(--pill);
  background: var(--slate);
  color: var(--ink);
  font: 600 16.5px/1.2 var(--font);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: var(--slate-deep); color: var(--ink); }
.btn-ink {
  background: var(--deep);
  color: #fff;
}
.btn-ink:hover { background: var(--ink); color: #fff; }
.btn-ghost {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Hero */
.hero {
  margin-top: calc(-1 * var(--header-h));
  min-height: max(640px, min(100svh, 980px));
  display: flex;
  flex-direction: column;
  background: var(--sky);
  overflow: hidden;
  isolation: isolate;
}
.hero-copy {
  padding: calc(var(--header-h) + 48px) 0 24px;
  max-width: 58rem;
}
.hero-kicker {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--deep);
}
.h1-main {
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 6.2rem);
  font-weight: 650;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--ink);
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.hero-lead {
  margin: 22px 0 0;
  max-width: 40rem;
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  color: var(--ink-soft);
}
.hero-visual {
  flex: 1 0 auto;
  position: relative;
  aspect-ratio: 3 / 2;
  max-height: 62vh;
  margin-top: -40px;
  -webkit-mask-image: linear-gradient(transparent 0, #000 18%);
  mask-image: linear-gradient(transparent 0, #000 18%);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  position: absolute;
  inset: 0;
}

/* Sections */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.band { background: var(--powder-soft); }
.band-powder { background: var(--powder); }
.band-deep {
  background: var(--deep);
  color: #f3f6f8;
}
.band-deep h2,
.band-deep h3 { color: #fff; }
.band-deep p,
.band-deep li { color: color-mix(in srgb, #fff 84%, var(--sky)); }

.h2 {
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 4.4vw, 3.8rem);
  font-weight: 620;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.h3 {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.lead {
  font-size: clamp(1.15rem, 1.6vw, 1.36rem);
  color: var(--ink-soft);
  max-width: 42rem;
}
.muted { color: var(--mist); }
.section-head { margin-bottom: 36px; max-width: 46rem; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px 64px;
  align-items: start;
}
.split-rev { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.photo-frame {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--powder);
}
.photo-frame picture { display: block; height: 100%; }
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

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

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 30px;
  height: 100%;
}
.card h3 { margin-top: 0; }
.card ul, .prose ul { padding-left: 1.15em; }
.card li, .prose li { margin: 0.35em 0; }

.values {
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  padding: 22px 24px 24px;
}
.values h2, .values .values-h {
  margin: 0 0 12px;
  font-size: 19px;
  font-weight: 600;
}
.values ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.values li {
  margin: 0;
  padding: 6px 12px;
  background: var(--powder-soft);
  border-radius: var(--pill);
  font-size: 16px;
  font-weight: 530;
}

.fact-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 40px;
}
.fact-k {
  margin: 0 0 6px;
  font-size: 16px;
  color: var(--mist);
}
.fact-v {
  margin: 0;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  font-weight: 560;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.steps li::before {
  content: counter(step);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--slate);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 650;
  font-size: 15px;
}

/* Team */
.person { padding: 0 0 22px; }
.person picture {
  display: block;
  margin-bottom: 16px;
}
.person img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 18%;
  background: var(--powder);
  margin-bottom: 16px;
}
.person picture img { margin-bottom: 0; }
.person h3 { margin: 0 0 4px; font-size: 21px; }
.person .role { margin: 0; font-size: 16.5px; color: var(--ink-soft); }
.person .note { margin: 8px 0 0; font-size: 16px; color: var(--mist); }
.person-links {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 16.5px;
}

/* FAQ */
.faq-list { display: grid; gap: 10px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 4px 18px 4px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.15rem;
  padding: 14px 0;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  float: right;
  font-weight: 500;
  color: var(--blue);
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 0 0 16px; color: var(--ink-soft); }

/* Contact */
.contact-card {
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  padding: 8px 0;
}
.contact-row {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid var(--line);
}
.contact-row:first-child { border-top: 0; }
.contact-row .k { margin: 0; color: var(--mist); font-size: 16px; }
.contact-row .v {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 560;
  color: var(--ink);
  text-decoration: none;
}
a.v:hover { color: var(--blue-text); }

/* Legal / prose */
.prose { max-width: 44rem; }
.prose h2 { margin: 2.2em 0 0.6em; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.prose h3 { margin: 1.6em 0 0.4em; font-size: 19px; }
.prose p { margin: 0 0 1em; }
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 17px;
  margin: 0 0 1.4em;
}
.prose th, .prose td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 430;
}
.prose th { color: var(--mist); font-weight: 530; width: 34%; }

.notice {
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 0 0 28px;
  background: var(--powder-soft);
}
.notice strong { font-weight: 650; }

.placeholder,
mark.todo {
  background: color-mix(in srgb, var(--blue) 12%, transparent);
  color: inherit;
  border-bottom: 1px dashed var(--blue-text);
  padding: 0 0.12em;
  font-style: normal;
}

.page-hero {
  padding: calc(var(--header-h) + 28px) 0 48px;
  background: var(--powder-soft);
  margin-top: calc(-1 * var(--header-h));
}
.page-hero .h1-main { font-size: clamp(2.6rem, 6vw, 4.8rem); }

.partner-list {
  columns: 2;
  gap: 40px;
  margin: 0;
  padding: 0 0 0 1.1em;
}
.partner-list li { margin: 0.25em 0; break-inside: avoid; }
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  align-items: center;
  margin: 16px 0 28px;
}
.partner-logos img { height: 48px; width: auto; }
.doc-list { list-style: none; margin: 0; padding: 0; }
.doc-list li { margin: 0.4em 0; }


/* Footer */
.site-footer {
  background: var(--ink);
  color: #e6e8ea;
  padding: 56px 0 28px;
  font-size: 16px;
}
.site-footer a { color: #e6e8ea; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px 40px;
  margin-bottom: 40px;
}
.foot-h {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
}
.foot-list { list-style: none; margin: 0; padding: 0; }
.foot-list li { margin: 0.35em 0; }
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  border-top: 1px solid color-mix(in srgb, #fff 16%, transparent);
  padding-top: 18px;
  font-size: 14px;
  color: #b5b8bc;
}

@media (max-width: 1099px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact-row { grid-template-columns: 1fr; gap: 20px; }
  .split, .split-rev { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero-visual { max-height: none; margin-top: -24px; }
}

@media (max-width: 859px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .partner-list { columns: 1; }
  .header-phone { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav {
    display: none;
    position: absolute;
    inset: var(--header-h) 0 auto 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 20px 28px;
    border-bottom: 1px solid var(--line);
    gap: 0;
  }
  .site-header.is-open .site-nav { display: flex; }
  .site-nav a { font-size: 1.25rem; width: 100%; padding: 12px 0; }
  .site-nav .btn { margin-top: 16px; width: 100%; }
  .h1-main {
    font-size: clamp(1.8rem, 8.4vw, 2.55rem);
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
  }
  .foot-grid { grid-template-columns: 1fr; }
  .contact-row { grid-template-columns: 1fr; gap: 4px; }
  .wrap { width: min(100% - 32px, var(--wrap)); }
  .section { padding: 64px 0; }
}

@media (max-width: 640px) {
  .hero-copy { padding-top: calc(var(--header-h) + 32px); }
  .hero-visual { min-height: 0; }
}
