:root {
  /* Hier kannst du die wichtigsten Farben und Abstände schnell anpassen. */
  --background: #000;
  --text: #8c8c8c;
  --muted: #6f6a62;
  --accent: #222222;
  --accent-dark: #9f083f;
  --line: #d8d0c5;
  --page-padding: clamp(18px, 4vw, 48px);
  --header-height: 68px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: Georgia, "Times New Roman", serif;
}

img {
  display: block;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px var(--page-padding);
  background: #222222;
  border-bottom: 1px solid rgba(32, 32, 32, 0.08);
  backdrop-filter: blur(10px);
}

.logo,
.main-nav a {
  color: var(--text);
  text-decoration: none;
}

.logo {
  font-size: 1.05rem;
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 28px);
  font-size: 0.95rem;
}

.main-nav a {
  color: var(--muted);
}

.main-nav a:hover {
  color: var(--text);
}

.hero {
  position: relative;
  min-height: 96vh;
  display: grid;
  place-items: center;
  padding: calc(var(--header-height) + 32px) var(--page-padding) 56px;
  overflow: hidden;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, 0.22);
}

.hero-text {
  width: min(760px, 100%);
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.34);
}

.eyebrow {
  margin: 0 0 14px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 4vw, 6.75rem);
  line-height: 0.98;
}

.hero-text p:last-child {
  max-width: 520px;
  margin: 22px auto 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.45;
}

.gallery {
  width: 100%;/*Dieser Wert wurde geändert*/
  min-height: 100vh;
  margin: 0 auto;
  padding: calc(var(--header-height) + 32px) var(--page-padding) 48px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  gap: 18px;
}

.gallery-stage {
  min-height: 0;
  display: grid;
  place-items: center;
}

.gallery-stage img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - var(--header-height) - 180px);
  object-fit: contain;
  box-shadow: 0 18px 55px rgba(42, 39, 35, 0.16);
  background: #fff;
}

.gallery-info {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
}

.gallery-info p {
  margin: 0;
}

.gallery-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
}

button {
  min-width: 150px;
  padding: 12px 16px;
  border: 1px solid var(--accent);
  color: #888;
  background: var(--accent);
  font: 700 0.95rem/1 Courier, monospace, sans-serif;
  cursor: pointer;
}

button:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

button:focus-visible {
  outline: 3px solid rgba(46, 111, 107, 0.35);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  :root {
    --header-height: 104px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery {
    gap: 14px;
  }

  .gallery-stage img {
    max-height: calc(100vh - var(--header-height) - 210px);
  }

  .gallery-info,
  .gallery-controls {
    flex-direction: column;
    align-items: stretch;
  }

  button {
    width: 100%;
  }
}
