/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/



/* ==========================================================================
   Google Fonts Poppins
   ========================================================================== */

/* poppins-200 - 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: 'Poppins';
  font-style: normal;
  font-weight: 200;
  src: url('/wp-content/themes/bricks-child/fonts/poppins/poppins-v20-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-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: 'Poppins';
  font-style: normal;
  font-weight: 300;
  src: url('/wp-content/themes/bricks-child/fonts/poppins/poppins-v20-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-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: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('/wp-content/themes/bricks-child/fonts/poppins/poppins-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-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: 'Poppins';
  font-style: normal;
  font-weight: 500;
  src: url('/wp-content/themes/bricks-child/fonts/poppins/poppins-v20-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-600 - 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: 'Poppins';
  font-style: normal;
  font-weight: 600;
  src: url('/wp-content/themes/bricks-child/fonts/poppins/poppins-v20-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-700 - 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: 'Poppins';
  font-style: normal;
  font-weight: 700;
  src: url('/wp-content/themes/bricks-child/fonts/poppins/poppins-v20-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-800 - 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: 'Poppins';
  font-style: normal;
  font-weight: 800;
  src: url('/wp-content/themes/bricks-child/fonts/poppins/poppins-v20-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}




/* ==========================================================================
   Google Fonts Poppins
   ========================================================================== */

/* google-sans-flex-200 - 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: 'Google Sans Flex';
  font-style: normal;
  font-weight: 200;
  src: url('/wp-content/themes/bricks-child/fonts/google-sans-flex/google-sans-flex-v23-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* google-sans-flex-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: 'Google Sans Flex';
  font-style: normal;
  font-weight: 300;
  src: url('/wp-content/themes/bricks-child/fonts/google-sans-flex/google-sans-flex-v23-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* google-sans-flex-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: 'Google Sans Flex';
  font-style: normal;
  font-weight: 400;
  src: url('/wp-content/themes/bricks-child/fonts/google-sans-flex/google-sans-flex-v23-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* google-sans-flex-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: 'Google Sans Flex';
  font-style: normal;
  font-weight: 500;
  src: url('/wp-content/themes/bricks-child/fonts/google-sans-flex/google-sans-flex-v23-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* google-sans-flex-600 - 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: 'Google Sans Flex';
  font-style: normal;
  font-weight: 600;
  src: url('/wp-content/themes/bricks-child/fonts/google-sans-flex/google-sans-flex-v23-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* google-sans-flex-700 - 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: 'Google Sans Flex';
  font-style: normal;
  font-weight: 700;
  src: url('/wp-content/themes/bricks-child/fonts/google-sans-flex/google-sans-flex-v23-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* google-sans-flex-800 - 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: 'Google Sans Flex';
  font-style: normal;
  font-weight: 800;
  src: url('/wp-content/themes/bricks-child/fonts/google-sans-flex/google-sans-flex-v23-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}








/* ==========================================================================
   Variables
   ========================================================================== */


:root {
   --font-main: 'Google Sans Flex', sans-serif;
   --fw-light: 300;
   --fw-regular: 400;
   --fw-medium: 500;
   --fw-semibold: 600;
   --fw-bold: 700;

   --primary: orange;
   --secondary: blue;

   --shadow-primary: hsla(0, 0%, 0%, 0.15);


}




/* ==========================================================================
   Buttonsystem
   ========================================================================== */









/* ==========================================================================
   Typografie
   ========================================================================== */











/* ==========================================================================
   Default
   ========================================================================== */


html { 
   scroll-behavior: smooth;
}


body {
   font-family: var(--font-main);
   font-weight: var(--regular);

}

.container--full {
  width: 100% !important;
} 



/* ==========================================================================
   Bricks Overwrite
   ========================================================================== */


.brxe-section{
     padding: 1rem 2rem;  
}

.brxe-container {
  width: 1400px;
} 









/* ==========================================================================
   Header
   ========================================================================== */


.site-header{
  background-color: gainsboro;
  .logo{
    width: 80px;
  }
}



/* ==========================================================================
   Header Navigation 
   ========================================================================== */

/* Menüpunkte ohne eigene Seite (#) nicht klickbar, normaler Cursor */

.brxe-nav-menu a[href="#"] {
  pointer-events: none;
}
.brxe-nav-menu .brx-submenu-toggle:has(a[href="#"]) {
  cursor: default;
}

/* Hamburger: Striche 1px stärker und etwas länger */

.nav-main .bricks-mobile-menu-toggle,
.nav-main .bricks-mobile-menu-toggle span {
  width: 3rem;
}
.nav-main .bricks-mobile-menu-toggle span {
  height: 2.5px;
}

.nav-main a {
  font-size: 1.6rem;
}



/* ==========================================================================
   Body
   ========================================================================== */


/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{
  background-color: gainsboro;

}

/* ==========================================================================
   Footer Navigation
   ========================================================================== */






/* ==========================================================================
   Media Queries
   ========================================================================== */


/* Desktop */
@media (max-width: 1400px) {

}

/* Tablet hochkant */
@media (max-width: 991px) {

}

/* Mobil quer */
@media (max-width: 767px) {

}

/* Mobil hochkant */
@media (max-width: 478px) {

}






/* ==========================================================================
   Develop!!!!!!!!!!!!!!!
   ========================================================================== */


.btn {
  display: inline-block;
  padding: 1.28rem 2.4rem;
  font-family: "Poppins", sans-serif;
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.25px;
  text-align: center;
  text-decoration: none;
  color: var(--btn-color, var(--light));
  background-color: var(--btn-bg, var(--primary));
  border: none;
  border-radius: 0;
  cursor: pointer;

}

/* Farben */
.btn--primary   { --btn-bg: var(--primary); }
.btn--secondary { --btn-bg: var(--secondary); }
.btn--dark      { --btn-bg: var(--dark); }

/* Pulse – nimmt automatisch die Farbe des Buttons */
@keyframes btn-pulse {
  from { box-shadow: 0 0 0 0 var(--btn-bg, var(--primary)); }
  to   { box-shadow: 0 0 0 1.6rem transparent; }
}

.btn--pulse:hover {
  animation: btn-pulse 1s;
   transform: none;
}










.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-m);
}
.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-s);
  padding: var(--space-m);
  background: var(--bg-surface);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-m);
}
.card .btn { margin-top: auto; }

@media (max-width: 767px) {
  .cards { grid-template-columns: 1fr; }
}






.to-top {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  z-index: 999;

  display: grid;
  place-items: center;
  width: 5rem;
  aspect-ratio: 1;

  font-size: 2rem;
  color: #2163a8;
  cursor: pointer;

  /* Rand transparent, Hintergrund malt Füllung + Fortschritt */
  border: 2px solid transparent;
  border-radius: 50%;
  background:
    linear-gradient(red, red) padding-box,
    conic-gradient(#2163a8 calc(var(--p) * 1%), rgba(33, 99, 168, 0.2) 0) border-box;

  /* versteckt bis 300px gescrollt */
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.to-top:hover {
  color: gray;
  background:
    linear-gradient(blue, blue) padding-box,
    conic-gradient(#2163a8 calc(var(--p) * 1%), rgba(33, 99, 168, 0.2) 0) border-box;
}