﻿/* BMP Konservierung und Restaurierung — Shared Theme */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg:        #f5f3ee;
  --bg-alt:    #ece9e3;
  --dark:      #505050;
  --text:      #606060;
  --muted:     #6b6558;
  --accent:    #817d64;
  --accent-lt: #b9b59b;
  --cream:     #d6d2b4;
  --white:     #ffffff;
  --serif:     'Inter', Arial, sans-serif;
  --sans:      'Lato', Arial, sans-serif;
  --nav-h:     5.5rem;
  --r:         4px;
  --shadow:    0 2px 16px rgba(0,0,0,.10);
  --t:         .25s ease;
}
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
section[id], [id] { scroll-margin-top: var(--nav-h); }
body { font-family: var(--sans); font-size: 1rem; line-height: 1.7; color: var(--text); background: var(--bg); }
img  { display: block; max-width: 100%; height: auto; }
a    { color: inherit; text-decoration: none; }
ul, ol { padding-left: 1.4rem; }

/* CONTAINER */
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }

/* ── NAVIGATION ─────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10000;
  height: var(--nav-h);
  background: rgba(185,181,155,.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(150,146,118,.5);
  display: flex; align-items: center;
}
.nav__inner {
  width: 100%; margin: 0; padding: 0 6rem 0 5rem;
  display: flex; align-items: center; gap: 1.5rem;
}
.nav__logo { margin-right: auto; display: flex; align-items: center; }
.nav__logo img { height: 4.5rem; width: auto; }
.nav__links {
  display: flex; align-items: center; gap: 1rem;
  list-style: none; margin-left: auto; padding: 0;
}
.nav__links a {
  display: inline-block; padding: .25rem .9rem;
  font-size: .82rem; font-weight: 375; letter-spacing: .06em;
  text-transform: uppercase; color: var(--dark); background: var(--bg-alt); border-radius: var(--r);
  transition: background var(--t), color var(--t);
}
.nav__links a:hover, .nav__links a.active { background: var(--accent); color: #efefef; }
.nav__toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; margin-left: auto; padding: 6px;
  background: none; border: none;
}
.nav__toggle span {
  display: block; width: 24px; height: 2px;
  background: #ffffff; border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 900px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: rgba(185,181,155,.98); backdrop-filter: blur(8px);
    flex-direction: column; align-items: flex-start;
    padding: 0 1.5rem; gap: .25rem;
    border-bottom: 1px solid rgba(129,125,100,.15);
    z-index: 9999;
    max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height .35s ease, opacity .25s ease, padding .3s ease;
    margin: 0;
  }
  .nav__links.open { max-height: 500px; overflow: visible; opacity: 1; padding: 1rem 1.5rem 2rem; }
  .nav__links a { font-size: .9rem; padding: .5rem .75rem; }
}

/* ── PAGE HERO ──────────────────────────────────────────────── */
.page-hero {
  padding-top: calc(var(--nav-h) + 3.5rem);
  padding-bottom: 3rem;
  background: var(--white);
  border-bottom: 1px solid rgba(129,125,100,.12);
}
/* Video-Seiten: oben beige */
.video-page .page-hero { background: var(--bg); }
.breadcrumb {
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .75rem;
}
.breadcrumb a { color: var(--accent); text-decoration: underline; }
.breadcrumb a:hover { opacity: 0.75; }
.page-hero h1 {
  font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 300; letter-spacing: .02em; color: var(--dark);
}
.page-hero .subtitle {
  color: var(--muted); max-width: 600px; font-size: 1.05rem; margin-top: .5rem;
}
.divider { width: 40px; height: 2px; background: var(--accent); margin: 1rem 0 1.5rem; }

/* ── CARD GRID ──────────────────────────────────────────────── */
.cards-section { padding: 4rem 0; background: var(--bg); }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem; margin-top: 2.5rem;
}
.card {
  background: var(--white); border-radius: var(--r); overflow: hidden;
  box-shadow: var(--shadow); transition: transform var(--t), box-shadow var(--t);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.13); }
.card__img-wrap { overflow: hidden; flex-shrink: 0; aspect-ratio: 1 / 1; }
.card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; display: block; }
.card:hover .card__img { transform: scale(1.04); }
.card__body { padding: 1.1rem 1.25rem 1.4rem; }
.card__title { font-weight: 600; font-size: .95rem; color: var(--dark); line-height: 1.4; }
.card__link {
  display: inline-flex; align-items: center; gap: .35rem; margin-top: .75rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent); transition: gap var(--t);
}
.card__link:hover { gap: .6rem; }

/* ── VIDEO PAGE ─────────────────────────────────────────────── */
.video-section { padding: 3rem 0 5rem; background: var(--white); }
.video-wrap {
  position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
  border-radius: var(--r); background: #111;
}
.video-wrap video {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  border-radius: var(--r);
}

/* ── PROSE (impressum / datenschutz) ────────────────────────── */
.prose { padding: 3rem 0 5rem; max-width: 760px; }
.prose h2 {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 300; letter-spacing: .02em;
  color: var(--dark); margin: 2.5rem 0 .75rem;
}
.prose h3 { font-size: 1.1rem; font-weight: 600; color: var(--dark); margin: 1.75rem 0 .5rem; }
.prose p  { color: var(--muted); margin-bottom: 1rem; }
.prose ul, .prose ol { color: var(--muted); margin-bottom: 1rem; padding-left: 1.5rem; }
.prose li { margin-bottom: .35rem; }
.prose a  { color: var(--accent); text-decoration: underline; }
.prose strong { color: var(--text); }

/* ── SCROLL-TO-TOP ARROW ────────────────────────────────────── */
.scroll-arrow {
  display: flex; justify-content: center; align-items: center;
  width: 2.4rem; height: 2.4rem;
  margin: 2.5rem auto 0;
  border: 1.5px solid var(--accent);
  border-radius: 50%; color: var(--accent);
  opacity: .45; transition: opacity .25s, transform .25s;
  text-decoration: none;
}
.scroll-arrow:hover { opacity: 1; transform: translateY(-3px); }
.scroll-arrow svg {
  width: .9rem; height: .9rem;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.scroll-top-wrap { text-align: center; padding: 0 0 3rem; }

/* ── BACK TO TOP ─────────────────────────────────────────────── */
.back-top {
  position: fixed; bottom: 1.75rem; left: 1.75rem; z-index: 8000;
  width: 2.2rem; height: 2.2rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(185,181,155,.85); border-radius: 50%;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease, background .25s ease;
  text-decoration: none;
}
.back-top.visible { opacity: 1; pointer-events: auto; }
.back-top:hover { background: rgba(129,125,100,.95); }
.back-top svg {
  width: .9rem; height: .9rem;
  stroke: #ffffff; fill: none;
  stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer { background: #1e1c18; color: rgba(255,255,255,.6); padding: 2.5rem 0; }
.footer__inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer__logo img { height: 2.5rem; opacity: .7; }
.footer__links { display: flex; gap: 1.5rem; list-style: none; padding: 0; }
.footer__links a {
  font-size: .82rem; letter-spacing: .05em;
  color: rgba(255,255,255,.5); transition: color var(--t);
}
.footer__links a:hover { color: #fff; }
.footer__copy { font-size: .78rem; }
@media (max-width: 600px) {
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__copy  { text-align: left; }
}

/* ── COOKIE BANNER ──────────────────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 1rem; left: 1rem; right: 1rem; max-width: 560px;
  background: var(--white); border: 1px solid rgba(129,125,100,.2);
  border-radius: var(--r); box-shadow: 0 4px 24px rgba(0,0,0,.12);
  padding: 1.25rem 1.5rem; z-index: 9999;
  font-size: .88rem; display: flex; gap: 1rem; align-items: center; flex-wrap: wrap;
}
.cookie-banner.hidden { display: none; }
.cookie-banner p { flex: 1 1 200px; color: var(--muted); }
.cookie-banner a { color: var(--accent); text-decoration: underline; }
.cookie-btn {
  padding: .5rem 1.25rem; background: var(--accent); color: #fff;
  border: none; border-radius: var(--r); font-size: .82rem; font-weight: 600;
  cursor: pointer; white-space: nowrap; transition: background var(--t);
}
.cookie-btn:hover { background: #6a6650; }
