/* ================================================================
   site.css – Gemeinsame Stile motorradtransport-deutschland.de
   Nav · Header · Footer · Basis
   Einmal ändern = alle Seiten aktualisiert
   ================================================================ */

/* --- CSS Custom Properties ---------------------------------- */
:root {
  --mt-blue:       #0099FF;
  --mt-blue-dark:  #0066cc;
  --mt-blue-deep:  #44ccff;
  --mt-red:        #d91600;
  --mt-dark-bg:    #0a1020;
  --mt-nav-bg:     #060c18;
  --mt-nav-border: #1e2a3d;
  --mt-footer-bg:  #080c14;
  --mt-text-muted: #b0bdd2;
  --mt-text-link:  #6b7fa0;
}

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

body {
  margin: 0;
  font-family: 'Open Sans', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

/* --- Navigation -------------------------------------------- */
#site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--mt-nav-bg);
  border-bottom: 1px solid var(--mt-nav-border);
}

#site-nav .inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 48px;
}

.nav-links {
  display: flex;
  gap: 4px;
}

.nav-links a {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 4px;
  background: linear-gradient(160deg, #1c3050 0%, #0d1e38 100%);
  border: 1px solid rgba(0,153,255,0.25);
  box-shadow: 0 2px 8px rgba(0,102,204,0.35);
  transition: background 0.2s, box-shadow 0.2s;
}

.nav-links a:hover {
  background: linear-gradient(160deg, var(--mt-blue) 0%, var(--mt-blue-dark) 100%);
  box-shadow: 0 2px 12px rgba(0,153,255,0.5);
}

/* --- Header ----------------------------------------------- */
#site-header {
  background: var(--mt-dark-bg);
  padding: 9px 0 10px;
  height: 186px;
  box-sizing: border-box;
  overflow: hidden;
}

#site-header .inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#site-header .logo img {
  width: 513px;
  max-width: 100%;
  margin-left: -34px;
}

#site-header h1 {
  font-family: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  font-weight: 900;
  font-size: 2.0rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-transform: uppercase;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: -5px;
  text-align: left;
}

/* --- Utility ------------------------------------------------ */
.container,
.page-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Footer ----------------------------------------------- */
#site-footer {
  background: var(--mt-footer-bg);
  padding: 48px 0 14px;
  border-top: 1px solid var(--mt-nav-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: max-content 1fr 2fr auto;
  align-items: start;
  gap: 40px;
  margin-bottom: 36px;
}

.footer-col h3 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--mt-text-muted);
  margin-top: 0;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 9px;
}

.footer-col ul li a {
  color: var(--mt-text-link);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--mt-blue-deep);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.footer-social a {
  background: #1e2a3d;
  color: #8a9ab5;
  font-size: 16px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.footer-social a:hover {
  background: var(--mt-blue);
  color: #fff;
}

.contact-item {
  margin-bottom: 12px;
}

.contact-item .label {
  font-size: 12px;
  font-weight: 700;
  color: #4d88bb;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 3px;
}

.contact-item .value {
  color: var(--mt-text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.footer-logo-col {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  align-self: stretch;
  margin-top: -20px;
}

.footer-logo-wrap {
  width: 155px;
  height: 155px;
  transform: translateX(-20px);
}

.footer-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.92;
  display: block;
}

.footer-divider {
  border: none;
  border-top: 1px solid #1a2438;
  margin-bottom: 10px;
}

.footer-copy {
  font-size: 11px;
  color: var(--mt-text-link);
  margin: 0;
  text-align: right;
}

.footer-col:nth-child(3) {
  padding-left: 98px;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col:nth-child(3) { padding-left: 0; }
}

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* --- Legal Pages ------------------------------------------ */
.legal-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px 60px;
  font-family: 'Open Sans', 'Segoe UI', Arial, sans-serif;
}

.legal-header {
  background: #0a1020;
  border-radius: 10px;
  padding: 28px 32px 24px;
  margin-bottom: 16px;
}

.legal-header h2 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.2;
}

.legal-card {
  background: #fff;
  border: 1px solid #e0e8f4;
  border-radius: 10px;
  padding: 32px 36px 40px;
}

.legal-card h2 {
  font-size: 17px;
  font-weight: 700;
  color: #44ccff;
  margin: 28px 0 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e8ecf4;
}

.legal-card h2:first-child { margin-top: 0; }

.legal-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #0a1a2e;
  margin: 20px 0 6px;
}

.legal-card p {
  font-size: 16px;
  color: #4a5a70;
  line-height: 1.8;
  margin: 0 0 10px;
}

.legal-card p.subtitle {
  font-size: 15px;
  color: #44ccff;
  font-weight: 600;
  margin: -2px 0 16px;
}

.legal-card ul {
  padding-left: 20px;
}

.legal-card li {
  font-size: 16px;
  color: #4a5a70;
  line-height: 1.8;
  margin-bottom: 6px;
}

.legal-card a { color: #44ccff; }

/* --- Barrierefreiheit -------------------------------------- */
a:focus-visible {
  outline: 2px solid var(--mt-blue);
  outline-offset: 3px;
  border-radius: 3px;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--mt-blue);
  outline-offset: 2px;
}

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