:root {
  --color-bg: #FBF6F2;
  --color-bg-alt: #F4E9E1;
  --color-surface: #FFFFFF;
  --color-text: #3B2E2A;
  --color-text-muted: #7A6A63;
  --color-accent: #C79A83;
  --color-accent-dark: #A87A64;
  --color-gold: #C6A55C;
  --color-border: #E7DAD1;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius: 14px;
  --shadow: 0 12px 32px rgba(59, 46, 42, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  font-weight: 300;
}

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

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  font-weight: 500;
  margin-bottom: 12px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.2;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin-bottom: 24px; }
h3 { font-size: 1.2rem; margin-bottom: 16px; }

.lead {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--color-accent-dark);
  margin-bottom: 16px;
}

.section { padding: 88px 0; position: relative; overflow: hidden; }
.section:nth-of-type(even) { background: var(--color-bg-alt); }

.decor-icon {
  position: absolute;
  z-index: 0;
  color: var(--color-accent-dark);
  opacity: 0.13;
  pointer-events: auto;
  animation: decorDrift 8s ease-in-out infinite;
  transition: scale 0.3s ease, opacity 0.3s ease;
}
.decor-icon:nth-of-type(even) { animation-duration: 10s; animation-delay: -2s; }
.decor-icon:hover { scale: 1.4; opacity: 0.28; }
.decor-icon svg { width: 100%; height: 100%; display: block; }

@keyframes decorDrift {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  50% { translate: 0 -14px; rotate: 10deg; }
}

@media (prefers-reduced-motion: reduce) {
  .decor-icon { animation: none; }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--color-accent-dark);
  color: #fff;
  box-shadow: 0 8px 20px rgba(168, 122, 100, 0.35);
}
.btn-primary:hover { background: var(--color-text); transform: translateY(-2px); }

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn-secondary:hover { border-color: var(--color-accent-dark); color: var(--color-accent-dark); }

.btn-large { padding: 18px 44px; font-size: 1rem; }
.btn-nav { padding: 10px 22px; font-size: 0.85rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 246, 242, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 10px;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 24px;
}

.header-social { display: flex; gap: 10px; }
.social-icon.icon-sm { width: 32px; height: 32px; }
.social-icon.icon-sm svg { width: 15px; height: 15px; }

.logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  font-weight: 600;
  white-space: nowrap;
}
.logo span { color: var(--color-accent-dark); }

.main-nav {
  display: flex;
  gap: 32px;
  flex: 1;
  justify-content: center;
}

.main-nav a {
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--color-text-muted);
  transition: color 0.2s ease, font-size 0.2s ease;
}
.main-nav a:hover { color: var(--color-accent-dark); }
.main-nav a.active {
  color: var(--color-accent-dark);
  font-weight: 700;
  font-size: 1.05rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
}

/* Hero */
.hero {
  padding: 90px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 56px;
}

.hero-text {
  font-size: 1.08rem;
  color: var(--color-text-muted);
  margin: 22px 0 28px;
  max-width: 480px;
}

.hero-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.stars { color: var(--color-gold); letter-spacing: 2px; }

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  aspect-ratio: 1 / 1;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-text { margin-left: auto; margin-right: auto; }
  .hero-rating, .hero-actions { justify-content: center; }
  .hero-visual { max-width: 420px; margin: 0 auto; }
}

/* Vorher/Nachher-Slider */
.compare-slider {
  position: relative;
  user-select: none;
  touch-action: pan-y;
}

.compare-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.compare-before { position: relative; }

.compare-after-wrap {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  overflow: hidden;
}

.compare-after-wrap .compare-after {
  position: absolute;
  top: 0;
  left: 0;
  max-width: none;
}

.compare-label {
  position: absolute;
  bottom: 18px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(59, 46, 42, 0.55);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  z-index: 3;
  pointer-events: none;
}

.compare-label-after { left: 18px; }
.compare-label-before { right: 18px; }

.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(-50%);
  z-index: 4;
  pointer-events: none;
}

.compare-handle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--color-accent-dark);
}

.compare-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  z-index: 5;
}
.compare-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 100%;
  height: 100%;
}
.compare-range::-moz-range-thumb {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
}
.compare-range::-moz-range-track {
  background: transparent;
  border: none;
}

/* Über mich */
.ueber-mich { text-align: center; }
.ueber-mich .container { max-width: 680px; }
.ueber-mich p:not(.lead):not(.eyebrow) { color: var(--color-text-muted); }

/* Leistungen */
.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 8px;
}

.leistung-kategorie {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.preisliste li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  list-style: none;
  font-size: 0.95rem;
}
.preisliste li:last-child { border-bottom: none; }

.preisliste li span:first-child { flex: 1; color: var(--color-text); }

.dauer {
  color: var(--color-text-muted);
  font-size: 0.82rem;
  white-space: nowrap;
}

.preis {
  font-weight: 600;
  color: var(--color-accent-dark);
  white-space: nowrap;
}

.leistungen-cta { text-align: center; margin-top: 48px; }

/* Galerie */
.galerie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 8px;
}

.galerie-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
}

.galerie-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.galerie-item:hover img { transform: scale(1.05); }

.galerie-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 18px;
  background: linear-gradient(to top, rgba(59,46,42,0.65), transparent);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.technik-lead {
  color: var(--color-text-muted);
  margin-top: -8px;
  margin-bottom: 8px;
  max-width: 560px;
}

/* Technik-Auswahl (Startseite) */
.technik-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.technik-card {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-surface);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}
.technik-card:hover { transform: translateY(-4px); }

.technik-card-img {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.technik-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.technik-card:hover .technik-card-img img { transform: scale(1.05); }

.technik-card-label {
  padding: 18px 20px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.technik-card-label h3 { margin: 0; font-size: 1.1rem; }
.technik-card-label span { font-size: 0.82rem; color: var(--color-text-muted); white-space: nowrap; }

/* Technik-Galerie-Unterseiten */
.back-link {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}
.back-link:hover { color: var(--color-accent-dark); }

.technik-galerie h1 { margin-bottom: 12px; }

.technik-intro {
  color: var(--color-text-muted);
  max-width: 620px;
  margin-bottom: 40px;
}

.technik-cta { text-align: center; margin-top: 48px; }

/* Öffnungszeiten */
.oeffnungszeiten { text-align: center; }

.zeiten-tabelle {
  max-width: 460px;
  margin: 0 auto;
  border-collapse: collapse;
  width: 100%;
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.zeiten-tabelle tr { border-bottom: 1px solid var(--color-border); }
.zeiten-tabelle tr:last-child { border-bottom: none; }

.zeiten-tabelle th, .zeiten-tabelle td {
  padding: 16px 28px;
  text-align: left;
  font-weight: 400;
  font-size: 0.95rem;
}

.zeiten-tabelle th { color: var(--color-text); font-weight: 500; }
.zeiten-tabelle td { text-align: right; color: var(--color-text-muted); }
.zeiten-tabelle td.closed { font-style: italic; opacity: 0.7; }

/* Bewertungen */
.bewertungen { text-align: center; }

.bewertung-gesamt {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
}

.bewertung-zahl {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
}

.bewertung-anzahl { color: var(--color-text-muted); }

.bewertung-details {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.bewertung-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Kontakt */
.kontakt-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}

.kontakt-cta { margin-top: 32px; }

.adresse { margin: 8px 0 14px; color: var(--color-text-muted); }

.insta-link {
  color: var(--color-accent-dark);
  font-weight: 500;
}
.insta-link:hover { text-decoration: underline; }

.kontakt-social { display: flex; gap: 14px; margin: 4px 0 16px; }
.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-accent-dark);
  border: 2px solid #fff;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}
.social-icon:hover { transform: translateY(-2px); }
.social-icon svg { width: 20px; height: 20px; }

.zahlung-hinweis {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.map-wrap {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 3;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
  justify-self: end;
}

@media (max-width: 860px) {
  .kontakt-inner { grid-template-columns: 1fr; text-align: center; }
  .kontakt-cta { display: flex; justify-content: center; }
  .map-wrap { justify-self: center; max-width: 420px; }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer-nav { display: flex; gap: 20px; }
.footer-nav a:hover { color: var(--color-accent-dark); }

/* Responsive */
@media (max-width: 1200px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }

  .site-header.nav-open .main-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
    padding: 20px 24px 28px;
    gap: 18px;
    border-bottom: 1px solid var(--color-border);
  }
}

@media (max-width: 860px) {
  .kontakt-inner { justify-content: center; text-align: center; }
  .kontakt-social { justify-content: center; }
  .section { padding: 64px 0; }
}

/* Rechtsseiten (Impressum, Datenschutz) */
.legal-page h1 { margin-bottom: 32px; }
.legal-page h3 { margin-top: 40px; }
.legal-page h3:first-of-type { margin-top: 0; }
.legal-page p { margin-bottom: 8px; line-height: 1.7; }

/* Schulungskarte */
.schulung-hinweis {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.schulung-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-accent-dark);
}
.schulung-link:hover { text-decoration: underline; }

/* Schulung-Detailseite */
.schulung-page .container { max-width: 760px; }

.schulung-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin: 24px 0 32px;
  padding: 20px 24px;
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.schulung-meta div { display: flex; flex-direction: column; gap: 4px; }
.schulung-meta span:first-child { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-text-muted); }
.schulung-meta span:last-child { font-family: var(--font-display); font-size: 1.3rem; color: var(--color-text); }

.schulung-content p { color: var(--color-text-muted); margin-bottom: 16px; line-height: 1.75; }

.schulung-content h2 {
  margin-top: 48px;
  font-size: 1.4rem;
}

.schulung-content ul {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.schulung-content ul li {
  position: relative;
  padding-left: 26px;
  color: var(--color-text);
  line-height: 1.5;
}

.schulung-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
}

.schulung-cta {
  margin-top: 48px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}
