/* ============================================================================
   Permanent Make-up München — stylesheet
   ----------------------------------------------------------------------------
   Order: tokens, reset, typography, layout primitives, components, sections,
   utilities, media queries. Components are grouped with the section they were
   written for; anything reused by three or more sections moved up to
   "Components".
   ==========================================================================*/

@import url('../fonts/fonts.css');

/* ---------------------------------------------------------------- Tokens -- */
:root {
  /* The palette is built from pigment colours — the warm browns and muted
     roses a PMU artist actually works in — rather than generic beauty pink. */
  --bg:            #faf7f4;
  --bg-warm:       #f3ece5;
  --surface:       #ffffff;
  --ink:           #241b1c;
  --ink-soft:      #4a3c3c;
  --muted:         #7d6d69;
  --line:          #e6dcd4;
  --line-strong:   #d6c7bc;
  --accent:        #b07a68;
  --accent-deep:   #8c5a4c;
  --accent-tint:   #f6ece7;
  --gold:          #c9a227;
  --dark:          #1d1516;
  --dark-soft:     #2b2022;

  --font-display: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --wrap:      1180px;
  --wrap-tight: 780px;
  --radius:    2px;
  --radius-lg: 4px;

  --shadow-sm: 0 1px 2px rgba(36, 27, 28, .04), 0 4px 14px rgba(36, 27, 28, .05);
  --shadow-md: 0 2px 6px rgba(36, 27, 28, .06), 0 18px 44px rgba(36, 27, 28, .10);

  --ease: cubic-bezier(.22, .61, .36, 1);

  /* Header height, kept in a variable because the sticky section offsets and
     the mobile drawer's top edge both have to agree with it. */
  --header-h: 76px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--dark);
  color: #fff;
  padding: 12px 20px;
  text-decoration: none;
}
.skip-link:focus { left: 12px; top: 12px; }

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

/* ------------------------------------------------------------ Typography -- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  overflow-wrap: break-word;
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1.1em; color: var(--ink-soft); }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  line-height: 1.72;
  color: var(--ink-soft);
}

/* The small uppercase label that opens most sections. */
.eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 26px;
  height: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: .8em;
  transform: translateY(-1px);
}

.script {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  color: var(--accent-deep);
}

/* ---------------------------------------------------------------- Layout -- */
.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}
.wrap-tight { width: min(100% - 2.5rem, var(--wrap-tight)); margin-inline: auto; }

section { padding: clamp(4rem, 8vw, 7.5rem) 0; }
.section-warm { background: var(--bg-warm); }
.section-dark { background: var(--dark); color: #f0e8e4; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #cbbcb7; }
.section-dark .eyebrow { color: #d5a794; }
.section-dark .eyebrow::before { background: #a97a68; }

.section-head { max-width: 62ch; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }

.grid { display: grid; gap: clamp(1.2rem, 2.4vw, 2rem); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

/* ------------------------------------------------------------ Components -- */

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  padding: 1rem 1.9rem;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease),
              border-color .3s var(--ease), transform .3s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--accent-deep); color: #fff; }
.btn-primary:hover { background: var(--ink); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

.section-dark .btn-ghost,
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.32); }
.section-dark .btn-ghost:hover,
.cta-band .btn-ghost:hover { background: #fff; color: var(--dark); border-color: #fff; }

/* WhatsApp is the booking channel, so it gets its own unmistakable colour. */
.btn-wa { background: #128c4a; color: #fff; }
.btn-wa:hover { background: #0d6c39; color: #fff; }
.btn-wa svg { width: 18px; height: 18px; fill: currentColor; }

.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn-row.center { justify-content: center; }

/* Cards -------------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.6vw, 2.2rem);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease),
              border-color .35s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.card h3 { margin-bottom: .5rem; hyphens: auto; }
.card p { font-size: .95rem; }

/* Photography -------------------------------------------------------------- */
/* Every photo is delivered at the ratio its slot uses, so object-fit is a
   safety net rather than the mechanism — a replacement image at a slightly
   different ratio fills the slot instead of stretching the layout. */
.media {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--bg-warm);
}
.media-3x2 { aspect-ratio: 3 / 2; }
.media-1x1 { aspect-ratio: 1 / 1; }

.service-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--bg-warm);
}

.gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--bg-warm);
  transition: transform .4s var(--ease);
}
.gallery img:hover { transform: scale(1.02); }

.ba img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--bg-warm);
}
/* The label sits on the image, so the cell has to be the positioning context. */
.ba-cell { position: relative; }

/* The hero photograph carries the same soft frame the placeholder had. */
.hero-figure .media { box-shadow: var(--shadow-md); }

/* Image placeholders ------------------------------------------------------- */
/* Real photography has not been delivered yet. Rather than ship broken <img>
   tags or grey boxes, every image slot renders as a warm pigment-toned panel
   with the monogram, so the layout reads as finished. Swapping in a photo is
   `<img>` in place of `<div class="ph">` — the aspect ratios already match. */
.ph {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 90% at 25% 15%, #f7ece6 0%, transparent 60%),
    radial-gradient(100% 100% at 85% 90%, #e7d3c8 0%, transparent 62%),
    linear-gradient(150deg, #efe0d7 0%, #dcc5b8 55%, #cbb0a2 100%);
  display: grid;
  place-items: center;
  isolation: isolate;
}
.ph::after {
  /* Hairline frame, inset — reads as an intentional passe-partout. */
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 2px;
  pointer-events: none;
}
.ph-mark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 3.2vw, 2.6rem);
  line-height: 1.15;
  color: rgba(255, 255, 255, .72);
  letter-spacing: .04em;
  user-select: none;
  max-width: 82%;
  text-align: center;
  overflow-wrap: break-word;
  hyphens: auto;
}
.ph-4x5  { aspect-ratio: 4 / 5; }
.ph-1x1  { aspect-ratio: 1 / 1; }
.ph-3x2  { aspect-ratio: 3 / 2; }
.ph-16x9 { aspect-ratio: 16 / 9; }

/* Same treatment, darker, for use on the dark sections. */
.ph-dark {
  background:
    radial-gradient(120% 90% at 25% 15%, #4a3630 0%, transparent 60%),
    linear-gradient(150deg, #3a2a27 0%, #241b1c 100%);
}
.ph-dark .ph-mark { color: rgba(255, 255, 255, .3); }
.ph-dark::after { border-color: rgba(255, 255, 255, .14); }

/* Plain link list — the contact card. Checkmarks there read as a claim that a
   phone number has been ticked off, and at 9px the rotated square looks like a
   dropdown chevron rather than a tick. */
.linklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.linklist a { text-decoration: none; color: var(--ink-soft); transition: color .25s var(--ease); }
.linklist a:hover { color: var(--accent-deep); }

/* Pill list (used for "what's included") ----------------------------------- */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.ticks li {
  position: relative;
  padding-left: 1.8rem;
  font-size: .95rem;
  color: var(--ink-soft);
}
.ticks li::before {
  /* A checkmark, not a chevron: equal arms read as a dropdown arrow, so the
     upstroke is made roughly twice the downstroke. */
  content: '';
  position: absolute;
  left: 2px; top: .42em;
  width: 5px; height: 10px;
  border-right: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(40deg);
}
.section-dark .ticks li { color: #cbbcb7; }

/* Header ------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(250, 247, 244, .86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(250, 247, 244, .96);
}
.header-inner {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.22rem;
  letter-spacing: .02em;
  color: var(--ink);
  white-space: nowrap;
}
.brand-sub {
  font-size: .58rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: 1.2rem; }
/* Eight items: a label must never wrap inside itself, or the whole header
   row gains a second line and the brand stops aligning with the CTA. */
.nav a { white-space: nowrap; }
.nav a {
  font-size: .8rem;
  letter-spacing: .04em;
  text-decoration: none;
  color: var(--ink-soft);
  position: relative;
  padding: .3rem 0;
  transition: color .25s var(--ease);
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current='page']::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav a[aria-current='page'] { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: .9rem; }

/* Language switcher -------------------------------------------------------- */
.lang {
  display: flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
}
.lang a {
  background: none;
  border: 0;
  padding: .42rem .62rem;
  text-decoration: none;
  line-height: 1;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.lang a + a { border-left: 1px solid var(--line); }
.lang a[aria-current='true'] { background: var(--ink); color: #fff; }

/* Mobile drawer ------------------------------------------------------------ */
.burger {
  display: none;
  width: 42px; height: 42px;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.burger span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.burger span + span { margin-top: 4px; }
.burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.drawer {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 55;
  background: var(--bg);
  padding: 2rem 1.25rem 2.5rem;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
}
.drawer.is-open { opacity: 1; transform: none; visibility: visible; }
.drawer nav { display: grid; gap: .2rem; }
.drawer nav a {
  font-family: var(--font-display);
  font-size: 1.6rem;
  text-decoration: none;
  color: var(--ink);
  padding: .55rem 0;
  border-bottom: 1px solid var(--line);
}
.drawer .btn-row { margin-top: 2rem; }
.drawer .btn { width: 100%; }

/* Sticky mobile action bar ------------------------------------------------- */
/* On a phone the two things a visitor wants are "call" and "WhatsApp". Keeping
   them permanently in reach is the single biggest conversion lever on a site
   like this, so they sit above the fold at all times below 720px. */
.action-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  display: none;
  border-top: 1px solid var(--line);
  background: rgba(250, 247, 244, .97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: .55rem .7rem calc(.55rem + env(safe-area-inset-bottom));
  gap: .6rem;
}
.action-bar .btn { flex: 1; padding: .9rem .6rem; font-size: .74rem; }

/* Footer ------------------------------------------------------------------- */
.site-footer {
  background: var(--dark);
  color: #bfaeaa;
  padding: clamp(3.5rem, 6vw, 5.5rem) 0 2rem;
  font-size: .9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(1.8rem, 4vw, 3rem);
}
.site-footer h4 {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.1rem;
}
.site-footer a { color: #bfaeaa; text-decoration: none; transition: color .25s var(--ease); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-sub { color: #8d7a76; }
.site-footer p { color: #a5928e; }

.socials { display: flex; gap: .7rem; margin-top: 1.2rem; }
.socials a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.socials a:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.4); }
.socials svg { width: 17px; height: 17px; fill: currentColor; }

.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.6rem;
  justify-content: space-between;
  font-size: .82rem;
  color: #8d7a76;
}
.footer-bottom nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }

/* Opening-hours table ------------------------------------------------------ */
.hours { width: 100%; border-collapse: collapse; font-size: .92rem; }
.hours th, .hours td { text-align: left; padding: .55rem 0; font-weight: 400; }
.hours tr + tr { border-top: 1px solid var(--line); }
.hours td { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--accent-deep); font-weight: 500; }
.section-dark .hours tr + tr { border-top-color: rgba(255,255,255,.12); }
.section-dark .hours th { color: #e6dad6; }
.section-dark .hours td { color: #a5928e; }

/* ------------------------------------------------------------------- Hero -- */
.hero {
  position: relative;
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem);
  background:
    radial-gradient(80% 60% at 78% 12%, var(--accent-tint) 0%, transparent 65%),
    var(--bg);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 { margin-bottom: .35em; }
.hero h1 em { font-style: italic; color: var(--accent-deep); }
.hero .lead { max-width: 46ch; }
.hero .btn-row { margin-top: 2.2rem; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 2.4rem;
  margin-top: 2.8rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}
.hero-meta div { min-width: 90px; }
.hero-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 400;
  line-height: 1;
  color: var(--accent-deep);
}
.hero-meta span {
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* The hero image column: a tall portrait with a smaller offset frame. */
.hero-figure { position: relative; }
.hero-figure .ph-main { box-shadow: var(--shadow-md); }
.hero-badge {
  position: absolute;
  left: -22px;
  bottom: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1rem 1.3rem;
  box-shadow: var(--shadow-md);
  max-width: 230px;
}
.hero-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--ink);
}
.hero-badge span { font-size: .78rem; color: var(--muted); }

/* Trust strip -------------------------------------------------------------- */
.trust {
  border-block: 1px solid var(--line);
  background: var(--surface);
  padding: 1.6rem 0;
}
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2.8rem;
  text-align: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .82rem;
  letter-spacing: .06em;
  color: var(--muted);
}
.trust-item svg { width: 17px; height: 17px; stroke: var(--accent); fill: none; stroke-width: 1.4; }

/* --------------------------------------------------------------- Services -- */
.service-card { display: flex; flex-direction: column; height: 100%; padding: 0; overflow: hidden; }
.service-card .ph { border-radius: 0; }
.service-body { padding: clamp(1.4rem, 2.4vw, 1.9rem); display: flex; flex-direction: column; flex: 1; }
.service-body h3 { margin-bottom: .4rem; }
.service-price {
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.service-price b {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--accent-deep);
}
.service-price span { font-size: .78rem; color: var(--muted); }

/* ------------------------------------------------------------------ Steps -- */
.steps { counter-reset: step; display: grid; gap: clamp(1.4rem, 3vw, 2.2rem); }
.step { position: relative; padding-left: 4.2rem; }
.step::before {
  counter-increment: step;
  content: '0' counter(step);
  position: absolute;
  left: 0; top: -.15em;
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--accent);
  opacity: .55;
  line-height: 1;
}
.step h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.step p { font-size: .94rem; margin: 0; }

/* --------------------------------------------------------------- Gallery -- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: clamp(.7rem, 1.4vw, 1.1rem);
}
.gallery .ph { transition: transform .4s var(--ease); }
.gallery .ph:hover { transform: scale(1.02); }

/* Before/after pairs render as two halves of one frame. */
.ba {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  background: var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
}
.ba .ph { border-radius: 0; }
.ba-label {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  background: rgba(29, 21, 22, .72);
  color: #fff;
  font-size: .64rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: .3rem .6rem;
  border-radius: 2px;
}

/* -------------------------------------------------------------- Price list -- */
.pricelist { display: grid; gap: 0; }
.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem 2rem;
  align-items: baseline;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}
.price-row:first-child { border-top: 1px solid var(--line); }
.price-row h4 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 600; margin: 0 0 .25rem; }
.price-row p { font-size: .89rem; margin: 0; color: var(--muted); }
.price-row .amount {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent-deep);
  white-space: nowrap;
}
.price-row .amount small {
  display: block;
  font-family: var(--font-body);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.note {
  background: var(--accent-tint);
  border-left: 2px solid var(--accent);
  padding: 1.2rem 1.4rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .92rem;
}
.note p { color: var(--ink-soft); }

/* ---------------------------------------------------------------- Courses -- */
.courses { display: grid; gap: clamp(1.2rem, 2.4vw, 2rem); grid-template-columns: repeat(3, 1fr); }

.course { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.course-media img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.course-body { padding: clamp(1.4rem, 2.4vw, 1.9rem); display: flex; flex-direction: column; flex: 1; }
.course-body .ticks { margin: 1.1rem 0; }
.course .service-price { margin-top: auto; }
.course .service-price b { display: flex; align-items: baseline; gap: .7rem; flex-wrap: wrap; }

/* The basic course is the flagship: it spans the full row and lays out
   side-by-side, so it reads as the anchor rather than one of four equals. */
.course-lead { grid-column: 1 / -1; flex-direction: row; }
.course-lead .course-media { flex: 0 0 40%; }
.course-lead .course-media img { height: 100%; aspect-ratio: auto; }
.course-lead .course-body { padding: clamp(1.8rem, 3.4vw, 2.8rem); }
.course-lead h3 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }

.promo-flag {
  font-family: var(--font-body);
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: var(--accent-tint);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  padding: .28rem .55rem;
  white-space: nowrap;
}

@media (max-width: 1000px) {
  .courses { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .course-lead { flex-direction: column; }
  .course-lead .course-media { flex: none; }
  .course-lead .course-media img { aspect-ratio: 3 / 2; }
}
@media (max-width: 620px) {
  .courses { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------- Testimonials -- */
.quote {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.3rem);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  height: 100%;
}
.quote-mark {
  font-family: var(--font-display);
  font-size: 3.2rem;
  line-height: .6;
  color: var(--accent);
  opacity: .38;
}
.quote blockquote { margin: 0; font-size: 1rem; line-height: 1.7; color: var(--ink-soft); }
.quote figcaption {
  margin-top: auto;
  padding-top: .4rem;
  font-size: .82rem;
  color: var(--muted);
}
.quote figcaption b { display: block; color: var(--ink); font-weight: 600; font-size: .9rem; }

/* Review screenshots: a masonry column flow, because every screenshot keeps
   its own ratio and a fixed grid would leave ragged gaps under the short ones. */
.shots { columns: 3 260px; column-gap: 1.2rem; }
.shot {
  display: block;
  break-inside: avoid;
  margin-bottom: 1.2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform .25s ease, box-shadow .25s ease;
}
.shot:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.shot img { display: block; width: 100%; height: auto; }

/* --------------------------------------------------------------------- FAQ -- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.35rem 2.5rem 1.35rem 0;
  position: relative;
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  position: absolute;
  right: .4rem; top: 50%;
  width: 9px; height: 9px;
  border-right: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 2.5rem 1.5rem 0; font-size: .95rem; }

/* ------------------------------------------------------------------- Form -- */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field label {
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field select, .field textarea {
  font: inherit;
  font-size: .95rem;
  padding: .85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink);
  width: 100%;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }

.consent {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.55;
}
.consent input { width: 17px; height: 17px; margin-top: .18em; flex: none; accent-color: var(--accent-deep); }
.consent a { color: var(--accent-deep); }

.form-note { font-size: .82rem; color: var(--muted); }

/* Honeypot — bots fill it, humans never see it. */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* -------------------------------------------------------------------- Map -- */
.map-shell {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-warm);
}
.map-shell iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-consent {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1rem;
  text-align: center;
  padding: 2rem;
  background:
    repeating-linear-gradient(45deg, #efe6de 0 12px, #ece2d9 12px 24px);
}
.map-consent p { font-size: .88rem; max-width: 40ch; margin: 0; }

/* ------------------------------------------------------------ Page header -- */
.page-head {
  padding: clamp(2.8rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  background:
    radial-gradient(70% 100% at 80% 0%, var(--accent-tint) 0%, transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.page-head h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
.page-head .lead { max-width: 58ch; }

.crumbs {
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: 1.4rem;
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent-deep); }

/* ------------------------------------------------------------------- CTA -- */
.cta-band {
  background: var(--dark);
  color: #fff;
  text-align: center;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #cbbcb7; max-width: 52ch; margin-inline: auto; }
.cta-band .btn-row { margin-top: 2rem; }

/* ------------------------------------------------------------------ Prose -- */
/* Impressum and Datenschutz — long-form legal text, narrow measure. */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.6rem; margin-top: 2.6rem; }
.prose h3 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 600; margin-top: 1.8rem; }
.prose p, .prose li { font-size: .95rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.prose a { color: var(--accent-deep); }

/* ------------------------------------------------------------- Reveal-in -- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ Media -- */
@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
}

/* The header runs out of room before the content does: eight nav items, the
   brand, the language switch and the CTA stop fitting at about 1100px, while
   the two-column layouts are still comfortable down to 900. Two breakpoints,
   because they are two different constraints. */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: grid; }
  .header-actions .btn-ghost { display: none; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { order: -1; max-width: 460px; margin-inline: auto; width: 100%; }
  .hero-badge { left: 12px; }
  .split { grid-template-columns: 1fr; }
  .g-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  :root { --header-h: 66px; }
  .header-actions .btn-wa { display: none; }
  body { padding-bottom: 74px; }   /* room for the sticky action bar */
  .action-bar { display: flex; }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .price-row { grid-template-columns: 1fr; }
  .price-row .amount { text-align: left; }
  .hero-meta { gap: 1.2rem 1.8rem; }
  .hero-meta strong { font-size: 1.6rem; }
  .step { padding-left: 3.4rem; }
  .step::before { font-size: 1.7rem; }
}

@media (max-width: 560px) {
  .brand-sub { display: none; }
}

@media (max-width: 420px) {
  .btn { padding: .95rem 1.4rem; }
}

@media print {
  .site-header, .action-bar, .drawer, .cta-band, .site-footer { display: none; }
  body { background: #fff; }
}
