/* busOffice – statische Fassung */

:root {
  --red: #b72236;
  --red-dark: #761623;
  --grey: #e2e4e7;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--grey);
  color: #fff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.25rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-shadow: 1px 1px 3px #111;
}

a { color: var(--red); text-decoration: none; text-shadow: 1px 1px 1px #fff; }
a:hover, a:focus { color: var(--red-dark); text-decoration: underline; }

h1 { font-size: 2rem; line-height: 1.2; }
h2 { font-size: 2.5rem; line-height: 1.2; }
h3 { font-size: 1.4rem; line-height: 1.3; }

/* Kopfbereich */
header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

header nav a {
  margin-right: 1.25rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.logo { width: 100px; height: auto; display: block; }

@media only screen and (min-width: 576px) {
  .logo { width: 150px; }
}

/* Abschnitte mit Hintergrundbild */
.section {
  min-height: 100vh;
  padding: 100px 0;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: left top;
  background-repeat: no-repeat;
}

.section--road    { background-image: url("../img/road-1365.jpg"); }
.section--oldbus  { background-image: url("../img/oldbus-1365.jpg"); }
.section--inside  { background-image: url("../img/businside-1365.jpg"); }
.section--back    { background-image: url("../img/busback-1365.jpg"); }
.section--island  { background-image: url("../img/island-1365.jpg"); }

@media only screen and (max-width: 600px) {
  .section--road   { background-image: url("../img/road-607.jpg"); }
  .section--oldbus { background-image: url("../img/oldbus-375.jpg"); }
  .section--inside { background-image: url("../img/businside-375.jpg"); }
  .section--back   { background-image: url("../img/busback-375.jpg"); }
  .section--island { background-image: url("../img/island-608.jpg"); }
}

@media only screen and (min-width: 1400px) {
  .section--road   { background-image: url("../img/road-1920.jpg"); }
  .section--oldbus { background-image: url("../img/oldbus-1920.jpg"); }
  .section--inside { background-image: url("../img/businside-1920.jpg"); }
  .section--back   { background-image: url("../img/busback-1920.jpg"); }
  .section--island { background-image: url("../img/island-1920.jpg"); }
}

/* Raster */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 4rem;
  justify-content: center;
}

.col { flex: 1 1 100%; }

@media only screen and (min-width: 768px) {
  .col { flex: 1 1 380px; max-width: 480px; }
  .col--wide { flex: 1 1 100%; max-width: 720px; }
}

.text-right { text-align: right; }

/* Schaltfläche */
.button {
  display: inline-block;
  margin: 20px 0;
  padding: 10px 20px;
  background-color: var(--red);
  color: #fff;
  text-align: center;
  text-shadow: none;
}
.button:hover, .button:focus {
  background-color: var(--red-dark);
  color: #fff;
  text-decoration: none;
}

/* Textseiten (Impressum, Datenschutz) */
.textpage { min-height: 100vh; padding: 120px 0 60px; }
.textpage ol, .textpage ul { padding-left: 1.5rem; }
.textpage li { margin-bottom: 1rem; }
.textpage p, .textpage li { font-size: 1.05rem; line-height: 1.6; }

.textpage .col {
  background: rgba(0, 0, 0, 0.55);
  padding: 2rem;
}
.textpage a { color: #ff9aa7; text-shadow: 1px 1px 2px #000; }
.textpage a:hover, .textpage a:focus { color: #ffc4cc; }
