/* AgentHub Handwerk – keine externen Schriften (Datenschutz, Ladezeit) */
:root {
  --navy: #12263a;
  --navy-2: #1b3550;
  --orange: #f08a24;
  --orange-dunkel: #a65306;
  --text: #1d2733;
  --text-2: #4a5866;
  --linie: #dfe5eb;
  --hell: #f5f7f9;
  --weiss: #fff;
  --gruen: #1f8a5b;
  --rot: #c0392b;
  --radius: 14px;
  --schatten: 0 1px 2px rgba(18, 38, 58, .06), 0 8px 24px rgba(18, 38, 58, .08);
  --schrift: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--schrift); color: var(--text); line-height: 1.6; font-size: 17px; background: var(--weiss); }
img, svg { display: block; max-width: 100%; }
a { color: var(--navy-2); }
h1, h2, h3 { line-height: 1.2; color: var(--navy); margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.05rem); font-weight: 800; text-wrap: balance; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1140px, 100% - 40px); margin-inline: auto; }
.schmal { width: min(820px, 100% - 40px); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--weiss); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--linie); }
.kopf-innen { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.marke { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-size: 1.1rem; font-weight: 600; }
.marke strong { color: var(--orange-dunkel); font-weight: 800; }
.marke-zeichen { width: 32px; height: 32px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.knopf) { color: var(--text-2); text-decoration: none; font-weight: 550; font-size: .97rem; }
.nav a:not(.knopf):hover { color: var(--navy); }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--orange); color: #1a1a1a; font-weight: 700; text-decoration: none; padding: 14px 24px; border-radius: 10px; border: 0; font-size: 1rem; cursor: pointer; transition: background .15s, transform .15s; font-family: inherit; }
.knopf:hover { background: #f59a3e; transform: translateY(-1px); }
.knopf-klein { padding: 10px 16px; font-size: .93rem; white-space: nowrap; }
.knopf-voll { width: 100%; padding: 16px; font-size: 1.05rem; }
.knopf[disabled] { opacity: .6; cursor: wait; transform: none; }
.nur-schmal { display: none; }
.link-pfeil { font-weight: 650; color: var(--navy); text-decoration: none; }
.link-pfeil::after { content: " →"; }
.kicker { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 750; color: var(--orange-dunkel); margin-bottom: .7em; }

/* Hero */
.hero { padding: 72px 0 80px; background: linear-gradient(180deg, #fff 0%, var(--hell) 100%); }
.hero-raster { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.lead { font-size: 1.2rem; color: var(--text-2); max-width: 36em; }
.hero-aktion { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin: 28px 0 26px; }
.haken-liste { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.haken-liste li { position: relative; padding-left: 30px; }
.haken-liste li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--gruen) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='%23fff'/%3E%3C/svg%3E") center/13px no-repeat; }
.spalten { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* Beispielbericht */
.bericht { margin: 0; background: var(--weiss); border-radius: var(--radius); box-shadow: 0 20px 50px rgba(18, 38, 58, .16); border: 1px solid var(--linie); overflow: hidden; }
.bericht-kopf { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--navy); }
.punkt { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .3); }
.bericht-titel { margin-left: 10px; color: #fff; font-size: .85rem; font-weight: 600; opacity: .9; }
.bericht-inhalt { padding: 20px 22px 8px; }
.bericht-betrieb { font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.befunde { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.befunde li { display: grid; grid-template-columns: 70px 1fr; gap: 12px; align-items: start; padding: 10px 12px; border: 1px solid var(--linie); border-radius: 10px; }
.befunde strong { display: block; font-size: .93rem; color: var(--text); line-height: 1.35; }
.befunde small { color: var(--text-2); font-size: .82rem; }
.marke-hoch, .marke-mittel, .marke-niedrig { font-size: .72rem; font-weight: 750; text-align: center; padding: 3px 0; border-radius: 6px; text-transform: uppercase; letter-spacing: .04em; }
.marke-hoch { background: #fde8e6; color: var(--rot); }
.marke-mittel { background: #fff1e0; color: var(--orange-dunkel); }
.marke-niedrig { background: #e8f4ee; color: #17704a; }
.bericht-fuss { font-size: .85rem; color: var(--text-2); margin: 14px 0 10px; }
.bericht figcaption { font-size: .78rem; color: var(--text-2); padding: 10px 22px 14px; border-top: 1px solid var(--linie); background: var(--hell); }

/* Abschnitte */
.abschnitt { padding: 88px 0; }
.hell { background: var(--hell); }
.dunkel { background: var(--navy); color: #d7e0ea; }
.dunkel h2, .dunkel h3 { color: #fff; }
.dunkel .kicker { color: var(--orange); }
.abschnitt-kopf { max-width: 760px; margin-bottom: 44px; }
.abschnitt-kopf p:not(.kicker) { color: var(--text-2); font-size: 1.08rem; }
.karten { display: grid; gap: 22px; }
.drei { grid-template-columns: repeat(3, 1fr); }
.zwei { grid-template-columns: repeat(2, 1fr); }
.karte { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 28px; box-shadow: var(--schatten); }
.karte p { color: var(--text-2); margin: 0; }
.leistung svg { width: 40px; height: 40px; padding: 8px; border-radius: 10px; background: #fff1e0; fill: var(--orange-dunkel); margin-bottom: 16px; }
.grundsatz { border-top: 4px solid var(--orange); }
.zusatz { margin-top: 40px; padding: 28px; border-radius: var(--radius); background: var(--hell); }

/* Schritte */
.schritte { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: s; }
.schritte li { background: var(--navy-2); border-radius: var(--radius); padding: 24px 20px; border: 1px solid rgba(255, 255, 255, .08); }
.schritte p { font-size: .95rem; margin: 0; }
.nr { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--orange); color: #1a1a1a; font-weight: 800; margin-bottom: 14px; }

/* Für wen */
.fuer-wen { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.fuer-wen p:not(.kicker) { color: var(--text-2); }
.gewerke { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.gewerke li { background: var(--weiss); border: 1px solid var(--linie); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: .95rem; color: var(--navy); }

/* Über */
.ueber { display: grid; grid-template-columns: 200px 1fr; gap: 48px; align-items: center; max-width: 920px; }
.ueber-bild { width: 200px; height: 200px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--navy-2)); display: grid; place-items: center; box-shadow: var(--schatten); }
.ueber-bild span { color: var(--orange); font-size: 3.4rem; font-weight: 800; letter-spacing: .02em; }
.ueber p:not(.kicker) { color: var(--text-2); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--weiss); border: 1px solid var(--linie); border-radius: 12px; padding: 0 22px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 18px 0; list-style: none; position: relative; padding-right: 30px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.5rem; color: var(--orange-dunkel); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--text-2); padding-bottom: 18px; margin: 0; }

/* Kontakt */
.kontakt { background: linear-gradient(180deg, var(--weiss), var(--hell)); }
.kontakt-raster { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.kontakt-text p:not(.kicker) { color: var(--text-2); }
.kontakt-mail { margin-top: 28px; }
.kontakt-mail a { font-weight: 700; font-size: 1.08rem; }
.formular { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 32px; box-shadow: 0 20px 50px rgba(18, 38, 58, .1); }
.feld-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feld { margin-bottom: 14px; }
.feld label { display: block; font-weight: 650; font-size: .93rem; margin-bottom: 6px; color: var(--navy); }
.optional { font-weight: 400; color: var(--text-2); }
.feld input, .feld select, .feld textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid #c9d3dc; border-radius: 9px; background: var(--weiss); color: var(--text); transition: border-color .15s, box-shadow .15s; }
.feld input:focus, .feld select:focus, .feld textarea:focus { border-color: var(--navy-2); box-shadow: 0 0 0 3px rgba(27, 53, 80, .12); outline: none; }
.feld [aria-invalid="true"] { border-color: var(--rot); }
.feld textarea { resize: vertical; min-height: 110px; }
.feld-check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; margin: 8px 0 4px; }
.feld-check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--navy); }
.feld-check label { font-weight: 400; color: var(--text-2); font-size: .9rem; }
.fehler { color: var(--rot); font-size: .85rem; margin: 4px 0 0; min-height: 0; }
.fehler:empty { display: none; }
.honig { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.formular-hinweis { font-size: .82rem; color: var(--text-2); text-align: center; margin: 12px 0 0; }
.formular-status:empty { display: none; }
.formular-status { margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-weight: 600; }
.formular-status.ok { background: #e8f4ee; color: var(--gruen); }
.formular-status.fehlgeschlagen { background: #fde8e6; color: var(--rot); }
.formular.gesendet .feld, .formular.gesendet .feld-reihe, .formular.gesendet button, .formular.gesendet .formular-hinweis { display: none; }

/* Fuß */
.fuss { background: var(--navy); color: #b9c6d3; padding: 40px 0; font-size: .95rem; }
.fuss-innen { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.fuss p { margin: 6px 0 0; }
.fuss nav { display: flex; gap: 22px; flex-wrap: wrap; }
.fuss a { color: #e3eaf1; text-decoration: none; }
.fuss a:hover { text-decoration: underline; }
.marke-hell { color: #fff; }
.marke-hell strong { color: var(--orange); }

/* Rechtsseiten */
.schlicht { width: min(820px, 100% - 40px); margin: 0 auto; padding: 56px 0 80px; }
.schlicht h1 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
.schlicht h2 { font-size: 1.3rem; margin-top: 1.8em; }
.schlicht p, .schlicht li { color: var(--text-2); }
.zurueck { display: inline-block; margin-bottom: 24px; font-weight: 600; text-decoration: none; }

/* Responsiv */
@media (max-width: 1000px) {
  .schritte { grid-template-columns: repeat(2, 1fr); }
  .drei { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav a:not(.knopf) { display: none; }
  .hero { padding: 48px 0 56px; }
  .hero-raster, .kontakt-raster, .fuer-wen { grid-template-columns: 1fr; gap: 40px; }
  .zwei { grid-template-columns: 1fr; }
  .abschnitt { padding: 64px 0; }
  .ueber { grid-template-columns: 1fr; gap: 24px; }
  .ueber-bild { width: 120px; height: 120px; }
  .ueber-bild span { font-size: 2rem; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .drei, .schritte, .feld-reihe { grid-template-columns: 1fr; }
  .formular { padding: 22px; }
  .knopf-klein { padding: 9px 14px; font-size: .9rem; }
  .nur-breit { display: none; }
  .nur-schmal { display: inline; }
  .marke span { font-size: .98rem; }
  .befunde li { grid-template-columns: 1fr; gap: 6px; }
  .befunde li > span { justify-self: start; padding: 3px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .knopf { transition: none; }
}

/* Rasterkinder dürfen schrumpfen (sonst Überlauf auf schmalen Geräten) */
.hero-raster > *, .kontakt-raster > *, .fuer-wen > *, .karten > *, .ueber > * { min-width: 0; }
h1, h2 { overflow-wrap: break-word; hyphens: auto; }
