/*
Theme Name: Politik Kandidat
Theme URI: https://example.local/
Author: ChatGPT
Description: One-Page-WordPress-Theme für politische Mandatsträgerinnen und Mandatsträger: Hero, Über mich, Themen, Meldungen, Termine, Unterstützen und Kontakt auf einer durchgehenden Startseite.
Version: 1.4.0
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: politik-kandidat
Tags: custom-logo, custom-menu, featured-images, block-styles, wide-blocks, accessibility-ready
*/

:root {
  --pk-red: #e3000f;
  --pk-red-dark: #b6000c;
  --pk-ink: #161616;
  --pk-muted: #5d626b;
  --pk-paper: #fffaf6;
  --pk-soft: #f2ebe4;
  --pk-white: #ffffff;
  --pk-border: #e6ded6;
  --pk-radius: 8px;
  --pk-radius-soft: 4px;
  --pk-shadow: 0 14px 34px rgba(22, 22, 22, .11);
  --pk-shadow-hover: 0 20px 46px rgba(22, 22, 22, .17);
  --pk-max: 1180px;
  --pk-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--pk-ink);
  background: var(--pk-paper);
  font-family: var(--pk-font);
  font-size: 18px;
  line-height: 1.58;
}

a { color: inherit; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--pk-red);
  outline-offset: 4px;
}

img { max-width: 100%; height: auto; }

.pk-brand,
.pk-brand__mark,
.pk-nav a,
.pk-button,
.wp-block-button__link,
.pk-quicklinks a,
.pk-service-card,
.pk-post-card,
.pk-event-card,
.nav-links a,
.pk-search-form input,
.pk-social-card,
.pk-cta-tile {
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background-color .22s ease, color .22s ease, filter .22s ease;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pk-brand,
  .pk-brand__mark,
  .pk-nav a,
  .pk-button,
  .wp-block-button__link,
  .pk-quicklinks a,
  .pk-service-card,
  .pk-post-card,
  .pk-event-card,
  .nav-links a,
  .pk-search-form input,
  .pk-social-card,
  .pk-cta-tile { transition: none; }
}

.pk-skip-link {
  left: 1rem;
  position: absolute;
  top: -100px;
  z-index: 999;
  background: var(--pk-white);
  color: var(--pk-ink);
  padding: .75rem 1rem;
  border-radius: 4px;
}

.pk-skip-link:focus { top: 1rem; }

.pk-container {
  width: min(var(--pk-max), calc(100% - 40px));
  margin-inline: auto;
}

.pk-topbar {
  background: var(--pk-red);
  color: var(--pk-white);
  font-size: .92rem;
}

.pk-topbar__inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
  min-height: 42px;
}

.pk-topbar a { text-decoration: none; font-weight: 700; }
.pk-topbar a:hover { text-decoration: underline; text-underline-offset: .18em; }

.pk-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 242, .96);
  border-bottom: 1px solid var(--pk-border);
  backdrop-filter: saturate(1.2) blur(14px);
}

.admin-bar .pk-site-header { top: 32px; }

.pk-header__inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.pk-brand {
  display: flex;
  align-items: center;
  gap: .9rem;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.05;
}

.pk-brand__mark {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  background: var(--pk-red);
  color: var(--pk-white);
  display: grid;
  place-items: center;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(227, 0, 15, .22);
}

.pk-brand:hover .pk-brand__mark {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(227, 0, 15, .28);
}

.pk-brand__text small {
  display: block;
  color: var(--pk-muted);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: .2rem;
}

.pk-menu-toggle {
  display: none;
  border: 0;
  border-radius: 5px;
  background: var(--pk-ink);
  color: var(--pk-white);
  padding: .7rem 1rem;
  font-weight: 800;
  cursor: pointer;
}

.pk-menu-toggle:hover {
  background: var(--pk-red);
  box-shadow: 0 12px 24px rgba(227, 0, 15, .22);
}

.pk-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: 0;
  margin: 0;
}

.pk-nav li { position: relative; }

.pk-nav a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border-radius: 5px;
  padding: .72rem .95rem;
  font-weight: 800;
  font-size: .95rem;
}

.pk-nav a:hover,
.pk-nav .current-menu-item > a,
.pk-nav .current_page_item > a {
  background: var(--pk-white);
  box-shadow: 0 10px 24px rgba(22, 22, 22, .08), inset 0 0 0 1px var(--pk-border);
  transform: translateY(-1px);
}

.pk-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  flex-direction: column;
  align-items: stretch;
  padding: .55rem;
  background: var(--pk-white);
  border: 1px solid var(--pk-border);
  border-radius: 6px;
  box-shadow: var(--pk-shadow);
}

.pk-nav li:hover > .sub-menu,
.pk-nav li:focus-within > .sub-menu { display: flex; }

.pk-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.2rem, 7vw, 6.8rem) 0 clamp(2.6rem, 6vw, 5.2rem);
  background:
    linear-gradient(120deg, rgba(227, 0, 15, .08) 0%, transparent 34%),
    linear-gradient(180deg, #fffaf6 0%, #f4ece4 100%);
  border-bottom: 1px solid var(--pk-border);
}

.pk-hero::before {
  content: "";
  position: absolute;
  right: max(-4vw, -60px);
  top: 0;
  width: min(42vw, 560px);
  height: 100%;
  background: var(--pk-red);
  opacity: .94;
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
}

.pk-hero > .pk-container { position: relative; z-index: 1; }

.pk-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .8fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.pk-kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--pk-red-dark);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .82rem;
}

.pk-kicker::before {
  content: "";
  width: 34px;
  height: 4px;
  border-radius: 999px;
  background: var(--pk-red);
}

.pk-hero h1 {
  margin: .9rem 0 1rem;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  letter-spacing: -.075em;
  line-height: .92;
  max-width: 780px;
}

.pk-hero__lead {
  color: var(--pk-muted);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  max-width: 660px;
}

.pk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.8rem;
}

.pk-button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  border-radius: 6px;
  border: 2px solid transparent;
  padding: .95rem 1.25rem;
  text-decoration: none;
  font-weight: 900;
  line-height: 1;
}

.pk-button--primary,
.wp-block-button__link {
  background: var(--pk-red);
  color: var(--pk-white);
  box-shadow: 0 18px 32px rgba(227, 0, 15, .22);
}

.pk-button--primary:hover,
.wp-block-button__link:hover {
  background: var(--pk-red-dark);
  box-shadow: 0 18px 34px rgba(227, 0, 15, .28);
  transform: translateY(-2px);
}

.pk-button--secondary {
  background: var(--pk-white);
  border-color: var(--pk-border);
}

.pk-button--secondary:hover {
  border-color: var(--pk-red);
  box-shadow: 0 14px 28px rgba(22, 22, 22, .10);
  transform: translateY(-2px);
}

.pk-portrait-card {
  position: relative;
  min-height: 520px;
  border-radius: 3px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(22, 22, 22, 0) 45%, rgba(22, 22, 22, .78) 100%),
    linear-gradient(135deg, #e3000f 0%, #ff705f 100%);
  box-shadow: var(--pk-shadow);
  transform: rotate(.4deg);
}

.pk-portrait-card::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 2px solid rgba(255,255,255,.72);
  pointer-events: none;
  z-index: 2;
}

.pk-portrait-card img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  display: block;
}

.pk-portrait-card__placeholder {
  min-height: 520px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .78);
  font-weight: 900;
  font-size: clamp(4rem, 10vw, 8rem);
}

.pk-portrait-card__caption {
  position: absolute;
  inset-inline: 1.2rem;
  bottom: 1.2rem;
  background: rgba(255, 255, 255, .94);
  border-left: 6px solid var(--pk-red);
  border-radius: 3px;
  padding: 1rem;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(0,0,0,.16);
  z-index: 3;
}

.pk-quicklinks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .8rem;
  margin-top: 2rem;
}

.pk-quicklinks a {
  position: relative;
  background: var(--pk-white);
  border: 1px solid var(--pk-border);
  border-left: 5px solid var(--pk-red);
  border-radius: 4px;
  padding: 1rem;
  text-decoration: none;
  font-weight: 900;
  overflow: hidden;
}

.pk-quicklinks a::after {
  content: "→";
  position: absolute;
  right: 1rem;
  opacity: .3;
  transition: transform .22s ease, opacity .22s ease;
}

.pk-quicklinks a:hover {
  border-color: var(--pk-red);
  box-shadow: 0 14px 28px rgba(22, 22, 22, .12);
  transform: translateY(-3px);
}

.pk-quicklinks a:hover::after { transform: translateX(4px); opacity: .85; }

.pk-section {
  padding: clamp(2.8rem, 6vw, 5rem) 0;
}

.pk-section--white { background: var(--pk-white); }
.pk-section--red { background: var(--pk-red); color: var(--pk-white); }

.pk-section__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.4rem;
  margin-bottom: 1.7rem;
}

.pk-section__header h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -.055em;
  line-height: .98;
}

.pk-section__intro {
  max-width: 650px;
  color: var(--pk-muted);
  margin: .75rem 0 0;
}

.pk-section--red .pk-section__intro { color: rgba(255,255,255,.84); }

.pk-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.pk-service-card,
.pk-post-card,
.pk-event-card,
.pk-social-card,
.pk-cta-tile {
  background: var(--pk-white);
  border: 1px solid var(--pk-border);
  border-radius: var(--pk-radius-soft);
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(22, 22, 22, .055);
}

.pk-service-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.35rem;
  text-decoration: none;
}

.pk-service-card:hover,
.pk-post-card:hover,
.pk-event-card:hover,
.pk-social-card:hover,
.pk-cta-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--pk-shadow-hover);
  border-color: rgba(227, 0, 15, .25);
}

.pk-service-card__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  background: rgba(227, 0, 15, .1);
  color: var(--pk-red);
  font-weight: 900;
}

.pk-service-card h3,
.pk-post-card h3,
.pk-event-card h3 { margin: .9rem 0 .55rem; line-height: 1.15; font-size: 1.28rem; }
.pk-service-card p,
.pk-post-card p,
.pk-event-card p { color: var(--pk-muted); margin: 0; }

.pk-post-card__image {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #e3000f, #ff897d);
}

.pk-post-card__image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .32s ease; }
.pk-post-card:hover .pk-post-card__image img { transform: scale(1.035); }

.pk-post-card__body { padding: 1.25rem; }
.pk-meta { color: var(--pk-muted); font-size: .88rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }

.pk-event-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.pk-event-card {
  padding: 1.25rem;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 1rem;
  align-items: start;
}

.pk-date-badge {
  border-radius: 6px;
  background: var(--pk-red);
  color: var(--pk-white);
  min-height: 92px;
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 900;
  line-height: 1;
}

.pk-date-badge span { display: block; font-size: 2rem; letter-spacing: -.05em; }
.pk-date-badge small { display: block; text-transform: uppercase; margin-top: .25rem; }


.pk-social-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.pk-social-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  text-decoration: none;
}

.pk-social-card__image {
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(135deg, rgba(227, 0, 15, .95), rgba(22, 22, 22, .9));
  overflow: hidden;
}

.pk-social-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .34s ease, filter .34s ease;
}

.pk-social-card:hover .pk-social-card__image img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.03);
}

.pk-social-card__body { padding: 1.15rem; }
.pk-social-card__body h3 { margin: .45rem 0 .55rem; line-height: 1.12; }
.pk-social-card__body p { margin: 0; color: var(--pk-muted); }

.pk-cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.pk-cta-tile {
  position: relative;
  min-height: 210px;
  padding: clamp(1.2rem, 3vw, 2rem);
  color: var(--pk-white);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  isolation: isolate;
}

.pk-cta-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(22,22,22,.94), rgba(22,22,22,.78));
}

.pk-cta-tile--red::before { background: linear-gradient(135deg, var(--pk-red), var(--pk-red-dark)); }
.pk-cta-tile h3 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.55rem); line-height: .98; letter-spacing: -.04em; }
.pk-cta-tile p { margin: 1rem 0 0; color: rgba(255,255,255,.82); max-width: 540px; }
.pk-cta-tile span { font-weight: 900; }
.pk-cta-tile:hover span { text-decoration: underline; text-underline-offset: .18em; }

.pk-contact-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
  border-radius: 4px;
  background:
    linear-gradient(120deg, var(--pk-ink) 0%, #252525 72%, var(--pk-red) 72%);
  color: var(--pk-white);
  padding: clamp(1.4rem, 4vw, 2.5rem);
  box-shadow: 0 18px 36px rgba(22, 22, 22, .18);
}


.pk-contact-band h2 { margin: 0 0 .5rem; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.055em; line-height: .98; }
.pk-contact-band p { margin: 0; color: rgba(255,255,255,.78); }

.pk-main {
  padding: clamp(2.2rem, 5vw, 4.5rem) 0;
}

.pk-content {
  max-width: 820px;
  margin-inline: auto;
}

.pk-content h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1;
  letter-spacing: -.06em;
}

.pk-content a { color: var(--pk-red-dark); font-weight: 800; }

.pk-site-footer {
  background: #151515;
  color: var(--pk-white);
  padding: 3rem 0 1.4rem;
}

.pk-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(2, minmax(0, .8fr));
  gap: 2rem;
}

.pk-site-footer a { color: var(--pk-white); }
.pk-site-footer ul { list-style: none; padding: 0; margin: 0; }
.pk-site-footer li + li { margin-top: .5rem; }
.pk-footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 2rem; padding-top: 1rem; color: rgba(255,255,255,.65); font-size: .92rem; }

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

@media (max-width: 920px) {
  .pk-menu-toggle { display: inline-flex; }
  .pk-nav {
    display: none;
    position: absolute;
    inset: 86px 20px auto 20px;
    background: var(--pk-white);
    border: 1px solid var(--pk-border);
    border-radius: 6px;
    box-shadow: var(--pk-shadow);
    padding: .8rem;
  }
  .pk-nav.is-open { display: block; }
  .pk-nav ul { display: block; }
  .pk-nav a { width: 100%; }
  .pk-nav .sub-menu { position: static; box-shadow: none; display: block; padding: 0 0 0 .8rem; border: 0; }
  .pk-hero::before { opacity: .18; width: 65vw; }
  .pk-hero__grid, .pk-contact-band { grid-template-columns: 1fr; }
  .pk-quicklinks, .pk-card-grid, .pk-event-list, .pk-social-grid, .pk-cta-grid, .pk-footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .pk-container { width: min(100% - 28px, var(--pk-max)); }
  .pk-topbar__inner { justify-content: center; flex-wrap: wrap; padding: .4rem 0; }
  .pk-header__inner { min-height: 76px; }
  .pk-nav { inset-top: 76px; }
  .pk-portrait-card { transform: none; }
  .pk-portrait-card, .pk-portrait-card img, .pk-portrait-card__placeholder { min-height: 380px; }
  .pk-section__header { align-items: start; flex-direction: column; }
  .pk-event-card { grid-template-columns: 1fr; }
}

.pk-search-form { display: inline-flex; align-items: center; }
.pk-search-form input {
  width: 160px;
  border: 0;
  border-radius: 5px;
  padding: .48rem .8rem;
  background: rgba(255,255,255,.92);
  color: var(--pk-ink);
  font: inherit;
  font-size: .9rem;
}
.custom-logo { max-height: 58px; width: auto; }
.wp-block-image img { border-radius: var(--pk-radius); }
.nav-links { margin-top: 2rem; display: flex; gap: .75rem; flex-wrap: wrap; }
.nav-links a, .nav-links span { padding: .55rem .8rem; border-radius: 5px; background: var(--pk-white); text-decoration: none; border: 1px solid var(--pk-border); }
.pk-post-card a, .pk-event-card a { text-decoration: none; }

.nav-links a:hover { border-color: var(--pk-red); box-shadow: 0 10px 22px rgba(22, 22, 22, .10); transform: translateY(-2px); }

/* One-Page-Variante ab Version 1.4 */
.pk-onepage section[id] {
  scroll-margin-top: 132px;
}

.pk-onepage-tabs {
  position: sticky;
  top: 87px;
  z-index: 40;
  background: rgba(255, 250, 246, .94);
  border-bottom: 1px solid var(--pk-border);
  backdrop-filter: saturate(1.2) blur(12px);
}

.admin-bar .pk-onepage-tabs { top: 119px; }

.pk-onepage-tabs__inner {
  display: flex;
  align-items: center;
  gap: .55rem;
  overflow-x: auto;
  padding: .7rem 0;
  scrollbar-width: thin;
}

.pk-onepage-tabs a {
  flex: 0 0 auto;
  text-decoration: none;
  font-weight: 900;
  font-size: .88rem;
  border: 1px solid var(--pk-border);
  background: var(--pk-white);
  border-radius: 4px;
  padding: .55rem .78rem;
}

.pk-onepage-tabs a:hover,
.pk-onepage-tabs a.is-active {
  color: var(--pk-white);
  background: var(--pk-red);
  border-color: var(--pk-red);
  box-shadow: 0 12px 24px rgba(227, 0, 15, .20);
  transform: translateY(-1px);
}

.pk-about-grid {
  display: grid;
  grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

.pk-about-grid h2 {
  margin: .7rem 0 0;
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: -.06em;
  line-height: .96;
}

.pk-about-copy {
  position: relative;
  background: var(--pk-paper);
  border: 1px solid var(--pk-border);
  border-left: 8px solid var(--pk-red);
  border-radius: 4px;
  padding: clamp(1.2rem, 3vw, 2rem);
  box-shadow: 0 10px 26px rgba(22, 22, 22, .06);
}

.pk-about-copy p:first-child { margin-top: 0; }
.pk-about-copy p:last-child { margin-bottom: 0; }

.pk-topic-card {
  position: relative;
  isolation: isolate;
}

.pk-topic-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: var(--pk-red);
  transform: scaleX(.18);
  transform-origin: left;
  transition: transform .24s ease;
}

.pk-topic-card:hover::after { transform: scaleX(1); }

.pk-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: flex-end;
}

.pk-contact-band--onepage {
  grid-template-columns: 1fr auto;
}

.pk-contact-band--onepage .pk-kicker {
  color: var(--pk-white);
  margin-bottom: .75rem;
}

.pk-contact-band--onepage .pk-kicker::before { background: var(--pk-white); }
.pk-contact-band--onepage .pk-button--secondary { color: var(--pk-ink); }

@media (max-width: 920px) {
  .pk-onepage-tabs { top: 77px; }
  .admin-bar .pk-onepage-tabs { top: 123px; }
  .pk-about-grid,
  .pk-contact-band--onepage { grid-template-columns: 1fr; }
  .pk-contact-actions { justify-content: flex-start; }
}

@media (max-width: 600px) {
  .pk-onepage section[id] { scroll-margin-top: 118px; }
  .pk-onepage-tabs { top: 76px; }
  .pk-onepage-tabs__inner { padding: .55rem 0; }
  .pk-onepage-tabs a { font-size: .82rem; padding: .5rem .68rem; }
}
