*{margin:0;padding:0;box-sizing:border-box}
body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;overflow-x:hidden;scroll-behavior:smooth}

/* Header */
.header{position:absolute;top:0;left:0;right:0;z-index:1000;padding:20px 40px;background:linear-gradient(to bottom,rgba(0,0,0,.3) 0%,transparent 100%)}
.header-container{max-width:1400px;margin:0 auto;display:flex;justify-content:space-between;align-items:center}
.logo{height:200px;width:auto;flex-shrink:0}
.header-right{display:flex;align-items:center;gap:30px;color:#fff;flex-grow:1;justify-content:flex-end}

/* Promo-Banner */
.promo-banner{background:#FFEB3B;color:#333;padding:10px 20px;border-radius:25px;text-decoration:none;font-weight:600;font-size:15px;white-space:nowrap;transition:.3s;box-shadow:0 2px 10px rgba(0,0,0,.2)}
.promo-banner:hover{background:#FDD835;transform:scale(1.03);box-shadow:0 4px 15px rgba(0,0,0,.2)}

/* Hero */
.hero{position:relative;height:100vh;min-height:600px;display:flex;justify-content:flex-start;align-items:center;overflow:hidden}
.hero-background{position:absolute;inset:0;z-index:1}
.hero-background img{width:100%;height:100%;object-fit:cover}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(135deg,rgba(0,0,0,.4) 0%,rgba(0,0,0,.2) 100%);z-index:2}
.hero-content{position:relative;z-index:3;text-align:left;color:#fff;max-width:60%;padding-left:10%;padding-right:20px}
.hero-badge{display:inline-block;background:rgba(255,255,255,.15);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.2);padding:8px 16px;border-radius:20px;font-size:13px;margin-bottom:20px;font-weight:500}
.hero-title{font-size:clamp(2.5rem,5vw,4rem);font-weight:700;margin-bottom:20px;line-height:1.1;text-shadow:2px 2px 4px rgba(0,0,0,.3)}
.hero-subtitle{font-size:clamp(1rem,2vw,1.25rem);font-weight:400;margin-bottom:40px;opacity:.95;line-height:1.5}
.cta-button{display:inline-block;background:linear-gradient(135deg,#d4af37 0%,#b68f2e 100%);color:#111;padding:16px 40px;border-radius:30px;text-decoration:none;font-size:16px;font-weight:600;transition:.3s;box-shadow:0 4px 20px rgba(212, 175, 55, 0.4);position:relative;overflow:hidden}
.cta-button:hover{transform:translateY(-2px);box-shadow:0 6px 30px rgba(212, 175, 55, 0.6)}
.cta-button::after{content:'→';margin-left:8px;transition:transform .3s}
.cta-button:hover::after{transform:translateX(4px)}

/* Illustration */
.hero-illustration{position:absolute;bottom:0;right:0;width:40%;max-width:750px;z-index:4;animation:float 20s ease-in-out infinite;padding-right:0%}
.hero-illustration img{width:100%;height:auto}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-20px)}}

/* Responsive */
@media (max-width:1024px){
  .hero-illustration{width:55%;right:0;padding-right:2%}
  .hero-content{max-width:45%;padding-left:5%}
  .promo-banner{font-size:13px;padding:8px 16px}
}
@media (max-width:768px){
  .header{padding:15px 20px}
  .promo-banner{font-size:11px;padding:8px 12px;white-space:normal;text-align:center}
  .header-right{flex-grow:1;justify-content:flex-end}
  .logo{height:40px}
  .hero-content{text-align:center;padding:0 15px;max-width:100%}
  .hero-illustration{position:relative;width:80%;max-width:400px;right:auto;margin:30px auto 0;padding-right:0;bottom:0;animation-duration:6s}
  .hero{min-height:100vh;display:flex;flex-direction:column;justify-content:center;padding-bottom:50px}
}

/* ===== Responsive Header-Logik: Logo skaliert, Hero bekommt Abstand ===== */
:root{
  /* Basiswerte – kannst du bei Bedarf feinjustieren */
  --header-pad-y: clamp(12px, 2.2vw, 24px);
  --logo-h:      clamp(44px, 9.5vw, 120px);   /* min, fluid, max */
  --header-h:    calc(var(--logo-h) + var(--header-pad-y) * 2);
}

/* Header übernimmt die Variablen */
.header{
  padding: var(--header-pad-y) 40px;
  height: var(--header-h);               /* nur zur Berechnung/Lesbarkeit */
}

.logo{
  height: var(--logo-h);
  width: auto;                           /* Seitenverhältnis wahren */
  flex-shrink: 0;
}

/* Hero rutscht unter den Header – kein Überlappen mehr */
.hero{
  /* zusätzlicher Sicherheitsabstand von 8px */
  padding-top: calc(var(--header-h) + 8px);
}

/* Optional: bei mittleren Viewports darf das Logo etwas größer sein,
   ohne den Text zu drücken */
@media (max-width: 1024px){
  :root{
    --logo-h: clamp(40px, 10vw, 96px);
  }
}

/* Auf Mobil behalten wir ein kompaktes Logo und genug Abstand */
@media (max-width: 768px){
  :root{
    --header-pad-y: clamp(10px, 2.8vw, 16px);
    --logo-h:       clamp(36px, 11vw, 56px);
  }
  .hero{
    padding-top: calc(var(--header-h) + 12px);
  }
}
