/*
Theme Name: Pfötchenbedarf Native
Theme URI: https://pfoetchenbedarf.de/
Author: Pfötchenbedarf
Description: Leichtes klassisches WordPress-Theme mit Gutenberg-Unterstützung für Pfötchenbedarf Stolzenau.
Version: 1.4.3
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: pfoetchenbedarf-native
*/

:root {
  --cream: #fbf7ef;
  --cream-2: #f2eadf;
  --paper: #fff;
  --ink: #080957;
  --muted: #4f5672;
  --blue: #080957;
  --accent: #e7e7ff;
  --line: rgba(8, 9, 87, 0.13);
  --shadow: 0 24px 70px rgba(8, 9, 87, 0.14);
  --shadow-soft: 0 10px 30px rgba(8, 9, 87, 0.08);
  --radius: 28px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-wrap: break-word;
  background:
    radial-gradient(circle at 8% 22%, rgba(8, 9, 87, 0.035), transparent 7rem),
    radial-gradient(circle at 92% 18%, rgba(8, 9, 87, 0.035), transparent 8rem),
    linear-gradient(180deg, var(--cream), #fff 48rem);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.68;
}

body::before,
body::after {
  position: fixed;
  z-index: -1;
  top: 18vh;
  font-size: 5rem;
  opacity: 0.045;
  pointer-events: none;
}

body::before {
  left: 2.5vw;
  content: "🐾";
  transform: rotate(-18deg);
}

body::after {
  right: 5vw;
  content: "🐾";
  transform: rotate(18deg);
}

a {
  color: inherit;
}

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

.screen-reader-text,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 1000;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: 12px 16px;
  clip: auto;
  border-radius: 8px;
  background: #fff;
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

:where(a, button, [tabindex]):focus-visible {
  outline: 3px solid #ffcf4a;
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 22px;
}

.topbar {
  display: none;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 0;
  background: var(--blue);
  box-shadow: 0 14px 36px rgba(8, 9, 87, 0.22);
}

.nav-row {
  position: relative;
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand,
.custom-logo-link {
  display: flex;
  height: 86px;
  flex: 0 0 auto;
  align-items: center;
  align-self: center;
  padding-block: 8px;
  text-decoration: none;
}

.brand-logo,
.custom-logo {
  display: block;
  width: auto;
  max-width: 178px;
  height: 68px;
  margin: 0;
  border-radius: 0;
  background: var(--blue);
  object-fit: contain;
}

.primary-navigation {
  display: block;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: block;
  min-height: 44px;
  padding: 9px 4px;
  border-bottom: 2px solid transparent;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a,
.nav-links a[aria-current="page"] {
  border-color: #fff;
}

.nav-toggle {
  display: none;
  min-width: 48px;
  min-height: 48px;
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.site-main {
  min-height: 40vh;
}

.hero {
  position: relative;
  padding: 86px 0 52px;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  top: -160px;
  right: -160px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(8, 9, 87, 0.05);
  content: "";
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: 42px;
}

.hero-grid.no-image {
  grid-template-columns: 1fr;
  text-align: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--blue);
  font-family: Georgia, serif;
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.kicker::after {
  display: inline-block;
  width: 44px;
  height: 1px;
  background: var(--blue);
  content: "";
  opacity: 0.45;
}

.hero h1 {
  max-width: 980px;
  margin: 14px auto;
  color: var(--ink);
  font-size: clamp(2.3rem, 5.5vw, 5rem);
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.hero p {
  max-width: 900px;
  margin: 0 auto;
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  opacity: 0.9;
}

.hero-actions,
.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 28px;
}

.hero-grid.no-image .hero-actions {
  justify-content: center;
}

.wp-block-button.btn {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.btn,
.wp-block-button__link.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary,
.wp-block-button__link.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 14px 30px rgba(8, 9, 87, 0.23);
}

.btn-ghost,
.wp-block-button__link.btn-ghost {
  border-color: var(--line);
  background: #fff;
  color: var(--blue);
  box-shadow: var(--shadow-soft);
}

.hero-visual {
  position: relative;
}

.hero-visual > .wp-block-image,
.hero-visual > .wp-block-html,
.hero-visual figure {
  margin: 0;
}

.hero-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border: 8px solid #fff;
  border-radius: 42px;
  box-shadow: var(--shadow);
  object-fit: cover;
  transform: rotate(1deg);
}

.hero-visual picture {
  display: block;
}

.floating-card {
  position: absolute;
  bottom: 34px;
  left: -18px;
  display: grid;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.floating-card strong,
.floating-card span {
  display: block;
}

.floating-card span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

.section {
  padding: 58px 0;
}

.section-head {
  max-width: 860px;
  margin-bottom: 24px;
}

.section h2 {
  margin: 12px 0;
  color: var(--ink);
  font-size: clamp(1.85rem, 3.3vw, 3.2rem);
  letter-spacing: -0.04em;
  line-height: 1.06;
}

.section-head p,
.text-grid p,
.split-panel p,
.lead {
  color: var(--muted);
  font-size: 1.08rem;
}

.trust {
  padding-top: 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.trust-grid > div {
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid strong {
  color: var(--blue);
  font-size: 1.04rem;
}

.trust-grid span {
  color: var(--muted);
}

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

.feature-card {
  position: relative;
  min-height: 215px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
}

.feature-card::after {
  position: absolute;
  top: -38px;
  right: -38px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(8, 9, 87, 0.06);
  content: "";
}

.feature-card > span {
  font-size: 2rem;
}

.feature-card h3 {
  margin: 10px 0 6px;
  color: var(--blue);
  font-size: 1.35rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.feature-card.dark {
  background: var(--blue);
  color: #fff;
}

.feature-card.dark h3,
.feature-card.dark p {
  color: #fff;
}

.split-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 26px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: linear-gradient(135deg, #fff, var(--cream-2));
  box-shadow: var(--shadow);
}

.panel-actions {
  justify-content: flex-end;
}

.text-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: start;
  gap: 28px;
}

.text-grid.wide {
  grid-template-columns: 1fr;
}

.note-card,
.story,
.info-card,
.legal-box {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.note-card {
  padding: 26px;
  border-radius: 30px;
}

.note-card h3,
.info-card h3 {
  color: var(--blue);
}

.clean-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.clean-list li {
  position: relative;
  padding: 10px 0 10px 34px;
  border-bottom: 1px solid var(--line);
}

.clean-list li:last-child {
  border-bottom: 0;
}

.clean-list li::before {
  position: absolute;
  top: 10px;
  left: 0;
  color: var(--blue);
  content: "✓";
  font-weight: 900;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.info-card {
  padding: 22px;
  border-radius: 24px;
}

.info-card h3 {
  margin-top: 0;
}

.story {
  padding: 32px;
  border-radius: 34px;
}

.story p {
  color: var(--muted);
  font-size: 1.08rem;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 16px;
}

.partner-grid > :last-child:nth-child(3n + 1) {
  grid-column: 2;
}

.partner-logo {
  display: grid;
  min-height: 142px;
  place-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.partner-logo:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.partner-logo figure {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: center;
  margin: 0;
  text-align: center;
}

.partner-logo img {
  display: block;
  width: auto;
  max-width: 86%;
  max-height: 120px;
  object-fit: contain;
}

.partner-page .hero {
  padding-bottom: 28px;
}

.partner-page .partner-grid {
  margin-top: 18px;
}

.partner-note {
  display: flex;
  max-width: 980px;
  align-items: center;
  gap: 22px;
  margin: 28px auto 0;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(135deg, #fff, var(--cream-2));
  box-shadow: var(--shadow-soft);
}

.partner-note-icon {
  display: grid;
  width: 60px;
  height: 60px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 2rem;
}

.partner-note h3 {
  margin: 0 0 4px;
  color: var(--blue);
}

.partner-note p {
  margin: 0;
  color: var(--muted);
}

.brand-mark {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  margin: 0 0 18px;
  object-fit: contain;
}

.business-title-break {
  display: block;
}

.legal-box {
  padding: 28px;
  overflow: auto;
  border-radius: 30px;
  font-size: 1rem;
}

.legal-box h1 {
  font-size: 2.2rem;
}

.legal-box h1:first-child {
  margin-top: 0;
}

.legal-box h2 {
  margin-top: 1.7em;
}

.legal-box a {
  color: var(--blue);
  font-weight: 800;
}

.legal-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.legal-overview-grid > a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.legal-trust-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid lightgray;
  border-radius: 16px;
  background: #fbfbfb;
  box-shadow: var(--shadow-soft);
  color: #292929;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
}

.trust-badge img {
  width: 190px;
  height: 72px;
  max-width: 190px;
  max-height: 72px;
  flex: none;
  object-fit: contain;
}

.trust-badge p {
  margin: 0;
  color: #292929;
}

.trust-badge a {
  color: var(--blue);
  font-weight: 800;
}

.itrecht-badge {
  justify-content: center;
}

.itrecht-badge img {
  width: 190px;
  height: 72px;
  max-width: 100%;
  max-height: 88px;
}

.footer {
  margin-top: 60px;
  background: var(--blue);
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 0.65fr;
  gap: 30px;
  padding-top: 38px;
  padding-bottom: 38px;
}

.footer h2 {
  margin-top: 0;
  font-size: 1rem;
}

.footer a {
  display: block;
  min-height: 28px;
  margin: 7px 0;
  color: #eaf2ff;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer p {
  color: #dcecff;
}

.footer-brand {
  margin-bottom: 8px;
  font-size: 1.2rem;
  font-weight: 900;
}

.footer-links-full,
.footer-legal-full {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links-full {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 0 16px;
}

.footer-legal-full {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.footer-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 20px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 1.08rem;
}

.footer-cta a {
  display: inline;
  margin: 0;
  font-weight: 900;
}

.pbd-form-section .container {
  max-width: 960px;
}

.pbd-form-shell {
  margin-top: 1.5rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(41, 65, 51, 0.14);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(35, 55, 43, 0.08);
}

.pbd-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.pbd-field {
  display: grid;
  gap: 0.4rem;
}

.pbd-field-full {
  grid-column: 1 / -1;
}

.pbd-field label {
  font-weight: 700;
}

.pbd-field input,
.pbd-field textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid #83958a;
  border-radius: 10px;
  background: #fff;
  color: #1f2d24;
  font: inherit;
}

.pbd-field input:focus,
.pbd-field textarea:focus {
  outline: 3px solid rgba(187, 103, 54, 0.28);
  outline-offset: 2px;
  border-color: #7d4326;
}

.pbd-form-notice {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-left: 4px solid #476d52;
  border-radius: 8px;
  background: #eef6f0;
}

.pbd-form-notice-error {
  border-color: #a43b34;
  background: #fff0ef;
}

.pbd-form-privacy {
  margin: 1rem 0 0;
  font-size: 0.92rem;
}

.pbd-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 1040px) {
  .nav-links {
    gap: 6px;
  }

  .nav-links a {
    font-size: 0.92rem;
  }

  .brand-logo,
  .custom-logo {
    max-width: 162px;
    height: 62px;
  }
}

@media (max-width: 920px) {
  .nav-row {
    min-height: 76px;
  }

  .brand,
  .custom-logo-link {
    height: 76px;
    padding-block: 8px;
  }

  .brand-logo,
  .custom-logo {
    max-width: 148px;
    height: 56px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .primary-navigation {
    position: absolute;
    top: 76px;
    right: 16px;
    left: 16px;
    display: none;
    max-height: calc(100vh - 96px);
    padding: 12px;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    background: var(--blue);
    box-shadow: var(--shadow);
  }

  .primary-navigation.open {
    display: block;
  }

  .nav-links {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
  }

  .nav-links li,
  .nav-links a {
    width: 100%;
  }

  .nav-links a {
    padding: 10px 14px;
  }

  .hero {
    padding-top: 52px;
  }

  .hero-grid,
  .text-grid,
  .split-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual img {
    aspect-ratio: 16 / 11;
  }

  .card-grid,
  .info-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc(50% - 8px);
    justify-self: center;
  }

  .panel-actions {
    justify-content: flex-start;
  }

  .floating-card {
    bottom: 18px;
    left: 14px;
  }

  .container {
    padding-inline: 16px;
  }

  .partner-note,
  .trust-badge {
    align-items: flex-start;
  }

  .footer-links-full,
  .footer-legal-full,
  .legal-trust-row {
    grid-template-columns: 1fr;
  }

  .footer-cta {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .pbd-form-grid {
    grid-template-columns: 1fr;
  }
  .partner-grid {
    grid-template-columns: 1fr;
  }

  .partner-grid > :last-child:nth-child(odd) {
    grid-column: auto;
    width: auto;
    justify-self: stretch;
  }

  .partner-logo {
    min-height: 120px;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .legal-box {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto;
    transition-duration: 0.01ms;
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
  }
}
