/* ============================================================
   GermanAccountant.com — v2
   Theme: deep blue / black / white. Bold, highly readable.
   Positioning: business consultation → accounting → tax advisory
   for foreign founders and companies entering Germany.
   ============================================================ */

/* Self-hosted fonts (GDPR-compliant — no requests to Google) */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/archivo-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/archivo-latin-800-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/inter-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/inter-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/inter-latin-700-normal.woff2") format("woff2");
}


:root {
  --blue-900: #0a2a5e;   /* deep navy — primary */
  --blue-700: #0f3d85;
  --blue-500: #1e6fd9;   /* action blue */
  --blue-100: #e8f0fb;   /* pale blue tint */
  --blue-50:  #f4f8fd;
  --black:    #0d1117;
  --gray-700: #3a4351;
  --gray-500: #5f6b7a;
  --white:    #ffffff;
  --line:     rgba(10, 42, 94, 0.14);

  --display: "Archivo", "Inter", -apple-system, sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--body);
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.12;
  margin: 0;
  color: var(--black);
  letter-spacing: -0.015em;
}

strong, b { font-weight: 700; }

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

.eyebrow {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-500);
}

/* ---------------- Header ---------------- */

.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--blue-900);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
}

.brand { display: flex; align-items: center; gap: 13px; }

.brand-mark {
  width: 44px;
  height: 44px;
  background: var(--blue-900);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.02em;
  border-radius: 6px;
  flex-shrink: 0;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text .name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 19px;
  color: var(--black);
}
.brand-text .name span { color: var(--blue-500); }
.brand-text .sub {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.site-nav { display: flex; align-items: center; gap: 34px; }

.site-nav a {
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
  padding: 6px 0;
  border-bottom: 3px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.site-nav a:hover { color: var(--blue-500); }
.site-nav a[aria-current="page"] {
  color: var(--blue-900);
  border-bottom-color: var(--blue-500);
}

.site-nav .nav-cta {
  background: var(--blue-500);
  color: var(--white);
  padding: 11px 20px;
  border-radius: 6px;
  border-bottom: none;
  font-weight: 700;
}
.site-nav .nav-cta:hover { background: var(--blue-700); color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--blue-900);
  border-radius: 6px;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block;
  width: 18px; height: 2.5px;
  background: var(--blue-900);
  position: relative;
  border-radius: 2px;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 86px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 3px solid var(--blue-900);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 32px 28px;
    gap: 18px;
    display: none;
  }
  .site-nav.open { display: flex; }
}

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--display);
  font-size: 15.5px;
  font-weight: 700;
  padding: 15px 28px;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--blue-500); color: var(--white); }
.btn-primary:hover { background: var(--blue-700); }

.btn-dark { background: var(--blue-900); color: var(--white); }
.btn-dark:hover { background: var(--black); }

.btn-outline {
  background: transparent;
  color: var(--blue-900);
  border-color: var(--blue-900);
}
.btn-outline:hover { background: var(--blue-900); color: var(--white); }

.btn-white { background: var(--white); color: var(--blue-900); }
.btn-white:hover { background: var(--blue-100); }

/* ---------------- Hero ---------------- */

.hero {
  background: linear-gradient(160deg, var(--blue-900) 0%, #071f47 70%);
  color: var(--white);
  padding: 88px 0 72px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -160px; top: -160px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30,111,217,0.35), transparent 65%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero .eyebrow { color: #7db4f5; }

.hero h1 {
  font-size: clamp(36px, 4.6vw, 58px);
  color: var(--white);
  margin-top: 18px;
}
.hero h1 span { color: #5ea3f0; }

.hero .lede {
  font-size: 18.5px;
  font-weight: 500;
  color: #c9d9ef;
  max-width: 52ch;
  margin-top: 22px;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

.hero-trust {
  display: flex;
  gap: 34px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.hero-trust div { font-size: 13.5px; font-weight: 600; color: #9db8dd; }
.hero-trust b {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 24px;
  color: var(--white);
  margin-bottom: 2px;
}

/* Hero side panel: process checklist */
.hero-panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 30px 28px;
  backdrop-filter: blur(4px);
}
.hero-panel h3 {
  color: var(--white);
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-panel ol {
  list-style: none;
  margin: 0; padding: 0;
  counter-reset: step;
}
.hero-panel li {
  counter-increment: step;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 14.5px;
  font-weight: 600;
  color: #dbe7f7;
}
.hero-panel li:last-child { border-bottom: none; }
.hero-panel li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--blue-500);
  color: var(--white);
  font-family: var(--display);
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* ---------------- Sections ---------------- */

.section { padding: 84px 0; }
.section-tint { background: var(--blue-50); }
.section-dark {
  background: var(--blue-900);
  color: var(--white);
}
.section-dark h2, .section-dark h3 { color: var(--white); }

.section-header { max-width: 700px; margin-bottom: 48px; }
.section-header h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  margin-top: 14px;
}
.section-header p {
  color: var(--gray-700);
  font-size: 17px;
  font-weight: 500;
  margin-top: 16px;
}
.section-dark .section-header p { color: #bcd0ea; }

/* ---------------- Pillars (3 service areas) ---------------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.pillar {
  background: var(--white);
  border: 2px solid var(--line);
  border-top: 6px solid var(--blue-500);
  border-radius: 10px;
  padding: 34px 30px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(10, 42, 94, 0.12);
  border-top-color: var(--blue-900);
}

.pillar .pillar-icon {
  width: 52px; height: 52px;
  background: var(--blue-100);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.pillar .pillar-icon svg { width: 26px; height: 26px; stroke: var(--blue-900); }

.pillar h3 { font-size: 21px; margin-bottom: 6px; }
.pillar .pillar-tag {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-500);
}
.pillar p { color: var(--gray-700); font-size: 15px; margin: 14px 0 0; }
.pillar ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.pillar li {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--black);
  padding: 8px 0 8px 26px;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.pillar li:last-child { border-bottom: none; }
.pillar li::before {
  content: "";
  position: absolute;
  left: 0; top: 13px;
  width: 15px; height: 15px;
  background: var(--blue-500);
  border-radius: 3px;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }

/* ---------------- Process timeline ---------------- */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: proc;
}

.process-step {
  counter-increment: proc;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 10px;
  padding: 28px 24px;
  position: relative;
}
.process-step::before {
  content: "0" counter(proc);
  font-family: var(--display);
  font-weight: 800;
  font-size: 40px;
  color: var(--blue-100);
  -webkit-text-stroke: 1.5px var(--blue-500);
  line-height: 1;
  display: block;
  margin-bottom: 16px;
}
.process-step h3 { font-size: 17.5px; margin-bottom: 8px; }
.process-step p { font-size: 14px; font-weight: 500; color: var(--gray-700); margin: 0; }

@media (max-width: 980px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .process { grid-template-columns: 1fr; } }

/* ---------------- Audience cards ---------------- */

.audience {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.audience-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  padding: 30px 26px;
}
.audience-card h3 { font-size: 18.5px; margin-bottom: 10px; }
.audience-card p { font-size: 14.5px; font-weight: 500; color: #bcd0ea; margin: 0; }

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

/* ---------------- FAQ ---------------- */

.faq-list { max-width: 820px; }
.faq-item {
  border: 2px solid var(--line);
  border-radius: 8px;
  margin-bottom: 14px;
  background: var(--white);
  overflow: hidden;
}
.faq-item summary {
  font-family: var(--display);
  font-weight: 700;
  font-size: 16.5px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 700;
  color: var(--blue-500);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item[open] summary { color: var(--blue-900); }
.faq-item .faq-body {
  padding: 0 24px 22px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-700);
}

/* ---------------- Ledger rows (services page) ---------------- */

.svc-block { margin-bottom: 56px; }
.svc-block-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 3px solid var(--blue-900);
  margin-bottom: 8px;
}
.svc-block-header .num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 15px;
  background: var(--blue-900);
  color: var(--white);
  padding: 6px 13px;
  border-radius: 6px;
}
.svc-block-header h2 { font-size: clamp(22px, 2.6vw, 30px); }

.svc-row {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 30px;
  padding: 26px 0;
  border-bottom: 2px solid var(--line);
}
.svc-row h3 { font-size: 19px; }
.svc-row .svc-sub {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-500);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 6px;
  display: block;
}
.svc-row p { color: var(--gray-700); font-size: 15px; font-weight: 500; margin: 0 0 10px; }
.svc-row ul { margin: 0; padding-left: 20px; color: var(--black); font-size: 14.5px; font-weight: 600; }
.svc-row li { margin-bottom: 6px; }

@media (max-width: 760px) { .svc-row { grid-template-columns: 1fr; gap: 12px; } }

/* ---------------- Disclaimer ---------------- */

.disclaimer-box {
  background: var(--blue-50);
  border: 2px solid var(--blue-900);
  border-left: 8px solid var(--blue-900);
  border-radius: 8px;
  padding: 28px 30px;
}
.disclaimer-box h3 {
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-900);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.disclaimer-box p {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--gray-700);
  margin: 0 0 10px;
}
.disclaimer-box p:last-child { margin-bottom: 0; }
.disclaimer-box strong { color: var(--black); }

/* ---------------- About ---------------- */

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.35fr;
  gap: 56px;
  align-items: start;
}

.credential-block {
  background: var(--blue-900);
  color: var(--white);
  border-radius: 10px;
  padding: 30px 28px;
}
.credential-block h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7db4f5;
  margin-bottom: 18px;
}
.credential-list { list-style: none; margin: 0; padding: 0; }
.credential-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 14px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.credential-list li:last-child { border-bottom: none; }
.credential-list li span:first-child { color: #9db8dd; font-weight: 500; }
.credential-list li span:last-child { font-weight: 700; text-align: right; }

.about-copy p { margin: 0 0 20px; font-weight: 500; color: var(--gray-700); }
.about-copy p.lede { font-size: 19px; font-weight: 600; color: var(--black); }

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

/* ---------------- Contact ---------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
}

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blue-900);
  margin-bottom: 8px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

input, select, textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 15.5px;
  font-weight: 500;
  color: var(--black);
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 6px;
  padding: 13px 15px;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(30, 111, 217, 0.18);
}
textarea { resize: vertical; min-height: 130px; }

.form-note { font-size: 13px; font-weight: 500; color: var(--gray-500); margin-top: 14px; }

.contact-side .info-card {
  background: var(--blue-50);
  border: 2px solid var(--line);
  border-radius: 10px;
  padding: 28px;
  margin-bottom: 22px;
}
.contact-side .info-card h4 {
  font-size: 17px;
  margin-bottom: 16px;
  color: var(--blue-900);
}
.contact-side .row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.contact-side .row:last-child { border-bottom: none; }
.contact-side .row span:first-child { color: var(--gray-500); font-weight: 500; }
.contact-side .row span:last-child { font-weight: 700; text-align: right; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---------------- CTA band ---------------- */

.cta-band {
  background: linear-gradient(120deg, var(--blue-900), var(--blue-700));
  color: var(--white);
  border-radius: 14px;
  padding: 52px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); font-size: clamp(24px, 3vw, 34px); }
.cta-band p { color: #bcd0ea; font-weight: 500; margin: 10px 0 0; max-width: 52ch; }

/* ---------------- Page hero (inner pages) ---------------- */

.page-hero {
  background: var(--blue-900);
  color: var(--white);
  padding: 64px 0 52px;
}
.page-hero .eyebrow { color: #7db4f5; }
.page-hero h1 {
  color: var(--white);
  font-size: clamp(32px, 4.2vw, 48px);
  margin-top: 14px;
}
.page-hero p {
  color: #c9d9ef;
  max-width: 58ch;
  margin-top: 18px;
  font-size: 17px;
  font-weight: 500;
}

/* ---------------- Footer ---------------- */

.site-footer {
  background: var(--black);
  color: #b9c2ce;
  padding: 56px 0 34px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 44px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.site-footer .brand-text .name { color: var(--white); }
.site-footer h4 {
  color: var(--white);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.site-footer a:hover { color: var(--white); }
.footer-links-col { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; font-weight: 500; }

.footer-disclaimer {
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.6;
  color: #8792a0;
}
.footer-disclaimer strong { color: #c8d0da; }

.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #717d8c;
}

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

/* ---------------- Focus & motion ---------------- */

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
