@font-face {
  font-family: 'raste';
  src: url('/public/static/Bell-Gothic_Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'raste';
  src: url('/public/static/Bell-Gothic_Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'raste';
  src: url('/public/static/Bell-Gothic_Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}
html, body {
  padding: 0;
  margin: 0;
  min-width: 320px;
}
body {
  background: #f4f1ec;
  font-family: 'raste', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 26px;
  color: #1a1a1a;
}
a {
  color: #E94F32;
  text-decoration-color: rgba(233, 79, 50, 0.4);
}
a:hover {
  color: #1a1a1a;
}
label {
  cursor: pointer;
  color: #444;
}
h1, h2, h3, h4 {
  font-weight: 700;
  color: #1a1a1a;
}
.section {
  margin-bottom: 45px;
}

input[type="text"], input[type="email"], input[type="password"], select {
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 3px;
  width: 100%;
  font-size: 1em;
  font-family: 'raste', system-ui, -apple-system, sans-serif;
}
input:focus {
  border-color: #E94F32;
  outline: none;
  box-shadow: 0 0 0 2px rgba(233, 79, 50, 0.15);
}
input:focus::placeholder {
  color: transparent;
}
input[disabled] {
  opacity: 0.5;
}

.center { text-align: center; }
.right { text-align: right; }
.small { font-size: 0.875em; }
.error { color: #E94F32; }

.button {
  background: #E94F32;
  padding: 15px 30px;
  border-radius: 3px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  display: inline-block;
  min-width: 150px;
  font-size: 1.1em;
  text-align: center;
  font-family: 'raste', system-ui, -apple-system, sans-serif;
  font-weight: 700;
  transition: background 0.2s;
}
.button:hover {
  background: #1a1a1a;
  color: #fff;
}
.button.button-outline {
  background: #fff;
  border: 1px solid #E94F32;
  color: #E94F32;
}
.button.button-outline:hover {
  border-color: #1a1a1a;
  background-color: #1a1a1a;
  color: #fff;
}

.container {
  margin: 60px auto 15px auto;
  max-width: 550px;
}

.wrap {
  background: #fff;
  padding: 40px;
  border: 1px solid #e0ddd8;
  border-top: 3px solid #E94F32;
}

.header {
  border-bottom: 2px dashed #E94F32;
  padding-bottom: 15px;
  margin-bottom: 30px;
}
.header .logo img {
  width: auto;
  max-width: 180px;
}

.unsub-all {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.row {
  margin-bottom: 20px;
}
.lists {
  list-style-type: none;
  padding: 0;
}
.lists li {
  margin: 0 0 5px 0;
}
.lists .description {
  margin: 0 0 15px 0;
  font-size: 0.875em;
  line-height: 1.3rem;
  color: #888;
  margin-left: 25px;
}
.form .nonce {
  display: none;
}
.form .captcha {
  margin-top: 30px;
}

.archive {
  list-style-type: none;
  margin: 25px 0 0 0;
  padding: 0;
}
.archive .date {
  display: block;
  color: #666;
  font-size: 0.875em;
}
.archive li {
  margin-bottom: 15px;
}
.feed {
  margin-right: 15px;
}

.home-options {
  margin-top: 30px;
}
.home-options a {
  margin: 0 7px;
}

.pagination {
  margin-top: 30px;
  text-align: center;
}
.pg-page {
  display: inline-block;
  padding: 0 10px;
  text-decoration: none;
}
.pg-page.pg-selected {
  text-decoration: underline;
  font-weight: bold;
}

.login .submit {
  margin-top: 20px;
}
.login button {
  width: 100%;
  vertical-align: middle;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login button img {
  max-width: 24px;
  margin-right: 10px;
}
.login input[name=totp_code] {
  font-size: 2em;
  letter-spacing: 5px;
  text-align: center;
}

#btn-back {
  display: none;
}

/* Raststätte Footer */
.raste-footer {
  background: #fff;
  margin-top: 40px;
}
.raste-footer-border {
  border-top: 2px dashed #E94F32;
}
.raste-footer-inner {
  display: grid;
  grid-template-columns: auto 1fr 1fr 1fr;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
  padding: 28px 20px 36px;
  align-items: start;
}
.raste-footer-bottom {
  border-bottom: 2px dashed #E94F32;
}
.raste-footer-col {
  font-size: 13px;
  line-height: 1.6;
  color: #333;
}

/* Logo column */
.raste-footer-brand {
  display: flex;
  align-items: center;
}
.raste-footer-logo {
  width: 160px;
  height: auto;
}

/* Contact column */
.raste-footer-contact p {
  margin: 0;
}
.raste-footer-contact strong {
  color: #1a1a1a;
}
.raste-footer-contact a {
  color: #E94F32;
  text-decoration: none;
}
.raste-footer-contact a:hover {
  text-decoration: underline;
}

/* Links column */
.raste-footer-links {
  display: flex;
  flex-direction: column;
  border-left: 1px solid #ddd;
  padding-left: 24px;
}
.raste-footer-links a {
  color: #E94F32;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.8;
}
.raste-footer-links a:hover {
  color: #1a1a1a;
}

/* Sponsors column */
.raste-footer-sponsors {
  border-left: 1px solid #ddd;
  padding-left: 24px;
}
.raste-footer-sponsors-label {
  margin: 0 0 8px;
  font-weight: 700;
  color: #1a1a1a;
}
.raste-footer-sponsors-img {
  width: 100%;
  max-width: 220px;
  height: auto;
}

@media screen and (max-width: 800px) {
  .raste-footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .raste-footer-links,
  .raste-footer-sponsors {
    border-left: none;
    padding-left: 0;
  }
  .raste-footer-links {
    border-top: 1px solid #ddd;
    padding-top: 16px;
  }
  .raste-footer-sponsors {
    border-top: 1px solid #ddd;
    padding-top: 16px;
  }
}

@media screen and (max-width: 550px) {
  .raste-footer-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .raste-footer-brand {
    justify-content: center;
  }
  .raste-footer-contact {
    text-align: center;
  }
  .raste-footer-links {
    align-items: center;
  }
  .raste-footer-sponsors {
    text-align: center;
  }
}

@media screen and (max-width: 650px) {
  .wrap {
    margin: 0;
    padding: 30px;
    max-width: none;
    border-left: none;
    border-right: none;
  }
  .container {
    margin-top: 0;
  }
}
