/*
 * PIT Vorbereitung – Seitendesign für alle Kundenseiten (Mein Konto, Download, App-Hinweis,
 * Impressum, Warenkorb, Kasse). Gleiche Farben und Schrift wie die Landing Page.
 * Alles hängt an body.pit-site, das nur das Plugin „PIT Zugangsrechte“ setzt.
 */

@font-face {
  font-family: "Outfit";
  src: url("fonts/outfit-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("fonts/outfit-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("fonts/outfit-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("fonts/outfit-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

body.pit-site {
  --pit-bg: #0b0f1a;
  --pit-bg-deep: #050810;
  --pit-surface: #141a2e;
  --pit-surface-raised: #1a2240;
  --pit-field: #0f1528;
  --pit-text: #e8ecf4;
  --pit-text-2: #b4bdd1;
  --pit-text-3: #8b95b0;
  --pit-accent: #38bdf8;
  --pit-accent-hover: #7dd3fc;
  --pit-accent-subtle: rgba(56, 189, 248, 0.1);
  --pit-on-accent: #04121f;
  --pit-green: #4ade80;
  --pit-red: #f87171;
  --pit-border: rgba(138, 155, 200, 0.16);
  --pit-border-strong: rgba(138, 155, 200, 0.3);
  --pit-radius: 12px;
  --pit-radius-lg: 16px;
  background: var(--pit-bg);
  color: var(--pit-text-2);
  font-family: "Outfit", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── OceanWP-Kopf, -Fuß, Brotkrümel und leere Seitenleiste ausblenden ── */
body.pit-site #top-bar-wrap,
body.pit-site #site-header,
body.pit-site .oceanwp-mobile-menu-icon,
body.pit-site #mobile-dropdown,
body.pit-site #mobile-fullscreen,
body.pit-site .site-breadcrumbs,
body.pit-site #right-sidebar,
body.pit-site #left-sidebar,
body.pit-site #footer,
body.pit-site #scroll-top,
body.pit-site .woocommerce-MyAccount-tabs .oceanwp-user-profile {
  display: none !important;
}

/* Landing und App bringen ihr eigenes Vollbild-Design mit. */
body.pit-lv3-active .pit-header,
body.pit-lv3-active .pit-footer,
body.pit-app-v2-active .pit-header,
body.pit-app-v2-active .pit-footer {
  display: none !important;
}

body.pit-site #outer-wrap,
body.pit-site #wrap,
body.pit-site #main,
body.pit-site .site-content,
body.pit-site .single-page-article,
body.pit-site .entry {
  background: transparent;
}

body.pit-site a {
  color: var(--pit-accent);
}

body.pit-site a:hover {
  color: var(--pit-accent-hover);
}

body.pit-site h1,
body.pit-site h2,
body.pit-site h3,
body.pit-site h4,
body.pit-site legend,
body.pit-site strong,
body.pit-site b {
  color: var(--pit-text);
  font-family: "Outfit", "Segoe UI", system-ui, sans-serif;
}

body.pit-site :focus-visible {
  outline: 2px solid var(--pit-accent);
  outline-offset: 3px;
}

.pit-site .screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ── Kopfzeile (wie Landing) ── */
.pit-header {
  position: sticky;
  top: var(--wp-admin--admin-bar--height, 0px);
  z-index: 1000;
  background: rgba(11, 15, 26, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--pit-border);
}

.pit-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

body.pit-site a.pit-header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--pit-text);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.pit-header__logo img {
  width: 80px;
  height: 44px;
  object-fit: contain;
}

.pit-header__secure {
  color: var(--pit-text-2);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.pit-header__secure svg {
  flex: none;
  color: var(--pit-green);
}

.pit-header__secure-short {
  display: none;
}

.pit-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 32px;
}

.pit-nav li {
  margin: 0;
}

body.pit-site .pit-nav a:not(.pit-button) {
  color: var(--pit-text-3);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s ease;
}

body.pit-site .pit-nav a:not(.pit-button):hover,
body.pit-site .pit-nav a[aria-current="page"] {
  color: var(--pit-accent);
}

.pit-nav__toggle {
  display: none;
}

/* ── Knöpfe ── */
body.pit-site .pit-button,
body.pit-site .woocommerce a.button,
body.pit-site .woocommerce button.button,
body.pit-site .woocommerce input.button,
body.pit-site .woocommerce .woocommerce-Button,
body.pit-site .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid var(--pit-accent);
  border-radius: 10px;
  background: var(--pit-accent);
  color: var(--pit-on-accent);
  font-family: "Outfit", "Segoe UI", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  box-shadow: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

body.pit-site .pit-button:hover,
body.pit-site .woocommerce a.button:hover,
body.pit-site .woocommerce button.button:hover,
body.pit-site .woocommerce input.button:hover,
body.pit-site .woocommerce .woocommerce-Button:hover {
  background: var(--pit-accent-hover);
  border-color: var(--pit-accent-hover);
  color: var(--pit-on-accent);
}

body.pit-site .pit-button--ghost,
body.pit-site .woocommerce a.button.view {
  background: transparent;
  color: var(--pit-accent);
  border-color: rgba(56, 189, 248, 0.45);
}

body.pit-site .pit-button--ghost:hover,
body.pit-site .woocommerce a.button.view:hover {
  background: var(--pit-accent-subtle);
  color: var(--pit-accent-hover);
  border-color: var(--pit-accent-hover);
}

body.pit-site .pit-nav .pit-button {
  min-height: 40px;
  padding: 8px 18px;
  font-size: 14px;
}

/* OceanWP hängt Symbole an Woo-Knöpfe und Kontomenü – im PIT-Design ohne. */
body.pit-site .woocommerce .button::before,
body.pit-site .woocommerce .button::after,
body.pit-site .woocommerce-MyAccount-navigation a::before,
body.pit-site .woocommerce-MyAccount-navigation a::after,
body.pit-site .woocommerce .button i {
  display: none !important;
}

/* ── Seitentitel und Inhaltsbreite ── */
body.pit-site .page-header {
  background: transparent;
  border: 0;
  padding: 56px 0 8px;
}

body.pit-site .page-header .container,
body.pit-site #content-wrap {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
  padding: 0 24px;
  box-sizing: border-box;
}

body.pit-site .page-header-title {
  float: none;
  width: auto;
  color: var(--pit-text);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-transform: none;
}

body.pit-site #content-wrap {
  padding-top: 24px;
  padding-bottom: 96px;
}

body.pit-site #primary,
body.pit-site #primary.content-area {
  width: 100%;
  max-width: none;
  float: none;
  padding: 0;
  border: 0;
}

body.pit-site .entry > h1,
body.pit-site .entry > h2,
body.pit-site .entry > h3 {
  margin: 32px 0 12px;
  line-height: 1.25;
}

body.pit-site .entry > p,
body.pit-site .entry > ul,
body.pit-site .entry > ol {
  color: var(--pit-text-2);
  max-width: 760px;
}

/* ── PIT-Bausteine: Hinweise, Karten, Konto-Übersicht, Downloads ── */
.pit-eyebrow,
.pit-card__status {
  margin: 0 0 8px;
  color: var(--pit-accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.pit-site .pit-notice h2,
body.pit-site .pit-account h2,
body.pit-site .pit-downloads h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

body.pit-site .pit-lead {
  margin: 0 0 28px;
  color: var(--pit-text-2);
  font-size: 17px;
  max-width: 620px;
}

.pit-notice {
  max-width: 640px;
  padding: 40px;
  background: var(--pit-surface);
  border: 1px solid var(--pit-border);
  border-radius: var(--pit-radius-lg);
}

.pit-notice .pit-lead {
  margin-bottom: 24px;
}

.pit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pit-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 900px;
}

.pit-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  background: var(--pit-surface);
  border: 1px solid var(--pit-border);
  border-radius: var(--pit-radius-lg);
}

body.pit-site .pit-card h3 {
  margin: 0 0 8px;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
}

.pit-card p:not(.pit-card__status) {
  margin: 0 0 24px;
  color: var(--pit-text-2);
  flex: 1;
}

.pit-card__status {
  color: var(--pit-green);
  font-size: 12px;
}

body.pit-site .pit-card p.pit-card__status {
  margin: 0 0 6px;
}

.pit-card--locked {
  background: transparent;
  border-style: dashed;
}

.pit-card--locked .pit-card__status {
  color: var(--pit-text-3);
}

body.pit-site .pit-account__links {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.pit-account__links a {
  font-weight: 500;
  text-decoration: none;
}

.pit-account__links a::after {
  content: " →";
}

/* ── Mein Konto: Menü links, Inhalt rechts ── */
body.pit-site.woocommerce-account.logged-in .entry > .woocommerce {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

body.pit-site .woocommerce-MyAccount-tabs,
body.pit-site .woocommerce-MyAccount-navigation,
body.pit-site .woocommerce-MyAccount-content {
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
}

body.pit-site .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 8px;
  background: var(--pit-surface);
  border: 1px solid var(--pit-border);
  border-radius: var(--pit-radius-lg);
}

body.pit-site .woocommerce-MyAccount-navigation ul li {
  margin: 0;
  padding: 0;
  border: 0;
}

body.pit-site .woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 11px 14px;
  border-radius: 10px;
  color: var(--pit-text-2);
  font-weight: 500;
  text-decoration: none;
}

body.pit-site .woocommerce-MyAccount-navigation ul li a:hover {
  background: rgba(138, 155, 200, 0.08);
  color: var(--pit-text);
}

body.pit-site .woocommerce-MyAccount-navigation ul li.is-active a {
  background: var(--pit-accent-subtle);
  color: var(--pit-accent);
}

body.pit-site .woocommerce-MyAccount-navigation-link--customer-logout {
  margin-top: 6px !important;
  padding-top: 6px !important;
  border-top: 1px solid var(--pit-border) !important;
}

body.pit-site .woocommerce-MyAccount-content > p,
body.pit-site .woocommerce-MyAccount-content address {
  color: var(--pit-text-2);
}

body.pit-site .woocommerce-MyAccount-content mark {
  background: transparent;
  color: var(--pit-text);
  font-weight: 600;
}

/* ── Tabellen (Bestellungen, Bestelldetails) ── */
body.pit-site .woocommerce table.shop_table,
body.pit-site .woocommerce table.my_account_orders {
  width: 100%;
  margin: 0 0 32px;
  border: 1px solid var(--pit-border);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--pit-radius-lg);
  background: var(--pit-surface);
  overflow: hidden;
}

body.pit-site .woocommerce table.shop_table th,
body.pit-site .woocommerce table.shop_table td {
  padding: 14px 18px;
  border: 0;
  border-top: 1px solid var(--pit-border);
  background: transparent;
  color: var(--pit-text-2);
  font-size: 15px;
  text-align: left;
  vertical-align: middle;
}

body.pit-site .woocommerce table.shop_table thead th {
  border-top: 0;
  color: var(--pit-text-3);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.pit-site .woocommerce table.shop_table tbody tr:first-child td,
body.pit-site .woocommerce table.shop_table tbody tr:first-child th {
  border-top: 1px solid var(--pit-border);
}

body.pit-site .woocommerce table.shop_table td a:not(.button),
body.pit-site .woocommerce table.shop_table th a {
  color: var(--pit-text);
  font-weight: 600;
  text-decoration: none;
}

body.pit-site .woocommerce table.shop_table .amount {
  color: var(--pit-text);
  font-weight: 600;
}

body.pit-site .woocommerce table.shop_table del .amount {
  color: var(--pit-text-3);
  font-weight: 400;
}

body.pit-site .woocommerce table.shop_table ins {
  background: transparent;
  text-decoration: none;
}

body.pit-site .woocommerce table.shop_table tfoot th {
  color: var(--pit-text);
}

body.pit-site .woocommerce table.shop_table .button {
  min-height: 36px;
  padding: 6px 14px;
  font-size: 14px;
}

body.pit-site .woocommerce-order-details__title,
body.pit-site .woocommerce-column__title,
body.pit-site .woocommerce-MyAccount-content h2,
body.pit-site .woocommerce-MyAccount-content h3 {
  margin: 32px 0 14px;
  font-size: 22px;
  font-weight: 600;
}

body.pit-site .woocommerce-customer-details address {
  padding: 18px;
  border: 1px solid var(--pit-border);
  border-radius: var(--pit-radius-lg);
  background: var(--pit-surface);
  font-style: normal;
  line-height: 1.7;
}

/* ── Formulare (Login, Passwort, Kontodetails, Rechnungsadresse) ── */
body.pit-site .woocommerce form .form-row {
  margin: 0 0 18px;
  padding: 0;
}

body.pit-site .woocommerce form .form-row label,
body.pit-site .woocommerce form label {
  display: block;
  margin-bottom: 6px;
  color: var(--pit-text);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

body.pit-site .woocommerce form .form-row .required {
  color: var(--pit-accent);
  text-decoration: none;
}

body.pit-site .woocommerce form input.input-text,
body.pit-site .woocommerce form input[type="text"],
body.pit-site .woocommerce form input[type="email"],
body.pit-site .woocommerce form input[type="password"],
body.pit-site .woocommerce form input[type="tel"],
body.pit-site .woocommerce form select,
body.pit-site .woocommerce form textarea,
body.pit-site .select2-container--default .select2-selection--single {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--pit-border-strong);
  border-radius: 10px;
  background: var(--pit-field);
  color: var(--pit-text);
  font-family: inherit;
  font-size: 16px;
  box-shadow: none;
  box-sizing: border-box;
}

body.pit-site .woocommerce form input.input-text:focus,
body.pit-site .woocommerce form select:focus,
body.pit-site .woocommerce form textarea:focus {
  border-color: var(--pit-accent);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
  outline: none;
}

body.pit-site .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding: 0;
  color: var(--pit-text);
  line-height: 22px;
}

body.pit-site .select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 11px;
  right: 8px;
}

body.pit-site .select2-dropdown {
  border-color: var(--pit-border-strong);
  background: var(--pit-surface);
  color: var(--pit-text);
}

body.pit-site .select2-container--default .select2-search--dropdown .select2-search__field {
  border-color: var(--pit-border-strong);
  background: var(--pit-field);
  color: var(--pit-text);
}

body.pit-site .select2-container--default .select2-results__option--highlighted[aria-selected],
body.pit-site .select2-container--default .select2-results__option--highlighted[data-selected] {
  background: var(--pit-accent);
  color: var(--pit-on-accent);
}

body.pit-site .woocommerce form fieldset {
  margin: 32px 0 20px;
  padding: 24px;
  border: 1px solid var(--pit-border);
  border-radius: var(--pit-radius-lg);
}

body.pit-site .woocommerce form fieldset legend {
  padding: 0 8px;
  font-size: 17px;
  font-weight: 600;
}

body.pit-site .woocommerce form em,
body.pit-site .woocommerce form .description,
body.pit-site .woocommerce-password-hint {
  color: var(--pit-text-3);
  font-size: 14px;
  font-style: normal;
}

body.pit-site .woocommerce form .show-password-input {
  color: var(--pit-text-3);
}

body.pit-site .woocommerce-form-login,
body.pit-site .woocommerce-ResetPassword,
body.pit-site .woocommerce form.login,
body.pit-site .woocommerce form.register {
  max-width: 460px;
  margin: 0;
  padding: 32px;
  border: 1px solid var(--pit-border);
  border-radius: var(--pit-radius-lg);
  background: var(--pit-surface);
}

body.pit-site .woocommerce-form-login .woocommerce-form-login__rememberme {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--pit-text-2);
  font-weight: 400;
}

body.pit-site .woocommerce-form-login .woocommerce-form-login__submit {
  width: 100% !important;
  margin-top: 4px;
}

body.pit-site .woocommerce-LostPassword {
  margin: 16px 0 0;
}

body.pit-site.woocommerce-account:not(.logged-in) .entry > .woocommerce > h2 {
  margin: 0 0 20px;
  font-size: 24px;
}

/* ── Hinweise ── */
body.pit-site .woocommerce-message,
body.pit-site .woocommerce-info,
body.pit-site .woocommerce-error,
body.pit-site .woocommerce-notices-wrapper > div,
body.pit-site .wc-block-components-notice-banner {
  margin: 0 0 24px;
  padding: 14px 18px;
  border: 1px solid var(--pit-border);
  border-left: 3px solid var(--pit-accent);
  border-radius: 10px;
  background: var(--pit-surface);
  color: var(--pit-text);
  list-style: none;
}

body.pit-site .woocommerce-error {
  border-left-color: var(--pit-red);
}

body.pit-site .woocommerce-message::before,
body.pit-site .woocommerce-info::before,
body.pit-site .woocommerce-error::before {
  display: none;
}

body.pit-site .woocommerce-message .button,
body.pit-site .woocommerce-info .button {
  float: right;
  min-height: 34px;
  padding: 6px 14px;
  font-size: 14px;
}

/* Seiten mit eigener Überschrift (Download, App-Hinweis) brauchen den WordPress-Titel nicht. */
body.pit-site--own-title .page-header {
  display: none;
}

body.pit-site.pit-site--own-title #content-wrap {
  padding-top: 56px !important;
}

/* OceanWP färbt Tabellenköpfe und Summenzeilen hell und in Großbuchstaben. */
body.pit-site .woocommerce table.shop_table thead,
body.pit-site .woocommerce table.shop_table thead tr,
body.pit-site .woocommerce table.shop_table thead th {
  background: rgba(138, 155, 200, 0.06) !important;
}

body.pit-site .woocommerce table.shop_table tbody th,
body.pit-site .woocommerce table.shop_table tfoot th,
body.pit-site .woocommerce table.shop_table tfoot td {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}

/* Rechnungsadresse */
body.pit-site .woocommerce-Addresses {
  display: block;
}

body.pit-site .woocommerce-Address {
  float: none;
  width: auto;
  max-width: 460px;
  padding: 24px;
  border: 1px solid var(--pit-border);
  border-radius: var(--pit-radius-lg);
  background: var(--pit-surface) !important;
}

body.pit-site .woocommerce-Address-title,
body.pit-site .woocommerce-Address .title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin: 0 0 12px;
  padding: 0 0 12px;
  border: 0;
  border-bottom: 1px solid var(--pit-border) !important;
  background: transparent !important;
}

body.pit-site .woocommerce-Address-title h2,
body.pit-site .woocommerce-Address-title h3 {
  margin: 0 !important;
  color: var(--pit-text) !important;
  font-size: 18px !important;
}

body.pit-site .woocommerce-Address-title a.edit {
  float: none;
  padding: 0;
  background: transparent !important;
  color: var(--pit-accent);
  font-size: 14px;
  font-weight: 500;
}

body.pit-site .woocommerce-Address address {
  padding: 0;
  border: 0;
  background: transparent !important;
  color: var(--pit-text-2);
  font-style: normal;
}

body.pit-site .woocommerce form fieldset legend {
  width: auto;
  border: 0;
  margin: 0;
}

/* OceanWP-Layout „Vollbreite“ (Download, Impressum, App) setzt Breite und Rand mit !important. */
body.pit-site.content-full-screen #content-wrap,
body.pit-site #content-wrap {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box;
}

body.pit-site .pit-button,
body.pit-site .pit-button:hover,
body.pit-site .woocommerce a.button {
  text-decoration: none !important;
}

@media (max-width: 782px) {
  body.pit-site.content-full-screen #content-wrap,
  body.pit-site #content-wrap {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* Kurze Seiten: Fußzeile bleibt unten am Bildschirmrand. */
body.pit-site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.pit-site #outer-wrap {
  flex: 1 0 auto;
}

/* Login: OceanWP-Reiter „Anmeldung“ ausblenden, Formular linksbündig unter dem Titel. */
body.pit-site .owp-account-links {
  display: none !important;
}

body.pit-site .oceanwp-loginform-wrap {
  max-width: none;
  margin: 0;
  padding: 0;
}

body.pit-site .woocommerce-form-login,
body.pit-site .woocommerce-ResetPassword,
body.pit-site .woocommerce form.login,
body.pit-site .woocommerce form.register {
  width: 100%;
  margin: 0 !important;
  box-sizing: border-box;
}

body.pit-site .pit-login-intro .pit-login-title {
  color: var(--pit-text);
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 700;
}

body.pit-site .woocommerce .pit-login-intro p:not(.pit-login-title) {
  margin: 0 0 24px !important;
  color: var(--pit-text-2);
}

body.pit-site .woocommerce-ResetPassword > p:first-child {
  color: var(--pit-text-2);
}

/* PIT-Bausteine in „Mein Konto“: eigene Abstände statt der allgemeinen Konto-Überschriften. */
body.pit-site .woocommerce-MyAccount-content .pit-account h2 {
  margin: 0 0 8px;
}

body.pit-site .woocommerce-MyAccount-content .pit-card h3 {
  margin: 0 0 8px;
  font-size: 21px;
}

/* ── Fußzeile (wie Landing) ── */
.pit-footer {
  margin-top: 0;
  padding: 48px 24px 32px;
  background: var(--pit-bg-deep, #050810);
  border-top: 1px solid var(--pit-border, rgba(138, 155, 200, 0.16));
  font-family: "Outfit", "Segoe UI", system-ui, sans-serif;
}

.pit-footer__inner {
  max-width: 1152px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.pit-footer__brand {
  color: var(--pit-text, #e8ecf4);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.pit-footer__tagline {
  margin-top: 4px;
  color: var(--pit-text-3, #8b95b0);
  font-size: 14px;
}

.pit-footer__links {
  display: flex;
  gap: 24px;
}

body.pit-site .pit-footer__links a {
  color: var(--pit-text-3);
  font-size: 14px;
  text-decoration: none;
}

body.pit-site .pit-footer__links a:hover {
  color: var(--pit-accent);
}

.pit-footer__copy {
  max-width: 1152px;
  margin: 24px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--pit-border, rgba(138, 155, 200, 0.16));
  color: var(--pit-text-3, #8b95b0);
  font-size: 13px;
  text-align: center;
}

/* ── Handy und Tablet ── */
@media (max-width: 960px) {
  body.pit-site.woocommerce-account.logged-in .entry > .woocommerce {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  body.pit-site .woocommerce-MyAccount-navigation ul {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding: 6px;
    scrollbar-width: none;
  }

  body.pit-site .woocommerce-MyAccount-navigation ul li a {
    white-space: nowrap;
    padding: 9px 12px;
    font-size: 15px;
  }

  body.pit-site .woocommerce-MyAccount-navigation-link--customer-logout {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }
}

@media (max-width: 782px) {
  .pit-header__inner {
    min-height: 64px;
    padding: 0 16px;
  }

  body.pit-site a.pit-header__logo {
    font-size: 17px;
  }

  .pit-header__logo img {
    width: 66px;
    height: 36px;
  }

  .pit-header__secure {
    font-size: 13px;
    gap: 6px;
  }

  .pit-header__secure-long {
    display: none;
  }

  .pit-header__secure-short {
    display: inline;
  }

  .pit-nav__toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0 11px;
    border: 1px solid var(--pit-border);
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
  }

  .pit-nav__toggle span:not(.screen-reader-text) {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--pit-text);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .pit-nav-open .pit-nav__toggle span:nth-of-type(2) {
    transform: translateY(7px) rotate(45deg);
  }

  .pit-nav-open .pit-nav__toggle span:nth-of-type(3) {
    opacity: 0;
  }

  .pit-nav-open .pit-nav__toggle span:nth-of-type(4) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .pit-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 8px 16px 20px;
    background: var(--pit-bg);
    border-bottom: 1px solid var(--pit-border);
  }

  .pit-nav-open .pit-nav {
    display: block;
  }

  .pit-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  body.pit-site .pit-nav a:not(.pit-button) {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid var(--pit-border);
    font-size: 15px;
  }

  .pit-nav__action {
    margin-top: 16px !important;
  }

  body.pit-site .pit-nav .pit-button {
    width: 100%;
    min-height: 48px;
  }

  body.pit-site .page-header {
    padding: 32px 0 4px;
  }

  body.pit-site .page-header .container,
  body.pit-site #content-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  body.pit-site #content-wrap {
    padding-bottom: 64px;
  }

  .pit-notice,
  .pit-card,
  body.pit-site .woocommerce-form-login,
  body.pit-site .woocommerce-ResetPassword,
  body.pit-site .woocommerce form.login {
    padding: 24px 20px;
  }

  .pit-actions .pit-button {
    flex: 1 1 100%;
  }

  /* Bestelltabellen werden auf dem Handy zu Karten (WooCommerce-Standard „shop_table_responsive“). */
  body.pit-site .woocommerce table.shop_table_responsive thead {
    display: none;
  }

  body.pit-site .woocommerce table.shop_table_responsive tbody tr {
    display: block;
    border-top: 1px solid var(--pit-border);
  }

  body.pit-site .woocommerce table.shop_table_responsive tbody tr:first-child {
    border-top: 0;
  }

  body.pit-site .woocommerce table.shop_table_responsive tbody td,
  body.pit-site .woocommerce table.shop_table_responsive tbody th {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 16px;
    border: 0 !important;
    text-align: right !important;
  }

  body.pit-site .woocommerce table.shop_table_responsive tbody td::before,
  body.pit-site .woocommerce table.shop_table_responsive tbody th::before {
    content: attr(data-title);
    color: var(--pit-text-3);
    font-weight: 500;
    text-align: left;
  }

  body.pit-site .woocommerce table.shop_table_responsive tbody td.woocommerce-orders-table__cell-order-actions::before {
    content: "";
  }

  .pit-footer__inner {
    flex-direction: column;
    text-align: center;
  }

  /* Die vier Rechtslinks sind zusammen ~426 px breit – ohne Umbruch ließ sich die Seite am Handy seitlich schieben. */
  .pit-footer__links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pit-site *,
  .pit-site *::before,
  .pit-site *::after {
    transition: none !important;
  }
}

/* Kassen-Kopf auf sehr schmalen Handys (≤ 350 px, z. B. iPhone SE 1. Generation): „PIT Vorbereitung“ überlappte
   „Sichere Zahlung“. Das Logo-Bild trägt den Namen schon, der Schriftzug daneben entfällt dort (0.7.4). */
@media (max-width: 350px) {
  .pit-header--checkout .pit-header__logo span {
    display: none;
  }
}
