/* =========================
   RESET + BASIS
========================= */
:root{
  --brand: #FF784A;
  --accent: #FFB388;

  --page-max: 1728px;

  --pad-x: clamp(16px, 4vw, 80px);
  --pad-y: clamp(16px, 3vw, 46px);

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 16px;

  --border: 2px solid var(--brand);
}

*{ box-sizing:border-box; }

body{
  margin:0;
  background:#F5F5F5;
  font-family: Futura, system-ui, sans-serif;
  color:#000;
  transition: background 0.3s, color 0.3s;
}

img{ max-width:100%; height:auto; display:block; }

/* =========================
   PAGE CONTAINER (Footer am Ende)
========================= */
.page{
  width:100%;
  max-width: var(--page-max);
  margin: 0 auto;
  background:#fff;

  min-height: 100vh;
  display: flex;
  flex-direction: column;

  padding: var(--pad-y) var(--pad-x);
}

.content{
  flex: 1;
  width: 100%;
}

/* =========================
   TOP NAV
========================= */
.topnav{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: clamp(12px, 2vw, 28px);
  background:transparent;
}

.topnav-left{
  display:flex;
  align-items:center;
  gap: clamp(12px, 2vw, 28px);
  flex-wrap: wrap;
}

.logo{
  font-weight:800;
  font-size: clamp(28px, 3.5vw, 64px);
  color: var(--brand);
  line-height:1;
}

.divider{
  width:4px;
  height: clamp(30px, 3.2vw, 58px);
  background: var(--brand);
  border-radius:4px;
}

.nav-buttons{
  display:flex;
  align-items:center;
  gap: clamp(10px, 1.5vw, 18px);
  flex-wrap: wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  height: clamp(40px, 4vw, 56px);
  padding: 0 clamp(14px, 2vw, 28px);
  border-radius: var(--radius-lg);

  font-weight:700;
  font-size: clamp(16px, 1.9vw, 34px);
  text-decoration:none;

  background: rgba(0,0,0,0.5);
  color:#fff;
}

.btn.active{
  background: var(--accent);
  color:#fff;
}

/* Toggle */
.dark-toggle{
  width: clamp(74px, 7vw, 92px);
  height: clamp(38px, 4vw, 46px);
  border-radius:999px;
  background:#fff;
  border: var(--border);
  position:relative;
  padding:0;
  cursor:pointer;
}

.dark-toggle .toggle-circle{
  width: clamp(26px, 3vw, 34px);
  height: clamp(26px, 3vw, 34px);
  border-radius:50%;
  background: var(--accent);

  position:absolute;
  top:50%;
  left:6px;
  transform: translateY(-50%);
  transition: left 220ms ease;
}

body.dark .dark-toggle{
  background:#000;
  border-color: var(--brand);
}

body.dark .dark-toggle .toggle-circle{
  left: calc(100% - 6px - clamp(26px, 3vw, 34px));
}

/* Search button */
.search-btn{
  width: clamp(40px, 4vw, 54px);
  height: clamp(40px, 4vw, 54px);
  border:none;
  background:transparent;
  padding:0;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.search-icon{
  width: clamp(28px, 3.2vw, 44px);
  height: clamp(28px, 3.2vw, 44px);
  fill:none;
  stroke: var(--brand);
  stroke-width:2.2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

/* =========================
   HOME (Figma: Schrift vorne, Lampe dahinter)
========================= */
.hero-stage{
  position: relative;
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;

  /* genug Fläche wie Figma */
  min-height: clamp(1100px, 140vw, 2300px);
  padding-top: clamp(10px, 2vw, 30px);
}

/* Headline MUSS vorne sein */
.headline-main{
  position:absolute;
  top: clamp(90px, 11vw, 190px);
  left: clamp(16px, 11vw, 200px);

  font-size: clamp(44px, 9.5vw, 170px);
  font-weight:800;
  line-height: 1.05;
  margin:0;

  z-index: 10; /* ✅ Schrift ganz vorne */
}

/* Lampen / Arrow */
.lamp{ position:absolute; }

/* ✅ Obere Lampe liegt UNTER der Schrift (wie Figma) */
.lamp-top{
  width: min(52vw, 900px);

  /* etwas unter dem Schriftzug starten */
  top: clamp(95px, 16vw, 0px);
  left: 40.5%;

  z-index: 2; /* ✅ hinter Schrift */
}

/* Pfeil vorne */
.arrow{
  position:absolute;
  width: min(23vw, 250px);
  top: 30.5%;
  left: 73.2%;
  z-index: 11; /* ✅ vor allem */
}

/* Subhead auch vorne */
.headline-sub{
  position:absolute;
  top: 46.8%;
  left: clamp(16px, 4.6vw, 80px);

  font-size: clamp(36px, 9.5vw, 170px);
  font-weight: 800;
  line-height: 1.05;
  margin:0;

  z-index: 10;
}

/* Bottom Lamp: silhouette hinten, foto vorne */
.lamp-bottom{
  position:absolute;
  top: 43.3%;
  left: 46.3%;
  width: min(46vw, 800px);
}

.lamp-silhouette{ z-index: 1; }
.lamp-photo{ z-index: 6; }

/* Textblöcke vorne */
.text{
  position:absolute;
  width: min(32vw, 520px);

  font-size: clamp(16px, 2.6vw, 40px);
  font-style: italic;
  line-height: 1.25;
  margin:0;

  z-index: 10;
}

.text.left{
  top: 75.2%;
  left: clamp(16px, 4.6vw, 80px);
}

.text.right{
  top: 75.2%;
  left: 45.4%;
}

/* Mobile: gestapelt */
@media (max-width: 900px){
  .hero-stage{ min-height: 1650px; }

  .headline-main{
    left: 6vw;
    right: 6vw;
    top: 110px;
  }

  .lamp-top{
    left: 50%;
    transform: translateX(-50%);
    top: 300px;
    width: 86vw;
  }

  .arrow{
    left: 60%;
    top: 560px;
    width: 40vw;
  }

  .headline-sub{
    left: 6vw;
    right: 6vw;
    top: 760px;
  }

  .lamp-bottom{
    left: 50%;
    transform: translateX(-50%);
    top: 940px;
    width: 86vw;
  }

  .text{
    position: static;
    width: 90%;
    max-width: 65ch;
    margin-top: 18px;
  }
  .text.left{ margin-top: 1350px; }
  .text.right{ margin-top: 18px; }
}

/* =========================
   ABOUT
========================= */
.page.about .content{
  display: grid;
  gap: clamp(20px, 4vw, 80px);
  justify-items: center;
  text-align: center;
  padding-top: clamp(10px, 2vw, 30px);
}

.about-hero{
  position: relative;
  width: min(1000px, 92%);
}

/* Bild hinten */
.about-portrait{
  width: 100%;
  position: relative;
  z-index: 2;
}

/* ✅ Kira ÜBER dem Bild (wie Figma) */
.about-name{
  position: absolute;
  left: 48%;
  transform: translateX(-50%);

  /* mehr mittig, aber noch leicht nach oben wie Figma */
  top: 70%;

  font-size: clamp(140px, 18vw, 450px);
  font-weight: 800;
  font-stretch: condensed;
  line-height: 0.75;

  color: rgba(255,120,74,0.75); /* Figma-ähnlich */
  margin: 0;

  z-index: 9; /* ✅ Text über Bild */
  pointer-events: none;
}

.about-text{
  width: min(1000px, 92%);
  font-size: clamp(16px, 2.6vw, 40px);
  font-style: italic;
  line-height: 1.25;
  margin: 0;
}

/* Quote + Wave immer übereinander */
.quote-wrap{
  position: relative;
  width: min(1100px, 100%);
  display: grid;
  place-items: center;
  margin: clamp(10px, 3vw, 30px) 0;
}

/* Text bleibt oben */
.about-quote{
  position: relative;
  z-index: 2;
  margin: 0;

  font-size: clamp(34px, 8.5vw, 170px);
  font-weight: 900;
  line-height: 1.05;
  text-align: center;

    /* hsba(26, 60%, 40%, 1) -> als HSLA */
  color: hsla(26, 60%, 40%, 1);
}

/* Wave liegt hinter dem Text und wird überlappt */
.about-wave{
  position: absolute;
  z-index: 1;

  left: 50%;
  transform: translateX(-50%);
  top: 5%;

  width: min(1100px, 100%);
  max-width: 100%;
  height: auto;
  pointer-events: none;
}


.about-lower{
  width: min(1400px, 100%);
  display: grid;
  grid-template-columns: 0.8fr 2fr;
  gap: clamp(16px, 3vw, 60px);
  align-items: end;
  text-align: left;
}

.about-illustration{
  width: min(420px, 120%);
  transform: translateX(-10vw);
}


@media (max-width: 900px){
  .about-lower{
    grid-template-columns: 1fr;
    text-align: center;
    align-items: center;
  }

@media (max-width: 900px){
  .about-illustration{
    transform: translateX(25vw);
    width: min(200px, 150%);
  }
}


  /* auf Mobile sitzt Kira etwas höher damit es besser wirkt */
  .about-name{
    top: 69%;
  }
}

/* =========================
   KONTAKT (mit Sende Button)
========================= */
.page.kontakt .content{
  display: grid;
  gap: clamp(20px, 4vw, 70px);
  padding-top: clamp(10px, 2vw, 20px);
}

.contact-title,
.impressum-title{
  font-size: clamp(44px, 9vw, 170px);
  font-weight: 800;
  font-stretch: condensed;
  color: var(--brand);
  margin: 0;
}

.contact-area{
  display:grid;
  grid-template-columns: 1.2fr 0.05fr 0.8fr;
  gap: clamp(16px, 3vw, 40px);
  align-items: start;
}

.contact-form{
  width: 100%;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 2vw, 24px);
}

.contact-form input,
.contact-form textarea{
  background:#8C8C8C;
  border:none;
  border-radius: var(--radius-sm);
  padding: clamp(12px, 2vw, 20px);
  font-size: clamp(16px, 1.7vw, 28px);
  color:#fff;
}

.contact-form textarea{
  grid-column: 1 / -1;
  min-height: clamp(160px, 22vw, 220px);
}

.send-btn{
  grid-column: 1 / -1;
  height: clamp(44px, 4vw, 56px);
  border:none;
  border-radius: var(--radius-md);

  font-weight:700;
  font-size: clamp(16px, 1.7vw, 26px);

  background: var(--brand);
  color:#fff;
  cursor:pointer;
}
.send-btn:hover{ filter: brightness(0.95); }

.contact-line{
  width:4px;
  background: var(--brand);
  border-radius:4px;
  min-height: clamp(260px, 30vw, 420px);
  justify-self: center;
}

.contact-info{
  font-size: clamp(16px, 2vw, 32px);
  line-height: 1.35;
}

.contact-info .link{
  color: inherit;
  text-decoration:none;
}
.contact-info .link:hover{ text-decoration: underline; }

.impressum-text{
  width: min(1000px, 100%);
  font-size: clamp(14px, 2vw, 32px);
  line-height: 1.35;
  margin: 0;
}

@media (max-width: 900px){
  .contact-area{ grid-template-columns: 1fr; }
  .contact-line{ display:none; }
  .contact-form{ grid-template-columns: 1fr; }
  .contact-form textarea,
  .send-btn{ grid-column: auto; }
}

/* =========================
   BOTTOM NAV (am Seitenende, nicht fixed)
========================= */
.bottom-nav{
  margin-top: auto;
  width: 100%;

  padding: clamp(14px, 3vw, 40px) clamp(14px, 3vw, 60px) clamp(10px, 2vw, 28px);

  border: 3px solid var(--brand);
  border-radius: 4px;

  display:flex;
  flex-direction: column;
  gap: clamp(12px, 2vw, 22px);

  background: #fff;
}

.bottom-nav-top{
  display:flex;
  align-items:center;
  gap: clamp(12px, 2vw, 22px);
  flex-wrap: wrap;
}

.bottom-buttons{
  display:flex;
  gap: clamp(10px, 1.5vw, 18px);
  flex-wrap: wrap;
}

.bottom-nav .btn{
  height: clamp(40px, 4vw, 48px);
  padding: 0 clamp(14px, 2vw, 24px);
  border-radius: var(--radius-md);
  font-size: clamp(16px, 1.6vw, 26px);
}

.bottom-nav-top .dark-toggle{
  margin-left:auto;
}

.bottom-copy{
  font-size: clamp(14px, 1.4vw, 22px);
  color:#000;
}

/* =========================
   SEARCH OVERLAY
========================= */
.search-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display:none;
  align-items:flex-start;
  justify-content:center;
  padding-top: clamp(60px, 10vh, 110px);
  z-index: 9999;
}
.search-overlay.open{ display:flex; }

.search-panel{
  width: min(900px, 92vw);
  background:#fff;
  border: var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(12px, 2vw, 16px);
}

.search-head{
  display:flex;
  gap:10px;
  align-items:center;
}

.search-input{
  flex:1;
  height: clamp(44px, 4vw, 54px);
  border-radius: var(--radius-md);
  border: 2px solid rgba(0,0,0,0.2);
  padding: 0 clamp(12px, 2vw, 16px);
  font-size: clamp(16px, 1.4vw, 22px);
  outline:none;
}

.search-nav, .search-close{
  width: clamp(44px, 4vw, 54px);
  height: clamp(44px, 4vw, 54px);
  border-radius: var(--radius-md);
  border: 2px solid rgba(0,0,0,0.2);
  background:#fff;
  cursor:pointer;
  font-size: clamp(16px, 1.4vw, 22px);
}

.search-meta{
  margin: 10px 2px 0;
  font-size: clamp(12px, 1.1vw, 16px);
  color: rgba(0,0,0,0.65);
}

.search-hit{
  background: var(--accent);
  color:#000;
  border-radius:6px;
  padding: 0 4px;
}
.search-hit-active{
  outline: 3px solid var(--brand);
}

/* =========================
   DARK MODE
========================= */
body.dark{
  background:#000;
  color:#fff;
}

body.dark .page{ background:#000; }
body.dark .bottom-nav{ background:#000; }
body.dark .bottom-copy{ color:#fff; }

body.dark input,
body.dark textarea{
  background:#333;
  color:#fff;
}

body.dark .search-panel{ background:#000; color:#fff; }
body.dark .search-input{ background:#111; color:#fff; border-color: rgba(255,255,255,0.3); }
body.dark .search-nav,
body.dark .search-close{ background:#111; color:#fff; border-color: rgba(255,255,255,0.3); }
body.dark .search-meta{ color: rgba(255,255,255,0.7); }
