
:root{
  --bg:#07080c;
  --panel:#0c0f16;
  --panel2:#0a0c12;
  --text:#e9edf5;
  --muted:#aab3c5;
  --line:rgba(255,255,255,.10);
  --accent:#7c5cff;
  --accent2:#3dd6d0;
  --radius:18px;
  --max:1100px;
  --shadow: 0 12px 36px rgba(0,0,0,.55);
  --focus: 0 0 0 3px rgba(124,92,255,.35);
  --rk2-bg:    var(--bg, #07080c);
  --rk2-panel: var(--panel, #0c0f16);
  --rk2-panel2:var(--panel2, #0a0c12);
  --rk2-text:  var(--text, #e9edf5);
  --rk2-muted: var(--muted, #aab3c5);
  --rk2-line:  var(--line, rgba(255,255,255,.10));
  --rk2-a1:    var(--accent, #7c5cff);
  --rk2-a2:    var(--accent2, #3dd6d0);
  --rk2-r:     var(--radius, 18px);
}

/* =========================
   Base / Reset
========================= */
*{
  box-sizing:border-box;
  -webkit-tap-highlight-color: transparent;
}
html{
  height:100%;
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}
body{
  height:100%;
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  font-size: clamp(14px, 3.5vw, 16px);
  background-color:#05060a;
  color:var(--text);
  line-height:1.5;
}
body::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  background:
    radial-gradient(900px 500px at 15% 10%, rgba(124,92,255,.16), transparent 60%),
    radial-gradient(700px 420px at 85% 20%, rgba(61,214,208,.12), transparent 55%),
    linear-gradient(180deg, var(--bg), #05060a);
  background-repeat:no-repeat;
  background-size:cover;
}
main{
  max-width: 750px!important;
  margin: auto;
}
a{ color:inherit; text-decoration:none; }

h1{ font-size: clamp(1.4rem, 5vw, 2rem); }
h2{ font-size: clamp(1.2rem, 4.5vw, 1.6rem); }
h3{ font-size: clamp(1.05rem, 4vw, 1.3rem); }
p, li{ font-size: clamp(0.95rem, 3.6vw, 1.05rem); }

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible{
  outline:none;
  box-shadow:var(--focus);
  border-radius:12px;
}

.no-us{ user-select:none; }

/* =========================
   Layout
========================= */
main{
  max-width:var(--max);
  margin:0 auto;
  padding:22px 22px 28px;
}

.card{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  background-color: rgba(12,15,22,.88);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  margin-bottom:10px;
}

.panel{ padding:18px; }
.panel h2{ margin:0 0 8px; font-size:1.05rem; }
.panel p{ margin:0; color:var(--muted); }

.hero{ width:100%; }
.hero h1{
  margin:0 0 8px;
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  letter-spacing:.2px;
}
.hero p{
  margin:0 0 14px;
  color:var(--muted);
}

.dot{
  width:8px;
  height:8px;
  border-radius:999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 0 0 3px rgba(124,92,255,.18);
}
footer{
  border-top:1px solid var(--line);
  color:var(--muted);
  padding:18px;
  max-width:var(--max);
  margin:0 auto;
  font-size:.92rem;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  justify-content:space-between;
}
footer::after{
  content:"";
  position:absolute;
  left: 12px;
  right: 12px;
  top: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(124,92,255,.35),
    rgba(61,214,208,.22),
    rgba(255,255,255,.10),
    transparent
  );
  box-shadow:
    0 0 12px rgba(124,92,255,.22),
    0 0 18px rgba(61,214,208,.14);
  pointer-events:none;
}
footer div{ text-align:center; width:100%; }

.foot-links{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
  width:100%;
}
.foot-links a{ color:var(--muted); }
.foot-links a:hover{ color:var(--text); }
.foot-links a.toTopLink{ margin-left:auto; }



.note-card{
  padding:12px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.22);
}
.note-card textarea{
  width:100%;
  min-height: 120px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.30);
  color: var(--text);
  padding:10px 12px;
  outline:none;
}
.note-card textarea:focus-visible{ box-shadow: var(--focus); }

.small-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:10px;
}

/* =========================
   404 / Error
========================= */
.big-404{
  font-size: clamp(46px, 9vw, 92px);
  margin:0;
  letter-spacing: .04em;
}
.error-title{
  font-size: clamp(72px, 14vw, 140px);
  font-weight: 900;
  letter-spacing: .08em;
  text-align: center;
  margin: 6px 0 10px;
  line-height: 1;
  position: relative;
}
.error-title span{
  color: transparent;
  background:
    linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.55));
  -webkit-background-clip: text;
  background-clip: text;
  animation: errorShift 4s infinite ease-in-out;
  text-shadow:
    0 1px 0 rgba(255,255,255,.25),
    0 12px 40px rgba(124,92,255,.35),
    0 0 80px rgba(61,214,208,.18);
}
.error-title::after{
  content:"";
  display:block;
  width:120px;
  height:2px;
  margin:14px auto 0;
  border-radius:2px;
  background: linear-gradient(90deg,
    transparent,
    rgba(124,92,255,.9),
    rgba(61,214,208,.9),
    transparent
  );
}
@keyframes errorShift{
  0%,100%{ transform: translateX(0); }
  50%{ transform: translateX(.6px); }
}

/* ===============================
   Brand Title (Header)
=============================== */
.brand-title{
  display: inline-flex;
  align-items: center;
  gap: .15em;

  font-family: "Space Grotesk","Satoshi","Montserrat",
               system-ui,-apple-system,Segoe UI,Roboto,Arial,
               "Apple Color Emoji","Segoe UI Emoji";
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .04em;

  color: var(--text);
  white-space: nowrap;
  user-select: none;

  opacity: .92;
  transition: opacity .2s ease, transform .2s ease;
}

/* Hover dezente Betonung */
.brand:hover .brand-title{
  opacity: 1;
  transform: translateY(-1px);
}

/* ===============================
   Animated Brand (optional)
   nutzt dein data-text JS
=============================== */
.brand-title span{
  display: inline-block;
  animation: brand-in .55s ease both;
}

@keyframes brand-in{
  from{
    opacity: 0;
    transform: translateY(6px);
    
  }
  to{
    opacity: 1;
    transform: translateY(0);
    
  }
  span:is(:nth-child(5), :nth-child(10)){
  transform: rotate(-45deg);
}
  
}
@keyframes brand-emoji-wobble{
  0%{ transform: rotate(-30deg); }
  50%{ transform: rotate(90deg); }
  100%{ transform: rotate(45deg); }
}
.brand-title span:is(:nth-child(5), :nth-child(10)){
  animation:
    brand-in .9s cubic-bezier(.22,.61,.36,1) both,
    brand-emoji-wobble .7s ease-out .2s both;
}
.brand:hover .brand-title span:is(:nth-child(5), :nth-child(10)){
  transform: rotate(25deg) scale(1.08);
} 

.quote-slider{
  position:relative;
  overflow:hidden;
  width:100%;
  padding:24px 0;
  background: transparent;
}
.slider-track{
  display:flex;
  gap:16px;
  will-change: transform;
  touch-action: pan-y;
  background: transparent;
}
.slide{
  position:relative;
  min-width:100%;
  max-width:100%;
  margin:0 auto;
  padding:20px 24px;
  background: var(--panel, #0c0f16);
  color: var(--text, #fff);
  border-radius:18px;
  text-align:center;
  font-size: clamp(1rem, 2.8vw, 1.25rem);
  user-select:none;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:5;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
}
.slide::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius:20px; 
  background:
    radial-gradient(420px 240px at 20% 0%, rgba(124,92,255,.18), transparent 60%),
    radial-gradient(360px 220px at 80% 0%, rgba(61,214,208,.10), transparent 62%);
  pointer-events:none;
}
/* ===============================
   AUTOFILL FIX (Chrome / Android)
   =============================== */

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-text-fill-color: #fff !important;
  caret-color: #fff;

  transition: background-color 9999s ease-in-out 0s;

  box-shadow: 0 0 0px 1000px #111 inset !important;
}
#egg-bg{
  position: fixed;
  inset: 0;
  z-index: 0;               
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s ease;
}
.miau-mode #egg-bg{
  opacity: 1;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Ctext x='10' y='55' font-size='34'%3E%F0%9F%90%BE%3C/text%3E%3Ctext x='120' y='140' font-size='34'%3E%F0%9F%90%BE%3C/text%3E%3Ctext x='40' y='190' font-size='34'%3E%F0%9F%90%BE%3C/text%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 220px 220px;
}
.user-toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 10px 12px;
  border-radius: 16px;
  color: var(--text, #e9edf5);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  max-width: min(92vw, 680px);
  backdrop-filter: blur(8px);
  z-index: 9999;
}
.user-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}