/* ============================================================
   Sauberland Textilpflege — Design-Tokens (v3, "grün")
   Farbe:   #F7F3EC (Ivory) · #2B231C (Tinte) · #4B7A5B (Salbeigrün)
            #24402F (Tannengrün, dunkel) · #DED4C4 (Leinen) · #FFFFFF
   Typo:    Space Grotesk (Headline, geometrisch/frisch) · Work Sans (Text)
   Formen:  weiche Radien, ruhige Flächen statt Linien
   ============================================================ */

@font-face{
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root{
  --ivory: #F7F3EC;
  --ivory-deep: #F0E9DC;
  --ink: #2B231C;
  --ink-soft: #56493C;
  --rost: #4B7A5B;
  --rost-dunkel: #35573F;
  --wald: #24402F;
  --leinen: #DED4C4;
  --weiss: #FFFFFF;

  --display: 'Poppins', -apple-system, Segoe UI, sans-serif;
  --sans: 'Poppins', -apple-system, Segoe UI, sans-serif;

  --radius-lg: 26px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 16px 32px -18px rgba(43,35,28,0.35);
  --shadow-sm: 0 2px 10px -4px rgba(43,35,28,0.14);

  --maxw: 1080px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--sans);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; }

h1, h2, h3{
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  color: var(--ink);
}
h1{ font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; }
h2{ font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3{ font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }

p{ margin: 0 0 1em; max-width: 62ch; color: var(--ink-soft); }
.lead{ font-size: 1.18rem; color: var(--ink-soft); }

.wrap{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Badge / Kicker ---------- */
.kicker{
  display: inline-flex;
  align-items: center;
  background: var(--leinen);
  color: var(--rost-dunkel);
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* ---------- Betriebsurlaub-Hinweis ---------- */
.urlaub-banner{
  background: var(--rost);
  color: var(--weiss);
  font-size: 1.15rem;
  font-weight: 700;
  padding: 16px 0;
  overflow: hidden;
}
.urlaub-banner[hidden]{ display: none; }
.urlaub-track{
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: urlaub-marquee 20s linear infinite;
}
@keyframes urlaub-marquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce){
  .urlaub-track{
    animation: none;
    padding-left: 0;
    display: block;
    text-align: center;
    white-space: normal;
  }
}

/* ---------- Kopfleiste (Kontaktinfo) ---------- */
.topbar{
  background: var(--ink);
  color: var(--ivory-deep);
  font-size: 0.85rem;
}
.topbar .wrap{
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  padding-top: 10px;
  padding-bottom: 10px;
  justify-content: space-between;
}
.topbar a{ text-decoration: none; }
.topbar a:hover{ color: var(--rost); }
.topbar-item{
  display: inline-flex;
  align-items: center;
}
.topbar-item svg{
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.85;
}

/* ---------- Navigation ---------- */
header.site{
  background: rgba(247,243,236,0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 10;
}
nav.wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
}
.brand img{
  height: 50px;
  width: auto;
  display: block;
}
.brand-name{
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.brand-name em{
  display: block;
  font-style: normal;
  font-size: 0.7rem;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--rost-dunkel);
}
@media (max-width: 480px){
  .brand-name{ display: none; }
}
.navlinks{
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.navlinks a{
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 9px 16px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}
.navlinks a:hover{ background: var(--ivory-deep); color: var(--ink); }
.navlinks a[aria-current="page"]{ background: var(--rost); color: var(--weiss); }
.navtoggle{ display: none; }

@media (max-width: 760px){
  .navtoggle{
    display: block;
    background: var(--ivory-deep);
    border: none;
    border-radius: 999px;
    padding: 9px 16px;
    font-size: 0.9rem;
    font-family: var(--sans);
    font-weight: 500;
    color: var(--ink);
  }
  .navlinks{
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ivory);
    box-shadow: var(--shadow-sm);
    flex-direction: column;
    gap: 4px;
    padding: 10px 28px 18px;
  }
  .navlinks.open{ display: flex; }
  .navlinks a{ width: 100%; padding: 12px 16px; }
  .topbar .wrap{ font-size: 0.78rem; }
}

/* ---------- Hero ---------- */
.hero{ padding: 60px 0 68px; }
.hero .wrap{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 52px;
  align-items: center;
}
.hero figure{
  position: relative;
  margin: 0;
  aspect-ratio: 4/5;
  background: var(--ivory-deep);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero figure::before{
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  background: var(--rost);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.85;
}
.hero figure img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (max-width: 820px){
  .hero figure{ order: -1; max-width: 340px; margin: 0 auto; }
}

.hero-slider{
  position: relative;
  aspect-ratio: 4/5;
  background: var(--ivory-deep);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-slider::before{
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  background: var(--rost);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.85;
}
.hero-slider img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slider img.active{ opacity: 1; }

@media (max-width: 820px){
  .hero .wrap{ grid-template-columns: 1fr; }
  .hero-slider{ order: -1; max-width: 340px; margin: 0 auto; }
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.97rem;
  font-weight: 700;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary{ background: var(--rost); color: var(--weiss); box-shadow: var(--shadow-sm); }
.btn-primary:hover{ background: var(--rost-dunkel); transform: translateY(-1px); }
.btn-ghost{ border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover{ background: var(--ink); color: var(--ivory); }
.btn-invert{ background: var(--ivory); color: var(--wald); }
.btn-invert:hover{ background: var(--weiss); transform: translateY(-1px); }
.btnrow{ display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

/* ---------- Sections ---------- */
section{ padding: 56px 0; }
section.alt{ background: var(--ivory-deep); }
.section-head{ max-width: 62ch; margin-bottom: 32px; }

/* ---------- Leistungen als moderne Cards ---------- */
.servicegrid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.servicegrid-3{ grid-template-columns: repeat(3, 1fr); }
.servicecard{
  background: var(--weiss);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.servicecard:hover{ transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: var(--ivory-deep);
  color: var(--rost-dunkel);
  margin-bottom: 16px;
}
.card-icon svg{ width: 26px; height: 26px; }
.servicecard h3{ margin-bottom: 8px; }
.servicecard p{ margin: 0; font-size: 0.96rem; }
@media (max-width: 820px){
  .servicegrid, .servicegrid-3{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .servicegrid, .servicegrid-3{ grid-template-columns: 1fr; }
}

/* ---------- Preistabelle ---------- */
.pricegroup{
  background: var(--weiss);
  border-radius: var(--radius);
  padding: 30px 30px 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.pricegroup h3{
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--rost-dunkel);
  margin-bottom: 14px;
}
table.prices{
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}
table.prices tr{ border-bottom: 1px solid var(--ivory-deep); }
table.prices tr:last-child{ border-bottom: none; }
table.prices td{ padding: 13px 4px; }
table.prices td:last-child{
  text-align: right;
  font-family: var(--display);
  font-weight: 700;
  color: var(--rost-dunkel);
  white-space: nowrap;
}
.pricenote{ font-size: 0.9rem; color: var(--ink-soft); margin-top: 8px; }

/* ---------- Infoblöcke (Öffnungszeiten, Kontakt) ---------- */
.infogrid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 720px){ .infogrid{ grid-template-columns: 1fr; } }
.infogrid > div{
  background: var(--weiss);
  border-radius: var(--radius);
  padding: 24px 24px;
  box-shadow: var(--shadow-sm);
}
.infogrid h3{
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--rost-dunkel);
  margin-bottom: 10px;
}
.infogrid p{ margin: 0; color: var(--ink); max-width: none; }

/* ---------- Statement-Zeile ---------- */
.pull{
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 46ch;
  margin: 0;
  line-height: 1.35;
}

/* ---------- CTA-Band ---------- */
.band{
  background: var(--wald);
  color: var(--ivory-deep);
  border-radius: var(--radius-lg);
  margin: 0 28px;
  padding: 52px 44px;
}
.band .wrap{ padding: 0; max-width: none; }
.band h2{ color: var(--weiss); }
.band p{ color: var(--ivory-deep); max-width: 52ch; }

/* ---------- Footer ---------- */
footer.site{
  background: var(--ink);
  color: var(--ivory-deep);
  padding: 48px 0 28px;
  margin-top: 24px;
}
footer.site .wrap{
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
}
footer.site h3{
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--leinen);
  margin-bottom: 10px;
}
footer.site p, footer.site a{
  color: var(--ivory-deep);
  text-decoration: none;
  font-size: 0.94rem;
  max-width: none;
}
footer.site a:hover{ color: var(--rost); }
.footer-brand{ font-family: var(--display); font-weight: 700; font-size: 1.25rem; margin-bottom: 8px; }
.copyline{
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 32px;
  padding-top: 18px;
  font-size: 0.8rem;
  color: var(--leinen);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  justify-content: space-between;
}
.legallinks{ display: flex; gap: 18px; }
.legallinks a:hover{ color: var(--rost); }
@media (max-width: 720px){
  footer.site .wrap{ grid-template-columns: 1fr; }
  .band{ margin: 0 16px; padding: 40px 26px; }
}

/* ---------- Rechtstexte (Impressum / Datenschutz) ---------- */
.legal{ max-width: 72ch; }
.legal h2{
  font-size: 1.25rem;
  margin-top: 2em;
}
.legal h2:first-child{ margin-top: 0; }
.legal h3{
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 1.6em 0 0.4em;
}
.legal p, .legal li{ max-width: 70ch; }
.legal ul{ padding-left: 1.2em; color: var(--ink-soft); }
.legal a{ color: var(--rost-dunkel); text-decoration: underline; text-underline-offset: 2px; }
