/* Leder Lena – Vintage Fahrzeugsattlerei One-Pager */

:root {
  --green-dark: #1a3328;
  --green-mid: #243d32;
  --leather: #7a5a3c;
  --leather-dark: #5c4228;
  --leather-light: #9a7352;
  --leather-texture: url("../assets/leder-textur.png");
  --linen-texture: url("../assets/leinen-textur.png");
  --linen-texture-fallback: url("../assets/leinen-textur.svg");
  --stitch: rgba(245, 240, 232, 0.72);
  --parchment: #ece4d4;
  --parchment-dark: #ddd2be;
  --linen-thread: rgba(42, 31, 20, 0.07);
  --cream: #f5f0e8;
  --ink: #2a1f14;
  --gold: #c9a227;
  --wa: #25d366;
  --font-display: "Cinzel", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --text: 1.125rem;
  --text-lg: 1.3rem;
  --space: 1rem;
  --space-lg: 1.5rem;
  --radius: 16px;
  --touch: 48px;
  --max: 1000px;
  --bp-desktop: 768px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text);
  line-height: 1.65;
  color: var(--cream);
  padding-bottom: calc(17rem + env(safe-area-inset-bottom, 0px));
  background: var(--green-dark);
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(90, 60, 30, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(0, 0, 0, 0.2) 0%, transparent 45%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  overflow-x: hidden;
}

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

a { color: var(--gold); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute; left: -9999px; z-index: 9999;
  padding: 0.75rem 1rem; background: var(--gold); color: #000; font-weight: 700;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ─── Werkzeug in jeder Sektion (Ecke der Kachel) ─── */
.panel-has-tool {
  position: relative;
  overflow: visible;
}

.panel-tool {
  position: absolute;
  top: 0.15rem;
  z-index: 30;
  pointer-events: none;
  filter: drop-shadow(5px 8px 12px rgba(0, 0, 0, 0.45));
  opacity: 0.92;
}

.panel-tool img {
  display: block;
  width: auto;
  height: clamp(52px, 11vw, 96px);
  max-width: none;
  mix-blend-mode: screen;
}

#start.panel-has-tool > .panel-inner {
  padding-top: 1.15rem;
}

#start {
  overflow: visible;
  /* Platz für Ahle oben/links – Inhalt per negativem Margin unverändert */
  padding-top: 4.25rem;
  padding-left: 12.75rem;
}

#start > .panel-inner {
  margin-top: -4.25rem;
  margin-left: -12.75rem;
}

#bewertungen.panel-has-tool {
  padding-top: 8rem;
  overflow: visible;
}

#bewertungen.panel-has-tool > .panel-inner {
  margin-top: -8rem;
  padding-top: 1.65rem;
}

#start,
#ueber-uns,
#leistungen,
#bewertungen,
#kontakt {
  position: relative;
}

/* Leder-Kacheln: Naht im Uhrzeigersinn (Start, Leistungen, Kontakt) */
@property --leather-stitch-sweep {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

#start.leather-stitched,
#leistungen.leather-stitched,
#kontakt.leather-stitched {
  outline: none;
}

#start.leather-stitched::after,
#leistungen.leather-stitched::after,
#kontakt.leather-stitched::after {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 2;
  box-sizing: border-box;
  pointer-events: none;
  border: 3px dashed var(--stitch);
  border-radius: 10px;
  --leather-stitch-sweep: 0deg;
  -webkit-mask-image: conic-gradient(
    from -90deg at 50% 50%,
    #000 0deg,
    #000 var(--leather-stitch-sweep),
    transparent var(--leather-stitch-sweep)
  );
  mask-image: conic-gradient(
    from -90deg at 50% 50%,
    #000 0deg,
    #000 var(--leather-stitch-sweep),
    transparent var(--leather-stitch-sweep)
  );
  animation: none;
}

#start.leather-stitched::after {
  animation: leather-stitch-reveal 8s linear 0.4s forwards;
}

#leistungen.leather-stitched.is-visible::after {
  animation: leather-stitch-reveal 5s linear 0.15s forwards;
}

#kontakt.leather-stitched.is-visible::after {
  animation: leather-stitch-reveal 12s linear 0.15s forwards;
}

@keyframes leather-stitch-reveal {
  from {
    --leather-stitch-sweep: 0deg;
  }

  to {
    --leather-stitch-sweep: 360deg;
  }
}

/* Logo als Wasserzeichen – mittig auf der Leder-Fläche */
#start .hero-watermark {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 0;
  margin: 0;
  pointer-events: none;
}

#start .hero-watermark picture {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
}

@keyframes hero-watermark-reveal {
  0% {
    opacity: 0;
    filter: brightness(2.1) contrast(0.75);
    transform: translate(0, 2%) scale(0.9);
  }
  55% {
    opacity: 0.22;
    filter: brightness(1.65) contrast(0.95);
  }
  100% {
    opacity: 0.42;
    filter: brightness(1.35) contrast(1.1);
    transform: translate(0, 2%) scale(1);
  }
}

#start .hero-watermark-img {
  display: block;
  width: min(78%, 640px);
  height: auto;
  max-height: 72%;
  margin: 0 auto;
  object-fit: contain;
  object-position: center center;
  opacity: 0;
  mix-blend-mode: screen;
  filter: brightness(2.1) contrast(0.75);
  transform: translate(0, 2%) scale(0.9);
  animation: hero-watermark-reveal 4s cubic-bezier(0.22, 1, 0.36, 1) 0.45s forwards;
}

#start .hero-copy strong {
  font-weight: 700;
  color: #f8f2e6;
}

#start .termin-hinweis strong {
  color: var(--gold);
}

#start .hero-copy h1,
#start .hero-copy p {
  text-shadow:
    0 1px 2px rgba(20, 38, 30, 0.85),
    0 2px 18px rgba(20, 38, 30, 0.55),
    0 0 32px rgba(20, 38, 30, 0.35);
}

#start .panel-inner {
  position: relative;
  z-index: 2;
}

#start .hero-copy {
  position: relative;
  z-index: 2;
  padding-left: 0;
  padding-top: 0.2rem;
  max-width: 36em;
}

.leistungen-inner {
  display: block;
}

.leistungen-copy {
  min-width: 0;
  max-width: 36em;
}

#leistungen.leather-panel {
  overflow: visible;
}

.panel-tool-host {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.panel-tool--in-field {
  position: absolute;
  inset: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  top: auto;
  left: auto;
  right: auto;
  transform: none;
  opacity: 0.92;
}

.panel-tool--in-field img {
  height: clamp(88px, 20vw, 168px);
  max-width: 92%;
  mix-blend-mode: multiply;
  filter: drop-shadow(2px 4px 8px rgba(42, 31, 20, 0.2));
}

#ueber-uns.parchment-panel {
  overflow: visible;
}

#ueber-uns .ueber-visual {
  position: relative;
  margin: 0;
  min-height: clamp(260px, 42vw, 400px);
  display: flex;
  align-items: center;
  justify-content: center;
}

#ueber-uns:has(.ueber-visual:not(.no-img)) .ueber-machine-deco {
  display: none;
}

#ueber-uns .ueber-visual.no-img .photo-placeholder {
  position: absolute;
  bottom: 0.65rem;
  left: 0;
  right: 0;
  top: auto;
  height: auto;
  z-index: 3;
  opacity: 0.45;
  font-size: 0.85rem;
}

#ueber-uns .ueber-visual:not(.no-img).parchment-photo {
  overflow: hidden;
  min-height: clamp(240px, 40vw, 380px);
}

#ueber-uns .ueber-photo {
  position: relative;
  z-index: 3;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
}

.parchment-panel .panel-tool img {
  mix-blend-mode: multiply;
  opacity: 0.88;
  filter: drop-shadow(2px 4px 6px rgba(42, 31, 20, 0.25));
}

.page-top.panel-has-tool .panel-tool img {
  height: clamp(44px, 9vw, 72px);
}

.page-top.panel-has-tool > .panel-inner,
.panel-has-tool > .panel-inner {
  position: relative;
  z-index: 2;
}

.panel-has-tool.leather-panel > .panel-inner,
.panel-has-tool.parchment-panel > .panel-inner {
  padding-top: 2.35rem;
}

.page-top.panel-has-tool {
  padding-top: 2.5rem;
}

@media (prefers-reduced-motion: no-preference) {
  .panel-tool {
    animation: tool-float 7s ease-in-out infinite;
  }
  .panel-tool--tr { animation-delay: 0.8s; }
}

@keyframes tool-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -4px; }
}

/* ═══════════════════════════════════════
   MOBILE (bis 767px)
   ═══════════════════════════════════════ */
@media (max-width: 767px) {
  :root {
    --text: 1.0625rem;
    --text-lg: 1.1875rem;
    --space: 0.9rem;
  }

  html {
    scroll-padding-top: 3.85rem;
  }

  [id] {
    scroll-margin-top: 3.85rem;
  }

  body {
    padding-bottom: calc(6.5rem + env(safe-area-inset-bottom, 0px));
  }

  body.cookie-banner-visible {
    padding-bottom: calc(12.5rem + env(safe-area-inset-bottom, 0px));
  }

  main {
    padding: 0.65rem var(--space) 2.75rem;
  }

  .leather-panel,
  .parchment-panel {
    margin-bottom: 1.75rem;
    overflow: hidden;
  }

  .panel-inner {
    padding: 1.15rem 1rem;
  }

  /* Sticky Menü */
  .mobile-nav {
    position: sticky;
    top: 0;
    z-index: 120;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
    padding: 0.45rem var(--space);
    max-width: var(--max);
    background: rgba(26, 51, 40, 0.94);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(245, 240, 232, 0.12);
  }

  .mobile-nav-brand {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    min-height: var(--touch);
    padding: 0.15rem 0;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-nav-logo {
    display: block;
    width: auto;
    height: 2.35rem;
    max-width: min(7.5rem, 42vw);
    object-fit: contain;
    object-position: left center;
    filter: brightness(1.08);
  }

  .mobile-nav-toggle {
    flex: 0 0 auto;
    margin-left: auto;
    min-height: var(--touch);
    padding: 0.55rem 1rem;
    border: 2px dashed var(--stitch);
    border-radius: 999px;
    background: var(--leather);
    color: var(--cream);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
  }

  .mobile-nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
    flex: 1 1 100%;
    flex-direction: column;
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(245, 240, 232, 0.2);
  }

  .mobile-nav.is-open .mobile-nav-links {
    display: flex;
  }

  .mobile-nav-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: var(--touch);
    padding: 0.75rem 1rem;
    color: var(--cream);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(0, 0, 0, 0.22);
  }

  .mobile-nav-links li:last-child a {
    border-bottom: none;
  }

  .mobile-nav-links a:hover,
  .mobile-nav-links a:focus-visible {
    color: var(--gold);
    background: rgba(0, 0, 0, 0.15);
  }

  .mobile-nav-links .mobile-nav-cta {
    color: var(--gold);
    background: rgba(0, 0, 0, 0.2);
  }

  #start .hero-copy h1 {
    font-size: clamp(1.28rem, 5.2vw, 1.65rem);
    line-height: 1.28;
    margin-bottom: 0.85rem;
  }

  .hero-copy p,
  .parchment-text p,
  .linen-text p,
  .linen-text address {
    font-size: var(--text);
    line-height: 1.62;
  }

  .ueber-lead {
    font-size: 1.05rem;
    line-height: 1.55;
    padding-bottom: 0.85rem;
    margin-bottom: 1rem;
    border-bottom: 1px dashed rgba(42, 31, 20, 0.28);
  }

  #ueber-uns .parchment-split {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
  }

  #ueber-uns .ueber-visual {
    order: -1;
    min-height: 0;
    width: 100%;
    max-width: min(19.5rem, 92vw);
    margin-inline: auto;
  }

  #ueber-uns .ueber-visual:not(.no-img).parchment-photo {
    min-height: 0;
  }

  #ueber-uns .ueber-photo {
    aspect-ratio: 1;
    border-radius: 14px;
  }

  #ueber-uns .parchment-text {
    order: 1;
  }

  #ueber-uns .parchment-text h2 {
    text-align: center;
    margin-bottom: 0.35rem;
  }

  #ueber-uns .parchment-text p:not(.ueber-lead) {
    font-size: 1rem;
    line-height: 1.62;
    margin-bottom: 0.7rem;
  }

  #ueber-uns .parchment-text p strong {
    color: var(--leather-dark);
  }

  #insta-slide-figure-b {
    display: none !important;
  }

  .insta-rotator,
  .insta-slides-row,
  .insta-slides-row--solo {
    max-width: min(18rem, 92vw) !important;
    margin-inline: auto;
  }

  .insta-slides-row {
    grid-template-columns: 1fr !important;
    gap: 0;
  }

  .map-actions .map-route-mobile-only {
    display: flex;
  }

  .panel-inner h2 {
    font-size: clamp(1.28rem, 4.5vw, 1.5rem);
  }

  .review-solo {
    padding: 1rem;
  }

  #review-quote {
    font-size: 1rem;
    line-height: 1.55;
  }

  .termin-hinweis {
    font-size: 1rem;
  }

  .btn,
  .kontakt-big,
  .map-actions .btn {
    min-height: var(--touch);
    touch-action: manipulation;
  }

  /* Hero: kein Desktop-Einzug für Ahle */
  #start {
    padding-top: 1.15rem;
    padding-left: 0;
  }

  #start > .panel-inner {
    margin-top: 0;
    margin-left: 0;
  }

  #start .hero-watermark-img {
    width: min(88%, 320px);
    max-height: 42%;
  }

  #bewertungen.panel-has-tool {
    padding-top: 0;
  }

  #bewertungen.panel-has-tool > .panel-inner {
    margin-top: 0;
    padding-top: 1.15rem;
  }

  #kontakt.panel-has-tool {
    padding-top: 0;
  }

  #kontakt.panel-has-tool > .panel-inner {
    margin-top: 0;
    padding-top: 1.15rem;
  }

  #kontakt .linen-text h2 {
    padding-left: 0;
  }

  #bewertungen .panel-inner {
    padding-right: 1rem;
  }

  /* Werkzeug-Deko nur Desktop – auf dem Handy stört sie Layout & Touch */
  [data-tool-id] {
    display: none !important;
  }

  /* Referenzen: größere Touch-Fläche */
  .insta-slide-link {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .insta-slides-row {
    gap: 0.5rem;
  }

  .insta-slide-hint {
    font-size: 0.8rem;
    margin-top: 0.4rem;
  }

  /* Lightbox Vollbild-tauglich */
  .insta-lightbox {
    padding: 0;
    align-items: stretch;
  }

  .insta-lightbox-panel {
    width: 100%;
    max-width: none;
    max-height: none;
    height: 100%;
    border-radius: 0;
    padding: max(0.65rem, env(safe-area-inset-top, 0px)) 0.5rem
      max(0.75rem, env(safe-area-inset-bottom, 0px));
  }

  .insta-lightbox-title {
    font-size: 1rem;
    margin-right: 2.25rem;
  }

  .insta-lightbox-main {
    grid-template-columns: 2.5rem minmax(0, 1fr) 2.5rem;
    gap: 0.35rem;
  }

  .insta-lightbox-figure {
    width: 100%;
    max-height: min(48dvh, 360px);
  }

  .insta-lightbox-nav {
    min-width: var(--touch);
    min-height: var(--touch);
    font-size: 1.5rem;
  }

  .insta-lightbox-close {
    width: var(--touch);
    height: var(--touch);
    top: max(0.35rem, env(safe-area-inset-top, 0px));
    right: 0.35rem;
  }

  .insta-lightbox-thumbs {
    max-height: 24dvh;
    gap: 0.35rem;
    -webkit-overflow-scrolling: touch;
  }

  .insta-lightbox-thumb {
    width: 3.5rem;
    height: 3.5rem;
  }

  /* Schnellkontakt: kompakt – Klicks nur auf Icons, nicht über Footer-Links */
  .contact-float {
    left: max(0.65rem, env(safe-area-inset-left, 0px));
    right: max(0.65rem, env(safe-area-inset-right, 0px));
    bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px));
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.4rem;
    pointer-events: none;
  }

  .contact-float .float-btn {
    pointer-events: auto;
  }

  .float-btn {
    min-width: var(--touch);
    min-height: var(--touch);
    padding: 0.65rem;
    flex: 1 1 0;
    max-width: 3.25rem;
    justify-content: center;
  }

  .float-btn-label {
    display: none !important;
  }

  .float-btn:hover,
  .float-btn:focus-visible {
    transform: scale(1.05);
    padding: 0.65rem;
  }

  .cookie-banner {
    bottom: max(0.65rem, env(safe-area-inset-bottom, 0px));
    z-index: 280;
  }

  .cookie-banner-inner {
    padding: 0.85rem 0.95rem;
  }

  .cookie-banner-actions {
    flex-direction: column;
  }

  .cookie-banner-actions .cookie-btn-accept,
  .cookie-banner-actions .cookie-btn-reject {
    width: 100%;
    min-height: var(--touch);
  }

  .map-iframe {
    height: clamp(200px, 40vh, 320px);
  }

  .kontakt-big {
    padding: 1rem;
  }

  .site-footer {
    position: relative;
    z-index: 50;
    padding: 1.25rem var(--space) calc(6.25rem + env(safe-area-inset-bottom, 0px));
    font-size: 0.95rem;
  }

  body.cookie-banner-visible .site-footer {
    padding-bottom: calc(9rem + env(safe-area-inset-bottom, 0px));
  }

  .footer-legal {
    position: relative;
    z-index: 2;
    margin-top: 1.15rem;
    gap: 0.5rem 1rem;
  }

  .footer-legal a {
    position: relative;
    z-index: 3;
    min-height: var(--touch);
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.65rem;
    pointer-events: auto;
  }

  .legal-page {
    padding-bottom: calc(2.5rem + env(safe-area-inset-bottom, 0px));
  }

  body.cookie-banner-visible .legal-page {
    padding-bottom: calc(11rem + env(safe-area-inset-bottom, 0px));
  }

  .legal-nav a {
    min-height: var(--touch);
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.65rem;
  }
}

@media (max-width: 420px) {
  .insta-slides-row {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .insta-rotator {
    max-width: min(17.5rem, 100%);
    margin-inline: auto;
  }

  .insta-slides-row--solo {
    max-width: 100%;
  }

  .contact-float {
    gap: 0.35rem;
  }

  .float-btn {
    max-width: 3rem;
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: 0.55rem;
  }
}

@media (max-width: 520px) {
  .panel-tool--in-field img {
    height: 78px;
  }

  .page-top.panel-has-tool .panel-tool {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .panel-tool { animation: none !important; }
  [data-tool-id] {
    --tool-scale: 1 !important;
    transform: scale(1) !important;
    will-change: auto;
  }
  #start .hero-watermark-img {
    animation: none;
    opacity: 0.42;
    filter: brightness(1.35) contrast(1.1);
    transform: translate(0, 2%) scale(1);
  }

  #start.leather-stitched::after,
  #leistungen.leather-stitched::after,
  #kontakt.leather-stitched::after {
    display: none;
  }

  #start.leather-stitched,
  #leistungen.leather-stitched,
  #kontakt.leather-stitched {
    outline: 3px dashed var(--stitch);
    outline-offset: -14px;
  }
  .reveal,
  .reveal-img { opacity: 1; transform: none; transition: none; }
  .insta-slide .insta-slide-img,
  .insta-slide::before,
  .insta-slides-row.is-fading .insta-slide:nth-child(2) .insta-slide-img {
    transition: none !important;
  }
  .insta-slide .insta-slide-img.is-fading {
    opacity: 1;
    transform: none;
  }
  .kontakt-btn-icon svg {
    animation: none !important;
    transform: scale(1) !important;
  }
}

/* ─── Kopfbereich (Mobile zuerst) ─── */
.page-top {
  position: relative;
  overflow: visible;
  z-index: 10;
  text-align: center;
  padding: 1rem var(--space) 0.75rem;
  max-width: var(--max);
  margin: 0 auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Leder-Oberfläche: Farbe + Leder-Overlay (leder-textur.png) */
.leather-nav,
.leather-panel {
  position: relative;
  isolation: isolate;
  background-color: var(--leather);
  background-image: linear-gradient(
    165deg,
    rgba(255, 248, 238, 0.14) 0%,
    transparent 38%,
    rgba(0, 0, 0, 0.18) 100%
  );
  background-size: 100% 100%;
  background-position: center;
}

.leather-nav::before,
.leather-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: var(--leather-texture);
  background-size: 140% 140%;
  background-position: center;
  background-repeat: no-repeat;
  mix-blend-mode: multiply;
  opacity: 0.26;
  pointer-events: none;
  z-index: 0;
}

.mobile-nav {
  display: none;
}

/* Leder-Navigation */
.leather-nav {
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0.5rem 1rem 0.65rem;
  border-radius: 14px;
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 248, 238, 0.12),
    inset 0 -2px 6px rgba(0, 0, 0, 0.2);
  outline: 2px dashed var(--stitch);
  outline-offset: -7px;
}

.leather-nav .nav-links,
.leather-nav .nav-toggle {
  position: relative;
  z-index: 1;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  flex-direction: column;
  gap: 0;
  margin-top: 0.5rem;
}

.leather-nav.is-open .nav-links {
  display: flex;
}

.nav-links a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  min-height: var(--touch);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.9rem 0.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: var(--touch);
  border: none;
  background: transparent;
  color: var(--cream);
  font-family: inherit;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
}

/* ─── Panels ─── */
main {
  position: relative;
  z-index: 20;
  padding: 5.25rem var(--space) 4rem;
  max-width: calc(var(--max) + 4rem);
  margin: 0 auto;
  overflow: visible;
}

.leather-panel,
.parchment-panel {
  margin-bottom: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}

/* Braune Leder-Kacheln */
.leather-panel {
  color: var(--cream);
  position: relative;
  overflow: visible;
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 248, 238, 0.1),
    inset 0 -3px 8px rgba(0, 0, 0, 0.22);
}

/* Leistungen: deutliche Stichnaht innen */
.leather-stitched {
  outline: 3px dashed var(--stitch);
  outline-offset: -14px;
}

/* Hero: gleiches Leder, ohne Stichnaht */
.leather-smooth {
  outline: none;
}

/* Beige Flächen: Leinenstoff (leinen-textur.png, gekachelt) */
.parchment-panel,
.linen-card {
  background-color: var(--parchment);
  background-image:
    linear-gradient(180deg, rgba(255, 252, 245, 0.5) 0%, transparent 35%, rgba(42, 31, 20, 0.04) 100%),
    var(--linen-texture),
    var(--linen-texture-fallback);
  background-size: 100% 100%, 220px 220px, 96px 96px;
  background-repeat: no-repeat, repeat, repeat;
  color: var(--ink);
  border: 2px solid rgba(42, 31, 20, 0.14);
}

.linen-card {
  border-radius: 14px;
  padding: 1.25rem 1.15rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -2px 6px rgba(42, 31, 20, 0.06),
    0 2px 8px rgba(0, 0, 0, 0.12);
}

#kontakt.leather-panel .panel-inner {
  gap: 1.25rem;
}

#kontakt.panel-has-tool {
  overflow: visible;
  padding-top: 3rem;
}

#kontakt.panel-has-tool > .panel-inner {
  margin-top: -3rem;
  padding-top: 1.4rem;
  position: relative;
  z-index: 2;
}

#kontakt .linen-text h2 {
  padding-left: 0;
}

#kontakt .linen-card h2,
#kontakt .linen-card .map-title {
  color: var(--leather-dark);
}

.linen-text p,
.linen-text address {
  margin: 0 0 1rem;
  font-size: var(--text-lg);
}

.panel-inner {
  position: relative;
  z-index: 3;
  padding: 1.35rem 1.15rem;
}

.panel-inner h1,
.panel-inner h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.parchment-panel h1,
.parchment-panel h2 { color: var(--leather-dark); }
.leather-panel h1,
.leather-panel h2 { color: var(--cream); }

#start .hero-copy h1 {
  margin: 0 0 1.1rem;
}

/* Scroll-Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Bilder: langsam beim Scrollen einblenden */
.reveal-img {
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition:
    opacity 1.15s ease,
    transform 1.15s ease;
}

.reveal-img.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.ref-grid .reveal-img:nth-child(2).is-visible {
  transition-delay: 0.12s;
}

.ref-grid .reveal-img:nth-child(3).is-visible {
  transition-delay: 0.24s;
}

/* Layout: Mobile = eine Spalte */
.hero-split,
.parchment-split,
.kontakt-split {
  display: grid;
  gap: 1.35rem;
  align-items: center;
  grid-template-columns: 1fr;
}

.hero-copy p,
.parchment-text p {
  margin: 0 0 1rem;
  font-size: var(--text-lg);
}

.ueber-lead {
  font-size: 1.2rem;
  line-height: 1.6;
}

.werdegang-title {
  margin: 1.5rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--leather-dark);
}

.leistungen-list {
  margin: 0;
  padding-left: 1.5rem;
  font-size: var(--text-lg);
}
.leistungen-list li {
  margin-bottom: 0.65rem;
  padding-left: 0.25rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.leistungen-list li::marker {
  color: var(--gold);
}
.leistungen-note {
  margin: 1.25rem 0 0;
  font-style: italic;
  opacity: 0.9;
}

/* Fotos */
.parchment-photo,
.ref-item {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
  min-height: 180px;
  position: relative;
}

.parchment-photo,
.ref-item { background: rgba(42, 31, 20, 0.08); border: 2px dashed rgba(42, 31, 20, 0.25); }

.parchment-photo .ueber-photo,
.ref-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.photo-placeholder,
.ref-item span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
  font-size: 0.95rem;
  opacity: 0.7;
}
.parchment-photo:not(.no-img) .photo-placeholder,
.ref-item:not(.no-img) span { display: none; }
.parchment-photo.no-img img,
.ref-item.no-img img { display: none; }

/* Buttons */
.termin-hinweis {
  margin: 0 0 1.25rem;
  padding: 1rem 1.15rem;
  font-size: var(--text-lg);
  background: rgba(0, 0, 0, 0.2);
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 0.9rem 1.25rem;
  border-radius: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3); }
.btn-wa { background: var(--wa); color: #fff; border-color: #1a9e4a; }
.btn-call {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}
.parchment-panel .btn-call {
  color: var(--ink);
  border-color: var(--leather);
}

/* Referenzen – Instagram wechselnd */
.section-note { margin: 0 0 1.25rem; font-size: 1rem; }

.insta-rotator {
  --insta-slide-size: calc(440px * 5 / 6);
  max-width: min(calc(var(--insta-slide-size) * 2 + 0.75rem), 100%);
  margin: 0 auto;
}

.insta-slides-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  align-items: stretch;
}

.insta-slides-row--solo {
  grid-template-columns: 1fr;
  max-width: var(--insta-slide-size);
  margin-inline: auto;
}

.insta-slides-row--solo #insta-slide-figure-b {
  display: none;
}

.insta-slide-link {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: inherit;
}

.insta-slide-link:hover .insta-slide {
  box-shadow: 0 10px 28px rgba(42, 31, 20, 0.28);
}

.insta-slide-hint {
  display: block;
  margin-top: 0.5rem;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--leather);
}

.insta-slide {
  position: relative;
  margin: 0;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 2px solid var(--leather);
  box-shadow: 0 8px 22px rgba(42, 31, 20, 0.18);
}

.insta-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    160deg,
    rgba(236, 228, 212, 0.5) 0%,
    transparent 55%,
    rgba(122, 90, 60, 0.12) 100%
  );
  transition: opacity 1.05s ease;
}

.insta-slide.is-fading::before {
  opacity: 0.85;
}

.insta-slide img,
.insta-slide .insta-slide-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transform: scale(1);
  transition:
    opacity 1.05s ease,
    transform 1.15s ease;
}

.insta-slide .insta-slide-img.is-fading {
  opacity: 0;
  transform: scale(1.015);
}

.insta-slides-row.is-fading .insta-slide:nth-child(2) .insta-slide-img {
  transition-delay: 0.12s;
}

.insta-foot {
  margin: 0.85rem 0 0;
  text-align: center;
  font-size: 0.95rem;
}

.insta-counter {
  display: block;
  margin-bottom: 0.35rem;
  color: rgba(42, 31, 20, 0.7);
}

.insta-foot a {
  color: var(--leather);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(122, 90, 60, 0.35);
}

.insta-foot a:hover {
  color: var(--leather-dark);
}

.insta-empty {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.95rem;
  color: rgba(42, 31, 20, 0.75);
}

.insta-empty.is-hidden {
  display: none;
}

.insta-rotator--empty .insta-slide-link {
  display: none;
}

.insta-rotator--empty .insta-foot {
  display: none;
}

/* Referenzen – Lightbox-Galerie */
.insta-lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.insta-lightbox[hidden] {
  display: none;
}

.insta-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 38, 30, 0.82);
}

.insta-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(92vh, 900px);
  overflow: auto;
  padding: 1.15rem 1.15rem 1.25rem;
  margin: 0;
}

.insta-lightbox-close {
  position: absolute;
  top: 0.5rem;
  right: 0.55rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 2px dashed var(--leather);
  border-radius: 999px;
  background: var(--cream);
  color: var(--leather-dark);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
}

.insta-lightbox-title {
  margin: 0 2.5rem 0.85rem 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--leather-dark);
}

.insta-lightbox-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: center;
  justify-items: center;
}

.insta-lightbox-figure {
  margin: 0;
  width: min(100%, min(52vh, 480px));
  aspect-ratio: 1 / 1;
  max-height: min(52vh, 480px);
  justify-self: center;
  overflow: hidden;
  border: 2px solid var(--leather);
  box-shadow: 0 8px 22px rgba(42, 31, 20, 0.2);
}

.insta-lightbox-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background: #1a1a1a;
}

.insta-lightbox-nav {
  min-width: 2.75rem;
  min-height: 2.75rem;
  border: 2px dashed var(--stitch);
  border-radius: 999px;
  background: var(--leather);
  color: var(--cream);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
}

.insta-lightbox-nav:hover {
  background: #6b4423;
}

.insta-lightbox-counter {
  margin: 0.75rem 0 0.65rem;
  text-align: center;
  font-weight: 700;
  color: rgba(42, 31, 20, 0.75);
}

.insta-lightbox-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  max-height: 28vh;
  overflow: auto;
  padding: 0.15rem;
}

.insta-lightbox-thumb {
  flex: 0 0 auto;
  width: 4.25rem;
  height: 4.25rem;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: none;
}

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

.insta-lightbox-thumb.is-active,
.insta-lightbox-thumb:hover {
  border-color: var(--leather);
}

/* Google-Bewertungen (eine, wechselnd) */
#bewertungen.parchment-panel {
  overflow: visible;
}

#bewertungen .panel-inner {
  padding-right: 1.15rem;
}

.google-rating--subtle {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  opacity: 0.85;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.6rem;
}

.google-stars,
.review-stars {
  color: #d4a82a;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
}

.google-rating strong {
  font-size: 1.05rem;
  color: var(--leather-dark);
}

.review-rotator {
  margin: 0;
}

.review-solo {
  margin: 0;
  padding: 1rem 1.1rem;
  opacity: 1;
  transition: opacity 0.65s ease;
}

#bewertungen .review-solo {
  background-color: #faf5ea;
  background-image: linear-gradient(180deg, #fffdf9 0%, #f2e8d6 100%);
  border: 2px solid var(--leather);
  border-radius: 14px;
  box-shadow:
    0 8px 22px rgba(42, 31, 20, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  padding: 1.35rem 1.4rem;
}

.review-solo.is-fading {
  opacity: 0.15;
}

.review-meta {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: rgba(42, 31, 20, 0.75);
}

#bewertungen .review-meta {
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 0.65rem;
}

.review-meta strong {
  color: var(--leather-dark);
  font-weight: 600;
}

.review-solo blockquote {
  margin: 0;
  padding: 0;
  border: none;
}

.review-solo blockquote p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  font-style: italic;
  color: rgba(42, 31, 20, 0.82);
}

#bewertungen .review-solo blockquote p {
  font-size: 1.12rem;
  line-height: 1.65;
  font-style: normal;
  font-weight: 500;
  color: var(--ink);
}

.review-solo blockquote.is-hidden {
  display: none;
}

.review-foot {
  margin: 0.85rem 0 0;
  text-align: center;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}

.review-invite {
  display: block;
  max-width: 18rem;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(42, 31, 20, 0.72);
  font-style: italic;
}

.review-google-link {
  color: var(--leather);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(122, 90, 60, 0.35);
}

.review-google-link:hover {
  color: var(--leather-dark);
  border-bottom-color: var(--leather-dark);
}

/* Kontakt */
.kontakt-split .linen-text address {
  font-style: normal;
  font-size: var(--text-lg);
  line-height: 1.8;
}

.termin-box {
  margin: 1.25rem 0 0;
  padding: 1rem 1.15rem;
  font-size: var(--text-lg);
  background: rgba(122, 90, 60, 0.1);
  border: 2px dashed var(--leather);
  border-radius: 10px;
  color: var(--ink);
}

.kontakt-links.linen-card {
  display: grid;
  gap: 0.85rem;
}

.kontakt-big {
  display: block;
  padding: 1rem 1.25rem;
  background: rgba(255, 252, 245, 0.45);
  border: 2px solid var(--leather);
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  min-height: var(--touch);
  transition: background 0.2s, transform 0.2s;
}

.kontakt-big:hover {
  transform: translateX(4px);
}

.kontakt-big:not(.kontakt-wa):not(.kontakt-leder):not(.kontakt-ig):hover {
  background: rgba(255, 252, 245, 0.75);
}

.kontakt-wa {
  background-color: #1e8f4a;
  background-image: linear-gradient(
    165deg,
    rgba(255, 248, 238, 0.14) 0%,
    transparent 40%,
    rgba(0, 0, 0, 0.2) 100%
  );
  border: 2px dashed var(--stitch);
  box-shadow: inset 0 1px 0 rgba(255, 248, 238, 0.12);
}

.kontakt-wa:hover {
  background-color: #167a3d;
  background-image: linear-gradient(
    165deg,
    rgba(255, 248, 238, 0.18) 0%,
    transparent 40%,
    rgba(0, 0, 0, 0.22) 100%
  );
}

.kontakt-wa .kontakt-btn-text {
  color: var(--cream);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.kontakt-leder {
  background-color: var(--leather);
  background-image: linear-gradient(
    165deg,
    rgba(255, 248, 238, 0.12) 0%,
    transparent 40%,
    rgba(0, 0, 0, 0.18) 100%
  );
  border: 2px dashed var(--stitch);
  color: var(--cream);
  box-shadow: inset 0 1px 0 rgba(255, 248, 238, 0.1);
}

.kontakt-leder:hover {
  background-color: #6b4423;
  background-image: linear-gradient(
    165deg,
    rgba(255, 248, 238, 0.16) 0%,
    transparent 40%,
    rgba(0, 0, 0, 0.2) 100%
  );
}

.kontakt-leder .kontakt-btn-text {
  color: var(--cream);
}

.kontakt-ig {
  background: linear-gradient(
    135deg,
    #f09433 0%,
    #e6683c 22%,
    #dc2743 45%,
    #cc2366 68%,
    #bc1888 100%
  );
  border: 2px dashed var(--stitch);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 238, 0.15),
    0 2px 10px rgba(188, 24, 136, 0.25);
}

.kontakt-ig:hover,
.kontakt-ig:focus-visible {
  background: linear-gradient(
    135deg,
    #f09433 0%,
    #e6683c 22%,
    #dc2743 45%,
    #cc2366 68%,
    #bc1888 100%
  );
  filter: brightness(1.1);
  transform: translateX(4px);
}

.kontakt-ig .kontakt-btn-text {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.k-label {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--leather);
  font-weight: 700;
}

.k-val {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 0.15rem;
}

.kontakt-btn-only {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  column-gap: 1.35rem;
  align-items: center;
  padding: 0.9rem 1.15rem 0.9rem 0.8rem;
  transition: grid-template-columns 0.25s ease;
}

.kontakt-btn-icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  line-height: 0;
  padding-left: 0.1rem;
}

.kontakt-btn-icon svg {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
  transform: scale(1);
  transform-origin: 50% 55%;
  transition: transform 0.22s ease;
  will-change: transform;
}

@keyframes kontakt-phone-ring {
  0%,
  100% {
    transform: scale(1.55) rotate(0deg);
  }
  12% {
    transform: scale(1.55) rotate(-14deg);
  }
  24% {
    transform: scale(1.55) rotate(14deg);
  }
  36% {
    transform: scale(1.55) rotate(-12deg);
  }
  48% {
    transform: scale(1.55) rotate(12deg);
  }
  60% {
    transform: scale(1.55) rotate(-8deg);
  }
  72% {
    transform: scale(1.55) rotate(8deg);
  }
  84% {
    transform: scale(1.55) rotate(-4deg);
  }
}

@keyframes kontakt-icon-wiggle {
  0%,
  100% {
    transform: scale(1.55) rotate(0deg);
  }
  25% {
    transform: scale(1.55) rotate(-7deg);
  }
  50% {
    transform: scale(1.55) rotate(6deg);
  }
  75% {
    transform: scale(1.55) rotate(-5deg);
  }
}

/* Maus / Trackpad: klein → beim Draufhalten größer + Animation */
@media (hover: hover), (pointer: fine) {
  .kontakt-links a.kontakt-btn-only:is(:hover, :focus-visible) {
    grid-template-columns: 3.75rem 1fr;
  }

  .kontakt-links a.kontakt-btn-only:not([href^="tel"]):is(:hover, :focus-visible) .kontakt-btn-icon svg {
    animation: kontakt-icon-wiggle 0.55s ease-in-out infinite;
  }

  .kontakt-links a[href^="tel"].kontakt-btn-only:is(:hover, :focus-visible) .kontakt-btn-icon svg {
    animation: kontakt-phone-ring 0.45s ease-in-out infinite;
  }
}

/* Touch: kurz beim Antippen */
@media (hover: none) and (pointer: coarse) {
  .kontakt-links a.kontakt-btn-only:active {
    grid-template-columns: 3.75rem 1fr;
  }

  .kontakt-links a.kontakt-btn-only:not([href^="tel"]):active .kontakt-btn-icon svg {
    animation: kontakt-icon-wiggle 0.55s ease-in-out infinite;
  }

  .kontakt-links a[href^="tel"].kontakt-btn-only:active .kontakt-btn-icon svg {
    animation: kontakt-phone-ring 0.45s ease-in-out infinite;
  }
}

.kontakt-btn-text {
  text-align: center;
  justify-self: stretch;
}

.kontakt-wa .kontakt-btn-icon {
  color: var(--cream);
}

.kontakt-leder .kontakt-btn-icon {
  color: var(--cream);
}

.kontakt-ig .kontakt-btn-icon {
  color: #fff;
}

.kontakt-btn-only .kontakt-btn-text {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.25;
}

.kontakt-btn-text--sm {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  word-break: break-word;
}
/* Oldschool-Karte */
.map-oldschool.linen-card {
  margin-top: 0;
  grid-column: 1 / -1;
}

.map-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--leather-dark);
  text-align: center;
}

.map-intro {
  margin: 0 0 1.5rem;
  text-align: center;
  font-size: 1.05rem;
  font-style: italic;
  color: rgba(42, 31, 20, 0.75);
}

.map-chart {
  margin: 0;
  position: relative;
  padding: 1.25rem;
  background-color: var(--parchment-dark);
  background-image:
    linear-gradient(135deg, rgba(255, 252, 245, 0.4) 0%, transparent 50%, rgba(42, 31, 20, 0.05) 100%),
    var(--linen-texture),
    var(--linen-texture-fallback);
  background-size: 100% 100%, 200px 200px, 72px 72px;
  background-repeat: no-repeat, repeat, repeat;
  border: 4px solid var(--leather);
  border-radius: 4px;
  box-shadow:
    inset 0 0 60px rgba(107, 68, 35, 0.15),
    8px 10px 24px rgba(0, 0, 0, 0.25);
  outline: 2px dashed rgba(42, 31, 20, 0.35);
  outline-offset: 6px;
}

.map-chart-deco-tl {
  position: absolute;
  top: 0.75rem;
  left: 1rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--leather);
  opacity: 0.6;
  letter-spacing: 0.2em;
}

.map-compass {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  z-index: 4;
  color: var(--leather-dark);
  opacity: 0.85;
  filter: drop-shadow(1px 2px 2px rgba(0, 0, 0, 0.2));
  pointer-events: none;
}

.map-frame-inner {
  position: relative;
  border: 3px solid var(--ink);
  border-radius: 2px;
  overflow: hidden;
  background: #3d3529;
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.4);
}

.map-tap-link {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: transparent;
  text-indent: -9999px;
}

@media (max-width: 767px) {
  .map-iframe {
    pointer-events: none;
  }
}

.map-iframe {
  display: block;
  width: 100%;
  height: clamp(220px, 52vh, 420px);
  border: 0;
  filter: sepia(0.65) saturate(0.75) contrast(1.08) brightness(0.9) hue-rotate(-8deg);
  opacity: 0.95;
}

.map-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 45%, rgba(42, 31, 20, 0.55) 100%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(42, 31, 20, 0.03) 2px,
      rgba(42, 31, 20, 0.03) 4px
    );
  mix-blend-mode: multiply;
}

.map-x-marks {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 3;
}

.map-x {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: #8b2500;
  text-shadow:
    0 0 2px var(--cream),
    2px 2px 0 rgba(0, 0, 0, 0.4);
  animation: map-x-pulse 2.5s ease-in-out infinite;
  line-height: 1;
}

@keyframes map-x-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.85; }
}

.map-caption {
  margin: 1rem 0 0;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
}

.map-caption-line {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.map-caption-addr {
  display: block;
  margin-top: 0.25rem;
  font-size: 1.05rem;
  font-style: italic;
}

.map-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.map-actions .btn {
  width: 100%;
}

/* Standard: auf Desktop ausblenden (nur Handy) */
.map-route-mobile-only {
  display: none;
}

.btn-map-leather {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--leather);
  background-image: linear-gradient(
    165deg,
    rgba(255, 248, 238, 0.12) 0%,
    transparent 50%,
    rgba(0, 0, 0, 0.2) 100%
  );
  color: var(--cream);
  border: 2px dashed var(--stitch);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  min-height: var(--touch);
}

.btn-map-leather::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: var(--leather-texture);
  background-size: 140% 140%;
  background-position: center;
  mix-blend-mode: multiply;
  opacity: 0.26;
  pointer-events: none;
  z-index: 0;
}

.btn-map-outline {
  background: transparent;
  color: var(--leather-dark);
  border: 2px solid var(--leather);
  min-height: var(--touch);
}

@media (prefers-reduced-motion: reduce) {
  .map-x { animation: none; }
  .map-iframe { filter: sepia(0.4) contrast(1.05); }
}

@media (max-width: 600px) {
  .map-chart { padding: 0.75rem; outline-offset: 3px; }
  .map-compass { width: 48px; height: 48px; }
  .map-compass svg { width: 48px; height: 48px; }
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 20;
  text-align: center;
  padding: 2rem var(--space);
  border-top: 2px dashed rgba(245, 240, 232, 0.25);
  font-size: 1rem;
}

.footer-copy {
  margin: 0;
}

.footer-counter {
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(245, 240, 232, 0.62);
}

.footer-counter #besucher-zahl {
  font-variant-numeric: tabular-nums;
  color: rgba(245, 240, 232, 0.78);
}

.footer-legal {
  margin: 1rem 0 0;
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.site-footer a {
  font-weight: 600;
  color: var(--gold);
}

/* Cookie-Hinweis (Google Analytics) */
.cookie-banner {
  position: fixed;
  left: max(0.75rem, env(safe-area-inset-left, 0px));
  right: max(0.75rem, env(safe-area-inset-right, 0px));
  bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
  z-index: 300;
  max-width: 26rem;
  margin: 0 auto;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner-inner {
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background-color: var(--parchment);
  background-image: linear-gradient(180deg, rgba(255, 252, 245, 0.9) 0%, transparent 100%), var(--linen-texture-fallback);
  color: var(--ink);
  border: 2px solid var(--leather);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.cookie-banner-text {
  margin: 0.5rem 0 0.85rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.cookie-banner-text a {
  color: var(--leather);
  font-weight: 700;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-banner-actions .cookie-btn-accept,
.cookie-banner-actions .cookie-btn-reject {
  flex: 1 1 8.5rem;
  min-width: 8.5rem;
  padding: 0.55rem 1rem;
  font-size: 0.95rem;
  cursor: pointer;
  border-radius: 8px;
  font-family: inherit;
  font-weight: 700;
}

.cookie-btn-accept {
  background: var(--leather);
  color: var(--cream);
  border: 2px solid var(--gold);
}

.cookie-btn-reject {
  background: var(--cream);
  color: var(--ink);
  border: 2px solid var(--leather);
}

@media (min-width: 768px) {
  .cookie-banner {
    left: max(1.25rem, env(safe-area-inset-left, 0px));
    bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  }
}

/* Schnellkontakt unten rechts (Symbole) */
.contact-float {
  position: fixed;
  right: max(0.85rem, env(safe-area-inset-right, 0px));
  bottom: max(0.85rem, env(safe-area-inset-bottom, 0px));
  z-index: 200;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 0.65rem;
}

.float-btn {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  min-width: 52px;
  min-height: 52px;
  padding: 0.75rem;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  transition:
    transform 0.28s cubic-bezier(0.34, 1.4, 0.64, 1),
    box-shadow 0.28s ease,
    padding 0.28s ease,
    gap 0.28s ease;
  overflow: hidden;
}

.float-btn svg {
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.5, 0.64, 1);
}

.float-btn-label {
  display: inline-block;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  letter-spacing: 0.03em;
  transition: max-width 0.32s ease, opacity 0.22s ease, margin 0.32s ease;
  margin-right: 0;
  pointer-events: none;
}

.float-btn:hover,
.float-btn:focus-visible {
  transform: translateX(-4px) translateY(-3px) scale(1.06);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.48);
  padding-left: 1rem;
  padding-right: 0.85rem;
  gap: 0.45rem;
}

.float-btn:hover .float-btn-label,
.float-btn:focus-visible .float-btn-label {
  max-width: 9rem;
  opacity: 1;
  margin-right: 0.15rem;
}

.float-btn:hover svg,
.float-btn:focus-visible svg {
  transform: scale(1.12) rotate(-6deg);
}

.float-btn--wa:hover,
.float-btn--wa:focus-visible {
  animation: none;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.65);
}

.float-btn--wa:hover svg,
.float-btn--wa:focus-visible svg {
  animation: float-wa-wiggle 0.55s ease;
}

.float-btn--phone:hover svg,
.float-btn--phone:focus-visible svg {
  animation: float-phone-ring 0.65s ease;
}

.float-btn--mail:hover svg,
.float-btn--mail:focus-visible svg {
  animation: float-mail-bounce 0.5s ease;
}

.float-btn--ig:hover svg,
.float-btn--ig:focus-visible svg {
  transform: scale(1.15) rotate(8deg);
}

.float-btn--ig:hover,
.float-btn--ig:focus-visible {
  filter: brightness(1.12) saturate(1.1);
}

.float-btn--wa {
  background: var(--wa);
  animation: float-wa-pulse 3s ease-in-out infinite;
}

.float-btn--phone {
  background: var(--leather-dark);
}

.float-btn--mail {
  background: #5c4228;
}

.float-btn--ig {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

@keyframes float-wa-pulse {
  0%, 100% { box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4); }
  50% { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.55); }
}

@keyframes float-wa-wiggle {
  0%, 100% { transform: scale(1.12) rotate(-6deg); }
  25% { transform: scale(1.18) rotate(8deg); }
  50% { transform: scale(1.14) rotate(-10deg); }
  75% { transform: scale(1.16) rotate(5deg); }
}

@keyframes float-phone-ring {
  0%, 100% { transform: scale(1.12) rotate(-6deg); }
  15% { transform: scale(1.2) rotate(-14deg); }
  30% { transform: scale(1.12) rotate(10deg); }
  45% { transform: scale(1.18) rotate(-12deg); }
  60% { transform: scale(1.12) rotate(8deg); }
}

@keyframes float-mail-bounce {
  0%, 100% { transform: scale(1.12) translateY(0); }
  35% { transform: scale(1.16) translateY(-5px); }
  55% { transform: scale(1.1) translateY(2px); }
}

@media (prefers-reduced-motion: reduce) {
  .float-btn--wa { animation: none; }
  .float-btn:hover,
  .float-btn:focus-visible {
    transform: translateY(-2px);
  }
  .float-btn:hover svg,
  .float-btn:focus-visible svg,
  .float-btn--wa:hover svg,
  .float-btn--phone:hover svg,
  .float-btn--mail:hover svg {
    animation: none;
    transform: none;
  }
}

/* Rechtliches */
.legal-page {
  padding: 3rem var(--space);
  max-width: 720px;
  margin: 0 auto;
  color: var(--cream);
}
.legal-page h1 { font-family: var(--font-display); }
.legal-page h2 {
  margin: 2rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold);
}
.legal-page h3 {
  margin: 1.75rem 0 0.65rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cream);
}

.legal-page h4 {
  margin: 1.1rem 0 0.45rem;
  font-size: 1rem;
  font-weight: 700;
  color: rgba(245, 240, 232, 0.92);
}
.legal-page p,
.legal-page li {
  font-size: var(--text-lg);
  line-height: 1.65;
}
.legal-page ul {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}
.legal-page li { margin-bottom: 0.5rem; }
.legal-page a { color: var(--gold); font-weight: 600; }
.legal-page code {
  font-size: 0.92em;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.25);
}
.legal-meta {
  margin: -0.5rem 0 1.5rem;
  font-size: 0.95rem;
  opacity: 0.85;
}

.legal-summary {
  margin: 0 0 2rem;
  padding: 1.1rem 1.15rem;
  border-radius: 12px;
  border: 2px dashed rgba(201, 162, 39, 0.55);
  background: rgba(0, 0, 0, 0.22);
}

.legal-summary-title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold);
}

.legal-summary ul {
  margin: 0;
  padding-left: 1.2rem;
}

.legal-summary li {
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
}

.legal-table-wrap {
  margin: 0 0 1.25rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 10px;
  border: 1px solid rgba(245, 240, 232, 0.2);
}

.legal-table {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.45;
}

.legal-table th,
.legal-table td {
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(245, 240, 232, 0.15);
}

.legal-table th {
  font-weight: 700;
  color: var(--gold);
  background: rgba(0, 0, 0, 0.2);
}

.legal-table tbody tr:nth-child(even) td {
  background: rgba(0, 0, 0, 0.1);
}

.legal-contact {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(42, 31, 20, 0.15);
  font-size: 0.98rem;
}

.legal-nav {
  margin-top: 2.5rem;
}

/* ═══════════════════════════════════════
   DESKTOP (ab 768px) – breiter, 2 Spalten
   ═══════════════════════════════════════ */
@media (min-width: 768px) {
  :root {
    --space: 1.25rem;
  }

  body {
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  }

  .contact-float {
    right: max(1.25rem, env(safe-area-inset-right, 0px));
    bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
    gap: 0.75rem;
  }

  @keyframes hero-watermark-reveal {
    0% {
      opacity: 0;
      filter: brightness(2.1) contrast(0.75);
      transform: translate(0, 1%) scale(0.9);
    }
    55% {
      opacity: 0.26;
      filter: brightness(1.65) contrast(0.95);
    }
    100% {
      opacity: 0.48;
      filter: brightness(1.35) contrast(1.1);
      transform: translate(0, 1%) scale(1);
    }
  }

  #start .hero-watermark-img {
    width: min(72%, 720px);
    max-height: 68%;
    animation-duration: 4.5s;
  }

  .leather-nav {
    display: inline-block;
    width: auto;
    padding: 0.65rem 1.5rem;
    border-radius: 999px;
  }

  .nav-toggle {
    display: none;
  }

  .nav-links {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem 1.5rem;
    margin-top: 0;
  }

  .nav-links a {
    width: auto;
    font-size: 1.05rem;
    padding: 0.5rem 0.25rem;
    border-bottom: none;
    display: inline-flex;
  }

  .nav-links a:hover {
    transform: translateY(-2px);
  }

  main {
    padding: 5rem var(--space-lg) 4rem;
  }

  .panel-inner {
    padding: 2rem 1.75rem;
  }

  #ueber-uns .ueber-visual {
    min-height: 360px;
  }

  .kontakt-split {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }

  .kontakt-big:hover {
    transform: translateX(4px);
  }

  #start .hero-split {
    grid-template-columns: 1fr;
  }

  .parchment-split {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-actions .btn {
    width: auto;
    min-width: 11rem;
  }

  .insta-rotator {
    --insta-slide-size: calc(480px * 5 / 6);
    max-width: min(calc(var(--insta-slide-size) * 2 + 0.75rem), 100%);
  }

  .map-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .map-actions .btn {
    width: auto;
    min-width: 12rem;
  }

  .map-actions .map-route-mobile-only {
    display: none;
  }

}

@media (min-width: 1024px) {
  .ref-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Kleine Handys: weniger Deko, kompakter */
@media (max-width: 380px) {
  .top-kicker {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
  }

  .main-title {
    font-size: 1.45rem;
    letter-spacing: 0.04em;
  }

  .panel-inner h2 {
    font-size: 1.35rem;
  }
}

[data-tool-id] {
  animation: none !important;
  z-index: 30 !important;
  pointer-events: none;
  opacity: 1 !important;
  transform: scale(var(--tool-scale, 0.28)) !important;
  transform-origin: center center !important;
  will-change: transform;
}

[data-tool-id].tool-at-full-size {
  will-change: auto;
}

[data-tool-id] img {
  mix-blend-mode: normal !important;
  opacity: 1 !important;
  filter: drop-shadow(4px 8px 14px rgba(0, 0, 0, 0.38));
}

/* Werkzeug-Positionen (v3) – nur Desktop */
@media (min-width: 768px) {
[data-tool-id="ahle-start"] {
  position: absolute !important;
  display: inline-block !important;
  top: -59px !important;
  left: -198px !important;
  transform-origin: 70% 85% !important;
}

[data-tool-id="ahle-start"] img {
  height: 222px !important;
  width: auto !important;
  transform: rotate(-52deg) !important;
  transform-origin: center center !important;
}

[data-tool-id="naehmaschine-ueber"] {
  position: absolute !important;
  display: inline-block !important;
  top: 36px !important;
  left: 621px !important;
  transform-origin: 50% 80% !important;
}

[data-tool-id="naehmaschine-ueber"] img {
  height: 340px !important;
  width: auto !important;
  transform: rotate(0deg) !important;
  transform-origin: center center !important;
}

/* Halbmondmesser (Leistungen) – ID schere-leistungen */
[data-tool-id="schere-leistungen"] {
  position: absolute !important;
  display: inline-block !important;
  top: 156px !important;
  left: 695px !important;
  transform-origin: 40% 60% !important;
}

[data-tool-id="schere-leistungen"] img {
  height: 265px !important;
  width: auto !important;
  transform: rotate(14deg) !important;
  transform-origin: center center !important;
}

[data-tool-id="garn-bewertungen"] {
  position: absolute !important;
  display: inline-block !important;
  top: -113px !important;
  left: 861px !important;
  transform-origin: 55% 90% !important;
}

[data-tool-id="garn-bewertungen"] img {
  height: 400px !important;
  width: auto !important;
  transform: rotate(-1deg) !important;
  transform-origin: center center !important;
}

[data-tool-id="halbmond-kontakt"] {
  position: absolute !important;
  display: inline-block !important;
  top: -42px !important;
  left: 180px !important;
  transform-origin: 45% 75% !important;
}

[data-tool-id="halbmond-kontakt"] img {
  height: 257px !important;
  width: auto !important;
  transform: rotate(-29deg) !important;
  transform-origin: center center !important;
}
}
