/* bpannen.de – Landingpage */

@view-transition { navigation: auto; }

:root {
  --bg: #f6f7f9;
  --card: #ffffff;
  --text: #15181d;
  --muted: #5d6470;
  --line: #e6e8ec;
  --accent: #fcbf07;
  --accent-2: #f68a00;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html, body { height: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* sanfte Lichtflecken im Hintergrund */
body::before, body::after {
  content: "";
  position: fixed;
  z-index: -1;
  width: 60vmax; height: 60vmax;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
  animation: drift 18s ease-in-out infinite alternate;
}
body::before { top: -30vmax; left: -20vmax; background: radial-gradient(circle, var(--accent), transparent 60%); }
body::after  { bottom: -35vmax; right: -25vmax; background: radial-gradient(circle, var(--accent-2), transparent 60%); animation-delay: -9s; }
@keyframes drift { to { transform: translate(6vmax, 4vmax) scale(1.08); } }

a { color: inherit; text-decoration: none; }

main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 48px 16px;
}

.wrap { width: min(100%, 760px); text-align: center; }

.brand {
  margin: 0;
  font-size: clamp(2.6rem, 10vw, 5rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
}
.brand span {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead { color: var(--muted); font-size: 1.1rem; margin: 16px 0 44px; }

.choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  text-align: left;
}

.choice {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
a.choice:hover, a.choice:focus-visible {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: 0 18px 40px rgba(21, 24, 29, .10);
}
a.choice::after {           /* Farbverlauf-Rand beim Überfahren */
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .35s var(--ease);
}
a.choice:hover::after, a.choice:focus-visible::after { opacity: 1; }

.choice__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: #fff5d6;
  color: #b36b00;
  transition: transform .35s var(--ease), background-color .35s var(--ease), color .35s var(--ease);
}
a.choice:hover .choice__icon { transform: rotate(-8deg) scale(1.05); background: var(--accent); color: var(--text); }
.choice__icon svg { width: 26px; height: 26px; }
.choice h2 { margin: 6px 0 0; font-size: 1.3rem; letter-spacing: -.01em; }
.choice p { margin: 0; color: var(--muted); line-height: 1.5; }
.choice__go { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .95rem; }
.choice__go svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
a.choice:hover .choice__go svg { transform: translateX(4px); }

.choice--soon { border-style: dashed; background: transparent; color: var(--muted); justify-content: center; align-items: center; text-align: center; min-height: 200px; }
.choice--soon .choice__icon { background: var(--line); color: var(--muted); }

footer { padding: 24px 16px; text-align: center; color: var(--muted); font-size: .85rem; }

/* Einblenden */
.in { animation: rise .8s var(--ease) both; }
.in-1 { animation-delay: .08s; } .in-2 { animation-delay: .16s; } .in-3 { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Unterseiten */
.back {
  position: fixed; top: 16px; left: 16px; z-index: 5;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.back:hover { transform: translateX(-2px); box-shadow: 0 8px 20px rgba(21, 24, 29, .08); }
.back svg { width: 18px; height: 18px; }

:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 4px; border-radius: 8px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
