/* fuewa.systems — 2020 edition
   Flat design, blobs, soft shadows, a pinch of neumorphism & glassmorphism.
   No webfonts are loaded: the stack prefers locally installed geometric sans faces. */

:root {
  --font: "Poppins", "Montserrat", "Avenir Next", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --primary: #6c63ff;
  --primary-2: #8f5cff;
  --pink: #ff6584;
  --ink: #2f2e41;
  --text: #55566b;
  --muted: #8a8ba3;
  --bg: #f7f8fc;
  --card: #ffffff;
  --line: #ececf5;
  --neu-a: #ffffff;
  --neu-b: #dfe2ee;
  --glass: rgba(255, 255, 255, .55);
  --shadow: 0 20px 50px -20px rgba(76, 70, 160, .35);
  --radius: 22px;
}
html[data-theme="dark"] {
  --ink: #f1f0ff;
  --text: #b9b8d3;
  --muted: #8786a6;
  --bg: #16152b;
  --card: #201f3a;
  --line: #2d2c4d;
  --neu-a: #23224a;
  --neu-b: #0f0e22;
  --glass: rgba(32, 31, 58, .6);
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font: 400 17px/1.7 var(--font); color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; transition: background .3s, color .3s;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--ink); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }
.wrap { width: min(1160px, 100% - 48px); margin: 0 auto; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); background: rgba(108, 99, 255, .1); padding: 6px 14px; border-radius: 99px; margin-bottom: 18px; }
.gradient-text { background: linear-gradient(90deg, var(--primary), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* COVID banner */
.covid { position: sticky; top: 0; z-index: 50; background: linear-gradient(90deg, #2f2e41, #45437a); color: #fff; font-size: .88rem; text-align: center; padding: 9px 16px; }
.covid a { color: #ffd166; font-weight: 600; }

/* time travel strip */
.zeitreise { background: var(--card); border-bottom: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.zeitreise .wrap { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; padding: 8px 0; }
.zeitreise nav a { margin-left: 10px; color: var(--muted); }
.zeitreise nav a.aktiv { color: #fff; background: var(--primary); padding: 2px 10px; border-radius: 99px; }
.zeitreise strong { color: var(--ink); }

/* header */
.header { position: relative; z-index: 20; }
.header .wrap { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.logo { font-weight: 800; font-size: 1.5rem; color: var(--ink); letter-spacing: -.03em; display: flex; align-items: center; gap: 10px; }
.logo:hover { text-decoration: none; }
.logo .mark { width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), var(--pink)); display: grid; place-items: center; color: #fff; font-size: 1.1rem; box-shadow: 0 8px 20px -6px rgba(108, 99, 255, .7); }
.logo .dot { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.icon-btn { width: 50px; height: 50px; border-radius: 16px; border: 0; cursor: pointer; display: grid; place-items: center; color: var(--ink); font-size: 1.2rem;
  background: var(--bg); box-shadow: 6px 6px 14px var(--neu-b), -6px -6px 14px var(--neu-a); /* neumorphism */ }
.icon-btn:active { box-shadow: inset 4px 4px 10px var(--neu-b), inset -4px -4px 10px var(--neu-a); }
.burger { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.burger i { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; margin: 4px 0; }

/* fullscreen glass menu */
.menu { position: fixed; inset: 0; z-index: 60; display: none; place-items: center; background: rgba(22, 21, 43, .35);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.menu.offen { display: grid; }
.menu ul { list-style: none; margin: 0; padding: 40px 60px; background: var(--glass); border: 1px solid rgba(255, 255, 255, .35); border-radius: 30px; box-shadow: var(--shadow); text-align: center; }
.menu li a { display: block; font-size: 2rem; font-weight: 700; color: var(--ink); padding: 6px 0; }
.menu .schliessen { position: absolute; top: 24px; right: 24px; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 30px 0 90px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero p.lead { font-size: 1.2rem; max-width: 30em; margin-bottom: 32px; }
.hero .illu img { width: 100%; height: auto; display: block; }
.blob { position: absolute; z-index: -1; border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; filter: blur(2px); }
.blob.b1 { width: 520px; height: 520px; right: -140px; top: -120px; background: linear-gradient(135deg, rgba(108, 99, 255, .22), rgba(255, 101, 132, .18)); }
.blob.b2 { width: 260px; height: 260px; left: -90px; bottom: -40px; background: rgba(255, 209, 102, .28); border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%; }
.trust { display: flex; gap: 26px; margin-top: 34px; font-size: .9rem; color: var(--muted); }
.trust b { display: block; font-size: 1.5rem; color: var(--ink); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 30px; border-radius: 99px; font-weight: 600; font-size: 1rem; border: 0; cursor: pointer; font-family: inherit; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 50%, var(--pink) 100%); box-shadow: 0 14px 30px -10px rgba(108, 99, 255, .8); transition: transform .2s; }
.btn-ghost { color: var(--ink); background: transparent; }
.btn-ghost::after { content: "→"; transition: margin .2s; }
.btn-ghost:hover::after { margin-left: 6px; }

/* sections & cards */
section.block { padding: 80px 0; }
.center { text-align: center; max-width: 40em; margin: 0 auto 50px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { background: var(--card); border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .25s; }
.card:hover { transform: translateY(-6px); }
.card .ic { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 20px; }
.card .ic svg { width: 28px; height: 28px; }
.card p { margin: 0; font-size: .97rem; }
.ic.lila { background: rgba(108, 99, 255, .12); color: var(--primary); }
.ic.pink { background: rgba(255, 101, 132, .12); color: var(--pink); }
.ic.gelb { background: rgba(249, 168, 38, .14); color: #e8920c; }
.ic.gruen { background: rgba(42, 199, 140, .14); color: #1ea877; }
.ic.blau { background: rgba(56, 151, 255, .14); color: #2e86f0; }
.ic.grau { background: rgba(138, 139, 163, .16); color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.glass-card { background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .5); border-radius: 28px; padding: 40px; box-shadow: var(--shadow); position: relative; }
.name-formel { font-size: 2.4rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.name-formel span { color: var(--primary); }
.chips { display: flex; flex-wrap: wrap; gap: 12px; padding: 0; list-style: none; }
.chips li { background: var(--card); border: 1px solid var(--line); padding: 10px 18px; border-radius: 99px; font-weight: 600; color: var(--ink); font-size: .95rem; box-shadow: 0 6px 16px -10px rgba(76, 70, 160, .4); }

.cta-band { background: linear-gradient(135deg, var(--primary), var(--pink)); color: #fff; border-radius: 30px; padding: 56px; display: flex; justify-content: space-between; align-items: center; gap: 30px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; margin: 0; }
.cta-band p { margin: 6px 0 0; opacity: .9; }
.cta-band .btn { background: #fff; color: var(--primary); }
.cta-band::after { content: ""; position: absolute; width: 300px; height: 300px; right: -80px; top: -120px; border-radius: 50%; background: rgba(255, 255, 255, .12); }

.page-head { padding: 40px 0 10px; }
.prose { max-width: 46em; }
.prose h2 { margin-top: 1.4em; font-size: 1.4rem; }
.kontakt-liste { list-style: none; padding: 0; display: grid; gap: 16px; }
.kontakt-liste li { display: flex; gap: 16px; align-items: center; background: var(--card); padding: 18px 22px; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 10px 30px -18px rgba(76, 70, 160, .5); }
.kontakt-liste b { display: block; color: var(--ink); }

/* footer */
footer { margin-top: 60px; padding: 50px 0 30px; border-top: 1px solid var(--line); font-size: .92rem; }
footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
footer h4 { color: var(--ink); margin: 0 0 12px; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin: 6px 0; }
footer a { color: var(--text); }
footer .unten { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: .85rem; }

/* the obligatory cookie banner (visual only) */
.cookie { position: fixed; z-index: 70; left: 24px; right: 24px; bottom: 24px; max-width: 1100px; margin: 0 auto; display: flex; gap: 30px; align-items: center;
  background: var(--card); color: var(--text); border-radius: 24px; padding: 28px 32px; box-shadow: 0 30px 80px -20px rgba(20, 18, 60, .55); border: 1px solid var(--line); }
.cookie .keks { font-size: 2.6rem; }
.cookie h3 { margin: 0 0 4px; }
.cookie p { margin: 0; font-size: .92rem; }
.cookie .knoepfe { display: flex; gap: 12px; flex-shrink: 0; }
.cookie .btn { padding: 13px 24px; }
.cookie .btn-ghost::after { content: none; }
.cookie .btn-ghost { box-shadow: inset 0 0 0 2px var(--line); }
.cookie.weg { display: none; }

/* chat bubble + fake panel */
.chat-bubble { position: fixed; z-index: 65; right: 26px; bottom: 26px; display: flex; align-items: center; gap: 12px; }
.chat-bubble .sprech { background: var(--card); color: var(--ink); padding: 12px 18px; border-radius: 18px 18px 4px 18px; box-shadow: var(--shadow); font-weight: 600; font-size: .95rem; border: 1px solid var(--line); }
.chat-bubble button { width: 62px; height: 62px; border-radius: 50%; border: 0; cursor: pointer; color: #fff; font-size: 1.6rem;
  background: linear-gradient(135deg, var(--primary), var(--pink)); box-shadow: 0 14px 30px -8px rgba(108, 99, 255, .9); position: relative; }
.chat-bubble button::after { content: "1"; position: absolute; top: -2px; right: -2px; width: 22px; height: 22px; border-radius: 50%; background: #ff3b5c; font-size: .75rem; font-weight: 700; line-height: 22px; border: 2px solid var(--bg); }
.chat-panel { position: fixed; z-index: 66; right: 26px; bottom: 104px; width: 340px; border-radius: 24px; overflow: hidden; display: none; background: var(--card); box-shadow: 0 30px 70px -20px rgba(20, 18, 60, .6); border: 1px solid var(--line); }
.chat-panel.offen { display: block; }
.chat-panel header { background: linear-gradient(135deg, var(--primary), var(--pink)); color: #fff; padding: 20px 22px; }
.chat-panel header b { display: block; font-size: 1.1rem; }
.chat-panel header small { opacity: .85; }
.chat-panel .verlauf { padding: 20px 22px; font-size: .93rem; }
.chat-panel .msg { background: var(--bg); border-radius: 16px 16px 16px 4px; padding: 12px 14px; margin-bottom: 10px; }
.chat-panel .btn { width: 100%; justify-content: center; margin-top: 6px; }

@media (max-width: 860px) {
  .hero .wrap, .split, .cards, footer .cols { grid-template-columns: 1fr; }
  .cta-band, .cookie { flex-direction: column; align-items: flex-start; }
  .chat-bubble .sprech { display: none; }
}

/* keep the chat bubble clear of the (huge) cookie banner while it is shown */
.cookie:not(.weg) ~ .chat-bubble { bottom: 200px; }
.cookie:not(.weg) ~ .chat-panel { bottom: 278px; }
