/* ============================================================
   Landing Sections — So Funktioniert's (sfx-) + Kein Extra Nötig (ke-)
   Gradient rule: #006d37 → #40c6b3 (Forest→Teal). Never #2ecc71.
   ============================================================ */

/* ── Shared utilities ─────────────────────────────────────── */
.bebas {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  line-height: .95;
  letter-spacing: .005em;
}
/* bob keyframes defined in css/style.css — class only here */
.bob {
  animation: bob 3s ease-in-out infinite;
  transform-origin: bottom center;
  display: block;
}

/* Phone frame */
.pf {
  position: relative;
  background: linear-gradient(150deg, #33312e 0%, #100f0e 100%);
  border-radius: 38px;
  padding: 7px;
  box-shadow: 0 26px 55px rgba(27,28,26,.26), 0 6px 16px rgba(0,0,0,.16);
  flex: none;
  width: 180px;
}
.pf-screen {
  position: relative;
  border-radius: 31px;
  overflow: hidden;
  background: #faf9f5;
  line-height: 0;
}
.pf-screen > img { display: block; width: 100%; height: auto; }
.pf-side {
  position: absolute;
  right: -2px;
  top: 84px;
  width: 2px;
  height: 46px;
  border-radius: 2px;
  background: #2a2927;
}
.pf-side.b { top: 140px; height: 30px; }

/* SVG icon helper */
svg.ic { display: block; flex: none; }

/* Feature bullet list */
.feat {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.feat li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.4;
  font-weight: 500;
}
.feat svg.ic { margin-top: 1px; }

/* "Neu" badge on category cards */
.newdot {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  background: #fd8b00;
  border-radius: 999px;
  padding: 2px 7px;
}

/* ============================================================
   SO FUNKTIONIERT'S (sfx-)
   ============================================================ */
.sfx-wrap {
  background: #faf9f5;
  color: #1b1c1a;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}
.sfx-wrap * { box-sizing: border-box; }

/* shared text helpers inside sfx */
.sfx-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #006d37;
  margin: 0;
}
.sfx-lead {
  font-size: 14.5px;
  line-height: 1.6;
  color: #6c7b6d;
  margin: 0;
}
.sfx-h3 {
  color: #1b1c1a;
}
.sfx-wrap .feat li { color: #43493f; }

/* header */
.sfx-head {
  padding: 40px 24px 26px;
  position: relative;
  overflow: hidden;
}
.sfx-glow {
  position: absolute;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253,139,0,.18), transparent 70%);
  top: -76px;
  right: -64px;
  pointer-events: none;
}
.sfx-h2 {
  font-size: 52px;
  margin: 8px 0 0;
  color: #1b1c1a;
}
.sfx-head .sfx-lead { margin-top: 14px; max-width: 320px; }

/* steps */
.sfx-step {
  padding: 30px 24px;
  position: relative;
}
.sfx-step + .sfx-step {
  border-top: 1px solid rgba(187,203,187,0.3);
}
.sfx-step--green {
  background: rgba(0,109,55,0.035);
}
.sfx-step-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 64px;
  line-height: .8;
  color: #fd8b00;
}
.sfx-step-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #fd8b00;
  margin: 6px 0 2px;
}
.sfx-step > .sfx-h3 { font-size: 27px; margin: 0 0 12px; }
.sfx-step > .sfx-lead { margin-bottom: 18px; }

/* horizontal swipe gallery */
.sfx-step-gallery {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 22px -24px 4px;
  padding: 0 24px 10px;
  scrollbar-width: none;
}
.sfx-step-gallery::-webkit-scrollbar { display: none; }
.sfx-step-gallery .pf { scroll-snap-align: start; }

/* category section */
.sfx-cats {
  background: #faf9f5;
  border-top: 1px solid rgba(187,203,187,0.3);
  border-bottom: 1px solid rgba(187,203,187,0.3);
  padding: 34px 0 30px;
}
.sfx-cats-pad { padding: 0 24px; }
.sfx-cats .sfx-h3 { font-size: 30px; margin: 8px 0 0; }
.sfx-cats .sfx-lead { margin-top: 12px; }

.sfx-catscroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 18px 24px 6px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.sfx-catscroll::-webkit-scrollbar { display: none; }
.sfx-catcard {
  scroll-snap-align: start;
  flex: none;
  width: 200px;
  border-radius: 18px;
  padding: 16px;
}
.sfx-catcard .cat-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  flex: none;
}
.sfx-catcard .cat-name {
  font-weight: 800;
  font-size: 16px;
  margin-top: 12px;
  letter-spacing: -.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sfx-catcard .cat-tag { font-weight: 700; font-size: 12.5px; margin-top: 4px; }
.sfx-catcard .cat-desc { font-size: 12px; line-height: 1.4; margin-top: 8px; }

/* hobby / saved routes */
.sfx-hobby { padding: 34px 24px; background: #eef4f1; }
.sfx-hobby > .sfx-h3 { font-size: 30px; margin: 8px 0 0; max-width: 300px; }
.sfx-hobby > .sfx-lead { margin-top: 12px; }
.sfx-tourrow { display: flex; gap: 12px; margin-top: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.sfx-tourrow .pf { scroll-snap-align: start; width: 180px; flex: none; }
.sfx-tour {
  flex: 1;
  background: #ffffff;
  border: 1px solid rgba(187,203,187,0.3);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(27,28,26,0.06);
}
.sfx-tour img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* CTA band */
.sfx-cta {
  background: #faf9f5;
  border-top: 1px solid rgba(187,203,187,0.3);
  padding: 34px 24px 46px;
  text-align: center;
}
.sfx-cta > .sfx-eyebrow { margin-top: 10px; }
.sfx-cta > .sfx-h3 { font-size: 34px; margin: 14px 0 6px; }
.sfx-btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  border-radius: 999px;
  padding: 17px 26px;
  margin-top: 18px;
  width: 100%;
  background: #fd8b00;
  box-shadow: 0 16px 40px rgba(253,139,0,.35);
  transition: transform .15s ease;
}
.sfx-btn-cta:hover { transform: scale(1.02); }
.sfx-btn-cta:active { transform: scale(.98); }

/* CTA band — light, text inherits dark from sfx-wrap */
.sfx-cta .sfx-eyebrow { color: #006d37; }

/* ============================================================
   KEIN EXTRA NÖTIG (ke-)
   ============================================================ */
.ke-wrap {
  width: 100%;
  background: #faf9f5;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1b1c1a;
  -webkit-font-smoothing: antialiased;
}
.ke-wrap * { box-sizing: border-box; }

.ke-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #6c7b6d;
  margin: 0;
}
.ke-lead {
  font-size: 14.5px;
  line-height: 1.6;
  color: #3d4a3e;
  margin: 0;
}
.ke-h2 { font-size: 52px; margin: 8px 0 0; color: #1b1c1a; }
.ke-h3 { font-size: 25px; margin: 7px 0 0; color: #1b1c1a; }

/* header with skyline SVG bg */
.ke-head {
  position: relative;
  padding: 44px 24px 28px;
  overflow: hidden;
}
.ke-skyline {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 152px;
  opacity: .5;
  color: #dfe7df;
  z-index: 0;
}
.ke-head > * { position: relative; z-index: 1; }
.ke-head .ke-lead { margin: 14px 0 0; max-width: 332px; }

/* stops — horizontal carousel */
.ke-stops {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 14px;
  padding: 14px 24px 28px;
  scrollbar-width: none;
}
.ke-stops::-webkit-scrollbar { display: none; }
.ke-stop {
  position: relative;
  flex: none;
  width: 260px;
  scroll-snap-align: start;
  padding: 0;
}
.ke-num {
  position: absolute;
  top: 6px; right: 2px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 42px;
  line-height: 1;
  color: #fd8b00;
  opacity: .20;
  z-index: 3;
}
.ke-photo-wrap { position: relative; }
.ke-photo {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(0,109,55,.14);
}
.ke-badge {
  position: absolute;
  left: 16px;
  bottom: -22px;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(0,109,55,.22), 0 0 0 1px rgba(187,203,187,.35);
  z-index: 2;
}
.ke-badge svg {
  width: 28px;
  height: 28px;
  stroke: #006d37;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ke-info { padding: 36px 2px 0; }
.ke-info .ke-eyebrow { color: #006d37; }
.ke-stop .ke-lead { margin: 9px 0 0; line-height: 1.55; }

/* orange dotted connectors — hidden in carousel layout */
.ke-link { display: none; }

/* footer */
.ke-foot {
  padding: 34px 24px 46px;
  text-align: center;
  background: #f4f4f0;
}
.ke-voice {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}
.ke-bubble {
  position: relative;
  background: #fd8b00;
  color: #fff;
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 21px;
  line-height: 1;
  padding: 10px 16px;
  border-radius: 14px 14px 14px 4px;
  box-shadow: 0 10px 24px rgba(253,139,0,.30);
  margin-bottom: 6px;
  display: inline-block;
}
.ke-bubble::after {
  content: '';
  position: absolute;
  left: 14px;
  bottom: -7px;
  border-left: 8px solid transparent;
  border-top: 9px solid #fd8b00;
}
.ke-foot .ke-eyebrow { color: #006d37; }
.ke-foot .ke-h3 { font-size: 32px; margin: 6px 0 0; color: #1b1c1a; }
.ke-foot .ke-lead { margin: 10px auto 0; max-width: 300px; line-height: 1.55; }

/* ============================================================
   DESKTOP LAYOUTS (≥ 1024px)
   ============================================================ */
@media (min-width: 1024px) {

  /* sfx header — wider padding, no grid (wrong child count for grid) */
  .sfx-head {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px 44px;
  }
  .sfx-head .sfx-h2 { font-size: 64px; }
  .sfx-head .sfx-lead { max-width: 520px; }

  /* step gallery — reset negative margin so it doesn't bleed out of grid column */
  .sfx-step-gallery {
    margin: 22px 0 4px;
    padding: 0 0 10px;
  }

  /* sfx steps — stacked, centered, max-width */
  .sfx-steps-grid {
    max-width: 760px;
    margin: 0 auto;
  }
  .sfx-step { padding: 36px 40px; }

  /* category section */
  .sfx-cats { padding: 56px 0 44px; }
  .sfx-cats-pad {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
  }
  .sfx-catscroll {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px 8px;
  }

  /* hobby */
  .sfx-hobby {
    max-width: 760px;
    margin: 0 auto;
    padding: 48px 40px;
  }
  .sfx-tourrow { gap: 20px; }
  .sfx-tour img { height: 280px; }

  /* CTA band */
  .sfx-cta { padding: 72px 40px 80px; }
  .sfx-btn-cta { width: auto; padding: 17px 48px; }
}
