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

:root {
  --black: #1a1a1a;
  --anthrazit: #2e2e2e;
  --grau: #555;
  --hellgrau: #f5f5f5;
  --weiss: #ffffff;
  --gold: #8b6914;
  --gold-hell: #a67c1a;
  --border: #ddd;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --max: 960px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--black);
  background: var(--weiss);
}

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

/* === HEADER === */
header {
  background: var(--anthrazit);
  color: var(--weiss);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.4);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--weiss);
  white-space: nowrap;
}

.site-title a {
  color: inherit;
  display: flex;
  align-items: center;
  gap: 12px;
}
.site-title a:hover { text-decoration: none; opacity: .85; }

.site-logo {
  height: 42px;
  width: auto;
  display: block;
  border-radius: 3px;
}

nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

nav a {
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  padding: 6px 12px;
  border-radius: 4px;
  transition: background .15s, color .15s;
}

nav a:hover, nav a.aktiv {
  background: rgba(255,255,255,.12);
  color: var(--weiss);
  text-decoration: none;
}

nav a.aktiv { font-weight: 600; }

.lang-switch {
  border-left: 1px solid rgba(255,255,255,.25);
  margin-left: 8px;
  padding-left: 14px;
  display: flex;
  gap: 4px;
}

.lang-switch a {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}

.lang-switch a.aktiv {
  color: var(--weiss);
  background: rgba(255,255,255,.15);
}

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 24px; height: 2px; background: var(--weiss);
  position: relative; transition: all .25s;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

/* === HOMEPAGE: fixiertes Hintergrundbild === */
body.home {
  background-color: #efece6;
  background-image: url(images/hintergrund.jpg);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center center;
  background-size: contain;
}

/* Foto nur in der mobilen Ansicht als normales Bild */
.home-photo { display: none; }

.home-main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  min-height: calc(100vh - 64px);
}

.home-col {
  margin-left: auto;
  width: min(48%, 500px);
  margin-top: 44px;
  margin-bottom: 72px;
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  border-radius: 12px;
  padding: 36px 38px 40px;
  box-shadow: 0 12px 44px rgba(0,0,0,.16);
}

.home-col h1 {
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.15;
  color: var(--anthrazit);
  margin-bottom: 16px;
}

.home-col .lead {
  font-size: 1.05rem;
  color: var(--grau);
  margin-bottom: 26px;
}

.home-features {
  display: grid;
  gap: 22px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(0,0,0,.1);
}

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--weiss);
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  transition: background .15s;
}

.btn:hover { background: var(--gold-hell); text-decoration: none; color: var(--weiss); }

/* === FEATURES (Startseite) === */
.feature-card {
  border-left: 3px solid var(--gold);
  padding: 0 0 0 20px;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--anthrazit);
}

.feature-card p { color: var(--grau); font-size: .95rem; }

/* === HERO BILD === */
.hero-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  display: block;
}

/* === MAIN CONTENT === */
main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.page-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--anthrazit);
  margin-bottom: 8px;
  border-bottom: 3px solid var(--gold);
  padding-bottom: 12px;
}

.page-subtitle {
  color: var(--grau);
  font-size: 1.05rem;
  margin-bottom: 40px;
}

/* === PRODUKT === */
.produkt-section {
  margin-bottom: 48px;
}

.produkt-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--anthrazit);
  margin-bottom: 10px;
}

.produkt-section p, .produkt-section ol, .produkt-section ul {
  color: #333;
  margin-bottom: 12px;
}

.produkt-section ol, .produkt-section ul {
  padding-left: 22px;
}

.produkt-section li { margin-bottom: 6px; }

.specs-box {
  background: var(--hellgrau);
  border-radius: 6px;
  padding: 20px 24px;
  margin: 24px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.spec { text-align: center; }
.spec .zahl { font-size: 2rem; font-weight: 700; color: var(--gold); line-height: 1; }
.spec .einheit { font-size: .8rem; color: var(--grau); margin-top: 2px; }
.spec .label { font-size: .9rem; color: var(--anthrazit); margin-top: 6px; }

/* === GALERIE === */
.galerie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.galerie-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

/* === LIGHTBOX (Galerie) === */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  cursor: zoom-out;
}

.lightbox[hidden] { display: none; }

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0,0,0,.6);
}

.galerie-grid a { cursor: zoom-in; }

/* === KONTAKT === */
.kontakt-box {
  background: var(--hellgrau);
  border-radius: 6px;
  padding: 36px 40px;
  max-width: 520px;
  margin: 32px 0;
}

.kontakt-box h2 { font-size: 1.2rem; margin-bottom: 20px; color: var(--anthrazit); }

.kontakt-zeile {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 1rem;
}

.kontakt-icon {
  width: 20px;
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 2px;
}

.kontakt-zeile a { color: var(--black); font-weight: 500; }
.kontakt-zeile a:hover { color: var(--gold); }

.kontakt-hinweis {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--grau);
  font-size: .9rem;
  line-height: 1.6;
}

/* === FOOTER === */
footer {
  background: var(--anthrazit);
  color: rgba(255,255,255,.65);
  text-align: center;
  padding: 24px;
  font-size: .85rem;
}

footer a { color: rgba(255,255,255,.65); }
footer a:hover { color: var(--weiss); }
footer .sep { margin: 0 8px; }

/* === IMPRESSUM === */
.impressum-text {
  color: var(--grau);
  line-height: 1.8;
}

.impressum-text h2 { color: var(--anthrazit); font-size: 1.1rem; margin: 24px 0 8px; }
.impressum-text p { margin-bottom: 8px; }

/* === RESPONSIVE === */
@media (max-width: 680px) {
  .nav-toggle { display: block; }

  .header-inner { position: relative; }

  nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: var(--anthrazit);
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 16px 20px;
    gap: 2px;
    box-shadow: 0 4px 12px rgba(0,0,0,.4);
  }

  nav.open { display: flex; }

  nav a { width: 100%; padding: 10px 12px; font-size: 1rem; }

  .lang-switch {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,.15);
    margin-left: 0;
    padding-left: 0;
    padding-top: 10px;
    margin-top: 6px;
    width: 100%;
  }

  main { padding: 32px 20px 48px; }
  .kontakt-box { padding: 24px 20px; }
  .specs-box { grid-template-columns: 1fr 1fr; }

  .site-title { font-size: 1.05rem; }
  .site-logo { height: 36px; }
}

/* Homepage: gestapelte Ansicht auf Tablets/Handys (fixierter Hintergrund
   funktioniert auf mobilen Browsern nicht zuverlässig) */
@media (max-width: 768px) {
  body.home {
    background-image: none;
    background-color: var(--weiss);
  }

  .home-photo {
    display: block;
    width: 100%;
    height: auto;
  }

  .home-main {
    min-height: 0;
    padding: 0;
  }

  .home-col {
    width: auto;
    margin: 0;
    padding: 28px 20px 40px;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
    border-radius: 0;
  }
}
