/* =========================================================
   Bettfedernreinigung Saarland – Ratgeber
   Warmes Papier, Terrakotta, Bitter + Source Sans 3 wie die Startseite.
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --paper: #faf7f2;
  --paper-warm: #f5efe3;
  --paper-deep: #ebe2d0;
  --white: #fffdf9;
  --ink: #2d2a26;
  --ink-soft: #4a4540;
  --terracotta: #c0634a;
  --terracotta-deep: #9e4a35;
  --terracotta-soft: rgba(192, 99, 74, .1);
  --sage: #5d6a4b;
  --line: rgba(45, 42, 38, .13);
  --line-strong: rgba(45, 42, 38, .25);
  --ff-display: 'Bitter', Georgia, serif;
  --ff-body: 'Source Sans 3', -apple-system, system-ui, sans-serif;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--paper); color: var(--ink); font-family: var(--ff-body); font-size: 1.1875rem; line-height: 1.75; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
@media (min-width: 900px) { body { font-size: 1.25rem; } }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--terracotta-deep); }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; border-radius: 3px; }
.skip { position: absolute; left: -9999px; top: .5rem; background: var(--terracotta-deep); color: #fff; padding: .6rem 1rem; border-radius: 6px; z-index: 999; }
.skip:focus { left: 1rem; }
.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }

/* Kopf */
.topnav { position: sticky; top: 0; z-index: 50; background: rgba(250, 247, 242, .97); border-bottom: 1px solid var(--line); }
.topnav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--ink); text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 8px; }
.brand strong { display: block; font-family: var(--ff-display); font-weight: 600; font-size: 1.05rem; line-height: 1.15; }
.brand small { display: block; font-size: .85rem; color: var(--ink-soft); letter-spacing: .06em; text-transform: uppercase; }
.top-right { display: flex; align-items: center; gap: 1.3rem; }
.top-right a { color: var(--ink); font-weight: 600; text-decoration: none; }
.top-right .top-cta { background: var(--terracotta-deep); color: #fff; padding: .75rem 1.3rem; border-radius: 999px; min-height: 48px; display: inline-flex; align-items: center; }
.top-right .top-cta:hover { background: #87392a; }
@media (max-width: 600px) { .top-right .top-cta { display: none; } }

/* Kopf des Artikels: zentriert wie die bestehenden Saarland-Ratgeber */
.head { text-align: center; padding: clamp(1.4rem, 4vw, 2.2rem) 0 clamp(2rem, 5vw, 3rem); }
.crumbs { font-size: 1rem; color: var(--ink-soft); margin-bottom: clamp(1.4rem, 4vw, 2.4rem); }
.crumbs a { color: var(--ink-soft); }
.crumbs span[aria-hidden] { margin: 0 .5rem; }
.head h1 { font-family: var(--ff-display); font-weight: 600; font-size: clamp(2.3rem, 5.4vw, 3.9rem); line-height: 1.1; letter-spacing: -.02em; max-width: 18em; margin-inline: auto; text-wrap: balance; }
.head h1 em { font-style: italic; font-weight: 500; color: var(--terracotta-deep); }
.dek { font-size: clamp(1.2rem, 2vw, 1.38rem); color: var(--ink-soft); margin: 1.2rem auto 0; max-width: 36em; }
.meta { display: flex; justify-content: center; flex-wrap: wrap; gap: .3rem 1.4rem; margin-top: 1.2rem; font-size: 1rem; color: var(--ink-soft); }
.head-img { margin-top: clamp(2rem, 5vw, 3rem); }
.head-img img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: center 35%; border-radius: 18px; }
.head-img figcaption { font-size: 1rem; color: var(--ink-soft); margin-top: .6rem; text-align: left; }

/* Kurzantwort */
.short { max-width: 46rem; margin: 0 auto; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.5rem, 4vw, 2.2rem); }
.short h2 { font-family: var(--ff-display); font-size: 1.1rem; font-weight: 600; color: var(--terracotta-deep); margin-bottom: .5rem; }
.short p { font-family: var(--ff-display); font-size: clamp(1.2rem, 2.1vw, 1.4rem); line-height: 1.55; }

/* Artikel: eine ruhige Spalte */
.article { max-width: 46rem; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4rem) 0; }
.toc { border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); padding: 1.1rem 0; font-size: 1.05rem; }
.toc h2 { font-family: var(--ff-display); font-size: 1.1rem; font-weight: 600; margin-bottom: .4rem; }
.toc ol { padding-left: 1.4rem; display: grid; gap: .2rem; }
.toc li::marker { color: var(--terracotta-deep); font-weight: 700; }
.toc a { color: var(--ink-soft); text-decoration: none; }
.toc a:hover { color: var(--terracotta-deep); text-decoration: underline; }

.prose > * + * { margin-top: 1.15rem; }
.prose h2 { font-family: var(--ff-display); font-weight: 600; font-size: clamp(1.75rem, 3.3vw, 2.25rem); line-height: 1.2; letter-spacing: -.01em; margin-top: 3.4rem; scroll-margin-top: 6.5rem; text-wrap: balance; }
.prose h2 em { font-style: italic; color: var(--terracotta-deep); font-weight: 500; }
.prose h3 { font-family: var(--ff-display); font-weight: 600; font-size: 1.35rem; margin-top: 2rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose strong { color: var(--ink); }
.prose a { font-weight: 600; text-underline-offset: 3px; }
.prose ul { padding-left: 1.3rem; display: grid; gap: .5rem; }
.prose ul li::marker { color: var(--terracotta); }

/* Umschalter Maschine / Werkstatt */
.switch { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.2rem, 3vw, 1.8rem); margin-top: 1.6rem !important; }
.switch [role="tablist"] { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; background: var(--paper-warm); border-radius: 999px; padding: .35rem; }
.switch [role="tab"] { font: inherit; font-weight: 700; font-size: 1.05rem; border: 0; border-radius: 999px; background: transparent; color: var(--ink-soft); padding: .7rem .8rem; min-height: 52px; cursor: pointer; }
.switch [role="tab"][aria-selected="true"] { background: var(--ink); color: #fff; }
.switch [role="tabpanel"] { margin-top: 1.2rem; }
.switch [role="tabpanel"][hidden] { display: none; }
.facts { list-style: none; padding: 0 !important; display: grid; gap: 0 !important; }
.facts li { display: grid; grid-template-columns: 2.2rem 1fr; gap: .8rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.facts li:last-child { border-bottom: 0; }
.facts svg { width: 1.7rem; height: 1.7rem; margin-top: .2rem; }
.facts .bad svg { color: var(--terracotta-deep); }
.facts .good svg { color: var(--sage); }
@media (prefers-reduced-motion: no-preference) { .switch [role="tabpanel"].show { animation: fadein .3s ease both; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

/* Ausnahme */
.exception { background: var(--paper-warm); border-radius: 16px; padding: 1.3rem 1.5rem; }
.exception .lbl { display: block; font-family: var(--ff-display); font-weight: 600; color: var(--sage); margin-bottom: .3rem; }

/* Rechnung pro Nacht */
.per-night { background: var(--ink); color: #f5efe3; border-radius: 22px; padding: clamp(1.6rem, 4vw, 2.4rem); display: grid; gap: 1.4rem; align-items: center; }
@media (min-width: 700px) { .per-night { grid-template-columns: auto 1fr; } }
.per-night .big { font-family: var(--ff-display); font-size: clamp(3rem, 8vw, 4.6rem); line-height: 1; font-weight: 600; color: #f0b8a6; white-space: nowrap; }
.per-night .big small { display: block; font-family: var(--ff-body); font-size: 1rem; font-weight: 600; color: #e9dfcf; margin-top: .5rem; }
.per-night p { color: #e9dfcf !important; margin: 0; }
.per-night strong { color: #fff !important; }
.calc { font-size: 1rem; color: #d8cdbb !important; margin-top: .6rem !important; }

/* Nähe: Saarland – Pfalz */
.near { margin: 2rem 0 !important; }
.near svg { width: 100%; height: auto; background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.near figcaption { font-size: 1rem; color: var(--ink-soft); margin-top: .6rem; }

/* Preise */
.prices { border-top: 2px solid var(--ink); margin-top: 1.4rem !important; }
.prices div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .3rem 1rem; padding: .95rem 0; border-bottom: 1px solid var(--line); }
.prices span { color: var(--ink-soft); }
.prices b { font-family: var(--ff-display); font-size: 1.55rem; font-weight: 600; white-space: nowrap; }
.prices b.open { font-family: var(--ff-body); font-size: 1.05rem; }

/* CTA */
.cta { background: var(--terracotta-deep); color: #fff; border-radius: 22px; padding: clamp(1.8rem, 5vw, 2.8rem); margin-top: 3.2rem !important; }
.cta h2 { color: #fff; margin: 0 !important; }
.cta p { color: #fbe6df !important; margin-top: .8rem; }
.btn { display: inline-flex; align-items: center; gap: .6rem; min-height: 3.5rem; padding: .9rem 1.8rem; margin-top: 1.4rem; background: var(--paper); color: var(--terracotta-deep) !important; font-weight: 700; font-size: 1.1rem; border-radius: 999px; text-decoration: none; transition: transform .2s, background .2s; }
.btn:hover { background: #fff; transform: translateY(-2px); }
.btn svg { width: 1.15rem; height: 1.15rem; }
.cta .alt { font-size: 1.02rem; }
.cta .alt a { color: #fff; font-weight: 700; }

/* FAQ */
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; font-family: var(--ff-display); font-weight: 600; font-size: 1.22rem; line-height: 1.35; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--ff-body); font-size: 1.7rem; line-height: 1; color: var(--terracotta-deep); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > p { margin: 0 0 1.2rem; }

/* Fuß */
.foot { background: var(--ink); color: #e9dfcf; padding: 2.6rem 0 6.5rem; font-size: 1rem; text-align: center; }
@media (min-width: 880px) { .foot { padding-bottom: 2.6rem; } }
.foot .wrap { display: grid; gap: .9rem; justify-items: center; }
.foot strong { font-family: var(--ff-display); color: #fff; font-size: 1.15rem; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.4rem; }
.foot a { color: #fff; }

.sticky { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 60; display: flex; justify-content: center; background: var(--terracotta-deep); color: #fff; font-weight: 700; padding: 1rem; border-radius: 999px; text-decoration: none; box-shadow: 0 10px 28px rgba(158, 74, 53, .35); }
@media (min-width: 880px) { .sticky { display: none; } }
.top-right a { white-space: nowrap; }
@media (max-width: 400px) { .brand strong { font-size: .98rem; } }

/* Kopfzeile: Kontakt und Telefon, auf dem Handy als runde Symbol-Buttons */
.hdr-ico { display: inline-flex; align-items: center; gap: .45rem; min-height: 48px; }
.hdr-ico svg { width: 1.15rem; height: 1.15rem; flex: none; color: var(--terracotta-deep); }
.hdr-ico[aria-current] span { text-decoration: underline; text-underline-offset: .25em; }
@media (max-width: 700px) {
  .top-right { gap: .6rem; }
  .hdr-ico { width: 48px; height: 48px; justify-content: center; border: 1.5px solid var(--line-strong); border-radius: 50%; }
  .hdr-ico span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hdr-ico svg { width: 1.3rem; height: 1.3rem; }
}
