:root {
  --blue: #0b4f8a;
  --blue-dark: #07335a;
  --ice: #e8f2fb;
  --text: #1c2733;
  --muted: #5b6b7b;
  --line: #d6e1ec;
  --bg: #ffffff;
  --accent: #19a7ce;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
a { color: var(--blue); }
img { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Header */
header.top { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 84px; }
.logo { display: flex; font-weight: 800; font-size: 1.25rem; color: var(--blue-dark); text-decoration: none; }
.logo span { color: var(--accent); }
.logo img { height: 54px; width: auto; }
nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
nav a { color: var(--text); text-decoration: none; font-weight: 500; }
nav a:hover { color: var(--blue); }
.btn {
  display: inline-block; background: var(--blue); color: #fff; padding: 12px 22px;
  border-radius: 6px; text-decoration: none; font-weight: 600;
}
.btn:hover { background: var(--blue-dark); }
.btn.ghost { background: transparent; color: #fff; border: 2px solid #fff; }
.btn.ghost:hover { background: rgba(255,255,255,.12); }
.btn.light { background: #fff; color: var(--blue-dark); }
.btn.light:hover { background: var(--ice); }
.hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.faircool { width: 170px; height: auto; border-radius: 12px; background: #fff; padding: 8px; }
.grid.four { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
details { margin-top: 8px; }
summary { cursor: pointer; font-weight: 600; color: var(--blue); margin-bottom: 16px; }
.job-line { margin-top: 32px; padding: 16px 20px; border-left: 4px solid var(--accent); background: var(--ice); }
address { font-style: normal; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--text); }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue) 60%, var(--accent));
  color: #fff; padding: 96px 0 88px;
}
.hero .claim { text-transform: uppercase; letter-spacing: .15em; font-weight: 700; opacity: .85; margin: 0 0 12px; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.15; margin: 0 0 18px; max-width: 760px; }
.hero p.lead { font-size: 1.2rem; max-width: 640px; margin: 0 0 30px; opacity: .95; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Sections */
section { padding: 80px 0; scroll-margin-top: 84px; }
section.alt { background: var(--ice); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 12px; color: var(--blue-dark); }
.intro { color: var(--muted); max-width: 720px; margin: 0 0 40px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 26px; }
.card h3 { margin: 0 0 8px; color: var(--blue-dark); font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px; }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 24px; }
.steps li::before {
  content: counter(step); display: inline-grid; place-items: center; width: 36px; height: 36px;
  border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; margin-bottom: 10px;
}
.steps h3 { margin: 0 0 6px; font-size: 1.05rem; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }


table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
th { background: var(--blue-dark); color: #fff; font-weight: 600; }
td:last-child, th:last-child { text-align: right; white-space: nowrap; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.note { color: var(--muted); font-size: .9rem; margin-top: 12px; }



.contact-box { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }

/* Footer */
footer { background: #0a1c2e; color: #b8c7d6; padding: 40px 0; font-size: .95rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
footer a { color: #fff; text-decoration: none; margin-right: 18px; }
footer a:hover { text-decoration: underline; }

/* Legal pages */
.legal { padding: 60px 20px; max-width: 780px; }
.legal h1 { color: var(--blue-dark); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  nav { display: none; position: absolute; top: 84px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); }
  nav.open { display: block; }
  nav ul { flex-direction: column; gap: 0; padding: 8px 20px 16px; }
  nav li a { display: block; padding: 10px 0; }
  header.top .btn { display: none; }
  .two, .contact-box { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .faircool { width: 110px; }
  section { padding: 60px 0; }
}

/* Suche */
.search { width: 100%; max-width: 640px; font: inherit; font-size: 1.15rem; padding: 14px 18px; border: 2px solid var(--blue); border-radius: 8px; }
.table-scroll { overflow-x: auto; margin-top: 12px; }
.preise td:nth-child(4), .preise td:nth-child(5), .preise th:nth-child(4), .preise th:nth-child(5) { text-align: right; white-space: nowrap; }
.btn.small { padding: 6px 12px; font-size: .9rem; border: 0; cursor: pointer; font-family: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Formular */
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 4px; font-weight: 600; font-size: .95rem; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.form input:focus, .form select:focus, .form textarea:focus, .search:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.form .check input { margin-top: 5px; }
.form button { justify-self: start; border: 0; cursor: pointer; font-family: inherit; font-size: 1rem; }
.hp { position: absolute; left: -9999px; }

/* Suchergebnisse auf dem Handy als Karten */
@media (max-width: 640px) {
  .preise thead { display: none; }
  .preise tr { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .preise td { border: 0; padding: 0; text-align: left !important; }
  .preise td[data-l]::before { content: attr(data-l); display: block; font-size: .75rem; color: var(--muted); }
  .preise td:last-child { grid-column: 1 / -1; margin-top: 6px; }
}

/* Produktbilder */
.card-img { display: block; width: calc(100% + 52px); max-width: none; height: auto; aspect-ratio: 16 / 10; object-fit: contain; background: #fff; margin: -26px -26px 18px; border-bottom: 1px solid var(--line); border-radius: 10px 10px 0 0; }

/* Video */
.clip { display: block; width: 100%; max-width: 960px; height: auto; aspect-ratio: 16 / 9; border-radius: 12px; margin: 8px 0 32px; background: #0a1c2e; object-fit: cover; }

/* Vertrauensleiste im Hero */
.trust { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.trust li { border-left: 3px solid rgba(255,255,255,.45); padding-left: 12px; font-size: .95rem; opacity: .95; }
.trust strong { display: block; font-size: 1.35rem; }

/* Hersteller */
.brands { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.brands button { font: inherit; font-weight: 600; background: #fff; color: var(--blue-dark); border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; cursor: pointer; }
.brands button:hover, .brands button:focus-visible { border-color: var(--blue); background: var(--ice); }

/* Zertifikate */
.cert { border-top: 4px solid var(--accent); }

/* FAQ */
.narrow { max-width: 820px; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 0 20px; margin: 0 0 10px; }
.faq summary { margin: 0; padding: 16px 0; color: var(--blue-dark); }
.faq p { margin: 0 0 16px; color: var(--muted); }

/* Mobile Leiste */
.mobile-bar { display: none; }
@media (max-width: 860px) {
  .trust { grid-template-columns: 1fr 1fr; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; box-shadow: 0 -2px 10px rgba(0,0,0,.15); }
  .mobile-bar a { text-align: center; padding: 14px; font-weight: 700; text-decoration: none; color: #fff; background: var(--blue); }
  .mobile-bar a + a { background: var(--accent); }
  body { padding-bottom: 52px; }
}

/* Herstellerübersicht */
.hersteller-liste { columns: 4 200px; gap: 24px; padding: 0; margin: 0 0 24px; list-style: none; }
.hersteller-liste li { padding: 4px 0; break-inside: avoid; }

/* WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 20; background: #1f8f4e; color: #fff; font-weight: 700; text-decoration: none; padding: 12px 18px; border-radius: 999px; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.wa-float:hover, .wa-float:focus-visible { background: #17703c; }
.mobile-bar .wa { background: #1f8f4e; }
@media (max-width: 860px) {
  .wa-float { display: none; }
  .mobile-bar { grid-template-columns: 1fr 1fr 1fr; }
  .mobile-bar a + a.wa { background: #1f8f4e; }
}
