:root {
  --nav-height: 68px;
  --text: #2f2a26;
  --text-muted: #4b463f;
  --background: #654236;
  --primary: #838e83;
  --button-hover: #ffd791;
  --secondary: #ffd791;
  --accent: #838e83;
  --surface: rgba(255, 215, 145, 0.92);
  --panel: rgba(101, 66, 54, 0.94);
  --panel-text: #f5f1ea;
  --surface-soft: #8d9a8c;
  --section-alt: rgba(139, 128, 115, 0.12);
  --section-border: rgba(255, 255, 255, 0.08);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 0;
}

.navbar nav {
  position: relative;
  left: 0;
  transform: none;
  width: 100vw;
  margin-left: 0;
  background: #1c140d;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  transition: background 0.25s ease;
}

.navbar.scrolled nav {
  background: #17110c;
}

.navbar-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1rem;
  width: 100%;
  min-height: 68px;
  padding: 0.5rem 1rem;
  box-sizing: border-box;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: #fffaf2;
  text-decoration: none;
}

.nav-logo {
  width: 3rem;
  height: 3rem;
  border: 2px solid #fffaf2;
  border-radius: 0.8rem;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fffaf2;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15);
}


.nav-brand-text strong {
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-brand-text span {
  font-size: 0.9rem;
  color: #eadbc8;
}

.nav-links {
  list-style: none;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  width: 100%;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: transparent;
  color: #fffaf2;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.92rem;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transform: translateY(-1px);
}

.menu {
  background: rgba(18, 14, 9, 0.96);
  clear: both;
  max-height: 0;
  transition: max-height .25s ease-out;
  visibility: hidden;
  border-radius: 18px;
  padding-left: 0;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: min(420px, calc(100% - 1rem));
  box-shadow: 0 18px 28px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.menu a {
  color: #fffaf2;
  text-decoration: none;
  font-weight: 700;
  display: grid;
  justify-content: center;
  gap: 1em;
  padding: 1rem 0;
  border-radius: 10px;
}

.menu a:hover,
.menu a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.menu li {
  padding-left: 100px;
  padding-right: 100px;
  list-style: none;
}

.menu-icon {
  position: relative;
  z-index: 1001;
}

.menu-icon .navicon {
  background: #fffaf2;
  display: block;
  height: 2px;
  position: relative;
  transition: background .2s ease-out;
  width: 18px;
  margin-bottom: 2em;
  margin-top: 2em;
  margin-left: 2em;
}

.menu-icon .navicon:before,
.menu-icon .navicon:after {
  background: #fffaf2;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
}

.menu-icon .navicon:before {
  top: 5px;
}

.menu-icon .navicon:after {
  top: -5px;
}

.menu-btn {
  display: none;
}

.menu-btn:checked~.menu {
  max-height: 240px;
  visibility: visible;
}

.menu-btn:checked~.menu-icon .navicon {
  background: transparent;
}

.menu-btn:checked~.menu-icon .navicon:before {
  transform: rotate(-45deg);
}

.menu-btn:checked~.menu-icon .navicon:after {
  transform: rotate(45deg);
}

.menu-btn:checked~.menu-icon:not(.steps) .navicon:before,
.menu-btn:checked~.menu-icon:not(.steps) .navicon:after {
  top: 0;
}

#bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  border-radius: 0;
}

.hero-content {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  margin-top: calc(-1 * var(--nav-height));
  padding-top: var(--nav-height);
}

.hero-text-box {
  position: absolute;
  top: 20%;
  left: 20%;
  right: 20%;
}

.hero-banner {
  font-style: oblique;
  font-size: 5.61rem;
  margin: 0;
  color: #e6ebf4;
}

.hero-slogan {
  font-size: 1.8rem;
  color: #e6ebf4;
}

.gallery {
  padding: 4rem;
  text-align: center;
}

.gallery-grid {
  display: grid;
  gap: 1rem;
}

h1 {
  font-size: 5.61rem;
}

h2 {
  font-size: 4.209rem;
}

h3 {
  font-size: 3.157rem;
}

h4 {
  font-size: 2.369rem;
}

p {
  font-size: 1.2rem;
}

.form {
  text-transform: uppercase;
  display: grid;
  gap: 1em;
  justify-content: center;
}

.form-heading {
  margin-bottom: 0;
}

label {
  font-size: 1rem;
  text-align: right;
}

textarea{
  border-radius: 8px;
  background-color: #e6ebf4;
  height: 150px;
  resize: none;
  border: 1px solid #ccc;
}

input {
  border-radius: 8px;
  padding: 0.5em;
  background-color: #e6ebf4;
  border: 1px solid #ccc;
}

::placeholder{
  font-size: large;
}

button{
  position: relative;
  width: 20%;
  left: 40%;
  background-color: var(--primary);
  border: none;
  border-radius: 8px;
  color: #fffaf2;
  font-weight: bold;
}
button:hover{
  background-color: var(--button-hover);
  color: var(--text);
}

.file-input{
  border: 1px solid #ccc;
}

/*kleine Screens*/
@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .navbar {
    width: 100vw;
    margin-left: 0;
  }

  .navbar nav {
    width: 100vw;
    background: #18120d;
    display: block;
  }

  .navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 64px;
    padding: 0.45rem 0.75rem;
  }

  .nav-links {
    display: none;
  }

  .nav-brand {
    gap: 0.55rem;
    flex: 1;
  }

  .nav-logo {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0.7rem;
    font-size: 0.95rem;
  }

  .nav-brand-text strong {
    font-size: 0.88rem;
    line-height: 1.02;
  }

  .nav-brand-text span {
    display: none;
  }

  .menu-icon {
    display: block;
    margin-left: auto;
    flex: 0 0 auto;
  }

  .menu-icon .navicon {
    width: 20px;
    margin: 1.1rem 0.35rem;
  }

  .menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100vw;
    transform: none;
    background: rgba(24, 18, 13, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0 0 18px 18px;
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.35);
    padding: 0.35rem;
    z-index: 999;
  }

  .menu li {
    padding: 0;
  }

  .menu a {
    justify-content: flex-start;
    padding: 0.9rem 0.95rem;
    border-radius: 12px;
    font-size: 0.95rem;
  }

  .menu-btn:checked~.menu {
    max-height: 360px;
  }

  .hero-banner {
    font-size: 1.8rem;
  }

  .hero-slogan {
    font-size: 0.65rem;
  }

  h2 {
    font-size: 3.157rem;
  }

  label {
    text-align: center;
  }
}

/*tablet Screens*/
@media (min-width: 601px) and (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .navbar-inner {
    grid-template-columns: auto auto;
    padding: 0.55rem 0.85rem;
  }

  .nav-links {
    display: none;
  }

  .menu {
    visibility: hidden;
  }

  .menu-icon {
    display: block;
    margin-left: auto;
  }

  .menu-icon .navicon {
    display: block;
  }

  .nav-brand-text strong {
    font-size: 0.98rem;
  }

  .nav-brand-text span {
    font-size: 0.82rem;
  }

  .hero-banner {
    font-size: 2rem;
  }

  .hero-slogan {
    font-size: 0.8rem;
  }

  h2 {
    font-size: 3.157rem;
  }

  label {
    text-align: center;
  }
}

/*Desktop Monitor*/
@media (min-width: 1025px) and (max-width: 2200px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .menu {
    visibility: hidden;
  }

  .menu-icon {
    display: none;
  }

  nav {
    width: 40%;
  }

  .hero-banner {
    font-size: 3.3rem;
  }

  .hero-slogan {
    font-size: 1.2rem;
  }

  .form {
    grid-template-columns: 1fr 2fr;
    position: relative;
    right: 18%;
  }

  .form-placement {
    padding-left: 200px;
    padding-right: 200px;
  }

  h2 {
    font-size: 3.2rem;
  }
}

/*Widescreen*/
@media (min-width: 2201px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .menu {
    visibility: hidden;
  }

  .menu-icon {
    display: none;
  }

  nav {
    width: 20%;
  }

  .form {
    grid-template-columns: 1fr 2fr;
    position: relative;
    right: 18%;
  }

  .form-placement {
    padding-left: 400px;
    padding-right: 400px;
  }
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}


.center {
  margin: auto;
  width: 50%;
  padding: 10px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  text-align: center;
  width: 100%;
  font-family: 'Calibri', Calibri, monospace;
  background-color: var(--background);
  color: var(--text);
  overflow-x: hidden;
}

.info,
.contact,
.gallery,
.start {
  margin: auto;
  padding: 18px 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  color: var(--text);
  border-radius: 10px;
  border: 1px solid var(--section-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.info { background-color: var(--section-alt); }
.contact { background-color: rgba(255, 255, 255, 0.02); }
.gallery { background-color: rgba(139, 128, 115, 0.08); }
.start { background-color: rgba(255, 215, 145, 0.05); }

.form,
.form-placement {
  background: transparent;
  color: var(--text);
  border-radius: 0;
  padding: 0;
}

.footer {
  padding: 1rem 0;
}