/* ============(づ￣ ³￣)づ 1. Root Variables ================ */
:root {
  --bg: #0b0b0b;
  --fg: #c9f31d;
  --fg-dim: #8aa312;
  --accent: #4c4c4c;
  --bg-footer: #0d0d0d;
}

/* ============( ~˘▾˘)~ 2. Reset & Global Defaults ================ */
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100dvh;
  padding: 0 1rem;
  background: var(--bg);
  color: var(--fg-dim);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  letter-spacing: 0.02em;
  line-height: 2;
  display: flex;
  flex-direction: column;
  -webkit-text-size-adjust: 100%;
  overflow-y: auto;
}

/* ============ (=^･ω･^=) 3. Global UI ================ */
/* WebKit/Blink Scrollbar - später machen*/



/* ============(◡‿◡ ) 4. Layout Structure ================ */
.header {
  padding: 1rem 2rem;
}

.main {
  flex: 1;
  display: flex;
  padding: 0rem;
  padding-bottom: 0rem;
}

.main--centered {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 1rem;
}

.main--textlastig {
  padding-bottom: 12rem;
}

.main--404 .signal__line {
  display: block;
  justify-content: initial;
  align-items: initial;
  text-align: center;
}

.main--404 {
  flex-direction: column
}


/* to be done: main gallery und main fullscreen (˶˘︶˘˵)  */

/* ============ (╯°□°)╯︵ 5. Components ================ */
/* Startline */
.signal__line {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--fg);
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: none;
  margin: 0;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
  /* Scanline Effekt */
}

/* Startline Cursor */
.signal__cursor {
  display: inline-block;
  width: 0.8em;
  height: 0.12em;
  background-color: white;
  margin-left: 0.1em;
  position: relative;
  top: 0.4em;
  animation: blink 1.2s steps(1) infinite;
  box-shadow: 0 0 2px rgba(255, 255, 255, 0.6);
  /* leichter Glow */
}

@keyframes blink {
  50% {
    background-color: transparent;
    box-shadow: none;
  }
}

/* HOME Button */
#homeBtn {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 100;
  width: 3.4rem;
  height: 3.4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  opacity: 0.82;
  filter: brightness(0.85);
  cursor: pointer;
  transition: opacity 0.25s ease, filter 0.25s ease;
  text-decoration: none;
}

#homeBtn svg path {
  stroke-width: 12;
}

#homeBtn svg {
  width: 100%;
  height: 100%;
  display: block;
  color: rgba(255, 255, 255, 0.6);
  stroke: currentColor;
  transition: opacity 0.25s ease, filter 0.25s ease;
}

#homeBtn:hover {
  opacity: 0.92;
  filter: brightness(1.2);
}

#homeBtn:hover svg {
  color: rgba(255, 255, 255, 0.92);
  filter: brightness(1.18) contrast(1.05);
}

#homeBtn:active svg {
  filter: brightness(1.9) contrast(1.35);
  transform: scale(1.07, 1.05) skewX(-1deg);
  transition: filter 0.12s ease-out, transform 0.12s ease-out;
  transform-origin: center;
}

/* FOOTER */
.footer {
  background: var(--bg-footer);
  margin-top: auto;
  text-align: center;
  padding: 0.2rem 1rem 1rem 0rem;
  border-top: 0.4px solid var(--accent);
}

.footer__nav {
  font-size: 0.8rem;
}

.footer__link {
  color: var(--fg-dim);
  text-decoration-line: underline;
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.2em;
  margin: 0 0.5rem;
}

.footer__link:hover {
  color: var(--fg);
}

.footer__sep {
  color: var(--accent);
  margin: 0 0.6rem;
}

/* ============(ง •̀_•́)ง 6. Page-Specific Typography ================ */
/* IMPRESSUM */
.h2__impressum {
  color: var(--fg-dim);
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.02em;
  margin: 0rem 0 rem;
}

.legal {
  font-size: 0.85rem;
  line-height: 2;
  margin: 1rem 0 0.5rem;
}

.legal address {
  font-style: normal;
  margin: 0;
}

a.legal__contactlink {
  color: var(--fg-dim);
  text-decoration: none;
}

a.legal__contactlink:hover {
  color: var(--fg);
  text-decoration: none;
}

/* PRIVACY POLICY */
.h2__privacy {
  color: var(--fg);
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.02em;
  margin: 0rem 0rem 2rem;
}

.h3__privacy {
  color: var(--fg-dim);
  font-size: 0.85rem;
  font-weight: bolder;
  line-height: 1.6;
  letter-spacing: 0.02em;
  margin: 2rem 0rem 2rem;
}

.h4__privacy {
  color: var(--fg-dim);
  font-size: 0.85rem;
  font-weight: bolder;
  line-height: 1.6;
  letter-spacing: 0.02em;
  margin: 1rem 0rem 0rem;
}

.privacy {
  font-size: 0.85rem;
  line-height: 2;
  margin: 1rem 0 0.5rem;
}

.divider {
  border: none;
  border-top: 1px dashed var(--fg-dim);
  width: 1.5rem;
  opacity: 0.8;
  margin: 3rem 0;
}

/* ============(°,,,°) 7. Utilities ================ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  /* verhindert Umbrüche */
  border: 0;
}

/* ============(づ￣ ³￣)づ 8. Media Queries ================ */
@media (max-device-width: 480px),
(max-height: 480px) {
  html {
    font-size: 95%;
  }

  #homeBtn {
    width: 3rem;
    height: 3rem;
    top: 1rem;
    right: 1rem;
  }

  #homeBtn svg {
    color: rgba(255, 255, 255, 0.85);
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.3));
  }

  #homeBtn svg path {
    stroke-width: 12;
  }

  .footer__nav {
    font-size: 0.85rem;
  }

  .footer__link {
    margin: 0rem;
  }

  .footer__sep {
    margin: 0 0.2rem;
  }
}