/* Wexley Heat & Water - Demo-Website von GL Tools (fiktive Firma)
   Design-System: ui-ux-pro-max "Flat Design" + "Trust & Authority + Conversion"
   (Vertrauensblau, Orange nur fuer Notdienst/Handlung). Umgesetzt als "Waerme & Wasser":
   helles Frostweiss, tiefes Wasserblau, Flammenorange = Heizen/Notfall, Eisblau = Kuehlen.
   Layout: asymmetrisches Bento statt geteiltem Hero. Schriften selbst gehostet. */

@font-face { font-family: "Bricolage"; src: url("fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
  --frost: #f2f5f8;
  --white: #ffffff;
  --deep: #0f3a6b;
  --deep-2: #0b2d55;
  --ink: #10243a;
  --muted: #4a5b6e;
  --flame: #ef6a1f;
  --flame-dark: #c2410c;
  --flame-soft: #fff1e7;
  --ice: #1f8fb8;
  --ice-soft: #e6f4f9;
  --line: rgba(15, 58, 107, 0.13);
  --line-on-deep: rgba(255, 255, 255, 0.16);
  --on-deep-muted: #b9c8da;
  --r: 1.375rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --max: 78rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 1rem; }
body { margin: 0; font-family: "Figtree", system-ui, sans-serif; font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--frost); overflow-x: hidden; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: "Bricolage", "Figtree", sans-serif; margin: 0; line-height: 1.02; letter-spacing: -0.03em; font-weight: 700; }
p { margin: 0; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--deep); color: #fff; padding: .6rem 1rem; border-radius: .6rem; z-index: 100; }
.skip:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--ice); outline-offset: 3px; border-radius: 6px; }

/* ---------- Notdienst-Leiste ---------- */
.sos-bar { background: var(--flame-dark); color: #fff; font-size: .9rem; }
.sos-bar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .25rem 1rem; padding: .55rem 0; text-align: center; }
.sos-bar a { font-weight: 700; text-underline-offset: 3px; white-space: nowrap; }
.pulse { width: .55rem; height: .55rem; border-radius: 50%; background: #fff; display: inline-block; margin-right: .45rem; vertical-align: middle; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); } 70% { box-shadow: 0 0 0 9px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }

/* ---------- Kopf ---------- */
.head { border-bottom: 1px solid var(--line); background: var(--frost); }
.head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.75rem; }
.logo { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
.logo svg { width: 2.4rem; height: 2.4rem; flex: none; }
.logo b { font-family: "Bricolage", sans-serif; font-size: 1.2rem; letter-spacing: -.02em; line-height: 1; display: block; }
.logo small { font-size: .75rem; color: var(--muted); display: block; margin-top: .15rem; }
.menu { display: none; list-style: none; margin: 0; padding: 0; gap: 1.75rem; font-weight: 500; font-size: .96875rem; }
.menu a { text-decoration: none; background: linear-gradient(var(--flame), var(--flame)) 0 100% / 0 2px no-repeat; transition: background-size .5s var(--ease); padding: .3rem 0; }
.menu a:hover { background-size: 100% 2px; }
.head-right { display: flex; align-items: center; gap: .6rem; }
.lang { font-size: .8125rem; font-weight: 600; text-decoration: none; padding: .45rem .65rem; border-radius: .6rem; border: 1px solid var(--line); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3.1rem; padding: .7rem 1.35rem; border-radius: .9rem; border: 0; font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; transition: transform .45s var(--ease), background-color .45s var(--ease), color .45s var(--ease); }
.btn:active { transform: scale(.98); }
.btn svg { width: 1.1rem; height: 1.1rem; transition: transform .5s var(--ease); flex: none; }
.btn:hover svg.arrow { transform: translateX(3px); }
.btn-deep { background: var(--deep); color: #fff; }
.btn-deep:hover { background: var(--deep-2); }
.btn-flame { background: var(--flame-dark); color: #fff; }
.btn-flame:hover { background: #a8380a; }
.btn-white { background: #fff; color: var(--flame-dark); }
.btn-line { background: transparent; color: var(--deep); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--deep); }
.head .btn { min-height: 2.75rem; padding: .5rem 1rem; font-size: .9375rem; }

/* ---------- Hero ---------- */
.hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3.5rem, 7vw, 5.5rem); }
.kicker { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .9rem; color: var(--deep); }
.kicker .therm { width: 2.6rem; height: .35rem; border-radius: 1rem; background: linear-gradient(90deg, var(--flame), var(--ice)); }
.hero h1 { font-size: clamp(2.7rem, 7.2vw, 5.4rem); margin: 1.1rem 0 1.25rem; max-width: 14ch; }
.hero-top { display: grid; gap: 1.25rem; align-items: end; margin-bottom: clamp(2rem, 4vw, 3rem); }
.hero-top .lede { font-size: clamp(1.06rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 33rem; }
.hero-top .actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }

.bento { display: grid; gap: 1rem; }
.tile { border-radius: var(--r); background: var(--white); border: 1px solid var(--line); padding: 1.5rem; position: relative; overflow: hidden; }
.tile h2, .tile h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.tile p { color: var(--muted); }
.tile-photo { padding: 0; min-height: 22rem; border: 0; background: var(--deep); }
.tile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.tile-photo .tag { position: absolute; left: 1rem; bottom: 1rem; right: 1rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.tag span { background: rgba(255,255,255,.94); color: var(--ink); font-size: .8125rem; font-weight: 600; padding: .4rem .75rem; border-radius: .7rem; }
.tile-sos { background: var(--flame-dark); color: #fff; border: 0; display: flex; flex-direction: column; gap: .9rem; }
.tile-sos p { color: #ffe3d2; }
.tile-sos .tel { font-family: "Bricolage", sans-serif; font-weight: 700; font-size: clamp(1.9rem, 4vw, 2.6rem); letter-spacing: -.03em; text-decoration: none; line-height: 1; color: #fff; }
.tile-sos ul { list-style: none; margin: .2rem 0 0; padding: 0; display: grid; gap: .4rem; font-size: .9375rem; }
.tile-sos li { display: flex; gap: .55rem; align-items: flex-start; }
.tile-sos li svg { width: 1.1rem; height: 1.1rem; margin-top: .2rem; flex: none; }
.tile-tune { background: var(--ice-soft); border-color: transparent; display: flex; flex-direction: column; gap: .8rem; }
.tile-tune .price { font-family: "Bricolage", sans-serif; font-size: 3rem; font-weight: 700; letter-spacing: -.04em; line-height: 1; color: var(--deep); }
.tile-tune .price small { font-family: "Figtree", sans-serif; font-size: .9rem; letter-spacing: 0; font-weight: 500; color: var(--muted); }
.tile-fair { display: flex; flex-direction: column; gap: .7rem; }
.tile-fair svg { width: 2.2rem; height: 2.2rem; color: var(--deep); }

/* ---------- Abschnitte ---------- */
.sec { padding: clamp(4.5rem, 10vw, 8rem) 0; }
.sec-head { display: grid; gap: 1.1rem; margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.sec-head h2 { font-size: clamp(2.2rem, 5.5vw, 4.2rem); max-width: 17ch; }
.sec-head p { color: var(--muted); max-width: 35rem; }
.deep { background: var(--deep); color: #fff; }
.deep .sec-head p { color: var(--on-deep-muted); }
.therm-rule { height: 4px; background: linear-gradient(90deg, var(--flame) 0%, #f2a65a 35%, #8cc7dd 65%, var(--ice) 100%); }

/* ---------- Leistungen ---------- */
.services { display: grid; gap: 1rem; }
.svc { border-radius: var(--r); background: var(--white); border: 1px solid var(--line); padding: 1.5rem; display: flex; flex-direction: column; gap: .7rem; }
.svc .ic { width: 3rem; height: 3rem; border-radius: .9rem; display: grid; place-items: center; }
.svc .ic svg { width: 1.6rem; height: 1.6rem; }
.svc.warm .ic { background: var(--flame-soft); color: var(--flame-dark); }
.svc.cool .ic { background: var(--ice-soft); color: #136a8a; }
.svc.water .ic { background: #e9eef6; color: var(--deep); }
.svc h3 { font-size: 1.45rem; }
.svc p { color: var(--muted); font-size: .98rem; }
.svc .from { margin-top: auto; padding-top: .8rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-size: .9rem; color: var(--muted); }
.svc .from b { color: var(--ink); font-size: 1rem; }
.svc-photo { padding: 0; overflow: hidden; position: relative; min-height: 16rem; border: 0; }
.svc-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-photo figcaption { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; color: #fff; font-weight: 600; font-size: .95rem; text-shadow: 0 1px 12px rgba(0,0,0,.55); }
.svc-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(11,45,85,.7)); }
.svc-photo figcaption { z-index: 1; }

/* ---------- Wartungsvertrag ---------- */
.billing { display: inline-flex; padding: .3rem; border-radius: .9rem; background: rgba(255,255,255,.1); border: 1px solid var(--line-on-deep); margin-bottom: 2rem; }
.billing button { font: inherit; font-weight: 600; font-size: .9375rem; color: var(--on-deep-muted); background: transparent; border: 0; padding: .55rem 1.1rem; border-radius: .65rem; cursor: pointer; min-height: 2.75rem; transition: background-color .4s var(--ease), color .4s var(--ease); }
.billing button[aria-pressed="true"] { background: #fff; color: var(--deep); }
.billing small { color: var(--flame); font-weight: 700; margin-left: .3rem; }
.billing button[aria-pressed="true"] small { color: var(--flame-dark); }
.plans { display: grid; gap: 1rem; align-items: stretch; }
.plan { border-radius: var(--r); background: var(--deep-2); border: 1px solid var(--line-on-deep); padding: 1.75rem 1.5rem; display: flex; flex-direction: column; gap: 1.1rem; }
.plan h3 { font-size: 1.6rem; }
.plan .for { color: var(--on-deep-muted); font-size: .96rem; min-height: 3rem; }
.plan .amount { font-family: "Bricolage", sans-serif; font-size: 3.2rem; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.plan .amount small { font-family: "Figtree", sans-serif; font-size: .95rem; font-weight: 500; letter-spacing: 0; color: var(--on-deep-muted); }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: .96875rem; }
.plan li { display: flex; gap: .6rem; }
.plan li svg { width: 1.15rem; height: 1.15rem; flex: none; margin-top: .2rem; color: #8cc7dd; }
.plan .btn { margin-top: auto; }
.plan.best { background: #fff; color: var(--ink); border: 0; position: relative; }
.plan.best .for, .plan.best .amount small { color: var(--muted); }
.plan.best li svg { color: var(--flame-dark); }
.plan .badge { position: absolute; top: 1.4rem; right: 1.4rem; background: var(--flame-soft); color: var(--flame-dark); font-size: .8rem; font-weight: 700; padding: .3rem .65rem; border-radius: .6rem; }
.plans-note { margin-top: 1.5rem; color: var(--on-deep-muted); font-size: .9rem; }

/* ---------- Versprechen ---------- */
.promise { display: grid; gap: 1rem; }
.promise div { padding: 1.4rem 0; border-top: 2px solid var(--deep); }
.promise h3 { font-size: 1.35rem; margin-bottom: .45rem; }
.promise p { color: var(--muted); font-size: .98rem; }

/* ---------- Bewertungen ---------- */
.reviews { display: grid; gap: 1rem; }
.review { margin: 0; padding: 1.6rem 1.5rem; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 1rem; }
.stars { display: flex; gap: .2rem; color: var(--flame); }
.stars svg { width: 1.05rem; height: 1.05rem; fill: currentColor; }
.review blockquote { margin: 0; font-size: 1.04rem; line-height: 1.55; flex: 1; }
.review figcaption { display: flex; justify-content: space-between; gap: .75rem; font-size: .875rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.review figcaption span { color: var(--muted); text-align: right; }

/* ---------- Anfrage (mehrstufig) ---------- */
.quote-grid { display: grid; gap: 1.5rem; }
.quote { background: var(--white); border-radius: var(--r); border: 1px solid var(--line); padding: clamp(1.25rem, 3.5vw, 2.25rem); }
.progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-bottom: 1.75rem; list-style: none; padding: 0; }
.progress li { font-size: .8125rem; font-weight: 600; color: var(--muted); }
.progress li::before { content: ""; display: block; height: .35rem; border-radius: 1rem; background: #e3e9f0; margin-bottom: .5rem; transition: background-color .5s var(--ease); }
.progress li.done::before, .progress li.current::before { background: var(--deep); }
.progress li.current { color: var(--ink); }
.step-panel { display: grid; gap: 1.15rem; border: 0; margin: 0; padding: 0; min-width: 0; }
.step-panel[hidden] { display: none; }
.step-panel legend { font-family: "Bricolage", sans-serif; font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: .25rem; padding: 0; }
.options { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt span { display: flex; flex-direction: column; gap: .35rem; min-height: 5.2rem; padding: .9rem; border-radius: 1rem; border: 1.5px solid var(--line); background: var(--frost); font-weight: 600; font-size: .95rem; cursor: pointer; transition: border-color .4s var(--ease), background-color .4s var(--ease); line-height: 1.25; }
.opt span svg { width: 1.5rem; height: 1.5rem; color: var(--deep); }
.opt input:checked + span { border-color: var(--deep); background: #fff; box-shadow: inset 0 0 0 1px var(--deep); }
.opt input:focus-visible + span { outline: 3px solid var(--ice); outline-offset: 2px; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .9rem; font-weight: 600; }
.hint { font-weight: 400; color: var(--muted); font-size: .8rem; }
input, select, textarea { font: inherit; font-size: 1rem; color: var(--ink); width: 100%; min-height: 3rem; padding: .7rem .9rem; border-radius: .8rem; border: 1.5px solid var(--line); background: #fff; transition: border-color .4s var(--ease); }
textarea { min-height: 6.5rem; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--deep); }
.row2 { display: grid; gap: 1.15rem; }
.urg { display: flex; flex-wrap: wrap; gap: .5rem; }
.urg label { position: relative; }
.urg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.urg span { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .5rem 1rem; border-radius: .8rem; border: 1.5px solid var(--line); font-size: .9375rem; font-weight: 600; cursor: pointer; }
.urg input:checked + span { background: var(--deep); color: #fff; border-color: var(--deep); }
.urg input:focus-visible + span { outline: 3px solid var(--ice); outline-offset: 2px; }
.nav-steps { display: flex; justify-content: space-between; gap: .75rem; margin-top: .5rem; flex-wrap: wrap; }
.form-msg { display: none; padding: 1rem 1.1rem; border-radius: 1rem; background: #e7f5ec; color: #17603a; font-size: .95rem; margin-top: 1rem; }
.form-msg.show { display: block; }
.form-msg strong { display: block; }
.quote-aside { display: grid; gap: 1rem; align-content: start; }
.quote-aside .tile h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.quote-aside .photo { padding: 0; min-height: 0; }
.quote-aside .photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Einzugsgebiet ---------- */
.area-grid { display: grid; gap: 1rem; }
.area-map { border-radius: var(--r); background: var(--white); border: 1px solid var(--line); overflow: hidden; }
.area-map svg { display: block; width: 100%; height: auto; }
.checker { display: grid; gap: .9rem; }
.result { border-radius: 1rem; padding: 1rem 1.1rem; background: var(--frost); font-size: .98rem; min-height: 4.5rem; }
.result b { display: block; font-family: "Bricolage", sans-serif; font-size: 1.35rem; letter-spacing: -.02em; }
.zones { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.zones li { display: grid; grid-template-columns: auto 1fr auto; gap: .75rem; align-items: center; font-size: .95rem; }
.zones i { width: .9rem; height: .9rem; border-radius: 50%; }
.zones b { font-variant-numeric: tabular-nums; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .6rem; max-width: 52rem; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 1rem; padding: 0 1.25rem; }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2rem 1.1rem 0; font-weight: 600; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .2rem; top: 50%; width: .7rem; height: .7rem; border-right: 2px solid var(--deep); border-bottom: 2px solid var(--deep); transform: translateY(-70%) rotate(45deg); transition: transform .45s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding-bottom: 1.2rem; color: var(--muted); }

/* ---------- Fuss ---------- */
.foot { background: var(--deep-2); color: var(--on-deep-muted); padding: 4rem 0 7.5rem; font-size: .9rem; }
.foot-grid { display: grid; gap: 2rem; }
.foot h2 { color: #fff; font-size: clamp(1.9rem, 5vw, 3.2rem); max-width: 16ch; margin-bottom: 1.4rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.foot a { color: #fff; text-underline-offset: 3px; }
.foot .btn-white { color: var(--flame-dark); text-decoration: none; }
.foot .credits { border-top: 1px solid var(--line-on-deep); margin-top: 2.5rem; padding-top: 1.5rem; display: grid; gap: .6rem; font-size: .8rem; }
.foot .demo-badge { color: #fff; font-weight: 600; }

/* ---------- Mobile Notruf-Leiste ---------- */
.callbar { position: fixed; left: .75rem; right: .75rem; bottom: .75rem; z-index: 30; display: grid; grid-template-columns: 1.2fr 1fr; gap: .5rem; padding: .45rem; border-radius: 1.1rem; background: rgba(11,45,85,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 18px 40px -18px rgba(11,45,85,.6); }
.callbar a { display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 3rem; border-radius: .8rem; text-decoration: none; font-weight: 700; font-size: .9375rem; color: #fff; }
.callbar a svg { width: 1.1rem; height: 1.1rem; }
.callbar .sos { background: var(--flame-dark); }
.callbar .q { box-shadow: inset 0 0 0 1px var(--line-on-deep); }

/* ---------- Bewegung ---------- */
.fade { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.fade.in { opacity: 1; transform: none; }
.bento .fade:nth-child(2) { transition-delay: .08s; }
.bento .fade:nth-child(3) { transition-delay: .16s; }
.bento .fade:nth-child(4) { transition-delay: .24s; }
.no-js .fade { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation: none !important; }
  .fade { opacity: 1; transform: none; }
}

/* ---------- Breakpoints ---------- */
@media (min-width: 640px) {
  .services, .reviews, .promise { grid-template-columns: 1fr 1fr; }
  .row2 { grid-template-columns: 1fr 1fr; }
  .options { grid-template-columns: repeat(3, 1fr); }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile-photo { grid-column: span 2; }
}
@media (min-width: 1000px) {
  .menu { display: flex; }
  .callbar { display: none; }
  .foot { padding-bottom: 4rem; }
  .hero-top { grid-template-columns: 1.3fr .7fr; }
  .bento { grid-template-columns: 1.25fr .9fr .85fr; grid-template-rows: auto auto; }
  .tile-photo { grid-column: 1; grid-row: 1 / span 2; min-height: 30rem; }
  .tile-sos { grid-column: 2; grid-row: 1 / span 2; justify-content: space-between; }
  .services { grid-template-columns: repeat(3, 1fr); }
  .svc-photo.tall { grid-row: span 2; }
  .plans { grid-template-columns: repeat(3, 1fr); }
  .plan.best { transform: translateY(-1rem); }
  .promise { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .reviews { grid-template-columns: repeat(4, 1fr); }
  .quote-grid { grid-template-columns: 1.4fr .6fr; align-items: start; }
  .area-grid { grid-template-columns: 1.2fr .8fr; align-items: start; }
  .foot-grid { grid-template-columns: 2fr 1fr 1fr; }
  .sec-head { grid-template-columns: 1.1fr .9fr; align-items: end; }
}
@media (max-width: 420px) { .logo small { display: none; } .options { grid-template-columns: 1fr 1fr; } }
