/* Übernommen aus dem Claude-Design „Portfolio 3D“ (C&S Services GbR). Alle Gestaltungswerte stehen inline im HTML; hier nur Basis, Animationen, Hover, iPhone-Rahmen und Rechtsseiten. */
body { margin: 0; background: #0B0A1F; }
  a { color: #9C8BFF; text-decoration: none; }
  a:hover { color: #C6BCFF; }
  @keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
  @keyframes glow { 0%,100% { opacity: .55; transform: scale(1); } 50% { opacity: .9; transform: scale(1.08); } }
  @keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  @keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(23,225,182,.55); } 100% { box-shadow: 0 0 0 16px rgba(23,225,182,0); } }
  @keyframes spinSlow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
  @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
  @keyframes layerFront { from { opacity: 0; transform: rotate(-.8deg) translateY(44px); } to { opacity: 1; transform: rotate(-.8deg); } }
  @keyframes layerBack { from { opacity: 0; transform: translateY(10%) rotate(1.6deg); } to { opacity: .62; transform: translateY(-6%) rotate(1.6deg); } }
  @keyframes layerPhone { from { opacity: 0; transform: rotate(-12deg) translateY(50px); } to { opacity: 1; transform: rotate(-4deg); } }
  @keyframes riseIn { from { opacity: 0; transform: translateY(40px) scale(.97); } to { opacity: 1; transform: none; } }
  @media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
html { scroll-behavior: smooth; }
* { box-sizing: border-box; }
img { max-width: 100%; }
details > summary::-webkit-details-marker { display: none; }
details[open] > summary span[aria-hidden] { transform: rotate(45deg); }
details summary span[aria-hidden] { transition: transform .3s cubic-bezier(.22,1,.36,1); }
button { font-family: inherit; }
:focus-visible { outline: 2px solid #9C8BFF; outline-offset: 3px; }
::selection { background: #6C4BFF; color: #fff; }

/* Hover-Zustände aus dem Design */
.hv1:hover { transform: translateY(-3px); box-shadow: 0 30px 56px -20px rgba(108,75,255,1); }
.hv2:hover { opacity: 1; transform: translateY(-14%) translateX(4%) rotate(0deg); }
.hv3:hover { transform: rotate(0deg) translateY(-8px) scale(1.012); }
.hv4:hover { transform: scale(.44) rotate(-2deg) translateY(-22px); }

/* iPhone-Rahmen (iOS-Gerät, 402 × 874) */
.ios-device { width: 402px; height: 874px; border-radius: 48px; overflow: hidden; position: relative; background: #F2F2F7; box-shadow: 0 40px 80px rgba(0,0,0,.18), 0 0 0 1px rgba(0,0,0,.12); font-family: -apple-system, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
.ios-island { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 126px; height: 37px; border-radius: 24px; background: #000; z-index: 50; }
.ios-status { position: absolute; top: 0; left: 0; right: 0; z-index: 10; display: flex; gap: 154px; align-items: center; justify-content: center; padding: 21px 24px 19px; width: 100%; }
.ios-time { flex: 1; height: 22px; display: flex; align-items: center; justify-content: center; padding-top: 1.5px; font-weight: 590; font-size: 17px; line-height: 22px; color: #000; }
.ios-icons { flex: 1; height: 22px; display: flex; align-items: center; justify-content: center; gap: 7px; padding-top: 1px; padding-right: 1px; }
.ios-icons svg { fill: #000; display: block; }
.ios-content { height: 100%; display: flex; flex-direction: column; }
.ios-content > div { flex: 1; overflow: hidden; }
.ios-home { position: absolute; bottom: 0; left: 0; right: 0; z-index: 60; height: 34px; display: flex; justify-content: center; align-items: flex-end; padding-bottom: 8px; pointer-events: none; }
.ios-home span { width: 139px; height: 5px; border-radius: 100px; background: rgba(0,0,0,.25); }

/* Sprachmenü fürs Handy (Desktop: die Buttonleiste aus dem Design) */
.lang-menu { display: none; position: relative; }
.lang-menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; font-family: Sora, sans-serif; font-size: .74rem; font-weight: 700; letter-spacing: .04em; color: #F1EFFF; background: rgba(156,139,255,.3); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 9px 13px; }
.lang-menu[open] summary svg { transform: rotate(180deg); }
.lang-menu-list { position: absolute; left: 0; top: calc(100% + 8px); min-width: 160px; display: grid; background: #12102B; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 6px; box-shadow: 0 30px 60px -24px rgba(0,0,0,.95); z-index: 60; }
.lang-menu-list button { font: inherit; font-family: Sora, sans-serif; font-size: .88rem; font-weight: 600; text-align: left; color: #D3CFF0; background: none; border: 0; border-radius: 10px; padding: 10px 12px; cursor: pointer; }
.lang-menu-list button:hover { background: rgba(255,255,255,.06); color: #F1EFFF; }
.lang-menu-list button[aria-current="true"] { background: rgba(156,139,255,.22); color: #F1EFFF; }

/* Kleine Bildschirme: schwebendes iPhone im Hero kleiner, Handys in den Projekten skalieren */
@media (max-width: 760px) {
  header > div > div:last-child { flex-wrap: wrap; }
  [data-langbox] { display: none !important; }
  .lang-menu { display: block; }
  [data-hero-phone] { transform: scale(.3) rotate(-5deg) !important; left: 2% !important; bottom: -12% !important; }
}

/* Rechtsseiten */
.legal-page { font-family: Archivo, system-ui, sans-serif; background: #0B0A1F; color: #F1EFFF; margin: 0; font-size: 16.5px; line-height: 1.6; }
.legal-nav { position: sticky; top: 0; z-index: 40; background: rgba(11,10,31,.72); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255,255,255,.08); }
.legal-nav > div { max-width: 1240px; margin: 0 auto; padding: 14px clamp(16px, 4vw, 44px); display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.legal-brand { display: flex; align-items: center; gap: 11px; color: #F1EFFF; }
.legal-brand span:first-child { width: 34px; height: 34px; border-radius: 11px; background: linear-gradient(135deg, #6C4BFF, #17E1B6); color: #0B0A1F; display: grid; place-items: center; font-family: Sora, sans-serif; font-weight: 800; font-size: .72rem; }
.legal-brand b { font-family: Sora, sans-serif; font-weight: 700; font-size: .98rem; letter-spacing: -0.02em; }
.legal-cta { display: inline-flex; align-items: center; gap: 9px; background: #17E1B6; color: #052A22; font-family: Sora, sans-serif; font-weight: 700; font-size: .9rem; padding: 11px 20px; border-radius: 12px; white-space: nowrap; }
.legal { max-width: 760px; margin: 0 auto; padding: clamp(40px, 7vw, 80px) clamp(16px, 4vw, 44px); }
.legal h1 { font-family: Sora, sans-serif; font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -0.035em; margin: 0 0 28px; }
.legal h2 { font-family: Sora, sans-serif; font-weight: 700; font-size: 1.2rem; margin: 32px 0 10px; }
.legal p, .legal li { color: #D3CFF0; margin: 0 0 10px; }
.legal ul { padding-left: 20px; }
.legal a { color: #9C8BFF; } .legal a:hover { color: #C6BCFF; }
.legal .placeholder { background: rgba(255,92,138,.18); color: #FFB3C6; padding: 0 6px; border-radius: 6px; font-size: .92em; }
.legal-foot { max-width: 1240px; margin: 0 auto; padding: 22px clamp(16px, 4vw, 44px) 44px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; color: #AEA9CC; font-size: .88rem; }
.legal-foot a { color: #AEA9CC; margin-left: 20px; }
