/* ============================================================
   Thoka Network – Webdesign für Golfclubs
   Static CSS – no build step required
   ============================================================ */

:root {
  --green-dark:   #1a4731;
  --green-mid:    #2d6a4f;
  --green-light:  #52b788;
  --lime:         #84cc16;
  --lime-dark:    #65a30d;
  --amber:        #d97706;
  --amber-light:  #fbbf24;
  --bg:           #fafaf8;
  --bg-alt:       #f0f4f0;
  --white:        #ffffff;
  --text:         #1a1a1a;
  --text-muted:   #6b7280;
  --border:       #e5e7eb;
  --shadow:       0 1px 3px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.06);
  --shadow-lg:    0 4px 24px rgba(0,0,0,.12);
  --radius:       12px;
  --radius-sm:    8px;
  --nav-h:        68px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--lime-dark);
  margin-bottom: .75rem;
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-logo .logo-network { color: var(--lime-dark); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .2s;
}
.nav-links a:hover { color: var(--green-dark); }
.nav-cta {
  background: var(--green-dark);
  color: var(--white) !important;
  padding: .5rem 1.25rem;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--green-mid) !important; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/hero-golf.webp');
  background-size: cover;
  background-position: center;
  filter: brightness(.45);
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 780px;
  padding: 3rem 1.5rem;
}
.hero-badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--lime);
  border: 1px solid rgba(132,204,22,.4);
  padding: .35rem .9rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero h1 .highlight { color: var(--amber-light); }
.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,.8);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s;
  text-decoration: none;
}
.btn-gold {
  background: var(--amber);
  color: var(--white);
  border-color: var(--amber);
}
.btn-gold:hover { background: #b45309; border-color: #b45309; }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-green {
  background: var(--green-dark);
  color: var(--white);
  border-color: var(--green-dark);
}
.btn-green:hover { background: var(--green-mid); border-color: var(--green-mid); }

/* ---- SECTIONS ---- */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--green-dark); color: var(--white); }

.text-center { text-align: center; }
.section-title { margin-bottom: .75rem; }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
}
.section-dark .section-subtitle { color: rgba(255,255,255,.7); }

/* ---- PROBLEM SECTION ---- */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 3rem;
}
.problem-text .section-label { color: var(--lime-dark); }
.problem-text h2 { margin-bottom: 1rem; }
.problem-text p { color: var(--text-muted); font-size: 1.05rem; }
.problem-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.problem-img img { width: 100%; height: 320px; object-fit: cover; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.stat-card {
  background: var(--green-dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
}
.stat-num {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--amber-light);
  line-height: 1;
  margin-bottom: .5rem;
}
.stat-desc { font-size: .85rem; color: rgba(255,255,255,.75); line-height: 1.4; }

.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.problem-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.problem-icon {
  width: 40px;
  height: 40px;
  background: var(--bg-alt);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}
.problem-card h3 { margin-bottom: .5rem; font-size: 1rem; }
.problem-card p { font-size: .875rem; color: var(--text-muted); line-height: 1.5; }

/* ---- VORHER/NACHHER ---- */
.transform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 3rem;
}
.transform-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.transform-img img { width: 100%; height: 300px; object-fit: cover; }

.compare-tabs {
  display: flex;
  gap: .5rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0;
}
.compare-tab {
  padding: .6rem 1.25rem;
  font-size: .9rem;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all .2s;
}
.compare-tab.active {
  color: var(--green-dark);
  border-bottom-color: var(--green-dark);
}
.compare-panels { position: relative; }
.compare-panel { display: none; }
.compare-panel.active { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: start; }
.compare-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.compare-badge {
  display: inline-block;
  padding: .25rem .75rem;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.badge-red { background: #fee2e2; color: #dc2626; }
.badge-green { background: #dcfce7; color: #16a34a; }
.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .875rem;
  margin-bottom: .5rem;
  color: var(--text);
}
.compare-list li .icon-x { color: #dc2626; font-weight: 700; }
.compare-list li .icon-check { color: #16a34a; font-weight: 700; }
.compare-arrow {
  width: 40px;
  height: 40px;
  background: var(--green-dark);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2.5rem;
}

/* ---- PAKETE ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 2px solid var(--border);
  position: relative;
  transition: transform .2s, box-shadow .2s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card.featured {
  border-color: var(--green-dark);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-tier {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  margin-bottom: .25rem;
}
.pricing-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.pricing-desc { font-size: .875rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.pricing-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 1.5rem;
}
.pricing-price span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .875rem;
  margin-bottom: .6rem;
  color: var(--text);
}
.pricing-features li::before {
  content: '✓';
  color: var(--green-dark);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: .05rem;
}

/* Konfigurator */
.configurator {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  max-width: 700px;
  margin: 0 auto 2rem;
}
.configurator h3 { margin-bottom: 1.25rem; font-size: 1.1rem; }
.config-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 0;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}
.config-option:last-of-type { border-bottom: none; }
.config-label { font-size: .9rem; font-weight: 500; }
.config-price { font-size: .875rem; color: var(--text-muted); white-space: nowrap; }
.config-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.config-toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--border);
  border-radius: 100px;
  cursor: pointer;
  transition: background .2s;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: transform .2s;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.config-toggle input:checked + .toggle-slider { background: var(--green-dark); }
.config-toggle input:checked + .toggle-slider::before { transform: translateX(20px); }

.config-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 2px solid var(--border);
  margin-top: .5rem;
}
.config-total-label { font-weight: 600; }
.config-total-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green-dark);
}

/* Gratis-Check Banner */
.gratis-banner {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border: 1px solid #bbf7d0;
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem;
}
.gratis-badge {
  display: inline-block;
  background: var(--amber);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.gratis-banner h3 { margin-bottom: .75rem; color: var(--green-dark); }
.gratis-banner p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: .95rem; }

/* Caddie-Service */
.caddie-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  max-width: 700px;
  margin: 0 auto;
}
.caddie-box h3 { margin-bottom: .25rem; }
.caddie-box .caddie-sub { font-size: .875rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.caddie-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: .9rem 0;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}
.caddie-row:last-child { border-bottom: none; }
.caddie-name { font-weight: 600; font-size: .9rem; }
.caddie-desc { font-size: .8rem; color: var(--text-muted); margin-top: .15rem; }
.caddie-price { font-weight: 700; color: var(--green-dark); white-space: nowrap; font-size: .95rem; }

/* ---- ÜBER UNS ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.about-text h2 { margin-bottom: 1rem; }
.about-text p { color: var(--text-muted); margin-bottom: 1rem; font-size: 1.05rem; }
.about-features { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.5rem; }
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.about-feature-icon {
  width: 40px;
  height: 40px;
  background: var(--bg-alt);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.about-feature-title { font-weight: 600; font-size: .95rem; margin-bottom: .25rem; }
.about-feature-text { font-size: .85rem; color: var(--text-muted); }

/* ---- KONTAKT ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1rem; }
.contact-info p { color: rgba(255,255,255,.75); margin-bottom: 2rem; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-detail-label { font-size: .75rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .08em; }
.contact-detail-value { font-weight: 500; color: var(--white); }

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: .4rem;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  transition: border-color .2s;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-dark);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-note { font-size: .8rem; color: var(--text-muted); text-align: center; margin-top: .75rem; }
.btn-full { width: 100%; justify-content: center; }

/* ---- FOOTER ---- */
.footer {
  background: var(--green-dark);
  color: rgba(255,255,255,.8);
  padding: 3.5rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .75rem;
  display: block;
}
.footer-logo .logo-network { color: var(--lime); }
.footer-desc { font-size: .875rem; color: rgba(255,255,255,.6); line-height: 1.6; }
.footer-col-title {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.5);
  margin-bottom: 1rem;
}
.footer-links li { margin-bottom: .5rem; }
.footer-links a {
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  transition: color .2s;
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  text-align: center;
}

/* ---- BACK TO TOP ---- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--green-dark);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  z-index: 50;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .problem-grid,
  .transform-grid,
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .stats-grid,
  .problems-grid,
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; flex-direction: column; position: fixed; top: var(--nav-h); left: 0; right: 0; background: var(--white); padding: 1.5rem; border-bottom: 1px solid var(--border); gap: 1rem; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .stats-grid,
  .problems-grid,
  .pricing-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .compare-panel.active { grid-template-columns: 1fr; }
  .compare-arrow { display: none; }
}
