/*
Theme Name: Ilumo Sport Content
Theme URI: https://ilumo-sport.ch
Author: ilumo sports media
Description: One-page marketing theme for ilumo sports media — Sport Content Creation für Athlet:innen.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ilumo-sport-content
Tags: one-column, custom-menu, translation-ready
*/

:root {
  --bg: oklch(0.18 0.025 255);
  --surface: oklch(0.22 0.028 255);
  --text: oklch(0.95 0.01 255);
  --muted: oklch(0.8 0.015 255);
  --muted2: oklch(0.65 0.015 255);
  --border: oklch(0.4 0.03 255);
  --accent: oklch(0.78 0.09 290);
  --gradient: linear-gradient(90deg, oklch(0.78 0.09 340), oklch(0.78 0.09 290), oklch(0.82 0.1 165));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

.skip-link.screen-reader-text {
  position: absolute; left: -9999px; top: 0; z-index: 999999;
  background: var(--text); color: var(--bg); padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link.screen-reader-text:focus { left: 0; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: oklch(0.15 0.02 255); }

h1, h2, h3, .brand-eyebrow { font-family: 'Space Grotesk', sans-serif; letter-spacing: -0.02em; }

a { color: var(--accent); text-decoration: none; }
a:hover { filter: brightness(1.15); }

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

.wrap { max-width: 1180px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }

/* Nav */
.site-header { display: flex; align-items: center; justify-content: space-between; padding: 28px 0; }
.site-header .logo { display: flex; align-items: center; gap: 12px; }
.site-header .logo img { width: 44px; height: 44px; border-radius: 50%; }
.site-header .logo span { display: none; }
.nav-cta {
  font-family: 'Space Grotesk', sans-serif; font-weight: 500; font-size: 15px;
  color: var(--text); border: 1px solid var(--border); padding: 10px 20px; border-radius: 999px;
  transition: background 0.15s, color 0.15s;
}
.nav-cta:hover { background: var(--text); color: var(--bg); filter: none; }

.primary-menu { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.primary-menu a { color: var(--muted); font-size: 15px; }
.primary-menu a:hover { color: var(--text); }

/* Mobile nav */
.mobile-nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; cursor: pointer; padding: 0;
}
.mobile-nav-toggle span { display: block; width: 100%; height: 2px; background: var(--text); transition: transform 0.2s, opacity 0.2s; }
.mobile-nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-nav-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav-panel {
  display: none; flex-direction: column; gap: 20px; padding: 24px 32px 32px;
  background: var(--surface); border-bottom: 1px solid var(--border);
}
.mobile-nav-panel.open { display: flex; }
.mobile-menu { display: flex; flex-direction: column; gap: 16px; list-style: none; margin: 0; padding: 0; }
.mobile-menu a { color: var(--text); font-size: 17px; }
.mobile-nav-panel .btn-gradient { text-align: center; }

/* Secondary nav */
.secondary-nav { display: flex; padding: 10px 32px; border-bottom: 1px solid var(--border); }
.secondary-menu { display: flex; list-style: none; margin: 0; padding: 0; }
.secondary-menu a { color: var(--muted); font-size: 14px; }
.secondary-menu a:hover { color: var(--text); }
@media (max-width: 900px) { .secondary-nav { display: none; } }

/* Buttons */
.btn-gradient {
  display: inline-block; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 16px;
  background: var(--gradient); color: oklch(0.15 0.02 255); padding: 16px 32px; border-radius: 8px;
}
.btn-gradient:hover { filter: brightness(1.08); }

.eyebrow {
  font-weight: 500; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}

/* Hero */
.hero { padding: 40px 0 100px; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,0.9fr); gap: 64px; align-items: center; }
.hero h1 { font-weight: 700; font-size: 56px; line-height: 1.05; margin: 0 0 24px; text-wrap: pretty; }
.hero p { font-size: 18px; line-height: 1.6; color: var(--muted); margin: 0 0 36px; max-width: 520px; text-wrap: pretty; }
.hero-image { width: 100%; height: 520px; border-radius: 20px; overflow: hidden; background: var(--surface); }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.placeholder-block {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  color: var(--muted2); font-family: monospace; font-size: 13px; text-align: center; padding: 20px;
  background: repeating-linear-gradient(135deg, oklch(0.24 0.03 255), oklch(0.24 0.03 255) 10px, oklch(0.26 0.03 255) 10px, oklch(0.26 0.03 255) 20px);
  border-radius: inherit;
}

/* Problem */
.problem { background: var(--surface); padding: 80px 0; }
.problem .wrap { max-width: 760px; text-align: center; }
.problem p { font-weight: 700; font-size: 30px; line-height: 1.4; margin: 0; text-wrap: pretty; }

/* Sections */
.section { padding: 100px 0; }
.section-head { margin-bottom: 56px; }
.section-head h2 { font-weight: 700; font-size: 38px; margin: 0; }
.section-alt { background: var(--surface); }

/* Angebot */
.offer-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 32px; }
.offer-card { background: var(--surface); border-radius: 20px; padding: 40px; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.offer-card .offer-image { width: 100%; height: 220px; border-radius: 14px; overflow: hidden; background: var(--bg); }
.offer-card .offer-image img { width: 100%; height: 100%; object-fit: cover; }
.faq-q:focus-visible, .nav-cta:focus-visible, .btn-gradient:focus-visible, a:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px;
}
.offer-card h3 { font-weight: 700; font-size: 24px; margin: 0; }
.offer-card p { font-size: 16px; line-height: 1.6; color: var(--muted); margin: 0; }
.offer-card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.offer-card li { display: flex; gap: 12px; font-size: 15px; color: oklch(0.9 0.01 255); }
.offer-card li span { color: var(--accent); }

/* Ablauf */
.steps-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; }
.step-num { font-weight: 700; font-size: 44px; color: var(--accent); margin-bottom: 16px; }
.step h3 { font-weight: 700; font-size: 19px; margin: 0 0 10px; }
.step p { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0; }

/* Warum */
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.why-item { border-top: 1px solid var(--border); padding-top: 24px; }
.why-item h3 { font-weight: 700; font-size: 20px; margin: 0 0 12px; }
.why-item p { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0; }

/* FAQ */
.faq-wrap { max-width: 800px; }
.faq-item { border-bottom: 1px solid var(--border); padding: 24px 0; }
.faq-q {
  display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 24px;
  background: none; border: none; padding: 0; cursor: pointer; text-align: left; font: inherit; color: inherit;
}
.faq-q h3 { font-weight: 700; font-size: 18px; margin: 0; }
.faq-icon { font-size: 22px; color: var(--accent); flex-shrink: 0; }
.faq-answer { margin: 16px 0 0; display: none; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-icon { content: '−'; }

/* CTA */
.cta { padding: 120px 0; text-align: center; }
.cta h2 { font-weight: 700; font-size: 42px; margin: 0 0 20px; text-wrap: pretty; }
.cta p { font-size: 18px; line-height: 1.6; color: var(--muted); margin: 0 0 36px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* Footer */
.site-footer { border-top: 1px solid oklch(0.3 0.03 255); padding: 32px 0; text-align: center; }
.site-footer p { font-size: 14px; color: var(--muted2); margin: 0; }

/* Kontaktformular */
.contact-form { max-width: 480px; margin: 0 auto; text-align: left; display: flex; flex-direction: column; gap: 20px; }
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row label { font-size: 14px; color: var(--muted); }
.form-row input, .form-row textarea {
  font-family: inherit; font-size: 15px; color: var(--text); background: var(--surface);
  border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; resize: vertical;
}
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.contact-form .btn-gradient { border: none; cursor: pointer; align-self: flex-start; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-notice { max-width: 480px; margin: 0 auto 24px; padding: 14px 18px; border-radius: 8px; font-size: 15px; }
.form-notice-success { background: color-mix(in oklab, var(--mint, #9fd9bd) 20%, var(--surface)); color: var(--text); }
.form-notice-error { background: color-mix(in oklab, oklch(0.7 0.15 25) 20%, var(--surface)); color: var(--text); }

/* Impressum */
.impressum h1 { font-size: 38px; font-weight: 700; margin: 0 0 32px; }
.impressum-content { font-size: 16px; line-height: 1.7; color: var(--muted); max-width: 640px; }
.impressum-content h3 { color: var(--text); font-size: 20px; margin: 32px 0 12px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .offer-grid, .steps-grid, .why-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 40px; }
  .primary-menu, .site-header .nav-cta { display: none; }
  .mobile-nav-toggle { display: flex; }
}
@media (max-width: 600px) {
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
