/* bestsonicbrandingagency.com: lists published by EightSix */

@font-face { font-family: "General Sans"; src: url("/fonts/GeneralSans-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("/fonts/GeneralSans-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("/fonts/GeneralSans-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --ground: #fefefe;
  --ink: #0a0a0a;
  --soft: #474747;
  --tone: #f0f0f0;
  --tone-2: #e4e4e4;
  --inv-soft: #bdbdbd;

  --m: clamp(20px, 3.4vw, 48px);
  --axis: 42%;
  --gap: clamp(96px, 13vw, 208px);

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.02rem + 1vw, 1.875rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(1.75rem, 5.4vw, 5.375rem);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
html[lang="de"] { --step-display: clamp(1.375rem, 4.25vw, 4.25rem); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "General Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: var(--step-body);
  line-height: 1.45;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ol, ul, dl, dd, figure, table, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; }
a:hover { text-decoration-thickness: 0.14em; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.inv :focus-visible { outline-color: var(--ground); }
::selection { background: var(--ink); color: var(--ground); }
strong { font-weight: 500; }

.skip { position: absolute; left: var(--m); top: -80px; background: var(--ink); color: var(--ground); padding: 12px 16px; z-index: 20; }
.skip:focus { top: 12px; }

main { position: relative; z-index: 1; background: var(--ground); }

/* buttons: flat, square, one fill */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  background: var(--ink); color: var(--ground);
  font: inherit; font-weight: 500; text-decoration: none; border: 0; border-radius: 0; cursor: pointer;
  transition: transform 180ms var(--ease), background-color 180ms linear;
}
.btn:hover { background: #2b2b2b; }
.btn:active { transform: translateY(1px) scale(0.985); }
.inv .btn { background: var(--ground); color: var(--ink); }
.inv .btn:hover { background: var(--tone-2); }

/* ---------- first screen ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: var(--axis) 1fr;
  align-items: end;
  padding: 0 var(--m) 72px;
}
.top {
  position: absolute; top: 44px; left: 0; right: 0; padding: 0 var(--m);
  display: grid; grid-template-columns: var(--axis) 1fr auto; align-items: center;
}
.wordmark { font-weight: 500; text-decoration: none; line-height: 1.2; max-width: 18ch; }
.top-links { display: flex; gap: 28px; }
.top-links a { text-decoration: none; }
.top-links a:hover { text-decoration: underline; }
.hero-note { max-width: 32ch; color: var(--soft); padding-right: 24px; padding-bottom: 0.35em; }
.hero h1 {
  font-size: var(--step-display);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
}
.mask { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.mask > span { display: block; }

/* ---------- intro ---------- */
.intro { padding: 96px var(--m) 0; }
.intro .lead { font-size: var(--step-lead); line-height: 1.22; letter-spacing: -0.012em; }
.cols4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 72px; }
.cols4 p strong { font-weight: 700; }

/* ---------- the list at a glance + shortlist ---------- */
.glance { padding: var(--gap) var(--m) 0; display: grid; grid-template-columns: var(--axis) 1fr; align-items: start; }
.glance h2 { font-size: var(--step-head); font-weight: 500; letter-spacing: -0.03em; line-height: 1; max-width: 9ch; }
.need { margin-top: 40px; padding-right: 32px; }
.need p { max-width: 30ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; max-width: 30em; }
.chip {
  min-height: 44px; padding: 0 16px; border: 0; border-radius: 0; cursor: pointer;
  background: var(--tone); color: var(--ink); font: inherit;
  transition: background-color 160ms linear, color 160ms linear, transform 160ms var(--ease);
}
.chip:hover { background: var(--tone-2); }
.chip:active { transform: scale(0.97); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--ground); }
.need-status { margin-top: 20px; min-height: 1.5em; font-weight: 500; }
html:not(.js) .need { display: none; }

.rows li { transition: opacity 240ms linear; }
.rows a {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 16px;
  min-height: 44px; padding: 9px 12px; margin: 0 -12px; text-decoration: none;
  transition: background-color 160ms linear;
}
.rows a:hover { background: var(--tone); }
.rows .where { color: var(--soft); font-size: var(--step-small); text-align: right; }
.rows li.off { opacity: 0.28; }
.rows li.own a { font-weight: 500; }

/* ---------- picture bands ---------- */
.band { margin-top: var(--gap); }
.band .frame { overflow: hidden; height: min(78svh, 56vw); background: var(--tone); }
.band img, .band video { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.band figcaption, .pair figcaption { padding: 14px var(--m) 0; font-size: var(--step-small); color: var(--soft); max-width: 70ch; }
.drift img { animation: drift 26s ease-in-out infinite alternate; transform-origin: 60% 50%; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.07) translateX(-1.2%); } }

.pair { margin-top: var(--gap); padding: 0 var(--m); display: grid; grid-template-columns: 5fr 7fr; gap: 24px; align-items: end; }
.pair figcaption { padding-left: 0; padding-right: 0; }
.pair .frame { overflow: hidden; background: var(--tone); }
.pair img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.pair .tall .frame { aspect-ratio: 4 / 5; }
.pair .wide .frame { aspect-ratio: 3 / 2; }

/* ---------- the entries ---------- */
.entries { padding: var(--gap) var(--m) 0; }
.entries > h2 { font-size: var(--step-head); font-weight: 500; letter-spacing: -0.03em; line-height: 1; margin-left: var(--axis); max-width: 12ch; }
.entry-list { margin-top: 88px; display: grid; row-gap: 104px; }
.entry { display: grid; grid-template-columns: var(--axis) 1fr; align-items: start; scroll-margin-top: 32px; }
.entry .place { font-size: var(--step-head); font-weight: 500; letter-spacing: -0.03em; line-height: 1; color: var(--soft); padding-right: 24px; }
.entry.own .place { color: var(--ink); }
.entry .city { margin-top: 12px; color: var(--soft); max-width: 22ch; }
.entry h3 { font-size: var(--step-head); font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.entry .body { max-width: 60ch; }
.entry .body p { margin-top: 20px; }
.entry .body p:first-of-type { margin-top: 28px; }
.entry .fit { font-weight: 500; }
.entry .src { color: var(--ink); }
.entry.own { background: var(--tone); margin: 0 calc(var(--m) * -1); padding: 56px var(--m); }
.entry .entry-action { margin-top: 28px; }

/* ---------- how to choose ---------- */
.choose { padding: var(--gap) var(--m) 0; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 56px; }
.choose .stage { grid-column-end: -1; }
.choose .stage:nth-child(1) { grid-column-start: 1; }
.choose .stage:nth-child(2) { grid-column-start: 3; }
.choose .stage:nth-child(3) { grid-column-start: 5; }
.choose .stage:nth-child(4) { grid-column-start: 7; }
.choose h2, .choose h3 { font-size: var(--step-head); font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.choose p { margin-top: 12px; max-width: 34ch; }

/* ---------- costs ---------- */
.costs { padding: var(--gap) var(--m) 0; }
.costs table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.costs caption { text-align: left; caption-side: top; }
.costs th, .costs td { text-align: left; vertical-align: top; padding: 20px 20px 20px 0; font-weight: 400; }
.costs col.label { width: 30%; }
.costs thead th { padding-bottom: 36px; }
.costs thead th:first-child h2 { font-size: var(--step-head); font-weight: 500; letter-spacing: -0.03em; line-height: 1; max-width: 8ch; }
.costs .plan { display: block; font-size: var(--step-lead); font-weight: 700; letter-spacing: -0.015em; line-height: 1.1; }
.costs .prices td { font-size: var(--step-lead); line-height: 1.15; letter-spacing: -0.015em; }
.costs tbody th { font-size: var(--step-lead); line-height: 1.2; letter-spacing: -0.012em; padding-left: 20px; }
.costs tbody td { padding-left: 20px; }
.costs thead th + th, .costs tbody td { padding-left: 20px; }
.costs tbody tr:nth-child(odd) th, .costs tbody tr:nth-child(odd) td { background: var(--tone); }
.costs-side { margin-top: 72px; display: grid; grid-template-columns: var(--axis) 1fr; align-items: start; }
.costs-side .note { max-width: 34ch; padding-right: 32px; }
.costs-side .frame { overflow: hidden; background: var(--tone); aspect-ratio: 9 / 8; }
.costs-side img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.costs-side figcaption { font-size: var(--step-small); color: var(--soft); padding-top: 14px; max-width: 60ch; }

/* ---------- faq ---------- */
.faq { padding: var(--gap) var(--m) 0; }
.faq h2 { font-size: var(--step-head); font-weight: 500; letter-spacing: -0.03em; line-height: 1; max-width: 14ch; }
.faq-list { margin-top: 80px; margin-left: 33.333%; display: grid; row-gap: 12px; }
.faq details { padding: 12px 24px; margin: 0 -24px; transition: background-color 200ms linear; }
.faq details[open] { background: var(--tone); padding-bottom: 28px; }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 24px; gap: 24px; align-items: center; font-size: var(--step-lead); line-height: 1.2; letter-spacing: -0.012em; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-3px, -3px); transition: transform 220ms var(--ease); justify-self: center; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details p { margin-top: 14px; max-width: 54ch; }

/* ---------- close ---------- */
.inv { background: var(--ink); color: var(--ground); }
.cta { margin-top: var(--gap); min-height: 92svh; padding: 96px var(--m) 40px; display: grid; grid-template-rows: 1fr auto; }
.cta h2 { font-size: var(--step-display); font-weight: 500; letter-spacing: -0.035em; line-height: 0.98; }
.cta .foot { display: grid; grid-template-columns: var(--axis) 1fr auto; align-items: end; gap: 24px; }
.cta .foot p { max-width: 36ch; font-size: var(--step-lead); line-height: 1.22; letter-spacing: -0.012em; }

.site-foot { position: sticky; bottom: 0; z-index: 0; min-height: 100svh; padding: 40px var(--m) 20px; display: grid; grid-template-rows: auto 1fr auto; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.foot-cols h2 { font-size: inherit; font-weight: 500; }
.foot-cols p, .foot-cols li { color: var(--inv-soft); }
.foot-cols a { color: var(--ground); }
.foot-cols ul { display: grid; row-gap: 4px; margin-top: 4px; }
.foot-word { align-self: end; }
.foot-word svg { display: block; width: 100%; height: auto; }
.foot-word text { font-family: "General Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 700; letter-spacing: -0.04em; fill: var(--ground); }
.legal { margin-top: 20px; font-size: var(--step-small); color: var(--inv-soft); display: flex; flex-wrap: wrap; gap: 8px 24px; }
.legal a { color: var(--inv-soft); }
.credits { margin-top: 12px; font-size: var(--step-small); color: var(--inv-soft); max-width: 110ch; }
.credits a { color: var(--inv-soft); }

/* ---------- plain pages (imprint, privacy) ---------- */
.plain { padding: 44px var(--m) 120px; }
.plain .back { text-decoration: none; font-weight: 500; }
.plain h1 { font-size: var(--step-head); font-weight: 500; letter-spacing: -0.03em; line-height: 1; margin-top: 120px; max-width: 16ch; }
.plain .sheet { margin-top: 64px; margin-left: var(--axis); max-width: 60ch; }
.plain h2 { font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.012em; line-height: 1.2; margin-top: 48px; }
.plain p { margin-top: 14px; }

/* ---------- motion ---------- */
@keyframes rise { from { transform: translateY(108%); } to { transform: translateY(0); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.mask > span { animation: rise 900ms var(--ease) both; }
.mask:nth-child(2) > span { animation-delay: 110ms; }
.hero-note, .hero .top { animation: fade-up 700ms var(--ease) 520ms both; }

html.js [data-in] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
html.js [data-in].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mask > span, .hero-note, .hero .top, .drift img { animation: none; }
  html.js [data-in] { opacity: 1; transform: none; transition: none; }
  .btn, .chip { transition: none; }
}

/* ---------- tablet ---------- */
@media (max-width: 1000px) {
  .cols4 { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .foot-cols { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .faq-list { margin-left: 16.666%; }
  .choose .stage:nth-child(2) { grid-column-start: 2; }
  .choose .stage:nth-child(3) { grid-column-start: 3; }
  .choose .stage:nth-child(4) { grid-column-start: 4; }
}

/* ---------- phone ---------- */
@media (max-width: 900px) {
  :root { --step-display: clamp(1.625rem, 8.7vw, 4rem); }
  html[lang="de"] { --step-display: clamp(1.375rem, 7vw, 3.4rem); }
  .hero { grid-template-columns: 1fr; padding-bottom: 28px; align-content: end; row-gap: 20px; }
  .hero h1 { order: 1; }
  .hero-note { order: 2; padding: 0; max-width: 34ch; }
  .hero .top { top: 24px; grid-template-columns: 1fr auto; }
  .top-links { display: none; }
  .intro { padding-top: 72px; }
  .cols4 { grid-template-columns: 1fr; row-gap: 32px; margin-top: 48px; }
  .glance { grid-template-columns: 1fr; row-gap: 40px; }
  .need { padding-right: 0; margin-top: 28px; }
  .rows { max-width: none; }
  .band .frame { height: 62svh; }
  .pair { grid-template-columns: 1fr; row-gap: 40px; }
  .entries > h2 { margin-left: 0; }
  .entry-list { margin-top: 56px; row-gap: 72px; }
  .entry { grid-template-columns: 1fr; row-gap: 20px; }
  .entry .place { padding-right: 0; }
  .entry .city { margin-top: 8px; max-width: none; }
  .entry.own { padding: 40px var(--m); }
  .choose { column-gap: 0; row-gap: 40px; }
  .choose .stage { grid-column: 1 / -1 !important; }
  .choose .stage:nth-child(2) { padding-left: 6vw; }
  .choose .stage:nth-child(3) { padding-left: 12vw; }
  .choose .stage:nth-child(4) { padding-left: 18vw; }
  .costs table, .costs thead, .costs tbody, .costs tr, .costs th, .costs td, .costs caption { display: block; }
  .costs colgroup { display: none; }
  .costs thead tr { display: block; }
  .costs thead th { padding: 0; }
  .costs thead th + th { display: none; }
  .costs tbody tr { padding: 28px 20px; margin: 0 calc(var(--m) * -1); padding-left: var(--m); padding-right: var(--m); }
  .costs tbody tr:nth-child(odd) th, .costs tbody tr:nth-child(odd) td { background: transparent; }
  .costs tbody tr:nth-child(odd) { background: var(--tone); }
  .costs tbody th { padding: 0 0 8px; }
  .costs tbody td { padding: 14px 0 0; }
  .costs tbody td::before { content: attr(data-plan); display: block; font-weight: 700; }
  .costs thead { margin-bottom: 32px; }
  .costs-side { grid-template-columns: 1fr; margin-top: 56px; row-gap: 40px; }
  .costs-side .note { max-width: none; padding-right: 0; }
  .faq-list { margin-left: 0; margin-top: 48px; }
  .cta { min-height: 80svh; padding-top: 72px; }
  .cta .foot { grid-template-columns: 1fr; row-gap: 28px; }
  .cta .foot .btn { width: 100%; min-height: 56px; }
  .cta .foot .spacer { display: none; }
  .foot-cols { grid-template-columns: repeat(2, 1fr); }
  .plain .sheet { margin-left: 0; }
  .plain h1 { margin-top: 72px; }
}
