/* ===== Nexø Rideklub – modern static rebuild ===== */
:root {
  --green-900: #16352a;
  --green-700: #1f4d3a;
  --green-600: #2a6049;
  --gold: #c8a35b;
  --gold-dark: #a9853f;
  --sand: #f5efe4;
  --paper: #faf8f4;
  --ink: #232a26;
  --muted: #5d6b62;
  --line: #e3ddd0;
  --shadow: 0 10px 30px rgba(22, 53, 42, .10);
  --radius: 16px;
  --maxw: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  line-height: 1.15;
  color: var(--green-900);
  font-weight: 600;
  margin: 0 0 .5em;
  letter-spacing: .2px;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.45rem; }

p { margin: 0 0 1.1em; }

a { color: var(--green-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-dark); }

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.section { padding: 76px 0; }
.section--tight { padding: 52px 0; }
.section--sand { background: var(--sand); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--gold-dark);
  font-family: "Inter", sans-serif;
  margin-bottom: 14px;
}

.lead { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  background: var(--green-700);
  color: #fff;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  border: 2px solid var(--green-700);
  cursor: pointer;
  transition: all .2s;
}
.btn:hover { background: var(--green-900); border-color: var(--green-900); color: #fff; transform: translateY(-2px); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--green-900); }
.btn--gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--green-700); }
.btn--ghost:hover { background: var(--green-700); color: #fff; }

/* ===== Header / Nav ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 248, 244, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; font-family: "Cormorant Garamond", serif; font-size: 1.5rem; font-weight: 700; color: var(--green-900); }
.brand img { width: 46px; height: 46px; object-fit: contain; }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links > li { position: relative; }
.nav-links a {
  display: block; padding: 10px 14px; color: var(--ink); font-weight: 500; font-size: .96rem; border-radius: 8px;
}
.nav-links a:hover, .nav-links a.active { color: var(--green-700); background: var(--sand); }

.has-sub > a::after { content: " ▾"; font-size: .7em; color: var(--gold-dark); }
.subnav {
  position: absolute; top: 100%; left: 0; min-width: 210px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); padding: 8px; list-style: none; margin: 8px 0 0;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .18s;
}
.has-sub:hover .subnav, .has-sub:focus-within .subnav { opacity: 1; visibility: visible; transform: translateY(0); }
.subnav a { padding: 9px 12px; font-size: .92rem; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--green-900); margin: 5px 0; transition: .25s; }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 14px 18px;
    max-height: 0; overflow: hidden; transition: max-height .3s ease; box-shadow: var(--shadow);
  }
  .nav-links.open { max-height: 80vh; overflow-y: auto; }
  .nav-links a { padding: 13px 10px; border-radius: 8px; }
  .subnav { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 14px; margin: 0; }
  .has-sub > a::after { content: ""; }
}

/* ===== Hero ===== */
.hero {
  position: relative; color: #fff; text-align: center;
  display: flex; align-items: center; justify-content: center;
  min-height: 78vh; padding: 90px 0;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,53,42,.55), rgba(22,53,42,.78)), url("assets/hero.jpg") center/cover no-repeat;
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; padding: 0 20px; }
.hero h1 { color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.3); margin-bottom: .2em; }
.hero p { font-size: 1.25rem; color: rgba(255,255,255,.92); margin-bottom: 1.8em; }
.hero .badge {
  display: inline-block; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3);
  padding: 6px 18px; border-radius: 999px; font-size: .82rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 22px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== Page header (subpages) ===== */
.page-head { background: var(--green-700); color: #fff; padding: 70px 0 56px; text-align: center; }
.page-head h1 { color: #fff; }
.page-head p { color: rgba(255,255,255,.85); max-width: 60ch; margin: 0 auto; }

/* ===== Layout helpers ===== */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 30px; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; }

.media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.media img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Feature list ===== */
.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li { position: relative; padding: 10px 0 10px 34px; border-bottom: 1px dashed var(--line); }
.feature-list li::before {
  content: "🐎"; position: absolute; left: 0; top: 9px; font-size: 1.05rem;
}

/* ===== Person cards ===== */
.person {
  text-align: center; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 22px; box-shadow: var(--shadow);
}
.person .avatar {
  width: 84px; height: 84px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--green-700); color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: "Cormorant Garamond", serif; font-size: 1.9rem; font-weight: 700;
}
.person .role { color: var(--gold-dark); font-weight: 600; font-size: .9rem; text-transform: uppercase; letter-spacing: 1px; }
.person .tel { display: inline-block; margin-top: 8px; font-weight: 600; }

/* ===== Pricing ===== */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.price {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; text-align: center; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.price.featured { border: 2px solid var(--gold); }
.price h3 { margin: 0 0 6px; }
.price .amount { font-family: "Cormorant Garamond", serif; font-size: 2.6rem; color: var(--green-700); font-weight: 700; line-height: 1; }
.price .per { color: var(--muted); font-size: .85rem; margin-bottom: 14px; }
.price .desc { color: var(--muted); font-size: .95rem; flex: 1; }
.price ul { list-style: none; padding: 0; margin: 12px 0; }
.price ul li { padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }

/* ===== Table ===== */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
table.schedule { width: 100%; border-collapse: collapse; background: #fff; min-width: 480px; }
table.schedule th, table.schedule td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); }
table.schedule th { background: var(--green-700); color: #fff; font-family: "Cormorant Garamond", serif; font-size: 1.15rem; font-weight: 600; }
table.schedule tr:last-child td { border-bottom: 0; }
table.schedule td:first-child { font-weight: 600; color: var(--green-900); white-space: nowrap; }
table.schedule tr:nth-child(even) td { background: var(--sand); }

/* ===== Rules ===== */
.rules { list-style: none; counter-reset: r; padding: 0; margin: 0; }
.rules li { position: relative; padding: 12px 0 12px 44px; border-bottom: 1px solid var(--line); }
.rules li::before {
  counter-increment: r; content: counter(r); position: absolute; left: 0; top: 12px;
  width: 28px; height: 28px; background: var(--sand); color: var(--green-700); border: 1px solid var(--gold);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .82rem; font-weight: 700;
}

/* ===== Forms ===== */
.form { display: grid; gap: 16px; max-width: 600px; }
.form label { font-weight: 600; font-size: .9rem; color: var(--green-900); display: block; margin-bottom: 6px; }
.form input, .form textarea, .form select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; background: #fff; color: var(--ink);
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,163,91,.18); }
.form .check { display: flex; gap: 10px; align-items: flex-start; }
.form .check input { width: auto; margin-top: 5px; }

/* ===== Info / contact ===== */
.info-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.info-row .ic { font-size: 1.3rem; line-height: 1; }
.info-row strong { display: block; color: var(--green-900); }

.social-links { display: flex; gap: 12px; flex-wrap: wrap; }
.social-links a {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
  background: var(--sand); color: var(--green-700); font-weight: 600; border: 1px solid var(--line);
}
.social-links a:hover { background: var(--green-700); color: #fff; }

.notice { background: var(--sand); border-left: 4px solid var(--gold); padding: 16px 20px; border-radius: 0 10px 10px 0; color: var(--muted); font-size: .95rem; }

/* ===== Footer ===== */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.8); padding: 60px 0 28px; margin-top: 0; }
.site-footer h4 { color: #fff; margin-bottom: 16px; font-size: 1.35rem; }
.site-footer a { color: rgba(255,255,255,.8); }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 26px; } }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { padding: 5px 0; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { width: 52px; height: 52px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px; text-align: center; font-size: .85rem; color: rgba(255,255,255,.55); }

/* cookie bar */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200; max-width: 540px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 14px;
  padding: 16px 18px; display: flex; gap: 14px; align-items: center; font-size: .88rem; color: var(--muted);
}
.cookie.hide { display: none; }
.cookie .btn { padding: 9px 18px; font-size: .85rem; white-space: nowrap; }
