/* =========================================================
   BusinessFlow – Startseite
   Aufbau in drei ruhigen Farbflächen statt vieler Wechsel:
   Dunkel (Einstieg + Leistungen) → Hell (Kundenstimmen + Über mich) → Dunkel (Kontakt + Footer)
   Kein reines Weiß als Fläche – das helle Band ist ein sanftes Blaugrau.
   ========================================================= */

:root {
  /* Dunkelblau in drei Tonstufen */
  --navy-900: #0f2438;   /* Footer */
  --navy-800: #142d46;   /* Grundfläche */
  --navy-700: #1b3a58;   /* Karten auf Dunkel */
  --navy-line: rgba(185, 217, 235, .16);

  /* Hellblau */
  --sky: #b9d9eb;        /* Akzent */
  --sky-soft: #d6e8f2;

  /* Helles Band */
  --mist: #e8eff4;       /* Fläche */
  --paper: #f5f8fa;      /* Karten auf Hell */
  --mist-line: #d3dfe7;

  /* Text */
  --text-on-dark: #ffffff;
  --muted-on-dark: #c3d3e0;
  --text-on-light: #142d46;
  --muted-on-light: #4d6275;

  --max: 1120px;
  --radius: 6px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; background: var(--navy-900); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-on-light);
  background: var(--navy-800);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 650; letter-spacing: -.025em; line-height: 1.15; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }

.container { width: min(100% - 48px, var(--max)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -100px; z-index: 100; padding: 10px 16px; background: var(--paper); color: var(--navy-800); }
.skip-link:focus { top: 12px; }

/* ---------- Farbflächen ---------- */
.band-dark  { background: var(--navy-800); color: var(--text-on-dark); }
.band-light { background: var(--mist); color: var(--text-on-light); }

/* ---------- Typografie, einheitlich für alle Bereiche ---------- */
.kicker, .eyebrow {
  margin-bottom: 16px;
  font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
}
.band-dark .kicker, .eyebrow { color: var(--sky); }
.band-light .kicker { color: #4a7898; }

.section { padding-block: clamp(80px, 10vw, 128px); }
.section-head { margin-bottom: clamp(40px, 5vw, 56px); }
.section h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); max-width: 720px; }

/* ---------- Buttons & Links ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 14px 30px;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  color: var(--navy-800); background: var(--sky);
  border-radius: var(--radius);
  transition: background-color .2s;
}
.button:hover { background: var(--sky-soft); }

.arrow-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; text-decoration: none;
}
.arrow-link span { transition: transform .2s; }
.arrow-link:hover span { transform: translateX(4px); }
.band-dark .arrow-link { color: var(--sky); }
.band-light .arrow-link { color: var(--navy-800); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy-800); color: var(--text-on-dark);
  border-bottom: 1px solid var(--navy-line);
}
.header-inner { min-height: 96px; padding-block: 12px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; line-height: 0; }
.brand img { height: 68px; width: auto; }

.main-nav { display: flex; align-items: center; gap: clamp(20px, 2.8vw, 40px); }
.main-nav a { font-size: .94rem; text-decoration: none; color: var(--muted-on-dark); transition: color .2s; }
.main-nav a:hover { color: var(--text-on-dark); }
.main-nav .nav-cta {
  padding: 9px 20px; color: var(--text-on-dark);
  border: 1px solid rgba(185, 217, 235, .5); border-radius: var(--radius);
  transition: background-color .2s, color .2s, border-color .2s;
}
.main-nav .nav-cta:hover { background: var(--sky); border-color: var(--sky); color: var(--navy-800); }
.nav-toggle { display: none; }

/* ---------- 01 Einstieg ---------- */
.hero { border-bottom: 1px solid var(--navy-line); }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(40px, 6vw, 88px); align-items: end;
}
.hero-copy { padding-block: clamp(72px, 9vw, 128px); align-self: center; }
.hero h1 { font-size: clamp(2.7rem, 5.6vw, 4.6rem); margin-bottom: 32px; }
.hero h1 em { font-style: normal; color: var(--sky); }
.hero-question {
  max-width: 540px; margin-bottom: 18px;
  font-size: clamp(1.18rem, 1.7vw, 1.4rem); font-weight: 500; line-height: 1.45;
}
.hero-text { max-width: 540px; margin-bottom: 40px; color: var(--muted-on-dark); }

/* Foto steht auf der Linie unter dem Einstieg – wirkt eingebettet statt aufgeklebt */
.hero-photo { align-self: end; padding-top: 48px; }
.hero-photo img {
  width: 100%; max-height: 600px; aspect-ratio: 4 / 5;
  object-fit: cover; object-position: center 30%;
  border-radius: var(--radius) var(--radius) 0 0;
}

/* ---------- 02 Zielgruppen ---------- */
.audience-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.audience-card {
  display: flex; flex-direction: column;
  padding: clamp(32px, 4vw, 48px);
  background: var(--navy-700);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius);
  transition: border-color .2s;
}
.audience-card:hover { border-color: rgba(185, 217, 235, .4); }
.audience-card h3 { font-size: clamp(1.45rem, 2.1vw, 1.75rem); margin-bottom: 14px; }
.audience-card p { color: var(--muted-on-dark); max-width: 420px; margin-bottom: 36px; }
.audience-card .arrow-link { margin-top: auto; }

/* ---------- 03 Kundenstimmen ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testimonial {
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: 36px 32px;
  background: var(--paper);
  border-radius: var(--radius);
}
.testimonial blockquote { margin: 0; }
.testimonial blockquote p { font-size: 1.12rem; line-height: 1.65; color: var(--text-on-light); }
.testimonial figcaption {
  display: flex; flex-direction: column;
  padding-top: 18px; border-top: 1px solid var(--mist-line);
  font-size: .9rem; line-height: 1.4;
}
.testimonial figcaption span { color: var(--muted-on-light); }

/* Solange es nur eine Kundenstimme gibt: breit und etwas größer */
.testimonial:only-child { grid-column: 1 / -1; max-width: 860px; padding: clamp(36px, 5vw, 56px); }
.testimonial:only-child blockquote p { font-size: clamp(1.2rem, 1.9vw, 1.45rem); line-height: 1.55; }

/* ---------- 04 Über mich ---------- */
.about { padding-top: 0; }
.about-grid {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 7vw, 96px);
  padding-top: clamp(64px, 8vw, 96px);
  border-top: 1px solid var(--mist-line);
}
.about-photo { margin-top: 32px; width: 100%; max-width: 320px; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.about-lead { font-size: clamp(1.2rem, 1.8vw, 1.4rem); line-height: 1.5; margin-bottom: 18px; }
.about-copy p:not(.about-lead) { color: var(--muted-on-light); margin-bottom: 16px; max-width: 560px; }
.about-copy .arrow-link { margin-top: 16px; }

/* ---------- 05 Kontakt ---------- */
.contact-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; }
.contact h2 { margin-bottom: 16px; }
.contact p:not(.kicker) { color: var(--muted-on-dark); max-width: 520px; }
.contact .button { flex-shrink: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-800); color: #93a9bd;
  border-top: 1px solid var(--navy-line);
  padding-block: 28px; font-size: .88rem;
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 28px; }
.footer-links a { text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--text-on-dark); }


/* =========================================================
   Unterseiten (Handwerksbetriebe, Steuerkanzleien)
   ========================================================= */
.main-nav a[aria-current="page"] { color: var(--text-on-dark); }

.page-hero { padding-block: clamp(72px, 9vw, 120px); border-bottom: 1px solid var(--navy-line); }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); max-width: 900px; margin-bottom: 28px; }
.page-intro { max-width: 680px; margin-bottom: 40px; color: var(--muted-on-dark); font-size: clamp(1.05rem, 1.4vw, 1.18rem); }

.service-group + .service-group { margin-top: clamp(72px, 9vw, 112px); padding-top: clamp(64px, 8vw, 96px); border-top: 1px solid var(--mist-line); }
.group-head { max-width: 680px; margin-bottom: clamp(32px, 4vw, 44px); }
.group-head h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); margin-bottom: 12px; }
.group-head p:not(.kicker) { color: var(--muted-on-light); }

.service-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.service-card {
  display: flex; flex-direction: column;
  padding: clamp(28px, 3.4vw, 40px);
  background: var(--paper); border-radius: var(--radius);
}
.service-card h3 { font-size: 1.3rem; margin-bottom: 10px; color: var(--text-on-light); }
.service-lead { color: var(--muted-on-light); margin-bottom: 22px; }
.bullets { margin: 0; padding: 20px 0 0; list-style: none; border-top: 1px solid var(--mist-line); display: grid; gap: 10px; }
.bullets li { position: relative; padding-left: 20px; font-size: .98rem; line-height: 1.55; }
.bullets li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 2px; background: #4a7898; }
.service-meta { margin-top: auto; padding-top: 22px; font-size: .88rem; font-weight: 600; color: #4a7898; }
.group-note { margin-top: 20px; font-size: .9rem; color: var(--muted-on-light); }

.boundary {
  margin-top: clamp(56px, 7vw, 80px); padding: 24px 28px; max-width: 820px;
  border-left: 2px solid #4a7898; background: var(--paper); border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-on-light);
}

.start { padding-top: 0; }
.start-inner { padding-top: clamp(64px, 8vw, 96px); border-top: 1px solid var(--mist-line); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.steps li { padding-top: 20px; border-top: 2px solid var(--navy-800); }
.step-no { display: block; margin-bottom: 14px; font-size: .85rem; font-weight: 700; letter-spacing: .1em; color: #4a7898; }
.steps h3 { font-size: 1.2rem; margin-bottom: 10px; }
.steps p { color: var(--muted-on-light); }

@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 520px) {
  .service-cards { grid-template-columns: 1fr; }
  .page-hero .button { width: 100%; }
}


/* Kontakt: direkte Daten unter dem Button */
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; flex-shrink: 0; }
.contact-direct { font-size: .92rem; line-height: 1.7; color: var(--muted-on-dark); }
.contact-direct a { text-decoration: none; }
.contact-direct a:hover { color: var(--text-on-dark); }

/* Rechtliche Seiten */
.page-hero-sm { padding-block: clamp(56px, 7vw, 88px); }
.page-hero-sm h1 { margin-bottom: 0; }
.legal > * { max-width: 760px; }
.legal h2 { font-size: 1.25rem; margin: 40px 0 12px; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal ul { margin: 0 0 14px; color: var(--text-on-light); }
.legal ul { padding-left: 20px; }
.legal a { color: #2f5f82; }


/* Über mich */
.about-h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem) !important; }
.facts { border-top: 1px solid var(--navy-line); }
.fact-row { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.fact-row > div { padding: 36px 28px 40px 0; }
.fact-row > div + div { padding-left: 28px; border-left: 1px solid var(--navy-line); }
.fact-row dt { font-size: 1.25rem; font-weight: 650; letter-spacing: -.01em; line-height: 1.25; margin-bottom: 8px; text-wrap: balance; }
.fact-row dd { margin: 0; font-size: .94rem; color: var(--muted-on-dark); }
.personal-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(32px, 7vw, 96px); align-items: center; }
.personal-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.personal-grid h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); margin-bottom: 20px; }
.start .boundary { margin-top: clamp(40px, 5vw, 56px); }
.why-grid { border-top: 0; padding-top: 0; }
@media (max-width: 820px) {
  .fact-row { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
  .fact-row dt { font-size: 1.05rem; }
  .fact-row dt br { display: none; }
  .fact-row dd { font-size: .88rem; }
  .fact-row > div, .fact-row > div + div { padding: 24px 16px 24px 0; border-left: 0; }
  .personal-grid { grid-template-columns: 1fr; }
  .personal-photo { max-width: 360px; }
}

/* ---------- Responsive ---------- */

@media (max-width: 820px) {
  .nav-toggle {
    display: grid; place-items: center;
    width: 44px; height: 44px; padding: 0;
    background: none; border: 1px solid var(--navy-line); border-radius: var(--radius); cursor: pointer;
  }
  .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
    display: block; position: relative; width: 18px; height: 2px; background: #fff; transition: transform .2s, background-color .2s;
  }
  .nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bar::before { top: -6px; }
  .nav-toggle-bar::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 24px 24px; background: var(--navy-800); border-bottom: 1px solid var(--navy-line);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--navy-line); }
  .main-nav .nav-cta { margin-top: 16px; text-align: center; }

  .hero-grid, .audience-grid, .about-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 0; }
  .hero-photo { max-width: 420px; padding-top: 0; }
  .contact-inner { flex-direction: column; align-items: flex-start; }
  .contact-actions { width: 100%; }
}

@media (max-width: 520px) {
  .brand img { height: 54px; }
  .container { width: min(100% - 40px, var(--max)); }
  .hero .button, .contact .button { width: 100%; }
  .contact-actions .button { width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
