/* fonts are still loaded from HTML */
body {
  width: 100%;
  width: 750px;
  margin: 0 auto;
  min-width: 320px;
  box-sizing: border-box;
  max-height: 90%;
  font-family: "Open Sans", serif;
  background-color: #F3F5F6;
  padding-left: 10px;
  padding-right: 10px;
}

@media screen and (max-width: 600px) {
  body {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  #navbar {
    padding: 8px 12px;
  }

  .nav-links {
    flex-direction: column;
    gap: 12px;
  }

  .nav-links a {
    width: 100%;
    height: auto;
    padding: 10px 14px;
    justify-content: center;
    font-size: clamp(1rem, 5vw, 1.25rem);
  }

  #hero-text {
    font-size: 0.95rem;
    margin: 16px 0;
  }
}



/* NAVBAR */
#navbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 12px;
  background: rgba(243,245,246,0.2);
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(131,29,23,0.04);
  padding: 1px 16px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.brand-link {
  color: #0c0100;
  text-decoration: none;
  font-weight: inherit;
  font-family: 'Open Sans', sans-serif;
}

.header-image-caption {
  font-size: 0.75rem;
  color: #555;
  margin-top: 6px;
  text-align: center;
}

/* headline visuals + underline animation */
.headline {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

/* responsive headline sizes/colors */
h1.headline {
  margin-bottom: 25px;
  letter-spacing: 1px;
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900;
  text-align: center;
  color: #831D17;
  line-height: 1.1;
}

.headline::after,
.headline::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #ff0000, #00ffff);
  bottom: -5px;
  left: 0;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease-out;
}

.headline::before {
  top: -5px;
  transform-origin: left;
}

.headline:hover::after,
.headline:hover::before {
  transform: scaleX(1);
}



/* nav links row */
.nav-links {
  display: flex;
  gap: 0;
  justify-content: center;
  margin-top: 0;
}

.nav-links a {
  padding: 2px 10px;
  border-radius: 10px;
  background: rgba(243,245,246,0.2);
  box-shadow: 0 1px 4px rgba(131,29,23,0.02);
  font-size: clamp(3.9rem, 60.6vw, 0.5rem);
  width: 75vw;
  height: 20vh;
  color: black;
  text-decoration: none;
  display: flex;
}

/* general link style */
a {
  color: black;
  text-decoration: none;
  margin-left: 10px;
  font-weight: 800;
  font-size: larger;
  margin-bottom: 2px;
}

a:hover {
  text-decoration: none;
  background-color: #DEDEDE;
}


/* header images */
.header-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  box-shadow:
    0 8px 24px rgba(131, 29, 23, 0.18),
    0 1.5px 8px rgba(0,0,0,0.12);
  border: 6px solid #fff;
  background: linear-gradient(135deg, #f3f5f6 60%, #831D17 100%);
  position: relative;
  overflow: hidden;
}

.header-image-my-pic {
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 8px 24px rgba(131, 29, 23, 0.18),
    0 1.5px 8px rgba(0,0,0,0.12);
  border: 8px solid #222;
  background: radial-gradient(circle at 60% 40%, #fff 0%, #f3f5f6 60%, #222 100%);
  aspect-ratio: 1 / 1;
  margin-top: -60px;
}

/* spinning vinyl effect */
.header-image-my-pic {
  animation: spin-vinyl 22s linear infinite;
  box-shadow:
    0 0 0 12px rgba(131,29,23,0.08),
    0 0 32px 8px #831D17,
    0 0 0 0 #fff;
  filter: contrast(1.15) saturate(1.2) drop-shadow(0 0 16px #831D17aa);
  outline: 3px solid #00ffff;
  outline-offset: 6px;
  transition: filter 0.4s, box-shadow 0.4s;
    filter: saturate(0.88);
}

.header-image-my-pic::after:hover {
  filter: saturate(1.2);
}

@keyframes spin-vinyl {
  0% { transform: rotate(0deg);}
  100% { transform: rotate(360deg);}
}


/* Vinyl grooves: multiple transparent rings */
.header-image-my-pic::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  background:
    repeating-radial-gradient(
      circle,
      rgba(0,0,0,0) 0px,
      rgba(0,0,0,0) 6px,
      rgba(0,0,0,0.12) 7px,
      rgba(0,0,0,0) 9px
    );
  opacity: 0.45;
  mix-blend-mode: multiply;
  z-index: 2;
}

/* Schallplatten-Loch in der Mitte */
.header-image-my-pic::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  background: #f3f5f6;
  border: 2.5px solid #bbb;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(131,29,23,0.08);
  transform: translate(-50%, -50%);
  z-index: 3;
}

.header-image-my-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  position: relative;
  z-index: 1;
}

/* headline text within card */
.headline {
  /* fallback style if headline is used elsewhere */
}

/* paragraph sizes */
p {
  font-size: 0.75rem;
}

/* hero text block */
#hero-text {
  font-size: 0.875rem;
  color: #813D17;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;
  text-align: center;
}

/* hover underline placeholder (kept if used) */
.hover-underline {
  font-size: 2rem;
  color: #ffffff;
  position: relative;
  display: inline-block;
}

/* music / coding sections */
#music-section, #coding-section {
  flex: 1;
  text-align: center;
  position: relative;
  width: 50%;
  
}

#music-section img, #coding-section img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#music-section, #coding-section {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

#music-section:hover, #coding-section:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

/* about title */
.about-title {
  color: #0e0100;
  margin-bottom: -8px;
  font-weight: bold;
}


/* legal texts */
#legal-impressum, #legal-datenschutz, #legal-agb {
  display: flex;
  justify-content: center;
  color: black;
  font-size: 0.75rem;


}

.legal-text {
  display: block;
  text-align: center;
  font-size: 0.5rem;
  color: black;
  margin-top: 8px;
}

/* footer */
.footer-text {
  text-align: center;
  padding: 8px 0;
}

/* Visually hidden but still in DOM and focusable; visible when focused (useful to finden) */
#einsatz-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    white-space: nowrap;
}

/* Wenn du per Tab darauf kommst, wird er sichtbar */
#einsatz-link:focus {
    position: static;
    left: auto;
    width: auto;
    height: auto;
    overflow: visible;
    margin: 0.5rem 0;
    padding: 0.25rem 0.5rem;
    background: #831D17;
    color: #fff;
    border-radius: 4px;
    outline: 3px solid rgba(131,29,23,0.25);
}