.about-section {
  padding-top: 10rem;
  position: relative;
  /*background: linear-gradient(to bottom, #000000 0%, rgba(0, 0, 0, 0.9) 75%, rgba(0, 0, 0, 0.8) 100%);*/
}
.about-section > .container {
  position: relative;
}
.about-section p {
  margin-bottom: 5rem;
}
.imprint-section p {
  margin-bottom: 1.5rem;
}
.text-section {
  padding: 10rem 0;
  background-color: #f5f5f5;
}
.text-section span p {
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
  -webkit-column-gap: 3em;
  -moz-column-gap: 3em;
  column-gap: 3em;
  margin: 0;
}
.form-section {
  padding-top: 10rem;
  /*background: linear-gradient(to bottom, #000000 0%, rgba(0, 0, 0, 0.9) 75%, rgba(0, 0, 0, 0.8) 100%);*/
}
.projects-section {
  padding: 10rem 0;
}
.projects-section .featured-text {
  padding: 2rem;
}
@media (min-width: 992px) {
  .projects-section .featured-text {
    padding: 0 0 0 2rem;
    border-left: 0.5rem solid #d7141e;
  }
}
.projects-section .project-text {
  padding: 3rem;
  font-size: 90%;
}
@media (min-width: 992px) {
  .projects-section .project-text {
    padding: 5rem;
  }
  .projects-section .project-text hr {
    border-color: #d7141e;
    border-width: 0.25rem;
    width: 30%;
  }
}

.contact-section {
  padding: 10rem 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.5) 75%, #000000 100%), url("../assets/img/footer_bg_70er.jpg");
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: cover;
}
.signup-section .form-inline input {
  box-shadow: 0 0.1875rem 0.1875rem 0 rgba(0, 0, 0, 0.1) !important;
  padding: 1.25rem 2rem;
  height: auto;
  font-family: "Varela Round", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 80%;
  text-transform: uppercase;
  letter-spacing: 0.15rem;
  border: 0;
}

.contact-section {
  padding-top: 5rem;
}
.contact-section .card {
  border: 0;
  border-bottom: 0.25rem solid #d7141e;
}
.contact-section .card h4 {
  font-size: 0.8rem;
  font-family: "Varela Round", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  text-transform: uppercase;
  letter-spacing: 0.15rem;
}
.contact-section .card hr {
  border-color: #d7141e;
  border-width: 0.25rem;
  width: 3rem;
}
.contact-section .social {
  margin-top: 5rem;
}
.contact-section .social a {
  text-align: center;
  height: 3rem;
  width: 3rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 100%;
  line-height: 3rem;
  color: rgba(255, 255, 255, 0.3);
}
.contact-section .social a:hover {
  color: rgba(255, 255, 255, 0.5);
}
.contact-section .social a:active {
  color: #fff;
}
a.preview {
  display: inline-block !important;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -30px;
  text-align: center;
}

@media only screen and (max-width: 47.9999em) and (min-width: 20em) {
  #mainNav .navbar-brand {
    color: #000 !important;
  }
  h1, .h1 {
    font-size: 2.15rem;
  }
  h2, .h2 {
    font-size: 1.5rem;
  }
  h3, .h3 {
    font-size: 1.15rem;
  }
  .masthead {
    height: 13rem;
    min-height: 13rem;
    padding: 13rem 0;
    background-position: center 0px;
  }
  .about-section {
    padding-top: 3rem;
  }
  .header-background {
    margin-top: 13rem;
  }
  .header-background:before {
    height: 65%;
  }
  .header-background:after {
    height: 45%;
    top: 65%;
  }
  .masthead h1 {
    font-size: 1.5rem;
    line-height: 2.5rem;
  }
  .masthead h2 {
    font-size: 1rem;
  }
  .masthead .wappen {
    height: 90px;
    width: 90px;
    top: -95px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
  }
  .text-section, .form-section,.contact-section, .footer {
    padding: 3rem 0 !important;
  }
  .text-section span p {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
    -webkit-column-gap: 1em;
    -moz-column-gap: 1em;
    column-gap: 1em;
    margin: 0;
  }
}


.footer {
  padding: 5rem 0;
}
.button2,
.button1 {
  border-radius: 36px;
  padding: 7px 35px 10px 35px;
  font-size: 16px;
  height: 40px;
  line-height: 16px;
  width: 240px;
}
.button1 {
  color: #fff;
  border: 1px solid #D71423;
  background-color: #D71423;
  margin-right: 5px;
}
.button2 {
  color: #D71423;
  border: 1px solid #D71423;
  background-color: #fff;
  margin-left: 5px;
}
input.empty {
  border: 0;
  background-color: transparent !important;
  padding-left: 0;
  font-size: 22px;
  height: 38px;
}
.sum-group:after {
  content: "EUR";
  position: absolute;
  top: 35px;
  left: 2.25em;
  font-size: 22px;
}
input.number {
  width: 60px !important;
  flex: 0 1 auto !important;
}
.btn-minus,
.btn-plus {
  height: 38px;
  border: 1px solid #ced4da;
}
.btn-minus {
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
  border-right: none;
}
.btn-plus {
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  border-left: none;
}
input.empty:focus {
 box-shadow: none;
 border: none;
}
div[class*=box] {
  height: 33.33%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
}

.paypal-logo {
  font-family: Verdana, Tahoma;
  font-weight: bold;
  font-size: 26px;
}
.paypal-logo i:first-child {
  color: #253b80;
}
.paypal-logo i:last-child {
  color: #179bd7;
}
.paypal-button {
  padding: 5px 60px;
  border: 1px solid #FF9933;
  border-radius: 45px;
  background-image: linear-gradient(#fff0a8, #f9b421);
  margin: 0 auto;
  display: block;
  min-width: 138px;
  position: relative;
}
.paypal-button-title {
  font-size: 14px;
  color: #505050;
  vertical-align: baseline;
  text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.6);
  display: block;
}
.paypal-button .paypal-logo {
  display: inline-block;
  text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.6);
  font-size: 18px;
}

.nav-tabs .nav-item {
  width: 50%;
}
.nav-tabs .nav-link {
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  text-align: center;
  letter-spacing: .2em;
  font-weight: 500;
  color: #929292;
}
.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
  color: #D71423;
  font-weight: 600;
}

/* ==========================================================================
   Feinschliff 10/2026: Lesbarkeit und Bestellbereich (nur Ergänzungen)
   ========================================================================== */
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 4.5rem; }

/* angenehme Zeilenlänge und -höhe für die Texte */
.about-section .col-lg-10 { max-width: 46rem; }
.about-section { padding-top: 7rem; }
.about-section p,
.text-section p,
.imprint-section p { line-height: 1.75; }
.text-section span p { column-gap: 4em; }
.text-section { padding: 7rem 0; }

/* "Jetzt Probe lesen" als dezenter Button */
a.preview {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  bottom: -22px;
  padding: .55rem 1.6rem;
  border-radius: 999px;
  background: #d7141e;
  color: #fff;
  font-weight: 500;
  box-shadow: 0 6px 18px rgba(215, 20, 30, .25);
  transition: background .2s, transform .2s;
}
a.preview:hover { background: #b10f18; color: #fff; text-decoration: none; transform: translateX(-50%) translateY(-2px); }

/* Bestellbereich als Karte */
.form-section { padding-top: 7rem; padding-bottom: 5rem; }
.form-section h2 { text-align: center; margin-bottom: 2rem; }
.form-section .nav-tabs { border-bottom: 0; }
.form-section .nav-tabs .nav-item { flex: 1; }
.form-section .nav-tabs .nav-link {
  font-size: .9rem;
  letter-spacing: .12em;
  text-align: center;
  padding: .9rem 1rem;
  border: 1px solid #e9e9e9;
  border-bottom: 0;
  border-radius: .75rem .75rem 0 0;
  background: #f7f7f7;
  color: #888;
}
.form-section .nav-tabs .nav-link.active {
  background: #fff;
  color: #d7141e;
  border-top: 3px solid #d7141e;
}
.form-section #tabs + br { display: none; }
.form-section .tab-content {
  padding: 2.25rem 2rem 2.5rem;
  border: 1px solid #e9e9e9;
  border-top: 0;
  border-radius: 0 0 .75rem .75rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .06);
  background: #fff;
}
.form-section .tab-content p { line-height: 1.7; }
.form-section label { font-weight: 500; margin-bottom: .35rem; }
.form-section .form-control {
  height: auto;
  padding: .7rem .9rem;
  border-radius: .5rem;
  border-color: #dcdcdc;
}
.form-section .form-control:focus {
  border-color: #d7141e;
  box-shadow: 0 0 0 .2rem rgba(215, 20, 30, .15);
}
.form-section .button2 {
  height: auto;
  padding: .8rem 2rem;
  transition: background .2s, color .2s;
}
.form-section .button2:hover { background: #d71423; color: #fff; }

/* Kontaktkarten etwas besser lesbar */
.contact-section .card .small { font-size: .95rem; color: rgba(0, 0, 0, .7) !important; }

@media only screen and (max-width: 47.9999em) {
  .form-section .tab-content { padding: 1.5rem 1.1rem 2rem; }
  .form-section .nav-tabs .nav-link { letter-spacing: .06em; }
}
