/* Gabberspider NWS — modern shared design system */

:root {
  --max: 1180px;
  --radius: 22px;
  --radius-sm: 14px;
  --glass: rgba(10, 10, 12, .72);
  --glass-strong: rgba(8, 8, 10, .9);
  --line: rgba(255, 255, 255, .12);
  --muted: rgba(255, 255, 255, .72);
  --shadow: 0 24px 70px rgba(0, 0, 0, .38);
  --ease: cubic-bezier(.2, .75, .2, 1);
}


/* ==========================================================
   GRUNDLAGEN
   ========================================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg-image) center/cover fixed, var(--bg-color);
  color: var(--text-color);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    var(--body-overlay, linear-gradient(180deg,
        rgba(0, 0, 0, .12),
        rgba(0, 0, 0, .5))),
    radial-gradient(circle at 50% 0,
      transparent 25%,
      var(--vignette-color) 100%);
  pointer-events: none;
}

a {
  color: var(--accent-color);
  text-underline-offset: 3px;
}

a:hover {
  filter: brightness(1.18);
}

img {
  max-width: 100%;
  height: auto;
}

button,
input,
select {
  font: inherit;
}

.sr-only,
.seo-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}


/* ==========================================================
   HEADER
   ========================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: .55rem 1rem;
  background: var(--header-surface);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: auto;
}

.utility {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 42px;
}

.utility-actions {
  display: flex;
  align-items: center;
  gap: .55rem;
}

.icon-link,
.switcher-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--control-bg);
  color: var(--accent-color);
  cursor: pointer;
  transition: .25s var(--ease);
}

.icon-link:hover,
.switcher-button:hover {
  transform: translateY(-2px);
  background: var(--control-hover);
}

.icon-link img,
.switcher-button img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.switcher-button img {
  animation: switcher-glow 1.8s ease-in-out infinite alternate;
}

.brand-mini {
  font-weight: 900;
  letter-spacing: .16em;
  font-size: .8rem;
  text-transform: uppercase;
  color: var(--accent-color);
  opacity: .9;
}

.style-options {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .6rem;
  padding: .65rem 0 .25rem;
}

.style-options.hidden {
  display: none;
}

.style-choice {
  width: 48px;
  height: 40px;
  object-fit: contain;
  object-position: center;
  border: 2px solid var(--line);
  border-radius: 9px;
  background: var(--switcher-option-bg);
  padding: 3px;
  cursor: pointer;
  transition: .25s var(--ease);
}

.style-choice:hover,
.style-choice:focus {
  border-color: var(--accent-color);
  background: var(--switcher-option-hover);
  transform: scale(1.06);
  outline: none;
}


/* ==========================================================
   NAVIGATION
   ========================================================== */

.main-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  margin-top: .45rem;
  min-height: 68px;
}

.nav-side {
  display: flex;
  align-items: center;
  gap: .2rem;
}

.nav-side-right {
  justify-content: flex-end;
}

.nav-side a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .62rem .78rem;
  border-radius: 10px;
  color: var(--nav-text);
  text-decoration: none;
  font-weight: 800;
  font-size: .91rem;
  white-space: nowrap;
  transition: .25s var(--ease);
}

.nav-side a:hover,
.nav-side a[aria-current="page"] {
  background: var(--nav-hover);
  color: var(--nav-hover-text);
  box-shadow: 0 6px 20px color-mix(in srgb,
      var(--accent-color) 18%,
      transparent);
}

.home-icon {
  width: 21px;
  height: 21px;
  filter: var(--home-icon-filter, none);
}

.nav-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(130px, 15vw, 185px);
  height: 62px;
  padding: .25rem .5rem;
}

.nav-brand #logo-img {
  width: 100%;
  height: 100%;
  max-height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .3));
  transition: .3s var(--ease);
}

.nav-brand:hover #logo-img {
  transform: scale(1.035);
}

#burger-menu {
  display: none;
  border: 1px solid var(--line);
  background: var(--nav-bg);
  color: var(--nav-text);
  border-radius: 12px;
  padding: .65rem .8rem;
  font-size: 1.35rem;
  cursor: pointer;
}


/* ==========================================================
   MAIN CONTENT
   ========================================================== */

#main-content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto 3rem;
  padding: clamp(1rem, 3vw, 2.2rem);
  background: var(--main-bg);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

#main-content>h1:first-child {
  margin-top: .2rem;
}

h1,
h2,
h3,
h4 {
  line-height: 1.15;
}

h1 {
  font-size: clamp(2rem, 5vw, 2rem);
  letter-spacing: -.035em;
  margin: 0 0 1.3rem;
  color: var(--heading-color, var(--text-color));
}

h2 {
  font-size: clamp(1.35rem, 3vw, 1.5rem);
  margin: 2.5rem 0 1rem;
}

h3 {
  margin: 1.8rem 0 .8rem;
}

p {
  max-width: 82ch;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.2rem 0;
}


/* ==========================================================
   HERO
   ========================================================== */

.hero {
  padding: clamp(1rem, 5vw, 4rem) 0 2rem;
  text-align: center;
}

.hero h1 {
  margin-bottom: .6rem;
}

.hero h2 {
  max-width: 760px;
  margin: 0 auto 1.8rem;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 500;
}

.hero img {
  max-width: min(100%, 420px);
  margin: 1.5rem auto;
}

.section-head {
  text-align: center;
  margin-bottom: 1.5rem;
}

.glass-card {
  background: rgba(255, 255, 255, .055);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, .18);
}


/* ==========================================================
   SERVICES
   ========================================================== */

.services {
  padding: 1rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  background: rgba(0, 0, 0, .38);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  transition: .3s var(--ease);
  box-shadow: 0 14px 35px rgba(0, 0, 0, .2);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb,
      var(--accent-color) 55%,
      transparent);
  box-shadow: 0 24px 55px rgba(0, 0, 0, .35);
}

.service-card h3 {
  color: var(--accent-color);
  margin-top: 0;
}

.service-card ul {
  padding-left: 1.15rem;
}

.service-card.highlight {
  background: linear-gradient(135deg,
      var(--accent-color),
      rgba(255, 255, 255, .86));
  color: #111;
}

.service-card.highlight h3 {
  color: #111;
}


/* ==========================================================
   YOUTUBE / MAP / PLAYER
   ========================================================== */

.youtube,
.map-container {
  position: relative;
  width: 100%;
  max-width: 760px;
  aspect-ratio: 16 / 9;
  margin: 1.4rem auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #000;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .3);
}

.youtube iframe,
.map-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-container {
  max-width: 900px;
}

.player-frame {
  width: 100%;
  min-height: 480px;
  border: 0;
  border-radius: 18px;
  background: #050505;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
}


/* ==========================================================
   LIKE BUTTONS
   ========================================================== */

.like-buttons {
  text-align: center;
  padding: 1rem 0 2rem;
}

.like-button-container {
  display: flex;
  justify-content: center;
  gap: clamp(1.2rem, 5vw, 4rem);
  flex-wrap: wrap;
}

.like-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: .25s var(--ease);
  user-select: none;
}

.like-button img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.like-button:hover {
  transform: translateY(-5px) scale(1.04);
}

.like-button span {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--like-color);
  margin-top: .35rem;
  text-shadow: var(--like-text-shadow, none);
}

@keyframes pop {
  50% {
    transform: scale(1.35);
  }
}

.pop-animation {
  animation: pop .3s ease-out;
}


/* ==========================================================
   BLOG / TABLE
   ========================================================== */

.blog-controls {
  display: flex;
  justify-content: flex-end;
  gap: .75rem;
  align-items: center;
  margin-bottom: 1rem;
}

.blog-controls select {
  background: var(--table-bg);
  color: var(--text-color);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .55rem .7rem;
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--table-bg);
  color: var(--text-color);
}

th,
td {
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  background: var(--nav-bg);
  color: var(--nav-text);
}

tbody tr {
  transition: .2s;
}

tbody tr:hover {
  background: var(--table-hover);
}

td a {
  display: block;
  text-decoration: none;
  color: inherit;
  font-weight: 650;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: .4rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.pagination button {
  border: 1px solid var(--line);
  background: var(--table-bg);
  color: var(--text-color);
  border-radius: 9px;
  padding: .45rem .7rem;
  cursor: pointer;
}

.pagination button.active,
.pagination button:hover {
  background: var(--accent-color);
  color: #111;
}


/* ==========================================================
   SHOP
   ========================================================== */

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.shop-grid a {
  display: block;
  padding: .8rem;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: .3s;
}

.shop-grid a:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, .09);
}

.shop-grid img {
  border-radius: 12px;
}

.shop-merch iframe {
  width: 100%;
  min-height: 600px;
  border: 0;
  border-radius: 18px;
  background: #fff;
}

.bandcamp-frame {
  width: 100%;
  height: 75vh;
  min-height: 560px;
  border: 0;
  border-radius: 18px;
  background: #fff;
}

.iframe-placeholder {
  cursor: pointer;
  text-align: center;
}

.iframe-placeholder img {
  max-width: 400px;
  border-radius: 14px;
}


/* ==========================================================
   PRODUCER / FOOTER
   ========================================================== */

.about-producer {
  text-align: left;
  margin: 2rem 0;
}

.about-producer::after {
  content: "";
  display: block;
  clear: both;
}

#gabberspider {
  max-width: 280px;
  border: 5px solid rgba(255, 255, 255, .16);
  border-radius: 18px;
  float: right;
  margin: 0 0 1rem 1.5rem;
  cursor: pointer;
}

.info {
  display: none;
}

.btn_info {
  cursor: pointer;
  max-width: 120px;
}

.social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .7rem;
  padding: 1rem;
  flex-wrap: wrap;
  background: var(--social-gradient);
  border-radius: 16px;
}

.social img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.socialb {
  filter: grayscale(100%);
  transition: .25s;
}

.socialb:hover {
  filter: grayscale(0);
  transform: scale(1.08);
}

#spende {
  text-align: center;
  padding: 1rem;
  background: var(--spende-bg);
  border-radius: 16px;
}

.footer-info {
  text-align: center;
  padding: 1rem;
}

.footer-info img {
  width: 46px;
}

footer {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto 2rem;
  position: relative;
  z-index: 1;
}


/* ==========================================================
   WHATSAPP
   ========================================================== */

#whatsapp-glow-wrapper {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, .65);
  border: 1px solid rgba(37, 211, 102, .45);
  box-shadow: 0 0 12px rgba(37, 211, 102, .5);
  transition: .25s;
}

#whatsapp-glow-wrapper:hover {
  transform: scale(1.08);
  box-shadow: 0 0 24px rgba(37, 211, 102, .75);
}

#whatsapp-icon {
  width: 44px;
  height: 44px;
  filter: grayscale(100%);
}

#whatsapp-glow-wrapper:hover #whatsapp-icon {
  filter: none;
}

@keyframes switcher-glow {
  from {
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, .65));
  }

  to {
    filter: drop-shadow(0 0 14px rgba(255, 255, 255, 1));
  }
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 900px) {

  .services-grid,
  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {

  .site-header {
    padding: .55rem .7rem;
  }

  .brand-mini {
    display: none;
  }

  .main-nav {
    justify-content: flex-end;
  }

  .nav-seiten {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    left: .7rem;
    right: .7rem;
    top: 100%;
    width: auto;
    background: var(--mobile-nav-bg);
    backdrop-filter: blur(16px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, .45);
    padding: .5rem;
  }

  .nav-seiten.active {
    display: flex;
  }

  .nav-seiten a {
    justify-content: center;
    padding: .85rem;
  }

  .main-nav {
    position: relative;
  }

  #burger-menu {
    display: block;
  }

  .services-grid,
  .shop-grid {
    grid-template-columns: 1fr;
  }

  #main-content {
    width: min(calc(100% - 1rem), var(--max));
    padding: 1rem;
    border-radius: 20px;
  }

  #logo-container {
    margin: 1.3rem auto .5rem;
  }

  .like-button img {
    width: 62px;
    height: 62px;
  }

  .player-frame {
    min-height: 420px;
  }

  .bandcamp-frame {
    min-height: 480px;
  }

  .youtube {
    margin: 1rem auto;
  }

  #gabberspider {
    float: none;
    display: block;
    margin: 0 auto 1rem;
    max-width: 230px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}


/* ==========================================================
   ADDITIONAL HELPERS
   ========================================================== */

#terrordrome {
  content: var(--terrordrome-img) !important;
}

.glow-btn {
  display: block;
  margin: 1rem auto;
}

.text-justify {
  text-align: justify;
}

.center {
  text-align: center;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 720px) {

  .two-col {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================
   NWS LAYOUT REFINEMENTS
   ========================================================== */

#main-content>*:not(.about-producer):not(.table-wrap):not(.shop-merch):not(.youtube):not(.map-container):not(.social) {
  margin-left: auto;
  margin-right: auto;
}

.about-producer {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.about-producer p,
.about-producer li {
  max-width: 90ch;
}

.main-nav a:focus-visible,
.icon-link:focus-visible,
.switcher-button:focus-visible,
.style-choice:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}


/* ==========================================================
   MOBILE NAVIGATION
   ========================================================== */

@media (max-width: 720px) {

  .site-header {
    padding: .5rem .7rem;
  }

  .utility {
    position: relative;
  }

  .brand-mini {
    display: none;
  }

  .main-nav {
    display: flex;
    justify-content: center;
    min-height: 58px;
    margin-top: .25rem;
    position: relative;
  }

  .nav-side {
    display: none;
  }

  .nav-brand {
    width: clamp(125px, 42vw, 175px);
    height: 54px;
  }

  .nav-brand #logo-img {
    max-height: 50px;
  }

  #burger-menu {
    display: block;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .nav-brand+.nav-side-right {
    display: none;
  }

  .style-options {
    gap: .45rem;
  }

  .style-choice {
    width: 45px;
    height: 38px;
  }
}


/* ==========================================================
   CENTERED PRESENTATION
   ========================================================== */

#main-content>h1,
#main-content>h2,
#main-content>h3,
#main-content>hr {
  text-align: center;
}


/* ==========================================================
   FINAL NWS HEADER PASS
   Large centered logo + single centered navigation row
   ========================================================== */

.utility {
  justify-content: center;
  min-height: 48px;
}

.utility-actions {
  justify-content: center;
}

.main-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  margin-top: .25rem;
  min-height: 0;
  position: relative;
}

.nav-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(260px, 30vw, 420px);
  height: auto;
  min-height: 105px;
  padding: 0;
}

.nav-brand #logo-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

.nav-seiten {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  flex-wrap: wrap;
  width: 100%;
}

.nav-seiten a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .62rem .82rem;
  border-radius: 10px;
  color: var(--nav-text);
  text-decoration: none;
  font-weight: 800;
  font-size: .93rem;
  white-space: nowrap;
  transition: .25s var(--ease);
}

.nav-seiten a:hover,
.nav-seiten a[aria-current="page"] {
  background: var(--nav-hover);
  color: var(--nav-hover-text);
  box-shadow: 0 6px 20px color-mix(in srgb,
      var(--accent-color) 18%,
      transparent);
}

#burger-menu {
  display: none;
}

#terrordrome {
  display: block !important;
  width: min(350px, 80vw);
  height: auto;
  margin: 1.5rem auto !important;
  object-fit: contain;
}

.social a {
  display: grid;
  place-items: center;
}

.social a[href*="impressum"] img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}


/* ==========================================================
   FINAL MOBILE HEADER
   ========================================================== */

@media (max-width: 720px) {

  .utility {
    min-height: 44px;
  }

  .main-nav {
    gap: .4rem;
    padding-bottom: .25rem;
  }

  .nav-brand {
    width: clamp(250px, 72vw, 360px);
    min-height: 82px;
  }

  .nav-seiten {
    display: none;
    position: absolute;
    z-index: 50;
    left: 0;
    right: 0;
    top: 100%;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: .15rem;
    padding: .65rem;
    background: var(--mobile-nav-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .45);
  }

  .nav-seiten.active {
    display: flex;
  }

  .nav-seiten a {
    justify-content: center;
    padding: .8rem;
  }

  #burger-menu {
    display: block;
    position: absolute;
    right: .15rem;
    bottom: .25rem;
    border: 1px solid var(--line);
    background: var(--nav-bg);
    color: var(--nav-text);
    border-radius: 12px;
    padding: .55rem .75rem;
    font-size: 1.25rem;
    cursor: pointer;
  }
}


/* ==========================================================
   BLOGARTIKEL – SAUBERES BILD-/TEXT-LAYOUT
   Keine Floats – der Text nutzt immer die komplette Breite.
   ========================================================== */

.blog-article {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}

.blog-article p.article-text {
  width: 100%;
  max-width: none;
  margin: 0;
  line-height: 1.7;
  text-align: justify;
}

.blog-article h1, h2, h3, h4 {
  text-align: center;
  margin-bottom: 35px;
}


/* Jeder Abschnitt bekommt seinen eigenen Abstand */

.article-section {
  width: 100%;
  margin-bottom: 45px;
}


/* Bildbereich */

.article-images {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  width: 100%;
  margin: 0 auto 25px;
}


/* Einzelnes Bild */

.article-images img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0;
}


/* Einzelbilder nicht unnötig riesig */

.article-images.single img {
  max-width: 300px;
}


/* Zwei Bilder */

.article-images.double img {
  max-width: 300px;
}


/* Artikeltext */

.article-text {
  width: 100%;
  max-width: none;
  margin: 0;
  line-height: 1.7;
  text-align: justify;
}


/* Abstand zwischen Abschnitten */

.article-section+.article-section {
  padding-top: 5px;
}


/* Mobile */

@media (max-width: 700px) {

  .blog-article {
    width: 100%;
  }

  .article-images {
    gap: 20px;
    margin-bottom: 20px;
  }

  .article-images img {
    max-width: 100% !important;
    height: auto;
  }

  .article-text {
    text-align: left;
  }

  .article-section {
    margin-bottom: 35px;
  }
}