:root{
      --bg: #070A10;
      --panel: rgba(14, 18, 28, 0.78);
      --panel2: rgba(10, 14, 22, 0.85);
      --border: rgba(255,255,255,.10);
      --text: #E7EDF7;
      --muted: rgba(231, 237, 247, .75);
      --accent: #FF8A00;
      --accent2:#FF3D71;
      --shadow: 0 18px 60px rgba(0,0,0,.55);
      --radius: 18px;
      --focus: 0 0 0 3px rgba(255,138,0,.22);
    }

    *{ box-sizing: border-box; }
    html,body{ height: 100%; }
    body{
      margin:0;
      color: var(--text);
      font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
      background:
        radial-gradient(1200px 500px at 20% 0%, rgba(255,138,0,.20), transparent 55%),
        radial-gradient(900px 400px at 80% 10%, rgba(255,61,113,.18), transparent 60%),
        radial-gradient(900px 500px at 60% 120%, rgba(80,140,255,.14), transparent 60%),
        linear-gradient(180deg, #05070C 0%, #070A10 50%, #04060A 100%);
      overflow-x:hidden;
    }

    /* Subtiles Grid + Noise */
    body::before{
      content:"";
      position: fixed;
      inset:0;
      pointer-events:none;
      background:
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
      background-size: 44px 44px;
      opacity: .08;
      mix-blend-mode: overlay;
    }
    body::after{
      content:"";
      position: fixed;
      inset:-40px;
      pointer-events:none;
      background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.10), transparent 55%);
      opacity:.12;
      filter: blur(24px);
    }

    .wrap{
      width: min(1100px, calc(100% - 32px));
      margin: 0 auto;
      padding: 18px 0 26px;
      position: relative;
      z-index: 1;
    }

    /* Topbar */
    .topbar{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
      padding: 12px 14px;
      border: 1px solid var(--border);
      border-radius: calc(var(--radius) + 6px);
      background: linear-gradient(180deg, rgba(20,26,40,.70), rgba(10,14,22,.55));
      box-shadow: var(--shadow);
      backdrop-filter: blur(10px);
    }

    .brand{
      display:flex;
      align-items:center;
      gap:12px;
      min-width: 160px;
    }

    .brand-badge{
      width: 38px; height: 38px;
      border-radius: 12px;
      border: 1px solid var(--border);
      background:
        radial-gradient(circle at 30% 30%, rgba(255,138,0,.8), rgba(255,138,0,.0) 55%),
        radial-gradient(circle at 70% 70%, rgba(255,61,113,.6), rgba(255,61,113,.0) 55%),
        linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
      box-shadow: 0 10px 28px rgba(255,138,0,.10);
    }

    .brand-title{
      display:flex;
      flex-direction:column;
      line-height:1.1;
    }
    .brand-title strong{ font-size: 14px; letter-spacing:.6px; }
    .brand-title span{ font-size: 12px; color: var(--muted); }

    .nav{
      display:flex;
      gap:10px;
      flex-wrap:wrap;
      justify-content:flex-end;
    }

    .btn{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      gap:10px;
      padding: 10px 14px;
      border-radius: 14px;
      border: 1px solid var(--border);
      color: var(--text);
      text-decoration:none;
      background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
      transition: transform .12s ease, border-color .12s ease, background .12s ease;
      user-select:none;
      white-space:nowrap;
      font-weight: 650;
      font-size: 13px;
    }
    .btn:hover{ transform: translateY(-1px); border-color: rgba(255,255,255,.22); }
    .btn:active{ transform: translateY(0px); }
    .btn-primary{
      border-color: rgba(255,138,0,.35);
      background: linear-gradient(180deg, rgba(255,138,0,.25), rgba(255,138,0,.10));
      box-shadow: 0 14px 40px rgba(255,138,0,.12);
    }
    .btn-primary:hover{ border-color: rgba(255,138,0,.6); }
    .btn-ghost{
      background: transparent;
    }

    /* Hero */
    .hero{
      margin-top: 16px;
      border-radius: calc(var(--radius) + 10px);
      border: 1px solid var(--border);
      overflow:hidden;
      background: var(--panel2);
      box-shadow: var(--shadow);
      position: relative;
    }

    .hero-grid{
        display: grid;
        grid-template-columns: 1.3fr 1fr; /* Bild | Content */
        align-items: stretch;
      }

    .hero-media{
      position: relative;
      min-height: 260px;
      background:
        linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.05)),
        url("../../images/logo.jpg") center/cover no-repeat;
      background-repeat: no-repeat;
      background-size: 100% 100%;
      background-position: center;
    }
    .hero-media::after{
      content:"";
      position:absolute;
      inset:0;
      background:
        radial-gradient(700px 260px at 30% 40%, rgba(255,138,0,.22), transparent 60%),
        radial-gradient(600px 240px at 75% 30%, rgba(255,61,113,.16), transparent 60%);
      mix-blend-mode: screen;
      opacity:.9;
      pointer-events:none;
    }

    .hero-content{
      padding: 18px 18px 18px 18px;
      display:flex;
      flex-direction:column;
      justify-content:center;
      gap: 14px;
      background: linear-gradient(180deg, rgba(14,18,28,.86), rgba(10,14,22,.72));
      backdrop-filter: blur(10px);
    }

    .headline{
      margin:0;
      font-size: clamp(18px, 2.2vw, 26px);
      letter-spacing: .6px;
    }
    .sub{
      margin:0;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.45;
    }

    /* Login card */
    .card{
      margin-top: 14px;
      border-radius: var(--radius);
      border: 1px solid var(--border);
      background: var(--panel);
      box-shadow: 0 10px 40px rgba(0,0,0,.45);
      overflow:hidden;
    }
    .card-h{
      padding: 14px 16px;
      border-bottom: 1px solid var(--border);
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:10px;
      background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
    }
    .card-h strong{
      letter-spacing:.5px;
      font-size: 13px;
    }
    .card-h .hint{
      color: var(--muted);
      font-size: 12px;
    }
    .card-b{
      padding: 16px;
    }

    form{
      margin:0;
    }

    .fields{
      display:grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }

    label{
      display:block;
      font-size: 12px;
      color: var(--muted);
      margin-bottom: 6px;
      letter-spacing:.2px;
    }

    input[type="text"], input[type="password"], input[type="email"], select{
      width: 100%;
      padding: 11px 12px;
      border-radius: 14px;
      border: 1px solid rgba(255,255,255,.12);
      background: rgba(0,0,0,.35);
      color: var(--text);
      outline: none;
      transition: border-color .12s ease, box-shadow .12s ease;
    }
    input::placeholder{ color: rgba(231,237,247,.45); }
    input:focus, select:focus{
      border-color: rgba(255,138,0,.55);
      box-shadow: var(--focus);
    }

    .actions{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap: 12px;
      margin-top: 12px;
      flex-wrap:wrap;
    }

    .link{
      color: rgba(231,237,247,.85);
      text-decoration:none;
      font-size: 12px;
    }
    .link:hover{ text-decoration: underline; color: #fff; }

    .danger-link{
      color: rgba(255,61,113,.95);
      font-weight: 650;
    }

    .footer{
      margin-top: 14px;
      text-align:center;
      color: rgba(231,237,247,.60);
      font-size: 12px;
    }
    .footer a{ color: rgba(231,237,247,.85); text-decoration:none; }
    .footer a:hover{ text-decoration:underline; color:#fff; }

    /* Responsive */
    @media (max-width: 880px){
      .hero-grid{ grid-template-columns: 1fr; }
      .hero-content{ padding: 16px; }
    }
    @media (max-width: 560px){
      .wrap{ width: calc(100% - 22px); }
      .brand-title span{ display:none; }
      .fields{ grid-template-columns: 1fr; }
      .btn{ padding: 10px 12px; }
    }