/* DSH – Deutsche Sanitär Holding · Website-Styles (Farbwelt Weiß-Blau)
   Schriften lokal gehostet (keine Verbindung zu Google Fonts o. Ä.) */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #102a4c;          /* Navy – Text */
  --blue: #1b5296;         /* Wasserblau – Flächen, Buttons, Akzente */
  --blue-hover: #174a8a;
  --blue-light: #2563ad;   /* Lichtpunkt im Verlauf */
  --navy: #0f2747;         /* Footer */
  --paper: #ffffff;
  --stone: #eef4fb;        /* Eisblau – helle Abschnitte */
  --line: #d9e3ef;
  --line-dark: rgba(255, 255, 255, 0.18);
  --muted: #4f5f76;
  --muted-on-dark: #d2e0f2;
  --dim-on-dark: #a9c6ea;
  --head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1140px;
  --gutter: 24px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--head); font-weight: 500; letter-spacing: -0.02em; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); font-weight: 400; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); font-weight: 400; letter-spacing: -0.025em; }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--blue); color: #fff; padding: 10px 14px; text-decoration: none; font-size: 14px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-size: 14.5px; color: var(--ink); opacity: .78; transition: opacity .15s; }
.nav a:hover { opacity: 1; }
.nav a.btn { opacity: 1; color: #fff; }
.nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; font-size: 14.5px; font-weight: 500; line-height: 1;
  text-decoration: none; border: 1px solid var(--blue); border-radius: 2px;
  background: var(--blue); color: #fff; transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--blue-hover); border-color: var(--blue-hover); }
.btn--ghost { background: transparent; color: var(--blue); }
.btn--ghost:hover { background: var(--blue); color: #fff; }
.btn--light { background: #fff; color: var(--blue); border-color: #fff; }
.btn--light:hover { background: #e4eefa; border-color: #e4eefa; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn--sm { padding: 10px 16px; font-size: 13.5px; }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Sections ---------- */
.section { padding: 112px 0; }
.section--stone { background: var(--stone); }
.section--dark { background: var(--blue); color: #fff; }
.eyebrow {
  display: block; font-family: var(--body); font-size: 11.5px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--blue); margin-bottom: 18px;
}
.section--dark .eyebrow, .hero .eyebrow { color: var(--muted-on-dark); }
.lead { font-size: 1.12rem; line-height: 1.65; color: var(--muted); max-width: 40em; }
.section--dark .lead, .hero .lead { color: var(--muted-on-dark); }

.split { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; }
.split p { color: var(--muted); }
.section--dark .split p { color: var(--muted-on-dark); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head p { margin-top: 18px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--blue); background: radial-gradient(1100px 700px at 82% 45%, var(--blue-light) 0%, var(--blue) 60%); color: #fff; }
.hero > .wrap { position: relative; z-index: 1; padding-top: 148px; padding-bottom: 128px; }
.hero h1 { max-width: 13.5em; }
.hero h1 .dim { color: var(--dim-on-dark); }
.hero .lead { margin-top: 28px; max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-art { position: absolute; right: -180px; top: 50%; width: 820px; height: 820px; transform: translateY(-50%); pointer-events: none; opacity: .9; }
.hero-meta {
  position: relative; z-index: 1; border-top: 1px solid var(--line-dark);
}
.hero-meta ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-meta li { padding: 22px 24px 26px 0; font-size: 13.5px; color: var(--muted-on-dark); }
.hero-meta li strong { display: block; font-family: var(--head); font-weight: 500; font-size: 15px; color: #fff; margin-bottom: 2px; letter-spacing: -.005em; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.card { padding: 34px 28px 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.card .num { font-family: var(--head); font-size: 13px; color: var(--blue); letter-spacing: .05em; display: block; margin-bottom: 40px; }
.card h3 { margin-bottom: 12px; }
.card p { font-size: 15px; color: var(--muted); margin: 0; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.checklist svg { margin-top: 5px; }
.checklist strong { font-weight: 600; }
.checklist span { color: var(--muted); }
.fineprint { margin: 20px 0 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.fineprint a { color: inherit; }
.section--dark .fineprint { color: var(--muted-on-dark); }
.fineprint strong { color: var(--ink); font-weight: 600; }
.section--dark .fineprint strong { color: #fff; }
.note { margin-top: 28px; font-size: 14.5px; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; }
.note svg { flex-shrink: 0; margin-top: 4px; }

/* ---------- Vision ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-dark); margin-top: 64px; }
.pillar { padding: 36px 32px 8px 0; }
.pillar + .pillar { padding-left: 32px; border-left: 1px solid var(--line-dark); }
.pillar .tag { font-family: var(--head); font-size: 13px; color: var(--muted-on-dark); letter-spacing: .05em; display: block; margin-bottom: 18px; }
.pillar h3 { font-size: 1.35rem; margin-bottom: 14px; }
.pillar p { color: var(--muted-on-dark); font-size: 15px; }

/* ---------- Career ---------- */
.career { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: center; }
.career-box { background: var(--paper); border: 1px solid var(--line); padding: 36px; }
.career-box h3 { margin-bottom: 10px; }
.career-box p { color: var(--muted); font-size: 15px; }
.career-box .btn { margin-top: 8px; }
.roles { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.roles li { font-size: 13.5px; padding: 7px 12px; border: 1px solid var(--line); background: var(--paper); border-radius: 2px; }

/* ---------- Contact ---------- */
.contact-card { border: 1px solid var(--line-dark); padding: 40px; }
.contact-card dl { margin: 0; display: grid; gap: 22px; }
.contact-card dt { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-on-dark); font-weight: 600; margin-bottom: 6px; }
.contact-card dd { margin: 0; font-size: 16px; line-height: 1.55; }
.contact-card a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); }
.contact-card a:hover { border-bottom-color: #fff; }
.contact-card .dd-note { display: block; font-size: 13px; color: var(--muted-on-dark); margin-top: 2px; }
.contact-card .btn { margin-top: 32px; border-bottom: 1px solid #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--muted-on-dark); font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 40px; padding-bottom: 40px; flex-wrap: wrap; }
.site-footer img { height: 30px; width: auto; }
.site-footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; color: var(--muted-on-dark); }
.site-footer a:hover { color: #fff; }

/* ---------- Legal pages ---------- */
.legal { padding: 96px 0 120px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(2.2rem, 4vw, 3rem); margin-bottom: 48px; }
.legal h2 { font-size: 1.3rem; font-weight: 500; letter-spacing: -0.01em; margin: 44px 0 12px; }
.legal h3 { font-size: 1.02rem; font-weight: 600; margin: 26px 0 8px; font-family: var(--body); letter-spacing: 0; }
.legal p, .legal li { color: #33415a; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 6px; }
.legal address { font-style: normal; }
.legal .meta { margin-top: 56px; font-size: 14px; color: var(--muted); }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: flex; align-items: center; }
.notfound p { color: var(--muted-on-dark); margin: 20px 0 32px; }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .hero-art { right: -320px; opacity: .55; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .section { padding: 84px 0; }
  .split, .split--even, .career { grid-template-columns: 1fr; gap: 36px; }
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 30px 0 6px; border-left: 0; }
  .pillar + .pillar { border-top: 1px solid var(--line-dark); }
  .hero-meta ul { grid-template-columns: repeat(2, 1fr); }
  .brand img { height: 32px; }

  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; cursor: pointer; color: var(--ink);
  }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s;
  }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; opacity: 1; }
  .nav a.btn { margin-top: 18px; justify-content: center; border-bottom: 1px solid var(--blue); padding: 15px 22px; }
  .site-header.open .nav { opacity: 1; visibility: visible; transform: none; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .section { padding: 68px 0; }
  .hero > .wrap { padding-top: 88px; padding-bottom: 80px; }
  .hero-art { width: 560px; height: 560px; right: -300px; top: 38%; opacity: .45; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-meta ul { grid-template-columns: 1fr 1fr; }
  .hero-meta li { padding: 18px 12px 20px 0; }
  .cards { grid-template-columns: 1fr; }
  .card .num { margin-bottom: 20px; }
  .contact-card, .career-box { padding: 28px 22px; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
  .brand img { height: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
@media print {
  .site-header, .hero-art, .nav-toggle { display: none !important; }
  .hero, .section--dark, .site-footer { background: #fff !important; color: #000 !important; }
}
