/* Teppich Lehmann – Stylesheet
   Kontrastfarbe: RAL 5015 Himmelblau (Bildschirm-Näherung #2271B3) */

@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 300 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-ext-wght-normal.woff2") format("woff2-variations");
  font-weight: 300 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --blue: #2271B3;          /* RAL 5015 */
  --blue-d: #17507F;
  --blue-dd: #0F3A5E;
  --blue-l: #DCEAF6;
  --blue-xl: #EEF5FB;
  --ink: #1D2833;
  --muted: #5B6570;
  --line: #E1E7EE;
  --bg: #FFFFFF;
  --tint: #F5F8FB;
  --warm: #F7F4EE;
  --yellow: #F2C94C;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(23, 80, 127, .10), 0 2px 6px rgba(23, 80, 127, .06);
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 "Figtree", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-d); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; color: var(--blue-dd); letter-spacing: -.015em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 0; background: var(--blue); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 10px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }
.ico { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }

/* ---------- Angebotsleiste ---------- */
.offerbar { --bar-box: 46px; background: var(--blue); color: #fff; font-size: 1.2rem; }
.offerbar__in { display: flex; align-items: center; justify-content: center; gap: 22px; padding-top: 16px; padding-bottom: 16px; flex-wrap: wrap; text-align: center; }
.offerbar__tag, .offerbar__amount { display: inline-flex; align-items: center; height: var(--bar-box, 46px); box-sizing: border-box; box-shadow: 0 4px 0 rgba(0,0,0,.12); }
.offerbar__tag { background: var(--yellow); color: var(--blue-dd); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .9rem; padding: 6px 14px; border-radius: 99px; }
.offerbar__price { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
.offerbar__amount { background: var(--yellow); color: var(--blue-dd); font-weight: 900; font-size: 1.75rem; line-height: 1; padding: 8px 16px; border-radius: 12px; letter-spacing: -.02em; box-shadow: 0 4px 0 rgba(0,0,0,.12); transition: transform .15s; }
.offerbar__price small { font-weight: 600; font-size: 1rem; opacity: .95; }
.offerbar__price:hover { color: #fff; }
.offerbar__price:hover .offerbar__amount { transform: scale(1.05); }

.notice { background: #FFF6D8; color: #5C4600; font-size: .95rem; text-align: center; padding: 8px 0; border-bottom: 1px solid #F1E2A8; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand img { height: 54px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; padding: 8px 12px; border-radius: 10px; }
.nav a:hover { background: var(--blue-xl); color: var(--blue-d); }
.nav__cta { display: inline-flex; align-items: center; gap: 8px; background: var(--blue) !important; color: #fff !important; margin-left: 8px; white-space: nowrap; }
.nav__cta svg { width: 18px; height: 18px; fill: currentColor; }
.nav__cta:hover { background: var(--blue-d) !important; }
.navtoggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.navtoggle span:not(.sr) { display: block; width: 26px; height: 3px; background: var(--blue-d); border-radius: 2px; margin: 5px 0; }

/* ---------- Buttons / Elemente ---------- */
.btnrow { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 12px; font-weight: 700; text-decoration: none; border: 2px solid var(--blue); transition: .15s; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-d); border-color: var(--blue-d); color: #fff; }
.btn--ghost { background: #fff; color: var(--blue-d); }
.btn--ghost:hover { background: var(--blue-xl); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 800; color: var(--blue); margin-bottom: .7em; }
.eyebrow--light { color: #BFDAF2; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.label { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; color: var(--muted); margin: 1.4em 0 .5em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--blue-xl); color: var(--blue-d); border: 1px solid var(--blue-l); padding: 6px 14px; border-radius: 99px; font-weight: 600; font-size: .92rem; }
.chips--sm .chip { font-size: .82rem; padding: 4px 11px; }
.chips--light .chip { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); color: #fff; }
.checks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .ico { color: var(--blue); margin-top: .15em; }
.checks--light .ico { color: var(--yellow); }
.checks--cols { grid-template-columns: 1fr 1fr; }
.callout { background: var(--blue-xl); border-left: 5px solid var(--blue); padding: 14px 18px; border-radius: 0 12px 12px 0; margin: 1.2em 0; }
.callout strong { color: var(--blue-d); }
.textlink { font-weight: 700; text-decoration: none; display: inline-block; margin-top: 1.2em; }
.plain { list-style: none; margin: 0; padding: 0; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--warm) 0%, #fff 100%); padding: 56px 0 40px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.hero__media { position: relative; }
.hero__media > img { border-radius: 24px; box-shadow: var(--shadow); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.pricecard {
  position: absolute; right: -24px; bottom: -32px; background: #fff; text-decoration: none; color: var(--ink);
  border-radius: 20px; padding: 18px 22px 16px; box-shadow: 0 18px 40px rgba(15,58,94,.22);
  display: grid; min-width: 220px; border: 3px solid var(--blue); transform: rotate(2deg); transition: transform .2s;
}
.pricecard:hover { transform: rotate(0) scale(1.03); color: var(--ink); }
.pricecard__badge { position: absolute; top: -14px; left: 18px; background: var(--yellow); color: var(--blue-dd); font-weight: 800; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border-radius: 99px; }
.pricecard__prod { font-weight: 800; font-size: 1.25rem; color: var(--blue-dd); margin-top: 4px; }
.pricecard__var { color: var(--muted); font-weight: 600; font-size: .92rem; }
.pricecard__price { font-size: 3rem; font-weight: 900; color: var(--blue); line-height: 1; margin-top: 6px; letter-spacing: -.03em; }
.pricecard__price small { font-size: 1.6rem; }
.pricecard__unit { font-size: .85rem; color: var(--muted); }

/* ---------- USP ---------- */
.usp { padding: 40px 0 8px; }
.usp__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.usp__item { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.usp__item .ico { width: 44px; height: 44px; padding: 10px; background: var(--blue-xl); color: var(--blue); border-radius: 12px; }
.usp__item strong { display: block; color: var(--blue-dd); line-height: 1.25; }
.usp__item span { font-size: .9rem; color: var(--muted); }

/* ---------- Herbol-Angebot ---------- */
.offer { padding: 56px 0; }
.offer__grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; align-items: stretch;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-d) 100%); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow);
}
.offer__media { background: #fff; display: flex; align-items: center; }
.offer__media img { width: 100%; height: 100%; object-fit: contain; }
.offer__text { padding: 44px 48px; color: #E9F2FA; }
.offer__text h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 2.9rem); }
.offer__text .chips { margin-bottom: 1.2em; }
.offer__price { display: flex; align-items: center; gap: 18px; margin: 1.2em 0 1.4em; flex-wrap: wrap; }
.offer__amount { background: var(--yellow); color: var(--blue-dd); font-weight: 900; font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 1; padding: 14px 22px; border-radius: 18px; letter-spacing: -.03em; box-shadow: 0 8px 0 rgba(0,0,0,.12); }
.offer__unit { font-weight: 700; color: #fff; font-size: 1.1rem; line-height: 1.35; }
.offer__unit small { font-weight: 500; color: #BFDAF2; font-size: .85rem; }

/* ---------- Sektionen ---------- */
.section { padding: 80px 0; }
.section--tint { background: var(--tint); }
.section--blue { background: var(--blue-d); color: #DCEAF6; }
.section--blue h2, .section--blue h3 { color: #fff; }
.sectionhead { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.sectionhead p:last-child { color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; }
.split__media img, .contact__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.discount {
  position: absolute; right: -16px; top: -16px; width: 128px; height: 128px; border-radius: 50%;
  background: var(--blue); color: #fff; display: grid; place-content: center; text-align: center; box-shadow: 0 12px 30px rgba(15,58,94,.3);
  border: 5px solid #fff; transform: rotate(8deg);
}
.discount span { font-size: 2.4rem; font-weight: 900; line-height: 1; }
.discount small { font-weight: 700; text-transform: uppercase; font-size: .75rem; letter-spacing: .08em; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 8px rgba(23,80,127,.05); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card__body { padding: 20px 22px 24px; }
.card__body p { color: var(--muted); }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); padding: 26px; }
.service .ico { width: 46px; height: 46px; padding: 10px; border-radius: 12px; background: var(--blue); color: #fff; margin-bottom: 14px; }
.service p { margin: 0; font-size: .97rem; }

.team { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.team li { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 8px 20px 8px 8px; font-weight: 600; }
.team__ini { width: 42px; height: 42px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-content: center; font-weight: 800; font-size: .9rem; }

.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.contact__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact__cols .label:first-child { margin-top: 0; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; }
.hours--small { font-size: .95rem; gap: 2px 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-dd); color: #C9DCEE; padding: 56px 0 0; font-size: .97rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1.2fr 1.2fr 1fr 1fr; gap: 32px; }
.site-footer__name, .site-footer__head { color: #fff; font-weight: 800; margin-bottom: .6em; }
.site-footer__head { text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; }
.site-footer .plain li { margin-bottom: 4px; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 18px; padding-bottom: 22px; font-size: .88rem; color: #9FBCD8; }

/* Partner-Hinweis Verlegung */
.partner { margin-top: 32px; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; background: var(--blue-xl); border: 2px solid var(--blue-l); border-radius: var(--radius); padding: 26px 30px; }
.partner__icon .ico { width: 64px; height: 64px; padding: 14px; border-radius: 16px; background: var(--blue); color: #fff; }
.partner h3 { margin-bottom: .4em; }
.partner__text p:last-child { margin: 0; color: var(--muted); }
.partner__btn { white-space: nowrap; }
.section--blue .service a { color: #fff; }

/* Mobile Angebots-Button */
.stickyoffer { display: none; }

/* ---------- Rechtstexte ---------- */
.legal { padding: 60px 0 80px; }
.legal .wrap { max-width: 820px; }
.legal h2 { font-size: 1.35rem; margin-top: 1.8em; }
.legal h3 { font-size: 1.1rem; margin-top: 1.4em; }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .nav a:not(.nav__cta) { padding: 8px 8px; }
  .usp__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .navtoggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0,0,0,.08); }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px; }
  .nav__cta { margin: 8px 0 0; justify-content: center; }
  .hero__grid, .split, .contact, .offer__grid { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .hero { padding-top: 32px; }
  .hero__grid { gap: 52px; }
  .pricecard { right: 12px; bottom: -36px; }
  .cards, .services { grid-template-columns: 1fr 1fr; }
  .offer__text { padding: 32px 26px; }
  .offer__media img { aspect-ratio: 4 / 3; }
  .discount { right: 10px; top: -14px; width: 104px; height: 104px; }
  .discount span { font-size: 2rem; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 60px 0; }
  .partner { grid-template-columns: 1fr; padding: 22px; }
  .partner__btn { white-space: normal; justify-content: center; }
}
@media (max-width: 600px) {
  body { font-size: 16px; padding-bottom: 66px; }
  .brand img { height: 42px; }
  .site-header__in { min-height: 64px; }
  .offerbar__txt { display: none; }
  .offerbar { font-size: 1rem; --bar-box: 38px; }
  .offerbar__in { gap: 12px; padding-top: 12px; padding-bottom: 12px; }
  .offerbar__tag { font-size: .75rem; padding: 5px 11px; }
  .offerbar__amount { font-size: 1.45rem; padding: 7px 12px; }
  .offerbar__price small { font-size: .9rem; }
  .usp__grid, .cards, .services, .contact__cols, .checks--cols, .site-footer__grid { grid-template-columns: 1fr; }
  .pricecard { min-width: 0; padding: 14px 16px 12px; }
  .pricecard__price { font-size: 2.4rem; }
  .btn { width: 100%; justify-content: center; }
  .stickyoffer {
    display: flex; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60; justify-content: space-between; align-items: center;
    background: var(--blue); color: #fff; text-decoration: none; border-radius: 14px; padding: 12px 18px; box-shadow: 0 10px 30px rgba(15,58,94,.35); font-weight: 700;
  }
  .stickyoffer strong { background: var(--yellow); color: var(--blue-dd); padding: 4px 12px; border-radius: 10px; font-size: 1.15rem; font-weight: 900; }
  .stickyoffer:hover { color: #fff; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
@media print {
  .offerbar, .site-header, .stickyoffer, .navtoggle { position: static; }
  .stickyoffer { display: none; }
}
