*, *::before, *::after { box-sizing: border-box; }

/* =========================================================
   SCHRIFTARTEN
========================================================= */
@font-face {
  font-family: 'Sancreek';
  src: url('/fonts/Sayncreek/Sancreek-Regular.ttf') format('truetype');
}

/* ========================================================= */
body {
  background-color: #d8c3a5;
  margin: 0;
  padding: 0;
  font-family: Georgia, serif;
  padding-top: 0.2rem;
  padding-bottom: 90px;
}
 
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* =========================================================
   NAVIGATION – HARMONISIERT
========================================================= */

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0.5rem 1rem;

  background-size: cover;
  background-color: #480e05;

  border-bottom: 4px solid #5c3317;
  box-shadow: 0 3px 6px rgb(0, 0, 0);

  position: fixed;
  top: env(safe-area-inset-top, 0);
  left: 0;
  width: 100%;
  z-index: 1000000;
}

.logo {
  font-size: 1.5rem;
  letter-spacing: 0.25rem;
  margin-right: 0.75rem;
  font-family: 'Sancreek', serif;
  color: white;
}

.nav-table-title {
  font-size: 1.25rem;
  flex: 1;
  text-align: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.nav-links a,
.dropbtn {
  color: white;
  background-color: transparent;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 1rem;
}

.nav-links a:hover,
.dropbtn:hover {
  color: black;
  background-color: white;
}

/* =========================================================
   DROPDOWN – HARMONISIERT
========================================================= */

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;

  min-width: 150px;
  padding: 6px;

  background: #f5e9d6;
  border: 1.5px solid #5c3317;
  border-radius: 6px;

  box-shadow: 0 3px 8px rgba(0,0,0,0.35);
  z-index: 2000000;
}

.dropdown-content a {
  display: block;
  padding: 0.4rem 0.5rem;

  font-size: 0.9rem;
  color: #2f1b0c;

  border-radius: 3px;
  text-decoration: none;
}

.dropdown-content a:hover {
  background: #5c3317;
  color: #f5deb3;
}

.dropdown.show .dropdown-content {
  display: block;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* =========================================================
   BURGER – MOBIL
========================================================= */

.burger {
  display: none;
  font-size: 1.75rem;
  background: none;
  border: none;
  color: #2f1b0c;
  cursor: pointer;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 800px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: #deb887;
    padding: 0.75rem;
    border-bottom: 3px solid #5c3317;
  }

  .nav-links.show {
    display: flex;
  }

  .burger {
    display: block;
  }

  .nav-table-title {
    font-size: 1rem;
  }
}

/* =========================================================
   HOLZSCHILDER – GRUNDSTIL
========================================================= */

.holzschild {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

  padding: 2px 0,1px;
  border: 4px solid #5c3a1e;
  border-radius: 10px;

  box-shadow:
    inset 0 0 10px rgba(0,0,0,0.4),
    0 6px 10px rgba(0,0,0,0.5);
}

.holzschild h1 {
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-size: 1.2rem;
  letter-spacing: 0.25rem;
  color: white;
  margin: 0.2rem;
}

.holzschild p {font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.15rem;
  color: white;
  margin: 0.3rem;
}

/* =========================================================
   HOLZVARIANTEN
========================================================= */

.box-walnut {
  --wood-border: #2a1a12;
  --wood-highlight: rgba(255, 240, 200, 0.08);
  --wood-shadow: rgba(0, 0, 0, 0.55);

  background:
    radial-gradient(circle at 20% 0%, var(--wood-highlight) 0, transparent 55%),
    radial-gradient(circle at 80% 100%, var(--wood-shadow) 0, transparent 60%),
    linear-gradient(90deg, #3b2418 0%, #4a2d1d 40%, #2f1b12 100%);
}

.box-saddle {
  --wood-border: #4a2d18;
  --wood-highlight: rgba(255, 210, 150, 0.15);
  --wood-shadow: rgba(60, 30, 10, 0.55);

  background:
    radial-gradient(circle at 15% 0%, var(--wood-highlight) 0, transparent 55%),
    radial-gradient(circle at 85% 100%, var(--wood-shadow) 0, transparent 60%),
    linear-gradient(90deg, #8a552e 0%, #6f3f1f 40%, #5a2f16 100%);
}

.box-wood--honey {
  --wood-bg: #c98a3a;
  --wood-border: #7a4a1e;
  --wood-highlight: rgba(255, 230, 180, 0.25);
  --wood-shadow: rgba(90, 45, 10, 0.45);

  background:
    radial-gradient(circle at 15% 0%, var(--wood-highlight) 0, transparent 55%),
    radial-gradient(circle at 85% 100%, var(--wood-shadow) 0, transparent 60%),
    linear-gradient(90deg, #8b5a24 0, #d79a45 45%, #f0c46a 70%, #8b5a24 100%);
}

.box-walnut,
.box-saddle,
.box-wood--honey,
.holzschild {
  margin: 0.15rem auto;
  max-width: 45rem;
}

/* =========================================================
   BUTTONS
========================================================= */

.center-button {
  display: inline-block;
  padding: 0.45rem 0.75rem;
  background-color: var(--button-bg, #8b4f2c);
  color: var(--button-text, #fff);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  border: 1.5px solid rgba(0,0,0,0.3);
  box-shadow: 0 2px 0 rgba(0,0,0,0.4);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.center-button:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 3px 0 rgba(0,0,0,0.4);
}

.center-button:active {
  transform: translateY(0.75px);
  box-shadow: 0 1.5px 0 rgba(0,0,0,0.4);
}

/* =========================================================
   SPORT-BEREICH
========================================================= */

.sport-row {
  max-width: 45rem;
  gap: 1.5rem;
  justify-content: center;
}

.sport-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.sport-left img {
  max-width: 18.75rem;
  height: auto;
}

.studio {
  width: 100%;
  max-width: 37.5rem;
  height: auto;
}

/* =========================================================
   FOOTER
========================================================= */

.western-footer {
  background-color: #480e05;
  text-align: center;
  font-family: 'Cinzel Decorative', serif;
  color: white;
  line-height: 0.1rem;
  letter-spacing: 0.06rem;
  font-size: 1rem;
  padding: 1px;
  height: 70px;
}

#footer-placeholder {
  position: fixed;
  bottom: env(safe-area-inset-bottom, 0);
  left: 0;
  width: 100%;
  z-index: 999999;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 600px) {
  .saloon-title {
    font-size: 1.2rem;
  }

  .saloon-schild {
    padding: 1rem;
  }
}
