/* ============================================
   Sava Mirkovic Consulting Group — Styles
   Palette: #0B1B33 (Navy), #FFFFFF, #B89968 (Gold),
            #6E1A2C (Bordeaux)
   ============================================ */

:root {
  --navy: #0B1B33;
  --navy-800: #13264a;
  --navy-50: #f5f7fb;
  --gold: #B89968;
  --gold-dark: #9d8054;
  --bordeaux: #6E1A2C;
  --ink: #1a1f2e;
  --ink-muted: #5a6378;
  --line: #e4e7ee;
  --white: #ffffff;

  --ff-sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --fs-base: 17px;

  --container: 1200px;
  --radius: 2px;
  --shadow-sm: 0 1px 2px rgba(11, 27, 51, 0.06);
  --shadow-md: 0 12px 40px rgba(11, 27, 51, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--ff-sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s; }
a:hover { border-bottom-color: var(--gold); }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { color: var(--navy); font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 500; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--navy); color: var(--white);
  padding: 10px 16px; z-index: 1000;
}
.skip-link:focus { top: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; gap: 24px;
}
.logo { border: none; display: flex; align-items: center; }
.logo img { height: 80px; width: auto; }

.main-nav .nav-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 36px;
}
.nav-list a {
  color: var(--ink); font-size: 1.1rem; font-weight: 500;
  border-bottom: 1px solid transparent;
}
.nav-list a:hover { border-bottom-color: var(--gold); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  padding: 10px; width: 44px; height: 44px;
}
.nav-icon, .nav-icon::before, .nav-icon::after {
  content: ""; display: block; width: 22px; height: 2px;
  background: var(--navy); margin: 5px 0; transition: transform .25s;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-list {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--white); border-top: 1px solid var(--line);
    padding: 16px 24px;
    transform: translateY(-10px);
    opacity: 0; visibility: hidden;
    transition: all .2s;
  }
  .main-nav[data-open="true"] .nav-list {
    transform: translateY(0); opacity: 1; visibility: visible;
  }
  .nav-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .nav-list li:last-child { border-bottom: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: .95rem; font-weight: 500; letter-spacing: 0.02em;
  border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: all .2s ease;
  text-decoration: none;
}
.btn:hover { border-bottom-color: transparent; transform: translateY(-1px); }

.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-800); }

.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }

.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-dark); }

.cta-group { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }

/* ---------- Common section ---------- */
.section { padding: 100px 0; }
.section-dark { background: var(--navy); color: #d5dae6; }
.section-subtle { background: var(--navy-50); }

.kicker {
  font-size: .8rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 14px;
}
.kicker-light { color: var(--gold); }

.section-title { max-width: 820px; margin-bottom: 40px; }
.section-title-light { color: var(--white); }
.section-intro { font-size: 1.1rem; color: var(--ink-muted); max-width: 700px; margin: -20px 0 48px; }
.section-intro-light { color: #aab3c4; }
.section-cta { margin-top: 48px; text-align: center; }

/* ---------- Hero ---------- */
.hero { padding: 80px 0 100px; background: linear-gradient(180deg, var(--navy-50) 0%, var(--white) 100%); }
.hero-inner { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; align-items: center; }
.hero-image { max-width: 260px; justify-self: end; }
.hero-claim { margin-bottom: 24px; }
.hero-lead { font-size: 1.15rem; color: var(--ink-muted); max-width: 580px; }
.hero-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  aspect-ratio: 4 / 5;
  width: 100%;
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-image { order: -1; max-width: 360px; }
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; align-items: start; }
.about-text p { font-size: 1.05rem; margin-bottom: 1.2em; }
.about-facts {
  background: var(--navy-50);
  padding: 32px;
  border-left: 3px solid var(--gold);
}
.about-facts dl { margin: 0; }
.about-facts dl > div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.about-facts dl > div:last-child { border-bottom: 0; }
.about-facts dt {
  font-size: .75rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-muted); margin-bottom: 4px;
}
.about-facts dd { margin: 0; font-weight: 500; color: var(--navy); }
.facts-note { margin-top: 20px; font-size: .85rem; color: var(--ink-muted); }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Cards (Leistungen) ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.card {
  background: var(--navy-800);
  padding: 32px 28px;
  border: 1px solid rgba(255,255,255,0.06);
  border-top: 2px solid var(--gold);
  transition: transform .25s, border-top-color .25s;
}
.card:hover { transform: translateY(-4px); }
.card h3 { color: var(--white); margin-bottom: 12px; }
.card p { color: #aab3c4; margin: 0; font-size: .95rem; }

.card-highlight {
  background: linear-gradient(135deg, var(--bordeaux) 0%, #4a1220 100%);
  border-top-color: var(--gold);
  position: relative;
}
.card-badge {
  display: inline-block;
  font-size: .7rem; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--gold); color: var(--navy);
  padding: 4px 10px; margin-bottom: 12px; font-weight: 600;
}

/* ---------- INQA-Block ---------- */
.section-inqa {
  background: linear-gradient(135deg, var(--bordeaux) 0%, #4a1220 100%);
  color: #f1e6d8;
}
.inqa-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 60px;
  align-items: center;
}
.section-inqa .section-title { color: var(--white); margin-top: 16px; }
.section-inqa .section-intro { color: #f1e6d8; margin: 0 0 20px; }
.inqa-funding { font-size: 1.05rem; color: var(--white); margin-bottom: 28px; }
.inqa-funding strong { color: var(--gold); }

.inqa-facts {
  background: rgba(0,0,0,0.2);
  border-left: 3px solid var(--gold);
  padding: 32px;
}
.inqa-facts dl { margin: 0; }
.inqa-facts dl > div { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.inqa-facts dl > div:last-child { border-bottom: 0; }
.inqa-facts dt {
  font-size: .75rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 4px;
}
.inqa-facts dd { margin: 0; font-weight: 500; color: var(--white); }

@media (max-width: 860px) {
  .inqa-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Principles ---------- */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px 32px;
  margin-top: 40px;
}
.principle { position: relative; padding-top: 48px; }
.principle-num {
  position: absolute; top: 0; left: 0;
  font-size: 2.2rem; font-weight: 300;
  color: var(--gold); letter-spacing: -0.02em;
}
.principle h3 { color: var(--navy); margin-bottom: 8px; }
.principle p { color: var(--ink-muted); font-size: .98rem; }

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.testimonial {
  margin: 0;
  padding: 32px;
  background: var(--white);
  border-left: 3px solid var(--gold);
  box-shadow: var(--shadow-sm);
}
.testimonial blockquote { margin: 0 0 20px; padding: 0; }
.testimonial blockquote p { font-style: italic; color: var(--ink); font-size: 1.02rem; }
.testimonial figcaption { font-size: .9rem; color: var(--ink-muted); }
.testimonial figcaption strong { color: var(--navy); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  margin-top: 48px;
}
.contact-primary, .contact-secondary, .contact-mailto {
  padding: 40px;
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.08);
}
.contact-primary h3, .contact-secondary h3, .contact-mailto h3 { color: var(--white); }
.contact-primary p, .contact-secondary p, .contact-mailto p { color: #aab3c4; }
.contact-mailto { grid-column: 1 / -1; text-align: center; }
.contact-mailto p { max-width: 520px; margin: 0 auto 24px; }

.contact-list { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.contact-list li:last-child { border-bottom: 0; }
.contact-label {
  display: block; font-size: .75rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 4px;
}
.contact-list a { color: var(--white); font-size: 1.05rem; }
.contact-list a:hover { border-bottom-color: var(--gold); }

.contact-form-wrapper {
  grid-column: 1 / -1;
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.08);
}
.contact-form-wrapper summary {
  padding: 20px 40px; cursor: pointer; color: var(--white);
  font-weight: 500; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.contact-form-wrapper summary::after {
  content: "+"; font-size: 1.5rem; color: var(--gold);
  transition: transform .2s;
}
.contact-form-wrapper[open] summary::after { content: "−"; }

.contact-form { padding: 0 40px 40px; }
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block; font-size: .85rem; color: #aab3c4;
  margin-bottom: 6px; letter-spacing: 0.04em;
}
.form-row input, .form-row textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--navy); color: var(--white);
  border: 1px solid rgba(255,255,255,0.15);
  font-family: inherit; font-size: 1rem;
  border-radius: var(--radius);
}
.form-row input:focus, .form-row textarea:focus {
  outline: none; border-color: var(--gold);
}
.form-row-checkbox { display: flex; gap: 10px; align-items: flex-start; }
.form-row-checkbox input { width: auto; margin-top: 3px; }
.form-row-checkbox label { margin: 0; font-size: .85rem; color: #aab3c4; }
.form-row-checkbox a { color: var(--gold); }

.placeholder-note {
  margin-top: 12px; font-size: .8rem; color: var(--gold);
  font-style: italic; opacity: .85;
}

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-primary, .contact-secondary,
  .contact-form-wrapper summary, .contact-form { padding: 28px; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #aab3c4;
  padding: 40px 0;
  font-size: .9rem;
}
.footer-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: center; gap: 20px;
}
.footer-brand {
  margin: 0; letter-spacing: 0.18em; font-weight: 500;
  color: var(--white); font-size: .85rem;
}
.footer-nav {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 24px;
}
.footer-nav a { color: #aab3c4; font-size: .9rem; }
.footer-nav a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.footer-copy { margin: 0; font-size: .85rem; }

/* ---------- Legal pages (Impressum/Datenschutz) ---------- */
.legal-page { padding: 80px 0; max-width: 780px; margin: 0 auto; }
.legal-page h1 { margin-bottom: 24px; }
.legal-page h2 { margin-top: 48px; font-size: 1.4rem; }
.legal-page h3 { margin-top: 32px; font-size: 1.1rem; }
.legal-page p, .legal-page li { color: var(--ink-muted); }
.legal-page a { color: var(--navy); border-bottom: 1px solid var(--gold); }
