/* BAUER´s Schuhhandwerk – Stylesheet */

:root {
  --bordeaux: #800000;
  --petrol: #008080;
  --ocker: #ce811d;
  --text: #1a1a1a;
  --bg: #ffffff;
  --bg-soft: #faf7f2;
  --link: #5d5d9e;
  --font: Arial, Helvetica, sans-serif;
  --font-script: 'Segoe Print', 'Bradley Hand', Chilanka, casual, cursive;
  --maxw: 960px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--link); }
a:hover { color: var(--petrol); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #fff;
  padding: .5rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Header & Navigation ---------- */

.site-header {
  background: var(--bordeaux);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
}

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-script);
  font-size: clamp(1.3rem, 4vw, 1.9rem);
  font-style: italic;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}
.logo:hover { color: #fff; opacity: .9; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #fff;
  color: var(--petrol);
  border: 1px solid var(--bordeaux);
  border-radius: 15px;
  padding: .45rem 1rem;
  font: bold 1rem var(--font);
  cursor: pointer;
}
.nav-toggle:hover,
.nav-toggle[aria-expanded="true"] { background: var(--petrol); color: #fff; }
.nav-toggle .arrow { font-size: .75rem; transition: transform .2s; }
.nav-toggle[aria-expanded="true"] .arrow { transform: rotate(180deg); }

.main-nav {
  position: absolute;
  right: 1.25rem;
  top: calc(100% - .25rem);
  min-width: 250px;
  background: #fff;
  border: 1px solid var(--bordeaux);
  border-radius: 15px;
  box-shadow: 2px 2px 6px rgba(8, 8, 8, .6);
  padding: .5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.main-nav.open { opacity: 1; visibility: visible; transform: none; }

.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav li + li { border-top: 1px solid rgba(128, 0, 0, .25); }
.main-nav a {
  display: block;
  padding: .6rem 1.25rem;
  color: var(--petrol);
  text-decoration: none;
}
.main-nav a:hover,
.main-nav a:focus-visible { background: var(--petrol); color: #fff; }
.main-nav a[aria-current="page"] { color: var(--bordeaux); font-weight: bold; }
.main-nav a[aria-current="page"]:hover { color: #fff; }

/* Ohne JavaScript: Menü immer sichtbar als Liste */
.no-js .nav-toggle { display: none; }
.no-js .main-nav {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  box-shadow: none;
}

/* ---------- Inhalt ---------- */

main {
  flex: 1;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.page-title {
  font-family: var(--font-script);
  color: var(--ocker);
  font-size: clamp(1.5rem, 4.5vw, 2.1rem);
  text-align: center;
  margin: 0 0 1.75rem;
  line-height: 1.3;
}

h2 {
  font-family: var(--font-script);
  color: var(--ocker);
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
}

h3 {
  color: var(--petrol);
  font-size: 1.1rem;
  margin: 1.75rem 0 .5rem;
}

.lead { color: var(--petrol); font-style: italic; font-weight: bold; }
.intro { color: var(--petrol); }
.justify { text-align: justify; hyphens: auto; }
.center { text-align: center; }

.signature {
  color: var(--ocker);
  font-style: italic;
  font-weight: bold;
  margin-top: 2rem;
}

.figure { margin: 2rem auto; }
.figure img { margin: 0 auto; border-radius: 4px; }
.w-50 { max-width: 50%; }
.w-60 { max-width: 60%; }
@media (max-width: 600px) {
  .w-50, .w-60 { max-width: 100%; }
}

.price-tag {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--ocker);
  margin: 1.5rem 0 .25rem;
}
.small { font-size: .9rem; color: #555; }

.address {
  font-style: normal;
  font-weight: bold;
  color: var(--ocker);
  font-size: 1.2rem;
  margin: 1.5rem 0;
}

.hours {
  text-align: center;
  color: var(--petrol);
  font-size: 1.2rem;
  font-weight: bold;
}
.hours .time { color: var(--ocker); font-size: 1.4rem; margin: 1.5rem 0; }
.hours .note { font-style: italic; }

/* ---------- Preistabelle ---------- */

.price-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--bordeaux);
  margin-top: 1rem;
}
.price-table th,
.price-table td {
  border: 1px solid var(--bordeaux);
  padding: .45rem .75rem;
}
.price-table thead th,
.price-table .group th {
  background: var(--petrol);
  color: #fff;
  font-size: 1.2rem;
  text-align: center;
}
.price-table tbody th { text-align: left; font-weight: bold; }
.price-table td { text-align: right; color: var(--petrol); font-weight: bold; white-space: nowrap; }
.price-table tfoot td {
  background: var(--bordeaux);
  color: #fff;
  font-style: italic;
  font-weight: normal;
  text-align: center;
  white-space: normal;
}

/* ---------- Slideshow ---------- */

.slideshow {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  aspect-ratio: 1.815;
  overflow: hidden;
  background: #fff;
}
.slideshow .slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity .4s ease;
}
.slideshow .slide.active { opacity: 1; }
.slideshow .slide img { width: 100%; height: 100%; object-fit: contain; }

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(128, 0, 0, .55);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 2;
}
.slide-btn:hover,
.slide-btn:focus-visible { background: rgba(0, 128, 128, .75); }
.slide-btn.prev { left: 10px; }
.slide-btn.next { right: 10px; }

.slide-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(58, 58, 58, .4);
  border-radius: 30px;
  z-index: 2;
}
.slide-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #4d4d4d;
  cursor: pointer;
}
.slide-dots button[aria-current="true"] { background: #fff; }

.slide-caption { text-align: center; color: var(--petrol); font-weight: bold; margin-top: .75rem; }

/* Ohne JavaScript: Bilder untereinander */
.no-js .slideshow { aspect-ratio: auto; }
.no-js .slideshow .slide { position: static; opacity: 1; margin-bottom: 1rem; }
.no-js .slide-btn,
.no-js .slide-dots { display: none; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--bordeaux);
  color: #fff;
  font-size: .95rem;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem 2rem;
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: #f3d2a4; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.25rem; }

/* ---------- Rechtstexte ---------- */

.legal { max-width: 760px; margin: 0 auto; }
.legal p, .legal li { hyphens: auto; }
.legal .placeholder {
  background: #fff3cd;
  border: 1px dashed #c69500;
  padding: 0 .3rem;
}

@media print {
  .site-header, .site-footer { position: static; box-shadow: none; }
  .nav-toggle, .main-nav { display: none; }
}
