/* Services, prices and request form on /work/ and /de/pakete/ (Work and packages merged 2026-11-09).
   Loaded after /work/work.css. */

/* EN/DE switch, same look as on the homepage (copied from styles.css, which these pages do not load). */
.lang-switch {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-left: 28px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: color 160ms ease;
}
.lang-switch:hover { color: var(--text); }
.lang-switch:focus-visible { outline: 2px solid #5a7dab; outline-offset: 4px; }
.site-header > .lang-switch + .theme-toggle { margin-left: 14px; }
@media (max-width: 560px) {
  .site-header > .lang-switch { order: 1; margin-left: auto; }
}

.pkg-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.pkg-back { margin: 0; font-size: 14px; color: var(--muted); }
.pkg-back a:hover { color: var(--text); }

.pkg-section { padding: clamp(28px, 4vw, 56px) 0; }

.pkg-regular {
  margin: 0 0 clamp(24px, 3vw, 36px);
  padding: 16px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.pkg-regular strong { color: var(--text); font-weight: 650; }
.pkg-regular a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* Cards */
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 32px);
}

.pkg {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  transition: border-color 200ms ease;
}
.pkg.is-chosen { border-color: var(--text); }
.pkg-plain { grid-column: 1 / -1; }

.pkg-media { background: #111; }
.pkg-media-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }

.pkg-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  background: #111;
}
.pkg-thumb.wide { aspect-ratio: 16 / 9; }
.pkg-media-pair .pkg-thumb.wide { aspect-ratio: auto; height: 100%; min-height: 0; }
.pkg-media-pair .pkg-thumb video { aspect-ratio: 16 / 9; height: auto; }
.pkg-tall .pkg-thumb { aspect-ratio: 16 / 11; }
.pkg-thumb img,
.pkg-thumb video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pkg-tall .pkg-thumb img,
.pkg-tall .pkg-thumb video { object-fit: contain; }

.pkg-play {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.62);
  color: #f4f1ea;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: transform 180ms ease, background-color 180ms ease;
}
.pkg-play svg { width: 26px; height: 26px; margin-left: 3px; }
.pkg-play:hover { transform: scale(1.06); background: rgba(20, 20, 20, 0.8); }
.pkg-play:focus-visible { outline: 2px solid #f4f1ea; outline-offset: 3px; }
.pkg-thumb.is-playing .pkg-play,
.pkg-thumb.is-playing .pkg-tag { display: none; }

.pkg-tag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 9px;
  border-radius: 4px;
  background: rgba(20, 20, 20, 0.72);
  color: #e2d8c8;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}
.pkg-link:hover .pkg-tag { background: rgba(20, 20, 20, 0.9); }

.pkg-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: clamp(18px, 2vw, 26px);
}
.pkg-specs {
  margin: 0;
  color: var(--soft);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.professional-page .pkg h4 {
  margin: 0;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.pkg-price { margin: 0; color: var(--text); font-size: 20px; font-weight: 650; letter-spacing: -0.01em; }
.pkg-price span { color: var(--muted); font-size: 14px; font-weight: 500; letter-spacing: 0; }

.pkg-about { display: grid; gap: 10px; margin: 6px 0 0; }
.pkg-about div { display: grid; gap: 2px; }
.pkg-about dt { color: var(--soft); font-size: 12px; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; }
.pkg-about dd { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

.pkg-qty { margin-top: auto; padding-top: 12px; }
.pkg-add,
.pkg-stepper button,
.pkg-send,
.pkg-copy {
  font: inherit;
  cursor: pointer;
}
.pkg-add {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  transition: border-color 160ms ease, background-color 160ms ease;
}
.pkg-add:hover { border-color: var(--text); }
.pkg-stepper { display: inline-flex; align-items: center; gap: 4px; padding: 3px; border: 1px solid var(--text); border-radius: 999px; }
.pkg-stepper[hidden], .pkg-add[hidden] { display: none; }
.pkg-stepper button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  font-size: 20px;
  line-height: 1;
}
.pkg-stepper button:hover { background: var(--line); }
.pkg-stepper output { min-width: 28px; text-align: center; font-weight: 650; }
.pkg-add:focus-visible,
.pkg-stepper button:focus-visible,
.pkg-send:focus-visible,
.pkg-copy:focus-visible { outline: 2px solid #5a7dab; outline-offset: 3px; }

/* How it works */
.pkg-how-box,
.pkg-order-box {
  display: grid;
  grid-template-columns: minmax(160px, 0.32fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 56px);
  padding-top: clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--line);
}
.professional-page .pkg-how h2,
.professional-page .pkg-order h2 {
  margin: 0 0 18px;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.035em;
}
.pkg-how-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 32px; margin: 0; padding: 0; list-style: none; }
.professional-page .pkg-how-list h3 { margin: 0 0 4px; font-size: 17px; line-height: 1.3; letter-spacing: -0.01em; }
.pkg-how-list p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* Request */
.pkg-order-box { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.pkg-order-head { grid-column: 1 / -1; }
.pkg-order-head p:last-child { max-width: 620px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.pkg-summary {
  align-self: start;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.professional-page .pkg-summary h3 { margin: 0 0 12px; font-size: 17px; letter-spacing: -0.01em; }
.pkg-empty, .pkg-note { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.pkg-lines { display: grid; gap: 8px; margin: 0 0 12px; padding: 0; list-style: none; font-size: 15px; }
.pkg-lines li { display: flex; justify-content: space-between; gap: 16px; }
.pkg-lines li span:last-child { color: var(--muted); white-space: nowrap; }
.pkg-total { display: flex; justify-content: space-between; gap: 16px; margin: 0 0 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 15px; }
.pkg-total[hidden], .pkg-empty[hidden] { display: none; }
.pkg-total strong { font-size: 18px; }
.pkg-note { margin-top: 12px; font-size: 13px; }

.pkg-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.pkg-form label { display: grid; gap: 6px; font-size: 14px; color: var(--text); }
.pkg-optional { color: var(--soft); }
.pkg-form input,
.pkg-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 16px;
}
.pkg-form textarea { resize: vertical; }
.pkg-form input:focus, .pkg-form textarea:focus { outline: 2px solid #5a7dab; outline-offset: 1px; }
.pkg-wide { grid-column: 1 / -1; }
.pkg-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pkg-send {
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--text);
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-size: 15px;
  font-weight: 650;
}
.pkg-copy {
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}
.pkg-copy:hover { border-color: var(--text); }
.pkg-status { min-height: 1.5em; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

/* Floating summary while choosing */
.pkg-slip {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: calc(100% - 32px);
  padding: 10px 12px 10px 18px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-size: 14px;
  box-shadow: var(--shadow);
  transform: translateX(-50%);
  transition: opacity 200ms ease, transform 200ms ease;
}
.pkg-slip[hidden] { display: none; }
.pkg-slip.is-away { opacity: 0; pointer-events: none; transform: translate(-50%, 12px); }
.pkg-slip > span:last-child { padding: 7px 14px; border-radius: 999px; background: var(--bg); color: var(--text); font-weight: 650; white-space: nowrap; }
.pkg-slip strong { white-space: nowrap; }

@media (max-width: 860px) {
  .pkg-grid { grid-template-columns: 1fr; }
  .pkg-how-box, .pkg-order-box { grid-template-columns: 1fr; }
  .pkg-how-list { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .pkg-form { grid-template-columns: 1fr; }
  .pkg-slip { gap: 10px; font-size: 13px; }
  .pkg-slip > span:first-child { display: none; }
  .pkg-media-pair { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .pkg, .pkg-play, .pkg-slip { transition: none; }
}

/* Category groups */
.pkg-services-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px 32px; margin-bottom: 22px; }
.professional-page .pkg-services-head h2 { margin: 0; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -0.04em; }
.pkg-cat-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--muted); }
.pkg-cat-nav a:hover { color: var(--text); }
.pkg-group { padding-top: clamp(28px, 3.5vw, 44px); scroll-margin-top: calc(var(--header-h) + 12px); }
.pkg-group + .pkg-group { margin-top: clamp(12px, 2vw, 20px); border-top: 1px solid var(--line); }
.pkg-group-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 24px; margin-bottom: 18px; }
.professional-page .pkg-group-head h3 { margin: 0; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; letter-spacing: -0.03em; }
.pkg-group-head p { margin: 6px 0 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.pkg-more { flex: none; color: var(--text); font-size: 14px; font-weight: 600; white-space: nowrap; }
.pkg-more:hover { text-decoration: underline; text-underline-offset: 4px; }
.pkg-grid-single { grid-template-columns: 1fr; }
.pkg-grid-single .pkg { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.pkg-grid-single .pkg-media { height: 100%; }
.pkg-grid-single .pkg-thumb.wide { height: 100%; min-height: 260px; aspect-ratio: auto; }
.pkg-on-request { color: var(--muted); font-size: 17px; }
#services, #request { scroll-margin-top: var(--header-h); }
@media (max-width: 860px) {
  .pkg-grid-single .pkg { display: flex; }
  .pkg-grid-single .pkg-thumb.wide { min-height: 0; aspect-ratio: 16 / 9; }
}
