/* ix investment GmbH – Website
   Layout: dunkles Markenumfeld (Navy/Gold) mit hellen Inhaltsbändern; 1240px-Raster, Linien statt Schatten.
   Bewusst ein festes Markenbild (kein Hell/Dunkel-Umschalten), alle Farben explizit. */

@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2");
  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; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/montserrat-latin-ext-wght-normal.woff2") format("woff2");
  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: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  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; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  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; }

:root {
  --navy-950: #060d13;
  --navy-900: #0f1b26;
  --navy-800: #172634;
  --navy-700: #22364a;
  --navy-500: #3e5871;
  --gold: #c39754;
  --gold-hover: #e2c48a;
  --gold-text-dark: #e2c48a;
  --gold-text-light: #7d5c2b;
  --silver-100: #e4e5e7;
  --silver-200: #d4d5d8;
  --silver-400: #a3a3a5;
  --silver-500: #8e939a;
  --silver-600: #5e636a;
  --white: #ffffff;
  --white-50: #efeff1;
  --paper: #f7f7f8;

  --font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --max: 1240px;
  --gutter-l: max(24px, env(safe-area-inset-left, 0px));
  --gutter-r: max(24px, env(safe-area-inset-right, 0px));
  --radius: 4px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  background: var(--navy-950);
  color: var(--white-50);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--gold-text-dark); }
a:hover { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold-hover); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; }
[id] { scroll-margin-top: 96px; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 16px; background: var(--gold); color: var(--navy-950); border-radius: var(--radius); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: var(--radius); font-family: var(--font-display); font-size: 15px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn-gold { background: var(--gold); color: var(--navy-950); }
.btn-gold:hover { background: var(--gold-hover); color: var(--navy-950); }
.btn-ghost { border-color: var(--navy-500); color: var(--white-50); font-weight: 500; }
.btn-ghost:hover { border-color: var(--gold); color: var(--white-50); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(6, 13, 19, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--navy-700); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--navy-950); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: block; line-height: 0; margin-left: -6px; }
.brand img { height: 48px; width: auto; }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; }
.main-nav a:not(.btn) { color: var(--silver-200); text-decoration: none; padding: 10px 0; }
.main-nav a:not(.btn):hover { color: var(--gold-hover); }
.menu-toggle { display: none; min-height: 44px; padding: 0 16px; background: transparent; color: var(--white-50); border: 1px solid var(--navy-500); border-radius: var(--radius); font: 600 14px var(--font-display); cursor: pointer; }

@media (max-width: 860px) {
  .header-row { flex-wrap: wrap; }
  .brand img { height: 40px; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .main-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 8px; }
  .main-nav.open { display: flex; }
  .main-nav a:not(.btn) { padding: 12px 0; border-top: 1px solid var(--navy-700); }
  .main-nav .btn { margin-top: 12px; }
  .no-js .main-nav { display: flex; }
  .no-js .menu-toggle { display: none; }
}

/* Typografie */
.overline { font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: 0.32em; color: var(--gold); }
.display { margin: 0; font-size: clamp(40px, 6vw, 68px); line-height: 1.05; font-weight: 600; letter-spacing: -0.015em; }
.gold { color: var(--gold); }
.lead { margin: 0; font-size: 19px; line-height: 1.6; color: var(--silver-400); max-width: 34em; }
.lead-sm { margin: 0; font-size: 17px; color: var(--silver-400); max-width: 30em; }
h2 { margin: 0; font-size: clamp(30px, 4vw, 44px); line-height: 1.15; font-weight: 600; }
h3 { margin: 0; font-weight: 600; }

/* Bänder */
.band > .wrap { padding-top: 96px; padding-bottom: 96px; }
.band-dark { background: var(--navy-950); color: var(--white-50); }
.band-navy { background: var(--navy-900); color: var(--white-50); }
.band-light { background: var(--paper); color: var(--navy-900); }
.band-white { background: var(--white); color: var(--navy-900); }
.band-light .overline, .band-white .overline { color: var(--gold-text-light); }
.band-light a, .band-white a { color: var(--gold-text-light); }
.section-stack { display: flex; flex-direction: column; gap: 48px; }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.intro { margin: 0; font-size: 18px; color: var(--silver-600); }
@media (max-width: 640px) { .band > .wrap { padding-top: 64px; padding-bottom: 64px; } .section-stack { gap: 36px; } }

/* Hero */
.hero { overflow: hidden; }
.hero-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 88px; padding-bottom: 72px; }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-mark { flex: 1 1 420px; min-width: 0; display: flex; justify-content: center; }
.hero-mark img { width: 100%; max-width: 600px; }
.claim-bar { border-top: 1px solid var(--navy-700); }
.claim-bar .wrap { padding-top: 20px; padding-bottom: 20px; font-family: var(--font-display); font-size: 12px; font-weight: 500; letter-spacing: 0.32em; color: var(--silver-400); text-align: center; }
@media (max-width: 640px) { .hero-grid { padding-top: 56px; padding-bottom: 48px; gap: 32px; } .hero-copy, .hero-mark { flex-basis: 100%; } .claim-bar .wrap { letter-spacing: 0.2em; line-height: 1.8; } }

/* Ansatz */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; }
.pillar { background: var(--white); border: 1px solid var(--silver-200); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; }
.pillar-icon { width: 48px; height: 48px; border-radius: var(--radius); background: var(--navy-900); display: flex; align-items: center; justify-content: center; }
.pillar-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: square; stroke-linejoin: miter; }
.pillar h3 { font-size: 19px; }
.pillar p { margin: 0; font-size: 15px; color: var(--silver-600); }

/* Prinzipien */
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 32px; }
.principle { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--navy-500); padding: 28px 0 24px; }
.principle-no { font-family: var(--font-display); font-size: 44px; font-weight: 600; line-height: 1; color: var(--gold); }
.principle h3 { font-size: 21px; }
.principle p { margin: 0; color: var(--silver-400); }
.kpis { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.kpi { padding: 24px; background: var(--navy-950); border: 1px solid var(--navy-700); border-radius: var(--radius); display: flex; flex-direction: column-reverse; }
.kpi dd { margin: 0; font-family: var(--font-display); font-size: 36px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; line-height: 1.3; }
.kpi dt { font-size: 14px; color: var(--silver-400); }

/* Prozess */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 32px; }
.steps li { display: flex; flex-direction: column; gap: 14px; }
.step-no { width: 52px; height: 52px; border-radius: 50%; background: var(--navy-900); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.step-no-gold { background: var(--gold); color: var(--navy-950); }
.steps h3 { font-size: 20px; }
.steps p { margin: 0; font-size: 15px; color: var(--silver-600); }

/* Kontakt */
.contact-grid { display: flex; flex-wrap: wrap; gap: 56px; }
.contact-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.contact-list { margin: 0; padding-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.contact-list > div { display: flex; gap: 0; }
.contact-list dt { width: 28px; flex: none; color: var(--gold); font-weight: 600; }
.contact-list dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.contact-list a { color: var(--white-50); text-decoration: none; }
.contact-list a:hover { color: var(--gold-hover); }
.contact-form { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; padding: 32px; background: var(--navy-900); border: 1px solid var(--navy-700); border-radius: var(--radius); }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-size: 13px; font-weight: 500; color: var(--silver-400); }
.field input, .field textarea { width: 100%; background: var(--navy-950); color: var(--white-50); border: 1px solid var(--navy-500); border-radius: var(--radius); font: inherit; font-size: 15px; }
.field input { height: 46px; padding: 0 14px; }
.field textarea { padding: 12px 14px; resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 2px rgba(195, 151, 84, 0.35); }
.field [aria-invalid="true"] { border-color: #e0605a; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--silver-400); }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--gold); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-status { margin: 0; font-size: 14px; color: var(--silver-400); min-height: 1.6em; }
.form-status.ok { color: #3fb27f; }
.form-status.err { color: #e0605a; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) { .contact-form { padding: 24px 20px; } }

/* Footer */
.site-footer { background: var(--navy-950); border-top: 1px solid var(--navy-700); }
.footer-stack { display: flex; flex-direction: column; gap: 28px; padding-top: 40px; padding-bottom: 48px; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer-row img { height: 40px; width: auto; margin-left: -5px; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; }
.legal-nav a { color: var(--silver-400); text-decoration: none; padding: 8px 0; }
.legal-nav a:hover { color: var(--gold-hover); }
.fine { margin: 0; font-size: 12px; line-height: 1.6; color: var(--silver-500); max-width: 70em; }

/* Rechtsseiten */
.legal > .wrap { padding-top: 72px; padding-bottom: 96px; }
.prose { max-width: calc(760px + 48px); }
.prose h1 { margin: 12px 0 32px; font-size: clamp(32px, 4.5vw, 48px); line-height: 1.1; font-weight: 600; }
.prose h2 { margin: 36px 0 10px; font-size: 20px; line-height: 1.3; }
.prose p { margin: 0 0 12px; color: #383c42; max-width: 65ch; }
.prose .note { padding: 12px 16px; background: var(--paper); border: 1px solid var(--silver-200); border-radius: var(--radius); font-size: 14px; color: var(--silver-600); }
.fine-dark { font-size: 13px; color: var(--silver-600) !important; margin-top: 32px !important; }

/* 404 */
.notfound > .wrap { padding-top: 120px; padding-bottom: 120px; gap: 24px; }
