/* Golf Wagner / minigolfworld.com – statische Seite, kein PHP nötig */
:root {
  --green-900: #0b2e22;
  --green-800: #12402f;
  --green-700: #1a5a41;
  --green-500: #2e8b57;
  --lime: #a6d643;
  --ball: #f4d21c;
  --ink: #1b2420;
  --muted: #5b6b63;
  --line: #dfe7e2;
  --bg: #f6f8f5;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(11, 46, 34, .06), 0 8px 24px rgba(11, 46, 34, .08);
  --max: 1200px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); }
a:hover { color: var(--green-500); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 46, 34, .96); backdrop-filter: blur(8px); color: #fff; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand-ball { width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff8c4, var(--ball) 55%, #c9a800); box-shadow: inset -3px -3px 6px rgba(0,0,0,.18); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.15rem; letter-spacing: .02em; }
.brand-text small { font-size: .75rem; opacity: .75; }
.nav { display: flex; gap: 4px; }
.nav a { color: #e9f2ec; text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 500; font-size: .95rem; }
.nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.nav .cta { background: var(--lime); color: var(--green-900); }
.nav .cta:hover { background: #b9e45e; color: var(--green-900); }
.nav-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: 8px; padding: 8px 12px; font: inherit; cursor: pointer; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: var(--green-900); padding: 8px 20px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
}

/* Hero */
.hero { position: relative; color: #fff; background: var(--green-900); overflow: hidden; }
.hero-slides { position: absolute; inset: 0; }
.hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hero-slides img.active { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,46,34,.92) 0%, rgba(11,46,34,.7) 45%, rgba(11,46,34,.2) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-top: clamp(64px, 10vw, 120px); padding-bottom: clamp(64px, 10vw, 120px); }
.hero .eyebrow { display: inline-block; background: rgba(166,214,67,.18); color: var(--lime); border: 1px solid rgba(166,214,67,.4); padding: 4px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); max-width: 16ch; }
.hero p { font-size: 1.15rem; max-width: 52ch; opacity: .92; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 10px; font-weight: 600; text-decoration: none; border: 2px solid transparent; }
.btn-primary { background: var(--lime); color: var(--green-900); }
.btn-primary:hover { background: #b9e45e; color: var(--green-900); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-dark { background: var(--green-800); color: #fff; }
.btn-dark:hover { background: var(--green-700); color: #fff; }

/* Kennzahlen */
.stats { background: var(--green-800); color: #fff; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; padding-top: 0; padding-bottom: 0; }
.stat { padding: 26px 16px; text-align: center; }
.stat strong { display: block; font-size: clamp(1.4rem, 3vw, 2rem); color: var(--lime); }
.stat span { font-size: .9rem; opacity: .85; }
@media (max-width: 700px) { .stats .wrap { grid-template-columns: repeat(2, 1fr); } }

/* Hinweisbox */
.notice { background: #fff8d6; border: 1px solid #f1df84; border-radius: var(--radius); padding: 16px 20px; display: flex; gap: 14px; align-items: flex-start; }
.notice b { color: #6d5800; }

/* Sektionen */
section { padding: clamp(56px, 8vw, 96px) 0; }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head .kicker { color: var(--green-500); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; display: block; margin-bottom: 8px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.alt { background: #fff; }

/* Intro */
.intro-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.intro-grid .lead { font-size: 1.15rem; }
.channels { display: grid; gap: 12px; margin: 20px 0; padding: 0; list-style: none; }
.channels li { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; }
.channels b { color: var(--green-800); }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; } }

/* Kategorie-Kacheln */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.tile img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.tile span { display: block; padding: 12px 14px; font-weight: 600; font-size: .95rem; }

/* Produktbereiche */
.cat-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.cat-nav a { text-decoration: none; padding: 7px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--green-800); font-size: .9rem; font-weight: 500; }
.cat-nav a:hover { border-color: var(--green-500); }
.product { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); margin-bottom: 24px; }
.alt .product { background: var(--bg); }
.product-head { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: start; }
.badge { display: inline-block; background: var(--lime); color: var(--green-900); font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 6px; vertical-align: middle; margin-left: 6px; letter-spacing: .04em; }
.specs { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 16px; padding: 0; list-style: none; }
.specs li { background: #e9f3ec; color: var(--green-800); border-radius: 8px; padding: 4px 10px; font-size: .85rem; font-weight: 600; }
.note { color: var(--muted); font-size: .92rem; font-style: italic; }
.product-head .btn { white-space: nowrap; }
@media (max-width: 700px) { .product-head { grid-template-columns: 1fr; } }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 16px; }
.gallery a { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; transition: box-shadow .15s ease; }
.gallery a:hover { box-shadow: var(--shadow); color: var(--ink); }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #eef2ef; }
.gallery span { padding: 8px 10px; font-size: .82rem; line-height: 1.35; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; }
.lightbox::backdrop { background: rgba(5, 20, 14, .88); }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 92vw; max-height: 80vh; border-radius: 8px; background: #fff; }
.lightbox figcaption { color: #fff; padding: 12px; text-align: center; max-width: 70ch; }
.lb-btn { position: fixed; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.15); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; }
.lb-btn:hover { background: rgba(255,255,255,.3); }
.lb-prev { left: 16px; } .lb-next { right: 16px; }
.lb-close { position: fixed; top: 16px; right: 16px; transform: none; }

/* Unternehmen */
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.timeline { list-style: none; padding: 0; margin: 24px 0; border-left: 3px solid var(--lime); }
.timeline li { padding: 0 0 18px 20px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--ball); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.timeline b { display: block; color: var(--green-800); }
.warn { border-left: 4px solid var(--ball); background: #fffbe8; padding: 14px 18px; border-radius: 0 10px 10px 0; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* Downloads */
.downloads { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.dl { display: flex; gap: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-decoration: none; color: var(--ink); align-items: center; }
.dl:hover { box-shadow: var(--shadow); color: var(--ink); }
.dl img { width: 96px; border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,.15); flex: none; }
.dl small { color: var(--muted); display: block; }
.dl .go { color: var(--green-700); font-weight: 600; margin-top: 6px; display: inline-block; }

/* Kontakt */
.contact { background: var(--green-900); color: #fff; }
.contact .section-head p, .contact .kicker { color: #cfe3d6; }
.contact .kicker { color: var(--lime); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.contact-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 22px; }
.contact-card h3 { font-size: 1rem; color: var(--lime); text-transform: uppercase; letter-spacing: .06em; }
.contact-card a { color: #fff; font-weight: 600; }
.contact-card p { margin: 0 0 .4em; }

/* Footer */
.site-footer { background: #071f17; color: #a9c0b3; font-size: .9rem; padding: 28px 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.site-footer a { color: #d9e8df; }

/* Rechtstexte */
.legal { max-width: 820px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.legal h2 { font-size: 1.4rem; margin-top: 2em; }
.legal h3 { font-size: 1.05rem; margin-top: 1.4em; }
.legal .card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 0; }
.legal dt { color: var(--muted); }
.legal dd { margin: 0; }
@media (max-width: 560px) { .legal dl { grid-template-columns: 1fr; } .legal dd { margin-bottom: 8px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slides img { transition: none; }
  .tile { transition: none; }
}
@media print {
  .site-header, .hero, .nav-toggle, .lightbox, .cat-nav { display: none !important; }
  section { padding: 24px 0; }
}
