*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
}

body{

background:
radial-gradient(circle at top left,
rgba(0,180,255,.15),
transparent 35%),

radial-gradient(circle at bottom right,
rgba(0,100,255,.15),
transparent 35%),

linear-gradient(
135deg,
#020816 0%,
#05132d 30%,
#071f46 70%,
#041124 100%
);

color:#eaf6ff;

overflow-x:hidden;
}
/* ORBS */

.orb{

position:fixed;
border-radius:50%;
filter:blur(160px);
z-index:-1;
}

.orb1{

width:400px;
height:400px;
background:#00c3ff;

top:-100px;
left:-100px;

opacity:.15;
}

.orb2{

width:450px;
height:450px;
background:#004dff;

bottom:-150px;
right:-150px;

opacity:.15;
}

/* NAV */

.navbar{

background:rgba(0,0,0,.25);
backdrop-filter:blur(20px);
}

.brand{

color:white;
font-weight:700;
margin-left:10px;
}

/* BURGER */

.burger-line{

display:block;
width:26px;
height:3px;

background:white;

margin:5px 0;

border-radius:20px;
}

.navbar-toggler{
border:none;
}

/* HERO */

.hero{

height:100vh;

display:flex;
justify-content:center;
align-items:center;

text-align:center;
}

.hero-tag{

display:inline-block;

padding:10px 22px;

border-radius:40px;

background:rgba(255,255,255,.05);

border:1px solid rgba(255,255,255,.1);
color: rgb(126, 164, 214); 
margin-bottom:25px;
}

.title{

font-size:clamp(8rem,18vw,15rem);

font-weight:900;

letter-spacing:12px;

background:
linear-gradient(
180deg,
#ffffff,
#8fdfff,
#37c5ff
);

-webkit-background-clip:text;
-webkit-text-fill-color:transparent;

text-shadow:
0 0 25px rgba(0,200,255,.6);

animation:float 5s ease-in-out infinite;
}

@keyframes float{

50%{
transform:translateY(-12px);
}

}

.glow-line{
width:320px;
height:3px;

margin:20px auto;

background:
linear-gradient(
90deg,
transparent,
#5fd8ff,
transparent
);

box-shadow:0 0 20px #5fd8ff;
}

/* FEATURES */

.features{

padding:120px 10%;

display:grid;

grid-template-columns:
repeat(auto-fit,minmax(250px,1fr));

gap:25px;
}

.feature-card p{

color:#d7e9ff;

line-height:1.7;

font-size:1rem;
}

.feature-card:hover{

transform:translateY(-10px);

box-shadow:
0 0 30px rgba(0,200,255,.2);
}

/* SHOWCASE */

.showcase{

padding:120px 10%;
}

.showcase h2{

text-align:center;
font-size:3rem;
margin-bottom:50px;
}

.project-grid{

display:grid;

grid-template-columns:
repeat(3,1fr);

grid-auto-rows:220px;

gap:20px;
}

.project{

background:
linear-gradient(
145deg,
rgba(16,42,87,.95),
rgba(28,82,170,.85)
);

border:
1px solid rgba(120,200,255,.15);
}

.project:hover{

transform:scale(1.03);

box-shadow:
0 0 30px rgba(0,200,255,.25);
}

.large{

grid-column:span 2;
}

.wide{

grid-column:span 3;
}

/* FOOTER */

footer{

padding:50px;

text-align:center;

border-top:
1px solid rgba(255,255,255,.08);
}

footer a{

color:#9ddfff;

text-decoration:none;

margin:0 20px;
}

footer a:hover{

color:#4fd1ff;
}




/* ===== Bereich ===== */

.portfolio{
    padding:100px 8%;
}

.portfolio h2{
    color:white;
    font-size:3rem;
    margin-bottom:50px;
}

/* ===== Grid ===== */

.portfolio-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(350px,1fr));
    gap:35px;
}

/* ===== Karte ===== */

.card{
    position:relative;
    overflow:hidden;

    border-radius:25px;

    text-decoration:none;

    background:#111;

    aspect-ratio:16/10;

    transition:all .5s ease;
}

/* ===== Bild ===== */

.card img{
    width:100%;
    height:100%;

    object-fit:cover;

    transition:all .7s ease;
}

/* ===== Overlay ===== */

.card::before{
    content:"";

    position:absolute;
    inset:0;

    background:
    linear-gradient(
        to top,
        rgba(0,0,0,.9),
        rgba(0,0,0,.1)
    );

    opacity:0;

    transition:.4s;
    z-index:1;
}

/* ===== Text ===== */

.card-content{
    position:absolute;

    left:30px;
    bottom:25px;

    z-index:2;

    color:white;

    transform:translateY(40px);

    opacity:0;

    transition:.4s;
}

.card-content span{
    display:inline-block;

    padding:8px 18px;

    border-radius:30px;

    background:#4da6ff;

    margin-bottom:15px;
}

.card-content h3{
    font-size:1.8rem;
}

/* ===== Hover ===== */

.card:hover{
    transform:
        translateY(-12px)
        scale(1.02);

    box-shadow:
        0 15px 40px rgba(0,0,0,.35),
        0 0 25px rgba(77,166,255,.35);
}

.card:hover img{
    transform:scale(1.12);
}

.card:hover::before{
    opacity:1;
}

.card:hover .card-content{
    transform:translateY(0);
    opacity:1;
}



.projects-section{
    text-align:center;
    padding:80px 20px;
}

.projects-section h2{
    color:white;
    font-size:3rem;
    margin-bottom:40px;
}

.spotlight-box{
    position:relative;

    max-width:1000px;
    margin:auto;

    padding:60px;

    border-radius:30px;

    background:#111827;

    overflow:hidden;

    cursor:pointer;
}

.spotlight-box p{
    position:relative;
    z-index:2;

    color:white;

    font-size:1.4rem;
    letter-spacing:2px;
}

.spotlight-box::before{
    content:"";

    position:absolute;

    width:300px;
    height:300px;

    border-radius:50%;

    background:
    radial-gradient(
        circle,
        rgba(77,166,255,.4),
        transparent 70%
    );

    left:var(--x, 50%);
    top:var(--y, 50%);

    transform:translate(-50%,-50%);

    pointer-events:none;

    transition:left .05s linear,
               top .05s linear;
}

.navbar-toggler {
  border: none;
  box-shadow: none !important;
}

/* Burger Linien */
.burger-line {
  display: block;
  width: 28px;
  height: 3px;
  background: white;
  margin: 5px 0;
  border-radius: 10px;
  transition: 0.3s;
}

/* X Animation wenn Menü offen ist */
.navbar-toggler[aria-expanded="true"] .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggler[aria-expanded="true"] .burger-line:nth-child(2) {
  opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.projekt-text {
  color: rgb(126, 164, 214); 
}

.projects-section h2 {
  color: rgb(211, 217, 225);
}

.portfolio h2 {
  color: rgb(200, 206, 214);
  text-align: center;
}