* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --background-color: #ece6df;
  --color-white: #ffffff;
  --transiton: all 0.5s ease;
  --color-font: #55453e;
}
body {
  font-family: Georgia, "Times New Roman", Times, serif;
  position: relative;
  background: var(--background-color);
  color: var(--color-font);
  min-height: 100vh;
  font-size: 16px;
}

.background-image {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-image: url("./assets/images/bg-lowen.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
}

a {
  text-decoration: none;
  outline: none;
  cursor: pointer;
}

p {
  padding: 20px 0 0;
}

.coming-soon-wrapper {
  background: rgba(236, 230, 223, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: calc(100% - 80px);
  height: calc(100vh - 80px);
  position: relative;
  z-index: 2;
  overflow: scroll;
  transform: translate(40px, 40px);
  padding: 20px;
}
.coming-soon::-webkit-scrollbar {
  display: none;
}

.coming-soon {
  position: relative;
  max-width: 768px;
  text-align: center;
  width: 100%;
}

.logo {
  width: 140px;
  height: auto;
  position: relative;
  z-index: 10;
}

h1 {
  font-weight: 400;
  font-size: 3.2em;
  padding: 20px 0px 0px;
  line-height: 140%;
}

h2 {
  font-weight: 400;
  font-size: 1.2em;
  padding: 20px 0px 0px;
  line-height: 140%;
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 2.2em;
    hyphens: auto;
  }

  h2 {
    font-size: 1em;
  }
}

.menus {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-self: center;
  position: relative;
  z-index: 10;
}
.menu-item {
  font-size: 0.8em;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
  list-style: none;
}

button {
  background: transparent;
  border: none;
  cursor: pointer;
  transition: var(--transiton);
}

.copyright-wrapper {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: 100%;
  text-align: center;
  padding: 20px;
}

.copyright {
  font-size: 0.8em;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
}

.copyright a {
  text-decoration: underline;
  color: var(--color-font);
}

/* ============ Dialog / Modal (neutral & passend zum Layout) ============ */

dialog.bdrp::backdrop {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
}

dialog.bdrp {
  /* Fallback-Akzentfarbe (passt zum Löwen/Gold-Look) */
  --accent: #b08a57;

  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 16px;
  padding: 0;
  background: rgba(236, 230, 223, 0.98);
  color: var(--color-font);

  width: min(900px, calc(100% - 32px));
  max-height: min(80vh, 860px);
  overflow: auto;

  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

dialog.bdrp:focus {
  outline: none;
}
dialog.bdrp:focus-visible {
  outline: 3px solid rgba(176, 138, 87, 0.22);
  outline-offset: 3px;
}

/* Innenlayout */
.wrapper {
  padding: 28px;
  background: transparent;
}

/* Dein globales p-padding ist sehr groß -> im Dialog neutralisieren */
.wrapper p {
  padding: 0;
  margin: 10px 0 0;
  line-height: 1.6;
}

/* Headings im Dialog (ruhig & klar) */
.wrapper h1,
.wrapper h2,
.wrapper h3,
.wrapper h4 {
  padding: 0;
  margin: 18px 0 8px;
  line-height: 1.25;
  font-weight: 400;
  color: var(--color-font);
}

.wrapper h1 {
  margin-top: 0;
  font-size: 1.8rem;
}
.wrapper h2 {
  font-size: 1.25rem;
}
.wrapper h3 {
  font-size: 1.05rem;
}
.wrapper h4 {
  font-size: 0.98rem;
}

/* Listen sauber */
.wrapper ul {
  margin: 10px 0 0 18px;
  padding: 0;
}
.wrapper li {
  margin: 6px 0;
  line-height: 1.55;
}

/* Links im Dialog */
.wrapper a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: var(--transiton);
}
.wrapper a:hover {
  color: var(--accent);
}

/* Close-Button (oben oder unten) */
.wrapper form {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 10px;
}

button.close {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;

  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: rgba(255, 255, 255, 0.75);
  color: var(--color-font);

  margin-top: 0; /* dein altes margin-top raus */
  transition: var(--transiton);
}

button.close:hover {
  border-color: rgba(176, 138, 87, 0.55);
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-font);
}

button.close:focus-visible {
  outline: 3px solid rgba(176, 138, 87, 0.25);
  outline-offset: 3px;
}

/* Spacing-Helfer, die du im HTML nutzt */
.space-small {
  height: 10px;
}
.space-medium {
  height: 18px;
}

/* Optional: falls du .centerd wirklich nutzt */
.centerd {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Mobile: weniger Padding */
@media screen and (max-width: 768px) {
  dialog.bdrp {
    width: calc(100% - 18px);
    max-height: 85vh;
  }
  .wrapper {
    padding: 18px;
  }
  .wrapper h1 {
    font-size: 1.5rem;
  }
}
