/* colors */
:root {
    --bg-main: #f7f3ea;
    --bg-soft: #f2eee4;
    --bg-highlight: #efe8d8;
    --border-soft: #ddd6c8;
    --text-main: #333;
    --text-muted: #666;
}

/* Body */
body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    background-color: var(--bg-main);
    color: var(--text-main);
}

/* Content width + Padding */
body > *:not(.site-header) {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
}

/* Sticky Header */
.site-header {
    background-color: #faf7f0;
    border-bottom: 1px solid var(--border-soft);
    text-align: center;
    padding: 1rem 1rem;

    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-title {
    margin: 0;
}

.site-title a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 1.8rem;
}

.site-claim {
    margin-top: 0.25rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Navigation */
.nav-list {
    list-style: none;
    padding: 0;
    margin: 0.8rem 0 0 0;

    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.nav-list a {
    text-decoration: none;
    color: #444;
    font-weight: 500;
    padding: 0.2rem 0.4rem;
}

.nav-list a:hover {
    text-decoration: underline;
}

/* Headings */
h1 {
    margin-top: 2rem;
    margin-bottom: 0.8rem;
}

h2 {
    margin-top: 1.8rem;
    margin-bottom: 0.6rem;
}

h3 {
    margin-top: 0.8rem;
}

/* Paragraphs */
p {
    margin-bottom: 1rem;
}

/* Lists */
ul {
    padding-left: 1.5rem;
}

/* Cards */
.card {
    background-color: var(--bg-soft);
    border: 1px solid var(--border-soft);
    border-radius: 6px;
    padding: 1rem;
    margin: 1.2rem 0;
}

/* Highlight Card */
.card.highlight-red {
    background-color: var(--bg-highlight);
    border-left: 4px solid #d6bfa0;
}

/* Card Images */
.card img {
    max-width: 100%;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

/* Card Links */
.card a {
    display: inline-block;
    margin-top: 0.4rem;
    padding: 0.3rem 0.6rem;

    background-color: #e6e0d3;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}

.card a:hover {
    background-color: #ddd6c8;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background-color: var(--bg-soft);
}

th, td {
    border: 1px solid var(--border-soft);
    padding: 0.5rem;
}

th {
    background-color: #ece6d7;
}

/* Links */
a {
    color: #444;
}

a:hover {
    color: #222;
}

/* Footer */
#footer {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 2rem 1rem;
    margin-top: 2rem;
}

/* map */
.map-container {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.map-container iframe {
  width: 100%;
  max-width: 700px;
  height: 400px;
  border: 1px solid #e6e0d6;
  border-radius: 10px;
}

/* gallery wrapper */
.gallery-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin: 2rem 0;
}

/* scroll gallery */
.photo-gallery {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem;
  scroll-behavior: smooth;

  background: #f3efe8;
  border-radius: 10px;
  border: 1px solid #e6e0d6;
}

/* scrollbar verstecken */
.photo-gallery::-webkit-scrollbar {
  display: none;
}

.photo-gallery {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* photo cards */
.photo-card {
  min-width: 220px;
  flex: 0 0 auto;
  background: #faf7f2;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e6e0d6;
  transition: transform 0.2s;
}

.photo-card:hover {
  transform: translateY(-3px);
}

.photo-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  cursor: pointer;
}

.photo-card figcaption {
  font-size: 0.9rem;
  padding: 0.6rem;
  text-align: center;
  color: #555;
}

/* scroll buttons */
.gallery-btn {
  position: absolute;
  background: #faf7f2;
  border: 1px solid #e6e0d6;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  z-index: 2;
}

.gallery-btn.left {
  left: -10px;
}

.gallery-btn.right {
  right: -10px;
}

/* lightbox */

#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: rgba(0,0,0,0.75);

  display: none;
  justify-content: center;
  align-items: center;

  z-index: 1000;
}

/* content */

.lightbox-content {
  text-align: center;
  max-width: 90%;
}

/* image */

#lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 8px;
}

/* close button */

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;

  font-size: 28px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;

  opacity: 0.8;
}

.lightbox-close:hover {
  opacity: 1;
}

/* esc hint */

.lightbox-hint {
  color: #ddd;
  font-size: 0.85rem;
  margin-top: 10px;
}
