/* HGlabs – hglabs.de
   Richtung „Laborweiß“: fast weißer Grund, tiefschwarze Schrift, kühles Blau für
   Illustration und Icons, Signalorange ausschließlich für Aktionen. Schriften lokal. */

@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("fonts/unbounded-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/instrument-sans-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Sans";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/instrument-sans-italic-latin.woff2") format("woff2");
}

:root {
  --grund: #F6F7F9;
  --papier: #FFFFFF;
  --tinte: #0B0F14;
  --tinte-2: #2A313B;
  --grau: #6B7280;
  --grau-2: #66809D;
  --raster: #D9DEE5;
  --raster-hell: #E8ECF1;
  --linie-karte: #DCE3EA;
  --blau: #3D91C6;
  --blau-hell: #79C0E9;
  --blau-flaeche: #EAF3FA;
  --chip: #F2F6FA;
  --orange: #FF5A1F;
  --orange-tief: #D9440F;
  --orange-hell: #FFF0E9;
  --display: "Unbounded", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --maß: 1200px;
  --rand: clamp(20px, 4vw, 32px);
  --schatten-karte: 0 8px 24px rgba(19, 32, 51, .045);
  --schatten-karte-hover: 0 12px 28px rgba(19, 32, 51, .08);
}

html { scroll-behavior: smooth; color-scheme: light; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--grund);
  color: var(--tinte);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: tabular-nums;
  -webkit-tap-highlight-color: transparent;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
main.text { width: 100%; }
a { color: var(--orange-tief); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--tinte); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; border-radius: 2px; }
img { max-width: 100%; height: auto; display: block; }
svg { display: block; }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 10;
  background: var(--tinte); color: var(--papier); padding: 8px 14px; font-weight: 600;
}
.skip:focus { left: 16px; }

.wrap { max-width: var(--maß); margin: 0 auto; padding-left: var(--rand); padding-right: var(--rand); }

/* Eyebrow (Orientierungslabel) */
.eyebrow { margin: 0 0 12px; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--grau-2); }
.eyebrow-hell { color: var(--blau-hell); }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 5; background: rgba(246, 247, 249, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--raster); }
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.marke { display: inline-flex; align-items: center; }
.marke img { height: 20px; width: auto; }
.nav-zeile { display: flex; align-items: center; gap: clamp(16px, 3vw, 36px); }
.nav { display: flex; gap: clamp(14px, 2.6vw, 30px); margin: 0; padding: 0; list-style: none; }
.nav a { color: var(--tinte-2); text-decoration: none; font-size: 15px; font-weight: 500; touch-action: manipulation; padding: 10px 0; }
.nav a:hover { color: var(--orange-tief); }

/* Buttons */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 24px; border-radius: 6px; font-weight: 600; font-size: 15.5px;
  text-decoration: none; border: 1px solid transparent; transition: background-color .15s, color .15s, border-color .15s;
  touch-action: manipulation; text-align: center;
}
.knopf-klein { height: 42px; padding: 0 18px; font-size: 14.5px; }
.knopf-voll { background: var(--orange); color: var(--papier); }
.knopf-voll:hover { background: var(--orange-tief); color: var(--papier); }
.knopf-linie { border-color: var(--tinte); color: var(--tinte); background: var(--papier); }
.knopf-linie:hover { background: var(--tinte); color: var(--papier); }
.textlink { align-self: center; color: var(--tinte-2); font-weight: 500; text-decoration-color: var(--raster); }
.textlink:hover { color: var(--orange-tief); }
.aktionen { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { background-color: var(--papier); border-bottom: 1px solid var(--raster);
  background-image: linear-gradient(var(--raster-hell) 1px, transparent 1px), linear-gradient(90deg, var(--raster-hell) 1px, transparent 1px);
  background-size: 48px 48px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 48fr) minmax(0, 52fr); gap: 56px; align-items: center; min-height: 620px; padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(48px, 6vw, 72px); }
.hero-text { max-width: 570px; }
.hero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(40px, 5.4vw, 72px); line-height: 1.0; letter-spacing: -0.035em; margin: 0 0 24px; text-wrap: balance; }
.hero p:not(.eyebrow) { font-size: clamp(17px, 1.4vw, 19px); color: var(--tinte-2); max-width: 34em; margin: 0 0 30px; line-height: 1.55; }
.trust { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 24px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--tinte-2); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; fill: var(--blau); stroke: var(--papier); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.trust svg circle { stroke: none; }
.hero-bild { margin: 0; position: relative; }
.hero-bild img { width: 100%; height: auto; mix-blend-mode: multiply; }
.hero-bild figcaption { position: absolute; right: 2%; bottom: 5%; display: grid; gap: 2px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--grau-2); text-align: right; line-height: 1.5; }

/* Abschnitte */
.abschnitt, .hero { scroll-margin-top: 72px; }
.abschnitt { padding: clamp(56px, 7vw, 88px) 0; border-bottom: 1px solid var(--raster); }
.abschnitt:last-of-type { border-bottom: 0; }
.abschnitt h2 { font-family: var(--display); font-weight: 600; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.05; margin: 0; letter-spacing: -0.03em; text-wrap: balance; }
.abschnitt-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 40px; margin: 0 0 32px; }
.abschnitt-hinweis { margin: 0; color: var(--grau); max-width: 44ch; font-size: 16px; }

/* Leistungskarten */
.karten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.karte { background: var(--papier); border: 1px solid var(--linie-karte); border-radius: 8px; padding: 28px 28px 24px; box-shadow: var(--schatten-karte); transition: box-shadow .15s; display: flex; flex-direction: column; }
.karte:hover { box-shadow: var(--schatten-karte-hover); }
.karte-kopf { display: flex; align-items: center; gap: 18px; margin: 0 0 14px; }
.icon-kachel { width: 52px; height: 52px; border-radius: 10px; background: var(--blau-flaeche); display: grid; place-items: center; flex: none; }
.icon-kachel svg { width: 24px; height: 24px; fill: none; stroke: var(--blau); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.karte h3 { font-family: var(--display); font-weight: 600; font-size: 19px; margin: 0; letter-spacing: -0.01em; }
.karte > p { margin: 0 0 22px; color: var(--tinte-2); font-size: 15.5px; line-height: 1.55; }
.checkliste { margin: auto 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid #E5EAF0; display: grid; gap: 10px; font-size: 14px; line-height: 1.4; color: var(--tinte-2); }
.checkliste li { display: flex; align-items: flex-start; gap: 10px; }
.checkliste li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 1px; border-radius: 50%; background: var(--blau-flaeche) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4.5 8.5l2.3 2.2L11.5 6' fill='none' stroke='%233D91C6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/16px no-repeat; }

/* Versprechen */
.vorgebaut { background: var(--tinte); color: var(--papier); border-bottom: 0; }
.vorgebaut .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 20px 56px; align-items: start; }
.vorgebaut .eyebrow { grid-column: 1 / -1; }
.vorgebaut h2 { font-size: clamp(34px, 5vw, 64px); line-height: 1.0; color: var(--papier); letter-spacing: -0.035em; }
.vorgebaut-text p { margin: 0 0 14px; color: #D7DCE3; max-width: 46ch; font-size: 18px; }
.vorgebaut-text p + p { color: #8F97A3; font-size: 16px; }
.vorgebaut .knopf-linie { border-color: var(--papier); color: var(--papier); background: transparent; margin-top: 8px; }
.vorgebaut .knopf-linie:hover { background: var(--papier); color: var(--tinte); }

/* Produkt BlueSpeech */
.produkt-buehne { display: grid; grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); gap: 56px; align-items: center; }
.produkt-text h2 { font-size: clamp(34px, 4.4vw, 56px); letter-spacing: -0.04em; margin: 0 0 6px; }
.produkt-text .claim { margin: 0 0 14px; font-weight: 600; font-size: 18px; }
.produkt-text > p:not(.eyebrow):not(.claim) { margin: 0 0 18px; color: var(--tinte-2); max-width: 44em; line-height: 1.55; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: 8px; background: var(--chip); font-size: 14px; color: var(--tinte-2); }
.chips svg { width: 16px; height: 16px; fill: none; stroke: var(--blau); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.produkt-visual { position: relative; padding-left: 56px; }
.stimmung { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 5 / 4; background: var(--raster-hell); }
.stimmung img { width: 100%; height: 100%; object-fit: cover; }
.stimmung-text { position: absolute; right: clamp(20px, 4vw, 48px); top: 50%; transform: translateY(-50%); max-width: 46%; }
.stimmung-titel { margin: 0 0 14px; font-family: var(--display); font-weight: 600; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.08; letter-spacing: -0.03em; color: var(--tinte); padding-bottom: 14px; border-bottom: 2px solid var(--blau); display: inline-block; }
.stimmung-sub { margin: 0; color: var(--tinte-2); font-size: 15.5px; line-height: 1.5; }
.phone { position: absolute; left: 0; bottom: -28px; width: 34%; max-width: 230px; filter: drop-shadow(0 24px 40px rgba(20, 35, 55, .28)); }

/* Über uns */
.ueber-streifen { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) minmax(0, 2fr); gap: 40px; align-items: start; }
.ueber h2 { font-size: clamp(26px, 3vw, 36px); }
.ueber-text p { margin: 0 0 14px; color: var(--tinte-2); max-width: 56ch; }
.team { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; color: var(--tinte); font-weight: 600; font-size: 15px; }
.team li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--blau); margin-right: 9px; vertical-align: 1px; }
.standort { display: flex; align-items: center; gap: 12px; padding-left: 40px; border-left: 1px solid var(--raster); color: var(--tinte-2); font-size: 15px; line-height: 1.4; }
.standort svg { width: 28px; height: 28px; fill: none; stroke: var(--blau); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Abschluss-CTA */
.abschluss { padding-top: 0; }
.cta-band { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4fr) auto; gap: 24px 40px; align-items: center; padding: 28px 32px; border-radius: 10px; background: #F4F7F9; border: 1px solid var(--raster); }
.cta-band h2 { font-size: clamp(22px, 2.4vw, 28px); }
.cta-text { margin: 0; color: var(--tinte-2); max-width: 32ch; }

/* Fuß */
.fuß { background: var(--papier); border-top: 1px solid var(--raster); padding: 40px 0 28px; color: var(--grau); font-size: 14px; }
.fuß-raster { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--raster); margin-bottom: 18px; }
.fuß-marke img { height: 20px; width: auto; margin-bottom: 12px; }
.fuß-marke p { margin: 0; color: var(--tinte-2); }
.daten { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; font-size: 14.5px; }
.daten dt { color: var(--grau); }
.daten dd { margin: 0; color: var(--tinte); font-weight: 500; }
.daten dd a { text-decoration: none; color: var(--tinte); }
.daten dd a:hover { color: var(--orange-tief); text-decoration: underline; }
.daten .adresse { font-weight: 400; line-height: 1.5; }
.fuß-links { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; justify-items: start; }
.fuß-links a { color: var(--tinte-2); text-decoration: none; }
.fuß-links a:hover { color: var(--orange-tief); }
.fuß-zeile { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
/* Fußzeile der Rechtstext-Seiten (ein Wrap, links ©, rechts Links) */
.fuß-einfach { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; align-items: center; }
.fuß-einfach a { color: var(--tinte-2); text-decoration: none; margin-left: 20px; }
.fuß-einfach a:hover { color: var(--orange-tief); }

/* Rechtstexte */
.text { padding-top: clamp(48px, 7vw, 88px); padding-bottom: 96px; }
.text > * { max-width: 72ch; }
.text h1 { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 4vw, 46px); line-height: 1.05; margin: 0 0 8px; letter-spacing: -0.03em; }
.text .stand { color: var(--grau); margin: 0 0 40px; font-size: 15px; }
.text h2 { font-family: var(--display); font-weight: 600; font-size: 17px; margin: 36px 0 8px; }
.text p, .text li { color: var(--tinte-2); }
.text p { margin: 0 0 12px; }
.text address { font-style: normal; color: var(--tinte-2); margin: 0 0 12px; }
/* hervorgehobener Hinweis (Art. 21 DSGVO) */
.offen { border-left: 3px solid var(--orange); padding: 8px 14px; background: var(--orange-hell); color: var(--tinte); }
.zurück { display: inline-block; margin-bottom: 28px; color: var(--grau); text-decoration: none; font-size: 15px; }
.zurück:hover { color: var(--orange-tief); }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; min-height: 0; }
  .hero-bild { max-width: 560px; }
  .karten { grid-template-columns: 1fr; }
  .produkt-buehne { grid-template-columns: 1fr; gap: 40px; }
  .produkt-visual { padding-left: 0; padding-bottom: 40px; }
  .phone { left: 16px; bottom: 0; width: 30%; }
  .stimmung-text { max-width: 52%; }
  .ueber-streifen { grid-template-columns: 1fr; gap: 20px; }
  .standort { padding-left: 0; border-left: 0; }
  .cta-band { grid-template-columns: 1fr; }
  .fuß-raster { grid-template-columns: 1fr; }
  .vorgebaut .wrap { grid-template-columns: 1fr; }
  .nav-cta { display: none; }
  .nav { gap: 14px; }
  .nav a { font-size: 14px; }
}
@media (max-width: 520px) {
  .aktionen .knopf, .cta-band .knopf, .vorgebaut .knopf { width: 100%; }
  .kopf .wrap { height: auto; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
  .nav-zeile, .nav { width: 100%; justify-content: space-between; gap: 8px; }
  .stimmung { aspect-ratio: 4 / 5; }
  .stimmung-text { max-width: 60%; }
  .phone { width: 34%; }
  .daten { grid-template-columns: 1fr; gap: 2px; }
  .daten dt { margin-top: 10px; }
}
