/*
Theme Name: bee-id Storefront Child
Template: storefront
Version: 1.0.2-b
Description: Bee-ID CI Theme auf Basis von Storefront. Alle Design-Regeln nur hier in der style.css.
Author: Bee-ID
*/

/* =========================================================
   01) CI / Design Tokens (Bee-ID)
   ========================================================= */
:root{
  --bee-yellow: #FFC400;
  --bee-yellow-dark: #E0AA00;

  --bee-black: #0B0B0D;
  --bee-graphite: #1A1B1E;
  --bee-darkgray: #2A2B2F;
  --bee-midgray: #6B6F76;
  --bee-line: #E7E9EE;
  --bee-surface: #F4F5F7;
  --bee-white: #FFFFFF;

  --radius-xs: 8px;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 18px;
  --radius-xl: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(11,11,13,0.06), 0 8px 24px rgba(11,11,13,0.04);
  --shadow-md: 0 2px 6px rgba(11,11,13,0.08), 0 18px 50px rgba(11,11,13,0.06);

  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Noto Sans", "Liberation Sans", sans-serif;

  --content-max: 1200px;

  /* Einheitlicher Innenabstand für Content + Menü (damit Menüpunkt 1 mit .bee-home-h1 fluchtet) */
  --bee-gutter: clamp(14px, 3vw, 28px);
}

/* =========================================================
   02) Base (GLOBAL FONT SCALE = 75%)
   ========================================================= */
html{ scroll-behavior: smooth; }

body{
  font-family: var(--font-sans);
  color: var(--bee-black);
  background: var(--bee-white);
  line-height: 1.55;

  /* >>> GLOBAL SCALE <<< */
  font-size: 75%;
}

img{ max-width: 100%; height: auto; }

a{
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  text-decoration-color: rgba(255,196,0,0.55);
}
a:hover{ text-decoration-color: var(--bee-yellow); }

::selection{
  background: var(--bee-yellow);
  color: var(--bee-black);
}

:where(a, button, input, select, textarea, .button, .wp-block-button__link):focus-visible{
  outline: none;
  box-shadow: 0 0 0 2px var(--bee-yellow);
  border-radius: 8px;
}

h1,h2,h3,h4,h5,h6{
  color: var(--bee-black);
  letter-spacing: -0.015em;
}
h1{ font-weight: 900; }
h2{ font-weight: 900; }
h3{ font-weight: 800; }

p{ color: var(--bee-darkgray); }

.bee-muted{ color: var(--bee-midgray); }
.bee-accent{ color: var(--bee-yellow); }

.bee-link{
  font-weight: 900;
  text-decoration: none;
  box-shadow: inset 0 -2px 0 rgba(255,196,0,0.75);
}
.bee-link:hover{
  box-shadow: inset 0 -3px 0 var(--bee-yellow);
}

/* =========================================================
   03) Layout / Storefront basics
   ========================================================= */
.col-full{
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;

  /* sorgt dafür, dass Content (z. B. .bee-home-h1) links/rechts immer gleich startet */
  padding-left: var(--bee-gutter);
  padding-right: var(--bee-gutter);
}

.site-main{
  padding-top: 22px;
  padding-bottom: 40px;
}

.home .site-main{
  background: #F3F4F6;
  padding-top: 0;
}

.home.page .entry-header{ display: none; }

/* =========================================================
   04) Header / Nav
   ========================================================= */

/* --------- 4.1) Bereich ÜBER dem Hauptmenü entfernen ---------
   Storefront hat i.d.R. im Header zuerst einen direkten .col-full Block
   (Logo/Title/Suche/Warenkorb). Den blenden wir aus, aber lassen das Menü stehen.
*/
.site-header{
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
}

/* Nur der oberste Header-Block soll weg (nicht die Navigation darunter) */
.site-header > .col-full{
  display: none !important;
}

/* Sicherheit: falls Storefront Teile anders ausgibt, zusätzlich diese Elemente verstecken */
.site-header .site-branding,
.site-header .site-search,
.site-header .site-header-cart{
  display: none !important;
}

/* --------- 4.2) Hauptmenü Styling (schlanker) --------- */
.storefront-primary-navigation{
  background: var(--bee-graphite);
  border-top: 0;
  border-bottom: 1px solid rgba(0,0,0,0.35);

  /* damit es wirklich direkt oben sitzt */
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
}

/* Navigation-Inhalt soll exakt wie .bee-home-h1 starten */
.storefront-primary-navigation .col-full{
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--bee-gutter);
  padding-right: var(--bee-gutter);
}

/* Ul/menü ohne extra Einzug -> erster Menüpunkt fluchtet links */
.main-navigation ul{
  margin: 0;
  padding: 0;
}

/* Menü schlanker: weniger Padding oben/unten */
.main-navigation ul li a{
  color: var(--bee-white);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;

  padding-top: 10px;
  padding-bottom: 10px;
}

/* Hover/Active Unterstrich etwas dünner (wirkt „schlanker“) */
.main-navigation ul li a:hover{
  color: var(--bee-white);
  box-shadow: inset 0 -2px 0 var(--bee-yellow);
}
.main-navigation ul li.current-menu-item > a,
.main-navigation ul li.current_page_item > a{
  box-shadow: inset 0 -2px 0 var(--bee-yellow);
}

.menu-toggle{
  background: transparent;
  border: 1px solid rgba(255,255,255,0.16);
  color: var(--bee-white);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
}
.menu-toggle:hover{
  border-color: rgba(255,255,255,0.3);
}

.main-navigation ul ul{
  background: var(--bee-graphite);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
}
.main-navigation ul ul li a{
  padding: 8px 12px;
}

/* =========================================================
   05) Buttons / Forms
   ========================================================= */
.button,
button,
input[type="button"],
input[type="submit"],
input[type="reset"],
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button{
  border-radius: var(--radius);
  border: 1px solid var(--bee-line);
  background: var(--bee-white);
  color: var(--bee-black);
  font-weight: 900;
  transition: background .15s ease, border-color .15s ease, transform .05s ease;
}
.button:hover,
button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover{
  background: #F1F2F4;
  border-color: #DADDE6;
}
.button:active,
button:active,
.wp-block-button__link:active{
  transform: translateY(1px);
}

/* Primary */
.button.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt{
  background: var(--bee-yellow);
  border-color: var(--bee-yellow);
  color: var(--bee-black);
}
.button.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit.alt:hover{
  background: var(--bee-yellow-dark);
  border-color: var(--bee-yellow-dark);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="search"],
input[type="url"],
textarea,
select{
  border-radius: var(--radius);
  border: 1px solid var(--bee-line);
  background: var(--bee-white);
  color: var(--bee-black);
  padding: 10px 12px;
}
input::placeholder,
textarea::placeholder{ color: var(--bee-midgray); }
input:focus,
textarea:focus,
select:focus{
  outline: none;
  border-color: var(--bee-yellow);
  box-shadow: 0 0 0 2px var(--bee-yellow);
}

/* =========================================================
   06) WooCommerce essentials
   ========================================================= */
.woocommerce span.onsale{
  background: var(--bee-yellow);
  color: var(--bee-black);
  border-radius: var(--radius-pill);
  padding: 6px 10px;
  font-weight: 900;
}
.woocommerce .star-rating span::before{ color: var(--bee-yellow); }

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product{
  border-radius: var(--radius);
  border: 1px solid var(--bee-line);
  background: var(--bee-white);
  padding: 14px;
  box-shadow: none;
  overflow: hidden;
}
.woocommerce ul.products li.product:hover{ box-shadow: var(--shadow-sm); }
.woocommerce ul.products li.product img{ border-radius: calc(var(--radius) - 2px); }
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  font-weight: 900;
  letter-spacing: -0.01em;
  margin-top: 10px;
}
.woocommerce ul.products li.product .price{
  font-weight: 900;
  margin-top: 6px;
}

.woocommerce ul.products li.product a.button{
  width: 100%;
  text-align: center;
  margin-top: 10px;
  border-radius: var(--radius);
}
.woocommerce ul.products li.product a.button.add_to_cart_button,
.woocommerce ul.products li.product a.button.product_type_simple,
.woocommerce ul.products li.product a.button.product_type_variable{
  background: var(--bee-yellow);
  border-color: var(--bee-yellow);
  color: var(--bee-black);
}
.woocommerce ul.products li.product a.button.add_to_cart_button:hover,
.woocommerce ul.products li.product a.button.product_type_simple:hover,
.woocommerce ul.products li.product a.button.product_type_variable:hover{
  background: var(--bee-yellow-dark);
  border-color: var(--bee-yellow-dark);
}

/* =========================================================
   07) Footer
   ========================================================= */
.site-footer{
  background: var(--bee-graphite);
  color: var(--bee-white);
  padding-top: 28px;
  padding-bottom: 28px;
}
.site-footer a{
  color: var(--bee-white);
  text-decoration-color: rgba(255,196,0,0.5);
}
.site-footer a:hover{
  color: var(--bee-yellow);
  text-decoration-color: var(--bee-yellow);
}
.site-footer .widget-title{
  color: var(--bee-white);
  opacity: 0.95;
  font-weight: 900;
}

/* =========================================================
   08) Front Page – CSS for plugin/page layout
   ========================================================= */

/* Finderbar */
.bee-finderbar{
  background: var(--bee-white);
  border-bottom: 1px solid var(--bee-line);
  padding: 14px 0;
}
.bee-finderbar__grid{
  display: grid;
  grid-template-columns: 90px 1fr 320px;
  gap: 16px;
  align-items: center;
}

.bee-finderbar__logo img{
  width: 64px;
  height: auto;
  border-radius: 12px;
}
.bee-logo-fallback{
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: var(--bee-surface);
  border: 1px solid var(--bee-line);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  color: var(--bee-black);
}

.bee-finder__title{
  font-weight: 900;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}
.bee-finder__subtitle{
  color: var(--bee-midgray);
  margin-bottom: 10px;
}

.bee-finder__form{
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.bee-finder__input{
  flex: 1 1 260px;
  border-radius: var(--radius-pill);
  padding: 11px 14px;
}
.bee-finder__button{
  border-radius: var(--radius-pill);
  border: 1px solid var(--bee-yellow);
  background: var(--bee-yellow);
  color: var(--bee-black);
  font-weight: 900;
  padding: 11px 16px;
  cursor: pointer;
}
.bee-finder__button:hover{
  background: var(--bee-yellow-dark);
  border-color: var(--bee-yellow-dark);
}

.bee-finderbar__account{
  display: flex;
  justify-content: flex-end;
}
.bee-accountbox{
  border: 1px solid var(--bee-line);
  background: var(--bee-white);
  border-radius: var(--radius);
  padding: 12px 14px;
  width: 100%;
}
.bee-accountbox__top{
  display:flex;
  justify-content:flex-end;
}
.bee-accountbox p{
  margin: 8px 0 0 0;
  color: var(--bee-midgray);
}
.bee-accountbox__links{
  margin-top: 8px;
}
.bee-accountbox__links a{ font-weight: 900; }

/* H1 */
.bee-home-h1{
  font-size: clamp(24px, 2.85vw, 42px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 18px 0 18px 0;
}

/* Hero */
.bee-hero-card{
  background: var(--bee-white);
  border: 1px solid var(--bee-line);
  border-radius: var(--radius-xl);
  padding: clamp(16px, 2.2vw, 26px);
  box-shadow: var(--shadow-md);
}
.bee-hero-grid{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  align-items: start;
}

.bee-badges{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.bee-chip{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--bee-line);
  background: #F6F7F9;
  color: var(--bee-graphite);
  font-weight: 900;
}

.bee-hero-title{
  font-size: clamp(21px, 2.35vw, 34px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 10px 0;
}

.bee-hero-text{
  margin: 0 0 16px 0;
}

.bee-hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.bee-hero-footnote{
  color: var(--bee-midgray);
}

/* Video */
.bee-video-card{
  background: var(--bee-white);
  border: 1px solid var(--bee-line);
  border-radius: var(--radius);
  padding: 14px;
}
.bee-video-card h3{
  margin: 0 0 10px 0;
  font-weight: 900;
}

.bee-video-embed{
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bee-surface);
  border: 1px solid var(--bee-line);
}
.bee-video-embed iframe,
.bee-video-embed video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.bee-video-badges{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

/* Sections */
.bee-section{
  margin-top: 22px;
  background: var(--bee-white);
  border: 1px solid var(--bee-line);
  border-radius: var(--radius-xl);
  padding: clamp(16px, 2.2vw, 24px);
  box-shadow: var(--shadow-sm);
}
.bee-section-head h2{
  margin: 0 0 8px 0;
  font-size: 21px;
  line-height: 1.1;
}
.bee-section-head p{ margin: 0 0 12px 0; }

.bee-inline-cta{
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: baseline;
}

/* Steps */
.bee-steps{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}
.bee-step{
  border: 1px solid var(--bee-line);
  border-radius: var(--radius);
  background: var(--bee-white);
  padding: 14px;
}
.bee-step h3{
  margin: 0 0 6px 0;
  font-size: 12px;
  font-weight: 900;
}
.bee-step p{ margin: 0; }

/* Pricing */
.bee-pricing-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.bee-pricecard{
  border: 1px solid var(--bee-line);
  border-radius: var(--radius-xl);
  background: var(--bee-white);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.bee-pricecard__head h2{
  margin: 0 0 6px 0;
  font-size: 25px;
  letter-spacing: -0.02em;
}
.bee-pricecard__head p{ margin: 0 0 10px 0; }
.bee-pricecard--vip{
  background: rgba(255,196,0,0.10);
  border-color: rgba(255,196,0,0.45);
}
.bee-pricecard__topline{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}

.bee-list{ margin: 0; padding-left: 18px; }
.bee-list li{ margin: 8px 0; color: var(--bee-darkgray); }
.bee-list strong{ color: var(--bee-black); }

/* Benefits */
.bee-benefits{
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.bee-benefit{
  border: 1px solid var(--bee-line);
  border-radius: var(--radius);
  background: var(--bee-white);
  padding: 14px;
}
.bee-benefit h3{
  margin: 0 0 6px 0;
  font-size: 12px;
  font-weight: 900;
}
.bee-benefit p{ margin: 0; }

.bee-whyvip-actions{
  margin-top: 14px;
  display:flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Bonus */
.bee-bonus-grid{
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.bee-bonus-card{
  border: 1px solid var(--bee-line);
  border-radius: var(--radius);
  background: var(--bee-white);
  padding: 14px;
}
.bee-bonus-card h3{
  margin: 0 0 6px 0;
  font-size: 12px;
  font-weight: 900;
}
.bee-bonus-card p{ margin: 0; }

/* Use cases */
.bee-usecases-grid{
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.bee-usecase{
  border: 1px solid var(--bee-line);
  border-radius: var(--radius);
  background: var(--bee-white);
  padding: 14px;
}
.bee-usecase h3{
  margin: 0 0 6px 0;
  font-size: 12px;
  font-weight: 900;
}
.bee-usecase p{ margin: 0; }

/* Final CTA */
.bee-finalcta__box{
  border: 1px solid rgba(255,196,0,0.45);
  background: rgba(255,196,0,0.12);
  border-radius: var(--radius-xl);
  padding: 20px;
}
.bee-finalcta__box h2{
  margin: 0 0 8px 0;
  font-size: 25px;
  letter-spacing: -0.02em;
}
.bee-finalcta__box p{ margin: 0 0 14px 0; }
.bee-finalcta__actions{
  display:flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}
.bee-finalcta__meta{
  color: var(--bee-midgray);
}

/* Responsive */
@media (max-width: 1000px){
  .bee-finderbar__grid{
    grid-template-columns: 90px 1fr;
  }
  .bee-finderbar__account{ justify-content: flex-start; }
  .bee-hero-grid{ grid-template-columns: 1fr; }

  .bee-steps{ grid-template-columns: 1fr; }
  .bee-pricing-grid{ grid-template-columns: 1fr; }
  .bee-benefits{ grid-template-columns: 1fr; }
  .bee-bonus-grid{ grid-template-columns: 1fr; }
  .bee-usecases-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 520px){
  .bee-home-h1{ font-size: 22px; }
  .bee-finder__subtitle{ font-size: 13px; }
}
