/* CampConnect – Website. Farben wie in der App (Wald, Creme, Sonne, Glut). */

@font-face {
  font-family: 'Manrope';
  src: url('/assets/fonts/manrope-latin-wght-normal.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('/assets/fonts/manrope-latin-ext-wght-normal.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-024F, U+1E00-1EFF;
}

:root {
  --forest-950: #10241a;
  --forest-900: #1d3a25;
  --forest-700: #2f5d3a;
  --forest-500: #3f7a4d;
  --forest-100: #d6e8da;
  --forest-50: #eef5ef;
  --cream: #f7f4ee;
  --sand: #efe8da;
  --sun: #f2c14e;
  --sun-600: #e0a92a;
  --ember: #c96a3b;
  --ink: #1c2a22;
  --muted: rgb(29 58 37 / 0.68);
  --line: rgb(29 58 37 / 0.1);
  --shadow: 0 1px 2px rgb(28 42 34 / 0.05), 0 18px 40px -20px rgb(28 42 34 / 0.3);
  --radius: 24px;
  --wrap: 1180px;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--forest-900);
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}

.wrap {
  width: min(var(--wrap), 100% - 32px);
  margin-inline: auto;
}

.narrow {
  width: min(820px, 100% - 32px);
}

.center {
  text-align: center;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--sun);
  color: var(--forest-900);
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 700;
}
.skip:focus {
  top: 12px;
}

:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ─── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn:active {
  transform: scale(0.97);
}
.btn-lg {
  padding: 16px 28px;
  font-size: 18px;
}
.btn-sun {
  background: var(--sun);
  color: var(--forest-900);
  box-shadow: 0 10px 24px -12px rgb(242 193 78 / 0.9);
}
.btn-sun:hover {
  background: #f6cd6a;
}
.btn-forest {
  background: var(--forest-700);
  color: #fff;
  box-shadow: 0 12px 28px -14px rgb(47 93 58 / 0.9);
}
.btn-forest:hover {
  background: var(--forest-500);
}
.btn-ghost {
  color: #fff;
  background: rgb(255 255 255 / 0.08);
  box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.3);
}
.btn-ghost:hover {
  background: rgb(255 255 255 / 0.16);
}
.play {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent currentColor;
}

/* ─── Kopfzeile ─────────────────────────────────────────── */
.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}
.topbar.scrolled {
  background: rgb(16 36 26 / 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -20px rgb(0 0 0 / 0.6);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.brand img {
  border-radius: 11px;
}
.brand b {
  color: var(--sun);
  font-weight: 800;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a:not(.btn) {
  color: rgb(255 255 255 / 0.82);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.nav a:not(.btn):hover {
  color: #fff;
}
.nav-cta {
  padding: 10px 18px;
  font-size: 15px;
}
.menu {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgb(255 255 255 / 0.1);
  cursor: pointer;
  position: relative;
}
.menu span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.2s ease, top 0.2s ease;
}
.menu span:first-child {
  top: 17px;
}
.menu span:last-child {
  top: 25px;
}
.menu[aria-expanded='true'] span:first-child {
  top: 21px;
  transform: rotate(45deg);
}
.menu[aria-expanded='true'] span:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

/* ─── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(110% 80% at 85% 20%, #2f5d3a 0%, #1d3a25 45%, var(--forest-950) 100%);
  padding: 128px 0 96px;
}
.hero-glow {
  position: absolute;
  width: 720px;
  height: 720px;
  right: -160px;
  top: 60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(242 193 78 / 0.28), transparent 65%);
  filter: blur(20px);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.08);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.15);
  font-size: 14px;
  font-weight: 700;
  color: rgb(255 255 255 / 0.9);
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7ee08f;
  box-shadow: 0 0 0 4px rgb(126 224 143 / 0.2);
}
.hero h1 {
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.hero h1 span {
  color: var(--sun);
}
.lead {
  margin: 24px 0 0;
  max-width: 560px;
  font-size: clamp(17px, 1.6vw, 20px);
  color: rgb(255 255 255 / 0.8);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  font-weight: 600;
  color: rgb(255 255 255 / 0.72);
}
.hero-facts li::before {
  content: '✓';
  color: var(--sun);
  margin-right: 8px;
  font-weight: 800;
}
.hero-visual {
  position: relative;
  height: 640px;
}
.hero-photo {
  position: absolute;
  right: 0;
  top: 10px;
  width: 300px;
  height: 520px;
  object-fit: cover;
  object-position: 40% 60%;
  border-radius: 32px;
  transform: rotate(5deg);
  box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.7);
  opacity: 0.9;
}
.phone-hero {
  position: absolute;
  left: 8%;
  top: 0;
  width: 300px;
  transform: rotate(-4deg);
}
.toast {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 18px;
  background: #fff;
  color: var(--forest-900);
  box-shadow: 0 24px 50px -20px rgb(0 0 0 / 0.55);
  font-size: 14px;
  line-height: 1.3;
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.toast b {
  display: block;
  font-size: 15px;
}
.toast small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}
.toast-a {
  left: -4%;
  top: 120px;
}
.toast-b {
  right: 2%;
  bottom: 70px;
  animation-delay: -3s;
}
.ic {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 22px;
  flex: none;
}
.ic-amber {
  background: #fdf0d5;
}
.ic-ember {
  background: #ffe6cc;
}
@keyframes float {
  50% {
    transform: translateY(-10px);
  }
}

/* Handy-Rahmen um die Bildschirmfotos */
.phone {
  position: relative;
  padding: 10px;
  border-radius: 46px;
  background: #0e1512;
  box-shadow: inset 0 0 0 2px #2b3a31, 0 40px 80px -30px rgb(16 36 26 / 0.55), 0 18px 36px -24px rgb(0 0 0 / 0.5);
}
.phone img {
  width: 100%;
  border-radius: 37px;
  aspect-ratio: 780 / 1688;
  object-fit: cover;
  object-position: top;
  background: var(--cream);
}

/* ─── Vertrauensleiste ──────────────────────────────────── */
.trust {
  background: var(--forest-950);
  color: rgb(255 255 255 / 0.85);
  border-top: 1px solid rgb(255 255 255 / 0.08);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 22px 0;
}
.trust p {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  text-align: center;
}

/* ─── Abschnitte ────────────────────────────────────────── */
.section {
  padding: 112px 0;
}
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}
.eyebrow {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ember);
}
.eyebrow-light {
  color: var(--sun);
}
.section h2 {
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 800;
}
.section-lead {
  margin: 18px auto 0;
  font-size: 19px;
  color: var(--muted);
  max-width: 620px;
}

/* Video */
.video-section {
  background: linear-gradient(to bottom, var(--forest-950) 0, var(--forest-950) 38%, var(--cream) 38%);
  padding-top: 88px;
}
.video-section .section-head {
  color: #fff;
}
.video-section .eyebrow {
  color: var(--sun);
}
.video-frame {
  border-radius: 28px;
  overflow: hidden;
  background: var(--forest-900);
  box-shadow: 0 50px 100px -40px rgb(16 36 26 / 0.7);
  aspect-ratio: 16 / 9;
  max-width: 1040px;
  margin: 0 auto;
}
.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Funktionen */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  margin-top: 96px;
}
.feature:first-of-type {
  margin-top: 0;
}
.feature-flip .feature-media {
  order: 2;
}
.feature-media {
  position: relative;
  display: grid;
  place-items: center;
  padding: 56px 24px;
  border-radius: 36px;
  overflow: hidden;
}
.feature-media .phone {
  width: min(300px, 78%);
  transform: rotate(-2deg);
}
.feature-flip .feature-media .phone {
  transform: rotate(2deg);
}
.tint-amber {
  background: radial-gradient(circle at 30% 20%, #fde3a6, #f6ecd6 70%);
}
.tint-violet {
  background: radial-gradient(circle at 70% 20%, #dcd1fb, #eeeaf8 70%);
}
.tint-mint {
  background: radial-gradient(circle at 30% 20%, #bfeedc, #e6f4ee 70%);
}
.tint-sky {
  background: radial-gradient(circle at 70% 20%, #c4e2f8, #e8f1f9 70%);
}
.tint-ember {
  background: radial-gradient(circle at 30% 20%, #ffd2a6, #f9ebdf 70%);
}
.tag {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}
.tag-amber {
  background: #fdf0d5;
  color: #8a5a00;
}
.tag-violet {
  background: #eee8fd;
  color: #5b3fae;
}
.tag-mint {
  background: #dcf5ec;
  color: #17704f;
}
.tag-sky {
  background: #e1f0fc;
  color: #22639a;
}
.tag-ember {
  background: #ffe6cc;
  color: #a84a12;
}
.feature h3 {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
}
.feature-copy > p:not(.tag) {
  margin: 18px 0 0;
  font-size: 18px;
  color: var(--muted);
}
.checks {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.checks li {
  position: relative;
  padding-left: 34px;
  font-weight: 600;
}
.checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--forest-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f5d3a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* So geht's */
.steps-section {
  background: var(--sand);
}
.steps {
  list-style: none;
  margin: 0 0 56px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.step-no {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--forest-700);
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 20px;
}
.step h3,
.card h3 {
  font-size: 22px;
  font-weight: 800;
}
.step p,
.card p {
  margin: 10px 0 0;
  color: var(--muted);
}

/* Sicherheit */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.card-ic {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--forest-50);
  font-size: 26px;
  margin-bottom: 18px;
}

/* Betreiber */
.operators {
  padding: 0 0 112px;
}
.operators-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 56px;
  border-radius: 36px;
  color: #fff;
  background: radial-gradient(120% 140% at 100% 0%, #3f7a4d 0%, #1d3a25 55%, var(--forest-950) 100%);
  box-shadow: 0 40px 80px -40px rgb(16 36 26 / 0.7);
}
.operators h2 {
  font-size: clamp(28px, 3.4vw, 40px);
}
.operators p:not(.eyebrow) {
  margin: 16px 0 0;
  max-width: 640px;
  color: rgb(255 255 255 / 0.8);
  font-size: 18px;
}

/* FAQ */
.faq {
  display: grid;
  gap: 12px;
}
.faq details {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 0 24px;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 36px 22px 0;
  font-weight: 700;
  font-size: 18px;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  font-weight: 500;
  color: var(--forest-500);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq details p {
  margin: 0 0 22px;
  color: var(--muted);
}

/* Abschluss */
.final {
  padding: 0 0 112px;
}
.final-inner {
  text-align: center;
  padding: 72px 24px;
  border-radius: 36px;
  background: radial-gradient(circle at 50% 0%, #fde3a6 0%, #f6ecd6 55%, var(--sand) 100%);
}
.final-inner img {
  margin: 0 auto 24px;
  border-radius: 26px;
  box-shadow: var(--shadow);
}
.final h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
}
.final p {
  margin: 14px auto 32px;
  color: var(--muted);
  font-size: 19px;
  max-width: 540px;
}

/* Fußzeile */
.footer {
  background: var(--forest-950);
  color: rgb(255 255 255 / 0.7);
  padding: 36px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.brand-light {
  font-size: 18px;
}
.footer nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.footer nav a:hover {
  color: #fff;
}
.copy {
  margin: 0;
  font-size: 14px;
}

/* Rechtstexte */
.legal {
  padding: 128px 0 96px;
}
.legal h1 {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800;
  margin-bottom: 12px;
}
.legal h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 36px 0 8px;
}
.legal p,
.legal li {
  color: rgb(29 58 37 / 0.82);
}
.legal .note {
  padding: 16px 20px;
  border-radius: 16px;
  background: #fdf0d5;
  color: #6b4a00;
  font-weight: 600;
}
.legal-head {
  background: var(--forest-950);
}

/* Seite nicht gefunden */
.final-inner-dark {
  min-height: calc(100svh - 224px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
}
.final-inner-dark img {
  border-radius: 26px;
}
.final-inner-dark .lead {
  margin: 0;
}

/* Einblenden beim Scrollen (nur wenn JavaScript läuft und Bewegung erwünscht ist) */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .reveal.visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .toast {
    animation: none;
  }
}

/* ─── Tablet ────────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero {
    padding: 112px 0 72px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .hero-copy {
    text-align: center;
  }
  .lead {
    margin-inline: auto;
  }
  .hero-actions,
  .hero-facts {
    justify-content: center;
  }
  .hero-visual {
    height: 560px;
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 80px;
  }
  .feature-flip .feature-media {
    order: 0;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .operators-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px;
  }
}

/* ─── Handy ─────────────────────────────────────────────── */
@media (max-width: 760px) {
  body {
    font-size: 16px;
  }
  .menu {
    display: block;
  }
  .nav {
    position: fixed;
    inset: 72px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 16px 20px;
    background: rgb(16 36 26 / 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 20px 40px -20px rgb(0 0 0 / 0.6);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .nav.open {
    opacity: 1;
    transform: none;
    visibility: visible;
  }
  .nav a:not(.btn) {
    padding: 12px 8px;
    font-size: 17px;
  }
  .nav-cta {
    margin-top: 8px;
    padding: 14px;
  }
  .topbar.menu-open {
    background: rgb(16 36 26 / 0.97);
  }
  .hero-visual {
    height: 470px;
  }
  .phone-hero {
    width: 230px;
    left: 4%;
  }
  .hero-photo {
    width: 200px;
    height: 360px;
    right: 2%;
  }
  .toast {
    font-size: 13px;
    padding: 10px 14px 10px 10px;
  }
  .toast b {
    font-size: 14px;
  }
  .toast small {
    font-size: 12px;
  }
  .toast-a {
    left: 0;
    top: 70px;
  }
  .toast-b {
    right: 0;
    bottom: 40px;
  }
  .ic {
    width: 36px;
    height: 36px;
    font-size: 19px;
  }
  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px 8px;
  }
  .trust p {
    font-size: 13px;
    flex-direction: column;
    gap: 4px;
  }
  .section {
    padding: 80px 0;
  }
  .section-head {
    margin-bottom: 44px;
  }
  .video-section {
    padding: 64px 0 24px;
  }
  .video-frame {
    border-radius: 18px;
  }
  .feature-media {
    padding: 40px 16px;
    border-radius: 28px;
  }
  .feature-media .phone {
    width: min(250px, 74%);
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .operators {
    padding-bottom: 80px;
  }
  .operators-inner {
    padding: 32px 24px;
    border-radius: 28px;
  }
  .operators-inner .btn {
    width: 100%;
  }
  .final {
    padding-bottom: 80px;
  }
  .final-inner {
    padding: 56px 20px;
    border-radius: 28px;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .legal {
    padding: 104px 0 72px;
  }
}

@media (max-width: 400px) {
  .hero h1 {
    font-size: 38px;
  }
  .btn-lg {
    width: 100%;
  }
  .toast-a {
    top: 40px;
  }
}
