/* app/static/css/style.css  (nur die Teile ersetzen/ergänzen) */
html, body { height: 100%; }
body{
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  /* wichtig: Footer unten ohne Scroll auf Desktop */
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

/* Hero nimmt den Platz über dem Footer */
.hero{
  flex: 1;
  display: block;
  background: linear-gradient(120deg, #7af4be 0%, #52e8a6 45%, #2fdd8f 100%);
}

/* Card füllt den Hero */
.card{
  width: 100%;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  background: linear-gradient(90deg, #0b2230 0%, #0b2230 66%, #0f2f3e 100%);
  box-shadow: 0 25px 60px rgba(0,0,0,0.35);
}

/* Diagonale Mint-Fläche */
.card__wedge{
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(120deg, #7af4be 0%, #52e8a6 45%, #2fdd8f 100%);
  clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
  opacity: 0.95;
}

/* ====== GRID: Desktop bleibt 2-spaltig, passt in Höhe ====== */
.card__grid{
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  height: 100%;
  align-items: start;         /* <-- statt center */
}


/* Logo immer oben rechts */
.brand{
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 5;
  display: grid;
  justify-items: end;
  pointer-events: none;
}

.brand__logo{
  width: 150px;
  max-width: 35vw;
  height: auto;
  opacity: 0.9;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.25));
}

.left{
  padding: 48px 56px 44px;
  color: #eaf6f2;
}

.eyebrow{
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: 0.18em;
  opacity: 0.85;
}

.title{
  margin: 0 0 14px;
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.02;
  font-weight: 900;
}

.title__muted{ opacity: 0.88; font-weight: 800; }
.title__accent{ color: #7af4be; font-weight: 950; }

.subtitle{
  margin: 0 0 12px;
  font-size: clamp(14px, 1.4vw, 16px);
  opacity: 0.92;
}

.fineprint{
  margin: 0 0 18px;
  font-size: 12px;
  opacity: 0.72;
}

.links{
  display: grid;
  gap: 10px;
  margin-top: 18px;
  max-width: 360px;
}

.links__item{
  display: inline-block;
  text-decoration: none;
  color: rgba(234,246,242,0.9);
  font-size: 12px;
  opacity: 0.86;
  padding-left: 10px;
  border-left: 2px solid rgba(122,244,190,0.45);
}

.links__item:hover{
  opacity: 1;
  text-decoration: underline;
}

/* RIGHT */
.right{
  position: relative;
  padding: clamp(12px, 2.5vw, 26px);
  display: grid;
  align-items: center;
  justify-items: center;
}

.mock-card{
  width: min(360px, 86%);
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(6px);
  box-shadow: 0 18px 30px rgba(0,0,0,0.30);
  transform: translateX(-100px) rotate(-25deg) translateY(200px) scale(0.9);
}

/* ====== Footer: immer direkt sichtbar, wenig Höhe ====== */
.footer{
  margin: 0;
  padding: 10px 0 12px;
  text-align: center;
  background: linear-gradient(120deg, #7af4be 0%, #52e8a6 45%, #2fdd8f 100%);
}


.footer__inner{
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(255,255,255,0.75);
}

.footer__inner span{ opacity: 0.85; }

/* ====== MOBILE ====== */
@media (max-width: 900px){
  /* Hero soll NICHT künstlich hoch wirken */
  .hero{ flex: 0 0 auto; }     /* nimmt nur so viel Platz wie Inhalt braucht */
  .card{ height: auto; }       /* Card darf shrinken */
  .card__grid{
    grid-template-columns: 1fr;
    height: auto;
  }

  /* weniger Platz oben -> Hero wirkt nicht so hoch */
  .left{
    padding: 20px 18px 18px;
    padding-top: 64px;         /* Platz fürs Logo, aber deutlich weniger */
    min-height: 540px;      /* damit links nicht zu klein wird */
  }
s
  /* Logo am Handy kleiner */
  .brand__logo{ width: 120px; }

  /* Mock-Card am Handy weg */
  .mock-card{ display: none; }
}

@media (max-width: 520px){
  .left{ padding-top: 58px; }
  .brand__logo{ width: 110px; }

  /* Footer noch etwas kompakter */
  .footer{ padding: 8px 0 10px; }
}


.auth-btn{
  border:1px solid rgba(122,244,190,.55);
  background: rgba(122,244,190,.18);
  color:#eaf6f2;
  padding: 9px 12px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: .02em;
}
.auth-btn:hover{
  background: rgba(122,244,190,.26);
}