@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;600;800&display=swap');

/* =========================
   Beneweb 2026
========================= */
* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  font-family: Inter, sans-serif;
  color: white;
  background: #0b0b12;
}

html {
  background: linear-gradient(135deg, #2b2eff, #6fffd2);
}
body {
  background: transparent; 
}

/* =========================
   HERO
========================= */
.hero {

  min-height: 100svh;

  background: linear-gradient(135deg, #2b2eff, #6fffd2);
  position: relative;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  animation: fadeIn 1.1s ease;
}

.hero-content h1 {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 18px;
}



.hero-content h1 span {
    display: inline-block;
    background: white;
    color: #0b0b12;
    padding: 8px 20px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  }
  

.hero-content p {
  font-size: 1.15rem;
  opacity: 0.9;
}


.floating-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.3;
  animation: float 8s infinite ease-in-out;
}

.s1 { width: 200px; height: 200px; background: white; top: 10%; left: 5%; }
.s2 { width: 300px; height: 300px; background: #7cffcb; bottom: -50px; right: -50px; }

/* =========================
   NAVBAR
========================= */
nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: white;
  text-decoration: none;
}
.logo span { color: #7cffcb; }

nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}


nav ul a {
  font-family: Inter, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: white;
  text-decoration: none;
  position: relative;
  padding: 6px 2px;
}

nav ul a:hover {
  font-weight: 700;
}


nav ul a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,0.9);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
}
nav ul a:hover::after { transform: scaleX(1); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.burger span {
  width: 25px;
  height: 3px;
  background: white;
}

/* =========================
   BUTTON
========================= */
.btn-glow {
  display: inline-block;
  margin-top: 28px;
  padding: 15px 35px;
  border-radius: 40px;
  background: white;
  color: #0b0b12;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-glow:hover {
  transform: scale(1.07) rotate(-1deg);
  box-shadow: 0 0 25px white;
}

/* =========================
   SECTIONS + CARDS
========================= */
.section {
  padding: 100px 10%;
  text-align: center;
}

.section {
    padding: 100px 10%;
    text-align: center;
    background: #0b0b12; 
  }
  

.section h2 {
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUpSoft 700ms ease forwards;
}

.dark { background: #12121a; }

.cards, .projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.card, .project-card {
  background: #1a1a2e;
  padding: 40px;
  border-radius: 20px;
  transition: 0.4s;
}

.card:hover, .project-card:hover {
  transform: translateY(-15px) rotate(1deg);
  box-shadow: 0 0 40px rgba(124,255,203,0.5);
}

.project-card {
  text-decoration: none;
  color: white;
}


.soft-text {
  max-width: 720px;
  margin: 10px auto 0;
  font-size: 1.15rem;
  line-height: 1.75;
  opacity: 0.88;


  text-align: justify;
  text-align-last: left;

  opacity: 0;
  animation: fadeUpSoft 850ms ease forwards;
  animation-delay: 120ms;
}

.soft-text strong { font-weight: 600; }

/* =========================
   CONTACT FORM
========================= */
.contact-wrap {
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

.form-card {
  width: min(860px, 100%);
  padding: 44px;
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  backdrop-filter: blur(12px);

  opacity: 0;
  transform: translateY(14px);
  animation: fadeUpSoft 700ms ease forwards;
}

.form-card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.form-intro {
  opacity: 0.75;
  line-height: 1.6;
  margin-bottom: 22px;
}

.bene-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bene-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.bene-row.single { grid-template-columns: 1fr; }

.bene-form input,
.bene-form select,
.bene-form textarea {
  width: 100%;
  border-radius: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(11,11,18,0.45);
  color: white;
  font-family: Inter, sans-serif;
  font-size: 1rem;
  outline: none;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.bene-form textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.6;
}

.bene-form input::placeholder,
.bene-form textarea::placeholder {
  color: rgba(255,255,255,0.55);
}

.bene-form input:focus,
.bene-form select:focus,
.bene-form textarea:focus {
  background: rgba(11,11,18,0.55);
  border-color: rgba(124,255,203,0.75);
  box-shadow: 0 0 0 4px rgba(124,255,203,0.18);
  transform: translateY(-1px);
}


.bene-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.8) 50%),
    linear-gradient(135deg, rgba(255,255,255,0.8) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 54%,
    calc(100% - 16px) 54%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 44px;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.form-actions .btn-glow {
  margin-top: 0;
  padding: 14px 30px;
}

.form-alt {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  padding-bottom: 3px;
}
.form-alt::after {
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:100%;
  height:2px;
  background: rgba(255,255,255,0.85);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms ease;
}
.form-alt:hover::after { transform: scaleX(1); }


/* =========================
   CONTACT CTA
========================= */
.form-cta{
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.cta-row{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content:center;
  width: 100%;
}

.btn-neo{
  --btn-bg: rgba(255,255,255,0.96);
  --btn-fg: #0b0b12;
  --btn-glow: rgba(255,255,255,0.55);

  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 14px 22px;
  min-width: 190px;
  border-radius: 18px;

  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  text-decoration: none;

  border: 1px solid rgba(255,255,255,0.25);
  box-shadow:
    0 10px 30px rgba(0,0,0,0.35),
    0 0 0 1px rgba(255,255,255,0.08) inset;

  transform: translateY(0);
  transition:
    transform 220ms ease,
    box-shadow 260ms ease,
    filter 260ms ease;
  overflow: hidden;
  will-change: transform;
  font-size: 1.05rem;
}

.btn-neo::before{
  content:"";
  position:absolute;
  inset: -2px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.85), rgba(255,255,255,0.12), rgba(255,255,255,0.65));
  opacity: .35;
  filter: blur(10px);
  z-index: 0;
  transition: opacity 260ms ease;
}

.btn-neo::after{
  content:"";
  position:absolute;
  top:-35%;
  left:-60%;
  width: 55%;
  height: 170%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.65), transparent);
  opacity: 0;
  z-index: 0;
}

.btn-neo > *{ position: relative; z-index: 1; }

.btn-neo:hover{
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 16px 44px rgba(0,0,0,0.45),
    0 0 40px var(--btn-glow);
  filter: saturate(1.05);
}

.btn-neo:hover::before{ opacity: .55; }
.btn-neo:hover::after{
  opacity: 1;
  animation: btn-sheen 900ms ease forwards;
}

.btn-neo:active{
  transform: translateY(0px) scale(0.99);
  box-shadow:
    0 10px 30px rgba(0,0,0,0.35),
    0 0 18px var(--btn-glow);
}

.btn-neo:focus-visible{
  outline: none;
  box-shadow:
    0 16px 44px rgba(0,0,0,0.45),
    0 0 0 4px rgba(255,255,255,0.22),
    0 0 36px var(--btn-glow);
}

@keyframes btn-sheen{
  0%{ transform: translateX(0) rotate(18deg); }
  100%{ transform: translateX(320%) rotate(18deg); }
}

.btn-neo--primary{
  --btn-bg: rgba(255,255,255,0.98);
  --btn-glow: rgba(255,255,255,0.65);
}

.btn-spark{
  display:inline-flex;
  transform: translateY(-1px);
  animation: spark-float 2.2s ease-in-out infinite;
  opacity: .9;
}

@keyframes spark-float{
  0%,100%{ transform: translateY(-1px) rotate(0deg) scale(1); }
  50%{ transform: translateY(-3px) rotate(10deg) scale(1.06); }
}

.btn-neo--wa{
  --btn-bg: rgba(255,255,255,0.10);
  --btn-fg: rgba(255,255,255,0.95);
  --btn-glow: rgba(37, 211, 102, 0.50);
  border: 1px solid rgba(255,255,255,0.18);
  background: linear-gradient(135deg, rgba(37,211,102,0.22), rgba(255,255,255,0.08));
  backdrop-filter: blur(10px);
}

.btn-neo--wa::before{
  background: linear-gradient(135deg, rgba(37,211,102,0.70), rgba(255,255,255,0.10), rgba(37,211,102,0.35));
  opacity: .25;
}

.btn-ping{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(37,211,102,0.95);
  box-shadow: 0 0 0 0 rgba(37,211,102,0.55);
  animation: ping 1.8s cubic-bezier(.2,.8,.2,1) infinite;
}

@keyframes ping{
  0%{ box-shadow: 0 0 0 0 rgba(37,211,102,0.55); transform: scale(1); }
  70%{ box-shadow: 0 0 0 14px rgba(37,211,102,0); transform: scale(1.02); }
  100%{ box-shadow: 0 0 0 0 rgba(37,211,102,0); transform: scale(1); }
}

.cta-meta{
  display:flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.95rem;
  opacity: 0.9;
}

.meta-label{
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}

.meta-link{
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  position: relative;
}

.meta-link::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-2px;
  width:100%;
  height:2px;
  background: rgba(255,255,255,0.85);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms ease;
}

.meta-link:hover::after{ transform: scaleX(1); }

@media (max-width: 560px){
  .btn-neo{
    width: 100%;
    min-width: 0;
    padding: 15px 18px;
    border-radius: 16px;
  }
  .cta-row{
    width: 100%;
  }
}


/* =========================
   FOOTER
========================= */
.site-footer {
  background: #0b0b12;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 70px 8% 30px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}

.footer-brand p {
  margin-top: 14px;
  opacity: 0.7;
  max-width: 320px;
}

.footer-links {
  display: grid;
  gap: 14px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  opacity: 0.85;
  position: relative;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: white;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 250ms ease;
}
.footer-links a:hover::after { transform: scaleX(1); }

.footer-bottom {
  margin-top: 50px;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.5;
}

/* =========================
   IMPRESSUM
========================= */
.impressum-hero { min-height: 60svh; }

/* =========================
   ANIMATIONS
========================= */
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-30px); }
  100% { transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUpSoft {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {

  .hero, .impressum-hero { min-height: 100svh; }

  nav { padding: 20px 6%; }

  nav ul {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100svh;
    background: #0b0b12;

    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;

    transform: translateX(100%);
    transition: transform 0.45s ease;
    z-index: 999;
  }

  nav ul.active { transform: translateX(0); }

  nav ul li a { font-size: 2rem; }

  .burger {
    display: flex;
    z-index: 1000;
  }

  .hero-content { padding: 0 16px; }

  .s1 {
    width: 280px;
    height: 280px;
    top: 6%;
    left: -8%;
    opacity: 0.33;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-links { margin-top: 30px; }

  .form-card { padding: 28px; border-radius: 22px; }
  .bene-row { grid-template-columns: 1fr; }
  .form-actions { gap: 12px; }
}

body.nav-open {
    overflow: hidden;
    height: 100vh;
    touch-action: none;
  }
  
  .burger {
    width: 44px;
    height: 44px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
  }
  
  .burger .line {
    position: absolute;
    width: 26px;
    height: 3px;
    background: white;
    border-radius: 999px;
    transition: transform 260ms ease, opacity 200ms ease;
  }
  
  .burger .line:nth-child(1) { transform: translateY(-8px); }
  .burger .line:nth-child(2) { transform: translateY(0); }
  .burger .line:nth-child(3) { transform: translateY(8px); }
  
  .burger.active .line:nth-child(1) { transform: translateY(0) rotate(45deg); }
  .burger.active .line:nth-child(2) { opacity: 0; }
  .burger.active .line:nth-child(3) { transform: translateY(0) rotate(-45deg); }
  
  @media (max-width: 768px) {
    nav ul {
      overflow: hidden; 
      overscroll-behavior: contain;
    }
  
    .burger {
      display: flex;
      position: relative; 
    }
  }

  @media (max-width: 768px) {
    .footer-brand {
      text-align: center;
    }
  
    .footer-brand .logo {
      display: inline-block;
    }
  
    .footer-brand p {
      margin: 12px auto 0;   
      max-width: 320px;      
    }
  }
  
  .hero {
    position: relative;
  }
  
  .floating-shape {
    z-index: 1;
    pointer-events: none;
  }
  
  .hero-content {
    position: relative;
    z-index: 2;
  }
  
  .btn-glow {
    position: relative;
    z-index: 3;
  }
  

  .wa-fab{
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9999;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    height: 54px;
    padding: 0 16px 0 14px;
    border-radius: 999px;

    background: #25D366;
    color: #fff;
    text-decoration: none;


    box-shadow: 0 12px 30px rgba(0,0,0,.22);
    border: 1px solid rgba(255,255,255,.18);

    opacity: 0;
    transform: translateX(24px) translateY(6px) scale(.98);
    animation: wa-enter .55s cubic-bezier(.2,.9,.2,1) .15s forwards;

    -webkit-tap-highlight-color: transparent;
    user-select: none;
    touch-action: manipulation;
  }

  .wa-fab__icon{
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.18);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
    flex: 0 0 auto;
  }

  .wa-fab__icon svg{
    width: 20px;
    height: 20px;
    fill: #fff;
  }

  .wa-fab__text{
    font: 600 14px/1 system-ui, -apple-system, Segoe UI, Roboto, Arial;
    letter-spacing: .2px;
    white-space: nowrap;
  }

  @media (hover:hover) and (pointer:fine){
    .wa-fab{
      transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
    }
    .wa-fab:hover{
      transform: translateY(-2px) scale(1.02);
      box-shadow: 0 16px 40px rgba(0,0,0,.28);
      filter: brightness(1.02);
    }
    .wa-fab:hover .wa-fab__icon{
      transform: rotate(-6deg) scale(1.05);
    }
    .wa-fab__icon{
      transition: transform .2s ease;
    }
  }

  .wa-fab:focus-visible{
    outline: 3px solid rgba(37,211,102,.35);
    outline-offset: 4px;
  }

  @media (max-width: 420px){
    .wa-fab{
      right: 14px;
      bottom: 14px;
      height: 50px;
      padding: 0 14px 0 12px;
      gap: 8px;
    }
    .wa-fab__text{ font-size: 13px; }
    .wa-fab__icon{ width: 32px; height: 32px; }
    .wa-fab__icon svg{ width: 19px; height: 19px; }
  }

  @keyframes wa-enter{
    from{
      opacity: 0;
      transform: translateX(28px) translateY(6px) scale(.98);
    }
    to{
      opacity: 1;
      transform: translateX(0) translateY(0) scale(1);
    }
  }

  @media (prefers-reduced-motion: reduce){
    .wa-fab{ animation: none; opacity: 1; transform: none; }
    .wa-fab, .wa-fab__icon{ transition: none; }
  }

  .wa-fab::after{
    content:"";
    position:absolute;
    inset:-12px;
    border-radius:inherit;
    background:rgba(37,211,102,.35);
    z-index:-1;
    pointer-events:none;
    animation:wa-pulse 1.6s ease-out infinite;
  }
  
  @keyframes wa-pulse{
    0%{transform:scale(.9);opacity:.7}
    60%{transform:scale(1.25);opacity:0}
    100%{opacity:0}
  }
  
  @keyframes wa-enter{
    to{opacity:1;transform:none}
  }
  
  @media (max-width:420px){
    .wa-fab{
      height:50px;
      padding:0 14px 0 12px;
    }
    .wa-fab__text{font-size:13px}
  }
  
  @media (prefers-reduced-motion: reduce){
    .wa-fab,
    .wa-fab::after{
      animation:none;
      opacity:1;
      transform:none;
    }
  }

html { scroll-behavior: smooth; }

/* Hero typing */
.hero-typing {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.hero-typing::after {
  content: "";
  display: none;
}

.hero-typing.is-typing::after {
  content: "|";
  display: inline-block;
  margin-left: 3px;
  opacity: .85;
  transform: translateY(-1px);
  animation: hero-caret 1s steps(2, end) infinite;
}

.hero-typing.done::after {
  content: "";
  display: none;
  margin-left: 0;
  animation: none;
}

.btn-neo--mail{
  --btn-bg: rgba(255,255,255,0.14);
  --btn-fg: rgba(255,255,255,0.95);
  --btn-glow: rgba(255,255,255,0.35);
  border: 1px solid rgba(255,255,255,0.22);
  background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.06));
  backdrop-filter: blur(10px);
}

.btn-mail-icon{
  font-size: 1.05rem;
  transform: translateY(-1px);
}

@keyframes hero-caret { 50% { opacity: 0; } }

/* =========================
   IMPRESSUM LAYOUT
========================= */

.impressum-wrap {
  margin-top: 60px;
  display: flex;
  justify-content: center;
}

.impressum-grid {
  width: min(1000px, 100%);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

.imp-card {
  background: linear-gradient(
    145deg,
    rgba(255,255,255,0.10),
    rgba(255,255,255,0.04)
  );
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 22px;
  padding: 28px 26px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
  backdrop-filter: blur(12px);
  text-align: left;
}

.imp-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.imp-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.imp-card h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.imp-card p {
  line-height: 1.65;
  opacity: 0.9;
}

.imp-link {
  color: #7cffcb;
  text-decoration: none;
  font-weight: 600;
}

.imp-link:hover {
  text-decoration: underline;
}

.imp-card.wide {
  grid-column: 1 / -1;
}

@media (max-width: 600px) {
  .imp-card {
    padding: 24px 22px;
  }
}
