/* ==========================================================================
   Aurum Forderungsmanagement – Global Stylesheet
   Farbwelt: Navy / Gold / Weiß – seriös, vertrauenswürdig, modern
   Keine externen Fonts (DSGVO-freundlich)
   ========================================================================== */

:root {
  --navy-900: #0a1c2f;
  --navy-800: #0f2a44;
  --navy-700: #16385a;
  --navy-600: #1f4a73;
  --gold-500: #c8a24a;
  --gold-400: #d7b76a;
  --gold-100: #f6efdc;
  --ink: #1b2430;
  --muted: #5b6776;
  --line: #e3e7ed;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --success: #1e7b4f;
  --error: #b3261e;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(10, 28, 47, .08);
  --shadow: 0 10px 30px rgba(10, 28, 47, .10);
  --shadow-lg: 0 24px 60px rgba(10, 28, 47, .18);
  --container: 1200px;
  --font-sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", "Iowan Old Style", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-500); }
h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--navy-800); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; margin: 0 0 1.2em; }
li { margin-bottom: .4em; }
strong { color: var(--navy-800); }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--gold-500); color: var(--navy-900); padding: .7em 1em; z-index: 1000; }
.skip-link:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy-800); color: #dfe7f1; }
.section--navy h2, .section--navy h3, .section--navy strong { color: #fff; }
.text-center { text-align: center; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold-500); margin-bottom: .9rem;
}
.lead { font-size: 1.2rem; color: var(--muted); }
.section--navy .lead { color: #b9c7d8; }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em; justify-content: center;
  padding: .95em 1.7em; border-radius: 999px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--gold-500); color: var(--navy-900); box-shadow: 0 8px 20px rgba(200,162,74,.35); }
.btn--primary:hover { background: var(--gold-400); color: var(--navy-900); }
.btn--outline { border-color: currentColor; color: #fff; background: transparent; }
.btn--outline:hover { background: #fff; color: var(--navy-800); }
.btn--navy { background: var(--navy-800); color: #fff; }
.btn--navy:hover { background: var(--navy-600); color: #fff; }

/* ---------- Topbar & Header ---------- */
.topbar { background: var(--navy-900); color: #b9c7d8; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 1rem; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--gold-400); }

.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97);
  backdrop-filter: saturate(180%) blur(8px); border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--navy-800); }
.logo__mark {
  width: 42px; height: 42px; border-radius: 10px; background: var(--navy-800); color: var(--gold-500);
  display: grid; place-items: center; font-family: var(--font-serif); font-weight: 700; font-size: 1.4rem;
}
.logo__text { font-family: var(--font-serif); font-weight: 700; font-size: 1.25rem; line-height: 1.05; }
.logo__text small { display: block; font-family: var(--font-sans); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.nav ul { list-style: none; display: flex; gap: 1.8rem; margin: 0; padding: 0; align-items: center; }
.nav li { margin: 0; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .96rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-500); }
.nav .btn, .nav .btn[aria-current="page"] { color: var(--navy-900); padding: .7em 1.3em; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--navy-800); margin: 6px 0; transition: .2s; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 78px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); display: none; box-shadow: var(--shadow); }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 24px; }
  .nav li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav li:last-child a { border: 0; margin-top: 12px; text-align: center; }
}

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--navy-900); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,28,47,.96) 0%, rgba(10,28,47,.75) 55%, rgba(10,28,47,.35) 100%); }
.hero .container { position: relative; z-index: 1; padding-top: 120px; padding-bottom: 120px; }
.hero h1 { color: #fff; max-width: 780px; }
.hero .lead { color: #c9d5e3; max-width: 680px; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.hero__badges { display: flex; gap: 1.8rem; flex-wrap: wrap; margin-top: 2.6rem; font-size: .92rem; color: #c9d5e3; }
.hero__badges span::before { content: "✓"; color: var(--gold-500); font-weight: 700; margin-right: .45em; }

/* Page hero (Unterseiten) */
.page-hero { position: relative; background: var(--navy-800); color: #fff; overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .2; }
.page-hero .container { position: relative; padding-top: 88px; padding-bottom: 88px; }
.page-hero h1 { color: #fff; max-width: 820px; }
.page-hero .lead { color: #c9d5e3; max-width: 720px; }
.breadcrumb { font-size: .85rem; margin-bottom: 1.2rem; color: #b9c7d8; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: .4rem; color: var(--gold-500); }
.breadcrumb a { color: #fff; text-decoration: none; }

/* ---------- Grids & Cards ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .section { padding: 68px 0; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px;
  box-shadow: var(--shadow-sm); transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card__icon {
  width: 54px; height: 54px; border-radius: 12px; background: var(--gold-100); color: var(--navy-800);
  display: grid; place-items: center; margin-bottom: 1.2rem;
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: .5em; }
.card p:last-child { margin-bottom: 0; }
.card--image { padding: 0; overflow: hidden; }
.card--image img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.card--image .card__body { padding: 28px 30px 32px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--reverse > :first-child { order: 2; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } .split--reverse > :first-child { order: 0; } }

.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 2em; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: .05em; width: 1.4em; height: 1.4em; border-radius: 50%;
  background: var(--gold-100); color: var(--navy-800); font-size: .8em; display: grid; place-items: center; font-weight: 700;
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat__num { font-family: var(--font-serif); font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--gold-500); font-weight: 700; line-height: 1; }
.stat__label { color: #b9c7d8; margin-top: .6rem; font-size: .95rem; }
@media (max-width: 780px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Process steps ---------- */
.steps { counter-reset: step; display: grid; gap: 24px; grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding: 30px 26px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-serif); font-size: 2.2rem; color: var(--gold-500); font-weight: 700; display: block; margin-bottom: .4rem;
}
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.quote { background: #fff; border-radius: var(--radius-lg); padding: 34px; border-left: 4px solid var(--gold-500); box-shadow: var(--shadow-sm); }
.quote p { font-family: var(--font-serif); font-size: 1.1rem; font-style: italic; color: var(--ink); }
.quote cite { font-style: normal; font-weight: 700; color: var(--navy-800); font-size: .95rem; }
.quote cite span { display: block; font-weight: 400; color: var(--muted); font-size: .88rem; }

/* ---------- FAQ (details/summary) ---------- */
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 14px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 700; color: var(--navy-800); position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--gold-500); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 24px 22px; color: var(--muted); }

/* ---------- Article / Prose ---------- */
.prose h2 { margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose img { border-radius: var(--radius-lg); margin: 2em 0; }
.prose blockquote { margin: 2em 0; padding: 1.2em 1.6em; background: var(--gold-100); border-left: 4px solid var(--gold-500); border-radius: 0 var(--radius) var(--radius) 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
.prose th { background: var(--navy-800); color: #fff; }
.prose tr:nth-child(even) td { background: var(--bg-soft); }
.table-wrap { overflow-x: auto; }
.toc { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 2.4em; }
.toc strong { display: block; margin-bottom: .5em; }
.toc ol { margin: 0; }
.info-box { background: var(--bg-soft); border: 1px solid var(--line); border-left: 4px solid var(--navy-600); border-radius: var(--radius); padding: 22px 26px; margin: 1.8em 0; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy-800), var(--navy-600)); color: #fff; border-radius: var(--radius-lg); padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: #c9d5e3; margin: 0; max-width: 620px; }
@media (max-width: 600px) { .cta-band { padding: 36px 26px; } }

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 44px; border: 1px solid var(--line); }
@media (max-width: 600px) { .form-card { padding: 26px 20px; } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 680px) { .form-grid { grid-template-columns: 1fr; } }
fieldset { border: 0; padding: 0; margin: 0 0 30px; }
legend { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; color: var(--navy-800); margin-bottom: 16px; padding: 0; }
label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--navy-800); }
.req { color: var(--error); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], select, textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid #cfd6df; border-radius: 8px; font: inherit; font-size: 1rem;
  color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 4px rgba(31,74,115,.12); }
.is-invalid { border-color: var(--error) !important; }
.field-error { color: var(--error); font-size: .85rem; margin-top: 4px; min-height: 1em; }
.hint { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.checkbox { display: flex; gap: .7em; align-items: flex-start; font-weight: 400; font-size: .92rem; color: var(--ink); }
.checkbox input { margin-top: .35em; width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--navy-800); }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 16px 20px; border-radius: 8px; margin-top: 20px; display: none; }
.form-status.is-success { display: block; background: #e7f5ee; color: var(--success); border: 1px solid #b7e0c9; }
.form-status.is-error { display: block; background: #fbeaea; color: var(--error); border: 1px solid #efc2c0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #9fb0c4; font-size: .94rem; padding: 80px 0 0; }
.site-footer h4 { color: #fff; font-family: var(--font-sans); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.2em; }
.site-footer a { color: #c9d5e3; text-decoration: none; }
.site-footer a:hover { color: var(--gold-400); }
.site-footer ul { list-style: none; padding: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .logo { color: #fff; margin-bottom: 1rem; }
.site-footer .logo__text small { color: #9fb0c4; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 56px; padding: 24px 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.badge { display: inline-block; background: var(--gold-100); color: var(--navy-800); font-size: .78rem; font-weight: 700; padding: .3em .8em; border-radius: 999px; }
.img-credit { font-size: .75rem; color: var(--muted); margin-top: .4rem; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
