/* Huck Media – 3 Seiten, Desktop-first, visuell korrigiert */
:root {
  --green: #98C218;
  --green-dark: #7aa314;
  --ink: #626262;
  --mute: #8a8a8a;
  --paper: #ffffff;
  --mist: #f4f6f0;
  --line: #ececec;
  --field: #f7f8f3;
  --max: 1200px;
  --click-radius: 12px;
  --click-pad-y: 10px;
  --click-pad-x: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Lato", "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  cursor: url("../img/cursor-default.svg") 6 4, auto;
}
a[href],
button:not(:disabled),
summary,
.theme-toggle,
.lang-btn,
.cookie-accept,
.mobile-tabs a,
.fokus-act,
.fokus-col,
label[for],
input[type="checkbox"],
select {
  cursor: url("../img/cursor-pointer.svg") 6 4, pointer;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(var(--max), calc(100% - 80px)); margin: 0 auto; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 40px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 18px; line-height: 1; }
.brand .huck { font-weight: 900; font-size: 26px; letter-spacing: .02em; color: var(--green); }
.brand .media { font-weight: 300; font-size: 24px; color: var(--ink); }
.brand img { height: 64px; width: auto; display: block; }
.brand-mark { height: 44px !important; width: 44px !important; border-radius: 50%; flex: 0 0 auto; object-fit: contain; }
.brand-word { height: 50px !important; width: auto; }
.links { display: flex; gap: 8px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); align-items: center; }
.links a {
  padding: 8px 14px;
  border-radius: var(--click-radius);
  color: var(--mute);
  font-weight: 400;
  transition: background .15s ease, color .15s ease;
}
.links a:hover { color: var(--green); font-weight: 700; }
.links a.active {
  background: var(--green);
  color: #fff !important;
  font-weight: 700;
}
.links a.active:hover { background: var(--green); color: #fff !important; }
.cta {
  background: var(--green); color: #fff; padding: 11px 20px; border-radius: var(--click-radius);
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; white-space: nowrap;
}
.cta:hover { background: var(--green); color: #fff; }

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
  height: min(68vh, 640px);
}
.hero-copy {
  position: relative;
  background: var(--green); color: #fff;
  padding: 72px 64px;
  padding-right: max(64px, calc(min(120px, 22%) + 56px));
  display: flex; flex-direction: column; justify-content: center;
}
.hero-logo {
  position: absolute;
  top: clamp(20px, 3.5vw, 36px);
  right: clamp(20px, 4vw, 48px);
  width: min(120px, 22%);
  height: auto;
  pointer-events: none;
  user-select: none;
  opacity: 0.98;
  z-index: 1;
}


/* Tablet: logo mark only (no wordmark) */
@media (min-width: 901px) and (max-width: 1200px) {
  .brand-word { display: none !important; }
  .brand-mark {
    height: 52px !important;
    width: 52px !important;
  }
  .brand { gap: 0; }
}

@media (max-width: 1100px) and (min-width: 901px) {
  .hero-logo {
    width: min(96px, 18%);
    top: 24px;
    right: 24px;
  }
  .hero-copy {
    padding-right: max(48px, calc(min(96px, 18%) + 40px));
  }
}

.kicker { letter-spacing: .28em; font-size: 11px; text-transform: uppercase; opacity: .9; margin-bottom: 18px; font-weight: 700; }
.hero h1 { font-size: clamp(36px, 4.4vw, 52px); line-height: .98; font-weight: 900; max-width: 12ch; }
.hero p { margin-top: 22px; font-size: 17px; line-height: 1.55; max-width: 36ch; font-weight: 400; }
.hero-actions { margin-top: 32px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.btn-white { background: #fff; color: var(--ink); padding: 13px 22px; border-radius: var(--click-radius); font-weight: 700; }
.btn-white:hover { background: var(--green); color: #fff; }
.btn-ghost { color: #fff; border-bottom: 2px solid #fff; padding-bottom: 3px; font-weight: 700; }
.hero-art {
  background: #111;
  overflow: hidden;
  perspective: 900px;
  transform-style: preserve-3d;
}
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
  transform: scale(1.06);
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform .08s linear;
}
.hero-art.hero-tilt { cursor: url("../img/cursor-grab.svg") 14 14, grab; }
.hero-art.hero-tilt-gyro { cursor: url("../img/cursor-default.svg") 6 4, auto; }
.hero-art.hero-tilt:active { cursor: url("../img/cursor-grabbing.svg") 14 14, grabbing; }
@media (prefers-reduced-motion: reduce) {
  .hero-art img { transform: none !important; transition: none !important; }
}

.section { padding: 72px 0 40px; }
.section h1, .section h2 {
  font-size: 34px;
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: -.02em;
  color: var(--green);
}
h2.subhead { color: var(--green); }
.lead { color: var(--mute); max-width: 62ch; line-height: 1.6; margin-bottom: 36px; font-size: 16px; }
.kicker-page { color: var(--green); letter-spacing: .28em; font-size: 11px; text-transform: uppercase; font-weight: 700; margin-bottom: 12px; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  background: var(--paper); padding: 0;
  aspect-ratio: 1 / 1;
  min-height: 0;
  display: flex; flex-direction: column; gap: 0;
  overflow: hidden;
  border-radius: 0;
}
.card-top {
  flex: 1 1 auto;
  min-height: 0;
  padding: 0;
  background: #ececec;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  overflow: hidden;
}
.card-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.item .ico { width: 50px; height: 50px; flex: 0 0 50px; margin-top: 2px; }
.card-copy {
  background: var(--green); color: #fff;
  padding: 14px 16px 16px;
  flex: 0 0 auto;
  min-height: 6.6em;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
a.card { color: inherit; text-decoration: none; }
a.card:hover .card-copy { filter: brightness(0.94); }
a.card:hover .card-art { transform: scale(1.03); }
.card-art { transition: transform .35s ease; }
.card h3 { font-size: 17px; color: #fff; margin-bottom: 4px; }
.card p { font-size: 13px; color: #fff; line-height: 1.4; }

/* Featured social post — single card, same look as service cards */
.social-latest-grid {
  display: grid;
  grid-template-columns: minmax(220px, 280px);
  gap: 16px;
  max-width: none;
  justify-content: start;
}
.social-latest .social-card {
  aspect-ratio: 1 / 1;
  width: 100%;
  box-sizing: border-box;
  border: 0;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06), inset 0 1px 8px rgba(0, 0, 0, 0.12);
}
.social-latest .social-card .card-art {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}
html[data-theme="dark"] .social-latest .social-card {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), inset 0 1px 10px rgba(0, 0, 0, 0.45);
}
.social-latest .social-card .card-copy {
  min-height: 7.8em;
}
.social-latest .social-card .card-copy p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.35;
}


.quote {
  margin: 48px auto 64px;
  width: min(var(--max), calc(100% - 80px));
  background: var(--green); color: #fff;
  padding: 40px 48px;
  display: grid; grid-template-columns: 1.45fr .7fr; gap: 24px; align-items: center;
}
.quote p { font-size: 24px; font-weight: 900; line-height: 1.25; }
.quote span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .92; justify-self: end; }

.footer {
  padding: 22px 40px 32px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--mute); font-size: 13px; border-top: 1px solid var(--line);
}
.footer a:hover { color: var(--green); }

.list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 40px; min-width: 0; }
.list > * { min-width: 0; }
.item {
  padding: 22px 0 20px; border-top: 1px solid var(--green);
  display: flex; flex-direction: column; gap: 8px;
  align-items: stretch; width: 100%; min-width: 0;
}
.item-copy { min-width: 0; }
.item h3 { font-size: 20px; margin-bottom: 6px; }
.item p { color: var(--mute); line-height: 1.5; font-size: 15px; }

.contact, .impressum {
  display: grid;
  grid-template-columns: minmax(320px, 38%) 1fr;
  min-height: calc(100vh - 105px);
  align-items: stretch;
}
.impressum { align-items: start; }
.aside { background: var(--green); color: #fff; padding: 64px 56px; }
.contact .aside { height: 100%; min-height: 100%; }
.aside h1 { font-size: clamp(32px, 4vw, 44px); font-weight: 900; margin: 10px 0 22px; line-height: 1.05; }
.aside p { line-height: 1.6; max-width: 34ch; font-size: 16px; }
.aside .meta { margin-top: 40px; font-size: 15px; line-height: 1.7; }
.aside a { border-bottom: 1px solid rgba(255,255,255,.45); }
.aside a:hover { color: #fff; border-bottom-color: #fff; background: color-mix(in srgb, #fff 18%, transparent); }

.form { padding: 64px 56px 72px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; max-width: 640px; }
.field { display: flex; flex-direction: column; gap: 8px; margin: 10px 0 6px; }
.field.full { grid-column: 1 / -1; }
label { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); font-weight: 700; }
input[type="text"], input[type="email"], select, textarea {
  width: 100%; border: 0; border-bottom: 2px solid #e2e2e2; padding: 10px 0 12px;
  font: inherit; font-size: 16px; outline: none; background: transparent; color: var(--ink);
  border-radius: 0;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-bottom-color: var(--green); }
select { background: var(--paper); }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--mute); line-height: 1.45; text-transform: none; letter-spacing: 0; font-weight: 400; }
.check input { margin-top: 3px; accent-color: var(--green); }
.check a { color: var(--green); text-decoration: underline; }
button.send {
  margin-top: 20px; background: var(--green); color: #fff; border: 0; padding: 14px 28px;
  border-radius: var(--click-radius); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; cursor: url("../img/cursor-pointer.svg") 6 4, pointer; font-family: inherit;
}
button.send:hover { background: var(--green); color: #fff; }
button.send:disabled { opacity: .6; cursor: wait; }
.status { margin-top: 14px; font-size: 14px; color: var(--mute); min-height: 1.2em; }
.status.ok { color: var(--green-dark); font-weight: 700; }
.status.err { color: #b42318; }


.fokus-banner {
  display: block;
  width: min(900px, 75%);
  margin: 8px auto 56px;
}
@media (min-width: 901px) {
  .fokus-banner {
    width: min(585px, 48.75%); /* 35% smaller than 900px / 75% */
  }
}
.fokus-banner img { width: 100%; height: auto; display: block; }
.fokus-banner .fokus-dark { display: none; }
html[data-theme="dark"] .fokus-banner .fokus-light { display: none; }
html[data-theme="dark"] .fokus-banner .fokus-dark { display: block; }

/* HTML commission banner (EN): transparent, uses page background */
.fokus-banner.fokus-html {
  background: transparent;
  text-decoration: none;
  color: inherit;
  padding: 8px 0 4px;
}
.fokus-banner.fokus-html .fokus-offers {
  margin-bottom: 12px;
  gap: 12px;
}
.fokus-banner.fokus-html .fokus-q {
  font-size: clamp(15px, 2.1vw, 20px);
}
.fokus-banner.fokus-html .fokus-pct {
  font-size: clamp(52px, 8vw, 88px);
}
.fokus-banner.fokus-html .fokus-act {
  font-size: clamp(16px, 2vw, 24px);
}
.fokus-banner.fokus-html .fokus-note {
  font-size: clamp(13px, 1.6vw, 16px);
}
.fokus-banner.fokus-html .fokus-neo {
  font-size: clamp(32px, 5.5vw, 56px);
}
.fokus-banner.fokus-html .fokus-ico {
  width: min(140px, 26vw);
}
html[data-theme="dark"] .fokus-q,
html[data-theme="dark"] .fokus-note {
  color: var(--ink);
}
html[data-theme="dark"] .fokus-banner.fokus-html .fokus-ico {
  /* charcoal silhouette stays readable on dark paper */
  filter: brightness(1.15);
}


.page-art {
  margin: 0;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--mist);
}
.page-art.slim { height: 150px; }
.page-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}


.fokus { padding: 28px 0 8px; }
.fokus-offers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}
.fokus-col {
  text-align: center;
  padding: 8px 12px 16px;
}
.fokus-col:hover .fokus-act { color: var(--green); }
.fokus-q {
  color: #4d4d4d;
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 4px;
}
.fokus-pct {
  color: var(--green);
  font-size: clamp(72px, 9.5vw, 112px);
  font-weight: 900;
  line-height: .88;
  letter-spacing: -.04em;
}
.fokus-act {
  color: var(--green);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  margin-top: 6px;
}
.fokus-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding: 8px 8px 24px;
}
.fokus-note {
  color: #4d4d4d;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 6px;
}
.fokus-neo {
  color: var(--green);
  font-size: clamp(44px, 7vw, 78px);
  font-weight: 900;
  letter-spacing: .01em;
  text-transform: uppercase;
  line-height: .95;
}
.fokus-ico { width: min(220px, 28vw); height: auto; flex: 0 0 auto; }

.logos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(3, auto);
  align-items: center;
  justify-items: center;
  gap: 22px 20px;
  margin: 8px 0 40px;
}
.logos img {
  height: 40px;
  width: auto;
  max-height: 40px;
  max-width: 100%;
  object-fit: contain;
}
.logos { margin-bottom: 36px; }
.logos-note {
  color: var(--mute);
  font-size: 15px;
  line-height: 1.6;
  max-width: 62ch;
  margin: 8px 0 40px;
}

.list.refs {
  grid-template-columns: 1fr 1fr;
  max-width: 100%;
  gap: 8px 40px;
}
.list.refs .item { border-top-width: 1px; }
.list.refs details.item summary::before { display: none; content: none; }
.list.refs details.item summary img.ico {
  display: block;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  margin-top: 2px;
}
.item .when {
  display: block; margin-top: 4px;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--mute);
}
.item .logo-ico {
  width: auto; height: 40px; max-width: 72px;
  object-fit: contain; flex: 0 0 auto; margin-top: 2px;
}
.proj-body {
  margin: 4px 0 8px 0; width: 100%; max-width: 100%;
  overflow-wrap: anywhere; word-break: break-word;
}
.proj-body p { color: var(--mute); font-size: 15px; line-height: 1.65; margin-bottom: 10px; }
.proj-body a { color: var(--green); text-decoration: underline; }
h2.subhead { font-size: 28px; margin: 48px 0 16px; }
.award { border-top: 3px solid var(--green); padding: 28px 0 8px; margin-top: 36px; max-width: 72ch; }
.award h3 { font-size: 20px; margin: 8px 0 8px; }
.award p { color: var(--mute); font-size: 15px; line-height: 1.6; }

.ref-block { max-width: 72ch; margin-bottom: 36px; }
.ref-block h3 { font-size: 22px; margin: 0 0 10px; }
.ref-block p { color: var(--mute); font-size: 16px; line-height: 1.65; margin-bottom: 12px; }
.ref-block ul { margin: 0 0 12px 18px; color: var(--mute); font-size: 15px; line-height: 1.6; }
.skills {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 16px 0 8px;
}
.skills span {
  background: color-mix(in srgb, var(--mist) 55%, transparent);
  color: var(--ink);
  border: 1px solid var(--line);
  font-size: 13px; padding: 6px 12px; border-radius: var(--click-radius);
}

@media (max-width: 900px) {
  .nav { padding: 16px 20px; flex-wrap: nowrap; }
  .cta { display: none; }
  .links { display: none !important; }
  .hero, .contact, .impressum, .list, .list.refs, .grid, .social-latest-grid, .quote, .form-grid, .fokus-offers { grid-template-columns: 1fr; }
  .fokus-foot { flex-direction: column; align-items: flex-start; }
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: none; gap: 18px 16px; }
  .logos img { height: 44px; }
  .hero { height: auto; min-height: 0; }
  .hero-art { height: 380px; }
  .hero-logo {
    width: min(64px, 16vw);
    right: 16px;
    top: 16px;
    bottom: auto;
    transform: none;
    z-index: 1;
  }
  .hero-copy, .aside, .form { padding: 48px 28px; }
  .hero-copy { padding-top: 56px; padding-right: 96px; }
  .quote { width: calc(100% - 40px); padding: 32px; }
  .quote span { justify-self: start; }
  .wrap { width: calc(100% - 40px); }
  .page-art { height: 150px; }
  .page-art.slim { height: 110px; }
}

.legal { padding: 28px 0 8px; border-top: 1px solid var(--green); margin-top: 8px; max-width: 78ch; }
.legal#angaben {
  border-top: none;
  margin-top: 0;
  padding-top: 8px;
}
.legal h3 { font-size: 22px; margin: 0 0 12px; color: var(--green); }
.legal h4 { font-size: 16px; margin: 22px 0 8px; color: var(--ink); }
.legal p { color: var(--mute); font-size: 15px; line-height: 1.65; margin-bottom: 12px; }
.legal a { color: var(--green); text-decoration: underline; }
.legal ul { margin: 0 0 14px 18px; color: var(--mute); font-size: 15px; line-height: 1.6; }
.legal-page .lead { margin-bottom: 28px; }

details.item { cursor: url("../img/cursor-pointer.svg") 6 4, pointer; flex-direction: column; width: 100%; }
details.item > summary {
  display: flex; gap: 16px; align-items: flex-start;
  list-style: none; cursor: url("../img/cursor-pointer.svg") 6 4, pointer; width: 100%; min-width: 0;
}
details.item > summary::-webkit-details-marker { display: none; }
details.item .hint {
  display: inline-block; margin-top: 8px;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green); font-weight: 700;
}
details.item[open] .hint { visibility: hidden; }
details.item .prices {
  list-style: none; margin: 8px 0 4px 0; padding: 0;
  width: 100%; max-width: 100%;
}
details.item .prices li {
  padding: 0; border-bottom: 1px solid var(--line);
  font-size: 15px; color: var(--ink);
}
details.item .prices .price { color: var(--green); font-weight: 700; white-space: nowrap; flex: 0 0 auto; }
details.sub { width: 100%; }
details.sub summary {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  list-style: none; cursor: url("../img/cursor-pointer.svg") 6 4, pointer; width: 100%; min-width: 0;
  padding: 10px 0;
}
details.sub summary::-webkit-details-marker { display: none; }
details.sub summary::marker { content: ""; }
details.sub .sub-name {
  min-width: 0; overflow-wrap: anywhere; font-weight: 700;
  padding-left: 18px; position: relative;
}
details.sub .sub-name::before {
  content: "+";
  position: absolute; left: 0; top: 0;
  color: var(--green); font-weight: 700; font-size: 15px; line-height: 1.3;
}
details.sub[open] .sub-name::before { content: "–"; }
details.sub .why {
  color: var(--mute); font-size: 14px; line-height: 1.55;
  padding: 0 0 12px 18px; max-width: 72ch; overflow-wrap: anywhere;
}

.footer-studio {
  position: relative;
  min-height: 0;
  padding: 22px 40px 32px;
  align-items: center;
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
  gap: 16px;
  border-top: 0;
  background: #1c1c1c url("../img/footer-studio.jpg") center 42% / cover no-repeat;
  isolation: isolate;
}
.footer-studio::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,22,12,.72) 0%, rgba(20,22,12,.18) 55%, rgba(20,22,12,.08) 100%);
  z-index: -1;
}
.footer-studio a { color: #fff; }
.footer-studio a:hover { color: var(--green); }

.impressum .aside { position: sticky; top: 105px; min-height: calc(100vh - 105px); padding: 64px 56px; }
.toc { margin-top: 36px; display: flex; flex-direction: column; }
.toc a {
  display: block; padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.28);
  font-size: 14px; letter-spacing: .02em;
}
.toc a:hover { color: var(--green); border-bottom-color: var(--green); }
.legal-col { padding: 64px 56px 72px; }
.impressum .legal { scroll-margin-top: 104px; }
@media (max-width: 900px) {
  .impressum { grid-template-columns: 1fr; }
  .impressum .aside { position: static; min-height: 0; }
  .legal-col { padding: 32px 28px 56px; }
}

/* Language switcher */
.nav-end {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.lang {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lang-btn {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  overflow: hidden;
  opacity: 0.55;
  padding: 0;
  line-height: 0;
  flex: 0 0 auto;
  background: transparent;
}
.lang-btn svg {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
}
.lang-btn:hover {
  opacity: 1;
  border-color: var(--green);
}
.lang-btn,
.lang-btn.active,
.lang-btn:hover {
  border-radius: 50% !important; /* beat global --click-radius */
}
.lang-btn.active {
  opacity: 1;
  border-color: var(--green);
  /* green circle around the active language flag */
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
@media (max-width: 900px) {
  .nav-end {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .nav-end .cta {
    display: none;
  }
  .lang {
    display: flex;
  }
}

/* Hover preview popup beside cursor */
@keyframes hover-open-in {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.hover-open-pop {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  box-sizing: border-box;
  width: max-content;
  max-width: min(560px, calc(100vw - 24px));
  max-height: none;
  overflow: visible;
  padding: 14px 16px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-family: "Lato", "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  transform-origin: top left;
  animation: hover-open-in 0.22s ease-out both;
}
.hover-open-pop[hidden] { display: none !important; animation: none; }
.hover-open-pop-title {
  font-weight: 800;
  font-size: 15px;
  margin: 0 0 8px;
  color: var(--ink);
}
.hover-open-pop .why,
.hover-open-pop .proj-body p,
.hover-open-pop p {
  color: var(--mute);
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.55;
}
.hover-open-pop .proj-body a { color: var(--green); text-decoration: underline; }
.hover-open-pop .skills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.hover-open-pop .skills span {
  background: color-mix(in srgb, var(--mist) 50%, transparent);
  color: var(--ink);
  border: 1px solid var(--line);
  font-size: 11px;
  padding: 4px 8px;
  border-radius: var(--click-radius);
}
.hover-open-pop ul.prices { list-style: none; margin: 0; padding: 0; }
.hover-open-pop ul.prices li {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.hover-open-pop ul.prices details.sub .why {
  margin: 2px 0 4px;
  font-size: 13px;
  line-height: 1.4;
}
.hover-open-pop.hover-open-pop--prices {
  max-width: min(640px, calc(100vw - 24px));
}
.hover-open-pop details.sub summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
  cursor: default;
  padding: 0;
}
.hover-open-pop details.sub summary::-webkit-details-marker { display: none; }
.hover-open-pop .sub-name { font-weight: 700; padding-left: 0; }
.hover-open-pop .sub-name::before { content: none; }
.hover-open-pop .price { color: var(--green); font-weight: 700; white-space: nowrap; }


/* Connect strip above footer */
.site-connect {
  width: min(var(--max), calc(100% - 80px));
  margin: 24px auto 8px;
  padding: 20px 0 8px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
}
.site-connect-mail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
}
.site-connect a.ci {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: var(--click-radius);
  padding: 8px 14px;
  transition: border-color .2s, background .2s, color .2s;
}
/* Light: same as social icons — solid green + white icon/text */
.site-connect a.ci:hover {
  background: var(--green) !important;
  border-color: var(--green);
  color: #fff !important;
}
.site-connect a.ci:hover img {
  filter: brightness(0) invert(1);
}
.site-connect a.ci img {
  width: 28px;
  height: 28px;
  display: block;
  flex: 0 0 auto;
}
.site-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.site-social a {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--click-radius);
  transition: border-color .2s, background .2s;
}
.site-social a:hover {
  border-color: var(--green);
  background: var(--green) !important;
}
.site-social a:hover img {
  filter: brightness(0) invert(1);
}
.site-social a img {
  width: 28px;
  height: 28px;
  display: block;
}

/* Form stack on Kontakt (contact + commission) */
.form-stack { max-width: 640px; }
.form-heading {
  color: var(--green);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 900;
  margin: 0 0 22px;
  line-height: 1.1;
}
html[data-theme="dark"] .form-heading,
html[data-theme="dark"] .legal h3 {
  color: var(--green);
}

.form-block + .form-block {
  margin-top: 96px;
  padding-top: 96px;
  border-top: 1px solid var(--green);
}
.contact .empfehlen {
  /* keep spacing from .form-block + .form-block — do not zero padding/margin */
  border-top: 0;
}
.contact .form-block.empfehlen {
  margin-top: 96px;
  padding-top: 96px;
  border-top: 1px solid var(--green);
}
.empfehlen .lead {
  margin: 0 0 24px;
  color: var(--mute);
  font-size: 15px;
  line-height: 1.55;
  max-width: 52ch;
}
.empfehlen .send { margin-top: 8px; }
@media (max-width: 900px) {
  .site-connect {
    width: calc(100% - 40px);
    flex-direction: column;
    align-items: flex-start;
  }
}


/* Cookie notice */
.cookie-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 10000;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 28px rgba(0,0,0,.08);
  padding: 14px 20px;
}
.cookie-bar-inner {
  width: min(var(--max), calc(100% - 24px));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
}
.cookie-bar p {
  margin: 0;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.45;
  max-width: 70ch;
}
.cookie-bar a { color: var(--green); text-decoration: underline; }
.cookie-accept {
  background: var(--green);
  color: #fff;
  border: 0;
  padding: 11px 18px;
  border-radius: var(--click-radius);
  font: inherit;
  font-weight: 700;
  cursor: url("../img/cursor-pointer.svg") 6 4, pointer;
  white-space: nowrap;
}
.cookie-accept:hover { background: var(--green); color: #fff; }

@media (max-width: 900px) {
  .hover-open-pop { display: none !important; }
  .brand-mark { display: none !important; }
  .brand-word { height: 56px !important; }
  .brand { gap: 0; }
  .site-connect {
    align-items: center !important;
    text-align: center;
  }
  .site-connect-mail {
    width: 100%;
    justify-content: center;
    gap: 8px 14px !important;
  }
  .site-social {
    width: 100%;
    justify-content: center;
  }
  .site-connect a.ci { font-size: 14px; gap: 8px; }
}


/* Mobile bottom tab bar */
.mobile-tabs {
  display: none;
}
@media (max-width: 900px) {
  .mobile-tabs {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 9000;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 24px rgba(0,0,0,.06);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
    justify-content: space-around;
    align-items: stretch;
    gap: 2px;
  }
  .mobile-tabs a {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 8px 2px;
    border-radius: 12px;
    color: var(--mute);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    line-height: 1.15;
    text-align: center;
    min-width: 0;
  }
  .mobile-tabs a svg {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .mobile-tabs a.active {
    color: #fff;
    background: var(--green);
  }
  .mobile-tabs a.active svg { stroke: #fff; }
  .mobile-tabs a:not(.active):active { background: var(--mist); }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .cookie-bar {
    bottom: calc(58px + env(safe-area-inset-bottom, 0px));
  }
  .footer { padding-bottom: 12px; }
}
/* Page assemble — simple slide from nearest edge */
.assemble-cloud-canvas { display: none !important; }
html.assemble-on .assemble {
  opacity: 0;
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--assemble-delay, 0ms);
  will-change: opacity, transform;
}
html.assemble-on .assemble.from-top {
  transform: translate3d(0, -36px, 0);
}
html.assemble-on .assemble.from-bottom {
  transform: translate3d(0, 36px, 0);
}
html.assemble-on .assemble.from-left {
  transform: translate3d(-40px, 0, 0);
}
html.assemble-on .assemble.from-right {
  transform: translate3d(40px, 0, 0);
}
html.assemble-on .assemble.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html.assemble-on .assemble {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Theme toggle */
.theme-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--click-radius);
  background: var(--paper);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: url("../img/cursor-pointer.svg") 6 4, pointer;
  flex: 0 0 auto;
  padding: 0;
  transition: border-color .15s, background .15s, color .15s;
}
.theme-toggle:hover {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}
.theme-toggle svg { width: 20px; height: 20px; display: block; }
.theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

/* Dark mode */
html[data-theme="dark"] {
  --ink: #c8c8c8;
  --mute: #8e8e8e;
  --paper: #121412;
  --mist: #1a1d17;
  --line: #2a2e26;
  --field: #1c1f19;
  --green: #98C218;
  --green-dark: #98C218;
  color-scheme: dark;
}
html[data-theme="dark"] body { background: var(--paper); color: var(--ink); }
html[data-theme="dark"] .nav { background: rgba(18, 20, 18, 0.94); backdrop-filter: blur(8px); }
/* Must beat .brand img { display:block } */
.brand img.brand-word-dark { display: none !important; }
html[data-theme="dark"] .brand img.brand-word-light { display: none !important; }
html[data-theme="dark"] .brand img.brand-word-dark { display: block !important; }
@media (min-width: 901px) and (max-width: 1200px) {
  html[data-theme="dark"] .brand img.brand-word-dark { display: none !important; }
}
html[data-theme="dark"] .logos img {
  filter: brightness(1.4) contrast(1.06);
  opacity: 0.98;
}
html[data-theme="dark"] .list.refs details.item summary img.ico {
  filter: brightness(1.25) contrast(1.04);
}

html[data-theme="dark"] .card { background: var(--mist); }
html[data-theme="dark"] .btn-white { background: #fff; color: #333; }
html[data-theme="dark"] input[type="text"],
html[data-theme="dark"] input[type="email"],
html[data-theme="dark"] select,
html[data-theme="dark"] textarea {
  color: var(--ink);
  border-bottom-color: #3a3f36;
  background: transparent;
}
html[data-theme="dark"] select { background: var(--field); }
html[data-theme="dark"] .cookie-bar { background: var(--mist); box-shadow: 0 -8px 28px rgba(0,0,0,.35); }
html[data-theme="dark"] .mobile-tabs { background: var(--mist); box-shadow: 0 -6px 24px rgba(0,0,0,.35); }
html[data-theme="dark"] .site-social a { background: var(--mist); }
/* Match light-mode social hover: green tile + white icon */
html[data-theme="dark"] .site-social a:hover {
  background: var(--green) !important;
  border-color: var(--green);
}
html[data-theme="dark"] .site-social a:hover img {
  /* gray like dark page background (#121412), not white */
  filter: brightness(0) invert(7%);
}
/* Footer mail/phone: same night hover as social icons */
html[data-theme="dark"] .site-connect a.ci {
  border: 1px solid var(--line);
  border-radius: var(--click-radius);
  padding: 8px 14px;
  background: var(--mist);
  transition: border-color .2s, background .2s, color .2s;
}
html[data-theme="dark"] .site-connect a.ci:hover {
  background: var(--green) !important;
  border-color: var(--green);
  color: var(--paper) !important;
}
html[data-theme="dark"] .site-connect a.ci:hover img {
  filter: brightness(0) invert(7%);
}
html[data-theme="dark"] .form { background: var(--paper); }
html[data-theme="dark"] .item { border-top-color: var(--green); }




/* Nav always solid & visible (no assemble / no 3D vanish) */
header.nav {
  z-index: 50;
  background: var(--paper) !important;
  transform: none !important;
  filter: none !important;
  opacity: 1 !important;
  perspective: none !important;
}
header.nav .assemble,
header.nav .brand,
header.nav .links,
header.nav .links a,
header.nav .nav-end,
header.nav .nav-end > * {
  /* Keep nav solid during page-assemble; allow hover glow */
  opacity: 1 !important;
  transform: none !important;
}
.mobile-tabs {
  z-index: 9000;
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}
.assemble-cloud-canvas { z-index: 30; }

/* Green blocks stay brand-green; text matches dark page paper (not white) */
html[data-theme="dark"] {
  --on-green: var(--paper); /* #121412 — same as night background */
}
html[data-theme="dark"] .card-copy,
html[data-theme="dark"] .quote,
html[data-theme="dark"] .hero-copy,
html[data-theme="dark"] .aside {
  background: var(--green);
  color: var(--on-green);
}
html[data-theme="dark"] .card-copy h3,
html[data-theme="dark"] .card-copy p,
html[data-theme="dark"] .card h3,
html[data-theme="dark"] .card p,
html[data-theme="dark"] .quote p,
html[data-theme="dark"] .quote span,
html[data-theme="dark"] .hero-copy,
html[data-theme="dark"] .hero-copy .kicker,
html[data-theme="dark"] .hero-copy h1,
html[data-theme="dark"] .hero-copy p,
html[data-theme="dark"] .aside,
html[data-theme="dark"] .aside h1,
html[data-theme="dark"] .aside p,
html[data-theme="dark"] .aside .meta,
html[data-theme="dark"] .aside .kicker {
  color: var(--on-green);
}
html[data-theme="dark"] .btn-ghost {
  color: var(--on-green);
  border-bottom-color: var(--on-green);
}
html[data-theme="dark"] .aside a {
  color: var(--on-green);
  border-bottom-color: color-mix(in srgb, var(--on-green) 45%, transparent);
}
html[data-theme="dark"] .aside a:hover,
html[data-theme="dark"] .toc a:hover,
html[data-theme="dark"] .hero-copy a:hover,
html[data-theme="dark"] .quote a:hover,
html[data-theme="dark"] .card-copy a:hover,
html[data-theme="dark"] .btn-ghost:hover {
  color: #fff !important;
  border-bottom-color: #fff;
  background: color-mix(in srgb, #fff 16%, transparent);
}
/* Solid green controls: label color = page paper */
html[data-theme="dark"] .cta,
html[data-theme="dark"] .cta:hover,
html[data-theme="dark"] .links a.active,
html[data-theme="dark"] .links a.active:hover,
html[data-theme="dark"] button.send,
html[data-theme="dark"] button.send:hover,
html[data-theme="dark"] .cookie-accept,
html[data-theme="dark"] .cookie-accept:hover,
html[data-theme="dark"] .btn-white:hover,
html[data-theme="dark"] .theme-toggle:hover,
html[data-theme="dark"] .mobile-tabs a.active {
  color: var(--on-green) !important;
}
html[data-theme="dark"] .mobile-tabs a.active svg {
  stroke: var(--on-green);
}
/* toc hover on green aside: white — see aside a:hover block */

/* Referenzen open panels: blend with page background */
.list.refs details.item .proj-body,
.list.refs details.item .prices {
  background: transparent;
}
html[data-theme="dark"] .list.refs details.item .proj-body,
html[data-theme="dark"] .list.refs details.item .prices,
html[data-theme="dark"] details.item .prices {
  background: transparent;
}
html[data-theme="dark"] .hover-open-pop {
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}


/* Simple green hover — always brand green #98C218; keep text readable on green blocks */
a[href]:not(.cta):not(.brand):not(.card):not(.fokus-html):not(.btn-ghost):hover,
button:not(:disabled):not(.send):not(.cookie-accept):not(.theme-toggle):hover,
summary:hover,
.mobile-tabs a:hover:not(.active),
.lang-btn:hover {
  color: var(--green); /* #98C218 */
}
.lang-btn:hover {
  border-color: var(--green);
  outline-color: var(--green);
  opacity: 1;
}
/* Homepage hero ghost link sits on green — stay light so text stays readable */
.btn-ghost:hover,
.hero-copy .btn-ghost:hover {
  color: #fff;
  border-bottom-color: #fff;
  opacity: 0.92;
}
html[data-theme="dark"] .btn-ghost:hover,
html[data-theme="dark"] .hero-copy .btn-ghost:hover {
  color: #fff;
  border-bottom-color: #fff;
}
/* Service cards: keep copy readable on green tile while image scales */
a.card:hover .card-copy,
a.card:hover .card-copy h3,
a.card:hover .card-copy p,
a.card:hover .card h3,
a.card:hover .card p {
  color: #fff;
}
html[data-theme="dark"] a.card:hover .card-copy,
html[data-theme="dark"] a.card:hover .card-copy h3,
html[data-theme="dark"] a.card:hover .card-copy p,
html[data-theme="dark"] a.card:hover .card h3,
html[data-theme="dark"] a.card:hover .card p {
  color: var(--on-green);
}
/* Night mode: keep hover green identical to green block backgrounds */
html[data-theme="dark"] a.card:hover .card-copy {
  filter: none;
}
html[data-theme="dark"] .links a:hover,
html[data-theme="dark"] .footer a:hover,
html[data-theme="dark"] .mobile-tabs a:hover:not(.active),
html[data-theme="dark"] a[href]:not(.cta):not(.brand):not(.card):not(.fokus-html):not(.btn-ghost):hover {
  color: var(--green);
}
html[data-theme="dark"] .site-social a:hover,
html[data-theme="dark"] .site-connect a.ci:hover,
html[data-theme="dark"] .theme-toggle:hover {
  background: var(--green) !important;
  border-color: var(--green);
}

.mobile-tabs a:hover:not(.active) {
  color: var(--green);
}
.mobile-tabs a.active {
  color: #fff;
}
html[data-theme="dark"] .mobile-tabs a.active {
  color: var(--paper) !important;
}
.check a:hover,
.legal a:hover,
.proj-body a:hover,
.cookie-bar a:hover {
  color: var(--green);
}
summary:hover {
  color: var(--green);
}
/* Already-green solid controls stay brand green (no darken flash) */
.cta:hover,
.links a.active:hover,
button.send:hover,
.cookie-accept:hover,
.btn-white:hover,
.theme-toggle:hover {
  color: #fff !important;
}
html[data-theme="dark"] .cta:hover,
html[data-theme="dark"] .links a.active:hover,
html[data-theme="dark"] button.send:hover,
html[data-theme="dark"] .cookie-accept:hover,
html[data-theme="dark"] .btn-white:hover,
html[data-theme="dark"] .theme-toggle:hover,
html[data-theme="dark"] .cta,
html[data-theme="dark"] .links a.active,
html[data-theme="dark"] button.send,
html[data-theme="dark"] .cookie-accept {
  color: var(--paper) !important;
}

/* Header logo: no hover effect */
a.brand:hover,
a.brand:focus {
  background: transparent !important;
  color: inherit !important;
  filter: none !important;
  box-shadow: none !important;
}


/* Mobile readable type scale */
@media (max-width: 900px) {
  body { font-size: 17px; }
  .hero h1 { font-size: clamp(40px, 9.5vw, 50px); }
  .hero p { font-size: 18px; line-height: 1.6; }
  .kicker, .kicker-page { font-size: 12px; }
  .section h1, .section h2 { font-size: 30px; }
  .lead { font-size: 17px; line-height: 1.65; }
  .card h3 { font-size: 18px; }
  .card p { font-size: 14.5px; line-height: 1.45; }
  .quote p { font-size: 22px; }
  .quote span { font-size: 13px; }
  .item h3 { font-size: 22px; }
  .item p { font-size: 16px; line-height: 1.55; }
  .aside h1 { font-size: clamp(34px, 9vw, 42px); }
  .aside p { font-size: 17px; }
  .aside .meta { font-size: 16px; }
  label { font-size: 12px; }
  .check { font-size: 14px; }
  .status { font-size: 15px; }
  .legal h3 { font-size: 24px; }
  .legal h4 { font-size: 17px; }
  .legal p, .legal ul { font-size: 16px; }
  .proj-body p { font-size: 16px; }
  .ref-block h3 { font-size: 22px; }
  .ref-block p, .ref-block ul { font-size: 16px; }
  details.item .hint { font-size: 12px; }
  details.item .prices li { font-size: 16px; }
  details.sub .why { font-size: 15px; }
  .toc a { font-size: 15px; }
  .footer { font-size: 14px; }
  .site-connect a.ci { font-size: 15px; }
  .form-heading { font-size: clamp(28px, 7vw, 34px); }
  .mobile-tabs a { font-size: 10px; }
  .cookie-bar { font-size: 14px; }
}

/* Leistungen: Unterleistung → Kontaktanfrage */
details.sub > summary.sub-inquiry {
  cursor: pointer;
}
details.sub > summary.sub-inquiry:hover .sub-name {
  color: var(--green, #98C218);
}

/* Form success overlay */
html.form-success-open { overflow: hidden; }
.form-success {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}
.form-success.is-open {
  opacity: 1;
  pointer-events: auto;
}
.form-success[hidden] { display: none !important; }
.form-success.is-open[hidden] { display: grid !important; }
.form-success-backdrop {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, #0c1008 55%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.form-success-panel {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  background: var(--green);
  color: #fff;
  border-radius: 16px;
  padding: 44px 40px 36px;
  box-shadow: 0 24px 60px color-mix(in srgb, #000 28%, transparent);
  text-align: left;
  transform: translateY(12px) scale(0.98);
  transition: transform .32s ease;
}
.form-success.is-open .form-success-panel {
  transform: translateY(0) scale(1);
}
.form-success-kicker {
  letter-spacing: .28em;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  opacity: .92;
  margin-bottom: 14px;
}
.form-success-title {
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: .01em;
  margin: 0 0 14px;
  color: #fff;
}
.form-success-body {
  font-size: 16px;
  line-height: 1.55;
  opacity: .95;
  margin: 0 0 28px;
  max-width: 36ch;
}
.form-success-btn {
  appearance: none;
  border: 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 12px;
  padding: 13px 22px;
  border-radius: var(--click-radius);
  cursor: url("../img/cursor-pointer.svg") 6 4, pointer;
}
.form-success-btn:hover {
  background: color-mix(in srgb, #fff 88%, #000);
  color: var(--ink);
}
html[data-theme="dark"] .form-success-btn {
  color: #121412;
}
html[data-theme="dark"] .form-success-btn:hover {
  color: #121412;
}
@media (max-width: 560px) {
  .form-success-panel { padding: 36px 26px 28px; border-radius: 14px; }
}
