/* Kauf-Oldtimer.de – Satellitenseite der ingenieurgemeinschaft Becker */

:root {
  --ink: #14201c;
  --ink-soft: #2a3a34;
  --muted: #5b6a63;
  --paper: #eef2f0;
  --paper-deep: #d9e2dc;
  --forest: #1f4a3c;
  --forest-deep: #12352b;
  --brass: #9a7b3c;
  --brass-soft: #c4a86a;
  --line: rgba(20, 32, 28, 0.14);
  --white: #f8faf8;
  --shadow: 0 18px 40px rgba(18, 40, 32, 0.18);
  --radius: 4px;
  --max: 70rem;
  --font-display: "Spectral", "Palatino Linotype", Palatino, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --header-h: 4.75rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(154, 123, 60, 0.12), transparent 55%),
    radial-gradient(900px 420px at 100% 0%, rgba(31, 74, 60, 0.16), transparent 50%),
    linear-gradient(180deg, #e7eee9 0%, var(--paper) 28%, #f4f7f5 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--forest);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--brass);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--forest-deep);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  top: 0.75rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(18, 53, 43, 0.96);
  color: var(--white);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(196, 168, 106, 0.28);
}

.satellite-bar {
  background: rgba(0, 0, 0, 0.22);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 0.35rem 1rem;
}

.satellite-bar a {
  color: var(--brass-soft);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: grid;
  gap: 0.15rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.brand:hover {
  color: var(--brass-soft);
}

.brand-name {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.brand-entity {
  font-size: 0.78rem;
  color: rgba(248, 250, 248, 0.78);
  line-height: 1.35;
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(248, 250, 248, 0.35);
  background: transparent;
  color: var(--white);
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius);
  font: inherit;
  cursor: pointer;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: center;
}

.site-nav a {
  color: rgba(248, 250, 248, 0.92);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--brass-soft);
}

.site-nav a[aria-current="page"] {
  border-bottom: 2px solid var(--brass-soft);
  padding-bottom: 0.1rem;
}

main {
  overflow-x: clip;
}

.hero {
  position: relative;
  min-height: min(88vh, 46rem);
  display: grid;
  align-items: end;
  color: var(--white);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 28, 22, 0.82) 0%, rgba(10, 28, 22, 0.55) 48%, rgba(10, 28, 22, 0.28) 100%),
    linear-gradient(0deg, rgba(10, 28, 22, 0.78) 0%, transparent 48%);
}

.hero-content {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 5.5rem) 1.25rem clamp(2.5rem, 6vw, 4rem);
  animation: rise 0.9s ease both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  line-height: 0.98;
  margin: 0 0 0.85rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
  max-width: 28ch;
}

.hero-lead {
  margin: 0 0 1.5rem;
  max-width: 42ch;
  font-size: 1.08rem;
  color: rgba(248, 250, 248, 0.9);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  color: inherit;
}

.btn-primary {
  background: var(--brass);
  color: var(--forest-deep);
}

.btn-primary:hover {
  background: var(--brass-soft);
  color: var(--forest-deep);
}

.btn-ghost {
  border-color: rgba(248, 250, 248, 0.45);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.btn-secondary {
  background: var(--forest);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--forest-deep);
  color: var(--white);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.4rem, 6vw, 4.2rem) 1.25rem;
}

.section-tight {
  padding-top: 1.5rem;
}

.section-head {
  max-width: 48rem;
  margin-bottom: 1.75rem;
}

.section-head h2,
.prose h2,
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--forest-deep);
  margin: 0 0 0.65rem;
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
}

.section-head p,
.lead {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.2rem) 1.25rem 0.5rem;
  animation: rise 0.7s ease both;
}

.page-hero .eyebrow {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: var(--brass);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.1rem 1.15rem;
  border-left: 3px solid var(--brass);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.42));
  box-shadow: 0 1px 0 var(--line);
  animation: rise 0.7s ease both;
}

.step:nth-child(2) { animation-delay: 0.05s; }
.step:nth-child(3) { animation-delay: 0.1s; }
.step:nth-child(4) { animation-delay: 0.15s; }
.step:nth-child(5) { animation-delay: 0.2s; }
.step:nth-child(6) { animation-delay: 0.25s; }
.step:nth-child(7) { animation-delay: 0.3s; }
.step:nth-child(8) { animation-delay: 0.35s; }

.step-num {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--forest);
  color: var(--white);
  font-weight: 700;
  flex-shrink: 0;
}

.step h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--forest-deep);
}

.step p {
  margin: 0;
  color: var(--ink-soft);
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.25rem, 4vw, 2.5rem);
  align-items: center;
}

.split.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--forest-deep);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 16rem;
  transition: transform 1.2s ease;
}

.media-frame:hover img {
  transform: scale(1.03);
}

.media-caption {
  margin-top: 0.55rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.prose {
  max-width: 48rem;
}

.prose h3 {
  font-family: var(--font-display);
  color: var(--forest-deep);
  font-size: 1.35rem;
  margin: 1.8rem 0 0.55rem;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

.prose li + li {
  margin-top: 0.4rem;
}

.quote {
  margin: 1.5rem 0;
  padding: 1.1rem 1.25rem;
  border-left: 3px solid var(--brass);
  background: rgba(31, 74, 60, 0.06);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--forest-deep);
}

.quote cite {
  display: block;
  margin-top: 0.65rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.92rem;
  color: var(--muted);
}

.checklist {
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: 0.7rem;
  align-items: start;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
}

.checklist svg {
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.15rem;
  color: var(--forest);
}

.band {
  background:
    linear-gradient(135deg, rgba(31, 74, 60, 0.94), rgba(18, 53, 43, 0.96)),
    url("../img/oldtimer-bewertung.jpg") center / cover;
  color: var(--white);
}

.band .section-head h2,
.band .section-head p {
  color: var(--white);
}

.band a:not(.btn) {
  color: var(--white);
}

.band a:not(.btn):hover {
  color: var(--brass-soft);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature {
  padding: 1.15rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.feature h3 {
  margin: 0.7rem 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.feature p {
  margin: 0;
  color: rgba(248, 250, 248, 0.86);
  font-size: 0.98rem;
}

.icon-badge {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(196, 168, 106, 0.18);
  color: var(--brass-soft);
}

.icon-badge svg {
  width: 1.35rem;
  height: 1.35rem;
}

.equip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.equip-item {
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.62);
  border-top: 3px solid var(--forest);
}

.equip-item h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--forest-deep);
}

.equip-item p,
.equip-item ul {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.equip-item ul {
  padding-left: 1.1rem;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.25rem;
}

.contact-box,
.info-box {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
}

.contact-box h2,
.info-box h2 {
  margin-top: 0;
  font-family: var(--font-display);
  color: var(--forest-deep);
}

.contact-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.contact-list li {
  margin: 0 0 0.85rem;
}

.contact-list strong {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.entity-card {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  align-items: center;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.entity-card img {
  width: 7rem;
  height: 7rem;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(154, 123, 60, 0.45);
}

.site-footer {
  margin-top: 2rem;
  background: var(--forest-deep);
  color: rgba(248, 250, 248, 0.88);
  padding: 2.25rem 1.25rem 1.5rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}

.site-footer h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--brass-soft);
}

.site-footer a {
  color: rgba(248, 250, 248, 0.9);
}

.site-footer a:hover {
  color: var(--brass-soft);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li + li {
  margin-top: 0.4rem;
}

.footer-meta {
  max-width: var(--max);
  margin: 1.5rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.9rem;
  color: rgba(248, 250, 248, 0.7);
}

.note {
  font-size: 0.95rem;
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.65);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 36rem;
}

th,
td {
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: rgba(31, 74, 60, 0.08);
  color: var(--forest-deep);
  font-weight: 700;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .split,
  .split.reverse,
  .contact-panel,
  .footer-inner,
  .feature-grid,
  .equip-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--forest-deep);
    border-bottom: 1px solid rgba(196, 168, 106, 0.28);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease;
  }

  .site-nav.is-open {
    max-height: 24rem;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1.1rem;
    gap: 0.15rem;
  }

  .site-nav a {
    display: block;
    padding: 0.65rem 0.2rem;
  }

  body.nav-open {
    overflow: hidden;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 1rem;
  }

  .hero {
    min-height: min(78vh, 36rem);
  }

  .entity-card {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .step {
    grid-template-columns: 1fr;
  }
}

@media (orientation: landscape) and (max-height: 520px) {
  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-top: 2rem;
    padding-bottom: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-content,
  .page-hero,
  .step,
  .media-frame img {
    animation: none !important;
    transition: none !important;
  }
}

@media print {
  .site-header,
  .nav-toggle,
  .cta-row,
  .site-footer {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}
