/* =========================================================
   RichardReistMee — stylesheet
   Design language: "De Reisroute" — a calm travel-route motif.
   Built for readability first: large type, high contrast,
   generous tap targets. Audience is primarily older adults.
   ========================================================= */

:root {
  /* Color tokens */
  --teal-900: #29476f;   /* headings, header/footer bg */
  --teal-700: #29476f;   /* primary brand / buttons */
  --teal-600: #35608f;   /* hover state */
  --teal-100: #e6f1f6;   /* soft section tint */
  --gold-600: #c42b27;   /* accent, on-light text (AA on cream) */
  --gold-500: #e13935;   /* accent, decorative */
  --gold-100: #fdeceb;   /* soft accent tint */
  --cream:    #f7f9fb;   /* page background */
  --ink:      #1e2a3a;   /* body text */
  --ink-soft: #44526a;   /* secondary text */
  --white:    #ffffff;
  --blue:     #1880a6;   /* title texts, from the original site */
  --line:     #d5dde5;   /* hairline borders */
  --focus:    #c42b27;

  /* Type */
  --font-display: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Fluid-ish base size, adjustable by the on-page A+ / A- control */
  --step: 0;
  --base-size: 19px;
  font-size: calc(var(--base-size) + (var(--step) * 2px));

  --radius: 14px;
  --shadow: 0 6px 24px rgba(18, 51, 58, 0.10);
}

/* =====================
   Reset / base
   ===================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--blue);
  line-height: 1.25;
  margin: 0 0 0.6em 0;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem); }

p { margin: 0 0 1.1em 0; max-width: 65ch; }
ul, ol { margin: 0 0 1.1em 0; padding-left: 1.4em; }
li { margin-bottom: 0.5em; }

a {
  color: var(--teal-700);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
@media (hover: hover) { a:hover { color: var(--gold-600); } }

/* Strong, visible focus ring everywhere — essential for older users
   and keyboard/assistive-tech users alike. Never remove outline
   without replacing it. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}


.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.4rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* =====================
   Buttons
   ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  padding: 0.95em 1.6em;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  min-height: 48px;
  line-height: 1.2;
}
.btn-primary {
  background: var(--teal-700);
  color: var(--white);
}
@media (hover: hover) { .btn-primary:hover { background: var(--teal-600); color: var(--white); } }
.btn-secondary {
  background: transparent;
  color: var(--teal-900);
  border-color: var(--teal-900);
}
@media (hover: hover) { .btn-secondary:hover { background: var(--teal-100); color: var(--teal-900); } }
.btn-block { width: 100%; justify-content: center; }

/* =====================
   Header
   ===================== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.4rem;
  max-width: 1080px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--teal-900);
}
@media (hover: hover) { .brand:hover { color: var(--teal-900); } }
.brand-logo { height: 64px; width: auto; max-width: 220px; flex: none; object-fit: contain; }
.brand-fallback { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--teal-900); }
.brand-fallback[hidden] { display: none; }
.portrait { border-radius: var(--radius); box-shadow: var(--shadow); max-width: 300px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--teal-900);
}
.brand-tagline {
  font-size: 0.82rem;
  color: var(--gold-600);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.text-tools {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem;
  background: var(--cream);
}
.text-tools button {
  border: none;
  background: transparent;
  min-width: 40px;
  min-height: 40px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  color: var(--teal-900);
  font-family: var(--font-body);
}
@media (hover: hover) { .text-tools button:hover { background: var(--teal-100); } }
.text-tools .lbl { font-size: 0.78rem; color: var(--ink-soft); padding: 0 0.3rem; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5em;
  background: var(--teal-700);
  color: var(--white);
  border: none;
  padding: 0.7em 1.1em;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 48px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: inline-block;
  padding: 0.6em 0.1em;
  color: var(--teal-900);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 3px solid transparent;
}
.main-nav a[aria-current="page"] {
  border-bottom-color: var(--gold-500);
  color: var(--teal-900);
}
@media (hover: hover) {
  .main-nav a:hover { border-bottom-color: var(--gold-500); color: var(--teal-900); }
}

.header-row2 {
  border-top: 1px solid var(--line);
  background: var(--teal-100);
}

@media (max-width: 780px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none;
    width: 100%;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1.4rem 1rem;
  }
  .main-nav a { display: block; padding: 0.9em 0.2em; border-bottom: 1px solid var(--line); }
  .header-bar { flex-wrap: wrap; }
  .text-tools { order: 3; margin-left: auto; }
}

/* =====================
   Hero
   ===================== */
.hero {
  background: linear-gradient(180deg, var(--teal-100) 0%, var(--cream) 100%);
  padding: 3.2rem 0 3rem;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: var(--gold-100);
  color: var(--gold-600);
  font-weight: 700;
  padding: 0.4em 0.9em;
  border-radius: 999px;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.hero h1 { margin-bottom: 0.5em; }
.hero-lead { font-size: 1.2rem; color: var(--ink-soft); }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; }
.hero-art { width: 100%; }

/* =====================
   Route / signature motif
   used across "how it works" and hero
   ===================== */
.route-steps {
  position: relative;
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
}
.route-steps::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 12px;
  bottom: 12px;
  width: 3px;
  background-image: linear-gradient(var(--gold-500) 60%, transparent 0%);
  background-size: 3px 14px;
  background-repeat: repeat-y;
}
@media (max-width: 620px) {
  .route-steps::before { left: 23px; }
}
.route-step {
  position: relative;
  padding-left: 4.6rem;
  margin-bottom: 2.4rem;
}
@media (max-width: 620px) {
  .route-step { padding-left: 3.8rem; }
}
.route-step:last-child { margin-bottom: 0; }
.route-step .marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--teal-700);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  box-shadow: var(--shadow);
}
@media (max-width: 620px) {
  .route-step .marker { width: 46px; height: 46px; font-size: 1.1rem; }
}
.route-step h3 { margin-bottom: 0.35em; }

/* =====================
   Sections / cards
   ===================== */
.section { padding: 3.2rem 0; }
.section-tint { background: var(--teal-100); }
.section-head { max-width: 62ch; margin-bottom: 2rem; }
.section-head p { color: var(--ink-soft); }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}
@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 0.4em; }
.card p:last-child { margin-bottom: 0; }
.card .icon {
  width: 48px; height: 48px; margin-bottom: 1rem; color: var(--teal-700);
}

.quote-card {
  background: var(--white);
  border-left: 5px solid var(--gold-500);
  border-radius: 10px;
  padding: 1.6rem 1.8rem;
  box-shadow: var(--shadow);
}
.quote-card p { font-style: italic; margin-bottom: 0.6em; }
.quote-card cite { font-style: normal; font-weight: 700; color: var(--teal-900); }

.callout {
  background: var(--teal-900);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}
.callout h2 { color: var(--white); margin-bottom: 0.3em; }
.callout p { color: #e3ebf4; margin-bottom: 0; }
.callout .btn-primary { background: var(--gold-500); }
@media (hover: hover) { .callout .btn-primary:hover { background: var(--gold-600); } }

/* Trust strip */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2.4rem;
  align-items: center;
  padding: 1.4rem 0;
  color: var(--ink-soft);
  font-weight: 600;
}
.trust-strip span { display: inline-flex; align-items: center; gap: 0.5em; }
.trust-strip svg { width: 22px; height: 22px; color: var(--teal-700); flex: none; }

/* =====================
   Forms
   ===================== */
.form-field { margin-bottom: 1.4rem; }
.form-field label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.4em;
  color: var(--teal-900);
}
.form-field .hint { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 0.5em; }
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  font: inherit;
  font-size: 1.05rem;
  padding: 0.85em 1em;
  border: 2px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--teal-700);
}
.form-field.has-error input,
.form-field.has-error textarea {
  border-color: #b3261e;
}
.error-text {
  color: #8f1f18;
  font-weight: 700;
  font-size: 0.92rem;
  margin-top: 0.35em;
  display: none;
}
.form-field.has-error .error-text { display: block; }
.required-mark { color: var(--gold-600); }
fieldset { border: 2px solid var(--line); border-radius: 10px; padding: 1rem 1.2rem; margin: 0 0 1.4rem; }
legend { font-weight: 700; color: var(--teal-900); padding: 0 0.4em; }
.radio-row { display: flex; align-items: center; gap: 0.6em; margin-bottom: 0.6em; font-size: 1.05rem; }
.radio-row input { width: 22px; height: 22px; }

/* Honeypot field — hidden from real users, catches simple bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-status {
  border-radius: 10px;
  padding: 1rem 1.2rem;
  font-weight: 700;
  margin-bottom: 1.4rem;
  display: none;
}
.form-status.is-success { display: block; background: #e2f2e6; color: #1e5c30; border: 1px solid #a9d8b4; }
.form-status.is-error { display: block; background: #fbe6e4; color: #8f1f18; border: 1px solid #f0b3ac; }

/* =====================
   Footer
   ===================== */
.site-footer {
  background: var(--teal-900);
  color: #dbe5f0;
  padding: 2.8rem 0 1.6rem;
  margin-top: 3rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.site-footer h2, .site-footer h3 { color: var(--white); }
.site-footer a { color: #d6e6f5; }
@media (hover: hover) { .site-footer a:hover { color: var(--gold-500); } }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.2rem;
  font-size: 0.9rem;
  color: #a9c1bf;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  justify-content: space-between;
}
.footer-bottom a { color: #a9c1bf; }

/* =====================
   Page hero (inner pages)
   ===================== */
.page-hero {
  background: var(--teal-100);
  padding: 2.6rem 0;
  border-bottom: 1px solid var(--line);
}
.breadcrumb { font-size: 0.95rem; color: var(--ink-soft); margin-bottom: 0.8rem; }
.breadcrumb a { color: var(--ink-soft); }

/* =====================
   Utility
   ===================== */
.stack-gap > * + * { margin-top: 1.1rem; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

/* Signature motif from the flyer: Richard > Reist > Mee > */
.route-words { display:flex; flex-wrap:wrap; align-items:center; gap:.3rem .7rem; font-family:var(--font-display); font-weight:700; font-style:italic; font-size:clamp(1.3rem,1rem + 1.4vw,1.9rem); color:var(--teal-700); margin:0 0 1.2rem; }
.route-words svg { width:1.6em; height:.8em; color:var(--gold-500); flex:none; }
.promise { display:inline-block; background:var(--teal-900); color:var(--white); font-weight:700; padding:.7em 1.2em; border-radius:10px; margin-top:1.2rem; }
.review-meta { color:var(--ink-soft); font-size:.95rem; margin-top:1.2rem; }
details.review-full { margin-top:1.6rem; background:var(--white); border:1px solid var(--line); border-radius:var(--radius); padding:1rem 1.4rem; }
details.review-full summary { cursor:pointer; font-weight:700; color:var(--teal-900); min-height:44px; display:flex; align-items:center; }
details.review-full[open] summary { margin-bottom:1rem; }
.contact-big { font-size:1.4rem; font-weight:700; }
.route-step .marker.year { font-size: 0.95rem; }
[hidden] { display: none !important; }
blockquote.quote-card { margin: 0; }
.brand-fallback { white-space: nowrap; display: inline-flex; align-items: center; gap: 0.35em; }

.brand-logo { height: 68px; }
@media (max-width: 780px) { .brand-logo { height: 54px; } }
.hero-logo { width: 100%; max-width: 220px; margin: 0 auto; border-radius: 50%; }
.footer-words { display:flex; flex-wrap:wrap; align-items:center; gap:.2rem .5rem; font-family:var(--font-display); font-style:italic; color:var(--white); margin:0 0 .8em; font-size:1.4rem; }
.footer-words svg { width:1.4em; height:.7em; color:var(--gold-500); }
.promise { background: var(--gold-500); }
.route-words { color: var(--teal-700); }
.brand-logo { height: 80px; }
@media (max-width: 780px) { .brand-logo { height: 64px; } }

/* Phone number inside the dark blue contact bar: always clearly visible */
.callout a.tel-link { color: var(--white); text-decoration: underline; text-decoration-thickness: 2px; white-space: nowrap; }
@media (hover: hover) { .callout a.tel-link:hover { color: #ffd9d8; } }
.site-footer a:active, .callout a.tel-link:active { color: var(--white); }
