/* ==========================================================================
   samodev – Portfolio
   ========================================================================== */
:root {
  --bg: #f2f3f5;
  --surface: #ffffff;
  --surface-2: #f6f7f9;
  --ink: #0d0d12;
  --ink-2: #2a2b33;
  --muted: #74778a;
  --line: #e4e5ea;
  --violet: #8b6cf6;
  --violet-2: #6f4ff0;
  --violet-soft: #ece7ff;
  --orange: #f26b3a;
  --orange-2: #e8572a;
  --yellow: #fde68a;
  --sky: #74c6f7;
  --star: #f5c542;
  --radius: 22px;
  --shadow-sm: 0 1px 2px rgba(16, 18, 30, .04), 0 2px 8px rgba(16, 18, 30, .04);
  --shadow: 0 2px 4px rgba(16, 18, 30, .03), 0 12px 32px rgba(16, 18, 30, .07);
  --shadow-lg: 0 4px 10px rgba(16, 18, 30, .04), 0 24px 60px rgba(16, 18, 30, .12);
  --font: "Urbanist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Inter Tight", "Urbanist", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --nav-bg: rgba(255,255,255,.82);
  --on-ink: #fff;
  --footer-word: #dcdde3;
  --skeleton: #eef0f3;
  --skeleton-2: #e6e3f3;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: -.035em; line-height: 1.04; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  height: 48px; padding: 0 26px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 600; font-size: 15.5px; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { height: 38px; padding: 0 16px; border-radius: 10px; font-size: 14.5px; }
.btn-block { width: 100%; }
.btn-dark { background: var(--ink); color: var(--on-ink); box-shadow: 0 6px 16px rgba(13, 13, 18, .18); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-orange {
  color: #fff; background: linear-gradient(180deg, #ff8659, var(--orange-2));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 8px 20px rgba(242, 107, 58, .32);
}
.btn-violet {
  color: #fff; background: linear-gradient(180deg, #a68cff, var(--violet-2));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 8px 20px rgba(139, 108, 246, .35);
}

/* ---------- Navigation ---------- */
.nav-wrap { position: fixed; top: 16px; left: 0; right: 0; z-index: 50; padding: 0 16px; pointer-events: none; }
.nav {
  pointer-events: auto;
  max-width: 760px; margin: 0 auto; height: 60px; padding: 0 10px 0 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--nav-bg); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(228,229,234,.9); border-radius: 16px; box-shadow: var(--shadow);
}
.logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -.04em; }
.logo-mark {
  width: 22px; height: 22px; border-radius: 7px; position: relative;
  background: linear-gradient(135deg, #a68cff, var(--violet-2));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4);
}
.logo-mark::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 2.5px solid #fff; border-right-color: transparent; transform: rotate(45deg); }
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; font-size: 15px; font-weight: 500; }
.nav-links a { color: var(--ink-2); transition: color .2s; }
.nav-links a:hover { color: var(--violet-2); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { width: 16px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu {
  pointer-events: auto; max-width: 760px; margin: 8px auto 0; padding: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
  display: grid;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 12px 14px; border-radius: 10px; font-weight: 600; }
.mobile-menu a:hover { background: var(--surface-2); }

/* ---------- Layout ---------- */
.section { max-width: 1180px; margin: 0 auto; padding: 110px 24px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.display { font-size: clamp(40px, 6.2vw, 76px); }
.display.sm { font-size: clamp(34px, 4.6vw, 54px); }
.lead { color: var(--muted); font-size: 18px; margin-top: 16px; }
.section-head .lead { max-width: 520px; margin-left: auto; margin-right: auto; }

/* ---------- Reveal-Animationen ---------- */
.reveal-words .w { display: inline-block; opacity: 0; filter: blur(12px); transform: translateY(14px); transition: opacity .8s var(--ease), filter .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i) * 70ms); }
.reveal-words.in .w { opacity: 1; filter: blur(0); transform: none; }
.reveal-up { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal-up.in { opacity: 1; transform: none; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { overflow-x: clip; padding: 120px 24px 40px; text-align: center; max-width: 1180px; margin: 0 auto; }
.hub { position: relative; width: min(1000px, 100%); margin: 0 auto 30px; aspect-ratio: 10 / 3; container-type: inline-size; }
.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub-lines path { fill: none; stroke: #d9dbe2; stroke-width: 1.3; vector-effect: non-scaling-stroke; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.6s .3s var(--ease) forwards; }
.hub-lines .node { fill: var(--violet); opacity: 0; animation: fade .4s 1.4s forwards; }
.hub-lines .pulse { fill: var(--violet); opacity: .8; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

.tile {
  position: absolute; display: grid; place-items: center; transform: translate(-50%, -50%);
  border-radius: 22%; background: var(--surface); box-shadow: var(--shadow);
  opacity: 0; animation: pop .7s var(--ease) forwards, float 6s ease-in-out infinite;
}
.tile svg { width: 46%; height: 46%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@keyframes pop { from { opacity: 0; scale: .6; } to { opacity: 1; scale: 1; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }

.t-avatar { left: 11%; top: 50%; width: 8.6cqw; height: 8.6cqw; animation-delay: .9s, 0s; background: linear-gradient(140deg, #ffd9c7, #ffb59a); border: 3px solid #fff; }
.t-avatar span { font-family: var(--font-display); font-weight: 700; font-size: 3.6cqw; color: #9a3a14; }
.t-yellow { left: 18.5%; top: 30%; width: 5.4cqw; height: 5.4cqw; background: linear-gradient(180deg, #fff1a8, #fbd54b); color: #6b4d00; animation-delay: 1.1s, .8s; }
.t-blue { left: 20.8%; top: 72%; width: 6.6cqw; height: 6.6cqw; background: linear-gradient(180deg, #9fdbff, #53b3f0); color: #fff; animation-delay: 1.2s, 1.6s; }
.t-orange { left: 82.6%; top: 28%; width: 6.6cqw; height: 6.6cqw; background: linear-gradient(180deg, #ff9670, var(--orange-2)); color: #fff; animation-delay: 1.15s, .4s; }
.t-eyes { left: 89%; top: 50%; width: 8cqw; height: 8cqw; gap: .6cqw; grid-auto-flow: column; animation-delay: 1s, 1.2s; }
.t-small { left: 79.6%; top: 72%; width: 5cqw; height: 5cqw; color: var(--violet-2); background: var(--violet-soft); animation-delay: 1.25s, 2s; }
.eye { width: 1.7cqw; height: 2.6cqw; border-radius: 50%; border: .28cqw solid var(--ink); position: relative; display: block; overflow: hidden; background: var(--surface); }
.eye i { position: absolute; width: 1cqw; height: 1.3cqw; border-radius: 50%; background: var(--ink); left: 50%; top: 50%; transform: translate(calc(-50% + var(--ex, 0px)), calc(-50% + var(--ey, 0px))); transition: transform .12s linear; }

.core {
  position: absolute; left: 50%; top: 50%; width: 14cqw; height: 14cqw; transform: translate(-50%, -50%);
  border-radius: 26%; display: grid; place-items: center;
  background: radial-gradient(120% 90% at 30% 15%, #c3b2ff 0%, #9a7dfb 40%, #7a58f2 100%);
  box-shadow: inset 0 2px 1px rgba(255,255,255,.45), inset 0 -6px 14px rgba(70, 30, 180, .35), 0 18px 40px rgba(122, 88, 242, .45);
  animation: pop .8s .2s var(--ease) both;
}
.core::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; border: .4cqw solid rgba(255,255,255,.85); opacity: .0; }
.core-icon { position: absolute; width: 46%; height: 46%; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.6) rotate(-20deg); transition: opacity .45s var(--ease), transform .55s var(--ease); filter: drop-shadow(0 2px 4px rgba(60, 20, 160, .35)); }
.core-icon.is-active { opacity: 1; transform: none; }

.hero-title { font-size: clamp(46px, 8vw, 96px); max-width: 900px; margin: 0 auto; }
.hero-sub { max-width: 540px; margin: 22px auto 0; color: var(--muted); font-size: 18px; }
.hero-actions { margin-top: 32px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Floating Showcase
   ========================================================================== */
.float-section { position: relative; max-width: 1280px; margin: 80px auto 0; min-height: 760px; display: grid; place-items: center; padding: 0 24px; }
.float-cards { position: absolute; inset: 0; pointer-events: none; }
.fcard {
  position: absolute; width: clamp(130px, 13vw, 176px); aspect-ratio: 3 / 4; padding: 6px;
  background: var(--surface); border-radius: 18px; box-shadow: var(--shadow-lg);
  transform: translateY(var(--py, 0px)) rotate(var(--rot, 0deg));
  transition: transform .1s linear;
}
.fcard-in { height: 100%; border-radius: 13px; overflow: hidden; background: var(--c1); position: relative; display: flex; flex-direction: column; }
.fcard-bar { height: 14px; display: flex; gap: 3px; align-items: center; padding: 0 7px; background: rgba(255,255,255,.25); }
.fcard-bar i { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.8); }
.fcard-hero { padding: 12px 10px 0; color: #fff; }
.fcard-hero b { display: block; font-family: var(--font-display); font-size: 13px; line-height: 1.1; letter-spacing: -.02em; }
.fcard-hero span { display: block; width: 60%; height: 4px; margin-top: 7px; border-radius: 4px; background: rgba(255,255,255,.6); }
.fcard-hero em { display: inline-block; margin-top: 9px; height: 12px; width: 38px; border-radius: 4px; background: var(--c2); }
.fcard-body { margin-top: auto; background: var(--surface); padding: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 5px; height: 46%; }
.fcard-body i { border-radius: 6px; background: var(--surface-2); }
.fcard-body i:first-child { background: color-mix(in srgb, var(--c1) 22%, var(--surface)); }
.fcard-tag { position: absolute; left: 50%; bottom: -12px; transform: translateX(-50%); background: var(--surface); border: 1px solid var(--line); border-radius: 99px; padding: 3px 10px; font-size: 11.5px; font-weight: 600; white-space: nowrap; box-shadow: var(--shadow-sm); }

.float-center { position: relative; z-index: 2; text-align: center; max-width: 520px; display: flex; flex-direction: column; align-items: center; }
.float-center .lead { max-width: 430px; }
.float-center .btn { margin-top: 30px; }
.mini-icon { width: 58px; height: 58px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); display: grid; place-items: center; margin: 0 auto 26px; color: var(--violet-2); }
.mini-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mini-icon.orange { color: var(--orange); }
.swirl-word { position: relative; display: inline-block; }
.swirl { position: absolute; left: -6%; top: -18%; width: 112%; height: 140%; overflow: visible; pointer-events: none; }
.swirl path { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 520; stroke-dashoffset: 520; transition: stroke-dashoffset 1.4s .5s var(--ease); }
.in .swirl path, .swirl-word.in .swirl path { stroke-dashoffset: 0; }

/* ==========================================================================
   Bento
   ========================================================================== */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 14px 28px; overflow: hidden; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.card:hover { box-shadow: var(--shadow-lg); }
.card h3 { font-size: 23px; margin: 22px 14px 8px; }
.card p { color: var(--muted); font-size: 15.5px; margin: 0 14px; }
.card-wide { grid-column: span 2; padding: 14px; }
.card-visual { height: 220px; border-radius: 16px; position: relative; overflow: hidden; display: grid; place-items: center; background: linear-gradient(180deg, var(--surface-2), var(--surface)); }

/* Websites */
.ghost-card { position: absolute; top: 34px; width: 34%; height: 150px; border-radius: 14px; background: #eceef2; }
.ghost-card.l { left: -14%; } .ghost-card.r { right: -14%; }
.mini-panel { position: relative; width: 74%; background: var(--surface); border-radius: 14px; box-shadow: var(--shadow); padding: 14px 14px 16px; transition: transform .4s var(--ease); }
.card:hover .mini-panel { transform: translateY(-6px); }
.mini-panel-head, .mock-list-head { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; font-weight: 600; margin-bottom: 12px; }
.chip { font-size: 10.5px; font-weight: 600; border: 1px solid var(--line); padding: 2px 8px; border-radius: 99px; color: var(--muted); }
.scores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.score { position: relative; display: grid; justify-items: center; }
.score svg { width: 58px; height: 58px; transform: rotate(-90deg); }
.score circle { fill: none; stroke: #eef0f3; stroke-width: 3.2; }
.score .arc { stroke: url(#none); stroke: #2fbf71; stroke-linecap: round; stroke-dasharray: 94.25; stroke-dashoffset: 94.25; transition: stroke-dashoffset 1.4s .3s var(--ease); }
.in .score .arc, .score.in .arc { stroke-dashoffset: calc(94.25 - 94.25 * var(--v) / 100); }
.score b { position: absolute; top: 19px; font-size: 14px; font-family: var(--font-display); }
.score small { font-size: 11px; color: var(--muted); margin-top: 4px; }

/* Tools */
.rings { position: absolute; inset: 0; display: grid; place-items: center; }
.rings i { position: absolute; border-radius: 50%; border: 1px solid #e9eaee; }
.rings i:nth-child(1) { width: 140px; height: 140px; } .rings i:nth-child(2) { width: 240px; height: 240px; } .rings i:nth-child(3) { width: 340px; height: 340px; }
.notif { position: absolute; left: 50%; width: 80%; height: 50px; background: var(--surface); border-radius: 12px; box-shadow: var(--shadow); transform: translateX(-50%); transition: transform .5s var(--ease); }
.notif.n3 { top: 98px; width: 66%; opacity: .5; }
.notif.n2 { top: 90px; width: 73%; opacity: .8; background: #fff6d6; }
.notif.n1 { top: 80px; display: flex; align-items: center; gap: 10px; padding: 0 12px; font-size: 13.5px; font-weight: 600; }
.card:hover .notif.n2 { transform: translate(-50%, 10px); } .card:hover .notif.n3 { transform: translate(-50%, 20px); }
.notif-ic { width: 30px; height: 30px; flex: none; border-radius: 8px; display: grid; place-items: center; color: #fff; background: linear-gradient(180deg, #ff9670, var(--orange-2)); }
.notif-ic svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Apps */
.vis-apps { background: repeating-linear-gradient(90deg, transparent 0 22px, #f1f2f5 22px 23px), linear-gradient(180deg, var(--surface-2), var(--surface)); }
.paper { position: absolute; width: 120px; height: 100px; background: var(--surface); border-radius: 10px; box-shadow: var(--shadow); padding: 14px; transition: transform .5s var(--ease); }
.paper i { display: block; width: 32px; height: 22px; border-radius: 5px; background: #e6e3f3; }
.paper b { display: block; height: 5px; border-radius: 4px; background: #eef0f3; margin-top: 10px; }
.paper b + b { width: 60%; margin-top: 6px; }
.paper.p1 { transform: translate(-48px, -6px) rotate(-6deg); }
.paper.p2 { transform: translate(46px, -18px) rotate(5deg); }
.card:hover .paper.p1 { transform: translate(-62px, -10px) rotate(-10deg); }
.card:hover .paper.p2 { transform: translate(60px, -22px) rotate(9deg); }
.app-badge { position: relative; z-index: 1; margin-top: 70px; width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: radial-gradient(120% 90% at 30% 15%, #c3b2ff 0%, #9a7dfb 45%, #7a58f2 100%); box-shadow: inset 0 1px 1px rgba(255,255,255,.5), 0 10px 22px rgba(122, 88, 242, .4); }
.app-badge svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Wide card */
.wide-grid { display: grid; grid-template-columns: 1fr 1.55fr; gap: 14px; height: 100%; }
.wide-text { display: flex; flex-direction: column; justify-content: space-between; padding: 12px 14px 14px; }
.wide-text h3 { margin: 0 0 8px; }
.wide-text p { margin: 0; }
.icon-tile { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--surface); box-shadow: var(--shadow); color: var(--orange); }
.icon-tile svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.wide-visual { border-radius: 16px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); padding: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; min-height: 260px; }
.mock-list, .mock-chart { background: var(--surface); border-radius: 14px; box-shadow: var(--shadow); padding: 14px; font-size: 12.5px; }
.see { color: var(--muted); font-weight: 500; }
.tabs { display: flex; gap: 10px; margin-bottom: 8px; font-size: 11.5px; color: var(--muted); }
.tabs em { font-style: normal; background: var(--ink); color: var(--on-ink); border-radius: 5px; padding: 0 5px; margin-left: 3px; font-size: 10px; }
.tabs .on { color: var(--ink); font-weight: 600; }
.row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid #f0f1f4; }
.row b { display: block; font-size: 12.5px; } .row small { color: var(--muted); font-size: 11px; }
.row .dot { margin-left: auto; width: 7px; height: 7px; border-radius: 50%; background: var(--violet); }
.av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 12px; color: #fff; flex: none; }
.a1 { background: #f59e8b; } .a2 { background: #7cc0f7; } .a3 { background: #8bd3a5; }
.bars { height: 150px; display: flex; align-items: flex-end; gap: 7px; padding-top: 20px; background: repeating-linear-gradient(180deg, transparent 0 29px, #f1f2f5 29px 30px); }
.bars i { flex: 1; height: 0; border-radius: 6px 6px 3px 3px; background: #eceaf6; position: relative; transition: height 1s var(--ease); }
.in .bars i, .bars.in i { height: var(--h); }
.bars i.hl { background: linear-gradient(180deg, #a68cff, var(--violet-2)); }
.bars i.hl span { position: absolute; top: -24px; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--on-ink); font-size: 10px; font-style: normal; padding: 2px 6px; border-radius: 6px; }

/* Orbit */
.orbit { position: absolute; width: 190px; height: 190px; animation: spin 40s linear infinite; }
.orbit span { position: absolute; left: 50%; top: 50%; width: 38px; height: 38px; margin: -19px; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); display: grid; place-items: center; font-size: 17px; transform: rotate(calc(var(--i) * 45deg)) translate(95px) rotate(calc(var(--i) * -45deg)); }
.orbit-core { position: relative; width: 70px; height: 70px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow); display: grid; place-items: center; color: var(--ink); }
.orbit-core svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit span b { display: block; font-weight: 400; animation: counter 40s linear infinite; }
@keyframes counter { from { rotate: 0deg; } to { rotate: -360deg; } }

/* ==========================================================================
   Tech-Stack Karussell
   ========================================================================== */
.stack-card { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 46px 20px 54px; text-align: center; overflow: hidden; }
.stack-stage { position: relative; height: 230px; margin-top: 46px; }
.stack-tile {
  position: absolute; left: 50%; top: 20px; width: 128px; height: 128px; margin-left: -64px; border: 0; padding: 0;
  border-radius: 26px; background: var(--surface-2); display: grid; place-items: center;
  transition: transform .8s var(--ease), opacity .6s var(--ease), background .4s;
}
.stack-tile.active { background: #eef0f4; }
.stack-logo { width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -.04em; box-shadow: var(--shadow-sm); }
.stack-label b { display: block; font-family: var(--font-display); font-size: 21px; letter-spacing: -.02em; }
.stack-label small { color: var(--muted); font-size: 15px; }
.stack-label { min-height: 52px; transition: opacity .3s; }

/* ==========================================================================
   Projekte
   ========================================================================== */
.filters { display: flex; justify-content: center; gap: 8px; margin-bottom: 34px; flex-wrap: wrap; }
.filter { height: 40px; padding: 0 18px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 14.5px; color: var(--ink-2); transition: all .2s; }
.filter.on { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 18px; }
.project { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 10px 22px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); animation: rise .6s var(--ease) both; }
.project:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }
.project-thumb { height: 210px; border-radius: 15px; position: relative; overflow: hidden; background: linear-gradient(150deg, color-mix(in srgb, var(--c) 70%, var(--surface)), var(--c)); padding: 26px 26px 0; display: flex; }
.project-thumb .browser { flex: 1; background: var(--surface); border-radius: 10px 10px 0 0; box-shadow: 0 -4px 30px rgba(0,0,0,.12); padding: 0; overflow: hidden; transition: transform .5s var(--ease); }
.project:hover .browser { transform: translateY(-8px); }
.browser-bar { height: 22px; display: flex; gap: 5px; align-items: center; padding: 0 10px; background: #f3f4f6; }
.browser-bar i { width: 7px; height: 7px; border-radius: 50%; background: #d7d9df; }
.browser-body { padding: 16px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; }
.browser-body b { font-family: var(--font-display); font-size: 17px; letter-spacing: -.03em; line-height: 1.1; }
.browser-body span { display: block; height: 6px; border-radius: 4px; background: #eef0f3; margin-top: 8px; }
.browser-body span.c { width: 50px; height: 16px; background: var(--c); margin-top: 12px; border-radius: 5px; }
.browser-body .img { border-radius: 8px; background: color-mix(in srgb, var(--c) 18%, var(--surface)); }
.project-meta { padding: 18px 12px 0; }
.project-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.project h3 { font-size: 21px; }
.cat { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: var(--violet-soft); color: var(--violet-2); }
.project p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.tags span { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); }
.project-link { display: inline-flex; margin-top: 14px; font-weight: 600; font-size: 14.5px; color: var(--violet-2); }
.empty { text-align: center; color: var(--muted); grid-column: 1 / -1; padding: 40px; }

/* ==========================================================================
   Ablauf
   ========================================================================== */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 30px; position: relative; }
.step-n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--violet-2); margin-bottom: 28px; }
.step:nth-child(4) .step-n { background: linear-gradient(180deg, #a68cff, var(--violet-2)); color: #fff; border: 0; }
.step h3 { font-size: 21px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* ==========================================================================
   Envelope Testimonials
   ========================================================================== */
.envelope-wrap { display: flex; flex-direction: column; align-items: center; }
.envelope { position: relative; width: min(440px, 100%); height: 480px; }
.env-back { position: absolute; left: 0; right: 0; bottom: 0; height: 300px; border-radius: 18px; background: linear-gradient(180deg, #a68cff, var(--violet-2)); clip-path: polygon(0 26%, 50% 0, 100% 26%, 100% 100%, 0 100%); }
.env-front { position: absolute; left: 0; right: 0; bottom: 0; height: 160px; z-index: 3; filter: drop-shadow(0 -8px 18px rgba(30, 20, 80, .10)); }
.env-front::before { content: ""; position: absolute; inset: 0; background: #fbfbfd; border-radius: 0 0 18px 18px; clip-path: polygon(0 0, 50% 52%, 100% 0, 100% 100%, 0 100%); }
.quote-card {
  position: absolute; z-index: 2; left: 8%; right: 8%; top: 0; height: 380px;
  background: var(--surface); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 26px 24px; text-align: center;
  transform: rotate(-3deg); transition: transform .6s var(--ease), opacity .4s;
}
.quote-card.out { transform: translateY(150px) rotate(0deg); opacity: .4; }
.q-avatar { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 14px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 21px; color: #fff; background: var(--qc, var(--orange)); box-shadow: 0 0 0 4px var(--surface), 0 6px 16px rgba(0,0,0,.12); }
.q-name { font-size: 20px; }
.q-role { font-size: 14px; color: var(--muted); font-style: italic; margin-top: 4px; }
.q-stars { color: var(--star); font-size: 17px; letter-spacing: 2px; margin: 14px 0 12px; }
.q-stars span { color: var(--ink); font-size: 14px; letter-spacing: 0; font-weight: 600; margin-left: 4px; }
.q-text { color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.q-nav { display: flex; gap: 10px; margin-top: 26px; }
.round-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; transition: transform .2s, box-shadow .2s; }
.round-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.round-btn svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ==========================================================================
   Kontakt
   ========================================================================== */
.contact { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 54px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 54px; }
.contact-text .mini-icon { margin: 0 0 26px; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; font-weight: 600; }
.checks li { display: flex; align-items: center; gap: 10px; }
.checks li::before { content: ""; width: 22px; height: 22px; border-radius: 7px; flex: none; background: var(--violet-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f4ff0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.contact-form { display: grid; gap: 16px; align-content: start; }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend, .field > span { font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; padding: 0; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-flex; height: 38px; align-items: center; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line); font-weight: 600; font-size: 14.5px; transition: all .2s; background: var(--surface-2); }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.chips input:focus-visible + span { outline: 2px solid var(--violet); outline-offset: 2px; }
.field { display: grid; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 15.5px; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--surface); border-color: var(--violet); box-shadow: 0 0 0 4px rgba(139, 108, 246, .15); }
.hp { position: absolute; left: -9999px; }
.form-status { font-size: 14.5px; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: #1f9d55; } .form-status.err { color: #d43d2a; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { max-width: 1180px; margin: 120px auto 0; padding: 0 24px 30px; overflow: hidden; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 30px; border-top: 1px solid var(--line); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 15px; color: var(--muted); }
.footer-links a:hover { color: var(--ink); }
.footer-word { font-family: var(--font-display); font-weight: 700; letter-spacing: -.06em; font-size: clamp(80px, 21vw, 270px); line-height: .9; text-align: center; margin-top: 40px; background: linear-gradient(180deg, var(--footer-word), transparent); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.footer-copy { text-align: center; font-size: 14px; color: var(--muted); margin-top: 6px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1000px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .card-wide { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; padding: 40px; gap: 36px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-links, .hide-sm { display: none; }
  .nav-toggle { display: flex; }
  .nav { padding-left: 14px; }
  .section { padding-top: 84px; padding-left: 16px; padding-right: 16px; }
  .hero { padding: 104px 16px 20px; }
  .hub { aspect-ratio: 10 / 4.4; width: 120%; margin-left: -10%; }
  .hero-sub, .lead { font-size: 16.5px; }
  .float-section { min-height: 0; margin-top: 60px; padding: 0 16px; display: block; }
  .float-cards { position: relative; inset: auto; width: 100%; height: 210px; margin-bottom: 30px; }
  .fcard { width: 110px; }
  .bento { grid-template-columns: 1fr; }
  .wide-grid { grid-template-columns: 1fr; }
  .wide-text { gap: 18px; }
  .wide-visual { grid-template-columns: 1fr; padding: 14px; }
  .mock-chart { display: none; }
  .steps { grid-template-columns: 1fr; }
  .stack-stage { height: 190px; }
  .stack-tile { width: 100px; height: 100px; margin-left: -50px; border-radius: 22px; }
  .stack-logo { width: 50px; height: 50px; font-size: 19px; }
  .contact { padding: 26px 18px; border-radius: 22px; }
  .field-row { grid-template-columns: 1fr; }
  .quote-card { left: 5%; right: 5%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal-words .w, .reveal-up { opacity: 1; filter: none; transform: none; }
}

/* ---------- Kontaktdaten & Social (aus dem Admin) ---------- */
[hidden] { display: none !important; }
.contact-info { display: grid; gap: 10px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.contact-info a, .contact-info span { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink-2); width: fit-content; }
.contact-info a:hover { color: var(--violet-2); }
.contact-info svg { width: 18px; height: 18px; fill: none; stroke: var(--violet-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.social { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.social a { height: 38px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 14.5px; transition: transform .2s, box-shadow .2s; }
.social a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* ---------- Mehrstufiges Kontaktformular (Funnel) ---------- */
.funnel { position: relative; align-self: start; background: var(--surface-2); border: 1px solid var(--line); border-radius: 22px; padding: 30px 28px 26px; overflow: hidden; }
.funnel-progress { position: absolute; left: 0; right: 0; top: 0; height: 6px; background: #e6e3f3; }
.funnel-progress i { display: block; height: 100%; width: 25%; background: linear-gradient(90deg, #a68cff, var(--violet-2)); border-radius: 0 6px 6px 0; transition: width .5s var(--ease); }
.funnel-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 20px; }
.funnel-count b { color: var(--violet-2); }
.funnel-lock { display: inline-flex; align-items: center; gap: 6px; }
.funnel-lock svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.step-pane { border: 0; padding: 0; margin: 0; min-width: 0; display: none; gap: 16px; }
.step-pane.is-active { display: grid; animation: stepIn .45s var(--ease); }
.step-pane.back { animation-name: stepBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-24px); } }
.funnel-title { padding: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: -.03em; font-size: clamp(24px, 3vw, 30px); line-height: 1.1; margin-bottom: 4px; float: left; width: 100%; }
.funnel-title + * { clear: both; }
.funnel-sub { color: var(--muted); font-size: 15.5px; margin-top: -6px; }
.funnel .field input, .funnel .field select, .funnel .field textarea { background: var(--surface); padding: 14px 15px; }
.funnel .chips span { background: var(--surface); height: 42px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #d43d2a; box-shadow: 0 0 0 4px rgba(212, 61, 42, .1); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); line-height: 1.5; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--violet-2); }
.consent a { color: var(--violet-2); font-weight: 600; }
.consent.invalid span { color: #d43d2a; }
.funnel .form-status { margin: 14px 0 0; min-height: 0; }
.funnel .form-status:empty { display: none; }
.funnel-actions { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.funnel-actions .btn { height: 54px; font-size: 16.5px; flex: 1; }
.funnel-back { border: 0; background: none; font-weight: 600; color: var(--muted); padding: 10px 6px; white-space: nowrap; }
.funnel-back:hover { color: var(--ink); }
.funnel-done { text-align: center; padding: 30px 6px 14px; animation: stepIn .5s var(--ease); }
.done-ic { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 22px; display: grid; place-items: center; background: radial-gradient(120% 90% at 30% 15%, #c3b2ff 0%, #9a7dfb 45%, #7a58f2 100%); box-shadow: 0 14px 30px rgba(122, 88, 242, .4); }
.done-ic svg { width: 34px; height: 34px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.funnel-done h3, .funnel-done .done-title { font-family: var(--font-display); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; font-size: 28px; margin-bottom: 10px; }
.funnel-done p { color: var(--muted); max-width: 380px; margin: 0 auto; }
.funnel.done .funnel-meta, .funnel.done .funnel-actions, .funnel.done .step-pane { display: none; }
@media (max-width: 760px) { .funnel { padding: 26px 16px 18px; border-radius: 18px; } }
.funnel.done .form-status { display: none; }
.funnel-note { display: block; font-size: 12.5px; margin-top: 6px; opacity: .8; }
.funnel-count em { font-style: normal; }

/* ---------- CTA-Kachel im Bento ---------- */
.cta-card {
  grid-column: 1 / -1; position: relative; isolation: isolate;
  padding: clamp(36px, 5vw, 60px); min-height: 330px; display: flex; align-items: center;
  background: #0d0d12; border-color: #0d0d12; color: #fff;
}
.cta-card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(70% 90% at 75% 50%, #000 0%, transparent 75%); -webkit-mask-image: radial-gradient(70% 90% at 75% 50%, #000 0%, transparent 75%); }
.cta-glow { position: absolute; z-index: -1; right: -8%; top: 50%; width: 560px; height: 560px; transform: translateY(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(139,108,246,.55) 0%, rgba(111,79,240,.18) 40%, transparent 70%); filter: blur(10px); animation: glow 7s ease-in-out infinite; }
@keyframes glow { 50% { transform: translateY(-50%) scale(1.08); opacity: .8; } }
.cta-content { position: relative; max-width: 560px; }
.cta-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #cfc6ff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 99px; padding: 6px 14px 6px 10px; }
.cta-eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61,220,132,.2); animation: blink 2s ease-in-out infinite; }
@keyframes blink { 50% { box-shadow: 0 0 0 7px rgba(61,220,132,0); } }
.cta-card h3 { font-size: clamp(30px, 3.8vw, 46px); margin: 20px 0 14px; color: #fff; }
.cta-card p { margin: 0; color: rgba(255,255,255,.65); font-size: 17px; max-width: 470px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.cta-actions .btn { height: 52px; }
.btn-glass { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); }
.btn-glass:hover { background: rgba(255,255,255,.14); }
.cta-points { list-style: none; padding: 0; margin: 26px 0 0; display: flex; gap: 8px 20px; flex-wrap: wrap; font-size: 14px; color: rgba(255,255,255,.7); }
.cta-points li { display: inline-flex; align-items: center; gap: 7px; }
.cta-points li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: rgba(139,108,246,.3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9cffd' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 10px no-repeat; }

/* schwebende Kacheln rechts (Echo vom Hero) */
.cta-tiles { position: absolute; right: 6%; top: 50%; width: 340px; height: 260px; transform: translateY(-50%); }
.ct { position: absolute; display: grid; place-items: center; border-radius: 22%; box-shadow: 0 18px 40px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.35); animation: float 6s ease-in-out infinite; }
.ct svg { width: 46%; height: 46%; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ct1 { left: 4%; top: 8%; width: 84px; height: 84px; background: linear-gradient(180deg, #9fdbff, #53b3f0); rotate: -8deg; }
.ct2 { left: 34%; top: 26%; width: 128px; height: 128px; background: radial-gradient(120% 90% at 30% 15%, #c3b2ff 0%, #9a7dfb 40%, #7a58f2 100%); box-shadow: 0 24px 60px rgba(122,88,242,.55), inset 0 2px 1px rgba(255,255,255,.45); animation-delay: -2s; }
.ct3 { right: 0; top: 0; width: 70px; height: 70px; background: linear-gradient(180deg, #ff9670, var(--orange-2)); rotate: 10deg; animation-delay: -1s; }
.ct4 { left: 12%; bottom: 0; width: 62px; height: 62px; background: linear-gradient(180deg, #fff1a8, #fbd54b); rotate: 6deg; animation-delay: -3s; }
.ct4 svg { stroke: #6b4d00; }
.cta-card:hover .ct2 { scale: 1.05; transition: scale .4s var(--ease); }

@media (max-width: 1000px) { .cta-tiles { right: -4%; opacity: .55; } }
@media (max-width: 760px) {
  .cta-card { padding: 30px 22px 32px; display: block; }
  .cta-tiles { position: relative; right: auto; top: auto; transform: none; width: 100%; height: 150px; opacity: 1; margin-bottom: 18px; }
  .ct1 { left: 6%; top: 18%; width: 60px; height: 60px; }
  .ct2 { left: calc(50% - 46px); top: 4%; width: 92px; height: 92px; }
  .ct3 { right: 8%; top: 12%; width: 54px; height: 54px; }
  .ct4 { left: 26%; bottom: 0; width: 44px; height: 44px; }
  .cta-glow { right: -40%; top: 20%; width: 420px; height: 420px; }
  .cta-actions .btn { flex: 1 1 100%; }
}

/* ==========================================================================
   Darkmode (wird über data-theme auf <html> gesteuert – siehe /theme.js)
   ========================================================================== */
.theme-toggle { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.theme-toggle .ti { display: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
[data-theme-pref="auto"] .theme-toggle .ti-auto, [data-theme-pref="dark"] .theme-toggle .ti-dark, [data-theme-pref="light"] .theme-toggle .ti-light { display: block; }
.theme-switching, .theme-switching * { transition: background-color .3s ease, border-color .3s ease, color .3s ease !important; }

[data-theme="dark"] {
  --bg: #0c0c12;
  --surface: #16161f;
  --surface-2: #1e1e29;
  --ink: #f2f2f7;
  --ink-2: #d3d4de;
  --muted: #9b9daf;
  --line: #2a2b38;
  --violet-soft: #2a2350;
  --nav-bg: rgba(22, 22, 31, .82);
  --on-ink: #0c0c12;
  --footer-word: #262735;
  --skeleton: #272834;
  --skeleton-2: #2c2846;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.3), 0 2px 8px rgba(0,0,0,.25);
  --shadow: 0 2px 4px rgba(0,0,0,.25), 0 12px 32px rgba(0,0,0,.35);
  --shadow-lg: 0 4px 10px rgba(0,0,0,.3), 0 24px 60px rgba(0,0,0,.5);
}
[data-theme="dark"] .nav { border-color: var(--line); }
[data-theme="dark"] .btn-dark { box-shadow: 0 6px 16px rgba(0,0,0,.35); }
/* Augen-Kachel bleibt "echt" (weiße Augen, dunkle Pupillen) */
[data-theme="dark"] .eye { background: #fff; border-color: #0d0d12; }
[data-theme="dark"] .eye i { background: #0d0d12; }
[data-theme="dark"] .hub-lines path { stroke: #33354a; }
/* Mockups & Diagramme */
[data-theme="dark"] .ghost-card { background: var(--surface-2); }
[data-theme="dark"] .rings i { border-color: var(--line); }
[data-theme="dark"] .score circle { stroke: var(--line); }
[data-theme="dark"] .notif.n2 { background: #2d2716; }
[data-theme="dark"] .vis-apps { background: repeating-linear-gradient(90deg, transparent 0 22px, #22232f 22px 23px), linear-gradient(180deg, var(--surface-2), var(--surface)); }
[data-theme="dark"] .paper i { background: var(--skeleton-2); }
[data-theme="dark"] .paper b, [data-theme="dark"] .browser-body span:not(.c) { background: var(--skeleton); }
[data-theme="dark"] .row { border-top-color: var(--line); }
[data-theme="dark"] .bars { background: repeating-linear-gradient(180deg, transparent 0 29px, #23242f 29px 30px); }
[data-theme="dark"] .bars i:not(.hl) { background: #2b2840; }
[data-theme="dark"] .browser-bar { background: var(--surface-2); }
[data-theme="dark"] .browser-bar i { background: #3a3b4a; }
[data-theme="dark"] .project-thumb .browser { box-shadow: 0 -4px 30px rgba(0,0,0,.4); }
[data-theme="dark"] .stack-tile.active { background: #262735; }
[data-theme="dark"] .funnel-progress { background: #2b2840; }
[data-theme="dark"] .env-front::before { background: var(--surface-2); }
[data-theme="dark"] .env-front { filter: drop-shadow(0 -8px 18px rgba(0, 0, 0, .45)); }
[data-theme="dark"] .cta-card { background: #12111a; border-color: var(--line); }
[data-theme="dark"] .field input, [data-theme="dark"] .field select, [data-theme="dark"] .field textarea { color: var(--ink); }
[data-theme="dark"] .field input::placeholder, [data-theme="dark"] .field textarea::placeholder { color: #6d6f80; }
[data-theme="dark"] .checks li::before { background-color: var(--violet-soft); }
[data-theme="dark"] .t-small { background: var(--violet-soft); color: #c6b7ff; }
[data-theme="dark"] .cat, [data-theme="dark"] .project-thumb { color-scheme: dark; }

/* Hinweis für den Admin, wenn der Wartungsmodus aktiv ist (Besucher sehen ihn nicht) */
.admin-maint { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 60; display: flex; align-items: center; gap: 10px; max-width: calc(100% - 32px); padding: 10px 12px 10px 16px; border-radius: 99px; background: #c07a00; color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.admin-maint a { color: #9a5f00; background: #fff; border-radius: 99px; padding: 6px 12px; white-space: nowrap; }

/* Über mich */
.about { display: grid; grid-template-columns: 320px 1fr; gap: 28px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 4vw, 48px); }
.about-card { display: grid; justify-items: center; text-align: center; gap: 6px; background: var(--surface-2); border-radius: 22px; padding: 28px 20px; }
.about-av { width: 112px; height: 112px; border-radius: 32px; display: grid; place-items: center; font: 700 44px/1 var(--font-display); color: #fff; background: radial-gradient(120% 90% at 30% 15%, #c3b2ff 0%, #9a7dfb 40%, #7a58f2 100%); box-shadow: 0 18px 40px rgba(122, 88, 242, .35); margin-bottom: 10px; }
.about-card b { font-family: var(--font-display); font-size: 20px; letter-spacing: -.02em; }
.about-card small { color: var(--muted); font-weight: 600; }
.about-facts { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; width: 100%; text-align: left; }
.about-facts li { display: flex; gap: 10px; align-items: center; background: var(--surface); border-radius: 12px; padding: 10px 12px; font-size: 14.5px; font-weight: 600; }
.about-facts li::before { content: "✓"; width: 22px; height: 22px; flex: none; border-radius: 7px; display: grid; place-items: center; background: var(--violet-soft); color: var(--violet-2); font-size: 12px; }
.about-text .display { margin-bottom: 18px; }
.about-body p { color: var(--ink-2); margin: 0 0 14px; font-size: 17px; }
.about-text .btn { margin-top: 10px; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* Häufige Fragen (Startseite) */
.home-faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.home-faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.home-faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.home-faq summary::-webkit-details-marker { display: none; }
.home-faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-size: 18px; transition: transform .25s var(--ease); }
.home-faq details[open] summary::after { transform: rotate(45deg); }
.home-faq .faq-a { padding: 0 22px 20px; color: var(--muted); }
.nav-links a { white-space: nowrap; }
@media (max-width: 1100px) { .nav-links { gap: 18px; } }
@media (max-width: 900px) { .nav-cta .hide-sm { display: none; } }
