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

html, body {
  height: 100%;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #fff;
  scroll-behavior: smooth;
}

body {
  background: #000;
  position: relative;
  overflow-x: hidden;
}

.bg {
  position: fixed;
  inset: 0;
  background: url("hintergrundbild.jpg") center/cover no-repeat;
  z-index: -1;
  will-change: transform;
}

:root {
  --maxw: 900px;
}

.section {
  min-height: 100svh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8vh 6vw;
}

.frame {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: center;
}

#home .frame {
  margin-top: -15vh;
}

h1 {
  font-weight: 500;
  letter-spacing: .018em;
  font-size: clamp(2.6rem, 9vw, 5.6rem);
  line-height: 1.2;
  margin-bottom: 2.8rem;
}

.links {
  display: flex;
  justify-content: center;
  gap: 1.7rem;
  margin-bottom: 2.8rem;
}

.links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(1.1rem, 2vw, 1.28rem);
  border-bottom: 1px solid rgba(255,255,255,.5);
  padding-bottom: 2px;
  transition: .2s;
}

.links a:hover {
  opacity: .9;
  border-color: #fff;
}

.cta-down {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  transition: opacity .35s ease;
}
.cta-down.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.button {
  display: inline-flex;
  gap: .45rem;
  padding: .58rem 1.2rem;
  border-radius: .55rem;
  border: 1px solid rgba(255,255,255,.6);
  background: rgba(0,0,0,.05);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  transition: border-color .2s ease;
}

.portfolio {
  padding: 6vh 4vw 10vh;
  display: block;
}

.portfolio-head {
  max-width: var(--maxw);
  margin: 0 auto 2.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.portfolio-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: .01em;
  padding-left: 0.6rem;
}

.portfolio-head .button {
  margin-right: 0.7rem;
}

.portfolio-pages {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.portfolio-page {
  background: rgba(0,0,0,.18);
  backdrop-filter: blur(2px);
  padding: .7rem;
  border-radius: .85rem;
  box-shadow: 0 14px 40px rgba(0,0,0,.45);
}

.portfolio-page img {
  width: 100%;
  display: block;
  border-radius: .5rem;
  background: #fff;
}

.button-ausstellung {
}

@media (max-width: 900px) {
  h1 {
    font-size: clamp(2rem, 10vw, 3.5rem);
    margin-bottom: 2.2rem;
  }

  .links {
    gap: 1.2rem;
    margin-bottom: 2.2rem;
  }

  #home .frame {
    margin-top: -5vh;
  }
}

@media (max-width: 600px) {
  .bg {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-attachment: scroll;
  }

  h1 {
    font-size: clamp(1.8rem, 12vw, 3rem);
    line-height: 1.15;
  }

  .links a {
    font-size: 1rem;
  }

  .button {
    padding: .5rem 1rem;
    font-size: 1rem;
  }

  .section {
    padding: 6vh 5vw;
  }

  #home .frame {
    margin-top: 0;
  }
}

/* Pascal Weidmann – Mobile Kurzform */
.pw-short {
  display: none;
}

@media (max-width: 600px) {
  .pw-full {
    display: none;
  }
  .pw-short {
    display: inline;
  }

  .links {
    flex-wrap: nowrap;
  }

  .links a {
    white-space: nowrap;
  }
}

/* Unterstützt durch – fix am unteren Rand der Startseite */
#home {
  position: relative;
}

.supporter-fixed {
  position: absolute;
  bottom: 3vh;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  pointer-events: none;
}

.supporter-label {
  font-size: clamp(0.8rem, 1.4vw, 0.8rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.85;
}

.supporter-fixed img {
  width: clamp(66px, 16vw, 96px);
  height: auto;
}
