/**
 * user.css www.kinderwunsch.bera-partner.de by Helmuth Rothkopf
 *
 * Copyright Helmuth Rothkopf
 *
 * Designed an built to overwrite Joomla css-files
 */

/* Overwrites */
:root {
  --cassiopeia-color-primary: #a57d7d;
  --cassiopeia-color-hover: #a57d7d;
  --link-color: var(--cassiopeia-color-primary);
  --link-hover-color: var(--cassiopeia-color-primary);
  background-color: #000;
}
body {
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
}
body.wrapper-fluid .site-grid {
  grid-gap: 0;
}
body.wrapper-fluid footer > .grid-child {
  padding: 0;
}
.container-top-a > *, .container-top-b > *, .container-bottom-a > *, .container-bottom-b > * {
  margin: 0;
}
.footer {
  margin-top: 0;
}
.btn {
  --btn-padding-x: 1rem;
  --btn-padding-y: 0.2rem;
  font-weight: 600;
  }
h1, .h1 {
  font-size: calc(.7rem + 1.5vw);
  letter-spacing: 0;
  margin-bottom: 2em;
}
h1,
.pink,
.mod-rausch .fa,
.mod-weiss .fa {
  color: var(--cassiopeia-color-primary);
}
h2, h5 {
  hyphens: auto;
}
.fa-angle-down {
  font-size: 4em;
}

 /* Added styles */
.mod-header{
  background: url("/images/logo_header.png") no-repeat;
  background-position: right center;
  background-size: 25vw;
  padding: calc(5rem + 2.5vw) calc(3rem + 2.5vw);
  margin-top: 5vh;
}
.mod-contact-person {
  background: url("/images/blume_2.png") no-repeat;
  /*background-position: left top;*/
  background-size: 150px;
}
.mod-contact-person,
.kw-location {  
  font-size: calc(1.3rem + 2.5vw);
  letter-spacing: .03em;
  font-weight: 600;
}
.mod-contact-person,
.mod-rausch,
.mod-weiss {
  background-color: #EEF5F6;  
}
.mod-rausch .mod-custom,
.mod-weiss .mod-custom {
  max-width: 1024px;
  margin: 0 auto;
}
.mod-rausch,
.mod-weiss {
  padding: 3em;  
}
.mod-rausch img,
.mod-weiss img {
  border-radius: 15px;
  width: 300px;
}
.mod-rausch .btn {
  width: 305px;
}
.kw-font-1 {
  font-size: calc(1.5rem + 2.5vw);
  letter-spacing: 0;
  line-height: 1em;
}
.kw-font-2 {
  font-size: 1.1em;
  line-height: 1.2em;
}
.kw-font-3 {
  font-size: 1em;
}
.kw-bolder, h1 {
  font-weight: 600;
}
.kw-content {
  background: url("/images/blume_1.png") no-repeat;
  background-position: right center;
  background-size: 250px;
  padding: calc(3rem + 2.5vw);
}
.kw-content {
  padding-right: 30vw;
  }
.kw-transparent{
  opacity: .2;
}
.kw-copyright {
  background-color: #efefef;
}
.kw-copyright td,
.kw-copyright th {
  border: 1px solid #ddd;
  padding: 5px;
  vertical-align: top;
}
.kw-copyright td {
  height: 75px;
}
.kw-copyright img {
  height: 100%;
  width: auto;
}
.kw-header-textmargin {
  margin-top: 7em;
}
.kw-location {
  position: relative;
  top: 1.2em;
  left: 1.7em;
  height: 0;
  line-height: 1.2em;
  width: 50%;
}
.kw-footer-content {
  padding: calc(3rem + 2.5vw);
}
.kw-footer-logo {
  max-width: 150px;
}
.kw-footer-info {
  float: right;
}
.kw-footer-info p {
  margin-bottom: .5rem;
}
.kw-footer-info p.kw-margin-bottom {
  margin-bottom: 4em;
}
.kw-imprint {
  padding: 3em;
}

/* Screen adjustments */
@media (min-width: 680px) {
  .mod-contact-person {
    min-height: 270px;
  }
}
@media (min-width: 740px) {
  .kw-contact-grid {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 1em;
    min-height: 350px;
  }
  .kw-contact-grid-item2, .kw-contact-grid-item4 {
	position: absolute;
	right: 0;
}
}
@media (max-width: 739px) {
  .kw-contact-grid {
    display: grid;
    grid-template-columns: 100%;
    gap: 1em;
  }
  .kw-contact-grid-item4 {
    grid-area: 1;
  }
  .mod-rausch img, .mod-weiss img {
    margin-bottom: 3em;
  }
  .kw-location {
    display: none;
  }  
}
@media (max-width: 679px) {
  .mod-contact-person {
    background-image: none;
  }
}
@media (max-width: 599px) {
  .kw-content {
	background: none; 
    padding-right: calc(3em + 2.5vw);
  }
}
@media (max-width: 440px) {
  h1 {
    font-size: calc(.9rem + 2vw);
}
  .mod-header {
    background-size: 33vw;
}
  .mod-rausch .float-end {
    float: left !important;
  }
  .mod-rausch .btn {
    width: 100%;
  }
  .mod-contact-person img {
    width: 80px;
  }
  .kw-font-1 {
    font-size: 1.7em;
  }
  .kw-footer-logo {
    max-width: 100px;
  }
  .kw-footer-logo img {
    padding-top: 0 !important;
    padding-bottom: 3em;
  }
  .kw-footer-skyline img {
    aspect-ratio: 1;
    object-fit: cover;
    width: 100%;
  }
}