/* ==========================================================================
   Autsch Piercing – Website-Stylesheet (Redesign)
   Markenfarben und Schriften der bisherigen Seite: Grün #0f8c22, Anthrazit
   #212121, Überschriften „Abel“, Fließtext „Lato“.
   Bewegung: bewusst sparsam und gebündelt im Abschnitt „Bewegung“ am Ende
   (Hinweis-Popup, Tipp-Feedback, Smartphone-Menü). Zeiten/Kurven nur über
   die Tokens --ease-out und --dur-… im :root-Block.
   ========================================================================== */

:root {
  --green: #0f8c22;          /* Markengrün (Flächen, große Schrift) */
  --green-strong: #0b7a1d;   /* für Schaltflächen mit weißer Schrift (Kontrast ≥ 4,5:1) */
  --green-dark: #08621a;
  --green-light: #6fdc7f;    /* grüne Schrift auf dunklem Grund */
  --green-tint: #eaf5ec;
  --ink: #1b1b1b;
  --dark: #212121;
  --dark-2: #2b2b2b;
  --muted: #555;
  --line: #dcdcd8;
  --bg: #ffffff;
  --bg-soft: #f4f4f1;
  --whatsapp: #128c3e;
  --focus: #0b7a1d;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .10);
  --container: 1180px;
  --header-h: 68px;
  --font-head: "Abel", "Arial Narrow", Arial, sans-serif;
  --font-body: "Lato", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --space-section: clamp(3.5rem, 8vw, 6.5rem);
  /* Bewegung: starke Ease-out-Kurve, kurze Zeiten. Ausblenden ist schneller als Einblenden. */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --dur-press: 160ms;   /* Tipp-Feedback */
  --dur-hover: 150ms;   /* Farbwechsel beim Überfahren mit der Maus */
  --dur-menu: 200ms;    /* Smartphone-Menü öffnen */
  --dur-enter: 250ms;   /* Popup einblenden */
  --dur-exit: 150ms;    /* Popup/Menü ausblenden */
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: var(--green-strong); text-underline-offset: .18em; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .01em; }
ul { padding: 0; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}
.section-dark, .site-header, .site-footer, .hero, .mobile-bar { --focus: #9ef0a9; }

.container {
  width: min(100% - 2.5rem - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px), var(--container));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
@media (max-width: 479px) {
  .visually-hidden-sm { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: #fff; color: var(--ink); padding: .75rem 1rem; border-radius: var(--radius); font-weight: 700;
}
.skip-link:focus { top: 1rem; }

main:focus { outline: none; }

/* ---------- Icons & Schaltflächen ---------- */
.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.2em; }
.icon-sm { width: 1em; height: 1em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7rem 1.35rem;
  font: 700 1rem/1.2 var(--font-body); letter-spacing: .02em;
  border: 2px solid transparent; border-radius: 999px;
  text-decoration: none; cursor: pointer; text-align: center;
}
.btn-lg { min-height: 54px; padding: .85rem 1.6rem; font-size: 1.05rem; }
.btn-primary { background: var(--green-strong); color: #fff; }
.btn-outline { background: transparent; color: var(--green-strong); border-color: currentColor; }
.btn-ghost { background: rgba(0, 0, 0, .35); color: #fff; border-color: rgba(255, 255, 255, .85); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.section-dark .btn-outline, .hours-card .btn-outline { color: var(--green-strong); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.25rem 0 0; }

/* ---------- Vorschau-Hinweis ---------- */
.preview-banner {
  position: sticky; top: 0; z-index: 60; background: #ffd84d; color: #222;
  padding: .6rem 1rem; text-align: center; font-size: .95rem;
}
.preview-banner a { color: #222; font-weight: 700; margin-left: .5rem; }

/* ---------- Kopfbereich ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--dark); color: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .25);
}
.header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; min-height: var(--header-h); }
html:not(.js) .main-nav { flex-basis: 100%; }
/* Logo hängt wie bisher über den Kopfbereich hinaus (Wiedererkennung).
   Das Logo hat schwarze Schrift → helles Schild dahinter, damit es auf Dunkel gut lesbar ist. */
.brand {
  display: block; margin-right: auto; align-self: flex-start; position: relative; z-index: 2;
  background: #fff; padding: 4px 8px 6px; border-radius: 0 0 14px 14px;
  margin-bottom: -20px; box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
}
.brand img { width: 80px; height: auto; }

.header-call, .nav-toggle {
  display: inline-flex; align-items: center; gap: .4rem;
  min-height: 44px; min-width: 44px; padding: .5rem .8rem;
  color: #fff; background: transparent; border: 2px solid rgba(255, 255, 255, .35); border-radius: 999px;
  font: 700 .95rem var(--font-body); text-decoration: none; cursor: pointer;
}
.header-call { border-color: var(--green); background: var(--green-strong); }
.nav-toggle-close { display: none; }
html:not(.js) .nav-toggle { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: inline; }
.nav-toggle .icon { display: block; }

.main-nav ul { list-style: none; margin: 0; }
.main-nav a { color: #fff; text-decoration: none; display: flex; align-items: center; gap: .35rem; }

/* Menü auf kleinen Bildschirmen: aufklappbar unter der Kopfzeile */
@media (max-width: 1099px) {
  .main-nav { display: block; }              /* ohne JavaScript immer sichtbar */
  .js .main-nav { display: none; }
  .js .main-nav.is-open { display: block; }
  .js .main-nav {
    z-index: 3;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--dark); border-top: 1px solid rgba(255, 255, 255, .12);
    max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    overscroll-behavior: contain;
    padding: .5rem 1.25rem 1.5rem;
  }
  .main-nav li { border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .main-nav a { padding: .95rem .25rem; font-size: 1.15rem; font-family: var(--font-head); letter-spacing: .03em; }
  .main-nav .nav-cta { border: 0; padding-top: 1rem; }
  .main-nav .nav-cta .btn { width: 100%; font-family: var(--font-body); font-size: 1rem; }
}

@media (min-width: 1100px) {
  :root { --header-h: 84px; }
  .brand { padding: 5px 10px 8px; margin-bottom: -30px; }
  .brand img { width: 108px; }
  .nav-toggle, .header-call { display: none; }
  .main-nav { display: block; }
  .main-nav ul { display: flex; align-items: center; gap: .25rem; }
  .main-nav li a { padding: .6rem .95rem; font-family: var(--font-head); font-size: 1.12rem; letter-spacing: .03em; border-radius: 999px; }
  .main-nav .nav-cta { margin-left: .5rem; }
  .main-nav li a { white-space: nowrap; }
  .main-nav .nav-cta a { font-family: var(--font-body); font-size: 1rem; padding: .6rem 1.3rem; color: #fff; }
}

/* Desktop, aber die Menüpunkte passen nicht in eine Zeile → Menü-Symbol wie auf dem Smartphone */
@media (min-width: 1100px) {
  .site-header.is-compact .nav-toggle, .site-header.is-compact .header-call { display: inline-flex; }
  .js .site-header.is-compact .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 3;
    background: var(--dark); border-top: 1px solid rgba(255, 255, 255, .12);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain;
    padding: .5rem max(1.25rem, calc((100vw - var(--container)) / 2)) 1.5rem;
  }
  .js .site-header.is-compact .main-nav.is-open { display: block; }
  .site-header.is-compact .main-nav ul { display: block; }
  .site-header.is-compact .main-nav li { border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .site-header.is-compact .main-nav li a { padding: .95rem .25rem; border-radius: 0; white-space: normal; }
  .site-header.is-compact .main-nav .nav-cta { border: 0; margin: 0; padding-top: 1rem; }
  .site-header.is-compact .main-nav .nav-cta .btn { width: 100%; }
  .site-header.is-compact .nav-cursor { display: none; }
}

/* ---------- Startbild ----------
   Smartphone: Foto oben, Text darunter. Ab 900px: Text links auf Anthrazit, Foto rechts
   ohne Abdunklung – Gregor und das Autsch-Schild bleiben frei sichtbar. Die Höhe ist so
   bemessen, dass die grüne Kontaktleiste ohne Scrollen vollständig zu sehen ist. */
:root { --quickinfo-h: 88px; }
.hero { position: relative; color: #fff; background: var(--dark); }
/* Foto als gerahmte „Spielerkarte“: in echter Auflösung statt vollflächig vergrößert,
   grüner Comic-Versatzschatten passend zum Logo */
.hero-media { position: relative; padding: 1.9rem 1.25rem 0; }
.hero-media img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  border: 3px solid #fff; border-radius: var(--radius-lg);
  box-shadow: 10px 10px 0 var(--green), 0 18px 40px rgba(0, 0, 0, .45);
  background: #3a3a3a;
}
.hero-content { padding: 1.5rem 0 1.75rem; }
.hero-title {
  text-wrap: balance;
  font-size: clamp(2rem, 8vw, 2.6rem); text-transform: uppercase; line-height: 1.05;
  max-width: 16ch; margin-bottom: .4em;
}
.hero-title::before {
  content: ""; display: block; width: 64px; height: 4px; margin-bottom: .45em;
  background: var(--green); border-radius: 2px;
}
.hero-title br { display: none; }
.hero-text { font-size: 1.15rem; max-width: 40ch; }
.hero .btn-row { margin-top: 1rem; }
.hero-social { list-style: none; display: none; gap: .5rem; margin: 1.5rem 0 0; }
.hero-social a {
  display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center;
  color: #fff; border: 2px solid rgba(255,255,255,.7); border-radius: 50%;
}
@media (max-width: 479px) {
  .hero .btn { flex: 1 1 auto; padding-inline: 1rem; }
}

@media (min-width: 900px) {
  .hero {
    display: grid; grid-template-columns: minmax(380px, 5fr) 7fr;
    height: clamp(460px, calc(100svh - var(--header-h) - var(--quickinfo-h)), 820px);
  }
  .hero-media {
    grid-column: 2; grid-row: 1; display: flex; align-items: center; justify-content: center;
    padding: 2.5rem max(2rem, calc((100vw - var(--container)) / 2)) 2.5rem 1rem; min-height: 0;
  }
  .hero-media img {
    width: auto; max-width: min(100%, 720px); max-height: 100%;
    box-shadow: 14px 14px 0 var(--green), 0 24px 50px rgba(0, 0, 0, .5);
  }
  .hero-content {
    grid-column: 1; grid-row: 1; width: auto; margin: 0;
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
    padding: 3.5rem 2.5rem 2.5rem max(1.25rem, calc((100vw - var(--container)) / 2));
  }
  .hero-title { font-size: clamp(2.2rem, 3.2vw, 3.4rem); max-width: 19ch; }
  .hero-title br { display: inline; }
  .hero-social { display: flex; }
}

/* Schnellinfos unter dem Startbild */
.quickinfo { background: var(--green-strong); color: #fff; }
.quickinfo-inner { display: grid; gap: 0; }
.quickinfo-item {
  display: flex; align-items: center; gap: .85rem; padding: .7rem 0;
  color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.2);
}
.quickinfo-item:last-child { border-bottom: 0; }
.quickinfo-item .icon { width: 1.6rem; height: 1.6rem; }
.quickinfo-item strong { display: block; font-size: 1.05rem; }
.quickinfo-item span span { display: block; font-size: .95rem; opacity: .92; }
@media (min-width: 800px) {
  .quickinfo-inner { grid-template-columns: repeat(3, 1fr); }
  .quickinfo-item {
    border-bottom: 0; padding: 0 1rem; min-height: var(--quickinfo-h);
    border-left: 1px solid rgba(255,255,255,.2);
  }
  .quickinfo-item:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- Abschnitte ---------- */
.section { padding-block: var(--space-section); }
.section-head { max-width: 720px; margin-bottom: 2.25rem; }
.section-title {
  font-size: clamp(2rem, 5vw, 3rem); text-transform: uppercase; color: var(--dark);
  display: flex; align-items: baseline; gap: .55rem; flex-wrap: wrap;
}
.section-num { color: var(--green); font-size: .85em; }
.section-dark .section-title { color: #fff; }
.section-dark .section-num { color: var(--green-light); }
.section-intro { font-size: 1.1rem; color: var(--muted); }

/* Piercingarten */
.section-services { background: var(--bg-soft); }
.service-grid { list-style: none; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
@media (min-width: 1100px) { .service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.service-card figure { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.06); height: 100%; }
.service-img { aspect-ratio: 1; overflow: hidden; background: #e8e8e4; }
.service-img img { width: 100%; height: 100%; object-fit: cover; }
.service-card figcaption {
  padding: .7rem .9rem; font-family: var(--font-head); font-size: 1.2rem; text-transform: uppercase;
  letter-spacing: .04em; border-top: 3px solid var(--green);
  overflow-wrap: anywhere; hyphens: auto; -webkit-hyphens: auto;
}
/* Platzhalter, wenn das Bild in den Medien gelöscht wurde */
.img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: #e8e8e4; }
.img-placeholder img { width: 38%; height: auto; opacity: .45; filter: grayscale(1); }

/* Über mein Studio */
.about-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; } .about-grid.no-media { grid-template-columns: minmax(0, 760px); } }
.about-main { aspect-ratio: 469 / 422; border-radius: var(--radius-lg); overflow: hidden; background: #e8e8e4; box-shadow: var(--shadow); }
.about-main img { width: 100%; height: 100%; object-fit: cover; }
.about-thumbs { list-style: none; margin: 1rem 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: .6rem; }
.about-thumb {
  display: block; width: 100%; padding: 0; border: 3px solid transparent; border-radius: 8px;
  overflow: hidden; background: none; cursor: pointer; aspect-ratio: 1;
}
.about-thumb img { width: 100%; height: 100%; object-fit: cover; }
.about-thumb[aria-pressed="true"] { border-color: var(--green); }
.about-sub { font-size: 1.7rem; text-transform: uppercase; margin-top: 1.5rem; }
.about-sub span { color: var(--green-strong); }
.signature { margin-top: 1.5rem; }
.signature-img { width: 220px; height: auto; }
.signature-text { color: var(--muted); font-style: italic; }

/* Preise */
.section-prices { background: var(--dark); color: #eaeaea; --focus: #9ef0a9; }
.section-prices .section-title { color: #fff; }
.section-prices .section-num { color: var(--green-light); }
.prices-grid { display: grid; gap: 2.5rem; }
@media (min-width: 1000px) { .prices-grid { grid-template-columns: 1fr 1.7fr; gap: 4rem; align-items: start; } }
.download-list { list-style: none; margin: 1.5rem 0 0; }
.download-link {
  display: inline-flex; align-items: center; gap: .7rem; padding: .85rem 1.1rem; min-height: 48px;
  color: #fff; border: 2px solid var(--green); border-radius: var(--radius); text-decoration: none; font-weight: 700;
}
.download-link small { font-weight: 400; opacity: .85; }
.prices-panel { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 1.25rem; box-shadow: var(--shadow); --focus: #0b7a1d; }
@media (min-width: 700px) { .prices-panel { padding: 2rem; } }
.tablist { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.tab {
  flex: 0 1 auto; max-width: 100%; text-align: left; min-height: 44px; padding: .55rem 1.1rem; border-radius: 22px; cursor: pointer;
  border: 2px solid var(--line); background: #fff; color: var(--ink); font: 700 .98rem var(--font-body);
}
.tab[aria-selected="true"] { background: var(--green-strong); border-color: var(--green-strong); color: #fff; }
.js [data-tabs] .price-cat-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.price-cat-title { font-size: 1.6rem; text-transform: uppercase; }
.price-list { list-style: none; margin: 0; }
.price-item { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.price-item:last-child { border-bottom: 0; }
.price-row { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 1rem; row-gap: .15rem; }
.price-name { font-family: var(--font-body); font-weight: 700; font-size: 1.08rem; letter-spacing: 0; margin: 0; flex: 1 1 11rem; min-width: 0; overflow-wrap: anywhere; }
.price-value {
  font-family: var(--font-head); font-size: 1.5rem; color: var(--green-strong); white-space: nowrap; margin-left: auto;
}
.price-desc { margin: .3rem 0 0; color: var(--muted); font-size: 1rem; }

/* Galerie */
.gallery-grid { list-style: none; margin: 0; display: grid; gap: .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
.gallery-item { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: #e8e8e4; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-zoom {
  position: absolute; right: .6rem; bottom: .6rem; width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.6); color: #fff;
}

/* Lightbox */
.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100dvh; width: 100vw; height: 100dvh; }
.lightbox::backdrop { background: rgba(0, 0, 0, .9); }
.lightbox-inner { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 4rem 1rem; }
.lightbox-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.lightbox-btn {
  position: absolute; display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%; border: 2px solid rgba(255,255,255,.8);
  background: rgba(0,0,0,.6); color: #fff; cursor: pointer; --focus: #9ef0a9;
}
.lightbox-close { top: calc(1rem + env(safe-area-inset-top, 0px)); right: calc(1rem + env(safe-area-inset-right, 0px)); }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-count { position: absolute; bottom: 1rem; left: 0; right: 0; text-align: center; color: #fff; }

/* Rundgang */
.section-tour { background: var(--dark-2); color: #eee; }
.tour-inner { max-width: 820px; }
.tour-note { font-size: 1.05rem; }
.section-tour a:not(.btn) { color: var(--green-light); }

/* Öffnungszeiten */
.section-hours { position: relative; isolation: isolate; background: var(--dark); }
.hours-bg { position: absolute; inset: 0; z-index: -1; }
.hours-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.hours-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); max-width: 620px; box-shadow: var(--shadow); }
.hours-list { margin: 0; }
.hours-row { display: grid; gap: .1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 560px) { .hours-row { grid-template-columns: 11rem 1fr; gap: 1rem; } }
.hours-row dt { font-weight: 700; }
.hours-row dd { margin: 0; }

/* Kontakt */
.section-contact { background: var(--bg-soft); }
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.contact-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow); border-top: 6px solid var(--green); }
.contact-sub { font-size: 1.9rem; text-transform: uppercase; }
.contact-list { list-style: none; margin: 1.5rem 0 0; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.contact-list .icon { color: var(--green-strong); margin-top: .2rem; }
.contact-list a { font-weight: 700; }
.contact-list span, .contact-list a, .site-footer p, .legal-facts dd, .hours-row dd, .quickinfo-item span { overflow-wrap: anywhere; }
.contact-grid > *, .footer-inner > *, .prices-grid > *, .about-grid > *, .contact-list li > *:last-child { min-width: 0; }

/* Rechtstexte & Unterseiten */
.page-hero { background: var(--dark); color: #fff; padding: 3rem 0 2.5rem; }
.page-title { font-size: clamp(2.2rem, 6vw, 3.4rem); text-transform: uppercase; margin: 0; }
.prose { max-width: 780px; }
.prose h2 { font-size: 1.7rem; margin-top: 2rem; }
.prose h3 { font-size: 1.35rem; margin-top: 1.5rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose { overflow-wrap: anywhere; }
.legal-facts { margin: 0 0 2rem; }
.legal-facts > div { display: grid; gap: .1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 560px) { .legal-facts > div { grid-template-columns: 10rem 1fr; gap: 1rem; } }
.legal-facts dt { font-weight: 700; }
.legal-facts dd { margin: 0; }

/* ---------- Fußbereich ---------- */
.site-footer { background: var(--dark); color: #d8d8d8; }
.site-footer a { color: #fff; }
.footer-inner { display: grid; gap: 2rem; padding: 3rem 0; }
@media (min-width: 800px) { .footer-inner { grid-template-columns: auto 1fr 1fr 1fr; gap: 3rem; align-items: start; } }
.footer-logo { display: inline-block; justify-self: start; background: #fff; padding: 6px 10px 8px; border-radius: 14px; }
.footer-logo img { width: 110px; }
.footer-heading { font-size: 1.35rem; text-transform: uppercase; color: #fff; margin-bottom: .6rem; }
.footer-links { list-style: none; margin: 0; }
.footer-links li { margin: .35rem 0; }
.footer-links a { display: inline-flex; align-items: center; gap: .5rem; min-height: 32px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); font-size: .95rem; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; }
.footer-bottom p { margin: 0; }
.to-top { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; }

/* ---------- Schnellkontakt-Leiste (Smartphone) ---------- */
.mobile-bar { display: none; }
@media (max-width: 799px) {
  body.has-mobile-bar { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .mobile-bar {
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: var(--dark); border-top: 3px solid var(--green);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem;
    min-height: 60px; color: #fff; text-decoration: none; font-size: .85rem; font-weight: 700;
  }
  .mobile-bar a + a { border-left: 1px solid rgba(255,255,255,.12); }
  .mobile-bar .icon { color: var(--green-light); }
}

/* ---------- Hinweis-Popup ---------- */
.notice {
  width: min(92vw, 680px); max-height: 92vh; max-height: 92dvh; padding: 0;
  border: 0; border-radius: var(--radius-lg); background: #fff; color: var(--ink);
  box-shadow: 0 20px 60px rgba(0,0,0,.4); overflow: auto; overscroll-behavior: contain;
}
.notice::backdrop { background: rgba(10, 10, 10, .75); }
.notice-inner { padding: 1rem 1rem 1.25rem; }
@media (min-width: 600px) { .notice-inner { padding: 1.25rem 1.5rem 1.5rem; } }
.notice-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; }
.notice-title { font-size: 1.8rem; text-transform: uppercase; margin: 0; }
.notice-close {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--line);
  background: #fff; color: var(--ink); cursor: pointer; margin-left: auto;
}
.notice-figure { margin: 0; display: flex; justify-content: center; background: var(--bg-soft); border-radius: var(--radius); }
/* Seitenverhältnis bleibt erhalten: nur verkleinern, nie verzerren */
.notice-img { width: auto; height: auto; max-width: 100%; max-height: 62vh; max-height: 62dvh; object-fit: contain; border-radius: var(--radius); }
.notice:has(.notice-text) .notice-img { max-height: 45vh; max-height: 45dvh; }
.notice-text { margin-top: 1rem; font-size: 1.1rem; }
.notice-text p:last-child { margin-bottom: 0; }
.notice-actions { margin-top: 1.25rem; display: flex; justify-content: flex-end; }
@media (max-width: 479px) { .notice-actions .btn { width: 100%; } }

/* ==========================================================================
   Bewegung
   Nur transform und opacity. Bei „Bewegung reduzieren“ bleibt ein kurzes
   Überblenden, aber nichts verschiebt oder skaliert sich.
   ========================================================================== */

/* 1) Hinweis-Popup: weich einblenden, schneller ausblenden, bleibt zentriert.
      Browser ohne @starting-style zeigen das Popup einfach ohne Übergang. */
.notice,
.notice::backdrop {
  transition:
    opacity var(--dur-exit) var(--ease-out),
    transform var(--dur-exit) var(--ease-out),
    overlay var(--dur-exit) allow-discrete,
    display var(--dur-exit) allow-discrete;
}
.notice { opacity: 0; transform: scale(.96); }
.notice::backdrop { opacity: 0; }
.notice[open] { opacity: 1; transform: none; transition-duration: var(--dur-enter); }
.notice[open]::backdrop { opacity: 1; transition-duration: 200ms; }
@starting-style {
  .notice[open] { opacity: 0; transform: scale(.96); }
  .notice[open]::backdrop { opacity: 0; }
}

/* 2) Tipp-Feedback: Schaltflächen geben beim Drücken leicht nach.
      (Pfeile der Galerie-Großansicht ausgenommen – sie nutzen transform zur Positionierung.) */
.btn,
.header-call,
.nav-toggle,
.notice-close,
.hero-social a,
.mobile-bar a {
  transition: transform var(--dur-press) var(--ease-out);
}
.btn:active,
.header-call:active,
.nav-toggle:active,
.notice-close:active,
.hero-social a:active,
.mobile-bar a:active {
  transform: scale(.97);
}
/* Farbwechsel beim Überfahren nur mit echter Maus (kein „hängender“ Hover auf Touch) */
@media (hover: hover) and (pointer: fine) {
  .btn,
  .header-call,
  .nav-toggle,
  .notice-close,
  .hero-social a {
    transition:
      transform var(--dur-press) var(--ease-out),
      background-color var(--dur-hover) ease,
      border-color var(--dur-hover) ease,
      color var(--dur-hover) ease;
  }
}

/* 3) Smartphone-Menü: kommt sichtbar aus dem Kopfbereich */
@media (max-width: 1099px) {
  .js .main-nav {
    opacity: 0;
    transform: translateY(-8px);
    transition:
      opacity var(--dur-exit) var(--ease-out),
      transform var(--dur-exit) var(--ease-out),
      display var(--dur-exit) allow-discrete;
  }
  .js .main-nav.is-open { opacity: 1; transform: none; transition-duration: var(--dur-menu); }
  @starting-style {
    .js .main-nav.is-open { opacity: 0; transform: translateY(-8px); }
  }
}

/* 4) Galerie-Großansicht: Hintergrund blendet ein, Bild wächst leicht heran.
      Das Blättern zwischen Bildern bleibt bewusst ohne Animation (Pfeiltasten, schnelle Folge). */
.lightbox,
.lightbox::backdrop {
  transition:
    opacity var(--dur-exit) var(--ease-out),
    overlay var(--dur-exit) allow-discrete,
    display var(--dur-exit) allow-discrete;
}
.lightbox { opacity: 0; }
.lightbox::backdrop { opacity: 0; }
.lightbox[open] { opacity: 1; transition-duration: 200ms; }
.lightbox[open]::backdrop { opacity: 1; transition-duration: 200ms; }
.lightbox-img { transform: scale(.96); transition: transform var(--dur-exit) var(--ease-out); }
.lightbox[open] .lightbox-img { transform: none; transition-duration: 200ms; }
@starting-style {
  .lightbox[open] { opacity: 0; }
  .lightbox[open]::backdrop { opacity: 0; }
  .lightbox[open] .lightbox-img { transform: scale(.96); }
}

/* 5) Studiofotos: neues Foto blendet weich über das alte (Ebene wird von site.js angelegt) */
.about-main { position: relative; }
.about-fade {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 200ms var(--ease-out);
}
.about-fade.is-in { opacity: 1; }

/* 6) Preis-Reiter: die neue Liste blendet kaum merklich ein, die alte verschwindet sofort */
.tabpanel {
  transition: opacity 150ms var(--ease-out), transform 150ms var(--ease-out);
}
@starting-style {
  .tabpanel:not([hidden]) { opacity: 0; transform: translateY(4px); }
}
/* Beim ersten Seitenaufbau nicht animieren (nur beim Umschalten) */
.tabpanel:not(.is-switched) { transition: none; }

/* 7) Navigation „Konsolen-Fokus“ (verspielt, angelehnt an das Gefühl eines Konsolen-Startmenüs):
      Ein leuchtender Fokusrahmen gleitet federnd von Eintrag zu Eintrag, der fokussierte Eintrag
      wächst leicht, die übrigen treten zurück. Beim Ankommen läuft ein Glanzlicht über den Rahmen,
      ein Klick „drückt“ ihn wie einen Controller-Knopf. Steuerung: site.js (initNavCursor). */
:root {
  --ease-glide: cubic-bezier(0.2, 1.25, 0.35, 1);  /* gleitet mit leichtem Nachfedern */
  --ease-bump: cubic-bezier(0.34, 1.8, 0.64, 1);
}
.nav-link { position: relative; }
.nav-label { display: inline-flex; align-items: center; gap: .35rem; }
.nav-cursor { display: none; }

@media (min-width: 1100px) {
  .main-nav { position: relative; }
  .main-nav ul { position: relative; z-index: 1; }
  .main-nav .nav-link { z-index: 1; }
  .nav-label {
    transition: transform 220ms var(--ease-out), opacity 220ms var(--ease-out), color 220ms var(--ease-out);
  }
  .nav-cursor {
    display: block; position: absolute; left: 0; top: 0; z-index: 0; pointer-events: none;
    width: var(--cursor-w, 0); height: var(--cursor-h, 0);
    transform: translate(var(--cursor-x, 0), var(--cursor-y, 0));
    border-radius: 999px; overflow: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.04));
    box-shadow:
      0 0 0 2px rgba(255,255,255,.92),
      0 0 18px 2px rgba(111,220,127,.38),
      0 6px 18px rgba(0,0,0,.35);
    opacity: 0;
    transition:
      transform 340ms var(--ease-glide),
      width 340ms var(--ease-glide),
      opacity 200ms var(--ease-out),
      box-shadow 260ms var(--ease-out),
      scale 260ms var(--ease-bump);
  }
  .nav-cursor.is-down { transition-duration: 340ms, 340ms, 200ms, 260ms, 80ms; }
  .nav-cursor.no-anim { transition: none; }
  .nav-cursor.is-visible { opacity: 1; }
  /* In Ruhe (nur aktueller Abschnitt markiert): dezenter Rahmen */
  .nav-cursor.is-resting {
    box-shadow: 0 0 0 1.5px rgba(255,255,255,.35), 0 0 12px rgba(111,220,127,.18);
    background: rgba(255,255,255,.05);
  }
  /* Glanzlicht beim Ankommen */
  .nav-cursor::after {
    content: ""; position: absolute; inset: -20% auto -20% 0; width: 45%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
    transform: translateX(-160%) skewX(-18deg);
    opacity: 0;
  }
  .nav-cursor.is-shine::after { animation: nav-shine 650ms var(--ease-out) 90ms; }
  /* Klick: kurzes Eindrücken (federt zurück) + grüner Ring */
  .nav-cursor { scale: 1; }
  .nav-cursor.is-down { scale: .92; }
  .nav-cursor::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(72,250,37,.7); opacity: 0;
  }
  .nav-cursor.is-ring::before { animation: nav-ring 420ms var(--ease-out); }

  /* Fokussierter Eintrag hebt sich hervor, die anderen treten zurück */
  .main-nav.is-focusing .nav-link .nav-label { opacity: .62; }
  .main-nav.is-focusing .nav-link.is-target .nav-label { opacity: 1; color: #fff; transform: scale(1.07); }
  .main-nav .nav-link[aria-current] .nav-label { color: var(--green-light); }
  .main-nav.is-focusing .nav-link.is-target[aria-current] .nav-label { color: #fff; }
  .main-nav .nav-link:focus-visible { outline: none; } /* Fokus zeigt der leuchtende Rahmen */
}
@keyframes nav-shine {
  0% { transform: translateX(-160%) skewX(-18deg); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translateX(320%) skewX(-18deg); opacity: 0; }
}
@keyframes nav-ring {
  from { box-shadow: 0 0 0 0 rgba(72,250,37,.75); opacity: 1; }
  to { box-shadow: 0 0 0 12px rgba(72,250,37,0); opacity: 0; }
}

/* 8) Smartphone-Menü: Einträge springen kurz nacheinander herein (nur beim Öffnen) */
@media (max-width: 1099px) {
  .js .main-nav.is-open li { animation: nav-item-in 220ms var(--ease-bump) both; }
  .js .main-nav.is-open li:nth-child(2) { animation-delay: 25ms; }
  .js .main-nav.is-open li:nth-child(3) { animation-delay: 50ms; }
  .js .main-nav.is-open li:nth-child(4) { animation-delay: 75ms; }
  .js .main-nav.is-open li:nth-child(5) { animation-delay: 100ms; }
  .js .main-nav.is-open li:nth-child(6) { animation-delay: 120ms; }
  .js .main-nav.is-open li:nth-child(n+7) { animation-delay: 140ms; }
}
@keyframes nav-item-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .main-nav .nav-link .nav-label { transform: none !important; }
  .nav-cursor { transition: opacity 150ms ease !important; }
  .nav-cursor::after, .nav-cursor::before { animation: none !important; }
  .js .main-nav.is-open li { animation: none; }
  .notice,
  .lightbox-img,
  .lightbox[open] .lightbox-img,
  .js .main-nav,
  .btn:active,
  .header-call:active,
  .nav-toggle:active,
  .notice-close:active,
  .hero-social a:active,
  .mobile-bar a:active { transform: none; }
  @starting-style {
    .notice[open] { transform: none; }
    .js .main-nav.is-open { transform: none; }
    .lightbox[open] .lightbox-img { transform: none; }
    .tabpanel:not([hidden]) { transform: none; }
  }
}

/* ---------- Smartphone wie eine App bedienen ----------
   Tipp-Highlight aus (eigenes :active-Feedback ist vorhanden), kein 300-ms-Doppeltipp-Warten,
   Bedienelemente nicht markierbar. Inhalte (Adresse, Preise, Texte) bleiben kopierbar. */
html { -webkit-tap-highlight-color: transparent; }
a, button, summary, [role="button"], [role="tab"] { touch-action: manipulation; }
.btn, .nav-toggle, .header-call, .mobile-bar a, .tab, .about-thumb, .notice-close, .lightbox-btn, .hero-social a, .to-top {
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}

/* Hover-Effekte nur mit echter Maus – auf Touch bleiben sie sonst nach dem Antippen „hängen“ */
@media (hover: hover) and (pointer: fine) {
  a:hover { color: var(--green-dark); }
  .btn-primary:hover { background: var(--green-dark); color: #fff; }
  .btn-outline:hover { background: var(--green-tint); color: var(--green-dark); }
  .btn-ghost:hover { background: rgba(0, 0, 0, .55); color: #fff; }
  .btn-whatsapp:hover { background: #0d6e30; color: #fff; }
  .header-call:hover { color: #fff; background: var(--green-dark); }
  .main-nav a:hover { color: var(--green-light); }
  .hero-social a:hover { background: var(--green-strong); border-color: var(--green-strong); color: #fff; }
  a.quickinfo-item:hover { color: #fff; text-decoration: underline; }
  .download-link:hover { background: rgba(255,255,255,.06); color: #fff; }
  .site-footer a:hover { color: var(--green-light); }
  .notice-close:hover { background: var(--bg-soft); }
  .main-nav .nav-link:hover { color: #fff; }
}

/* ---------- Nur lokal: Umschalter für Break-UI-Testdaten (wird auf dem Webspace nie ausgegeben) ---------- */
.dev-data-toggle {
  position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 9999; transform: translateX(-50%);
  display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: #d4d4d4;
  font: 600 12px/1 system-ui, sans-serif; box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.dev-data-toggle a { padding: 7px 11px; border-radius: 999px; color: #333; text-decoration: none; white-space: nowrap; }
.dev-data-toggle a[aria-current] { background: #fff; color: #000; }
@media (max-width: 799px) { .has-mobile-bar .dev-data-toggle { bottom: calc(72px + env(safe-area-inset-bottom, 0px)); } }

/* ---------- Druck ---------- */
@media print {
  .site-header, .mobile-bar, .notice, .hero-media, .to-top, .skip-link { display: none !important; }
  .hero { min-height: 0; color: #000; }
}

[hidden] { display: none !important; }
