:root{
  --header-h: 72px;
  scroll-padding-top: var(--header-h);

  --bg: #0b0d0f;
  --surface: rgba(11,13,15,0.85);
  --surface2: rgba(255,255,255,0.05);
  --border: rgba(11,13,15,0.92);

  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.76);
  --muted2: rgba(255,255,255,0.60);

  --link: #5dff72;
  --accent: #01c301;
  --accent2: #ffc107;

  --radius: 18px;
  --radius-sm: 12px;

  --shadow: 0 10px 30px rgba(0,0,0,0.45);
  --shadow2: 0 8px 20px rgba(0,0,0,0.35);

  --max: 980px;
  --pad: clamp(16px, 3vw, 28px);
}

/* Alle Ankerziele bekommen einen Puffer nach oben */
[id]{
  scroll-margin-top: var(--header-h);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  padding: 0;
  padding-top: calc(var(--header-h) + 16px);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  text-align: center;
  background:
    radial-gradient(1200px 600px at 20% 0%, rgba(255,193,7,0.09), transparent 60%),
    radial-gradient(900px 500px at 80% 10%, rgba(1,195,1,0.07), transparent 55%),
    var(--bg);
  position: relative;
}

#centerContainer{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  text-align: left;
}

/* Typografie */
h1, h2{
  margin: 0 0 12px 0;
  line-height: 1.18;
  letter-spacing: 0.2px;
}

h2{
  font-size: clamp(22px, 2.4vw, 28px);
  margin-top: 8px;
  color: var(--text);
}

p{
  margin: 10px 0;
  color: var(--muted);
  max-width: 72ch;
}

small p{ color: var(--muted2); }

a{
  color: var(--link);
  text-decoration: none;
}

a:hover{ text-decoration: underline; }

img{ max-width: 100%; }

/* =========================================
   Header / Navigation
   ========================================= */
header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 10px 14px;

  background: rgba(11,13,15,0.70);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

#hamburger-btn{
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 22px;
  cursor: pointer;
  display: none; /* mobile sichtbar */
}

nav{ display: block; }

/* Dein HTML hat <ul class="menu"><a ...> ohne <li>, daher direkt auf a */
nav ul.menu{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

nav ul.menu a{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;

  color: rgba(255,255,255,0.82);
  border: 1px solid transparent;
  background: transparent;
  font-weight: 700;

  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

nav ul.menu a:hover{
  color: var(--text);
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.10);
  text-decoration: none;
}

/* Mobile-Menü sichtbar machen, wenn nav.show getoggelt wird */
@media (max-width: 700px){
  nav.show{ display: block; }
}

/* =========================================
   Sections als Cards
   ========================================= */
section{
  margin: 34px 0;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow2);
}

/* =========================================
   HERO: Start (du im Zentrum)
   Logo als Wasserzeichen rechtsbündig
   ========================================= */
#start{
  position: relative;
  padding: 26px;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}


#start > *{ position: relative; }

/* Titel */
.cool-title{
  font-family: inherit;
  font-weight: 850;
  font-size: clamp(40px, 4.6vw, 56px);
  margin: 0 0 8px 0;
  background: linear-gradient(90deg, var(--accent2), #8aa5ff);
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: none;
  text-align: left;
}

#start .logo{
  float: right;
}

#start .logo img{
  width: 350px;
  max-width: none;
  height: auto;
}

/* Text im Hero */
#start h2{
  margin-top: 6px;
  font-weight: 650;
  color: var(--text);
}

#start p{
  color: var(--muted);
  font-size: 1.05rem;
}

/* =========================================
   UpGrid (Empfehlungslink)
   ========================================= */
.upgrid-logo{
  font-weight: 900;
  font-size: 1.7rem;
  letter-spacing: 0.03em;
  color: var(--text);
  margin: 0 0 10px 0;
}

.upgrid-logo span{
  color: var(--accent2);
}

/* =========================================
   Kontakt: CTA Buttons
   ========================================= */
#contact h2{ margin-bottom: 14px; }

/* Kopf.png im Kontakt: gross und rechts */
#contact .logo{
  float: right;
  margin: 0 0 12px 18px; /* Abstand zum Text */
}

#contact .logo img{
  width: 320px;          /* mach 260-420 je nach Geschmack */
  max-width: 45vw;       /* verhindert Überlauf auf kleinen Screens */
  height: auto;
}

.cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 12px 16px;
  margin: 8px 12px 8px 0;

  border-radius: 12px;
  background: rgba(255,193,7,0.95);
  color: #0a0a0a;

  font-weight: 850;
  letter-spacing: 0.2px;

  border: 1px solid rgba(0,0,0,0.18);
  box-shadow: 0 8px 18px rgba(0,0,0,0.35);

  line-height: 1.2;
  text-decoration: none;

  transition: transform 0.15s ease;
}

.cta:hover{
  transform: translateY(-1px);
  text-decoration: none;
}

.cta img{
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* =========================================
   Feedback
   ========================================= */
#feedback-form{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

#feedback-input{
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  outline: none;
  margin: 4px 0 10px 0;
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
}

#feedback-input:focus{
  border-color: rgba(255,193,7,0.55);
  box-shadow: 0 0 0 4px rgba(255,193,7,0.12);
}

#feedback-status{
  color: var(--muted2);
  font-size: 0.9rem;
}

/* =========================================
   Linklist
   ========================================= */
#links h3{
  margin: 26px 0 12px 0;
  font-size: 1.05rem;
  color: var(--accent2);
}

#links h3:first-of-type{
  margin-top: 18px;
}

.link-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.link-card{
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface2);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.link-card:hover{
  transform: translateY(-2px);
  border-color: rgba(255,193,7,0.35);
}

.link-card a{
  display: block;
  margin-bottom: 6px;
  font-weight: 750;
  color: var(--link);
}

.link-card p{
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted2);
  max-width: none;
}

@media (prefers-reduced-motion: reduce){
  .link-card:hover{ transform: none; }
}

/* =========================================
   Listen (dein 🚀 raus, neutral)
   ========================================= */
ul{
  margin: 10px 0 0 18px;
  padding: 0;
}

li{
  margin: 6px 0;
  color: var(--muted);
}

/* =========================================
   Video / Iframes
   ========================================= */
video{ width: 100%; }

.video-container{
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
}

.video-container iframe{
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
}

/* ASCII Beaver */
#asciiBeaver{
  font-family: "Courier New", monospace;
  white-space: pre;
  font-size: 14px;
  line-height: 14px;
  font-weight: bold;
  color: var(--accent);
  margin-top: 20px;
}

/* Footer */
footer{
  margin-top: 34px;
  padding: 18px 0 8px 0;
  border-top: 1px solid rgba(255,255,255,0.10);
}

/* =========================================
   Mobile
   ========================================= */
@media (max-width: 700px){
  #hamburger-btn{ display: block; }

  nav{
    display: none;     /* per JS nav.show toggeln */
    width: 100%;
    margin-top: 10px;
  }

  header{
    flex-wrap: wrap;
  }

  nav ul.menu{
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }

  nav ul.menu a{
    width: 100%;
    justify-content: center;
  }

  #start .logo{
    display: none;
  }

  .cta{
    width: 100%;
    margin-right: 0;
  }

  #contact .logo{
    float: none;
    margin: 0 0 12px 0;
    text-align: center;
  }

  #contact .logo img{
    width: 200px;
    max-width: 70vw;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .cta:hover{ transform: none; }
}

/* Foto ganz hinten */
body::before{
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;

  background-image: url("Wheretogo.jpg"); /* Pfad anpassen */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* optional: leicht abdunkeln ohne "Transparency" vom Bild selbst */
  filter: brightness(1);
}

.video-container{
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
}

.video-container video{
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
}

.video-note{
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--muted2);
}