/*
Theme Name: meig
Theme URI: https://example.com
Author: Mike Schuffert
Author URI: https://www.meig.de
Description: Ein modernes WordPress-Template im Meta-Design-Stil mit Dark-/Light-Mode, Video-Hintergrund, Slider, SVG-Logo und Meta-Blau als Akzentfarbe. Enthält Seitenvorlagen für Video-Seiten, Bild-Seiten und Slider-Layouts.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: meig
*/

/* -----------------------------------------------------------
   0. Font Import: Blogger Sans (Google Fonts)
----------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Blogger+Sans:wght@400;500;600;700&display=swap');

/* -----------------------------------------------------------
   1. Design tokens — Meta-inspired
----------------------------------------------------------- */
:root{
  --bg: #ffffff;
  --bg-rgb: 255,255,255;
  --bg-elevated: #f0f2f5;
  --bg-elevated-2: #e4e6eb;
  --line: #ddd;
  --text: #000;
  --text-muted: #65676b;
  --accent: #0A66C2;
  --accent-rgb: 10,102,194;
  --accent-hover: #0952a8;
  --focus: #0A66C2;

  --font-display: "Blogger Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-body: "Blogger Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --container: 1440px;
  --header-h: 60px;
  --radius: 8px;
  --ease: cubic-bezier(.22,.61,.36,1);

  color-scheme: light;
}

/* Dark mode — activated by JS via <html data-theme="dark"> */
:root[data-theme="dark"]{
  --bg: #0a0a0a;
  --bg-rgb: 10,10,10;
  --bg-elevated: #1a1a1a;
  --bg-elevated-2: #2a2a2a;
  --line: #3a3a3a;
  --text: #ffffff;
  --text-muted: #b0b0b0;
  --accent: #0A66C2;
  --accent-rgb: 10,102,194;
  --accent-hover: #0952a8;
  --focus: #0A66C2;

  color-scheme: dark;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
button{ font-family: inherit; cursor: pointer; border: none; background: none; }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* -----------------------------------------------------------
   2. Site header / navigation — Meta-inspired
----------------------------------------------------------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: border-color .2s, background-color .2s;
}

.site-header.is-scrolled{
  border-bottom-color: var(--line);
}

.site-header__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.site-logo{
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.site-logo svg{
  width: 100%;
  height: 100%;
}

/* Primary desktop menu — Meta-inspired --------------------------------- */
.primary-nav{
  flex: 1;
  display: flex;
  justify-content: flex-start;
}
.primary-nav > ul{
  display: flex;
  align-items: center;
  gap: 0;
}
.primary-nav > ul > li{
  position: relative;
}
.primary-nav a{
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color .2s var(--ease);
}
.primary-nav > ul > li > a:hover,
.primary-nav > ul > li.current-menu-item > a{
  color: var(--text);
}

/* caret for items that have a submenu */
.menu-item-has-children > a::after{
  content: "";
  width: 5px;
  height: 5px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  transition: transform .25s var(--ease);
}
.menu-item-has-children.is-open > a::after{
  transform: rotate(225deg);
}

/* Dropdown submenu — with blur backdrop -------------------------------- */
.sub-menu{
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  padding: 8px 0;
  background: rgba(var(--bg-rgb), 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.menu-item-has-children:hover > .sub-menu,
.menu-item-has-children:focus-within > .sub-menu{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.sub-menu a{
  display: block;
  padding: 10px 16px;
  color: var(--text);
  transition: background .2s var(--ease);
}
.sub-menu a:hover{ background: var(--bg-elevated); }

/* Header actions: Suche, Theme-Toggle, Hamburger — keine Rahmen */
.site-header__actions{
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.search-toggle,
.theme-toggle,
.menu-toggle{
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text);
  transition: background .2s var(--ease);
}
.search-toggle:hover,
.theme-toggle:hover,
.menu-toggle:hover{
  background: var(--bg-elevated);
}

.search-toggle .ph,
.theme-toggle .ph,
.menu-toggle svg{
  font-size: 1.25rem;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.btn-ghost{ color: var(--text); }
.btn-ghost:hover{ background: var(--bg-elevated); }
.btn-solid{ background: var(--accent); color: #fff; }
.btn-solid:hover{ background: var(--accent-hover); }

/* Hamburger toggle — animated 3-bar icon (mobile only) */
.menu-toggle{
  display: none;
}
.menu-toggle svg{
  width: 24px;
  height: 24px;
  overflow: visible;
}
.menu-toggle line{
  stroke: var(--text);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform-origin: 12px 12px;
  transition: all .35s var(--ease);
}
.menu-toggle line:first-child{
  transform-origin: 12px 6px;
}
.menu-toggle line:last-child{
  transform-origin: 12px 18px;
}

/* Animated to X when open */
.menu-toggle[aria-expanded="true"] line:first-child{
  transform: translateY(6px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] line:nth-child(2){
  opacity: 0;
  transform: translateX(-8px);
}
.menu-toggle[aria-expanded="true"] line:last-child{
  transform: translateY(-6px) rotate(-45deg);
}

/* Dark/light toggle — simple sun/moon icons */
.theme-toggle{
  position: relative;
}
.theme-toggle__icon{
  position: absolute;
  font-size: 1.2rem;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.theme-toggle__icon--light{ 
  opacity: 1;
  transform: rotate(0deg) scale(1);
}
.theme-toggle__icon--dark{ 
  opacity: 0;
  transform: rotate(-45deg) scale(.6);
}

:root[data-theme="dark"] .theme-toggle__icon--light{ 
  opacity: 0;
  transform: rotate(45deg) scale(.6);
}
:root[data-theme="dark"] .theme-toggle__icon--dark{ 
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* Search toggle */
.search-toggle .ph{
  font-size: 1.2rem;
}

/* Search panel — drops down from top, appears BELOW header */
.search-panel{
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(var(--bg-rgb), 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  transform: translateY(-110%);
  transition: transform .3s var(--ease);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.search-panel.is-open{
  transform: translateY(0);
}
.search-panel__content{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.search-panel__close{
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
  border-radius: 50%;
  transition: background .2s var(--ease);
}
.search-panel__close:hover{
  background: var(--bg-elevated);
}
.search-panel__form{
  flex: 1;
  display: flex;
  align-items: center;
}
.search-panel__input{
  width: 100%;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  -webkit-appearance: none;
}
.search-panel__input:focus{
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.12);
}
.search-panel__input::placeholder{
  color: var(--text-muted);
}

/* Mobile off-canvas panel */
.mobile-nav{
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: rgba(var(--bg-rgb), 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 20px 0 40px;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform .3s var(--ease);
  z-index: 90;
}
.mobile-nav.is-open{
  transform: translateX(0);
}
.mobile-nav ul{ display: flex; flex-direction: column; }
.mobile-nav > ul > li{ border-bottom: 1px solid var(--line); }
.mobile-nav a{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  font-size: 0.95rem;
}
.mobile-nav .sub-menu{
  position: static;
  transform: none;
  opacity: 1;
  visibility: visible;
  box-shadow: none;
  border: none;
  background: var(--bg-elevated);
  padding: 0;
  display: none;
  backdrop-filter: none;
}
.mobile-nav .menu-item-has-children.is-open > .sub-menu{ display: block; }
.mobile-nav .sub-menu a{ padding: 10px 20px 10px 40px; }
.mobile-nav__theme{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.mobile-nav__actions{ margin-top: 20px; display: flex; flex-direction: column; gap: 8px; padding: 0 20px; }
.mobile-nav__actions .btn{ width: 100%; padding: 12px; }

body.nav-open{ overflow: hidden; }

@media (max-width: 900px){
  .primary-nav{ display: none; }
  .menu-toggle{ display: flex; }
  .site-header__actions{ gap: 12px; }
}

/* -----------------------------------------------------------
   2. Hero / text-block layouts
----------------------------------------------------------- */
.hero{
  padding: 120px 0 90px;
  text-align: center;
}
.hero__eyebrow{
  display: inline-block;
  margin-bottom: 18px;
  font-size: .85rem;
  color: var(--text-muted);
}
.hero h1{
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
}
.hero h1 em{
  font-style: normal;
  color: var(--accent);
}
.hero p.lede{
  max-width: 640px;
  margin: 0 auto 34px;
  color: var(--text-muted);
  font-size: 1.15rem;
}
.hero__actions{
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__actions .btn{ padding: 14px 30px; font-size: 1rem; }

/* Generic text-block section, used by page.php / index.php content */
.text-block{
  padding: 80px 0;
  border-top: 1px solid var(--line);
}
.text-block__head{
  max-width: 620px;
  margin: 0 auto 48px;
  text-align: center;
}
.text-block__head h2{
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}
.text-block__head p{ color: var(--text-muted); margin: 0; }

.feature-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card{
  padding: 28px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.feature-card h3{
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 10px;
}
.feature-card p{ margin: 0; color: var(--text-muted); font-size: .95rem; }

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

/* FAQ accordion (plain content block, no JS required — <details>) */
.faq-list{ max-width: 760px; margin: 0 auto; }
.faq-item{
  border-bottom: 1px solid var(--line);
}
.faq-item summary{
  cursor: pointer;
  list-style: none;
  padding: 20px 4px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary::after{
  content: "+";
  font-size: 1.4rem;
  color: var(--text-muted);
  transition: transform .2s var(--ease);
}
.faq-item[open] summary::after{ content: "–"; }
.faq-item p{ margin: 0 0 20px; color: var(--text-muted); }

/* -----------------------------------------------------------
   3. Blog / archive / single
----------------------------------------------------------- */
.post-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  padding: 60px 0;
}
.post-card{ 
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elevated);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.post-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.1);
}
.post-card__thumb{ 
  aspect-ratio: 16/9;
  overflow: hidden;
  width: 100%;
}
.post-card__thumb img{ 
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.post-card__body{ padding: 22px; }
.post-card__meta{ font-size: .8rem; color: var(--text-muted); margin-bottom: 10px; }
.post-card h2{ font-family: var(--font-display); font-size: 1.25rem; margin: 0 0 10px; }
.post-card p{ color: var(--text-muted); margin: 0; }

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

.single-article{
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 0 100px;
}
.single-article__meta{
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 0.9rem;
}
.single-article h1{
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 28px;
  line-height: 1.2;
}
.single-article__thumbnail{
  margin-bottom: 36px;
  border-radius: var(--radius);
  overflow: hidden;
}
.single-article__thumbnail img{
  width: 100%;
  height: auto;
  display: block;
}
.single-article .content p{
  margin: 0 0 20px;
  color: var(--text);
  line-height: 1.7;
}
.single-article .content h2,
.single-article .content h3,
.single-article .content h4{
  font-family: var(--font-display);
  margin: 32px 0 16px;
}
.single-article .content img{
  border-radius: var(--radius);
  max-width: 100%;
  height: auto;
}
.single-article .content ul,
.single-article .content ol{
  padding-left: 24px;
  margin-bottom: 20px;
}
.single-article .content li{
  margin-bottom: 8px;
}

.pagination{ display: flex; justify-content: center; gap: 10px; padding: 20px 0 80px; }
.pagination a, .pagination span{
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text-muted);
}
.pagination .current{ color: var(--text); border-color: var(--accent); }

/* -----------------------------------------------------------
   4. Footer
----------------------------------------------------------- */
.site-footer{
  border-top: 1px solid var(--line);
  padding: 60px 0 40px;
  color: var(--text-muted);
  font-size: .9rem;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}
.footer-grid h4{ color: var(--text); font-size: .85rem; margin: 0 0 14px; }
.footer-grid li{ margin-bottom: 10px; }
.footer-grid a:hover{ color: var(--text); }
.footer-bottom{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

@media (max-width: 860px){
  .footer-grid{ grid-template-columns: repeat(2, 1fr); }
}

/* -----------------------------------------------------------
   13. Gutenberg Farbpalette — Hintergrund- und Textfarben
       Diese Klassen werden von WordPress automatisch auf Blöcke
       gesetzt, wenn der Nutzer im Editor eine Farbe aus der
       Theme-Palette wählt.
----------------------------------------------------------- */

/* Hintergrundfarben */
.has-meig-blue-background-color{
  background-color: #0A66C2 !important;
  color: #fff !important;
}
.has-meig-grey-background-color{
  background-color: #f0f2f5 !important;
}
.has-meig-grey-dark-background-color{
  background-color: #65676b !important;
  color: #fff !important;
}
.has-meig-white-background-color{
  background-color: #ffffff !important;
  color: #000 !important;
}
.has-meig-black-background-color{
  background-color: #000000 !important;
  color: #fff !important;
}

/* Textfarben */
.has-meig-blue-color      { color: #0A66C2 !important; }
.has-meig-grey-color      { color: #f0f2f5 !important; }
.has-meig-grey-dark-color { color: #65676b !important; }
.has-meig-white-color     { color: #ffffff !important; }
.has-meig-black-color     { color: #000000 !important; }

/* Content-Hintergrund-Blöcke (Group / Cover / Column):
   Padding damit der farbige Hintergrund atmungsaktiv wirkt —
   identisch mit dem "Kasten"-Prinzip aus dem Apple-Screenshot */
.wp-block-group[class*="has-"][class*="-background-color"],
.wp-block-cover[class*="has-"][class*="-background-color"]{
  padding: 48px !important;
  border-radius: 12px;
}
@media (max-width: 768px){
  .wp-block-group[class*="has-"][class*="-background-color"],
  .wp-block-cover[class*="has-"][class*="-background-color"]{
    padding: 28px !important;
  }
}
--------------------------------------------------- */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="password"],
select,
textarea{
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-elevated);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="tel"]::placeholder,
input[type="number"]::placeholder,
input[type="password"]::placeholder,
textarea::placeholder{
  color: var(--text-muted);
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus{
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.1);
}
input[type="date"]::-webkit-calendar-picker-indicator{
  cursor: pointer;
  color: var(--text-muted);
  opacity: 0.6;
}
select{
  cursor: pointer;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23" + var(--text-muted) + "' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
textarea{
  resize: vertical;
  min-height: 100px;
}

/* Form group spacing */
.form-group,
.wpcf7-form-group{
  margin-bottom: 20px;
}
.form-group label,
.wpcf7-form-group label{
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text);
  font-size: 0.9rem;
}

/* Checkboxes & Radios — Apple-style */
input[type="checkbox"],
input[type="radio"]{
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--accent);
}
.checkbox-wrapper,
.radio-wrapper{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.checkbox-wrapper label,
.radio-wrapper label{
  margin-bottom: 0;
  cursor: pointer;
  font-weight: 400;
}

/* Submit button */
button[type="submit"],
input[type="submit"]{
  padding: 12px 24px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
button[type="submit"]:hover,
input[type="submit"]:hover{
  background-color: var(--accent-hover);
  transform: translateY(-1px);
}
button[type="submit"]:active,
input[type="submit"]:active{
  transform: translateY(0);
}

/* WPForms & WPContact Form 7 integration */
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-email,
.wpcf7-form-control.wpcf7-tel,
.wpcf7-form-control.wpcf7-textarea,
.wpcf7-form-control.wpcf7-select,
.wpcf7-form-control.wpcf7-date{
  width: 100% !important;
  padding: 12px 16px !important;
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  background: var(--bg-elevated) !important;
  color: var(--text) !important;
  font-family: inherit !important;
}
.wpcf7-form-control:focus{
  outline: none !important;
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.1) !important;
}

/* -----------------------------------------------------------
   9. Hero Video Background
   Globaler video{} Reset für alte Theme-Regeln (position:fixed)
   die das Video sonst über die ganze Seite legen würden.
----------------------------------------------------------- */
video{
  position: static !important;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  z-index: auto;
}

.hero-video{
  position: relative;
  width: 100%;
  height: 500px;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}
.hero-video video{
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  object-fit: cover;
  z-index: 1 !important;
}
.hero-video::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 2;
  pointer-events: none;
}
.hero-video__content{
  position: relative;
  z-index: 3;
  color: #fff;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 32px;
}
.hero-video__content h1{
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin: 0 0 16px;
  font-weight: 700;
  text-align: left;
}
.hero-video__content p{
  font-size: 1.1rem;
  margin: 0;
  text-align: left;
  max-width: 560px;
}

/* -----------------------------------------------------------
   10. Hero Image Background
--------------------------------------------------- */
.hero-image{
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.hero-image::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}
.hero-image__content{
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 600px;
  padding: 40px 20px;
}
.hero-image__content h1{
  font-size: 2.8rem;
  margin: 0 0 20px;
  font-weight: 700;
}
.hero-image__content p{
  font-size: 1.1rem;
  margin: 0;
}

/* -----------------------------------------------------------
   11. Slider / Carousel (Meta Quest Store-style)
--------------------------------------------------- */
.slider-section{
  padding: 60px 0;
}
.slider-section h2{
  font-size: 1.8rem;
  margin-bottom: 30px;
  font-weight: 700;
}
.slider-wrapper{
  position: relative;
}
.slider-track{
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
}
.slider-track::-webkit-scrollbar{
  height: 6px;
}
.slider-track::-webkit-scrollbar-track{
  background: var(--bg-elevated);
  border-radius: 10px;
}
.slider-track::-webkit-scrollbar-thumb{
  background: var(--accent);
  border-radius: 10px;
}
.slider-track::-webkit-scrollbar-thumb:hover{
  background: var(--accent-hover);
}
/* Slider card — uses .promo-card base, fixed width in scroll container */
.slider-card{
  flex: 0 0 calc(25% - 15px);
  scroll-snap-align: start;
}
@media (max-width: 1200px){
  .slider-card{ flex: 0 0 calc(33.333% - 14px); }
}
@media (max-width: 768px){
  .slider-card{ flex: 0 0 calc(50% - 10px); }
}
@media (max-width: 480px){
  .slider-card{ flex: 0 0 85%; }
}

.slider-controls{
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 20px;
}
.slider-btn{
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-elevated);
  color: var(--text);
  transition: background .2s var(--ease);
}
.slider-btn:hover{
  background: var(--accent);
  color: #fff;
}

@media (max-width: 1200px){
  .slider-item{ flex: 0 0 calc(33.333% - 15px); }
}
@media (max-width: 768px){
  .slider-item{ flex: 0 0 calc(50% - 10px); }
  .slider-controls{ display: none; }
}

/* 404 */
.error-404{ text-align: center; padding: 140px 0; }
.error-404 h1{ font-family: var(--font-display); font-size: 3rem; margin: 0; color: var(--accent); }

/* -----------------------------------------------------------
   5. Phosphor Icons — base sizing
   Loaded via functions.php from the official CDN (@phosphor-icons/web).
   Usage anywhere in template files: <i class="ph ph-bold ph-arrow-right"></i>
----------------------------------------------------------- */
.ph{
  font-size: 1.15em;
  line-height: 1;
  vertical-align: -0.15em;
}
.btn .ph{ font-size: 1.05em; }

/* -----------------------------------------------------------
   6. Promo / feature cards (Preistabelle-Vorschau, Blogübersicht)
   Layout: rounded card, coloured top block, badge, bold lead line,
   description, CTA button. The middle card in a 3-up row can carry
   .is-active to permanently show the same lift/shadow as :hover —
   used to draw the eye to a featured/highlighted tile.
----------------------------------------------------------- */
.promo-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.promo-card{
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.promo-card:hover{
  transform: translateY(-6px);
  border-color: var(--line);
  box-shadow: 0 24px 48px -20px rgba(0,0,0,.18);
}
:root[data-theme="dark"] .promo-card:hover{
  box-shadow: 0 24px 48px -20px rgba(0,0,0,.55);
}
.promo-card__media{
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated-2);
  overflow: hidden;
}
.promo-card__media img{ width: 100%; height: 100%; object-fit: cover; }
.promo-card__media .ph{
  font-size: 3rem;
  color: var(--accent);
}
.promo-card__body{
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.promo-card__badge{
  align-self: flex-start;
  padding: 5px 12px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-size: .75rem;
  font-weight: 700;
}
.promo-card__lead{
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 10px;
}
.promo-card__desc{
  color: var(--text-muted);
  font-size: .95rem;
  margin: 0 0 22px;
  flex: 1;
}
.promo-card .btn{ align-self: flex-start; }

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

/* -----------------------------------------------------------
   7. Pricing table
----------------------------------------------------------- */
.pricing-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.pricing-card{
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 16px;
  cursor: pointer;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.pricing-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -20px rgba(0,0,0,.18);
}
:root[data-theme="dark"] .pricing-card:hover{
  box-shadow: 0 24px 48px -20px rgba(0,0,0,.55);
}
.pricing-card--featured{
  border-color: var(--accent);
}
.pricing-card__plan{ font-family: var(--font-display); font-size: 1.1rem; margin: 0 0 6px; }
.pricing-card__tagline{ color: var(--text-muted); font-size: .9rem; margin: 0 0 22px; }
.pricing-card__price{
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.pricing-card__price span{ font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.pricing-card__note{ color: var(--text-muted); font-size: .85rem; margin: 0 0 26px; }
.pricing-card__features{ margin: 0 0 28px; flex: 1; }
.pricing-card__features li{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: .93rem;
}
.pricing-card__features li:first-child{ border-top: none; }
.pricing-card__features .ph-check{ color: var(--accent); margin-top: 3px; flex-shrink: 0; }
.pricing-card__features .ph-x{ color: var(--text-muted); margin-top: 3px; flex-shrink: 0; }
.pricing-card__features li.is-disabled{ color: var(--text-muted); }
.pricing-card .btn{ width: 100%; padding: 13px; }

@media (max-width: 900px){
  .pricing-grid{ grid-template-columns: 1fr; }
  .pricing-card--featured{ transform: none; }
}

/* -----------------------------------------------------------
   8. Testimonials
----------------------------------------------------------- */
.testimonial-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card{
  padding: 30px 26px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.testimonial-card .ph-quotes{
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}
.testimonial-card__stars{ color: var(--accent); margin-bottom: 14px; font-size: .95rem; letter-spacing: 2px; }
.testimonial-card__quote{ margin: 0 0 22px; color: var(--text); font-size: .98rem; }
.testimonial-card__person{ display: flex; align-items: center; gap: 12px; }
.testimonial-card__avatar{
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-elevated-2);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  flex-shrink: 0;
}
.testimonial-card__name{ font-weight: 600; font-size: .92rem; }
.testimonial-card__role{ color: var(--text-muted); font-size: .82rem; }

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