/*
Theme Name: Hello Elementor Child – Containerdienst Berisha
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Child theme of Hello Elementor for containerdienst-berisha.de. Self-hosted fonts (Manrope, Inter) and small design refinements; layout and content live in Elementor.
Author: Containerdienst Berisha
Author URI: https://containerdienst-berisha.de/
Template: hello-elementor
Version: 3.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/* ---------------------------------------------------------------------------
   Self-hosted fonts (no Google servers – DSGVO). Variable fonts, latin + latin-ext.
--------------------------------------------------------------------------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------------------------------------------------------------------------
   Small global refinements (everything else is configured in Elementor).
--------------------------------------------------------------------------- */
::selection {
  background: #136358;
  color: #fff;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px; /* sticky header */
}

/* Soft hover lift for cards marked with the .cb-card class in Elementor */
.cb-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cb-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(18, 37, 32, 0.12) !important;
}

/* Waste-type tiles: gentle zoom of the background image on hover */
.cb-tile {
  overflow: hidden;
}
.cb-tile {
  transition: transform 0.25s ease;
}
.cb-tile:hover {
  transform: translateY(-4px);
}

/* ---------------------------------------------------------------------------
   Site header (theme-rendered, no Elementor Pro).
   Sticky via CSS: sticks at -44px so the info top bar scrolls away and the
   main bar stays visible.
--------------------------------------------------------------------------- */
:root {
  --cb-green: #136358;
  --cb-green-dark: #0b3f38;
  --cb-ink: #12201c;
  --cb-text: #3c4a45;
  --cb-amber: #f7a600;
  --cb-light: #f2f6f4;
  --cb-line: #e3eae7;
  --cb-topbar-h: 44px;
  --cb-mainbar-h: 93px;
}

.cb-site-header {
  position: sticky;
  top: calc(-1 * var(--cb-topbar-h));
  z-index: 100;
}
body.admin-bar .cb-site-header {
  top: calc(32px - var(--cb-topbar-h));
}

.cb-topbar {
  background: var(--cb-ink);
  height: var(--cb-topbar-h);
  display: flex;
  align-items: center;
}
.cb-topbar__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.cb-topbar__left {
  display: flex;
  gap: 24px;
}
.cb-topbar__item {
  color: #b8c7c2;
  font: 500 13.5px/1.4 'Inter', sans-serif;
  text-decoration: none;
  white-space: nowrap;
}
.cb-topbar__item i {
  color: var(--cb-amber);
  font-size: 13px;
  margin-right: 6px;
}
a.cb-topbar__item:hover {
  color: #fff;
}

.cb-mainbar {
  background: #fff;
  box-shadow: 0 6px 24px rgba(18, 37, 32, 0.08);
  position: relative;
}
.cb-mainbar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--cb-mainbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cb-logo {
  display: block;
  line-height: 0;
  flex-shrink: 0;
}
.cb-logo img {
  width: 200px;
  height: auto;
}

.cb-nav__list {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.cb-nav__list a {
  display: inline-block;
  padding: 8px 14px;
  color: var(--cb-ink);
  font: 600 16px/1.4 'Inter', sans-serif;
  text-decoration: none;
  position: relative;
}
.cb-nav__list a::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 3px;
  border-radius: 2px;
  background: var(--cb-amber);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.cb-nav__list a:hover {
  color: var(--cb-green);
}
.cb-nav__list a:hover::after,
.cb-nav__list .current-menu-item a::after,
.cb-nav__list .current_page_item a::after {
  opacity: 1;
}
.cb-nav__list .current-menu-item a,
.cb-nav__list .current_page_item a {
  color: var(--cb-green);
}

.cb-phone-btn-php {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cb-amber);
  color: var(--cb-ink);
  font: 700 16px/1 'Inter', sans-serif;
  padding: 13px 22px;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s ease;
}
.cb-phone-btn-php:hover {
  background: #e09600;
  color: var(--cb-ink);
}

.cb-site-header .cb-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--cb-light);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}
.cb-site-header .cb-burger span {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: var(--cb-ink);
}

.cb-mobile-nav {
  background: #fff;
  border-top: 1px solid var(--cb-line);
}
.cb-mobile-nav__list {
  list-style: none;
  margin: 0;
  padding: 10px 0;
}
.cb-mobile-nav__list a {
  display: block;
  padding: 12px 24px;
  color: var(--cb-ink);
  font: 600 17px/1.4 'Inter', sans-serif;
  text-decoration: none;
}
.cb-mobile-nav__list .current-menu-item a {
  color: var(--cb-green);
}

@media (max-width: 1024px) {
  .cb-nav {
    display: none;
  }
  .cb-site-header .cb-burger {
    display: flex;
  }
}
@media (max-width: 767px) {
  .cb-site-header {
    top: 0;
  }
  body.admin-bar .cb-site-header {
    top: 0; /* the mobile admin bar scrolls away by itself */
  }
  .cb-topbar {
    display: none;
  }
  .cb-mainbar__inner {
    height: 72px;
    padding: 0 16px;
    gap: 12px;
  }
  .cb-logo img {
    width: 160px;
  }
  .cb-phone-btn-php {
    padding: 12px 14px;
  }
  .cb-phone-btn-php span {
    display: none; /* icon-only on phones */
  }
}

/* Full-screen hero: fills the viewport below the header (top bar 44px + main bar 93px) */
.cb-hero {
  min-height: calc(100dvh - 137px);
}
@media (max-width: 1024px) {
  .cb-hero {
    min-height: auto;
  }
}

/* Hazard-stripe brand motif (amber/ink diagonal stripes) */
.cb-stripes {
  background: repeating-linear-gradient(135deg, #f7a600 0 16px, #12201c 16px 32px);
}

/* Diagonal cut on the hero photo panel */
.cb-photo-cut {
  clip-path: polygon(88px 0, 100% 0, 100% 100%, 0 100%);
}
@media (max-width: 767px) {
  .cb-photo-cut {
    clip-path: none;
  }
}

/* Lightbox/linked image tiles: make the link fill its column */
.elementor-widget-image.cb-tile a {
  display: block;
  width: 100%;
}

/* ---------------------------------------------------------------------------
   Site footer (theme-rendered).
--------------------------------------------------------------------------- */
.cb-footer-stripe {
  height: 8px;
  background: repeating-linear-gradient(135deg, #f7a600 0 16px, #12201c 16px 32px);
}
.cb-footer-main {
  background: var(--cb-ink);
  padding: 72px 24px 56px;
}
.cb-footer-main__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1.1fr 1.1fr 0.8fr;
  gap: 40px;
}
.cb-footer-col h4 {
  color: #fff;
  font: 800 16px/1.3 'Manrope', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.cb-footer-col p {
  color: #adbeb9;
  font: 400 15.5px/1.65 'Inter', sans-serif;
  margin: 0;
}
.cb-footer-logochip {
  display: inline-block;
  background: #fff;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 18px;
  line-height: 0;
}
.cb-footer-logochip img {
  width: 194px;
  height: auto;
}
.cb-footer-area {
  margin-top: 18px;
  color: #e7f0ed;
  font: 800 14px/1.4 'Manrope', sans-serif;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.cb-footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 13px;
}
.cb-footer-list li {
  display: flex;
  gap: 11px;
  align-items: baseline;
  color: #adbeb9;
  font: 400 15.5px/1.5 'Inter', sans-serif;
}
.cb-footer-list i {
  color: var(--cb-amber);
  font-size: 15px;
  width: 18px;
  flex-shrink: 0;
}
.cb-footer-list a {
  color: #adbeb9;
  text-decoration: none;
}
.cb-footer-list a:hover {
  color: #fff;
}
.cb-footer-list--links a::before {
  content: '›';
  color: var(--cb-amber);
  margin-right: 10px;
}
.cb-footer-bottom {
  background: #0d1915;
  padding: 20px 24px;
}
.cb-footer-bottom__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cb-footer-bottom p {
  color: #7e928c;
  font: 400 14.5px/1.5 'Inter', sans-serif;
  margin: 0;
}
.cb-footer-legal {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 22px;
}
.cb-footer-legal a {
  color: #9fb3ad;
  font: 400 14.5px/1.5 'Inter', sans-serif;
  text-decoration: none;
}
.cb-footer-legal a:hover {
  color: #fff;
}
@media (max-width: 1024px) {
  .cb-footer-main__inner {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .cb-footer-main {
    padding: 48px 20px 40px;
  }
  .cb-footer-main__inner {
    grid-template-columns: 1fr;
  }
  .cb-footer-bottom__inner {
    justify-content: center;
    text-align: center;
  }
}

/* ---------------------------------------------------------------------------
   Contact form ([cb_kontakt_formular]).
--------------------------------------------------------------------------- */
.cb-form form {
  display: block;
}
.cb-form__hp {
  position: absolute !important;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}
.cb-form__row {
  display: flex;
  gap: 16px;
}
.cb-form__field {
  flex: 1;
  margin: 0 0 16px;
}
.cb-form__field label {
  display: block;
  margin-bottom: 6px;
  color: var(--cb-ink);
  font: 600 15px/1.4 'Inter', sans-serif;
}
.cb-form__field input[type='text'],
.cb-form__field input[type='email'],
.cb-form__field input[type='tel'],
.cb-form__field select,
.cb-form__field textarea {
  width: 100%;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--cb-line);
  border-radius: 10px;
  color: var(--cb-ink);
  font: 400 16px/1.5 'Inter', sans-serif;
}
.cb-form__field input:focus,
.cb-form__field select:focus,
.cb-form__field textarea:focus {
  outline: none;
  border-color: var(--cb-green);
  box-shadow: 0 0 0 3px rgba(19, 99, 88, 0.12);
}
.cb-form__field--consent label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  color: var(--cb-text);
  font-size: 14.5px;
  line-height: 1.55;
}
.cb-form__field--consent input {
  margin-top: 3px;
  accent-color: var(--cb-green);
}
.cb-form__submit {
  margin: 4px 0 0;
}
.cb-form .cb-form__submit button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--cb-amber);
  color: var(--cb-ink);
  border: 0;
  border-radius: 10px;
  padding: 16px 30px;
  font: 700 16px/1 'Inter', sans-serif;
  cursor: pointer;
  transition: background 0.2s ease;
}
.cb-form .cb-form__submit button:hover {
  background: #e09600;
}
.cb-form__notice {
  padding: 12px 16px;
  border-radius: 10px;
  font: 500 15px/1.5 'Inter', sans-serif;
  margin: 0 0 16px;
}
.cb-form__notice--ok {
  background: #e7f7ed;
  color: #14532d;
}
.cb-form__notice--err {
  background: #fdecec;
  color: #8a1c1c;
}
@media (max-width: 600px) {
  .cb-form__row {
    flex-direction: column;
    gap: 0;
  }
}

/* Keyboard focus */
a:focus-visible,
button:focus-visible,
.elementor-button:focus-visible {
  outline: 3px solid #f7a600;
  outline-offset: 2px;
}
