/* =========================================================
   Ribe Chronograph – Advertorial
   wildfireways.com
   ========================================================= */

/* Selbst gehostete Schriften (kein Verbindungsaufbau zu Google-Servern,
   keine Übertragung der Besucher-IP an Dritte). */
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("../fonts/playfair-display-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}

:root {
  --ink: #17140f;
  --ink-soft: #3a352c;
  --paper: #f7f3ec;
  --paper-alt: #efe8db;
  --card: #ffffff;
  --wood: #7a4f2d;
  --wood-dark: #4a2f1c;
  --wood-light: #c99a68;
  --accent: #b5732c;
  --accent-dark: #8c561d;
  --line: #e2d8c4;
  --success: #4c6b4f;
  --shadow: 0 12px 30px -14px rgba(23, 20, 15, 0.35);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --maxw: 1120px;
  font-size: 17px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  color: var(--ink);
  line-height: 1.18;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1.1em; }

a { color: var(--accent-dark); }

img { max-width: 100%; display: block; }

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

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 14px;
}

/* ---------- Ad disclosure bar ---------- */
.ad-bar {
  background: var(--ink);
  color: #f3ede1;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 8px 16px;
  position: sticky;
  top: 0;
  z-index: 200;
}
.ad-bar strong {
  color: #ffd9a0;
  text-transform: uppercase;
  margin-right: 6px;
}

/* ---------- Site header ---------- */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 33px;
  z-index: 190;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.publisher-mark {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}
.publisher-mark .dot {
  color: var(--accent);
  margin: 0 1px;
}
.site-header nav {
  display: flex;
  gap: 22px;
  font-size: 13.5px;
}
.site-header nav a {
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.site-header nav a:hover { border-bottom-color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  padding: 48px 0 20px;
}
.hero h1 {
  font-size: clamp(30px, 4.4vw, 46px);
  max-width: 900px;
}
.hero .subhead {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 720px;
  margin-bottom: 22px;
}
.byline {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: #6b6354;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.byline .sep { opacity: 0.5; }
.hero-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 22px;
}
.hero-media img { width: 100%; height: auto; }
.hero-caption {
  font-size: 13.5px;
  color: #7a7263;
  text-align: center;
  margin-top: -10px;
  margin-bottom: 30px;
}

/* ---------- CTA buttons ---------- */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff8ec;
  font-weight: 700;
  font-size: 16.5px;
  text-decoration: none;
  padding: 16px 30px;
  border-radius: 999px;
  box-shadow: 0 14px 26px -10px rgba(140, 86, 29, 0.55);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px -10px rgba(140, 86, 29, 0.65);
}
.cta-btn.secondary {
  background: none;
  color: var(--accent-dark);
  border: 2px solid var(--accent-dark);
  box-shadow: none;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 18px 0 34px;
}
.cta-note {
  font-size: 13px;
  color: #7a7263;
}

/* ---------- Sections ---------- */
section { padding: 46px 0; }
.section-alt { background: var(--paper-alt); }
.section-head { max-width: 720px; margin-bottom: 30px; }
.section-head h2 { font-size: clamp(24px, 3vw, 32px); }
.section-head p { color: var(--ink-soft); font-size: 17px; }

.two-col {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 46px;
  align-items: center;
}
.two-col .media { min-width: 0; }
.two-col .media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.highlights {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.highlights li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px 14px 42px;
  position: relative;
  font-size: 15.5px;
  color: var(--ink-soft);
}
.highlights li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 13px;
  color: var(--accent);
  font-weight: 900;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 30px;
}
.gallery-item {
  position: relative;
  width: 100%;
  padding-bottom: 100%; /* Höhe = eigene Breite, unabhängig vom Grid-Row-Stretching */
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  background: var(--paper-alt);
}
.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Specs table ---------- */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 15.5px;
}
.specs-table tr:not(:last-child) td { border-bottom: 1px solid var(--line); }
.specs-table td { padding: 14px 20px; }
.specs-table td:first-child {
  font-weight: 700;
  color: var(--wood-dark);
  width: 38%;
}

/* ---------- Reviews ---------- */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 26px;
}
.review-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow);
}
.stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 10px; font-size: 15px;}
.review-card p { font-size: 15.5px; color: var(--ink-soft); margin-bottom: 12px; }
.review-name { font-weight: 700; font-size: 14.5px; }
.review-source { font-size: 12.5px; color: #8a8272; }

/* ---------- Quiz ---------- */
.quiz-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 48px);
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid var(--line);
}
.quiz-progress {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
}
.quiz-progress span {
  height: 5px;
  flex: 1;
  border-radius: 4px;
  background: var(--line);
  transition: background 0.3s;
}
.quiz-progress span.done { background: var(--accent); }
.quiz-step { display: none; }
.quiz-step.active { display: block; animation: fadein 0.35s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.quiz-kicker {
  font-size: 13px;
  color: var(--accent-dark);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.quiz-question { font-family: "Playfair Display", Georgia, serif; font-size: 23px; margin-bottom: 20px; }
.quiz-options {
  display: grid;
  gap: 12px;
}
.quiz-option {
  text-align: left;
  background: var(--paper-alt);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 15px 18px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
  font-family: inherit;
}
.quiz-option:hover {
  border-color: var(--accent);
  background: #fdf6ec;
  transform: translateX(2px);
}
.quiz-result { text-align: center; }
.quiz-result .badge {
  display: inline-block;
  background: var(--success);
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  margin-bottom: 16px;
}
.quiz-result h3 { font-size: 26px; margin-bottom: 10px; }
.quiz-result p { color: var(--ink-soft); font-size: 16.5px; }
.quiz-restart {
  display: inline-block;
  margin-top: 14px;
  font-size: 13.5px;
  color: #8a8272;
  cursor: pointer;
  text-decoration: underline;
  background: none;
  border: none;
  font-family: inherit;
}

/* ---------- Service grid ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.service-item {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.service-item .icon { font-size: 28px; margin-bottom: 10px; }
.service-item h4 { font-size: 15.5px; margin-bottom: 6px; }
.service-item p { font-size: 13.5px; color: #7a7263; margin: 0; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  padding: 4px 20px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 16px 0;
  list-style: none;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 14px;
  font-size: 22px;
  color: var(--accent);
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding-bottom: 16px; margin: 0; color: var(--ink-soft); font-size: 15.5px; }

/* ---------- Final CTA ---------- */
.final-cta {
  background: linear-gradient(135deg, var(--wood-dark), var(--ink));
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  text-align: center;
  color: #f7f0e3;
}
.final-cta h2 { color: #fff; font-size: clamp(24px, 3.4vw, 34px); }
.final-cta p { color: #d8cdb8; max-width: 560px; margin: 0 auto 22px; }
.final-cta .cta-row { justify-content: center; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 250;
  background: var(--card);
  border-top: 1px solid var(--line);
  padding: 10px 16px;
  display: none;
  box-shadow: 0 -10px 24px -10px rgba(0,0,0,0.2);
}
.sticky-cta .cta-btn { width: 100%; justify-content: center; }
.sticky-cta.show { display: block; }

/* ---------- Footer ---------- */
footer {
  background: var(--ink);
  color: #cfc6b4;
  padding: 44px 0 30px;
  font-size: 13.5px;
}
footer h5 {
  color: #f3ede1;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 16px;
  margin-bottom: 10px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 26px;
}
footer a { color: #e3d9c3; text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 8px; }
.footer-disclaimer {
  border-top: 1px solid #3a352c;
  padding-top: 20px;
  color: #a89e8a;
  line-height: 1.7;
}
.footer-disclaimer p { margin-bottom: 10px; font-size: 12.8px; }
.no-cookies {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #241f16;
  border: 1px solid #4a2f1c;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12.5px;
  color: #ffd9a0;
  margin-bottom: 16px;
}
.footer-bottom {
  margin-top: 18px;
  color: #7d7462;
  font-size: 12px;
}

/* ---------- Legal pages ---------- */
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.legal-page h1 { font-size: 32px; margin-bottom: 6px; }
.legal-page .updated { color: #8a8272; font-size: 13.5px; margin-bottom: 30px; }
.legal-page h2 { font-size: 20px; margin-top: 34px; }
.legal-page p, .legal-page li { color: var(--ink-soft); font-size: 15.5px; }
.legal-page ul { padding-left: 20px; }
.legal-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 18px 0;
}
.back-link { display: inline-block; margin-top: 30px; font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .two-col { grid-template-columns: 1fr; gap: 24px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .highlights { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
  .site-header nav { gap: 14px; font-size: 12.5px; }
  .sticky-cta { display: block; }
}
@media (max-width: 520px) {
  :root { font-size: 16px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-btn { justify-content: center; }
}
