/* Änderungsschneiderei Bozena Wengel — Revision 1 "Klassisch" */

:root {
  --creme: #F8F2E7;
  --papier: #FFFDF8;
  --tinte: #43301F;
  --braun: #6B4A2E;
  --terrakotta: #B5652E;
  --gold: #D9A441;
  --linie: #E4D5BC;
}

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

body {
  background: var(--creme);
  color: var(--tinte);
  font-family: Verdana, Geneva, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

h1, h2, h3 { font-family: Georgia, 'Times New Roman', serif; font-weight: normal; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Kopfbereich */
.kopf {
  background: var(--papier);
  border-bottom: 2px dashed var(--linie);
}
.kopf-innen {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  flex-wrap: wrap;
}
.kopf-innen img { width: 130px; height: auto; }
.kopf-titel h1 { font-size: 30px; color: var(--braun); line-height: 1.25; }
.kopf-titel p { color: var(--terrakotta); font-size: 14px; letter-spacing: 1px; margin-top: 4px; }

/* Navigation */
nav {
  background: var(--braun);
}
nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
nav a {
  display: block;
  color: #F6EBDC;
  text-decoration: none;
  padding: 12px 18px;
  font-size: 14px;
}
nav a:hover, nav a:focus { background: var(--terrakotta); color: #fff; }

/* Hauptbereich mit Seitenleiste */
.haupt {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 36px;
  padding: 40px 0 20px;
}

.intro p.gross {
  font-family: Georgia, serif;
  font-size: 21px;
  color: var(--braun);
  margin-bottom: 20px;
}
.intro img.hero {
  width: 100%;
  height: auto;
  border: 6px solid var(--papier);
  box-shadow: 0 2px 10px rgba(67, 48, 31, 0.15);
}

/* Leistungen */
.leistungen { margin-top: 36px; }
.leistungen ul {
  list-style: none;
  margin-top: 14px;
}
.leistungen li {
  padding: 9px 0 9px 30px;
  border-bottom: 1px dashed var(--linie);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Ccircle cx='9' cy='9' r='7' fill='none' stroke='%23B5652E' stroke-width='2'/%3E%3Ccircle cx='9' cy='9' r='2.5' fill='%23B5652E'/%3E%3C/svg%3E") no-repeat left center;
}

h2 {
  font-size: 24px;
  color: var(--terrakotta);
  padding-bottom: 8px;
  border-bottom: 2px dashed var(--linie);
  margin-bottom: 6px;
}

/* Seitenleiste */
.seitenleiste .karte {
  background: var(--papier);
  border: 1px solid var(--linie);
  padding: 22px;
  margin-bottom: 24px;
}
.seitenleiste h3 { font-size: 19px; color: var(--terrakotta); margin-bottom: 10px; }
.seitenleiste table { width: 100%; border-collapse: collapse; font-size: 14px; }
.seitenleiste td { padding: 5px 0; vertical-align: top; }
.seitenleiste td:first-child { color: var(--braun); width: 52%; }
.seitenleiste .karte img { width: 100%; height: auto; margin-top: 6px; }
.adresse { font-style: normal; font-size: 14px; line-height: 1.8; }

/* Kontakt-Knöpfe */
.kontakt-knopf {
  display: block;
  text-align: center;
  text-decoration: none;
  padding: 13px 16px;
  margin-top: 12px;
  font-size: 15px;
  border-radius: 3px;
}
.kontakt-knopf.anruf { background: var(--terrakotta); color: #fff; }
.kontakt-knopf.anruf:hover { background: #9C5322; }

/* Galerien */
.galerie-abschnitt { padding: 26px 0; }
.galerie-abschnitt p.beschreibung { margin: 10px 0 18px; max-width: 720px; }
.galerie {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 14px;
}
.galerie a {
  display: block;
  border: 5px solid var(--papier);
  box-shadow: 0 1px 6px rgba(67, 48, 31, 0.18);
  line-height: 0;
}
.galerie a:hover { border-color: var(--gold); }
.galerie img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

/* Fußbereich */
footer {
  background: var(--braun);
  color: #EFE2CE;
  margin-top: 40px;
  padding: 30px 0;
  font-size: 14px;
}
footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
footer a { color: var(--gold); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(40, 28, 18, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  cursor: zoom-out;
}
.lightbox.offen { display: flex; }
.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  border: 8px solid var(--papier);
}

/* Mobil */
@media (max-width: 820px) {
  .haupt { grid-template-columns: 1fr; }
  .kopf-titel h1 { font-size: 24px; }
  footer .container { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
