/* roboto-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('../fonts/roboto-v51-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-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: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/roboto-v51-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

    /* ============================================================
       CSS RESET & BASE
    ============================================================ */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --green:        #3fa535;
      --green-light:  #90db88;
      --green-pale:   #d3f1cf;
      --gray-bg:      #f6f6f6;
      --text-dark:    #0a0a0a;
      --text-body:    #101828;
      --text-card:    #1e2939;
      --white:        #ffffff;

      --font:         'Roboto', sans-serif;

      --max-w:        1440px;
      --inner-w:      1280px;
      --pad-x:        80px;

      --header-h:     120px;
      --header-h-sm:  64px;
    }

    html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

    body {
      font-family: var(--font);
      font-size: 16px;
      color: var(--text-dark);
      background: var(--white);
      overflow-x: hidden;
    }

    img { display: block; max-width: 100%; }
    a   { text-decoration: none; color: inherit; }

    .container {
      max-width: var(--inner-w);
      margin: 0 auto;
      padding: 0 var(--pad-x);
    }

    /* ============================================================
       HEADER (fixed, shrinks on scroll)
    ============================================================ */
    .site-header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 100;
      background: var(--white);
      height: var(--header-h);
      display: flex;
      align-items: center;
      box-shadow: 0 2px 8px rgba(0,0,0,.06);
      transition: height .35s ease, background .35s ease, box-shadow .35s ease;
    }

    .site-header.scrolled {
      height: var(--header-h);
      background: var(--white);
      box-shadow: 0 2px 8px rgba(0,0,0,.06);
    }

    .header-spacer {
      height: var(--header-h);
      transition: height .35s ease;
    }
    body.scrolled .header-spacer {
      height: var(--header-h);
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      max-width: var(--max-w);
      margin: 0 auto;
      padding-left: var(--pad-x);
      padding-right: var(--pad-x);
    }

    .header-logo img {
      height: 72px;
      max-height: 72px;
      width: auto;
      transition: height .35s ease;
    }
    .site-header.scrolled .header-logo img {
      height: 72px;
      max-height: 72px;
    }

    .header-nav {
      display: flex;
      align-items: center;
      gap: 40px;
    }

    .header-nav-links {
      display: flex;
      align-items: center;
      gap: 32px;
      transition: opacity .25s, visibility .25s;
    }
    .site-header.scrolled .header-nav-links {
      opacity: 1;
      visibility: visible;
    }

    .header-nav .nav-link {
      font-weight: 700;
      font-size: 15px;
      color: var(--green);
      transition: opacity .2s;
      white-space: nowrap;
    }
    .header-nav .nav-link:hover { opacity: .75; }

    .btn-login {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      height: 53px;
      padding: 14px 29px;
      background: var(--green);
      color: var(--white);
      font-family: var(--font);
      font-weight: 700;
      font-size: 18px;
      letter-spacing: .02em;
      transition: background .2s, opacity .25s, visibility .25s;
      border: none;
      cursor: pointer;
    }
    .btn-login:hover { background: #35902c; }
    .site-header.scrolled .btn-login {
      opacity: 1;
      visibility: visible;
    }
    .site-header.scrolled .header-cart {
      opacity: 1;
      visibility: visible;
    }

    /* Header Cart Icon */
    .header-cart {
      position: relative;
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .header-cart img {
      width: 24px;
      height: 24px;
    }
    .header-cart-badge {
      position: absolute;
      top: 0;
      right: -2px;
      background: var(--green);
      color: var(--white);
      font-size: 11px;
      font-weight: 700;
      min-width: 18px;
      height: 18px;
      border-radius: 9px;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 0 4px;
      line-height: 1;
    }
    .header-cart-badge.visible {
      display: flex;
    }

    /* Hamburger Button */
    .hamburger-btn {
      display: none;
      align-items: center;
      gap: 8px;
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px 0;
      font-family: var(--font);
      font-size: 16px;
      font-weight: 700;
      color: var(--text-dark);
    }
    .site-header.scrolled .hamburger-btn {
      display: none;
    }

    .hamburger-lines {
      display: flex;
      flex-direction: column;
      gap: 4px;
      width: 22px;
    }
    .hamburger-lines span {
      display: block;
      height: 2px;
      background: var(--text-dark);
      border-radius: 1px;
      transition: transform .25s, opacity .25s;
    }
    .hamburger-btn.active .hamburger-lines span:nth-child(1) {
      transform: translateY(6px) rotate(45deg);
    }
    .hamburger-btn.active .hamburger-lines span:nth-child(2) {
      opacity: 0;
    }
    .hamburger-btn.active .hamburger-lines span:nth-child(3) {
      transform: translateY(-6px) rotate(-45deg);
    }

    /* Nav Slide-in Panel */
    .nav-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,.4);
      z-index: 198;
      opacity: 0;
      visibility: hidden;
      transition: opacity .3s, visibility .3s;
    }
    .nav-overlay.open {
      opacity: 1;
      visibility: visible;
    }
    .nav-panel {
      position: fixed;
      top: 0;
      right: 0;
      bottom: 0;
      width: 380px;
      max-width: 85vw;
      background: var(--white);
      z-index: 199;
      transform: translateX(100%);
      transition: transform .35s ease;
      display: flex;
      flex-direction: column;
      box-shadow: -4px 0 24px rgba(0,0,0,.12);
    }
    .nav-panel.open {
      transform: translateX(0);
    }
    .nav-panel-header {
      padding: 28px 32px 0;
      flex-shrink: 0;
    }
    .nav-panel-close {
      float: right;
      background: none;
      border: none;
      cursor: pointer;
      padding: 4px;
    }
    .nav-panel-close svg {
      width: 28px;
      height: 28px;
      color: var(--text-dark);
    }
    .nav-panel-header h3 {
      font-size: 22px;
      font-weight: 700;
      color: var(--text-dark);
      margin: 0;
      padding-top: 8px;
      clear: both;
    }
    .nav-panel-body {
      flex: 1;
      overflow-y: auto;
      padding: 32px;
    }
    .nav-panel-body a {
      display: block;
      padding: 16px 0;
      font-size: 20px;
      font-weight: 700;
      color: var(--green);
      border-bottom: 1px solid #e5e5e5;
      transition: opacity .15s;
    }
    .nav-panel-body a:last-child {
      border-bottom: none;
    }
    .nav-panel-body a:hover {
      opacity: .7;
    }

    /* Nav Panel Cart Button */
    .nav-panel-cart-btn {
      display: flex;
      align-items: center;
      gap: 12px;
      width: 100%;
      padding: 16px 0;
      font-size: 20px;
      font-weight: 700;
      font-family: var(--font);
      color: var(--green);
      background: none;
      border: none;
      border-bottom: 1px solid #e5e5e5;
      cursor: pointer;
      transition: opacity .15s;
    }
    .nav-panel-cart-btn:hover {
      opacity: .7;
    }
    .nav-panel-cart-btn svg {
      width: 22px;
      height: 22px;
      flex-shrink: 0;
    }
    .nav-cart-badge {
      background: var(--green);
      color: var(--white);
      font-size: 11px;
      font-weight: 700;
      min-width: 18px;
      height: 18px;
      border-radius: 9px;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 0 4px;
      line-height: 1;
      margin-left: auto;
    }
    .nav-cart-badge.visible {
      display: flex;
    }

    /* ============================================================
       BUTTONS (shared)
    ============================================================ */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      height: 68px;
      padding: 10px 29px;
      font-family: var(--font);
      font-size: 18px;
      font-weight: 700;
      letter-spacing: .01em;
      cursor: pointer;
      border: none;
      transition: all .2s;
    }

    .btn-primary {
      background: var(--green);
      color: var(--white);
    }
    .btn-primary:hover { background: #35902c; }

    .btn-outline {
      background: var(--white);
      border: 2px solid var(--green);
      color: var(--green);
    }
    .btn-outline:hover { background: var(--green-pale); }

    .btn-outline-active {
      background: var(--white);
      border: 2px solid var(--text-dark);
      color: var(--text-dark);
    }

    /* ============================================================
       SECTION: HERO
    ============================================================ */
    .section-hero {
      background: var(--green-light);
      position: relative;
    }

    .hero-layout {
      display: grid;
      grid-template-columns: 1fr 1fr;
      align-items: center;
      max-width: var(--max-w);
      margin: 0 auto;
      padding: 80px var(--pad-x) 60px;
      min-height: 720px;
      gap: 48px;
    }

    .hero-badge {
      display: inline-block;
      background: var(--white);
      font-size: 14px;
      font-weight: 400;
      letter-spacing: .02em;
      text-transform: uppercase;
      padding: 10px 16px;
      margin-bottom: 36px;
    }

    .hero-title {
      font-size: 36px;
      font-weight: 700;
      line-height: 1.25;
      color: var(--text-dark);
      margin-bottom: 24px;
      max-width: 461px;
    }

    .hero-text {
      font-size: 16px;
      line-height: 1.6;
      color: var(--text-dark);
      max-width: 469px;
      margin-bottom: 40px;
    }

    /* Product-Buttons Grid: 3 in a row + cart double-width */
    .hero-buttons-grid {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 12px;
    }

    .hero-buttons-grid .btn-product,
    .hero-buttons-grid .btn-cart {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 68px;
      padding: 10px 12px;
      font-family: var(--font);
      font-size: 14px;
      font-weight: 700;
      cursor: pointer;
      transition: all .2s;
      border: 2px solid var(--green);
      white-space: nowrap;
    }

    .btn-product {
      flex-direction: column;
      align-items: flex-start !important;
      justify-content: center !important;
      text-align: left;
      gap: 2px;
      background: var(--white);
      color: var(--green);
    }
    .btn-product:hover {
      background: var(--green-pale);
    }
    .btn-product.active {
      background: var(--green);
      border-color: var(--white);
      color: var(--white);
    }
    .btn-product.active:hover {
      background: #35902c;
    }
    .btn-product.active .product-price {
      color: rgba(255,255,255,.85);
    }

    .btn-product .product-name {
      font-size: 14px;
      font-weight: 700;
      line-height: 1.2;
    }

    .btn-product .product-price {
      font-size: 12px;
      font-weight: 400;
      line-height: 1.3;
    }
    .btn-product .product-price strong {
      font-weight: 700;
      font-size: 14px;
    }

    /* Cart Button â€“ spans 2 of 3 columns */
    .btn-cart {
      grid-column: span 2;
      background: var(--green);
      color: var(--white);
      border-color: var(--green) !important;
      gap: 10px;
      font-size: 16px;
      letter-spacing: .01em;
    }
    .btn-cart:hover {
      background: #35902c;
      border-color: #35902c !important;
    }

    /* Hero Image Swiper */
    .hero-image-wrap {
      position: relative;
      min-width: 0;
      overflow: hidden;
    }

    .hero-image-swiper .swiper-slide img {
      display: block;
      width: 100%;
      height: auto;
    }

    /* Swiper custom dots Hero */
    .swiper-hero-pagination {
      position: relative !important;
      bottom: auto !important;
      width: 100% !important;
      margin-top: 16px;
      text-align: center;
    }
    .swiper-hero-pagination .swiper-pagination-bullet {
      width: 12px; height: 12px;
      border-radius: 0;
      background: var(--white);
      opacity: .5;
      margin: 0 4px;
    }
    .swiper-hero-pagination .swiper-pagination-bullet-active {
      opacity: 1;
    }

    /* ============================================================
       SECTION: FEATURES (aligned with hero image column)
    ============================================================ */
    .section-features {
      background: var(--white);
      padding: 85px 0;
    }

    .features-inner {
      max-width: var(--max-w);
      margin: 0 auto;
      padding: 0 var(--pad-x);
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: start;
    }

    .features-inner > * { min-width: 0; }

    .features-heading {
      font-size: 36px;
      font-weight: 700;
      line-height: 1.25;
      margin-bottom: 24px;
      overflow-wrap: break-word;
      hyphens: auto;
    }

    .features-text {
      font-size: 16px;
      line-height: 1.6;
      color: var(--text-body);
      margin-bottom: 40px;
      overflow-wrap: break-word;
      hyphens: auto;
    }

    .features-cards {
      display: flex;
      flex-direction: column;
      gap: 12px;
      min-width: 0;
    }

    .feature-card {
      background: var(--green-pale);
      padding: 30px;
      display: flex;
      gap: 20px;
      align-items: flex-start;
    }

    .feature-card-icon {
      flex-shrink: 0;
      width: 49px;
      height: 49px;
    }
    .feature-card-icon img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

    .feature-card-body {
      min-width: 0;
      flex: 1 1 auto;
    }

    .feature-card-title {
      font-size: 24px;
      font-weight: 700;
      color: var(--text-dark);
      margin-bottom: 8px;
      line-height: 1.2;
      overflow-wrap: break-word;
      hyphens: auto;
    }

    .feature-card-text {
      font-size: 16px;
      line-height: 1.5;
      color: var(--text-card);
      overflow-wrap: break-word;
      hyphens: auto;
    }

    /* ============================================================
       SECTION: PREVIEW – Digibook/Leseprobe/Schulung (Swiper)
    ============================================================ */
    .section-preview {
      background: var(--gray-bg);
      padding: 48px 0;
      position: relative;
    }

    .preview-swiper-wrap {
      position: relative;
      max-width: var(--inner-w);
      margin: 0 auto;
      padding: 0 var(--pad-x);
    }

    .preview-slide-heading {
      font-size: 26px;
      font-weight: 700;
      text-align: center;
      margin-bottom: 10px;
    }

    .preview-slide-subtext {
      font-size: 15px;
      text-align: center;
      color: var(--text-dark);
      max-width: 560px;
      margin: 0 auto 24px;
      line-height: 1.6;
    }

    .preview-slide-subtext a {
      color: var(--green);
      font-weight: 700;
      text-decoration: underline;
    }

    .preview-slide-image {
      width: 100%;
      max-width: 640px;
      margin: 0 auto 24px;
    }

    .preview-slide-image img {
      width: 100%;
      height: auto;
      object-fit: contain;
    }

    .preview-buttons {
      display: flex;
      justify-content: center;
      gap: 20px;
      margin-top: 24px;
    }

    /* Swiper Nav Arrows */
    .swiper-btn-prev,
    .swiper-btn-next {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      z-index: 10;
      width: 48px; height: 48px;
      background: var(--white);
      box-shadow: 0 4px 6px rgba(0,0,0,.1), 0 10px 15px rgba(0,0,0,.1);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      border: none;
      transition: background .2s;
    }
    .swiper-btn-prev:hover,
    .swiper-btn-next:hover { background: var(--green-pale); }

    .swiper-btn-prev { left: 0; }
    .swiper-btn-next { right: 0; }


    .swiper-btn-prev svg,
    .swiper-btn-next svg { width: 24px; height: 24px; }

    /* Pagination dots */
    .swiper-preview-pagination,
    .swiper-authors-pagination {
      position: relative !important;
      bottom: auto !important;
      margin-top: 12px;
      text-align: center;
    }
    .swiper-preview-pagination .swiper-pagination-bullet,
    .swiper-authors-pagination .swiper-pagination-bullet {
      width: 12px; height: 12px;
      border-radius: 0;
      background: var(--green);
      opacity: .4;
      margin: 0 4px;
    }
    .swiper-preview-pagination .swiper-pagination-bullet-active,
    .swiper-authors-pagination .swiper-pagination-bullet-active {
      opacity: 1;
    }

    /* ============================================================
       SECTION: AUTOREN (Swiper)
    ============================================================ */
    .section-authors {
      background: var(--green-pale);
      padding: 80px 0;
      position: relative;
    }

    .authors-swiper-wrap {
      position: relative;
      max-width: var(--inner-w);
      margin: 0 auto;
      padding: 0 var(--pad-x);
    }

    .authors-heading-block {
      text-align: center;
      margin-bottom: 60px;
    }

    .authors-heading-block h2 {
      font-size: 36px;
      font-weight: 700;
      margin-bottom: 16px;
    }

    .authors-heading-block p {
      font-size: 16px;
      line-height: 1.6;
      max-width: 634px;
      margin: 0 auto;
    }

    .author-slide {
      display: grid;
      grid-template-columns: 1fr 221px;
      gap: 40px;
      align-items: start;
      max-width: 864px;
      margin: 0 auto;
    }

    .author-name {
      font-size: 24px;
      font-weight: 700;
      margin-bottom: 20px;
    }

    .author-bio {
      font-size: 16px;
      line-height: 1.6;
      color: var(--text-body);
    }

    .author-photo {
      width: 221px;
      height: 275px;
      overflow: hidden;
      flex-shrink: 0;
    }

    .author-photo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    /* ============================================================
       SECTION: LOGOS
    ============================================================ */
    .section-logos {
      background: var(--white);
      padding: 80px 0;
      border-top: 1px solid #e5e5e5;
      overflow: hidden;
    }

    .logos-marquee {
      display: flex;
      width: max-content;
      animation: marquee-scroll 30s linear infinite;
    }

    .logos-marquee-group {
      display: flex;
      align-items: center;
      gap: 64px;
      padding: 0 32px;
      flex-shrink: 0;
    }

    .logos-marquee-group img {
      height: 48px;
      width: auto;
      object-fit: contain;
      flex-shrink: 0;
    }

    @keyframes marquee-scroll {
      0%   { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }

    .section-logos:hover .logos-marquee {
      animation-play-state: paused;
    }

    /* ============================================================
       FOOTER
    ============================================================ */
    .site-footer {
      background: var(--gray-bg);
      padding: 60px var(--pad-x) 30px;
    }

    .footer-inner {
      max-width: var(--inner-w);
      margin: 0 auto;
      display: grid;
      grid-template-columns: 161px 1fr 1fr 1fr;
      gap: 60px;
      margin-bottom: 40px;
    }

    .footer-logo img {
      height: 87px;
      width: auto;
    }

    .footer-col h3 {
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 16px;
    }

    .footer-col ul { list-style: none; }
    .footer-col ul li { margin-bottom: 8px; }
    .footer-col ul li a {
      font-size: 16px;
      font-weight: 700;
      color: var(--green);
    }
    .footer-col ul li a:hover { text-decoration: underline; }

    .footer-contact-item {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 8px;
      font-size: 16px;
      font-weight: 700;
    }
    .footer-contact-item svg { width: 16px; height: 16px; flex-shrink: 0; }

    .footer-address-line {
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 8px;
    }

    .footer-bottom {
      max-width: var(--inner-w);
      margin: 0 auto;
      padding-top: 20px;
      border-top: 1px solid #ddd;
      font-size: 14px;
      font-weight: 700;
      color: var(--text-dark);
    }

    /* ============================================================
       CART SLIDE-IN PANEL
    ============================================================ */
    .cart-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,.4);
      z-index: 200;
      opacity: 0;
      visibility: hidden;
      transition: opacity .3s, visibility .3s;
    }
    .cart-overlay.open {
      opacity: 1;
      visibility: visible;
    }

    .cart-panel {
      position: fixed;
      top: 0;
      right: 0;
      bottom: 0;
      width: 480px;
      max-width: 92vw;
      background: #f4f4f4;
      z-index: 201;
      transform: translateX(100%);
      transition: transform .35s ease;
      display: flex;
      flex-direction: column;
      box-shadow: -4px 0 24px rgba(0,0,0,.12);
    }
    .cart-panel.open {
      transform: translateX(0);
    }

    /* Cart Header */
    .cart-panel-header {
      padding: 28px 32px 0;
      flex-shrink: 0;
    }
    .cart-close {
      float: right;
      background: none;
      border: none;
      cursor: pointer;
      padding: 4px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .cart-close svg {
      width: 28px;
      height: 28px;
      stroke: var(--green);
    }
    .cart-close:hover { opacity: .7; }
    .cart-panel-header h3 {
      font-size: 28px;
      font-weight: 700;
      padding-top: 12px;
      clear: both;
    }

    /* Cart Body (scrollable) */
    .cart-panel-body {
      flex: 1;
      overflow-y: auto;
      padding: 24px 32px;
    }

    .cart-empty {
      color: #888;
      font-size: 15px;
      text-align: center;
      padding: 40px 0;
    }

    /* Cart Item Card */
    .cart-item {
      background: var(--white);
      padding: 24px;
      margin-bottom: 16px;
      display: flex;
      gap: 16px;
    }

    .cart-item-image {
      width: 110px;
      flex-shrink: 0;
    }
    .cart-item-image img {
      width: 100%;
      height: auto;
      object-fit: contain;
    }

    .cart-item-details {
      flex: 1;
      min-width: 0;
    }

    .cart-item-badge {
      display: inline-block;
      background: var(--green);
      color: var(--white);
      font-size: 10px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .04em;
      padding: 5px 12px;
      margin-bottom: 10px;
    }

    .cart-item-title {
      font-size: 15px;
      font-weight: 700;
      line-height: 1.35;
      margin-bottom: 6px;
      color: var(--text-dark);
    }
    .cart-item-product {
      color: var(--green);
    }

    .cart-item-variant {
      font-size: 14px;
      font-weight: 700;
      color: var(--text-dark);
      margin-bottom: 2px;
    }

    .cart-item-delivery {
      font-size: 14px;
      color: #666;
      margin-bottom: 14px;
    }

    /* Quantity controls */
    .cart-qty {
      display: inline-flex;
      align-items: center;
      margin-bottom: 10px;
    }
    .cart-qty button,
    .cart-qty .cart-qty-val {
      width: 48px;
      height: 42px;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 1.5px solid var(--green);
      background: var(--white);
      font-family: var(--font);
      font-size: 16px;
      font-weight: 700;
      color: var(--green);
      cursor: pointer;
      transition: background .15s;
    }
    .cart-qty .cart-qty-val {
      width: 56px;
      cursor: default;
      color: var(--text-dark);
      border-left: none;
      border-right: none;
    }
    .cart-qty button:hover {
      background: var(--green-pale);
    }

    /* Remove link */
    .cart-item-remove-link {
      display: inline-block;
      color: var(--green);
      font-size: 14px;
      font-weight: 400;
      background: none;
      border: none;
      cursor: pointer;
      padding: 0;
      text-decoration: underline;
      margin-bottom: 14px;
    }
    .cart-item-remove-link:hover { opacity: .7; }

    /* Prices per item */
    .cart-item-line-price {
      font-size: 22px;
      font-weight: 700;
      color: var(--text-dark);
      line-height: 1.2;
    }
    .cart-item-line-price .tax-label {
      font-size: 14px;
      font-weight: 400;
      color: #666;
      margin-left: 8px;
    }
    .cart-item-unit-price {
      font-size: 13px;
      color: #888;
      margin-top: 2px;
    }

    /* Summary Section (inside body) */
    .cart-summary {
      padding-top: 8px;
    }
    .cart-divider {
      border: none;
      border-top: 1px solid #ddd;
      margin: 16px 0;
    }
    .cart-summary-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 6px 0;
      font-size: 15px;
      color: var(--text-dark);
    }
    .cart-total-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 6px 0;
    }
    .cart-total-row .cart-total-label {
      font-size: 16px;
      font-weight: 700;
      color: var(--text-dark);
    }
    .cart-total-row .cart-total-label span {
      font-weight: 400;
      font-size: 14px;
    }
    .cart-total-row .cart-total-amount {
      font-size: 18px;
      font-weight: 700;
      color: var(--text-dark);
    }
    .cart-vat-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 4px 0;
      font-size: 13px;
      color: #666;
    }

    /* Cart Footer (fixed buttons) */
    .cart-panel-footer {
      padding: 20px 32px 28px;
      flex-shrink: 0;
    }

    .btn-cart-outline {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 56px;
      background: var(--white);
      color: var(--green);
      font-family: var(--font);
      font-size: 18px;
      font-weight: 700;
      border: 2px solid var(--green);
      cursor: pointer;
      transition: background .2s;
      margin-bottom: 12px;
    }
    .btn-cart-outline:hover { background: var(--green-pale); }

    .btn-cart-filled {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 56px;
      background: var(--green);
      color: var(--white);
      font-family: var(--font);
      font-size: 18px;
      font-weight: 700;
      border: none;
      cursor: pointer;
      transition: background .2s;
    }
    .btn-cart-filled:hover { background: #35902c; }

    /* ============================================================
       SWIPER OVERRIDES
    ============================================================ */
    .swiper { overflow: hidden; }

    /* ============================================================
       SECTION: FAQ
    ============================================================ */
    .section-faq {
		/*
      background: var(--gray-bg);
	  */
      padding: 80px 0;
      border-top: 1px solid #e5e5e5;
    }
    .faq-inner {
      max-width: var(--max-w);
      margin: 0 auto;
      padding: 0 var(--pad-x);
    }
    .faq-back-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 14px;
      font-weight: 500;
      color: #555;
      text-decoration: none;
      margin-bottom: 32px;
      transition: color 0.2s;
    }
    .faq-back-link:hover {
      color: var(--green);
    }
    .faq-header {
      text-align: left;
      margin-bottom: 48px;
    }
    .faq-title {
      font-size: 40px;
      font-weight: 700;
      margin-bottom: 12px;
    }
    .faq-subtitle {
      font-size: 18px;
      color: #555;
      max-width: 640px;
      margin: 0;
      line-height: 1.6;
    }
    .faq-categories {
      display: flex;
      flex-direction: column;
      gap: 48px;
    }
    .faq-category-title {
      font-size: 14px;
      font-weight: 700;
      color: var(--green);
      text-transform: uppercase;
      letter-spacing: .08em;
      margin-bottom: 16px;
    }
    .faq-list {
      display: flex;
      flex-direction: column;
    }
    .faq-item {
      border-bottom: 1px solid #ddd;
    }
    .faq-item:first-child {
      border-top: 1px solid #ddd;
    }
    .faq-question {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      padding: 20px 0;
      background: none;
      border: none;
      cursor: pointer;
      text-align: left;
      font-family: var(--font);
      font-size: 17px;
      font-weight: 700;
      color: var(--text-dark);
      gap: 16px;
      transition: color .2s;
    }
    .faq-question:hover { color: var(--green); }
    .faq-item.open .faq-question { color: var(--green); }

    .faq-icon {
      flex-shrink: 0;
      width: 24px;
      height: 24px;
      position: relative;
      color: var(--green);
    }
    .faq-icon::before,
    .faq-icon::after {
      content: '';
      position: absolute;
      background: currentColor;
      border-radius: 1px;
      transition: transform .25s ease, opacity .25s ease;
    }
    .faq-icon::before { width: 2px; height: 14px; top: 5px; left: 11px; }
    .faq-icon::after  { width: 14px; height: 2px; top: 11px; left: 5px; }
    .faq-item.open .faq-icon::before {
      transform: rotate(90deg);
      opacity: 0;
    }

    .faq-answer {
      overflow: hidden;
      max-height: 0;
      transition: max-height .3s ease;
    }
    .faq-answer-inner {
      padding: 0 0 20px;
      font-size: 15px;
      line-height: 1.7;
      color: #444;
      max-width: 860px;
    }
    .faq-item.open .faq-answer {
      max-height: 600px;
    }

    /* FAQ als eigenständige Seite: mehr Abstand oben */
    .section-faq.faq-page {
      border-top: none;
      padding-top: 64px;
    }

    .faq-cta {
      margin-top: 64px;
      padding-top: 48px;
      border-top: 1px solid #ddd;
      display: flex;
      align-items: center;
      gap: 24px;
    }
    .faq-cta p {
      font-size: 18px;
      font-weight: 700;
      color: var(--text-dark);
      margin: 0;
    }

    /* FAQ-Seite: Footer weiß */
	/*
    body.page-faq .site-footer {
      background: var(--white);
      border-top: 1px solid #e5e5e5;
    }
	*/

    /* FAQ zurück zur Startseite – Banner */
    .faq-home-banner {
      background: var(--green);
      padding: 56px 0;
    }
    .faq-home-banner-inner {
      max-width: var(--max-w);
      margin: 0 auto;
      padding: 0 var(--pad-x);
      display: flex;
      align-items: center;
      gap: 32px;
    }
    .faq-home-banner-icon {
      flex-shrink: 0;
      width: 56px;
      height: 56px;
      background: rgba(255,255,255,.18);
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      text-decoration: none;
      transition: background .2s, transform .2s;
    }
    .faq-home-banner-icon:hover {
      background: rgba(255,255,255,.30);
      transform: scale(1.07);
    }
    .faq-home-banner-icon svg {
      width: 28px;
      height: 28px;
    }
    .faq-home-banner-text {
      flex: 1;
    }
    .faq-home-banner-text h2 {
      font-size: 22px;
      font-weight: 700;
      color: #fff;
      margin: 0 0 6px;
    }
    .faq-home-banner-text p {
      font-size: 15px;
      color: rgba(255,255,255,.75);
      margin: 0;
    }
    .faq-home-banner-btn {
      flex-shrink: 0;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: #fff;
      color: var(--green);
      font-size: 15px;
      font-weight: 700;
      text-decoration: none;
      padding: 14px 28px;
      border-radius: 8px;
      transition: background .2s, gap .2s;
      white-space: nowrap;
    }
    .faq-home-banner-btn:hover {
      background: var(--green-pale);
      gap: 14px;
    }
    @media (max-width: 680px) {
      .faq-home-banner-inner {
        flex-direction: column;
        text-align: center;
      }
      .faq-home-banner-icon { display: none; }
      .faq-home-banner-btn { width: 100%; justify-content: center; }
    }

    /* ============================================================
       KONTAKT
    ============================================================ */
    .section-kontakt {
      background: #fff;
      padding: 80px 0;
      border-top: 1px solid #e5e5e5;
    }
    .kontakt-inner {
      max-width: var(--max-w);
      margin: 0 auto;
      padding: 0 var(--pad-x);
    }
    .kontakt-header {
      text-align: left;
      margin-bottom: 48px;
    }
    .kontakt-title {
      font-size: 40px;
      font-weight: 700;
      margin-bottom: 12px;
    }
    .kontakt-subtitle {
      font-size: 18px;
      color: #555;
      max-width: 640px;
      margin: 0;
      line-height: 1.6;
    }
    .kontakt-grid {
      display: grid;
      grid-template-columns: 1fr 360px;
      gap: 72px;
      align-items: start;
    }

    /* ---- Formular ---- */
    .kontakt-form {
      display: flex;
      flex-direction: column;
      gap: 0;
    }
    .kontakt-form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
    }
    .kontakt-form .k-field {
      display: flex;
      flex-direction: column;
      margin-bottom: 20px;
    }
    .kontakt-form .k-label {
      font-size: 13px;
      font-weight: 700;
      color: #0a0a0a;
      margin-bottom: 7px;
      letter-spacing: .01em;
    }
    .kontakt-form .k-input {
      height: 48px;
      padding: 0 14px;
      border: 1.5px solid #d4d4d4;
      font-family: var(--font);
      font-size: 15px;
      color: #0a0a0a;
      background: #fff;
      outline: none;
      transition: border-color .2s, box-shadow .2s;
      border-radius: 0;
      -webkit-appearance: none;
      width: 100%;
      box-sizing: border-box;
    }
    .kontakt-form .k-input:focus {
      border-color: var(--green);
      box-shadow: 0 0 0 3px rgba(63,165,53,.12);
    }
    .kontakt-form .k-input.error {
      border-color: #d93025;
    }
    .kontakt-form .k-textarea {
      height: auto;
      padding: 12px 14px;
      resize: vertical;
      min-height: 150px;
    }
    .k-error-msg {
      font-size: 12px;
      color: #d93025;
      margin-top: 4px;
    }
    .kontakt-submit {
      align-self: flex-start;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 14px 32px;
      font-size: 16px;
      margin-top: 4px;
    }
    .kontakt-success {
      color: var(--green);
      font-weight: 600;
      font-size: 15px;
      margin-top: 16px;
      padding: 16px 20px;
      background: #f0faf0;
      border-left: 4px solid var(--green);
    }

    /* ---- Info-Spalte ---- */
    .kontakt-info-col {
      padding-top: 4px;
    }
    .kontakt-info-block {
      margin-bottom: 36px;
    }
    .kontakt-info-title {
      font-size: 17px;
      font-weight: 700;
      margin-bottom: 20px;
      padding-bottom: 12px;
      border-bottom: 2px solid var(--green);
      display: inline-block;
    }
    .kontakt-info-item {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      margin-bottom: 14px;
      font-size: 15px;
      color: #333;
      line-height: 1.5;
    }
    .kontakt-info-item svg {
      flex-shrink: 0;
      margin-top: 2px;
      color: var(--green);
    }
    .kontakt-info-item a {
      color: #333;
      text-decoration: none;
    }
    .kontakt-info-item a:hover { color: var(--green); }

    /* ---- Social ---- */
    .kontakt-social-title {
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .1em;
      color: #999;
      margin-bottom: 14px;
    }
    .kontakt-social-links {
      display: flex;
      gap: 10px;
      margin-bottom: 32px;
    }
    .kontakt-social-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 42px;
      height: 42px;
      border-radius: 50%;
      background: #f0f0f0;
      color: #333;
      transition: background .2s, color .2s;
      text-decoration: none;
    }
    .kontakt-social-btn:hover { background: var(--green); color: #fff; }

    /* ---- Maps-Button ---- */
    .kontakt-maps-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 14px;
      font-weight: 600;
      color: var(--green);
      text-decoration: none;
      border: 1.5px solid var(--green);
      border-radius: 6px;
      padding: 10px 20px;
      transition: background .2s, color .2s;
    }
    .kontakt-maps-btn:hover { background: var(--green); color: #fff; }

    /* ============================================================
       RESPONSIVE
    ============================================================ */
    @media (max-width: 1024px) {
      :root { --pad-x: 40px; }

      html { scroll-padding-top: 80px; }
      .site-header { height: 80px; }
      .header-spacer { height: 80px; }
      .header-logo img { height: 48px; }
      .header-nav { gap: 20px; }
      .header-nav .nav-link { font-size: 16px; }

      /* Always show hamburger on tablet */
      .header-nav-links { display: none; }
      .btn-login { display: none; }
      .header-cart { display: none; }
      .hamburger-btn { display: flex !important; position: static !important; transform: none !important; }

      .site-header.scrolled { height: 80px; }
      .site-header.scrolled .header-logo img { height: 48px; max-height: 48px; }

      .hero-layout {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 60px var(--pad-x);
      }
      .hero-title { max-width: 100%; }
      .hero-image-wrap { display: none; }

      .hero-buttons-grid { grid-template-columns: 1fr 1fr 1fr; }

      .features-inner { grid-template-columns: 1fr; }
      .author-slide { grid-template-columns: 1fr; }
      .author-photo { display: none; }
      .footer-inner { grid-template-columns: 1fr 1fr; }
    }

    @media (max-width: 980px) {
      .author-slide { padding: 0 20px; }
    }

    @media (max-width: 900px) {
      .kontakt-grid { grid-template-columns: 1fr; gap: 48px; }
    }

    @media (max-width: 600px) {
      :root { --pad-x: 20px; }

      .hero-buttons-grid { grid-template-columns: 1fr; }
      .hero-buttons-grid .btn-cart { grid-column: span 1; }
      .hero-title { font-size: 28px; }

      .features-heading { font-size: 26px; }
      .feature-card { padding: 20px; gap: 14px; }
      .feature-card-title { font-size: 20px; }

      .header-nav { gap: 12px; }

      .preview-buttons { flex-direction: column; align-items: center; }
      .footer-inner { grid-template-columns: 1fr; gap: 40px; }

      .cart-panel { width: 100%; max-width: 100%; }
      .nav-panel { width: 100%; max-width: 100%; }
      .cart-item { padding: 16px; gap: 12px; }
      .cart-item-image { width: 80px; }
      .cart-item-badge { font-size: 9px; padding: 4px 8px; }
      .cart-item-title { font-size: 14px; }

      .kontakt-form-row { grid-template-columns: 1fr; }
      .kontakt-title { font-size: 28px; }
	  .author-slide { padding: 0 50px; }
    }

    /* ============================================================
       UTILITY CLASSES (formerly inline styles)
    ============================================================ */
    .btn-cart-icon {
      width: 17px;
      height: 17px;
      filter: brightness(0) invert(1);
    }
    .cart-panel-footer {
      display: none;
    }

    /* ============================================================
       HINT TOAST (friendly product selection reminder)
    ============================================================ */
    .hint-toast-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,.35);
      z-index: 300;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      visibility: hidden;
      transition: opacity .25s, visibility .25s;
    }
    .hint-toast-overlay.visible {
      opacity: 1;
      visibility: visible;
    }
    .hint-toast {
      background: var(--white);
      border-radius: 16px;
      padding: 40px 36px 32px;
      max-width: 420px;
      width: 90vw;
      text-align: center;
      box-shadow: 0 12px 40px rgba(0,0,0,.15);
      transform: translateY(20px) scale(.96);
      transition: transform .3s ease;
    }
    .hint-toast-overlay.visible .hint-toast {
      transform: translateY(0) scale(1);
    }
    .hint-toast h4 {
      font-size: 20px;
      font-weight: 700;
      color: var(--text-dark);
      margin-bottom: 10px;
    }
    .hint-toast p {
      font-size: 15px;
      line-height: 1.6;
      color: #555;
      margin-bottom: 24px;
    }
    .hint-toast-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      height: 48px;
      padding: 0 32px;
      background: var(--green);
      color: var(--white);
      font-family: var(--font);
      font-size: 16px;
      font-weight: 700;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      transition: background .2s;
    }
    .hint-toast-btn:hover {
      background: #35902c;
    }


/* Inhalt zentrieren */
dialog > div {
  display: flex;
  flex-direction: column;
  padding: 24px;
  height: 100%;
  justify-content: center;
  text-align: left;
  font-size: 15px;
}

/* Dialog-Button **/
dialog button {
	background-color: var(--green);
	color: white;
	cursor: pointer;
	height: 56px;
  padding: 0 32px;
  font-size: 17px;
  font-weight: bold;
  width: fit-content;
  margin: 0 auto;
}

dialog button:hover {
	background-color: #35902c;
}

/* Leichter Hintergrund-Overlay (optional) */
dialog::backdrop {
  background: rgba(0,0,0,0.1);
}

/* Responsive: Kleiner auf Mobile */
@media (max-width: 480px) {
  dialog {
    width: 95vw;
    margin: 20px auto;
  }
}

body.lightbox-open {
	overflow-y: hidden;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
}

.lightbox-content {
    position: relative;
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 600px;
    max-height: 80%;
    overflow-y: auto;
    border-radius: 0;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
}

.close:hover {
    color: black;
}

.lightbox-text {
    margin-top: 40px;
    line-height: 1.6;
}

.lightbox-content video {
    width: 100%;
    height: auto;
    max-height: 70vh;
}

.impressum-container > p, .impressum-container > h2 {
	margin-bottom: 1em;
}
.impressum-container > p {
	line-height: 1.5em;
	font-size: 15px;
  line-height: 1.7;
  color: #444;
  max-width: 860px;
}

.impressum-container a {
	color: var(--green);
}

#preview-btn-outline[data-product="schulung"] {
	display: none;
}
