/* =========================================================
   ARR Resilience – ANCORA Landingpage
   ---------------------------------------------------------
   LOGO WECHSELN: nur die folgende Zeile anpassen ("4b" -> "1", "2", "3" oder "4";
   "-lockup-transparent" -> "-lockup-transparent-de" für die Variante «ARR Resilienz»).
   ========================================================= */
:root { --logo-lockup: url("../logo/logo-4b-lockup-transparent.svg"); --logo-symbol: url("../logo/logo-4b-symbol-gold.svg"); }

/* ---------- Fonts (selbst gehostet, Noto Serif / Noto Sans, SIL OFL) ---------- */
@font-face { font-family: "Noto Serif"; src: url("../fonts/noto-serif.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Noto Serif"; src: url("../fonts/noto-serif-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Noto Sans"; src: url("../fonts/noto-sans.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --teal-900: #0f2a2e;
  --teal-800: #133539;
  --teal-700: #163f45;
  --teal-500: #1d5a5e;
  --gold: #d9b77a;
  --gold-600: #c9a25e;
  --gold-text: #7a5c24;      /* Gold für Text auf hellem Grund (Kontrast ≥ 4.5:1) */
  --cream: #f4efe6;
  --cream-2: #ebe3d4;
  --ink: #0f2a2e;
  --ink-muted: #4a5d5f;
  --on-dark: #f4efe6;
  --on-dark-muted: #c3d2ce;
  --line-dark: rgba(217, 183, 122, .28);
  --radius: 18px;
  --shadow: 0 18px 50px -24px rgba(15, 42, 46, .45);
  --serif: "Noto Serif", Georgia, "Times New Roman", serif;
  --sans: "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1160px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--cream); }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container-narrow { --container: 820px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--gold); color: var(--teal-900); padding: .6rem 1rem; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.section-light :focus-visible, .offer:not(.offer-dark) :focus-visible { outline-color: var(--teal-500); }

/* ---------- Logo (über CSS-Variable steuerbar) ---------- */
.logo { display: block; background: center / contain no-repeat; }
.logo-lockup { background-image: var(--logo-lockup); --w: 270px; width: var(--w); height: calc(var(--w) * .22); background-size: var(--w) auto; background-position: 0 calc(var(--w) * -.068); margin-left: calc(var(--w) * -.09); } /* blendet den Weissraum der Lockup-SVG (841×320) aus */
.logo-symbol { background-image: var(--logo-symbol); aspect-ratio: 1; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .75rem 1.4rem; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; transition: background-color .2s, color .2s, border-color .2s, transform .2s; text-align: center; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 42px; padding: .5rem 1.1rem; font-size: .95rem; }
.btn-gold { background: var(--gold); color: var(--teal-900); }
.btn-gold:hover { background: #e6c98f; }
.btn-ghost { border-color: rgba(244, 239, 230, .45); color: var(--on-dark); background: rgba(244, 239, 230, .06); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-teal { background: var(--teal-900); color: var(--cream); }
.btn-teal:hover { background: var(--teal-500); }
.btn-outline { border-color: var(--teal-900); color: var(--teal-900); }
.btn-outline:hover { background: var(--teal-900); color: var(--cream); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(15, 42, 46, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line-dark); color: var(--on-dark); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }
.brand { display: block; flex-shrink: 0; }
.nav-cta { white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 1.25rem; }
.site-nav > ul { display: flex; gap: 1.15rem; list-style: none; }
.site-nav > ul a { white-space: nowrap; text-decoration: none; font-size: .95rem; color: var(--on-dark-muted); padding: .35rem 0; border-bottom: 2px solid transparent; }
.site-nav > ul a:hover { color: var(--on-dark); border-bottom-color: var(--gold); }
.nav-toggle { display: none; }

/* Sprachwahl / language switcher (plain links, works without JS) */
.lang-switch ul { display: flex; align-items: center; gap: 0; list-style: none; }
.lang-switch li + li { border-left: 1px solid var(--line-dark); }
.lang-switch a { display: inline-flex; align-items: center; justify-content: center; min-width: 2.2rem; min-height: 32px; padding: .25rem .4rem; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-decoration: none; color: var(--on-dark-muted); border-radius: 6px; }
.lang-switch a:hover { color: var(--on-dark); }
.lang-switch a[aria-current="page"] { color: var(--gold); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: var(--on-dark); background:
  radial-gradient(1000px 600px at 85% 30%, rgba(29, 90, 94, .75), transparent 60%),
  radial-gradient(700px 500px at 0% 100%, rgba(217, 183, 122, .10), transparent 60%),
  linear-gradient(160deg, var(--teal-900) 0%, var(--teal-700) 60%, var(--teal-500) 130%);
  padding: clamp(1.75rem, 3.5vw, 2.75rem) 0 clamp(3rem, 6vw, 4.5rem); }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 3rem; align-items: center; }
.kicker { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: clamp(1rem, 1.6vw, 1.2rem); letter-spacing: .02em; margin-bottom: 1.1rem; }
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 4.75rem); font-weight: 700; letter-spacing: -.01em; margin-bottom: 1.4rem; text-wrap: balance; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--on-dark-muted); max-width: 36em; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.2rem; }
.chips { display: flex; flex-wrap: wrap; gap: .55rem; list-style: none; }
.chips li { font-size: .85rem; padding: .35rem .85rem; border-radius: 999px; border: 1px solid var(--line-dark); background: rgba(244, 239, 230, .05); color: var(--on-dark); }
.hero-visual { display: flex; justify-content: center; }
.rings { position: relative; width: min(100%, 400px); aspect-ratio: 1; display: grid; place-items: center; }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(217, 183, 122, .35); }
.ring.r2 { inset: 12%; border-color: rgba(217, 183, 122, .22); background: radial-gradient(circle, rgba(15, 42, 46, .55), transparent 70%); }
.ring.r3 { inset: 24%; border-color: rgba(217, 183, 122, .5); background: rgba(15, 42, 46, .55); }
.rings .logo-symbol { width: 40%; position: relative; filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .35)); }
.rings .portrait { position: absolute; inset: 10%; border-radius: 50%; overflow: hidden; border: 3px solid rgba(217, 183, 122, .7); box-shadow: 0 14px 40px rgba(0, 0, 0, .4); background: #fff; }
.rings .portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-light { background: var(--cream); color: var(--ink); }
.section-dark { background: var(--teal-900); color: var(--on-dark); }
.section h2 { font-size: clamp(2rem, 4vw, 2.9rem); text-wrap: balance; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; font-weight: 700; color: var(--gold-text); margin-bottom: .8rem; }
.section-dark .eyebrow { color: var(--gold); }
.section-intro { font-size: 1.15rem; max-width: 40em; color: var(--ink-muted); margin-bottom: 2.6rem; }
.section-dark .section-intro { color: var(--on-dark-muted); }

/* Warum */
.story-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.story-grid p { color: #2c4144; }
.signature { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; margin-top: 1.6rem; color: var(--ink) !important; }
.signature span { display: block; font-family: var(--sans); font-weight: 400; font-size: .92rem; color: var(--ink-muted); }
.quote-card { margin: 0; background: var(--teal-900); color: var(--on-dark); border-radius: var(--radius); padding: clamp(2rem, 4vw, 3rem); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.quote-card::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; border: 1px solid var(--line-dark); }
.quote-mark { width: 56px; margin-bottom: 1.2rem; }
.quote-card blockquote { margin: 0; }
.quote-card blockquote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 1.85rem); line-height: 1.35; color: var(--cream); }
.quote-card figcaption { color: var(--gold); font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }
.arr-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: clamp(3rem, 6vw, 4.5rem); }
.arr-grid li { background: #fff; border: 1px solid var(--cream-2); border-radius: var(--radius); padding: 1.6rem 1.6rem 1.2rem; }
.arr-letter { font-family: var(--serif); font-size: 2.6rem; font-weight: 700; color: var(--gold-text); line-height: 1; display: block; margin-bottom: .6rem; }
.arr-grid h3 { font-size: 1.3rem; }
.arr-grid p { color: var(--ink-muted); margin: 0; }

/* Ablauf */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: s; }
.step { position: relative; background: rgba(244, 239, 230, .05); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 1.8rem 1.6rem; }
.step::before { content: ""; position: absolute; left: 1.6rem; top: 0; width: 48px; height: 3px; background: var(--gold); border-radius: 0 0 3px 3px; }
.step-no { display: inline-block; color: var(--gold); font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: .6rem; }
.step h3 { font-size: 1.5rem; }
.step p { color: var(--on-dark-muted); margin: 0; }
.pillars-wrap { margin-top: clamp(3rem, 6vw, 4.5rem); }
.pillars-title { text-align: center; font-size: 1.6rem; margin-bottom: 1.5rem; }
.pillars { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line-dark); border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.pillars li { padding: 1.4rem 1.1rem; text-align: center; border-right: 1px solid var(--line-dark); background: rgba(244, 239, 230, .04); }
.pillars li:last-child { border-right: 0; }
.pillars h4 { font-size: 1.15rem; color: var(--cream); margin-bottom: .3rem; }
.pillars p { font-size: .9rem; color: var(--on-dark-muted); margin-bottom: .6rem; }
.pillars em { font-family: var(--serif); font-size: .9rem; color: var(--gold); }
.foundation { margin: 0; background: var(--gold); color: var(--teal-900); text-align: center; padding: .95rem 1rem; border-radius: 0 0 var(--radius) var(--radius); font-size: 1rem; }

/* Angebote */
.offers { margin-top: 2.2rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; align-items: stretch; }
.offer { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--cream-2); border-radius: calc(var(--radius) + 4px); padding: clamp(1.8rem, 3.5vw, 2.6rem); box-shadow: var(--shadow); scroll-margin-top: calc(var(--header-h) + 16px); }
.offer-dark { background: linear-gradient(160deg, var(--teal-900), var(--teal-700)); color: var(--on-dark); border-color: var(--teal-700); }
.offer-tag { display: inline-block; align-self: flex-start; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: .3rem .8rem; border-radius: 999px; background: var(--cream); color: var(--gold-text); margin-bottom: 1rem; }
.offer-dark .offer-tag { background: rgba(217, 183, 122, .15); color: var(--gold); }
.offer h3 { font-size: clamp(1.6rem, 2.6vw, 2rem); }
.price { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; padding-bottom: 1.2rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--cream-2); }
.offer-dark .price { border-bottom-color: var(--line-dark); }
.price-amount { font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 2.5rem); font-weight: 700; color: var(--teal-900); }
.offer-dark .price-amount { color: var(--gold); }
.price-note { color: var(--ink-muted); font-size: 1rem; }
.offer-dark .price-note { color: var(--on-dark-muted); }
.checklist { list-style: none; display: grid; gap: .8rem; margin-bottom: 2rem; flex: 1; }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--teal-900) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23d9b77a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.offer-dark .checklist li::before { background-color: rgba(217, 183, 122, .18); }
.muted { color: var(--ink-muted); }
.offer-dark .muted { color: var(--on-dark-muted); }
.offer-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Swiss Sovereignty */
.section-dark.section-sovereignty { background: linear-gradient(180deg, var(--teal-700), var(--teal-900)); }
.trust-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.trust-grid li { border-top: 2px solid var(--gold); padding-top: 1.3rem; }
.icon { width: 34px; height: 34px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1rem; }
.trust-grid h3 { font-size: 1.25rem; }
.trust-grid p { color: var(--on-dark-muted); margin: 0; font-size: .98rem; }

/* FAQ */
.faq { border-top: 1px solid var(--cream-2); }
.faq details { border-bottom: 1px solid #ddd3c1; }
.faq summary { cursor: pointer; list-style: none; padding: 1.25rem 3rem 1.25rem 0; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .4rem; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--gold-text); border-bottom: 2px solid var(--gold-text); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: #2c4144; padding-right: 2rem; margin-bottom: 1.4rem; }

/* Kontakt */
.contact { text-align: center; background: radial-gradient(800px 400px at 50% 0%, rgba(29, 90, 94, .6), transparent 70%), var(--teal-900); }
.contact-inner { display: flex; flex-direction: column; align-items: center; }
.contact-symbol { width: 64px; margin-bottom: 1.4rem; }
.contact .section-intro { margin-inline: auto; margin-bottom: 2rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-bottom: 2rem; }
.contact-address { color: var(--on-dark-muted); }
.contact-address a { color: var(--gold); }

/* Disclaimer */
.disclaimer { background: var(--cream-2); color: #2c4144; font-size: .92rem; padding: 1.4rem 0; }
.disclaimer p { margin: 0; max-width: 62em; }

/* Footer */
.site-footer { background: #0b2023; color: var(--on-dark-muted); padding: 3rem 0 2rem; font-size: .95rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 2rem; border-bottom: 1px solid var(--line-dark); }
.footer-logo { --w: 240px; margin-bottom: 1rem; }
.footer-text { max-width: 34em; }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: var(--gold); }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; }
.impressum { padding-top: 1.6rem; }
.impressum-title { font-size: 1.1rem; color: var(--on-dark); }
.placeholder { display: inline-block; background: #ffe58a; color: #3a2a00; font-weight: 700; padding: .05rem .45rem; border-radius: 4px; font-family: var(--sans); font-size: .9em; }
.impressum p.placeholder { margin-bottom: .6rem; }
.copyright { margin-top: 1rem; font-size: .85rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .site-nav > ul { gap: 1rem; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .pillars li:nth-child(3) { border-right: 0; }
  .pillars li:nth-child(n+4) { border-top: 1px solid var(--line-dark); }
}
@media (max-width: 1200px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--line-dark); border-radius: 12px; background: transparent; color: var(--on-dark); cursor: pointer; }
  .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s, background-color .2s; }
  .nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bar::before { top: -7px; } .nav-toggle-bar::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }
  .js .site-nav { display: none; position: absolute; left: 0; right: 0; top: var(--header-h); background: var(--teal-900); border-bottom: 1px solid var(--line-dark); padding: 1rem 1.25rem 1.5rem; flex-direction: column; align-items: stretch; gap: 1rem; }
  .js .site-nav.is-open { display: flex; }
  .js .site-nav > ul { flex-direction: column; gap: 0; }
  .js .site-nav > ul a { display: block; padding: .85rem 0; font-size: 1.05rem; color: var(--on-dark); border-bottom: 1px solid rgba(217, 183, 122, .15); }
  .no-js .nav-toggle { display: none; }
  .no-js .site-nav > ul { display: none; }
  .js .site-nav .lang-switch { padding-top: .25rem; }
  .site-nav .lang-switch a { min-height: 44px; min-width: 3rem; font-size: .95rem; }
  .no-js .site-header { position: relative; }
  .no-js .header-inner { flex-wrap: wrap; height: auto; min-height: var(--header-h); padding-block: .6rem; row-gap: .4rem; }
  .no-js .site-nav { gap: .8rem 1rem; flex-wrap: wrap; }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .story-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .offers { grid-template-columns: 1fr; }
  .arr-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  :root { --header-h: 66px; }
  body { font-size: 1rem; }
  .logo-lockup { --w: 215px; }
  .trust-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillars li { border-right: 1px solid var(--line-dark) !important; border-top: 1px solid var(--line-dark); }
  .pillars li:nth-child(even) { border-right: 0 !important; }
  .pillars li:nth-child(-n+2) { border-top: 0; }
  .pillars li:last-child { grid-column: 1 / -1; border-right: 0 !important; }
  .hero-actions .btn, .offer-actions .btn, .contact-actions .btn { width: 100%; }
  .faq summary { font-size: 1.08rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
@media print {
  .site-header, .hero-visual, .nav-toggle { display: none; }
  .hero, .section-dark, .site-footer { background: #fff !important; color: #000 !important; }
}
