/* brightfuturesummit/Design/guide.css */

/* ====== Theme ====== */
:root{
  --card-bg: rgba(20, 20, 30, 0.35);
  --card-border: rgba(255,255,255,0.14);
  --tile-bg: rgba(255,255,255,0.06);
  --tile-bg-hover: rgba(255,255,255,0.09);

  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.72);

  --shadow: 0 18px 60px rgba(0,0,0,0.35);
  --shadow-soft: 0 12px 40px rgba(0,0,0,0.28);

  --radius: 18px;
  --radius-md: 16px;
}

/* ====== Base ====== */
*{ box-sizing:border-box; }
html, body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background: #060612;
  overflow-x:hidden;
}

/* ====== Background ====== */
.bg{
  position:fixed;
  inset:0;
  background-image:url("../../Apps/Design/background.jpg"); /* relative to this CSS file */
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  z-index:-3;
}
.bg2{
  position:fixed;
  inset:0;
  background-image:url("../../Apps/Design/background-appreciation.jpg"); /* relative to this CSS file */
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  z-index:-3;
}
.bg::after{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.18); /* leichte Abdunklung, damit Text lesbar bleibt */
  z-index:-2;
}

/* ====== Header ====== */
header{
  position:sticky;
  top:0;
  padding: 18px 18px 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.25), rgba(0,0,0,0));
  z-index:10;
}

.title-wrap{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
}

h1{
  margin:0;
  font-size: clamp(18px, 2.6vw, 26px);
  letter-spacing: 0.2px;
  line-height:1.15;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.subtitle{
  margin:0;
  color:var(--muted);
  font-size: 13px;
  letter-spacing: 0.2px;
  max-width: 70ch;
}

/* ====== Logo ====== */
.logo{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  flex:0 0 auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.20);
}

.logo img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display:block;
  padding: 6px;
}

/* ====== Layout ====== */
main{
  max-width: 1040px;
  margin: 0 auto;
  padding: 14px 18px 34px;
}

/* ====== Card (Station-Seite) ====== */
.card{
  border-radius: var(--radius);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  overflow:hidden;
}

.card-head{
  padding: 14px 16px 10px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}

.station-label{
  font-size: 13px;
  color: var(--muted);
  margin:0 0 4px;
}

.card-title{
  margin:0;
  font-size: 18px;
  line-height:1.2;
}

.hint{
  padding: 0 16px 12px;
  margin:0;
  color: rgba(255,255,255,0.72);
  font-size: 13px;
}

.video-wrap{
  padding: 0 14px 14px;
}

.video-frame{
  border-radius: var(--radius-md);
  overflow:hidden;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.35);
}

/* ====== Overview Hero ====== */
.hero{
  border-radius: var(--radius);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  padding: 14px 16px;
  margin-bottom: 14px;
}
.hero p{
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

/* ====== Grid / Tiles (Übersicht) ====== */
.grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.tile{
  display:block;
  text-decoration:none;
  color: inherit;
  border-radius: var(--radius-md);
  background: var(--tile-bg);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: var(--shadow-soft);
  padding: 14px 14px 12px;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
  backdrop-filter: blur(6px);
  min-height: 92px;
}

.tile:hover{
  transform: translateY(-2px);
  background: var(--tile-bg-hover);
  border-color: rgba(255,255,255,0.22);
}

.tile:active{
  transform: translateY(0px) scale(0.99);
}

.tile-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.badge{
  font-size: 12px;
  color: rgba(255,255,255,0.78);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(0,0,0,0.18);
  letter-spacing: 0.2px;
  flex: 0 0 auto;
}

.arrow{
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  flex: 0 0 auto;
  line-height: 1;
}

.tile-title{
  margin:0;
  font-size: 15px;
  line-height: 1.2;
}

.tile-sub{
  margin: 6px 0 0;
  font-size: 12.5px;
  color: rgba(255,255,255,0.68);
}

/* ====== Footer / Pill ====== */
footer{
  margin-top: 16px;
  text-align:center;
  color: rgba(255,255,255,0.55);
  font-size: 12px;
}

.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
}

/* ====== Responsive ====== */
@media (max-width: 900px){
  .grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px){
  .grid{ grid-template-columns: 1fr; }
  .logo{ width:40px; height:40px; }
  .video-wrap{ padding: 0 10px 12px; }
  .card-title{ font-size: 17px; }
}
/* ====== Splash / Start Page ====== */
.splash{
  min-height: calc(100vh - 74px); /* grob: Header-Höhe abziehen, passt responsiv gut */
  display: grid;
  place-items: center;
  padding: 18px;
}

.splash-title{
  margin: 0;
  text-align: center;
  font-size: clamp(28px, 5vw, 56px);
  letter-spacing: 0.2px;
  line-height: 1.05;
  text-shadow: 0 14px 45px rgba(0,0,0,0.35);
}

.splash-title .future{
  color: rgba(0,0,0,0.92);
  font-weight: 800;
}

/* Bottom-left overlay logo (transparent PNG on the background) */
.bg-logo{
  position: fixed;
  left: 18px;
  bottom: 18px;
  width: min(240px, 52vw);
  height: auto;
  opacity: 0.92;
  z-index: 2; /* über Hintergrund, unter Header ist egal, aber sichtbar */
  pointer-events: none;
  filter: drop-shadow(0 14px 35px rgba(0,0,0,0.35));
}

@media (max-width: 560px){
  .bg-logo{
    left: 12px;
    bottom: 12px;
    width: min(200px, 60vw);
  }
}


/* =========================
   Splash page overrides
   (only affects body.splash-page)
   ========================= */

body.splash-page header{
  background: transparent; /* entfernt "Header-Kasten/Gradient" */
}

/* Top-right logo: no box, bigger */
body.splash-page .logo{
  width: 86px;
  height: 86px;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

body.splash-page .logo img{
  padding: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Bottom-left PNG logo: bigger, no shadow */
body.splash-page .bg-logo{
  width: min(380px, 72vw);
  opacity: 0.98;
  filter: none; /* entfernt drop-shadow */
}

/* Center stage */
body.splash-page main.splash{
  min-height: calc(100vh - 90px);
  display: grid;
  place-items: center;
  padding: 18px;
}

/* Title: BIG, wraps to multiple lines, no shadow */
body.splash-page .splash-title{
  margin: 0;
  text-align: center;

  /* Wichtig: Nicht "kleiner werden", sondern umbrechen */
  font-size: clamp(44px, 7.5vw, 96px);
  font-weight: 400;              /* Weiß: regular */
  color: rgba(255,255,255,0.96);
  line-height: 1.05;
  letter-spacing: 0.2px;

  text-shadow: none;             /* entfernt den "unscharfen Kasten" */
  max-width: 18ch;               /* erzwingt auf schmalen Screens Umbruch */
  white-space: normal;           /* erlaubt Umbruch */
  word-break: normal;
  overflow-wrap: break-word;
}

/* "Future" black + bold */
body.splash-page .splash-title .future{
  color: rgba(0,0,0,0.95);
  font-weight: 800;
}

/* Mobile tuning */
@media (max-width: 560px){
  body.splash-page .logo{ width: 72px; height: 72px; }
  body.splash-page .bg-logo{ width: min(280px, 82vw); }
  body.splash-page .splash-title{
    font-size: clamp(38px, 10vw, 72px);
    max-width: 14ch;
  }
}

/* =========================
   Station footer (back link)
   ========================= */

.station-footer{
  margin-top: 18px;
  text-align: center;
}

.station-footer a{
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding-bottom: 2px;
  transition: color 120ms ease, border-color 120ms ease;
}

.station-footer a:hover{
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.55);
}
