/* H2OME CARE-BOX – Website-Stil (keine externen Schriften, keine externen Dienste) */
:root {
  --teal: #3F8EA5;
  --teal-dark: #2f7186;
  --green: #0F372C;
  --light: #EAF4F7;
  --text: #1A1A1A;
  --grey: #5A5A5A;
  --line: #DDE6E9;
  --max: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; color: var(--text); background: #fff;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px; line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Kopfzeile */
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; min-height: 64px; }
header.top .logo img { height: 40px; width: auto; }
nav.main { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 15px; font-weight: 600; }
nav.main a { color: var(--green); text-decoration: none; padding: 4px 0; }
nav.main a:hover { color: var(--teal); }
nav.main a.lang { color: var(--teal-dark); }
@media (max-width: 860px) { nav.main a:not(.lang):not(.contact) { display: none; } }

/* Einstiegsbereich */
.hero { background: linear-gradient(180deg, var(--light) 0%, #fff 100%); padding: 48px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(28px, 4.2vw, 44px); line-height: 1.15; margin: 0 0 16px; color: var(--green); }
.hero p.lead { font-size: 19px; color: #2b2b2b; margin: 0 0 22px; }
.hero .photo img { border-radius: 10px; box-shadow: 0 10px 30px rgba(15,55,44,.18); width: 100%; max-width: 380px; margin-left: auto; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 26px; }
.badge { color: #fff; padding: 12px 16px; border-radius: 8px; min-width: 190px; }
.badge strong { display: block; font-size: 15px; letter-spacing: .04em; }
.badge span { font-size: 14px; opacity: .92; }
.badge.teal { background: var(--teal); }
.badge.green { background: var(--green); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block; padding: 12px 20px; border-radius: 8px; font-weight: 700; font-size: 16px;
  text-decoration: none; border: 2px solid var(--teal);
}
.btn.primary { background: var(--teal); color: #fff; }
.btn.primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.btn.ghost { color: var(--teal-dark); background: #fff; }
.trust { display: flex; gap: 12px; align-items: center; margin-top: 22px; color: var(--grey); font-size: 14px; }
.trust img { width: 54px; height: 54px; border-radius: 50%; }

/* Abschnitte */
section { padding: 56px 0; }
section.alt { background: var(--light); }
h2 { font-size: clamp(24px, 3vw, 32px); color: var(--green); margin: 0 0 8px; line-height: 1.2; }
.sub { color: var(--teal-dark); font-weight: 600; margin: 0 0 28px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
figure { margin: 0; }
figure img { border-radius: 8px; aspect-ratio: 3/4; object-fit: cover; width: 100%; }
figcaption { font-size: 14px; color: var(--grey); margin-top: 8px; text-align: center; }
.note {
  background: var(--green); color: #fff; border-radius: 8px; padding: 18px 22px; margin-top: 28px;
}
.note strong { color: #fff; }

/* Blackout */
.facts { list-style: none; padding: 0; margin: 0; }
.facts li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.facts li::before { content: "⚡"; position: absolute; left: 0; top: 0; }
.small { font-size: 13px; color: var(--grey); }

/* Daten-Tabelle */
.cert { display: flex; gap: 18px; align-items: center; margin-bottom: 24px; }
.cert img { width: 84px; flex: none; }
table.data { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px; overflow: hidden; }
table.data th, table.data td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { width: 40%; color: var(--green); }
.boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.box { background: var(--teal); color: #fff; border-radius: 8px; padding: 16px 20px; }
.box h3 { margin: 0 0 6px; font-size: 17px; }
.box ul { margin: 0; padding-left: 20px; }

/* Listen */
ul.check { list-style: none; padding: 0; margin: 0; }
ul.check li { padding-left: 30px; position: relative; margin-bottom: 8px; }
ul.check li::before { content: "✓"; position: absolute; left: 4px; color: var(--teal); font-weight: 700; }
.panel { background: var(--teal); color: #fff; border-radius: 10px; padding: 26px 28px; }
.panel ul.check li::before { color: #fff; }

/* Sprachen-Teaser */
.langs { display: flex; flex-wrap: wrap; gap: 14px; margin: 20px 0 0; }
.langs a {
  display: flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid var(--line);
  border-radius: 8px; text-decoration: none; color: var(--text); font-weight: 600; background: #fff;
}
.langs a:hover { border-color: var(--teal); }
.langs img { width: 30px; height: 20px; border: 1px solid #ccc; }

/* Sprachen-Seite */
.lang-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.lang-card { border: 1px solid var(--line); border-radius: 10px; padding: 20px; background: #fff; }
.lang-card h2 { display: flex; align-items: center; gap: 12px; font-size: 22px; margin-bottom: 14px; }
.lang-card h2 img { width: 42px; height: 28px; border: 1px solid #ccc; }
.lang-card a.dl {
  display: flex; justify-content: space-between; gap: 10px; padding: 12px 14px; margin-top: 10px;
  border-radius: 8px; background: var(--light); text-decoration: none; color: var(--green); font-weight: 600;
}
.lang-card a.dl:hover { background: #d8ecf1; }
.lang-card a.dl span { color: var(--grey); font-weight: 400; font-size: 14px; white-space: nowrap; }

/* Kontakt + Fuß */
.contact-card { background: #fff; border-radius: 10px; padding: 24px 26px; border: 1px solid var(--line); }
.contact-card p { margin: 4px 0; }
footer { background: var(--green); color: #cfe3e8; padding: 28px 0; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer a { color: #fff; text-decoration: none; margin-right: 18px; }
footer a:hover { text-decoration: underline; }

/* Rechtstexte */
.legal { max-width: 780px; }
.legal h1 { color: var(--green); font-size: 32px; margin: 0 0 20px; }
.legal h2 { font-size: 21px; margin: 30px 0 8px; }

@media (max-width: 860px) {
  .hero .wrap, .grid2 { grid-template-columns: 1fr; }
  .hero .photo img { margin: 0 auto; max-width: 300px; }
  .grid3 { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .boxes, .lang-cards { grid-template-columns: 1fr; }
  figcaption { font-size: 12px; }
  section { padding: 40px 0; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .grid3 { grid-template-columns: 1fr; }
  figure img { aspect-ratio: 4/3; }
  .badge { min-width: 0; flex: 1 1 100%; }
  table.data, table.data tbody, table.data tr, table.data th, table.data td { display: block; width: 100%; }
  table.data th { border-bottom: none; padding-bottom: 0; }
  table.data td { padding-top: 2px; }
  .cert { align-items: flex-start; }
  .cert img { width: 64px; }
}
body { overflow-wrap: break-word; hyphens: auto; }

/* ISH-Hinweis (nach dem 19.03.2027 entfernen) */
section.ish { background: var(--green); color: #fff; padding: 28px 0; }
section.ish .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
section.ish .wrap > div:first-child { flex: 1 1 480px; }
section.ish h2 { color: #fff; font-size: 24px; margin: 0 0 6px; }
section.ish p { margin: 0; color: #e3f0f3; }
section.ish strong { color: #fff; }
.btn.light { background: #fff; color: var(--green); border-color: #fff; }
.btn.light:hover { background: var(--light); }
.btn.outline { color: #fff; border-color: #fff; background: transparent; }
.btn.outline:hover { background: rgba(255,255,255,.12); }
sup { font-size: .6em; line-height: 0; vertical-align: super; }
