/* ==================================================================
   golfpro0711.de – Seitenleiste links, Abschnitte mit Textspalte + Bildspalte
   ================================================================== */

@font-face { font-family: "Montserrat"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("/assets/fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("/assets/fonts/lato-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("/assets/fonts/lato-latin-700-normal.woff2") format("woff2"); }

:root {
  --green-dark: #0B2212;   /* Seitenleiste, Fuß */
  --amber: #F4AD24;        /* Akzent, Buttons, aktive Navigation */
  --amber-text: #8A5A00;   /* Amber in lesbarer Stärke für Links auf hellem Grund */
  --heading: #48544B;
  --text: #5B6363;         /* bisher #697272, minimal dunkler für Kontrast ≥ 4,5:1 */
  --muted: #9AA3A3;        /* Fußzeile */
  --big-title: #CCCCCC;
  --dark-col: #0C0C0C;
  --dark-text: #C4C4C4;
  --grey-col: #E5E5E5;
  /* Bisher weiße Schrift auf Amber (Kontrast 1,9:1). Dunkelgrün erreicht > 8:1.
     Wer exakt den alten Look will: --btn-text: #fff */
  --btn-text: #0B2212;
  --sidebar-w: 220px;
  --font-head: "Montserrat", Arial, Helvetica, sans-serif;
  --font-body: "Lato", Arial, Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font-body); font-size: 15px; line-height: 2.13; color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; }
a { color: var(--amber-text); }
a:hover { color: #000; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); font-weight: 700; }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 50; background: var(--amber); color: #000; padding: .5rem 1rem; }
.skip-link:focus { top: 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Seitenleiste ---------- */
.sidebar {
  position: fixed; inset: 0 auto 0 0; width: var(--sidebar-w); z-index: 20;
  background: var(--green-dark); display: flex; flex-direction: column; align-items: stretch;
  overflow-y: auto;
}
.sidebar-logo { display: flex; justify-content: center; padding: 60px 0; }
.sidebar-logo img { width: 80px; height: auto; display: block; }
.side-nav { list-style: none; margin: 0; padding: 0; }
.side-nav li { border-bottom: 1px solid rgba(255,255,255,.1); }
.side-nav a {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 40px 0 27px; text-decoration: none;
  font-family: var(--font-head); font-weight: 700; font-size: 15px; line-height: 1.2; color: #8E9999;
}
.side-nav svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.side-nav svg.icon-fill { fill: currentColor; stroke: none; }
.side-nav a:hover, .side-nav a[aria-current="true"] { color: var(--amber); }
.sidebar-deco { display: block; width: 60px; height: auto; margin: 60px auto; }

/* Footer auch bei kurzen Seiten (Danke, Fehler) am unteren Rand */
.page { margin-left: var(--sidebar-w); min-height: 100vh; display: flex; flex-direction: column; }
.page > main { flex: 1; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(rgba(0,0,0,.18), rgba(0,0,0,.18)),
              url("/assets/uploads/2024/06/richard-brutyo-HQXFhq8FNJ8-unsplash-1-scaled.jpg") center / cover no-repeat;
  color: #fff;
}
.hero-inner { padding: 80px 14%; }
.hero h1 { margin: 0; font-size: clamp(29px, 5vw, 72px); line-height: 1.2; color: #fff; }
.hero-sub { margin: 40px 0 70px; font-family: var(--font-head); font-weight: 700; font-size: 16px; letter-spacing: 2px; line-height: 1.4; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 29px;
  background: var(--amber); color: var(--btn-text); border: 0; border-radius: 2px;
  font-family: var(--font-body); font-weight: 700; font-size: 14px; line-height: 1.2;
  text-decoration: none; cursor: pointer;
}
.hero .btn { font-size: 18px; min-height: 55px; padding: 0 40px; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { background: #E39C14; color: var(--btn-text); }

/* ---------- Abschnitte ---------- */
.section { display: flex; }
.section-text { flex: 0 0 60%; padding: 115px 6%; }
.section-image { flex: 1 1 40%; background-size: cover; background-position: center; min-height: 320px; }
.img-golf    { background-image: url("/assets/uploads/2024/06/peter-drew-SzSNFsD3wOI-unsplash-scaled.jpg"); }
.img-about   { background-image: url("/assets/uploads/2026/07/DSC_2728-scaled.jpg"); }
.img-booking { background-image: url("/assets/uploads/2024/06/sydney-rae-_-6iQvIunqA-unsplash.jpg"); }
.img-contact { background-image: url("/assets/uploads/2024/06/viktor-ritsvall-BIMH6-TlAMQ-unsplash-scaled.jpg"); }

.big-title { margin: 0; font-size: clamp(35px, 7.6vw, 110px); line-height: 1; color: var(--big-title); letter-spacing: -1px; }
.kicker { margin: 20px 0 46px; font-family: var(--font-head); font-weight: 700; font-size: clamp(24px, 2.5vw, 36px); line-height: 1.5; letter-spacing: 2px; text-transform: uppercase; color: var(--heading); }
.section .lead { margin-bottom: 30px; font-size: 19px; font-style: italic; line-height: 1.95; letter-spacing: 1px; }
/* „Wann“, „Honorar“: bisher fette Zeilen in Textgröße */
.section h3 { margin: 0 0 20px; font-family: var(--font-body); font-size: 15px; line-height: inherit; color: var(--text); }
.section p { margin: 0 0 20px; }
.section .btn-row { margin-top: 44px; }

.section--dark .section-text { background: var(--dark-col); color: var(--dark-text); }
.section--dark .big-title { color: #5C6A6A; }
.section--dark .kicker { color: #fff; }
.stations { margin: 0 0 35px; padding-left: 40px; }
.about-photo { display: block; margin: 0 0 20px; width: 100%; }

.section-text--grey { background: var(--grey-col); }

/* ---------- Formular ---------- */
.form { margin-top: 30px; display: grid; gap: 30px; }
.field { display: grid; gap: 4px; }
.form input, .form textarea {
  width: 100%; font: inherit; font-size: 15px; line-height: 1.5; color: #333;
  background: #fff; border: 1px solid #c9c9c9; border-radius: 0; padding: 12px 13px; min-height: 55px;
}
.form textarea { resize: vertical; min-height: 140px; }
.form ::placeholder { color: #8a8a8a; }
.form .hint { font-size: 13px; line-height: 1.6; color: #666; margin: 0; }
.error-msg { display: none; font-size: 13px; line-height: 1.4; color: #A21B1B; }
input:user-invalid, textarea:user-invalid { border-color: #A21B1B; background: #FDF0F0; }
input:user-invalid ~ .error-msg, textarea:user-invalid ~ .error-msg { display: block; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Fuß ---------- */
.site-footer { background: var(--green-dark); color: var(--muted); padding: 34px 60px; font-size: 14px; line-height: 32px; }
.site-footer p { margin: 0; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--amber); }

/* ---------- Nach oben (wird per nav.js nach dem Scrollen eingeblendet) ---------- */
.to-top {
  position: fixed; right: 75px; bottom: 0; z-index: 30; display: flex; align-items: center; justify-content: center;
  width: 48px; height: 44px; background: #333; color: #fff; border-radius: 4px 4px 0 0;
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
}
.to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.to-top:hover { background: #000; color: #fff; }
.is-scrolled .to-top, .to-top:focus-visible { opacity: 1; visibility: visible; }

/* ---------- Textseiten (Impressum, Danke) ---------- */
.text-page { padding: 124px 100px 100px; }
.text-page h1 { margin: 0 0 30px; font-size: clamp(32px, 4vw, 48px); line-height: 1.2; color: var(--heading); }
.text-page h2, .text-page h3, .text-page h4, .text-page h5 {
  color: var(--heading); line-height: 1.5; margin: 9px 0;
  overflow-wrap: break-word; hyphens: auto;
}
.text-page h2, .text-page h3 { font-size: clamp(22px, 2.5vw, 36px); letter-spacing: 2px; margin-bottom: 36px; }
.text-page h4 { font-size: 18px; letter-spacing: 1px; }
.text-page h5 { font-size: 16px; letter-spacing: 1px; }
.text-page p, .text-page ul { margin: 0 0 20px; }

/* ---------- Mobil: Seitenleiste wird Kopfleiste ---------- */
@media (max-width: 62rem) {
  .sidebar { position: sticky; top: 0; inset: auto; width: auto; flex-direction: row; align-items: center; overflow: visible; }
  .sidebar-logo { padding: 12px 16px 12px 25px; }
  .sidebar-logo img { width: 40px; }
  .sidebar-deco { display: none; }
  .sidebar nav { flex: 1; }
  .side-nav { display: flex; justify-content: space-around; }
  .side-nav li { border-bottom: 0; }
  .side-nav a { gap: 4px; padding: 10px 4px; font-size: 12px; min-width: 44px; }
  .side-nav svg { width: 24px; height: 24px; }
  .page { margin-left: 0; min-height: calc(100vh - 69px); min-height: calc(100svh - 69px); }
  section[id] { scroll-margin-top: 69px; }
  .hero { min-height: calc(100vh - 69px); min-height: calc(100svh - 69px); }
  .hero-inner { padding: 60px 12%; }
  .hero-sub { margin: 20px 0 30px; }
  .section { flex-direction: column; }
  .section-text { padding: 100px 10%; }
  .section-image { min-height: 400px; }
  .form input, .form textarea { font-size: 16px; } /* verhindert Zoom beim Antippen auf iOS */
  .text-page { padding: 60px 10% 70px; }
  .site-footer { padding: 24px 10%; }
  .to-top { display: none; }
}
@media (max-width: 26rem) {
  .side-nav span { font-size: 11px; }
  .sidebar-logo { padding: 12px 8px 12px 16px; }
}
