/* bizz-design.de – Stylesheet (mobil zuerst, keine externen Ressourcen) */

@font-face {
  font-family: "Source Sans Pro";
  src: url("../fonts/source-sans-pro-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans Pro";
  src: url("../fonts/source-sans-pro-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans Pro";
  src: url("../fonts/source-sans-pro-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --petrol: #17646e;
  --petrol-dark: #0f4650;
  --petrol-light: #e7f0f0;
  --text: #333333;
  --text-muted: #767676;
  --bg: #fafafa;
  --white: #ffffff;
  --gold: #c9972e;
  --gold-hover: #b78624;
  --on-gold: #1c1c1c;
  --line: #d9e3e4;
  --radius: 10px;
  --gutter: 1.25rem;
  --max: 68.75rem;
  --measure: 42rem;
  --bz-petrol: #17646e;
  --bz-white: #ffffff;
  --bz-gold: #c9972e;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans Pro", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1 0 auto; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--petrol); text-underline-offset: 0.18em; }
a:hover { color: var(--petrol-dark); }

:focus-visible {
  outline: 3px solid var(--petrol);
  outline-offset: 3px;
  border-radius: 3px;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--petrol-dark);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- Typografie ---------- */
h1, h2, h3 {
  color: var(--petrol-dark);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 6vw, 3rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 4vw, 2.0625rem); }
h3 { font-size: 1.3125rem; font-weight: 600; }
p { margin: 0 0 1.1em; }
.measure { max-width: var(--measure); }
.lead { font-size: 1.25rem; line-height: 1.6; }
.muted { color: var(--text-muted); }

/* ---------- Header / Navigation ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.25rem;
}
.wordmark {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--petrol);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.wordmark:hover { color: var(--petrol-dark); }

.nav-toggle {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.65rem;
  cursor: pointer;
  border-radius: 6px;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--petrol-dark);
  border-radius: 2px;
}
.nav-toggle:focus-visible + .burger {
  outline: 3px solid var(--petrol);
  outline-offset: 2px;
}

.nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 20px rgba(15, 70, 80, 0.08);
}
.nav-toggle:checked ~ .nav { display: block; }

.nav ul { list-style: none; margin: 0; padding: 0; }
.nav a {
  display: block;
  padding: 0.8rem var(--gutter);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  border-top: 1px solid var(--petrol-light);
}
.nav a:hover { background: var(--petrol-light); color: var(--petrol-dark); }
.nav a[aria-current="page"] { color: var(--petrol); box-shadow: inset 4px 0 0 var(--gold); }
.nav .sub a {
  font-weight: 400;
  padding-left: calc(var(--gutter) + 1.25rem);
  background: #f6fafa;
}

@media (min-width: 56rem) {
  :root { --gutter: 2rem; }
  .burger { display: none; }
  .nav {
    display: block;
    position: static;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .nav > ul { display: flex; align-items: center; gap: 0.25rem; }
  .nav > ul > li { position: relative; }
  .nav a {
    border: 0;
    padding: 0.55rem 0.9rem;
    border-radius: 6px;
  }
  .nav a[aria-current="page"] {
    box-shadow: inset 0 -3px 0 var(--gold);
    border-radius: 6px 6px 0 0;
  }
  .nav .sub {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 17rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 12px 24px rgba(15, 70, 80, 0.12);
    padding: 0.4rem;
  }
  .nav .sub a { padding: 0.6rem 0.9rem; background: transparent; }
  .nav li:hover > .sub,
  .nav li:focus-within > .sub { display: block; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--on-gold);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  border-radius: 8px;
  border: 2px solid var(--gold);
  transition: background-color 0.15s ease;
}
.btn:hover { background: var(--gold-hover); border-color: var(--gold-hover); color: var(--on-gold); }
.btn-outline {
  background: transparent;
  color: var(--petrol-dark);
  border-color: var(--petrol);
}
.btn-outline:hover { background: var(--petrol-light); border-color: var(--petrol); color: var(--petrol-dark); }

.text-link { font-weight: 600; }
.text-link::after { content: " \2192"; }

/* ---------- Hero (Startseite) ---------- */
.hero { background: var(--white); border-bottom: 1px solid var(--line); }
.hero-photo { margin: 0; }
.hero-photo img {
  width: 100%;
  height: 20rem;
  object-fit: cover;
  object-position: 50% 18%;
}
.hero-text { padding-block: 2rem 2.5rem; }

@media (min-width: 56rem) {
  .hero .container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
  }
  .hero-photo { order: 2; }
  .hero-photo img {
    height: auto;
    max-height: 34rem;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius);
    margin-block: 2.5rem;
    object-position: 50% 20%;
  }
  .hero-text { order: 1; padding-block: 3.5rem; }
}
@media (max-width: 55.99rem) {
  .hero-photo img { border-radius: 0; }
}

/* ---------- Lebenszyklus-Grafik ---------- */
.lifecycle { margin: 1.5rem auto 0; }
.lifecycle svg { display: block; width: 100%; height: auto; margin-inline: auto; }
.lifecycle .lz-mobil { max-width: 26rem; }
.lifecycle .lz-desktop { display: none; max-width: 62.5rem; }
@media (min-width: 40rem) {
  .lifecycle .lz-mobil { display: none; }
  .lifecycle .lz-desktop { display: block; }
}
.lifecycle a { cursor: pointer; }
.lifecycle a:hover .bz-node { fill: var(--petrol-dark); }
.lifecycle a:hover .bz-hub { stroke: var(--gold-hover); }

.legend {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2rem;
}
.legend a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.3rem 0.2rem;
}
.legend a:hover { text-decoration: underline; }
.legend .icon { width: 1.75rem; height: 1.75rem; flex: none; }

/* Icons (eigene Icon-Familie, Strichstärke 2 im 48er-Raster) */
.icon { fill: none; }
.bz-ico { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bz-p { stroke: var(--bz-petrol); }
.bz-w { stroke: var(--bz-white); }

/* ---------- Sektionen ---------- */
.section { padding-block: 3rem; }
.section.alt { background: var(--white); border-block: 1px solid var(--line); }
.page-head { background: var(--white); border-bottom: 1px solid var(--line); padding-block: 2.5rem; }
.page-head h1 { margin-bottom: 0.3em; }

.field { margin-bottom: 1.75rem; }
.field h3 { margin-bottom: 0.3em; }
.field p:last-child { margin-bottom: 0; }

.cta-box {
  background: var(--petrol-light);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.cta-box h2 { margin-bottom: 0.4em; }

/* ---------- Karten (Leistungen, Zusammenarbeit) ---------- */
.cards { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.card h2, .card h3 { margin-bottom: 0.4em; }
.card-icon { width: 2.75rem; height: 2.75rem; margin-bottom: 0.7rem; fill: none; }
@media (min-width: 56rem) {
  .cards.three { grid-template-columns: repeat(3, 1fr); }
}

.example {
  border-left: 4px solid var(--gold);
  padding-left: 1rem;
  color: var(--text);
  margin-top: 1rem;
}

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; gap: 2rem; }
.contact-photo img { border-radius: var(--radius); width: 100%; }
.contact-list { list-style: none; padding: 0; margin: 1.25rem 0 1.5rem; }
.contact-list li { margin-bottom: 0.6rem; font-size: 1.25rem; }
@media (min-width: 56rem) {
  .contact-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 3.5rem; }
}

/* ---------- Rechtstexte ---------- */
.legal h2 { font-size: 1.4rem; margin-top: 2rem; }
.legal h3 { font-size: 1.15rem; margin-top: 1.5rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--petrol-dark);
  color: #e7f0f0;
  padding-block: 1.75rem;
  margin-top: auto;
  font-size: 1rem;
}
.footer-inner { display: flex; flex-direction: column; gap: 0.6rem; }
.site-footer a { color: #ffffff; }
.site-footer a:hover { color: var(--petrol-light); }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.25rem; }
@media (min-width: 40rem) {
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: center; }
}

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

/* ---------- Felder mit Icon ---------- */
.fields { display: grid; gap: 2rem; margin-top: 1.5rem; }
.field-row { display: flex; gap: 1.1rem; align-items: flex-start; }
.field-row .icon { width: 2.75rem; height: 2.75rem; flex: none; margin-top: 0.15rem; }
.field-row h3 { margin-bottom: 0.1em; }
.keyword { color: var(--text-muted); font-weight: 600; margin-bottom: 0.6em; }
.field-row p:last-child { margin-bottom: 0; }
@media (min-width: 56rem) {
  .fields { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .field-row { flex-direction: column; gap: 0.9rem; }
  .field-row .icon { width: 3.25rem; height: 3.25rem; }
}

/* ---------- Vertrauenszeile, Kontakt-Buttons, Hilfsklassen ---------- */
.proof {
  color: var(--petrol-dark);
  font-weight: 600;
  font-size: 1rem;
  border-left: 4px solid var(--gold);
  padding-left: 0.9rem;
  margin-block: 1.5rem;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.25rem 0 0; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Unterseiten ---------- */
.page-head .icon { width: 3.25rem; height: 3.25rem; margin-bottom: 0.75rem; }
.du { font-style: italic; color: var(--petrol); font-weight: 600; margin-top: 1.25rem; }
.legal address { font-style: normal; margin-bottom: 1.1em; }
.legal ul { padding-left: 1.2rem; }
.noscript-hinweis { color: var(--text-muted); font-size: 1rem; }
.more-fields { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.lifecycle a:hover text { text-decoration: underline; }
