/* Emil Becker KG — Manfred Wild. Clean rewrite (2026), replaces the Mobirise/Bootstrap bundle. */

@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/playfair-display-400.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/playfair-display-600.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/playfair-display-700.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/inter-600.woff2') format('woff2'); }

:root {
  --color-bg: #12161f;
  --color-bg-alt: #1a2030;
  --color-surface: #202e48;
  --color-text: #232323;
  --color-text-light: #f5f5f3;
  --color-text-muted: #6b7280;
  --color-accent: #ffbc00;
  --color-accent-dark: #c99a00;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --container-width: 1180px;
  --radius: 6px;
  --transition: 0.25s ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: #fff;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 1rem;
}

.section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.section-subtitle {
  font-family: var(--font-body);
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.underline { width: 60px; height: 3px; background: var(--color-accent); margin: 0.5rem 0 1.5rem; }
.underline.center { margin-left: auto; margin-right: auto; }

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background var(--transition), color var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-accent { background: var(--color-accent); color: #1a1a1a; }
.btn-accent:hover { background: var(--color-accent-dark); }
.btn-outline { border-color: var(--color-text-light); color: var(--color-text-light); background: transparent; }
.btn-outline:hover { background: var(--color-text-light); color: var(--color-bg); }

/* Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  max-width: var(--container-width);
  margin: 0 auto;
  gap: 1.5rem;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-text-light);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 1 1 auto;
}
.navbar-brand img { height: 3rem; width: auto; flex-shrink: 0; }
.navbar-brand span { overflow: hidden; text-overflow: ellipsis; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-light);
  margin: 5px 0;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.nav-menu > li { position: relative; }
.nav-link {
  color: var(--color-text-light);
  font-size: 0.95rem;
  padding: 0.5rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.nav-link:hover { color: var(--color-accent); }

.nav-dropdown {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: 0 12px 24px rgba(0,0,0,0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.nav-menu > li:hover > .nav-dropdown,
.nav-menu > li.open > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 0.5rem 1.25rem;
  color: var(--color-text-light);
  font-size: 0.9rem;
}
.nav-dropdown a:hover { color: var(--color-accent); background: rgba(255,255,255,0.05); }
.nav-dropdown .nav-sub { padding-left: 0.5rem; }

.nav-lang { margin-left: 0.5rem; }
.nav-lang a {
  color: var(--color-text-light);
  border: 1px solid var(--color-text-light);
  border-radius: var(--radius);
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
}
.nav-lang a:hover { background: var(--color-text-light); color: var(--color-bg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--color-bg);
    padding: 1rem 1.5rem 1.5rem;
    gap: 0.25rem;
    max-height: 80vh;
    overflow-y: auto;
  }
  .nav-menu.is-open { display: flex; }
  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    box-shadow: none;
    background: rgba(255,255,255,0.04);
  }
  .nav-menu > li.open > .nav-dropdown { display: block; }
  .nav-lang { margin-left: 0; align-self: flex-start; }
}

/* Hero */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  background-size: cover;
  background-position: center;
  color: var(--color-text-light);
  text-align: center;
  padding: 4rem 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,12,20,0.55), rgba(10,12,20,0.8));
}
.hero .container { position: relative; max-width: 820px; }
.hero.hero-compact { min-height: 55vh; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.hero .hero-subtitle { font-size: 1.15rem; color: var(--color-accent); margin-bottom: 1rem; }
.hero p { font-size: 1.05rem; opacity: 0.92; }

/* Sections */
.section { padding: 4.5rem 0; }
.section-alt { background: #f6f5f2; }
.section-dark { background: var(--color-bg); color: var(--color-text-light); }
.section-dark .section-subtitle { color: var(--color-accent); }
.section-lead { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; font-size: 1.1rem; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius); width: 100%; }
@media (max-width: 800px) {
  .split, .split.reverse .split-media { order: initial; }
  .split { grid-template-columns: 1fr; }
}

/* Card grid (overview of creations) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
}
.card img { aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 1.25rem 1.5rem 1.5rem; text-align: center; }
.card-body h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.75rem; }

/* Image gallery / lightbox grid */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.6rem;
}
.gallery button {
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.gallery button:hover img { transform: scale(1.06); }

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.6rem;
}
.link-grid a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); }
.link-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.link-grid a:hover img { transform: scale(1.06); }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8,9,13,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 2rem;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 85vh; border-radius: var(--radius); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.3rem;
  cursor: pointer;
}
.lightbox-close { top: 1.5rem; right: 1.5rem; }
.lightbox-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.5rem; top: 50%; transform: translateY(-50%); }

/* Lists (museums, collections) */
.plain-list { list-style: none; margin: 0; padding: 0; }
.plain-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.section:not(.section-dark) .plain-list li { border-bottom-color: rgba(0,0,0,0.1); }

/* Press quotes */
.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}
.press-grid h4 { font-size: 1rem; font-weight: 600; color: var(--color-accent); margin-bottom: 0.5rem; }
.press-grid p { font-size: 0.95rem; opacity: 0.9; }

/* Footer */
.site-footer { background: var(--color-bg); color: var(--color-text-light); padding: 4rem 0 0; text-align: center; }
.site-footer h2 { font-size: 1.6rem; }
.footer-nav { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; margin: 1.5rem 0; padding: 0; }
.footer-nav a:hover { color: var(--color-accent); }
.footer-address { opacity: 0.85; margin-bottom: 3rem; }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 1.25rem 0;
  font-size: 0.9rem;
}
.footer-legal a { margin: 0 0.75rem; }
.footer-legal a:hover { color: var(--color-accent); }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  max-width: 640px;
  margin: 0 auto;
  background: var(--color-surface);
  color: var(--color-text-light);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
  display: none;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  z-index: 999;
}
.cookie-banner.is-visible { display: flex; }
.cookie-banner p { margin: 0; flex: 1 1 260px; font-size: 0.9rem; }
.cookie-banner a { text-decoration: underline; }
@media (max-width: 480px) {
  .cookie-banner { flex-direction: column; align-items: stretch; left: 0.75rem; right: 0.75rem; }
  .cookie-banner button { width: 100%; }
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #1a1a1a;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
  z-index: 900;
}
.back-to-top.is-visible { display: flex; }

/* Simple legal page content */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin-top: 2rem; }
.prose a { text-decoration: underline; }

@media (max-width: 640px) {
  .section { padding: 3rem 0; }
}
