/*
Theme Name: SiteOrigin Corp Child
Author: SiteOrigin
Author URI: https://siteorigin.com/
Theme URI: https://siteorigin.com/theme/corp
Description: SiteOrigin Corp Child Theme
Version: 1.0.0
Template: siteorigin-corp
Text Domain: siteorigin-corp
Domain Path: /languages/
*/

/* =Theme customization starts here
-------------------------------------------------------------- */
@font-face {
  font-family: 'Now';
  src: url('./fonts/Now-Regular.otf') format("opentype");
}
@font-face {
  font-family: 'Now Bold';
  src: url('./fonts/Now-Bold.otf') format("opentype");
}
@font-face {
  font-family: 'Balista';
  src: url('./fonts/Balista-2OWro.ttf') format("truetype");
}
:root {
  --text-color: #672146;
  --navi-color: #930F0F;
  --hover-color: rgba(147,15,15,0.9);
  --layer-color: rgba(0,0,0,0.5);
  --linker-color: #FFF;
  --rosa-color: #e6007e;
  --brehm-beige: #B18B7E;
  --brehm-beigeB: #C9ACA8;
  --font-size-base: 18px;
  --font-size-h1: 32px;
  --font-size-h2: 24px;
  --font-size-h2-mobil: 18px;
  --font-size-h3: 28px;
  --font-size-h4: 22px;
  --font-lineheight: 28px;
  --font-primary: 'Now';
  --font-primary-bold: 'Now Bold';
  --font-balista: 'Balista';
  --font-weight-base: 400;
  --font-weight-bold: 400;
  --color-hover: #672146;
}
.clearfix {
  clear: both;
  float: none;
}
#content b, #content strong {
  font-weight: 400;
  font-family: var(--font-primary-bold);
}
html,body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  line-height: var(--font-lineheight);
  color: var(--text-color);
  min-width: 380px;
/*  overflow-x: hidden; */
}
header#masthead.site-header {
  padding: 0;
  margin-bottom: 0;
  border-top: 10px solid var(--rosa-color);
  height: 100px;
  -webkit-box-shadow: 0 0 3px 3px rgba(0,0,0,0.3);
  box-shadow: 0 0 3px 3px rgba(0,0,0,0.3);
}
#site-navigation {
  display: none;
}

.site-header .site-branding .site-title a {
  background-image: url(./images/Komm-in-die-Kiiche-Kathi-Lokocz-HerzKii-Logo.svg);
  display: block;
  height: 80px;
  width: 80px;
  background-size: 100%;
  text-indent: -1000ex;
  font-size: 0;
}
.header_content {
  display: none;
}
.site-header .site-branding {
  padding-right: 0;
  position: absolute;
  top: 20px;
  left: 50%;
  -moz-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
}
.site-header .site-header-inner {
  display: block !important;
}
h1,
h2 strong {
  font-family: var(--font-primary-bold);
  font-size: var(--font-size-h2-mobil);
  font-weight: var(--font-weight-bold);
}
#content h4 {
  font-family: var(--font-primary-bold);
  font-weight: var(--font-weight-bold);
}
header .corp-container,
#content .corp-container .content_text {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
  top: -15px;
}
#content .textwidget {
  padding: 0 15px;
}
@media only screen and (min-width: 768px) {
  .header_content {
    margin-top: 5px;
    display: block;
  }
  .header_content.first {
    margin-left: 0;
    margin-top: 7px;
  }
  header .corp-container {
    top: 20px;
  }
  header#masthead.site-header {
    padding: 0 0 15px 0;
    height: 198px;
  }
  .site-header .site-header-inner {
    display: flex !important;
  }
  .header_content {
    width: 50%;
  }
  .site-header .site-branding {
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    left: 50%;
    padding-right: 0;
    top: 0;
  }
  .site-header .site-branding .site-title a {
    height: 150px;
    width: 150px;
  }
  .header_content.first h2 {
    padding-right: 40px;
  }
}
@media only screen and (min-width: 1024px) {
  .header_content.first h2 {
    padding-right: 60px;
  }
  h1,
  h2 strong {
    font-size: var(--font-size-h2);
  }
}
.main-navigation ul li a,
h2 {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-base);
}
a.linker {
  font-family: var(--font-primary-bold);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  border: 2px solid var(--text-color);
  padding: 20px;
  border-radius: 50px;
  margin: 30px;
  display: inline-block;
  text-transform: uppercase;
}
a.linker:hover {
  color: var(--linker-color);
  background: var(--text-color);
}
.rosaer a.linker {
  border: 2px solid var(--linker-color);
  background-color: var(--linker-color);
  color: var(--rosa-color);
  margin-top: 0;
  padding: 20px 35px;
}
.rosaer a.linker:hover {
  border: 2px solid var(--linker-color);
  background-color: var(--color-hover);
  color: var(--linker-color);
}
#content .content_text.padding {
  margin-top: 5px;
}
#content .content_text.padding .panel-grid-cell:first-child {
  padding: 0 50px;
}
.trenner {
  padding: 15px 0;
}
@media only screen and (min-width: 1024px) {
  .rosaer a.linker {
    padding: 20px 55px;
  }
}
@media only screen and (min-width: 1024px) {
  .trenner {
    padding: 25px 0;
  }
}
@media only screen and (max-width: 768px) {
  .widget_sow-image.panel-last-child {
    margin-bottom: 25px !important;
  }
}
.dreieck {
    position: relative;
    width: 100%;
}

/* Das Dreieck selbst */
.dreieck::after {
    content: "";
    position: absolute;
    bottom: -40px;      /* Schiebt das Dreieck nach unten (Hälfte der Höhe) */
    left: 50%;          /* Startet in der Mitte */
    transform: translateX(-50%); /* Zieht es exakt um die eigene Hälfte zurück */
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-top: 40px solid var(--rosa-color);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}
#newsletter_anmeldung {
  height: 0;
  overflow: hidden;
}
#newsletter_anmeldung.open {
  height: 100%;
}
.tnp-subscription input.tnp-submit {
  background-color: var(--text-color);
  border-radius: 50px;
  padding: 15px 20px;
}
.content_newsletter .textwidget p {
  text-align: left;
}
.rosaer {
  background: var(--rosa-color);
  padding: 65px 15px 38px;
}
.rosaer .content_text p,
.rosaer .content_text h4,
.rosaer .content_text h3 {
  color: var(--linker-color);
}
.rosaer .content_text h3 {
  font-family: var(--font-balista);
  font-size: var(--font-size-h3);
  line-height: 2;
  margin-top: 5px;
}
@media only screen and (min-width: 768px) {
  .rosaer .content_text h3 {
    line-height: 1.4;
  }
}
.rosaer .content_text hr {
    background-color: transparent;
    background-image: url("./images/Komm-in-die-Kiiche-Herz-Pfeile-Banner.svg");
    width: 100%;
    height: 14px;
    background-size: 100%;
    background-repeat: no-repeat;
}
@media only screen and (min-width: 768px) {
  .rosaer .content_text hr {
      height: 31px;
  }
}
.rosaer .content_text h4 {
    font-size: var(--font-size-h4);
}
footer.site-footer .widgets {
  padding: 20px 0;
}
footer.site-footer {
  margin-top: 20px;
}
footer ul.social {
  margin: 0 auto !important;
  width: 100%;
  max-width: 240px;
  padding: 0;
}
footer ul.social li {
  float: left;
  margin: 0 5px;
  list-style: none;
}
footer ul.social li a {
  background-image: url("./images/Komm-in-die-Kiiche-YouTube.svg");
  width: 50px;
  height: 50px;
  background-size: 100%;
  display: block;
  text-indent: -1000ex;
  font-size: 0;
}
footer ul.social li a:hover {
  background-image: url("./images/Komm-in-die-Kiiche-YouTube-MouseOver.svg");
  width: 50px;
  height: 50px;
}
footer ul.social li:nth-child(2) a {
  background-image: url("./images/Komm-in-die-Kiiche-E-Mail.svg");
}
footer ul.social li:nth-child(2) a:hover {
  background-image: url("./images/Komm-in-die-Kiiche-E-Mail-MouseOver.svg");
}
footer ul.social li:nth-child(3) a {
  background-image: url("./images/Komm-in-die-Kiiche-Instagram.svg");
}
footer ul.social li:nth-child(3) a:hover {
  background-image: url("./images/Komm-in-die-Kiiche-Instagram-MouseOver.svg");
}
footer ul.social li:nth-child(4) a {
  background-image: url("./images/Komm-in-die-Kiiche-WhatsApp-Kanal.svg");
}
footer ul.social li:nth-child(4) a:hover {
  background-image: url("./images/Komm-in-die-Kiiche-WhatsApp-Kanal-MouseOver.svg");
}
@media only screen and (min-width: 768px) {
  footer ul.social {
    max-width: 360px;
  }
  footer ul.social li {
    margin: 0 10px;
  }
  footer ul.social li a:hover,
  footer ul.social li a {
    width: 70px;
    height: 70px;
  }
}
@media only screen and (min-width: 1024px) {
  #content .content_text.content_table {
    display: table !important;
    width: 100%;
  }
  #content .content_text.content_table .panel-grid-cell {
    display: table-cell;
    width: 50%;
    vertical-align: middle;
  }
  #content .content_text.content_table .panel-grid-cell h2 {
    margin-top: 0;
  }
}
