/* ==========================================================================
   GRIFFKRAFT — Urban / Industrial mit Energie-Akzent
   Dunkle Betonbasis · Signal-Orange als Akzent · fette Grotesk-Headlines
   Reines CSS, keine externen Schriften (DSGVO-freundlich).
   ========================================================================== */

:root {
  /* --- Farben --- */
  --bg:        #16171a;   /* fast-schwarzer Beton */
  --bg-alt:    #1d1f23;   /* etwas heller für abwechselnde Sektionen */
  --surface:   #24262b;   /* Karten */
  --line:      #34373d;   /* Kanten / Trennlinien */
  --text:      #f2f1ee;   /* Off-White */
  --muted:     #9a9ca3;   /* gedämpfter Text */
  --accent:    #ff5a1f;   /* Signal-Orange (Klettergriff) */
  --accent-2:  #d6ff3f;   /* Limette, sparsam für Level/Chips */

  /* --- Maße --- */
  --wrap: 1120px;
  --radius: 4px;          /* bewusst kantig */
  --pad: clamp(64px, 10vw, 120px);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

/* ==================== TYPOGRAFIE ==================== */
h1, h2, h3, h4 { line-height: 1.05; letter-spacing: -0.02em; font-weight: 800; }

h1 {
  font-size: clamp(2.8rem, 9vw, 6rem);
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

.section-title {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  text-transform: uppercase;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
}

.lede { color: var(--muted); font-size: 1.08rem; max-width: 46ch; margin-top: 16px; }
.muted { color: var(--muted); }
.muted-light { color: rgba(242,241,238,0.6); }

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 0.95rem;
  text-transform: uppercase; letter-spacing: 0.04em;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, color 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #16171a; }
.btn-primary:hover { background: #ff6f3c; }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }

/* ==================== NAVIGATION ==================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(22,23,26,0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--wrap); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
}
.nav-brand {
  font-weight: 800; font-size: 1.25rem; letter-spacing: 0.02em;
  text-transform: uppercase; text-decoration: none; color: var(--text);
}
.nav-brand span { color: var(--accent); }
.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-menu a {
  text-decoration: none; color: var(--muted); font-weight: 600; font-size: 0.95rem;
  text-transform: uppercase; letter-spacing: 0.03em;
  transition: color 0.15s ease;
}
.nav-menu a:hover { color: var(--text); }
.nav-cta {
  color: #16171a !important; background: var(--accent);
  padding: 9px 18px; border-radius: var(--radius);
}
.nav-cta:hover { background: #ff6f3c; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 6px;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--text); transition: 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==================== HERO ==================== */
.hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
  max-width: var(--wrap); margin-inline: auto;
  padding: clamp(56px, 9vw, 110px) 24px;
}
.hero-sub { color: var(--muted); font-size: 1.15rem; max-width: 42ch; margin-top: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-panel, .media-panel {
  position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(45deg, #202227 0 2px, transparent 2px 22px),
    linear-gradient(160deg, #2a2d33, #191a1e);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 380px;
}
.media-panel { min-height: 340px; display: grid; place-items: center; }

/* Fotos füllen die Flächen randlos und behalten ihr Seitenverhältnis */
.panel-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* bunte "Klettergriffe" als Platzhalter-Deko */
.holds { position: absolute; inset: 0; }
.hold { position: absolute; width: 34px; height: 34px; border-radius: 40% 60% 55% 45%; opacity: 0.95; }
.hold.h1 { background: var(--accent);   top: 18%; left: 22%; }
.hold.h2 { background: var(--accent-2); top: 40%; left: 62%; width: 26px; height: 26px; }
.hold.h3 { background: #3fa9ff;          top: 68%; left: 30%; width: 30px; height: 30px; }
.hold.h4 { background: #ff3f77;          top: 26%; left: 74%; width: 22px; height: 22px; }
.hold.h5 { background: #f2f1ee;          top: 74%; left: 66%; width: 24px; height: 24px; }
.hold.h6 { background: var(--accent);   top: 55%; left: 44%; width: 20px; height: 20px; }
.holds-alt .hold { transform: scale(1.2); }

/* ==================== SECTIONS ==================== */
.section { padding-block: var(--pad); }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head .lede { margin-left: 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

/* ==================== STRIP ==================== */
.strip { border-block: 1px solid var(--line); background: var(--bg-alt); }
.strip-inner {
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding-block: 40px; text-align: center;
}
.strip-item + .strip-item { border-left: 1px solid var(--line); }
.strip-num { display: block; font-size: 2.4rem; font-weight: 800; color: var(--accent); letter-spacing: -0.02em; }
.strip-label { display: block; color: var(--muted); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 6px; }

/* ==================== STATS ==================== */
.stats { display: flex; gap: 36px; margin-top: 34px; flex-wrap: wrap; }
.stat-num { display: block; font-size: 1.9rem; font-weight: 800; }
.stat-label { display: block; color: var(--muted); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; }

/* ==================== CARDS (Kurse) ==================== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform 0.15s ease, border-color 0.15s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent); }
.card h3 { font-size: 1.5rem; margin: 14px 0 10px; text-transform: uppercase; }
.card p { color: var(--muted); }
.card-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 5px 11px; border-radius: 100px; background: var(--line); color: var(--text);
}
.level-easy { background: var(--accent-2); color: #16171a; }
.level-mid  { background: var(--accent);   color: #16171a; }
.level-hard { background: #3fa9ff;         color: #16171a; }
.price { margin-top: 18px; font-weight: 800; font-size: 1.3rem; }
.price span { color: var(--muted); font-weight: 500; font-size: 0.9rem; }

/* ==================== PREISE ==================== */
.price-cards { align-items: stretch; }
.price-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; display: flex; flex-direction: column;
}
.price-card-featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.price-card h3 { font-size: 1.4rem; text-transform: uppercase; margin: 10px 0 6px; }
.price-big { font-size: 2.6rem; font-weight: 800; color: var(--accent); margin-bottom: 20px; }
.price-big span { font-size: 1rem; color: var(--muted); font-weight: 500; }
.price-list { list-style: none; margin-bottom: 26px; flex: 1; }
.price-list li { padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.price-list li::before { content: "→ "; color: var(--accent); font-weight: 700; }
.menu-note { color: var(--muted); font-size: 0.9rem; margin-top: 28px; text-align: center; }

/* ==================== FORMULAR ==================== */
.reservierung-grid { align-items: start; }
.form-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px;
}
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; }
.field-small { min-width: 150px; }
label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 7px; }
.optional { color: var(--muted); font-weight: 400; }
input, select, textarea {
  width: 100%; padding: 12px 14px;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius);
  font: inherit; font-size: 0.98rem;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }
textarea { resize: vertical; }
.hidden-field { position: absolute; left: -9999px; }
.form-hint { color: var(--muted); font-size: 0.82rem; margin-top: 14px; text-align: center; }
.form-hint a, .lede a { color: var(--accent); }

.contact-facts { list-style: none; margin-top: 30px; }
.contact-facts li { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-facts li span { color: var(--muted); min-width: 90px; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.06em; padding-top: 2px; }
.contact-facts a { color: var(--text); text-decoration: none; }
.contact-facts a:hover { color: var(--accent); }

/* ==================== ANFAHRT ==================== */
.info-block { margin-bottom: 30px; }
.info-block h3 { font-size: 1.1rem; text-transform: uppercase; margin-bottom: 10px; }
.hours { list-style: none; }
.hours li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.map-placeholder { text-align: center; color: var(--muted); padding: 30px; }
.panel-mark { width: 54px; height: 54px; fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }

/* ==================== FOOTER ==================== */
.footer { background: #101114; border-top: 1px solid var(--line); padding-top: 64px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 44px; }
.footer-logo { font-weight: 800; font-size: 1.4rem; text-transform: uppercase; }
.footer-logo span { color: var(--accent); }
.footer-col h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 12px; }
.footer-col a { color: var(--text); text-decoration: none; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--line); padding-block: 24px;
  color: var(--muted); font-size: 0.85rem;
}
.footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--accent); }

/* ==================== SCROLL-ANIMATIONEN ==================== */
.js .load { opacity: 0; transform: translateY(16px); }
.load.in { opacity: 1; transform: none; transition: opacity 0.6s ease, transform 0.6s ease; transition-delay: var(--d, 0ms); }

.js [data-reveal] { opacity: 0; transform: translateY(28px); }
.js [data-reveal="left"] { transform: translateX(-28px); }
.js [data-reveal="right"] { transform: translateX(28px); }
[data-reveal].in { opacity: 1; transform: none; transition: opacity 0.6s ease, transform 0.6s ease; }

@media (prefers-reduced-motion: reduce) {
  .js .load, .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ==================== RECHTSSEITEN (Impressum / Datenschutz) ==================== */
.legal { max-width: 720px; }
.legal h2 {
  font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.06em;
  margin: 36px 0 10px;
}
.legal p, .legal li { color: var(--muted); }
.legal p { margin-bottom: 10px; }
.legal ul { padding-left: 20px; margin-bottom: 10px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--accent); }
.legal-note {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 24px 0 8px;
  font-size: 0.92rem;
}
.legal-back { margin-top: 44px; }
.nav-simple { gap: 22px; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; inset: 61px 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 12px 24px 24px;
    transform: translateY(-120%); transition: transform 0.25s ease;
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-menu a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: 12px; }

  /* Rechtsseiten haben kein Burger-Menü: Links bleiben sichtbar */
  .nav-menu.nav-simple {
    position: static; inset: auto; flex-direction: row; gap: 18px;
    background: none; border-bottom: 0; padding: 0; transform: none;
  }
  .nav-menu.nav-simple a { width: auto; padding: 0; border-bottom: 0; }

  .hero { grid-template-columns: 1fr; }
  .hero-panel { min-height: 280px; }
  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .cards, .strip-inner, .footer-inner { grid-template-columns: 1fr; }
  .strip-item + .strip-item { border-left: 0; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}
