/* ===========================
   BASE.CSS – Globales Grunddesign (Premium Final 2025)
   Manger Transporte GmbH & Co. KG
   =========================== */

/* ====== SCHRIFTEN ====== */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/poppins-v24-latin-regular.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/Poppins-SemiBold.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/poppins-v24-latin-700.woff2') format('woff2');
  font-display: swap;
}

/* ====== ROOT-VARIABLEN ====== */
:root {
  /* Farbpalette */
  --clr-bg: #f9f9f9;
  --clr-bg-light: #ffffff;
  --clr-white: #ffffff;
  --clr-text: #222;
  --clr-muted: #555;
  --clr-accent: #0041c4;
  --clr-accent-light: #4f8bff;
  --clr-border: #e4e6eb;
  --clr-shadow: rgba(0,0,0,0.08);

  /* Radius & Schatten */
  --radius: 12px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 6px 18px rgba(0,0,0,0.12);

  /* Layout */
  --max-width: 1200px;
}

/* ====== GLOBAL BOX-SIZING ====== */
*, *::before, *::after {
  box-sizing: border-box;
}

/* ====== BASISSTIL ====== */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', Arial, sans-serif;
  margin: 0;
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ====== TYPOGRAFIE ====== */
h1, h2, h3, h4, h5, h6 {
  color: #111;
  font-weight: 600;
  margin: 0 0 0.6em;
  line-height: 1.25;
}
h1 { font-size: 2.2rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

p {
  margin: 0.6em 0;
  color: var(--clr-text);
}

strong {
  color: #000;
}

a {
  color: var(--clr-accent-light);
  text-decoration: none;
  transition: color 0.25s ease;
}
a:hover {
  color: var(--clr-accent);
}

/* ====== BILDER ====== */
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

/* ====== GRUNDSTRUKTUR ====== */
main {
  width: min(94%, var(--max-width));
  margin: 0 auto;
  padding: 40px 0 0px;
}

section {
  margin-bottom: 60px;
}

/* ====== CONTAINER ====== */
.container {
  width: min(92%, var(--max-width));
  margin: 0 auto;
}

/* ====== UTILITY-KLASSEN ====== */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-left   { text-align: left; }

.rounded     { border-radius: var(--radius); }
.hidden      { display: none !important; }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* ====== SCROLLBAR (optional) ====== */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f0f0f0;
}
::-webkit-scrollbar-thumb {
  background: var(--clr-accent-light);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--clr-accent);
}

/* ====== RESPONSIVE BASIS ====== */
@media (max-width: 900px) {
  html { font-size: 15px; }
}
@media (max-width: 600px) {
  html { font-size: 14px; }
  main { padding: 0px 0 0px; }
  section { margin-bottom: 45px; }
}
