:root {
  --ink: #111318;
  --muted: #5e6673;
  --line: #d9dee6;
  --soft: #f3f6f8;
  --white: #ffffff;
  --red: #cc1f2f;
  --red-dark: #971727;
  --steel: #243447;
  --green: #2d6a4f;
  --shadow: 0 18px 50px rgba(17, 19, 24, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  background: var(--white);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(217, 222, 230, 0.9);
  backdrop-filter: blur(16px);
}

.brand img { width: 184px; height: auto; }
nav { display: flex; align-items: center; gap: 24px; color: var(--steel); font-weight: 650; }
nav a, .nav-cta, .button { text-decoration: none; }
.nav-cta { color: var(--red); font-weight: 800; }

.hero {
  position: relative;
  min-height: calc(100vh - 75px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #111;
}

.hero picture, .hero picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 12, 18, 0.84), rgba(8, 12, 18, 0.45) 52%, rgba(8, 12, 18, 0.1));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: 860px;
  margin: 0 clamp(18px, 7vw, 88px) clamp(42px, 8vw, 92px);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow { color: #ff6a76; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(2.4rem, 6vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}
h2 { margin-bottom: 18px; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.03; letter-spacing: 0; }
h3 { margin-bottom: 10px; font-size: 1.18rem; letter-spacing: 0; }
.hero-copy { max-width: 690px; color: rgba(255, 255, 255, 0.88); font-size: clamp(1.05rem, 2vw, 1.35rem); }

.hero-actions, .proof-strip, .tabs, .chat-input-row, .field-pair, .thank-you-actions { display: flex; gap: 12px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 850;
  cursor: pointer;
}
.button.primary { background: var(--red); color: var(--white); }
.button.primary:hover { background: var(--red-dark); }
.button.secondary { background: var(--soft); color: var(--steel); border-color: var(--line); }
.button.secondary:hover { background: #e8edf2; }
.button.ghost { border-color: rgba(255, 255, 255, 0.5); color: var(--white); background: rgba(255, 255, 255, 0.08); }
.button.full { width: 100%; }

.proof-strip {
  flex-wrap: wrap;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.86);
}
.proof-strip span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.section, .band, .request-section, .legal-section, .page-hero { padding: clamp(68px, 9vw, 120px) 0; }
.band { background: var(--soft); }
.section-inner { width: min(1160px, calc(100% - 36px)); margin: 0 auto; }
.split, .request-layout, .contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 76px);
}
.lead-copy { font-size: 1.12rem; color: var(--steel); }
.section-heading { max-width: 760px; margin-bottom: 34px; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.service-grid article,
.topic-grid a,
.topic-grid article {
  min-height: 240px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.topic-section { background: #fff; }
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.topic-grid a,
.topic-grid article {
  display: grid;
  align-content: start;
  min-height: 180px;
  color: inherit;
  text-decoration: none;
}
.topic-grid strong {
  margin-bottom: 12px;
  color: var(--red);
  font-size: 1.15rem;
}
.topic-grid span { color: var(--steel); }
.icon {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--red);
  font-weight: 900;
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88)),
    url("/assets/spedition-lukas.jpg") center / cover;
}

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

.article-card {
  min-height: 260px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  background: var(--white);
}

.article-card span {
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.article-card h2 {
  margin-bottom: 0;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.article-card p {
  color: var(--steel);
}

.article-page {
  padding: clamp(58px, 8vw, 108px) 0;
}

.article-inner {
  width: min(860px, calc(100% - 36px));
  margin: 0 auto;
}

.article-inner h1 {
  color: var(--ink);
  font-size: clamp(2.35rem, 5vw, 4.6rem);
}

.article-inner h2 {
  margin-top: 42px;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.article-inner p {
  color: var(--steel);
}

.article-lead {
  font-size: 1.18rem;
}

.article-cta {
  margin-top: 46px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.article-cta h2 {
  margin-top: 0;
}

.request-section { background: #151a21; color: var(--white); }
.request-copy p { color: rgba(255, 255, 255, 0.78); }
.check-list { padding: 0; margin: 28px 0 0; list-style: none; }
.check-list li { margin-bottom: 10px; color: rgba(255, 255, 255, 0.86); }
.check-list li::before { content: ">"; color: #66d19e; margin-right: 10px; }

.request-panel {
  padding: clamp(18px, 3vw, 28px);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.tabs { margin-bottom: 18px; padding: 4px; background: var(--soft); border-radius: 8px; }
.tab {
  flex: 1;
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font-weight: 850;
  color: var(--muted);
  cursor: pointer;
}
.tab.active { background: var(--white); color: var(--ink); box-shadow: 0 2px 10px rgba(17, 19, 24, 0.08); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

label { display: grid; gap: 7px; margin-bottom: 13px; color: var(--steel); font-weight: 750; }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}
textarea { resize: vertical; }
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
}
.consent input { width: auto; margin-top: 5px; }
.form-status { min-height: 24px; margin: 12px 0 0; color: var(--green); font-weight: 760; }
.form-status.error { color: var(--red); }
.required-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
}

.chat-log {
  height: 390px;
  overflow: auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}
.msg { max-width: 86%; margin: 0 0 12px; padding: 10px 12px; border-radius: 8px; background: #eef2f5; }
.msg.user { margin-left: auto; background: #ffe7ea; }
.chat-input-row { margin-top: 12px; }

.thank-you {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid #cfe7db;
  border-radius: 8px;
  background: #f5fbf8;
  outline: none;
}
.success-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 900;
}
.success-mark::before { content: "✓"; }
.thank-you h3 {
  max-width: 620px;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.05;
}
.thank-you p {
  color: var(--steel);
}
.next-steps {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  padding-left: 22px;
  color: var(--steel);
}
.next-steps li::marker {
  color: var(--green);
  font-weight: 900;
}
.thank-you-actions {
  flex-wrap: wrap;
}

.thanks-page {
  min-height: 100vh;
  background: #151a21;
}

.thanks-main {
  min-height: calc(100vh - 77px);
  display: grid;
}

.thanks-hero {
  display: grid;
  align-items: center;
  justify-items: center;
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(21, 26, 33, 0.94), rgba(21, 26, 33, 0.72)),
    url("/assets/spedition-lukas.jpg") center / cover;
}

.thanks-card {
  width: min(780px, calc(100vw - 64px));
  margin: 0 auto;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.thanks-card h1 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(2.2rem, 5vw, 4.5rem);
}

.thanks-copy {
  max-width: 680px;
  color: var(--steel);
  font-size: 1.1rem;
}

.thanks-card .thank-you-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.thanks-card .button {
  width: 100%;
  min-width: 0;
  text-align: center;
}

.comparison {
  display: grid;
  gap: 16px;
}
.comparison div {
  padding: 22px;
  border-left: 4px solid var(--red);
  background: var(--soft);
}

details {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
details:last-child { border-bottom: 1px solid var(--line); }
summary {
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 850;
}
details p { max-width: 860px; margin: 14px 0 0; color: var(--steel); }

.contact-grid address {
  display: grid;
  gap: 9px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-style: normal;
  background: var(--soft);
}
.contact-grid address a,
.legal-card a { color: var(--red); font-weight: 850; text-decoration: none; }

.legal-content {
  display: grid;
  gap: 28px;
  width: min(1080px, calc(100% - 48px));
}
.legal-card {
  min-width: 0;
  padding: clamp(28px, 5vw, 46px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.legal-card h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}
.legal-card h3 {
  margin-top: 28px;
}
.legal-card p {
  max-width: 980px;
  color: var(--steel);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 54px);
  color: rgba(255, 255, 255, 0.8);
  background: #111318;
}
.site-footer div { display: grid; gap: 4px; }
.site-footer a { color: var(--white); text-decoration: none; font-weight: 800; }
.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  nav { display: none; }
  .split, .request-layout, .contact-grid { grid-template-columns: 1fr; }
  .service-grid,
  .topic-grid,
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .site-header { padding: 12px 16px; }
  .brand img { width: 142px; }
  .nav-cta { font-size: 0.92rem; }
  .hero { min-height: 720px; }
  .hero::after { background: linear-gradient(180deg, rgba(8, 12, 18, 0.35), rgba(8, 12, 18, 0.9)); }
  .hero-content { width: auto; margin: 0 16px 42px; }
  .hero-actions, .field-pair, .chat-input-row, .thank-you-actions { flex-direction: column; }
  .service-grid,
  .topic-grid,
  .article-grid { grid-template-columns: 1fr; }
  .service-grid article,
  .topic-grid a { min-height: auto; }
  .thanks-main { min-height: auto; }
  .thanks-hero {
    align-items: start;
    padding: 34px 24px 56px;
  }
  .thanks-card {
    width: min(100%, 430px);
    margin: 0 auto;
    padding: 30px 26px;
  }
  .thanks-card h1 {
    font-size: clamp(2.15rem, 12vw, 3rem);
    line-height: 1;
  }
  .thanks-copy {
    font-size: 1rem;
  }
  .thanks-card .thank-you-actions {
    grid-template-columns: 1fr;
  }
  .legal-content { width: min(100% - 44px, 1080px); }
  .legal-card { padding: 30px 24px; }
  .site-footer { flex-direction: column; }
}
