/* GP Camping Guide — editorial booking-route helper pages
   Brand alignment: F1 red / dark, readable, no dark-pattern “alarm” styling */

:root {
  --bg: #ecedf2;
  --card: #ffffff;
  --text: #1a1a2e;
  --muted: #5c6478;
  --border: #e0e6f0;
  --f1: #e10600;
  --f1dark: #180404;
  --gold: #b8860b;
  --ok: #16803c;
  --warn: #b45309;
  --r: 10px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: #1e3a6e;
}
a:hover {
  color: var(--f1);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #fff;
  padding: 8px 12px;
  z-index: 9999;
}
.skip-link:focus {
  left: 8px;
  top: 8px;
}

.topbar {
  background: var(--f1dark);
  color: #fff;
  padding: 12px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
}
.topbar a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
.topbar a:hover {
  color: #fff;
}
.topbar .brand {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

main {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 16px 64px;
}

h1 {
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  line-height: 1.25;
  margin-bottom: 8px;
}

h2 {
  font-size: 1.15rem;
  margin: 32px 0 12px;
  color: #182238;
}

h3 {
  font-size: 1rem;
  margin: 0 0 8px;
  color: #1a2a4a;
}

p {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 15px;
}
.lead {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 16px;
}

.legal-box {
  background: #f7f2e8;
  border: 1px solid #e8d9b0;
  border-left: 4px solid var(--gold);
  border-radius: var(--r);
  padding: 12px 14px;
  font-size: 12px;
  color: #4a3d20;
  margin-bottom: 20px;
  line-height: 1.5;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 16px;
}
.pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: #334077;
  border: 1px solid #d5ddf5;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0 8px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px;
}
.card.warn {
  border-color: #f0c2c2;
  background: #fff8f8;
}
.card.ok {
  border-color: #b8e0c8;
  background: #f4fbf6;
}
.card h3 {
  display: flex;
  align-items: center;
  gap: 6px;
}
.card .sub {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}
.card ul {
  margin: 0 0 0 18px;
  font-size: 14px;
  color: #2b3247;
}
.card li {
  margin-bottom: 6px;
}

.cta {
  display: inline-block;
  margin-top: 12px;
  background: var(--f1);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 18px;
  border-radius: 9px;
  text-align: center;
  border: none;
  cursor: pointer;
  width: 100%;
  max-width: 420px;
}
.cta:hover {
  filter: brightness(1.05);
  color: #fff !important;
}
.cta-ghost {
  background: #fff;
  color: var(--f1) !important;
  border: 2px solid var(--f1);
}
.cta-ghost:hover {
  background: #fff5f5;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 12px 0 0;
}
.note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}

.faq {
  margin-top: 8px;
}
.faq details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 8px;
}
.faq summary {
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
}
.faq p {
  font-size: 14px;
  margin-top: 8px;
  color: #2b3247;
}

footer.page-foot {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px 40px;
  font-size: 11px;
  color: #888;
  text-align: center;
  line-height: 1.7;
}
footer.page-foot a {
  color: #666;
}
footer.page-foot a:hover {
  color: var(--f1);
}

/* —— Widget (used on live page + can be embedded) —— */
.availability-widget {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin: 16px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
.widget-header h3 {
  font-size: 1rem;
  margin: 0 0 4px;
}
.widget-header .last-updated {
  font-size: 12px;
  color: var(--muted);
}
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.platform-card {
  border-radius: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: #fafbff;
}
.platform-card h4 {
  font-size: 13px;
  margin: 0 0 6px;
  color: #1a2a4a;
}
.badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  background: #eef2ff;
  color: #3a4a7a;
  margin-bottom: 6px;
}
.status-line {
  font-size: 13px;
  font-weight: 600;
  color: #1f2937;
  margin: 4px 0;
}
.muted {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 6px;
}
.widget-actions a {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  background: #f3f4f6;
  color: #1f2937;
  border: 1px solid #e5e7eb;
}
.widget-actions a.primary {
  background: var(--f1);
  color: #fff !important;
  border-color: var(--f1);
}
.widget-actions a.primary:hover {
  filter: brightness(1.05);
}
.insider {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  padding: 12px;
  border-radius: 10px;
  background: #f0f7ff;
  border: 1px solid #cfe4ff;
  font-size: 13px;
}
.storno-box {
  margin-top: 14px;
  padding: 12px;
  border-radius: 10px;
  border: 1px dashed #bfc8df;
  background: #f8f9fc;
  font-size: 13px;
}
.storno-box strong {
  color: #182238;
}

/* —— Schitterhof booking.schitterhof.at live API panel —— */
.ice-api-panel {
  margin: 0 0 20px;
  padding: 14px 14px 16px;
  border-radius: 12px;
  border: 1px solid #c8d6ee;
  background: linear-gradient(180deg, #f5f8ff 0%, #fff 100%);
  min-height: 3rem;
}
.ice-api-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  font-size: 13px;
  color: #1a2a4a;
  margin-bottom: 12px;
}
.ice-updated {
  font-size: 11px;
  font-weight: 600;
  color: #5c6478;
  white-space: nowrap;
}
.ice-event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
.ice-event-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 12px 14px;
  font-size: 13px;
}
.ice-event-card h4 {
  font-size: 14px;
  margin: 0 0 6px;
  color: #111827;
}
.ice-slug {
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
}
.ice-dates {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 8px;
}
.ice-badge-row {
  margin: 0 0 8px;
  font-size: 12px;
}
.ice-soldout {
  display: inline-block;
  background: #fef2f2;
  color: #991b1b;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
}
.ice-ok {
  display: inline-block;
  background: #ecfdf3;
  color: #166534;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
}
.ice-offers {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin: 8px 0 10px;
}
.ice-offers th,
.ice-offers td {
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
  padding: 6px 4px;
}
.ice-offers th {
  color: #6b7280;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
a.ice-book {
  display: inline-block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #fff !important;
  background: var(--f1);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
}
a.ice-book:hover {
  filter: brightness(1.05);
  color: #fff !important;
}
.ice-footnote {
  font-size: 11px;
  color: #6b7280;
  margin: 10px 0 0;
  line-height: 1.45;
}
.ice-loading,
.ice-err {
  font-size: 13px;
  color: #374151;
  margin: 0;
}
.ice-err a {
  font-weight: 600;
}

@media (max-width: 700px) {
  .split {
    grid-template-columns: 1fr;
  }
}

@media print {
  .topbar,
  .cta,
  .widget-actions a {
    display: none;
  }
  body {
    background: #fff;
  }
}
