/*
 * Logopädie Busse – statische Kopie von https://logopädie-busse.de/
 * Ersetzt Bootstrap 3, SP Page Builder und das "Flex"-Template durch
 * ein einzelnes, schlankes Stylesheet mit denselben Maßen und Farben.
 */

/* ---------- Icon-Fonts (lokal, Originaldateien) ---------- */
@font-face {
  font-family: "peIcon7";
  src: url("../fonts/Pe-icon-7-stroke.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "FontAwesome";
  src: url("../fonts/fontawesome-webfont.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

.pe,
.fa {
  display: inline-block;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.pe { font-family: "peIcon7"; speak: never; }
.fa { font-family: "FontAwesome"; font-size: inherit; text-rendering: auto; }

.pe-7s-users::before       { content: "\e693"; }
.pe-7s-home::before        { content: "\e648"; }
.pe-7s-date::before        { content: "\e660"; }
.pe-7s-angle-right::before { content: "\e684"; }
.pe-7s-musiclist::before   { content: "\e62f"; }
.pe-7s-info::before        { content: "\e647"; }
.pe-7s-light::before       { content: "\e643"; }
.pe-7s-display1::before    { content: "\e65e"; }
.pe-7s-expand1::before     { content: "\e657"; }
.pe-7s-signal::before      { content: "\e613"; }
.pe-7s-glasses::before     { content: "\e651"; }
.pe-7s-refresh-2::before   { content: "\e6c2"; }
.pe-7s-delete-user::before { content: "\e6a7"; }
.pe-7s-user::before        { content: "\e605"; }

.fa-bars::before        { content: "\f0c9"; }
.fa-home::before        { content: "\f015"; }
.fa-phone::before       { content: "\f095"; }
.fa-clock-o::before     { content: "\f017"; }
.fa-user-circle::before { content: "\f2bd"; }
.fa-info-circle::before { content: "\f05a"; }
.fa-remove::before      { content: "\f00d"; }

/* ---------- Farben ---------- */
:root {
  --purple: #7d6eaf;
  --red: #e23936;
  --red-2: #e63837;
  --green: #81be47;
  --yellow: #ebb642;
  --yellow-team: #edb642;
  --blue: #4a9acd;
  --text: #333;
  --link: #337ab7;
  --link-hover: #23527c;
  --header-bg: #303030;
  --footer-bg: #363839;
  --footer-text: #b0b0b0;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 25px;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--link-hover);
  text-decoration: underline;
}

img {
  vertical-align: middle;
  border: 0;
}

p {
  margin: 0 0 10px;
}

ul {
  margin: 0 0 10px;
  padding-left: 40px;
}

h1,
h2,
h3 {
  font-family: inherit;
  font-weight: 500;
  margin: 20px 0 10px;
}

h1 { font-size: 36px; line-height: 1.1; }
h2 { font-size: 30px; line-height: 1.1; }
h3 { font-size: 24px; line-height: 1.1; }

.container {
  margin-inline: auto;
  padding-inline: 15px;
}

@media (min-width: 768px)  { .container { width: 750px; } }
@media (min-width: 992px)  { .container { width: 970px; } }
@media (min-width: 1200px) { .container { width: 1170px; } }

/* Spaltenraster (entspricht col-md-4 / col-md-6 mit 30px Rinne) */
.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  column-gap: 30px;
}

@media (min-width: 992px) {
  .row.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

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

/* Überschrift mit Zierlinie (SP Page Builder "addon-title") */
.addon-title {
  display: inline-block;
  font-size: 24px;
  line-height: 1.3;
  margin: 20px 0;
  padding-right: 3%;
}

.addon-title::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 10px;
}

/* ---------- Kopfzeile mit Hauptmenü ---------- */
.site-header {
  position: relative;
  z-index: 10;
  background: var(--header-bg);
  color: #f0f0f0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
}

.main-nav ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  position: relative;
  display: block;
  padding: 0 18px;
  color: #ededed;
  font-size: 15px;
  line-height: 50px;
  letter-spacing: .02em;
  text-decoration: none;
  transition: color .2s;
}

/* Farbiger Balken unter dem Link – in den Farben der Seitenköpfe */
.main-nav a::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 3px;
  background: var(--purple);
  transform: scaleX(0);
  transition: transform .25s ease;
}

.main-nav li:nth-child(2) a::after { background: var(--red); }
.main-nav li:nth-child(3) a::after { background: var(--green); }
.main-nav li:nth-child(4) a::after { background: var(--yellow); }
.main-nav li:nth-child(5) a::after { background: var(--blue); }

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a[aria-current="page"] {
  color: #fff;
  text-decoration: none;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* Menü-Knopf nur auf kleinen Bildschirmen */
.offcanvas-toggler {
  display: none;
  margin-left: auto;
  color: #ededed;
  font-size: 22px;
  line-height: 50px;
}

.offcanvas-toggler:hover,
.offcanvas-toggler:focus {
  color: #fff;
  text-decoration: none;
}

@media (max-width: 767px) {
  .main-nav { display: none; }
  .offcanvas-toggler { display: block; }
}

/* ---------- Off-Canvas-Menü ---------- */
.offcanvas-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, .2);
  opacity: 0;
  visibility: hidden;
  transition: .5s cubic-bezier(.5, 0, .3, 1);
}

.offcanvas-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1007;
  width: 320px;
  max-width: 100%;
  height: 100vh;
  overflow-y: auto;
  background: #fff;
  color: #777;
  box-shadow: -1px 0 10px rgba(0, 0, 0, .15);
  transform: translateX(320px);
  visibility: hidden;
  transition: .5s cubic-bezier(.5, 0, .3, 1);
}

.offcanvas-open .offcanvas-overlay {
  opacity: 1;
  visibility: visible;
}

.offcanvas-open .offcanvas-menu {
  transform: translateX(0);
  visibility: visible;
}

.close-offcanvas {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 22px;
  height: 22px;
  border: 1px solid #ccc;
  border-radius: 100%;
  color: #777;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
  transition: border 300ms, color 300ms;
}

.close-offcanvas:hover,
.close-offcanvas:focus {
  color: #333;
  border-color: #333;
  text-decoration: none;
}

.offcanvas-inner {
  padding: 30px 20px 20px;
}

.offcanvas-inner ul {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.offcanvas-inner a {
  display: block;
  padding: 10px 20px;
  border-left: 3px solid transparent;
  color: var(--text);
  line-height: 28px;
  transition: 300ms;
}

.offcanvas-inner a:hover,
.offcanvas-inner a[aria-current="page"] {
  border-left-color: var(--purple);
  color: var(--purple);
  text-decoration: none;
}

/* ---------- Seitenköpfe ---------- */
.section {
  position: relative;
}

.overlay {
  position: absolute;
  inset: 0;
}

.section > .container {
  position: relative;
}

.page-title {
  margin: 0;
  color: #fff;
  font-size: 60px;
  line-height: 60px;
  text-align: center;
}

/* Startseite */
.hero {
  padding: 500px 0 100px;
  color: #fff;
  background: url("../images/headers/wartungsarbeiten.jpg") 50% 50% / cover no-repeat;
}

.hero-box {
  padding: 16px;
  background: var(--purple);
}

/* Therapiespektrum */
.head-therapie {
  padding: 110px 0;
  color: #fff;
  background: var(--red) url("../images/headers/IMG_2975.jpg") 50% 100% / cover fixed;
}

.head-therapie .overlay { background: rgba(226, 57, 54, .7); }
.head-therapie .page-title { margin: 20px 0 15px; }

/* Zusatzangebote */
.head-zusatz {
  padding: 200px 0;
  color: #fff;
  background: var(--green) url("../images/headers/IMG_2948.jpg") 50% 100% / cover no-repeat fixed;
}

.head-zusatz .overlay { background: rgba(129, 190, 71, .7); }

/* Team */
.head-team {
  padding: 120px 0;
  color: #fff;
  background: var(--yellow-team);
}

.head-team .page-title {
  font-size: 59px;
  line-height: 59px;
}

/* ---------- Startseite ---------- */
.intro {
  padding: 130px 0 50px;
}

.feature-icon .pe {
  width: 100px;
  height: 100px;
  font-size: 100px;
  line-height: 100px;
  text-align: center;
  vertical-align: top;
}

.intro .addon-title {
  margin: 20px 0;
}

.color-purple { color: var(--purple); }
.color-red    { color: var(--red); }
.color-red-2  { color: var(--red-2); }
.color-green  { color: var(--green); }
.color-yellow { color: var(--yellow); }
.color-blue   { color: var(--blue); }

.buttons {
  margin-top: 65px;
}

.btn {
  display: inline-block;
  padding: 8px 30px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: #e0e1e2;
  color: var(--purple);
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  transition: background-color .2s;
}

.btn:hover,
.btn:focus {
  background: #cacbcd;
  color: var(--purple);
  text-decoration: none;
}

.btn .pe {
  margin: 0 -1px 0 7px;
}

.band {
  padding: 50px 0;
  background: url("../images/headers/IMG_3144.jpg") 50% 50% / cover no-repeat fixed;
}

.band .overlay {
  background: rgba(125, 110, 175, .7);
}

.band h2 {
  position: relative;
  margin: 100px 0;
  color: #fff;
  font-size: 30px;
  line-height: 33px;
  text-align: center;
}

/* ---------- Therapiespektrum ---------- */
.lead-section {
  padding: 50px 0;
}

.therapy-row        { padding: 40px 0 10px; }
.therapy-row.first  { padding-top: 50px; }
.therapy-row.last   { padding: 50px 0; }

.divider {
  margin: 20px 0;
  border-bottom: 1px solid #eee;
}

.media-icon {
  float: left;
  width: 88px;
  margin: 0 15px 3px 0;
}

.media-icon span.bg-blue,
.media-icon span.bg-red-2 {
  margin-top: 2px;
}

.media-icon span {
  display: inline-block;
  margin: 3px 0 20px;
  padding: 15px;
  border-radius: 5px;
  color: #fff;
  line-height: 25px;
}

.media-icon .pe {
  width: 48px;
  height: 48px;
  font-size: 48px;
  line-height: 48px;
  text-align: center;
}

.bg-purple { background: var(--purple); }
.bg-red    { background: var(--red); }
.bg-red-2  { background: var(--red-2); }
.bg-green  { background: var(--green); }
.bg-yellow { background: var(--yellow); }
.bg-blue   { background: var(--blue); }

.media-body {
  overflow: hidden;
}

.media-body h2 {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 33px;
}

.note-section {
  padding: 50px 0;
}

/* ---------- Zusatzangebote ---------- */
.offers         { padding: 85px 0 70px; }
.offers.second  { padding: 50px 0; }

.offers .offer {
  padding-inline: 5px;
}

.offers.second .offer {
  padding-inline: 0;
}

.offer-icon {
  padding: 10px 0;
  text-align: center;
}

.offer-icon span {
  display: inline-block;
  width: 96px;
  height: 96px;
  text-align: center;
  transition: transform 300ms;
}

.offer-icon span:hover {
  transform: scale(1.1);
}

.offer-icon .pe {
  font-size: 90px;
  line-height: 96px;
}

.offer-icon .pe.small {
  font-size: 88px;
}

.offer-text {
  padding: 10px 0 20px;
  text-align: center;
}

.offer-text h2 {
  margin: 0 0 10px;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.3;
}

/* ---------- Team ---------- */
.team {
  padding: 25px 0 85px;
}

.person {
  padding: 15px 0;
}

.person img {
  display: inline-block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.person-info {
  margin-top: 15px;
}

.person-name {
  display: block;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

.person-designation {
  display: block;
  font-size: 13px;
  color: #888;
}

.person-introtext {
  margin-top: 15px;
}

/* ---------- Kontakt ---------- */
.main-body {
  padding: 50px 0;
}

.article {
  margin-bottom: 50px;
  padding-top: 30px;
}

.article .contact-title {
  margin: 20px 0 10px;
}

.contact-info .fa {
  font-size: 14px;
}

.map {
  display: block;
  width: 100%;
  height: 400px;
  margin-bottom: 64px;
  border: 0;
}

/* ---------- Datenschutz ---------- */
.legal {
  padding: 50px 0;
}

.legal .addon-title {
  display: inline-block;
}

.legal .seal {
  float: right;
  margin: 0 0 3px 20px;
}

/* ---------- Fußzeile ---------- */
.site-footer {
  padding: 30px 0 20px;
  background: var(--footer-bg);
  color: var(--footer-text);
  text-align: center;
}

.site-footer .row {
  column-gap: 0;
}

.site-footer a { color: #d6d6d6; }
.site-footer a:hover { color: #f0f0f0; }

.footer-col {
  margin: 0 0 20px;
  padding: 10px 15px;
  border-left: 5px solid #eee;
  font-size: 17.5px;
  line-height: 25px;
}

.footer-col p {
  margin: 0;
}

.footer-col .fa {
  font-size: 17.5px;
}

/* ---------- Kleine Bildschirme ---------- */
@media (max-width: 767px) {
  .page-title {
    overflow-wrap: break-word;
    hyphens: auto;
  }
}

/* iOS unterstützt background-attachment: fixed nicht zuverlässig */
@media (hover: none) {
  .head-therapie,
  .head-zusatz,
  .band {
    background-attachment: scroll;
  }
}
