:root {
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --card: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --soft: #86868b;
  --line: #d9d9df;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.08);
  --radius: 18px;
  --header: 64px;
  --max: 1080px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
summary {
  cursor: pointer;
}

::selection {
  background: rgba(0, 113, 227, 0.18);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(var(--max), calc(100% - 32px));
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 740;
}

.brand-logo {
  width: 76px;
  height: 38px;
  border-radius: 7px;
  object-fit: contain;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 640;
}

.nav-links a {
  transition: color 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--text);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 17px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  opacity: 0;
  transform: scaleX(0.4);
}

.nav-toggle[aria-expanded="true"] span:nth-child(4) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  width: min(920px, calc(100% - 32px));
  min-height: calc(82svh - var(--header));
  display: grid;
  place-items: center;
  align-content: center;
  gap: 20px;
  margin: 0 auto;
  padding: 96px 0 76px;
  text-align: center;
}

.hero-logo {
  width: min(430px, 82vw);
  height: auto;
  margin-bottom: 8px;
  object-fit: contain;
}

.hero h1,
.subpage-hero h1 {
  max-width: 900px;
  margin: 0;
  color: var(--text);
  font-size: 72px;
  line-height: 1.03;
  font-weight: 820;
  letter-spacing: 0;
}

.hero p,
.subpage-hero p,
.section-heading p,
.sell-copy p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 21px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 720;
  line-height: 1;
  transition: transform 160ms var(--ease), background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--blue);
  color: #fff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--blue-hover);
}

.button-secondary {
  border-color: var(--line);
  background: var(--bg-soft);
  color: var(--text);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: #b8b8c0;
  background: #eeeeF2;
}

.button-disabled {
  border-color: var(--line);
  background: var(--bg-soft);
  color: var(--soft);
  pointer-events: none;
}

.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 78px 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}

.section-heading h2,
.sell-copy h2,
.contact-panel h2,
.legal-section h2 {
  margin: 0;
  color: var(--text);
  font-size: 42px;
  line-height: 1.12;
  font-weight: 780;
  letter-spacing: 0;
}

.section-heading p {
  margin-top: 10px;
  font-size: 18px;
}

.current-listing {
  max-width: 940px;
  margin: 0 auto;
}

.listing-card,
.benefit-card,
.purchase-form,
.faq-item,
.legal-section,
.legal-warning {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.listing-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  overflow: hidden;
}

.listing-media {
  min-height: 430px;
  display: grid;
  place-items: center;
  background: var(--bg-soft);
}

.listing-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-placeholder {
  width: min(280px, 68%);
  aspect-ratio: 0.74 / 1;
  display: grid;
  place-items: center;
  border: 1px solid #d1d1d6;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff, #ececf0);
  box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.75), 0 20px 50px rgba(0, 0, 0, 0.06);
}

.product-placeholder span {
  width: 42%;
  height: 10px;
  border-radius: 999px;
  background: #d8d8de;
}

.listing-content {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 44px;
}

.listing-category {
  margin: 0;
  color: var(--blue);
  font-weight: 720;
}

.listing-content h3 {
  margin: 0;
  color: var(--text);
  font-size: 34px;
  line-height: 1.14;
  font-weight: 780;
}

.listing-content p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.listing-content small {
  color: var(--soft);
}

.listing-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.listing-facts div {
  min-width: 0;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.listing-facts dt {
  margin: 0 0 2px;
  color: var(--soft);
  font-size: 13px;
}

.listing-facts dd {
  margin: 0;
  color: var(--text);
  font-weight: 700;
}

.listing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.listing-empty .listing-content {
  align-content: center;
}

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

.benefit-card {
  padding: 28px;
  box-shadow: none;
}

.benefit-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  letter-spacing: 0;
}

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

.sell-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.sell-copy {
  position: sticky;
  top: calc(var(--header) + 28px);
  padding-top: 10px;
}

.sell-copy p {
  margin: 16px 0 0;
}

.purchase-form {
  display: grid;
  gap: 16px;
  padding: 28px;
}

#ankauf-formular .purchase-form {
  max-width: 700px;
  margin: 0 auto;
}

.purchase-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 680;
}

.purchase-form input,
.purchase-form select,
.purchase-form textarea {
  width: 100%;
  border: 1px solid #cfcfd6;
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  padding: 14px 15px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.purchase-form textarea {
  resize: vertical;
}

.purchase-form input:focus,
.purchase-form select:focus,
.purchase-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12);
}

.consent {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: 10px !important;
  color: var(--muted) !important;
  font-size: 14px;
  font-weight: 500 !important;
}

.consent input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin-top: 2px;
}

.faq {
  max-width: 880px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  box-shadow: none;
}

.faq-item summary {
  list-style: none;
  padding: 20px 22px;
  color: var(--text);
  font-size: 18px;
  font-weight: 720;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.footer {
  margin-top: 56px;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}

.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 32px;
  align-items: start;
  margin: 0 auto;
  padding: 38px 0 24px;
}

.footer-brand {
  margin-bottom: 12px;
}

.footer p,
.footer address {
  color: var(--muted);
  font-style: normal;
}

.footer p {
  max-width: 420px;
  margin: 0;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--blue);
}

.footer-links {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.footer .footer-credit {
  display: block;
  width: min(var(--max), calc(100% - 32px));
  max-width: none;
  margin: 0 auto;
  padding: 0 0 32px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.footer .footer-credit a {
  color: var(--text);
  font-weight: 650;
}

.subpage-hero {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0 36px;
  text-align: center;
}

.subpage-hero p {
  margin-top: 14px;
}

.legal-page,
.subpage-main {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.legal-content {
  max-width: 840px;
  display: grid;
  gap: 14px;
  margin: 0 auto;
  padding: 24px 0 52px;
}

.legal-section,
.legal-warning {
  padding: 24px;
  box-shadow: none;
}

.legal-section h2,
.legal-warning h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.legal-section p,
.legal-warning p {
  margin: 0 0 12px;
  color: var(--muted);
}

.legal-section p:last-child,
.legal-warning p:last-child {
  margin-bottom: 0;
}

.section-reveal {
  opacity: 1;
  transform: none;
}

body.reveal-ready .section-reveal {
  opacity: 1;
  transform: translateY(14px);
  transition: transform 360ms var(--ease);
}

body.reveal-ready .section-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .hero h1,
  .subpage-hero h1 {
    font-size: 54px;
  }

  .hero p,
  .subpage-hero p,
  .section-heading p,
  .sell-copy p {
    font-size: 19px;
  }

  .listing-card,
  .sell-layout {
    grid-template-columns: 1fr;
  }

  .listing-media {
    min-height: 340px;
  }

  .sell-copy {
    position: static;
  }

  .benefit-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  :root {
    --header: 66px;
  }

  .nav {
    width: calc(100% - 28px);
  }

  .brand span {
    display: none;
  }

  .brand-logo {
    width: 64px;
    height: 34px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: fixed;
    left: 14px;
    right: 14px;
    top: calc(var(--header) + 10px);
    display: grid;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    padding: 10px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    padding: 14px;
    border-radius: 12px;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible {
    background: var(--bg-soft);
  }

  .hero {
    min-height: auto;
    padding: 74px 0 54px;
  }

  .hero-logo {
    width: min(300px, 84vw);
    margin-bottom: 4px;
  }

  .hero h1,
  .subpage-hero h1 {
    font-size: 44px;
  }

  .hero-actions,
  .listing-actions {
    width: 100%;
    display: grid;
  }

  .button {
    width: 100%;
    min-height: 50px;
  }

  .section {
    padding: 58px 0;
  }

  .section-heading h2,
  .sell-copy h2 {
    font-size: 34px;
  }

  .listing-media {
    min-height: 300px;
  }

  .listing-content,
  .purchase-form {
    padding: 22px;
  }

  .listing-content h3 {
    font-size: 28px;
  }

  .listing-facts {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
