/* ============================= */
/*   GLOBAL / THEME              */
/* ============================= */

:root{
  /* Dark Wood / Outdoor Theme */
  --bg: #15130f;           /* sehr dunkles Braun/Olive */
  --bg-2: #1d1914;         /* zweite Hintergrundschicht */

  --panel: #2c241d;        /* Kartenhintergrund - dunkles Holzbraun */
  --panel-light: #362a21;  /* etwas heller für Bubbles */

  --surface-light: #f4eee5; /* helles warmes Weiß (Papier) */
  --surface-mid:   #d0c2ae; /* sandiger Kontrastton */

  --text:  #f8f3ea;        /* warmes Weiß */
  --muted: #c7b8a4;        /* dezentes Beige für Sekundärtext */

  --accent:   #c4863b;     /* warmes Holz-/Lederbraun */
  --accent-2: #e1b66b;     /* helles Goldbraun für Highlights */

  --shadow: 0 8px 24px rgba(0,0,0,.45);
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font:16px/1.6 system-ui, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(900px 500px at 20% 0%, #2a231c 0%, transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

/* ============================= */
/*   NAVIGATION                  */
/* ============================= */

.nav{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:saturate(130%) blur(10px);
  background:rgba(24,20,16,.92);
  border-bottom:1px solid rgba(0,0,0,.6);
}

.nav .wrap{
  max-width:1100px;
  margin:auto;
  padding:.6rem 1rem;
  display:flex;
  align-items:center;
  gap:1rem;
}

.brand{
  font-weight:700;
  letter-spacing:.5px;
}

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

.menu{
  display:flex;
  gap:1rem;
  margin-left:auto;
  align-items:center;
}

.menu a{
  color:var(--muted);
  text-decoration:none;
  padding:.4rem .7rem;
  border-radius:999px;
  transition:.15s ease;
}

.menu a:hover,
.menu a.active{
  color:var(--text);
  background:rgba(196,134,59,.18);
  box-shadow:0 0 0 1px rgba(225,182,107,.35);
}

.burger{
  display:none;
  margin-left:auto;
  cursor:pointer;
  font-size:1.3rem;
}

/* ============================= */
/*   HERO (Startseite)           */
/* ============================= */

.hero{
  min-height:60svh;
  display:grid;
  place-items:center;
  text-align:center;
  padding:4rem 1rem;
  background:linear-gradient(180deg, rgba(196,134,59,.12), transparent 45%);
}

h1{
  font-size:clamp(2rem,3vw,3rem);
  margin:.2rem 0;
}

.lead{
  color:var(--muted);
  max-width:700px;
  margin:.5rem auto 0;
}

/* Buttons */

.cta{
  margin-top:1rem;
  display:flex;
  gap:.8rem;
  justify-content:center;
  flex-wrap:wrap;
}

.btn{
  background:var(--accent);
  color:#fff;
  padding:.7rem 1.1rem;
  border-radius:999px;
  text-decoration:none;
  box-shadow:var(--shadow);
  font-weight:500;
  border:none;
  cursor:pointer;
  transition:transform .1s ease, box-shadow .1s ease, background .1s ease;
}

.btn:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 26px rgba(0,0,0,.45);
  background:#a66e32;
}

.btn.secondary{
  background:transparent;
  border:1px solid rgba(255,255,255,.25);
  box-shadow:none;
}

.btn.secondary:hover{
  background:rgba(196,134,59,.15);
}

/* ============================= */
/*   SECTIONS / GRID / CARDS     */
/* ============================= */

.section{
  max-width:1200px;
  margin:2rem auto;
  padding:0 1rem;
}

.grid{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:1.2rem;
}

/* breite Holz-Karten */

.card{
  flex:1 1 520px;
  max-width:820px;
  background:var(--panel);
  border:1px solid rgba(0,0,0,.6);
  border-radius:20px;
  padding:1.8rem 2rem;
  box-shadow:0 14px 32px rgba(0,0,0,.55);
  transition:background .2s ease, transform .2s ease;
}

.card:hover{
  background:var(--panel-light);
  transform:translateY(-2px);
}

.card h2,.card h3{
  margin-top:0;
  margin-bottom:.4rem;
}

.card p{
  color:var(--muted);
}

/* ============================= */
/*   SUBNAV                      */
/* ============================= */

.subnav{
  position:sticky;
  top:58px;
  z-index:40;
  background:rgba(24,20,16,.95);
  backdrop-filter:blur(8px);
  border-bottom:1px solid rgba(0,0,0,.7);
  overflow:auto;
}

.subnav .wrap{
  max-width:1100px;
  margin:auto;
  padding:.4rem 1rem;
  display:flex;
  gap:.5rem;
  flex-wrap:wrap;
}

.subnav a{
  color:var(--muted);
  text-decoration:none;
  padding:.35rem .9rem;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.04);
  font-size:.9rem;
  transition:.15s ease;
}

.subnav a:hover,
.subnav a.active{
  color:#fff;
  background:var(--accent);
  border-color:var(--accent-2);
  box-shadow:0 0 0 1px rgba(225,182,107,.45) inset;
}

/* ============================= */
/*   CONTACT FORM                */
/* ============================= */

.form{
  display:grid;
  gap:.8rem;
  max-width:720px;
  margin:auto;
}

input,
textarea{
  width:100%;
  background:#241d17;
  color:var(--text);
  border:1px solid rgba(255,255,255,.18);
  padding:.8rem 1rem;
  border-radius:12px;
  outline:none;
  font:inherit;
  transition:border-color .15s ease, background .15s ease;
}

input:focus,
textarea:focus{
  border-color:var(--accent);
  background:#2b231c;
}

/* ============================= */
/*   PROJECT 2 TIMELINE          */
/* ============================= */

.timeline{
  display:flex;
  flex-direction:column;
  gap:1.6rem;
  margin-top:1.6rem;
}

.timeline-item{
  width:100%;
}

/* links/rechts versetzt */

.timeline-item.left .timeline-bubble{
  margin-right:auto;
}

.timeline-item.right .timeline-bubble{
  margin-left:auto;
}

.timeline-bubble{
  max-width:620px;
  padding:1rem 1.2rem;
  border-radius:16px;
  background:var(--panel-light);
  border:1px solid rgba(0,0,0,.7);
  box-shadow:0 10px 26px rgba(0,0,0,.65);
}

.timeline-bubble h3{
  margin-top:0;
  margin-bottom:.4rem;
}

/* Bilder */

.timeline-images{
  display:flex;
  flex-wrap:wrap;
  gap:.6rem;
  margin-top:.6rem;
}

.timeline-images img{
  max-width:220px;
  max-height:160px;
  object-fit:cover;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.8);
  box-shadow:0 6px 16px rgba(0,0,0,.75);
}

/* ============================= */
/*   STEPS (falls genutzt)       */
/* ============================= */

.steps{
  display:flex;
  flex-direction:column;
  gap:1rem;
  margin-top:1.4rem;
}

.step{
  display:flex;
  align-items:center;
  gap:1rem;
  padding:.8rem 1rem;
  background:rgba(196,134,59,.18);
  border:1px solid rgba(196,134,59,.45);
  border-radius:14px;
  transition:.15s ease;
}

.step:hover{
  background:rgba(196,134,59,.28);
  border-color:rgba(225,182,107,.6);
  transform:translateX(4px);
}

.step-number{
  width:34px;
  height:34px;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-weight:700;
  color:#fff;
  background:var(--accent);
  box-shadow:0 3px 8px rgba(0,0,0,.4);
}

.step-text{
  font-size:1.05rem;
  font-weight:500;
  color:var(--text);
}

/* ============================= */
/*   FOOTER                      */
/* ============================= */

footer{
  margin-top:4rem;
  padding:1.5rem 1rem;
  text-align:center;
  background:#191510;
  color:var(--muted);
  border-top:1px solid rgba(0,0,0,.7);
  font-size:.9rem;
}

/* ============================= */
/*   RESPONSIVE                  */
/* ============================= */

@media (max-width:800px){
  .menu{
    display:none;
  }

  .menu.open{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    padding:.6rem 0;
  }

  .burger{
    display:block;
  }

  .card{
    flex:1 1 100%;
    max-width:100%;
  }

  .timeline-bubble{
    margin-left:0 !important;
    margin-right:0 !important;
  }
}
