@charset "UTF-8";
/* CSS Document */

/*
Theme Name: Grünkern Consulting
Author: Thomas Wagner
Author URI: https://www.wagmedia.de/
Description: A custom theme built for Grünkern Consulting.
Version: 1.0
Text Domain: custom-gruenkern
Copyright: © 2024 Thomas Wagner
*/


:root {
  --main-background: #0E2947;
  --btn-bg-primary: #0143B1;
  --gruenkern-green: #5CB477;
  --bg-grey: #E5E9EC;
}

/***** text mark colors *****/
::-moz-selection {
  color: #fff;
  background: #0043B1;
}

::selection {
  color: #fff;
  background: #0043B1;
}

/***** fonts *****/
/* roboto-300 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: url('assets/fonts/Roboto-Light.ttf') format('truetype');
}

/* ubuntu-regular - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('assets/fonts/Roboto-Regular.ttf') format('truetype')
}

/* ubuntu-500 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  src: url('assets/fonts/Roboto-Medium.ttf') format('truetype')
}




/***** main elements *****/
html,
body {
  margin: 0px;
  padding: 0px;
  font-family: 'Roboto', sans-serif;
  box-sizing: border-box;
  font-weight: 300;
  height: 100%;
  color: #FFFFFF;
  letter-spacing: 0.03rem;
  overflow-x: hidden;
  line-height: 1.95rem;
  font-size: 1.15rem;
}

html {
  scroll-behavior: smooth;
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
}

.gruenkern-headline {
  color: #fff;
  position: absolute;
  bottom: 88px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 1rem;
  filter: drop-shadow(1px 1px 18px #000);
}

.hero h1,
h2 {
  font-size: 3.5rem;
}

.hero h3 {
  font-size: 2.5rem;
}

a {
  color: var(--gruenkern-green) !important;
  transition: 0.2s ease-in-out;
}

a:hover,
a:focus {
  color: #A8A8A8;
  text-decoration: none;
}

ul {
  font-size: 1.15rem;
}

b,
strong {
  font-weight: 400;
}




/***** utilities *****/

.img-rounded {
  border-radius: 30px;
}

.img-rounded-top {
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
}

.img-rounded-bottom {
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}


.wp-block-separator {
  border-top: solid 1px #272727 !important;
  border-bottom: none !important;
}

.container-small {
  max-width: 750px;
}

.small {
  font-size: 1rem;
  line-height: 1.7rem !important;
}

.wp-block-column {
  padding: 0px;
  margin: 0px;
}


/***** navigation *****/
.primary-header {
  background: var(--main-background);
  -webkit-box-shadow: 3px 12px 26px -3px rgba(186, 186, 186, 0.25);
  box-shadow: 3px 12px 26px -3px rgba(186, 186, 186, 0.25);
}

nav a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-bottom 0.5s ease;
}

nav li a:hover {
  border-bottom: 1px solid var(--gruenkern-green);
}

nav li {
  display: inline;
  list-style-type: none;
  padding: 10px;
  font-weight: 300;
}

nav ul {
  display: block;
  margin-left: auto;
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 0;
  font-size: 1.1rem;
  letter-spacing: 0.03rem;
}

@media (max-width: 992px) {
  nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

.navbar-toggler {
  padding: 12px !important;
  border: none !important;
}

.navbar-toggler:focus {
  box-shadow: none !important;
}

/***** logo *****/
.logo {
  width: 290px;
  transition: width 0.3s;
  padding: 0.5rem;
}

@media (max-width: 768px) {
  .logo {
    width: 190px; 
  }

  .nav-item {
    padding: 60px;
  }
}




/***** hero *****/

.hero {
  background-image: url("/wp-content/themes/gruenkern-theme/assets/images/gruenkern-startseite-hero.jpg");
  height: calc(85vh);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

#hero {
  background-image: linear-gradient(red, yellow);
}

.hero-small {
  width: 100%;
  height: 65%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-404 {
  background-image: url("assets/images/404.jpg");
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}




/*** Partner-Sektion ***/

.partner-section {
  background: var(--main-background);
}

.circle {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #cbd2ce;
  margin-right: 8px;
  margin-bottom: 8px;
}

.circle img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

/*** Ende Partner-Sektion ***/


/*** Heading, Text and Button Block ***/

.heading-text-button-block h2 {
  font-size: 3rem;
}

.heading-text-button-block p {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  line-height: 2.4rem;
  font-weight: 300;
}

/*** Ende Heading, Text and Button Block ***/

/*** Vorstellungs-Block ***/

.vorstellung-row {
  padding: 0 124px;
}

.vorstellung-block {
  display: flex;
}

.vorstellung-block h3 {
  margin-bottom: 0;
}

.vorstellung-block img {
  width: 68px;
}

.vorstellung-block p {
  font-size: 1.2rem;
}

@media(max-width: 768px) {
  .vorstellung-row {
    padding: 0;
    max-width: 540px;
  }
}

/*** Ende Vorstellungs-Block ***/

/*** Referenzen-Block ***/

.referenzen-row {
  padding: 0 124px;
}

@media(max-width: 768px) {
  .referenzen-row {
    padding: 0;
    max-width: 540px;
  }
}

.referenzen-block {
  background: var(--gruenkern-green);
  padding: 24px;
  border-radius: 10px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ref-img {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  height: 80px;
}

.ref-img img {
  max-width: 250px;
  max-height: 100%;
  object-fit: contain;
}

/*** Ende Referenzen-Block***/

/*** Contact Form 7 ***/

.wpcf7 p {
  padding-right: 12px;
}


.wpcf7-form-control-wrap input {
  border-radius: 10px;
  padding-left: 10px;
  height: 50px;
  box-shadow: none;
  border: none;
  outline: 1px solid var(--gruenkern-green);
  width: 100%;
}

.wpcf7 textarea {
  border-radius: 10px;
  padding-left: 10px;
  box-shadow: none;
  border: none;
  outline: 1px solid var(--gruenkern-green);
  width: 288%;
}

@media(max-width: 1400px) {
  .wpcf7 textarea {
    width: 247%;
  }
}

@media(max-width: 1200px) {
  .wpcf7 textarea {
    width: 207%;
  }
}

@media(max-width: 992px) {
  .wpcf7 textarea {
    width: 153%;
  }
}

@media(max-width: 768px) {
  .wpcf7 textarea {
    width: 113%;
  }
}

@media(max-width: 512px) {
  .wpcf7 textarea {
    width: 100%;
  }
}

.wpcf7 input[type="submit"] {
  background-color: transparent !important;
  text-align: center;
  text-transform: uppercase;
  padding: 10px 35px !important;
  color: #000 !important;
  transition: 0.2s ease-in-out !important;
  border: solid 3px var(--gruenkern-green) !important;
  border-radius: 12px 0px 12px 12px !important;
  font-size: 1.7rem !important;
}

.wpcf7 input[type="submit"]:hover {
  background-color: transparent !important;
  color: #000 !important;
  border: solid 3px var(--gruenkern-green) !important;
}

.wpcf7 label {
  color: #000;
}

/*** Ende Contact Form 7 ***/

/***** buttons + links *****/
/* custom button + wp-button */
.btn-custom {
  background-color: transparent !important;
  text-align: center;
  text-transform: uppercase;
  padding: 10px 35px !important;
  color: #000 !important;
  transition: 0.2s ease-in-out !important;
  border: solid 3px var(--gruenkern-green) !important;
  border-radius: 12px 0px 12px 12px !important;
  font-size: 1.7rem !important;
}

.btn-custom:hover,
.btn-custom:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus,
.post-password-form input[type=submit]:hover,
.post-password-form input[type=submit]:focus,
.forminator-button-submit:hover,
.forminator-button-submit:focus {
  border: solid 3px var(--gruenkern-green) !important;
}

.btn-custom-secondary {
  background-color: transparent;
  text-align: center;
  padding: 15px 35px 16px !important;
  color: #d51317;
  font-weight: 400;
  transition: 0.2s ease-in-out;
  border: solid 1px #d51317;
  border-radius: 12px !important;
  font-size: 1.15rem !important;
}

.btn-custom-secondary:hover,
.btn-custom-secondary:focus {
  background-color: #d51317;
  color: #fff;
  text-decoration: none;
  border: solid 1px #d51317;
}


/***** footer *****/
#footer {
  background-color: var(--main-background);
}

#footer h3,
#footer a {
  color: #fff !important;
  padding-top: 16px;
  text-transform: none;
  letter-spacing: 0px;
  font-weight: 500;
}

#footer p {
  font-size: 1.1rem;
  line-height: 1.6rem;
  color: #fff;
}

#footer a {
  font-size: 1.1rem;
  line-height: 1.6rem;
  transition: 0.2s ease-in-out;
  padding-bottom: 3px;
}

#footer a::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 1px;
  background-color: #fff;
  transition: width 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  margin-bottom: -1px;
}

#footer-menu a {
  position: relative;
}

#menu-footer-menu .current-menu-item a {
  text-decoration: none;
  color: #fff;
  border-bottom: solid 1px #fff;
  padding-bottom: 2px;
}

#menu-footer-menu {
  list-style-type: none;
  margin-left: -37px;
  margin-top: -10px;
}

@media (hover: hover) and (pointer: fine) {
  #footer a:hover::before {
    left: 0;
    right: auto;
    width: 100%;
  }
}

#footer-logo {
  max-width: 200px;
  margin-left: -20px;
}



.copyright p,
.copyright a {
  font-size: 0.9rem !important;
  line-height: 1.4rem !important;
}

.non-underline-link a::before {
  content: none !important;
}

.non-underline-link a:hover,
.non-underline-link a:focus {
  opacity: 0.8;
}

.footer-imgs {
  width: 15rem;
  object-fit: cover;
  height: 15rem;
  border-radius: 30px;
}

@media (max-width: 576px) {
  .first-footer-img {
    margin-top: -45px !important;
  }
}

.mt-n55 {
  margin-top: -55px;
}

.mt-n15 {
  margin-top: -15px;
}

.mt-n32 {
  margin-top: -32px;
}

@media (max-width: 576px) {
  #footer-logo {
    max-width: 180px;
    margin-left: 0px;
  }

  .footer-imgs {
    width: 10rem;
    height: 10rem;
  }

  .mt-n55 {
    margin-top: 30px;
  }
}

/***** 404 styles *****/
.error {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

#error-text:hover,
#error-text:focus {
  color: #112E57;
  text-decoration: none;
}

#error-text #footer-logo {
  padding-top: 50px;
  margin-right: 10px;
}

/*** Pagination ***/

.pagination-custom {
  background: transparent;
  box-shadow: none;
}

.p-numbers {
  background-color: #d51317;
  margin-right: 3px;
  margin-left: 3px;
  color: white;
}

.pagination-custom .page-numbers.current .p-numbers {
  background-color: #343434;
  color: white;
}