/* Stil für die Seite Titel */
.woocommerce-page .page-title {
    font-size: 24px; /* Schriftgröße der Titel */
    font-weight: bold; /* Macht den Text fett */
    color: black; /* Setzt die Schriftfarbe auf schwarz */
    margin-bottom: 2px; /* Abstand nach unten für bessere Lesbarkeit */
}

.dein-element {
    background-image: url('https://medienkunde.digital/wp-content/uploads/2024/09/pexels-mareklevak-2265482.jpeg');
    background-size: cover;
    background-position: center;
    height: 300px; /* Höhe anpassen */
}

/* WPForms Submit-Button: Helvetica, nicht fett */
.wpforms-submit {
    font-family: Helvetica, Arial, sans-serif !important;
    font-weight: normal !important;
}


/* Stil für den Einführungstext */
.banner-section p {
    font-size: 17px; /* Schriftgröße des Einführungstextes */
    font-weight: normal; /* Normale Schriftgewicht */
    color: white; /* Weißer Text */
    margin-top: 15px; /* Abstand zum Titel */
    line-height: 1.6; /* Zeilenabstand */
	font-family: Helvetica, Arial, sans-serif; 
}

/* Woocommerce Seite nach der Titelüberschrift */
.woocommerce-page .page-title::after {
    content: "Hier finden Sie  Ready-to-Use Ressourcen, die im Rahmen von Bildungskontexten eingesetzt werden können. Ausführliche Informationen zu den jeweiligen Ressourcen finden Sie auf der jeweiligen Infoseite zum Produkt. \A  Stöbern Sie im Ressourcen-Katalog oder nutzen Sie die Filteroptionen und lassen Sie sich von den neuesten Produkten inspirieren.";
    display: block;
    font-size: 17px; /* Schriftgröße des Textes */
    font-weight: normal; /* Normales Schriftgewicht */
    color: #333333; /* Dunkelgraue Farbe */
    margin-top: 15px; /* Abstand zur Überschrift */
    line-height: 1.6; /* Zeilenabstand */
    white-space: pre-line; /* Macht \A zu einem echten Zeilenumbruch */
    text-transform: none; /* Verhindert Großbuchstaben */
}


/* Woocommerce Widget-Titel Stil */
.woocommerce-widget-title {
    font-size: 18px;
    font-weight: bold;
    color: #333; /* Farbe für den Widget Titel */
    margin-bottom: 10px; /* Abstand unten für den Widget Titel */
}

/* Header mit Hintergrundbild für den Shop */
.woocommerce-page .site-header {
    background-image: url('https://medienkunde.digital/wp-content/uploads/2024/09/pexels-mareklevak-2265482.jpeg'); /* Bild-Link hier */
    background-size: cover; /* Bild soll den Header vollständig abdecken */
    background-position: center lower; /* Bild wird zentriert */
    height: 250px; /* Höhe des Headers anpassen */
}

/* Weißes Overlay für den Header */
.woocommerce-page .site-header::before {
    content: ''; /* Leeres Content-Element */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5); /* Weiß mit 60% Transparenz */
    z-index: 1; /* Setzt das Overlay über das Bild */
}

/*Header in der mobilen Ansicht etwas kürzer machen*/

/* Tablet */
@media only screen and (max-width: 1024px) {
    .woocommerce-page .site-header {
        height: 170px; /* kürzer für Tablet */
    }
}


/* Schlagwörter und Kategorien ausblenden */
.woocommerce-page .product .product_meta .posted_in, 
.woocommerce-page .product .product_meta .tagged_as {
    display: none;
}

/* Zeigt die Shop-Paginierung an */
.woocommerce-pagination {
    display: flex !important;
    justify-content: center;
    margin-top: 20px !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Stil für das Suchformular */
.search-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

/* Stil für das Eingabefeld */
.search-input {
    padding: 10px;
    font-size: 16px;
    border: 2px solid #ccc;
    border-radius: 5px;
    width: 300px;
    box-sizing: border-box;
}

/* Stil für den Suchen-Button */
.search-button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #0073e6;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Stil für den Hover-Effekt des Buttons */
.search-button:hover {
    background-color: #005bb5;
}

/* Optional: Bei mobilen Geräten */
@media (max-width: 600px) {
    .search-form {
        flex-direction: column;
    }
    .search-input {
        width: 100%;
    }
}

/* Produktnamen im Katalog in korrekter Schreibweise anzeigen */
.woocommerce-loop-product__title {
    text-transform: none; /* Verhindert, dass der Text in Großbuchstaben umgewandelt wird */
}

.woocommerce-shop .page-title::after {
    content: "Hier finden Sie  Ready-to-Use Ressourcen, die im Rahmen von Bildungskontexten eingesetzt werden können. Ausführliche Informationen zu den jeweiligen Ressourcen finden Sie auf der Infoseite zum Produkt. \A  Stöbern Sie im Ressourcen-Katalog oder nutzen Sie die Filteroptionen und lassen Sie sich von unseren Produkten inspirieren.";
    display: block;
    font-size: 18px;
    font-weight: medium;
    color: #333333;
    margin-top: 15px;
    line-height: 1.6;
    white-space: pre-line;
    text-transform: none;
		text-align: justify;  
}

/*Darstellung auf dem Tablet*/
@media (min-width: 768px) and (max-width: 1024px) {
    .woocommerce-shop .page-title::after {
        margin-bottom: 20px; /* Abstand nach unten */
        display: block; /* sicherstellen, dass Block-Layout bleibt */
    }

    .ast-woocommerce-container {
        margin-top: 35px; /* optional: zusätzlicher Abstand vor den Produkten */
    }
}

/* Mobile Ansicht: kleinere Schrift für Page-Title-After */
@media (max-width: 767px) {
  .woocommerce-shop .page-title::after {
    font-size: 14px; /* kleinere Schrift für Smartphones */
    line-height: 1.4; /* optional etwas engerer Zeilenabstand */
    margin-top: 10px; /* optional etwas weniger Abstand nach oben */
  }
}


.tax-product_cat .page-title::after {
    content: none; /* Entfernt den Text auf Kategorieseiten */
}

.ast-archive-description p {
    font-family: Helvetica, Arial, sans-serif !important;
    font-size: 18px !important; /* Gleiche Schriftgröße wie der Seitentitel */
  font-weight: 500 !important; /* Fett wie der Seitentitel */
    color: black !important; /* Gleiche Schriftfarbe wie der Seitentitel */
}

/*hier kommt die änderung der wp forms schriftarten */
.wpforms-form input,
.wpforms-form textarea,
.wpforms-form label {
    font-family: 'Helvetica', Arial, sans-serif !important;
}
.wpforms-form button[type="submit"] {
    font-family: 'Helvetica', Arial, sans-serif !important;
    font-size: 14px; /* Optional: Schriftgröße anpassen */
	 background-color: #5511f8 !important; /* Lila */
    font-weight: bold; /* Optional: Fett machen */

}

/* Schriftart und Größe für den Widget-Titel (Produkt-Kategorien) */
.widget-title {
    font-family: 'Helvetica', Arial, sans-serif !important;
    text-transform: capitalize; /* Nur den ersten Buchstaben jedes Wortes groß machen */
    font-size: 18px;
	color: #0F172A; /* Schriftfarbe auf Dunkelblau setzen */
	/* Schriftgröße für den Titel */
}

/* Schriftart und Größe der Kategorien-Links im Widget */
.widget_product_categories ul li a {
    font-family: 'Helvetica', Arial, sans-serif !important;
    text-transform: capitalize; /* Nur den ersten Buchstaben jedes Wortes groß machen */
    font-size: 16px; /* Schriftgröße für die Links */
}

/* Alten Shop-Einleitungstext auf der Kategorie "Lehren und Begleiten" ausblenden */
.tax-product_cat.term-lehren-und-begleiten .woocommerce-products-header__description {
    display: none;
}



/* Custom HTML Widget Banner schon erledigt */
.woocommerce-cart #custom_html-3 {
    display: none !important;
}

/* Produkt-Kategorien Widget ausblenden auf Warenkorb-Seite */
.woocommerce-cart #woocommerce_product_categories-3 {
    display: none !important;
}

/* Stichwortsuche Widget ausblenden auf Warenkorb-Seite */
.woocommerce-cart #custom_html-5 {
    display: none !important;
}


html {
  scroll-behavior: smooth;
}


/* Produktsuche Eingabefeld im WooCommerce-Sidebar-Widget */
.widget_product_search .search-field {
  font-family: Helvetica, Arial, sans-serif !important;
  font-weight: normal;
	font-size: 15px;
}

/* Produktsuche Button im Widget */
.widget_product_search button {
  font-family: Helvetica, Arial, sans-serif !important;
  font-weight: normal;
	font-size: 15px;
}


/* Einführungstext auf der Kategorie "Lehren und Begleiten" anpassen */
.tax-product_cat.term-lehren-und-begleiten .ast-archive-description p {
    font-family: Helvetica, Arial, sans-serif !important;
    font-size: 17px;        /* Standard Desktop-Schriftgröße */
    font-weight: normal;
    color: #33333333;
    margin-top: 15px;
    line-height: 1.6;
    white-space: pre-line;
    text-transform: none;
	 	margin-bottom: 20px;
    text-align: justify;    /* Blocksatz */
}

/* Abstand vor der Produktliste nur für Tablets */

@media (min-width: 768px) and (max-width: 1024px) {
    .tax-product_cat.term-lehren-und-begleiten main#main .ast-woocommerce-container {
        margin-top: 50px; /* Abstand anpassen, bis es optisch passt */
    }
}

/* Mobile Ansicht: Smartphones */
@media (max-width: 767px) {
    .tax-product_cat.term-lehren-und-begleiten .ast-archive-description p {
        font-size: 14px !important;   /* kleinere Schrift für Smartphone */
        line-height: 1.6 !important;  /* etwas mehr Zeilenhöhe für Lesbarkeit */
        text-align: justify !important; /* Blocksatz beibehalten */
    }
}

/* Stil für die Kategorie-Boxen im Shop */
/* Kategoriename: nur erster Buchstabe groß */
.woocommerce-loop-category__title,
.woocommerce-loop-category__title mark {
    text-transform: capitalize !important;
}

/* Lange Wörter umbrechen, damit sie in die Box passen */
.woocommerce-loop-category__title {
    word-wrap: break-word; /* Alte Variante, funktioniert überall */
    overflow-wrap: break-word; /* Moderne Variante */
    hyphens: auto; /* Optional: automatische Silbentrennung, wenn verfügbar */
}

/* Kategorie-Link auf volle Boxgröße */
.woocommerce ul.products li.product-category a {
    display: block;
    height: 100%;
    color: inherit; /* Schriftfarbe unverändert */
    text-decoration: none;
}


/* Hover-Effekt */
.woocommerce ul.products li.product-category:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.widget_product_categories ul {
    max-height: 300px;
    overflow-y: auto;
}

.widget_product_categories .product-categories {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 5px; /* damit Scrollbalken nicht Text überlappt */
}

.widget_product_categories .product-categories::-webkit-scrollbar {
    width: 6px; /* dünner Scrollbalken */
}

.widget_product_categories .product-categories::-webkit-scrollbar-thumb {
    background-color: #ccc; /* Farbe des Scrollbalkens */
    border-radius: 10px;
}

/* das html feld scrollen Sie .. über die produktkategorien platzieren*/
.widget_custom_html + .widget_product_categories {
    margin-top: -90px;
}

/* die Produkte im Shop entzerrter darstellen und buttons nach unten vereinheitlichen */
/* Alle Produktkarten als Flex-Container */
ul.products li.product {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* verteilt Inhalt + Button */
    height: 100%; /* damit die Karten die volle Höhe nutzen */
}

/* Optional: der Button am unteren Ende */
ul.products li.product .button {
    margin-top: auto;
}

ul.products li.product .woocommerce-loop-product__link img {
    margin-bottom: 0 !important;  /* entfernt Abstand unter dem Bild */
}

/* Abstand Titel vom Bild */
ul.products li.product .woocommerce-loop-product__title {
    margin-top: -80px !important;     /* Titel direkt unter dem Bild */
}


/* Abstand Button unteres Ende vom nachfolgenden Produkt*/
ul.products li.product .button {
    margin-bottom: 85px !important; /* Abstand unter dem Button */
}

/* Überschrift + Beschreibung müssen etwas näher an die Produktpalette grückt werden */
.woocommerce-page .woocommerce-products-header {
    margin-bottom: -100px !important;  /* oder kleiner Wert, z.B. 5px */
    padding-bottom: 0 !important;
}

/* Produktliste direkt darunter */
.woocommerce-page ul.products {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Alle Shop-Buttons in Helvetica und normal */
ul.products li.product .button,
ul.products li.product-category .button {
    font-family: Helvetica, Arial, sans-serif !important; /* Schriftart */
    font-weight: normal !important;                         /* nicht fett */
}

/* Alles in Helvetica */
body {
    font-family: Helvetica, Arial, sans-serif !important;
}

/* Produkt-Titel normal anzeigen, nicht in Großbuchstaben */
.woocommerce div.product .product_title {
    text-transform: none !important;
    font-weight: normal !important; /* optional: nicht fett */
}

/* Meta, Attribute und Tab-Inhalte in gewünschtem Grau */
.woocommerce div.product .product_meta,
.woocommerce div.product .woocommerce-tabs,
.woocommerce-product-attributes-item__label,
.woocommerce-product-attributes-item__value {
    color: #454F5E !important;  /* gewünschtes Grau */
}

/* Zielgruppe & Beschreibung in Tabelle: Helvetica, normal (400) */
.woocommerce-product-attributes-item__label,
.woocommerce-product-attributes-item__value {
    font-family: Helvetica, Arial, sans-serif !important;
    font-weight: 400 !important;  /* normal */
}

/* Abstand oberhalb der Überschrift im Widget „Ähnliche Beiträge“ */
.jp-relatedposts-headline {
    margin-top: 30px !important; /* Abstand nach oben, anpassen nach Bedarf */
}

/* Überschrift „Das könnte Sie auch interessieren“ – durchgehend groß */
.jp-relatedposts-headline em {
    font-family: Helvetica, Arial, sans-serif !important; /* Helvetica */
    font-style: normal !important;                         /* kein kursiv */
    text-transform: uppercase !important;                 /* durchgehend groß */
    font-size: 1.25rem !important;                         /* etwas größere Schrift */
    color: #454F5E !important;                             /* harmonisches Grau */
}

/* Abstand unterhalb der Überschrift im Widget „Ähnliche Beiträge“ */
.jp-relatedposts-headline {
    margin-bottom: 45px !important; /* Abstand nach unten, anpassen nach Bedarf */
}

.related.products {
    display: none !important;
}

/* WooCommerce Block "Zur Kasse"-Button ausblenden */
.wc-block-cart__checkout {
    display: none !important;
}

/*WARENKORB ANPASSEN*/

/* die obere Produktvorschau ausblenden */
.woocommerce-cart ul.wc-block-grid__products {
    display: none !important;
}

/* die Produkttabelle schmaler machen*/
.woocommerce-cart-form .shop_table {
    width: 115% !important;       /* erzwingt die Breite */
    table-layout: fixed !important;  
    word-wrap: break-word !important; 
    margin: 0 auto !important;   /* zentriert die Tabelle */
}

/* Erste Spalte in der Tabelle schmaler machen */
.woocommerce-cart-form .shop_table th.product-remove,
.woocommerce-cart-form .shop_table td.product-remove {
    width: 40px !important;  /* hier die gewünschte Breite */
    text-align: center;       /* X zentrieren */
    padding: 0 5px !important; /* optional: Innenabstand reduzieren */
}

/* Spalte Produktbeschreibung breiter machen */
.woocommerce-cart-form .shop_table th.product-name,
.woocommerce-cart-form .shop_table td.product-name {
    width: 25% !important;  /* Breite nach Bedarf anpassen */
}

/* die Produkbilder schmaler machen*/
.woocommerce-cart-form .product-thumbnail img {
    max-width: 30px;  /* Bilder kleiner */
    height: auto;
}

/* die Schrift im Warenkorb und den Buttons auf Helvetica seten*/
body {
    font-family: 'Helvetica', 'Arial', sans-serif;
}

/* Buttons speziell */
button,
input[type="button"],
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    font-family: 'Helvetica', 'Arial', sans-serif !important;
	font-weight: normal !important;
}

/* Gutscheinfeld vorläufig ausblenden */
.woocommerce-cart .coupon {
    display: none !important;
}

/*WARENKORB nur den ersten Buchstaben groß*/
.woocommerce-cart h1.entry-title {
    text-transform: none !important;
}


/* Warenkorb-Tabelle unter der PRoduktübersicht anpassen */
.cart-collaterals,
.cart-collaterals .cart_totals,
.cart-collaterals .shop_table {
    width: 100% !important;
    max-width: 800px; 
	 margin: 0 auto;   /* zentriert */
	/* gleiche Breite wie obere Tabelle */
}

.wc-proceed-to-checkout iframe {
    width: 100% !important; 
    max-width: 100% !important;
}

/*Checkout Button Helvetica*/
.checkout-button {
    width: 100% !important;
    text-align: center;
    font-family: Helvetica, sans-serif;
}

/*Warenkorb aktualisieren schlichter machen*/
.woocommerce-cart-form .actions .button[name="update_cart"] {
    background-color: #ffffff !important; /* weißer Hintergrund */
    color: #6e32ff !important;           /* dein Lila als Textfarbe */
    border: 1px solid #6e32ff !important;/* optional: lila Rahmen */
    border-radius: 4px !important;       /* leicht abgerundet */
    padding: 8px 16px !important;
    font-family: Helvetica, sans-serif !important;
    font-weight: normal !important;
}

.woocommerce-cart-form .actions .button[name="update_cart"]:hover {
    background-color: #f9f0ff !important; /* sehr leichtes Lila beim Hover */
    cursor: pointer;
}


/*Warenkorb-Summen nur den ersten Buchstaben groß machen*/
.cart_totals h2 {
    text-transform: none !important; /* hebt alles auf */
	font-size: 16px !important;
    font-variant: normal !important; 
	color: #54595f /* sicherstellen, dass keine Versalien aktiv sind */
}

/*überall automatische Silbentrennung einsetzen*/

html {
    lang: de; /* sicherstellen, dass die Sprache Deutsch ist */
}

body {
    hyphens: auto;          /* automatische Silbentrennung */
    -webkit-hyphens: auto;  /* Safari/Chrome */
    -ms-hyphens: auto;      /* ältere IE-Versionen */
}

p, li, td, th, h1, h2, h3, h4, h5, h6 {
    hyphens: auto;          /* Silbentrennung auf allen relevanten Textblöcken */
}

/* WARENKORB nach oben rücken */
.woocommerce-page .entry-title {
    margin-top: -2px; /* hier den Abstand anpassen */
}

/* Weißer Kasten nur für den Hinweis-Block auf der Warenkorb-Seite -> hat immer Probleme verursacht*/
/*----.woocommerce-cart p {
    background-color: #ffffff; /* weißer Hintergrund */
    padding: 15px;             /* etwas Abstand innen */
    border-radius: 8px;        /* abgerundete Ecken */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* leichter Schatten */ 
}


/* Nur die Überschrift "Warenkorb-Summe" im Warenkorb */
body.woocommerce-cart .cart_totals h2 {
    color: #454f4e;
}

/* Schriftgröße des Buttons "Weiter zur Kasse" verkleinern */
a.checkout-button.button.alt.wc-forward {
    font-size: 15px; /* Hier die gewünschte Größe einstellen */
}

.entry-content p::first-letter {
    color: inherit; /* sorgt dafür, dass andere Buchstaben normal bleiben */
}

.entry-content p {
    /* sorgt dafür, dass Häkchen separat gestylt werden können */
}

.entry-content p {
    color: inherit; /* normaler Text bleibt gleich */
}


/*mobile Ansicht WArenkorb tabelle stylen*/ 
/* Mobile Ansicht stylen */
@media (max-width: 768px) {
    /* Tabellen-Layout */
    .woocommerce-cart table.cart {
        width: 100% !important;
        box-sizing: border-box !important;
        margin: auto !important;
    }

    .woocommerce-cart {
        padding: 0 10px !important;
    }

    /* Alle Zellen einheitlich */
    .woocommerce-cart table.cart td {
        padding: 2px 4px !important; /* reduziert überflüssigen Abstand */
        font-size: 12px !important;  
			font-style: normal !important;/* einheitliche Schriftgröße */
        line-height: 1.4 !important;
    }

    /* Produktname noch etwas mehr Zeilenhöhe */
    .woocommerce-cart table.cart td.product-name {
        line-height: 1.6 !important;
			margin-top: 5px !important;
        margin-bottom: 5px !important;
    }

    /* Produktbilder kleiner und zentriert */
    .woocommerce-cart table.cart td.product-thumbnail img {
        max-width: 40px !important;
        height: auto !important;
        display: block !important;
        margin: 5px auto 0 auto !important;
    }

    /* Entfernen-Button rechts oben */
    .woocommerce-cart table.cart td.product-remove {
        text-align: left !important;
        padding-bottom: 5px !important;
    }
}

 .woocommerce-cart table.cart td.product-name {
        font-size: 13px !important;
        line-height: 1.4 !important;
        display: block !important;
        width: auto !important;
        overflow: visible !important;
        white-space: normal !important;
        padding-bottom: 5px !important;
    }

    .woocommerce-cart table.cart td.product-name a {
        display: inline !important;
        width: auto !important;
    }

    .woocommerce-cart table.cart td.product-name small.sku {
        display: block !important;
        font-size: 11px !important;
        color: #666 !important;
        margin-top: 2px !important;
    }
}

/* Mobile Vorschaubilder minimieren */
@media (max-width: 768px) {
    .woocommerce-cart table.cart td.product-thumbnail img {
        width: 40px !important;
        height: auto !important;
    }
    .woocommerce-cart table.cart td {
        padding: 2px 4px !important;
    }
}

@media (max-width: 768px) {
    /* Ganze Tabellenzeile zu flexbox machen */
    .woocommerce-cart table.cart tr.cart_item {
        display: flex !important;
        flex-wrap: wrap;
        align-items: center;
        margin-bottom: 10px;
        border-bottom: 1px solid #ddd; /* optional für Trennung */
        padding-bottom: 10px;
    }

    /* Vorschaubild links */
    .woocommerce-cart table.cart td.product-thumbnail {
        width: - 80px; /* Breite des Bildes */
        flex-shrink: 0;
        margin-right: 10px;
    }
    .woocommerce-cart table.cart td.product-thumbnail img {
        width: 100%;
        height: auto;
    }

    /* Produktname, SKU, Preis, Menge etc. rechts */
    .woocommerce-cart table.cart td.product-name,
    .woocommerce-cart table.cart td.product-price,
    .woocommerce-cart table.cart td.product-quantity,
    .woocommerce-cart table.cart td.product-subtotal,
    .woocommerce-cart table.cart td.product-remove {
        width: calc(100% - 90px); /* Restbreite */
        display: block;
        margin-bottom: 2.5px;
    }
 

    /* Reduziere Padding generell */
    .woocommerce-cart table.cart td {
        padding: 1px !important;
    @media (max-width: 768px) {
    /* Tabellen-Layout */
    .woocommerce-cart table.cart {
        width: 100% !important;
        box-sizing: border-box !important;
        margin: auto !important;
    }

    .woocommerce-cart {
        padding: 0 10px !important;
    }

    /* Alle Zellen einheitlich */
    .woocommerce-cart table.cart td {
        padding: 2px 4px !important; /* reduziert überflüssigen Abstand */
        font-size: 12px !important;  
			font-style: normal !important;/* einheitliche Schriftgröße */
        line-height: 1.4 !important;
    }

    /* Produktname noch etwas mehr Zeilenhöhe */
    .woocommerce-cart table.cart td.product-name {
        line-height: 1.6 !important;
			margin-top: 5px !important;
        margin-bottom: 5px !important;
    }

    /* Produktbilder kleiner und zentriert */
    .woocommerce-cart table.cart td.product-thumbnail img {
        max-width: 40px !important;
        height: auto !important;
        display: block !important;
        margin: 5px auto 0 auto !important;
    }

    /* Entfernen-Button rechts oben */
    .woocommerce-cart table.cart td.product-remove {
        text-align: left !important;
        padding-bottom: 5px !important;
    }
} 

/* Mobile Vorschaubilder minimieren */
@media (max-width: 768px) {
    .woocommerce-cart table.cart td.product-thumbnail img {
        width: 40px !important;
        height: auto !important;
    }
    .woocommerce-cart table.cart td {
        padding: 2px 4px !important;
    }
}

@media (max-width: 768px) {
    /* Ganze Tabellenzeile zu flexbox machen */
    .woocommerce-cart table.cart tr.cart_item {
        display: flex !important;
        flex-wrap: wrap;
        align-items: center;
        margin-bottom: 10px;
        border-bottom: 1px solid #ddd; /* optional für Trennung */
        padding-bottom: 10px;
    }

    /* Vorschaubild links */
    .woocommerce-cart table.cart td.product-thumbnail {
        width: - 80px; /* Breite des Bildes */
        flex-shrink: 0;
        margin-right: 10px;
    }
    .woocommerce-cart table.cart td.product-thumbnail img {
        width: 100%;
        height: auto;
    }

    /* Produktname, SKU, Preis, Menge etc. rechts */
    .woocommerce-cart table.cart td.product-name,
    .woocommerce-cart table.cart td.product-price,
    .woocommerce-cart table.cart td.product-quantity,
    .woocommerce-cart table.cart td.product-subtotal,
    .woocommerce-cart table.cart td.product-remove {
        width: calc(100% - 90px); /* Restbreite */
        display: block;
        margin-bottom: 2.5px;
    }
 

    /* Reduziere Padding generell */
    .woocommerce-cart table.cart td {
        padding: 1px !important;
    }
}

			
	
	/*Klarna Hinweistext hinter dem zur Kasse Button hervorholen

	 .woocommerce-cart .woocommerce-message,
    .woocommerce-cart .woocommerce-info {
        margin-top: 10px !important;
        margin-bottom: 20px !important;
			font-size: 12px !important;
        display: block !important;
        clear: both !important;
        text-align: center;
	}
}
*/

			


   
/*CHECKOUT-KASSE*/

/* WooCommerce Kasse: Produkttitel in der Bestellübersicht kleiner */
.wp-block-woocommerce-checkout-order-summary-cart-items-block .wc-block-components-product-name {
    font-size: 16px !important; /* passt den Titel an */
    text-transform: capitalize !important; /* nur erster Buchstabe groß */
}

/* Optional: Preis und Menge kleiner machen */
.wp-block-woocommerce-checkout-order-summary-cart-items-block .wc-block-components-product-quantity,
.wp-block-woocommerce-checkout-order-summary-cart-items-block .wc-block-components-product-price {
    font-size: 14px !important;
}

.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
.woocommerce-checkout-payment h3 {
    text-transform: capitalize;
    color: #54595f;
    font-family: Helvetica, Arial, sans-serif;
}


/* Farbe und Schriftgröße ändern */
    font-size: 24px;      /* Größe */
    font-weight: bold;    /* Fett */
    margin-bottom: 20px;  /* Abstand darunter */
}

/* Container mit Rahmen und Hintergrund */
.woocommerce-checkout-review-order {
    background-color: #f9f9f9;
    border: 2px solid #ddd;
    border-radius: 12px;
    padding: 20px;
}

/* Einzelne Zahlungsmethode hervorheben */
.wc_payment_method {
    border: 1px solid #ccc;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.wc_payment_method:hover {
    background-color: #e6f7ff; /* leichte Highlight-Farbe beim Hover */
    border-color: #00aaff;
}

/* Setzt nur den ersten Buchstaben jedes Wortes groß */
h3 {
    text-transform: capitalize !important; /* Wichtig, um das Uppercase zu überschreiben */
}

/* Nur auf WooCommerce Checkout-Seite */
body.woocommerce-checkout #order_review_heading {
    display: block !important;       /* normale Block-Darstellung */
    float: none !important;          /* float entfernen */
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    text-transform: none !important; /* normale Groß-/Kleinschreibung */
    font-size: 18px !important;      /* kleiner Schriftgrad */
    font-weight: normal !important;  /* nicht fett */
    line-height: 1.4 !important;     /* etwas Luft für Lesbarkeit */
    white-space: normal !important;  /* Zeilenumbruch zulassen, falls nötig */
    overflow: visible !important;    /* nichts abschneiden */
    max-width: 100% !important;      /* innerhalb Container */
    text-align: left !important;     /* linksbündig */
}

/* Nur Checkout-Seite, Überschrift "Zahlungsart auswählen" */
body.woocommerce-checkout #order_payment_heading {
    font-size: 18px !important;      /* kleiner Schriftgrad */
    font-weight: normal !important;  /* nicht fett */
    text-transform: none !important; /* normale Groß-/Kleinschreibung */
    line-height: 1.4 !important;     /* etwas Abstand für Lesbarkeit */
    margin-bottom: 10px !important;  /* Abstand zum nächsten Element */
}


/* Nur auf der WooCommerce Checkout-Seite */
body.woocommerce-checkout .woocommerce-additional-fields {
    display: none !important;
}

/* Nur auf der WooCommerce Checkout-Seite Gutschein-Hinweis ausblenden */
body.woocommerce-checkout .woocommerce-info {
    display: none !important;
}

/* --- Abstand nach oben für die Überschriften im Checkout --- */
body.woocommerce-checkout #order_payment_heading,
body.woocommerce-checkout #order_review_heading {
    margin-top: 25px !important;     /* mehr Luft nach oben */
    margin-bottom: 10px !important;  /* kleiner Abstand nach unten */
}

/* --- AGB-/Rechtshinweis-Checkbox: Text normal setzen --- */
body.woocommerce-checkout p.legal.form-row.checkbox-legal,
body.woocommerce-checkout p.legal.form-row.checkbox-legal label,
body.woocommerce-checkout p.legal.form-row.checkbox-legal span {
    font-weight: normal !important;  /* erzwingt normale Schrift */
    color: #333 !important;          /* angenehme neutrale Farbe */
    font-size: 16px !important;
    line-height: 1.5 !important;
}

/* Checkbox-Text bei digitalen Produkten im Checkout normal setzen */
.woocommerce-checkout .wc-gzd-checkbox-placeholder-data-download .woocommerce-gzd-data-download-checkbox-text {
    font-weight: normal !important;  /* erzwingt normale Schrift */
    color: #333 !important;          /* angenehme neutrale Farbe */
    font-size: 16px !important;
    line-height: 1.5 !important;
}

/* Optional: etwas mehr Luft um die Checkbox selbst */
body.woocommerce-checkout p.legal.form-row.checkbox-legal input[type="checkbox"] {
    margin-right: 6px !important;
}

/* Abstand unter dem "Jetzt kaufen"-Button */
body.woocommerce-checkout #place_order {
    margin-bottom: 25px !important;  /* etwas mehr Abstand nach unten */
}

/* Unteren Innenabstand des Bestellcontainers vergrößern */
body.woocommerce-checkout .woocommerce-checkout-review-order {
    padding-bottom: 30px !important;
}

/* Nur auf der Checkout-Seite: SKU rechts neben Produktnamen ausblenden */
body.woocommerce-checkout .cart_item .wc-gzd-cart-item-name-wrapper > small.sku {
    display: none;
}


/* Tabelle in ABOUT HTML-Widget scrollbar machen */
/* Standard: keine Scrollbarkeit */
.scroll-wrapper {
  display: block;       /* normale Darstellung */
  overflow-x: visible;  /* kein Scrollen */
}

/* Nur für mobile Geräte Scrollbarkeit aktivieren */
@media (max-width: 768px) {
  .scroll-wrapper {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }

  .scroll-wrapper > * {
    flex: 0 0 auto;
    margin-right: 16px;
  }
}


/*Zusätzliche Gestaltungsmerkmale für die mobile Ansicht*/

/* --- WooCommerce Shopbeschreibung fix für Tablet & Mobile --- */
@media (max-width: 1024px) {
  .woocommerce-products-header__description {
    order: -1; /* nach oben verschieben */
    margin-bottom: 20px;
    margin-top: 10px;
  }

  /* Damit Woo-Filterzeile sauber darunter bleibt */
  .woocommerce-result-count,
  .woocommerce-ordering {
    margin-top: 100px !important;
  }
}


/* Die Produktunterkategorie-Kacheln auf der lehren und begleiten seite - für Tablet und Smartphone nach unten rücken, sodass der Beschreibungstext der Kategorie  nicht hiner den Kacheln steht*/
@media (max-width: 1024px) {
    body.tax-product_cat .ast-woocommerce-container > ul.products {
        margin-top: 100px !important; /* Abstand nach unten */
    }
}


/*Mobile Ansicht - Dark mode*/
/* Fix: Menü-Farben im Dark Mode sichtbar halten */
@media (prefers-color-scheme: dark) {
  body, .main-header-bar {
    background-color: #F2F0FE !important; /* Helllila Hintergrund */
    color: #454F5E !important; /* Dunkelgrauer Text */
  }

  .main-header-menu a,
  .ast-header-custom-item,
  .ast-builder-menu .menu-item a {
    color: #454F5E !important; /* Menü-Links immer dunkel */
  }

  .main-header-menu a:hover,
  .ast-builder-menu .menu-item a:hover {
    color: #6528F7 !important; /* Lila beim Hover */
  }

  .ast-mobile-header-wrap,
  .ast-mobile-header-content {
    background-color: #F2F0FE !important; /* Mobile Menü-Hintergrund */
  }
}

/* ===============================Globales WPForms-Design (alle Formulare - auch responsiv)
   ================================ */

/* 💻 Standardgrößen (Desktop) */
.wpforms-container .wpforms-field-label {
  font-size: 16px;
}
.wpforms-container .wpforms-field-sublabel {
  font-size: 16px;
}
.wpforms-container .wpforms-submit {
  font-size: 10px;
}

/* 📱 Smartphones (max. 767px) */
@media (max-width: 767px) {
  .wpforms-container .wpforms-field-label {
    font-size: 12px !important;
  }
  .wpforms-container .wpforms-field-sublabel {
    font-size: 12px !important;
  }
  .wpforms-container .wpforms-submit {
    font-size: 10px !important;
  }

  /* Wenn mehrere Formulare nebeneinander in Elementor-Spalten stehen:
     → Spalten untereinander stapeln */
  .elementor-column.elementor-col-50 {
    width: 100% !important;
  }

  /* Zusätzlicher Abstand zwischen gestapelten Formularen */
  .wpforms-container {
    margin-bottom: 2rem;
  }
}

/* 📲 Tablets (768px–1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .wpforms-container .wpforms-field-label {
    font-size: 14px !important;
  }
  .wpforms-container .wpforms-field-sublabel {
    font-size: 14px !important;
  }
  .wpforms-container .wpforms-submit {
    font-size: 12px !important;
  }

  /* Auf Tablets Formulare evtl. auch schon untereinander anordnen */
  .elementor-column.elementor-col-50 {
    width: 100% !important;
  }

  .wpforms-container {
    margin-bottom: 2rem;
  }
}



/*BLOCKSATZ*/
p {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

/* Ausnahme: Überschreibe zentrierte Texte */
p[style*="text-align:center"],
.elementor-text-editor[style*="text-align:center"] p {
  text-align: center !important;
}



/* Überschriften auf Ressourcen und lehren und begleiten Seite anpassen*/

.page-title.ast-archive-title {
  font-family: 'Helvetica', Arial, sans-serif !important; /* Schriftart */
  font-size: 25px !important;                             /* Desktop */
  text-transform: none !important;                        /* Keine Großbuchstaben */
  font-weight: 600 !important;                            /* mittlere Stärke */
  letter-spacing: normal !important;
  line-height: 1.4em !important;
  color: #0F172A !important;
  text-align: left !important;
}

/* 📱 Tablet (max. 1024px) */
@media only screen and (max-width: 1024px) {
  .page-title.ast-archive-title {
    font-size: 20px !important;
  }
}


/*Ressourcenseite grafisch anpassen, v.a. mobil*/ 

/* Mobile Ansicht: bis 767px */
@media (max-width: 767px) {

  /* Ergebnis-Anzeige */
  .woocommerce-result-count {
    font-family: Helvetica, Arial, sans-serif !important; /* Schriftart */
    font-size: 12px !important;  /* mobile Schriftgröße */
    line-height: 1.4 !important;
  letter-spacing: normal !important;
  line-height: 1.6em !important;
  color: #0F172A !important;
  text-align: left !important;

    margin-bottom: 5px !important; /* Abstand zum Dropdown */
  }

  /* Sortier-Dropdown */
  .woocommerce-ordering {
    text-align: right !important; /* linksbündig */
    margin-bottom: 15px !important;
  }

  .woocommerce-ordering select.orderby {
    font-family: Helvetica, Arial, sans-serif !important; /* Schriftart */
    font-size: 12px !important;  /* mobile Schriftgröße */
  }
}


/* prduktgalerie auf Ressourcen mobil anpassen*/

@media only screen and (max-width: 768px) {
    .products.columns-4 {
        display: grid;
        grid-template-columns: 1fr; /* nur eine Spalte auf Smartphones */
        gap: 0px; /* Abstand zwischen den Produkten */
    }

    .products li {
        width: 80%; /* volle Breite */
        text-align: center; /* optional: Text zentrieren */
    }
}
.woocommerce-LoopProduct-link img {
    width: 100%;
    height: auto;
}
/* 1. Produkttitel kleiner und in Helvetica auf mobilen Geräten */
@media (max-width: 768px) {
    /* 1. Produkttitel anpassen */
    .woocommerce-loop-product__title {
        font-family: 'Helvetica', sans-serif !important;
        font-size: 13px !important;
        line-height: 1.6 !important;
			margin-top: -12px !important; 
			margin-bottom: -12px !important;
			 display: block !important;                         /* Sicherstellen, dass es block ist */
        transform: translateY(-13px);    
    }

    /* 2. Button zentrieren und schrift anpassen */
    .button.add_to_cart_button {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
    }
    
	.button.add_to_cart_button {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        margin: 0 auto 10px 
auto !important;
   
		font-size: 9px !important;
    }

    /* Abstand der buttons anpassen: */
    .woocommerce ul.products li.product .button {
        margin-top: 10px !important;
        margin-bottom: 35px !important;
    }

    /* Preis anpassen */
    .price {
        font-family: 'Helvetica', sans-serif !important;
        font-size: 12px !important;   /* gewünschte Größe */
        font-weight: bold !important;
        margin-top: -20px !important;
        margin-bottom: 10px !important;
    }
	
    /* Abstand vor produktkategorie entfernen */
	.ast-woo-product-category {
        font-family: 'Helvetica', sans-serif !important;  /* Schriftart */
        font-size: 12px !important;                        /* Schriftgröße */
        line-height: 1 !important;                       /* Zeilenhöhe */
        display: block !important;                         /* Sicherstellen, dass es block ist */
        transform: translateY(-25px);                       /* Nach oben verschieben */
        margin: 0 !important;                              /* Extra Margin entfernen */
    }
}


/* =========================================
   🖥️ DESKTOP-STYLES (Standard)
   ========================================= */

/* Infobanner (oberster Textblock) */
.custom-banner h3 {
  font-family: Helvetica, Arial, sans-serif !important;
  font-size: 17px !important;
  font-weight: normal;
  text-transform: none;
  line-height: 1.4;
  margin-bottom: px;
}

/* Produktkategorien-Widget */
#woocommerce_product_categories-6 {
  margin-top: px; /* etwas näher an den Banner rücken */
}
#woocommerce_product_categories-6 .widget-title {
  font-family: Helvetica, Arial, sans-serif !important;
  font-size: 17px !important;
  font-weight: normal;
  margin-bottom: 8px;
  text-transform: none;
  text-align: left;
}
#woocommerce_product_categories-6 ul.product-categories {
  margin-top: 0;
  margin-left: 10px;
}
#woocommerce_product_categories-6 ul.product-categories li a {
  font-family: Helvetica, Arial, sans-serif !important;
  font-size: 15px !important;
  line-height: 1.4;
}

/* Alle Widget-Titel allgemein */
.widget-title {
  font-family: Helvetica, Arial, sans-serif !important;
  font-size: 17px !important;
  font-weight: normal !important;
  margin-bottom: 10px !important;
  text-transform: none !important;
  text-align: left;
}

/* Jetpack-Suchfeld + Sortierung */
#jetpack-search-filters-3-wrapper .widget-title {
  font-family: Helvetica, Arial, sans-serif !important;
  font-size: 17px !important;
  font-weight: normal;
  text-align: left;
  margin-bottom: 10px;
}

#jetpack-search-filters-3-wrapper .search-field {
  font-family: Helvetica, Arial, sans-serif !important;
  font-size: 17px !important;
  padding: 6px 10px !important;
  width: 100% !important;
  box-sizing: border-box;
  border-radius: 4px;
}

/* =========================================
   📱 MOBILE-STYLES (≤ 768px)
   ========================================= */
@media (max-width: 768px) {
  /* Infobanner */
.custom-banner h3 {
  font-size: 14px !important;
  line-height: 1.2;
  margin: -40px 0 0 10px !important;
	margin-bottom: -50px !important;
}
	
  /* Produktkategorien */
  #woocommerce_product_categories-6 {
   margin-left: 10px !important;
		margin-top: -110px !important;
  }
  #woocommerce_product_categories-6 .widget-title {
    font-size: 14px !important;
    margin-bottom: 5px !important;
  }
	
#woocommerce_product_categories-6 ul.product-categories li .count {
  font-size: 14px !important;
  opacity: 0.8;
}	
  #woocommerce_product_categories-6 ul.product-categories li a {
    font-size: 13px !important;
    line-height:  !important;
  }

	#jetpack-search-filters-3-wrapper h2.widget-title,
#jetpack-search-filters-3-wrapper .widget-title {
  font-family: Helvetica, Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: normal;
	margin-top: -60px !important;
  margin-bottom: 10px;
}

  /* Allgemeine Widget-Titel */
  .widget-title {
    font-size: 12px !important;
    margin-bottom: 8px !important;
    text-align: left !important;
  }

  /* Jetpack-Suchfeld */
  #jetpack-search-filters-3-wrapper .search-field {
    font-size: 12px !important;
		margin-right: 100px !important
  }

  /* Jetpack Sortierung */
  #jetpack-search-filters-3-wrapper label,
  #jetpack-search-filters-3-wrapper select {
    font-family: Helvetica, Arial, sans-serif !important;
    font-size: 14px !important;
  }
}


@media (max-width: 768px) {
  #media_image-5 {
    margin-top: -70px !important; /* rückt das Bild näher an den vorherigen Bereich */
  }
}

/* Seiten-Pagination – mobil kleiner */
@media (max-width: 768px) {
  ul.page-numbers li a,
  ul.page-numbers li span {
    font-size: 12px !important;
  
  }
}

/*auf der lehren und begleiten seite die kategoriecontainer besser darstellen*/

@media (max-width: 1024px) { 
	/* Flexbox für die Produktkategorie-Liste */
  ul.products {
    display: flex;
    flex-wrap: wrap;       /* Kacheln umbrechen, wenn nicht genug Platz */
    gap: 15px !important;             /* Abstand zwischen den Kacheln */
  }
	
	@media (max-width: 1024px) { /* Tablet & kleiner */
  /* Kategorie-Galerie etwas nach oben rücken */
  ul.products {
    margin-top: px !important; /* z.B. 20px nach oben verschieben */
  }
}
	
	
/* Einzelprodukte - Überschrift mobil darüber*/
	/* Einzelprodukt-Seiten: Titel mobil */
@media (max-width: 768px) {
  /* Galerie-Container innenabstand */
  .single-product div.woocommerce-product-gallery {
    padding: 25px !important;   /* Abstand innen */
    max-width: 100% !important; /* verhindert Überschreiten des Bildschirmrandes */
    box-sizing: border-box !important;
		 font-size: 14px !important;
  }

	
/* Box der Galerie und Summary anpassen */
    .single-product div.product {
        display: flex !important;
        flex-direction: column !important; /* alles untereinander */
    }
	
/* Produkt-Titel in Darstellung Einzelprodukt mobil anpassen 
.single-product*/ .product_title.entry-title {
    order: -1 !important; /* ganz nach oben */
    font-family: Helvetica, Arial, sans-serif !important;
    font-size: 15px !important; 
    line-height: 1.2 !important;
    margin-bottom: 20px !important;
    margin-top: 0px !important;
    text-align: left !important; /* oder center, wenn gewünscht */
}

/* mobile verschobener Titel */
.single-product .product .moved-above-gallery,
body.single-product .moved-above-gallery,
.woocommerce div.product .moved-above-gallery {
    font-weight: 400 !important;
    text-align: left !important;
    transition: all 0.3s ease;
}
	

/* Hover-Effekt (muss außerhalb der geschweiften Klammern stehen!) */
.moved-above-gallery:hover {
    color: #5511f8; /* Akzentfarbe */
    transform: scale(1.05); /* leichtes Vergrößern */
}
	
	/* Mobile-Optimierung für Produktbeschreibung & Zusatzinfos */
@media (max-width: 768px) {

    /* Beschreibung (unterhalb von "Beschreibung") */
    .woocommerce-Tabs-panel--description,
    .woocommerce-product-details__short-description,
    .woocommerce-tabs .panel,
    .woocommerce-Tabs-panel p {
        font-size: 14px !important; /* kleinerer Text */
        line-height: 1.4 !important;
    }

    /* Zusätzliche Informationen (wenn du Tab oder Tabelle hast) */
    .woocommerce-Tabs-panel--additional_information,
    .woocommerce-product-attributes-item__value,
    .woocommerce-product-attributes-item__label {
        font-size: 14px !important;
        line-height: 1.3 !important;
    }
}

	/*die preise in der mobilen ansicht der Einzelprodukte etwas größer machen*/
	/* WooCommerce Preisgröße mobil */
@media (max-width: 768px) {
    .woocommerce div.product p.price,
    .woocommerce div.product span.price,
    .woocommerce-Price-amount.amount {
        font-size: 14px !important; /* gewünschte Größe */
        font-weight: 600 !important; /* leicht fett, besser lesbar */
        line-height: 1.3 !important;
			margin-top: 8px !important;
			margin-bottom: 18px !important;
    }
}
	
	/* Einzelprodukte mobil optimieren */
@media (max-width: 768px) {

    /* Gesamte Produktbox Galerie etwas kleiner */
    .single-product div.product {
        display: flex !important;
        flex-direction: column !important;
        padding: 15px !important;
        box-sizing: border-box !important;
        background-color: #fff; /* optional, z. B. weiß */
    }

    /* Galerie-Container grau unterlegen */
    .single-product div.woocommerce-product-gallery {
        padding: 20px !important;
        margin-bottom: 15px; /* Abstand zur nächsten Box */
        max-width: 100% !important;
        box-sizing: border-box !important;
        border-radius: 8px; /* optional: abgerundete Ecken */
        background-color: #f9f9f9; /* leichte Hintergrundfarbe für Galerie */
    }

    /* Summary / Preis / Kaufen-Box */
    .single-product .summary.entry-summary,
    .single-product .woocommerce-variation-add-to-cart,
    .single-product .woocommerce-Price-amount,
    .single-product .product_meta {
        padding: 5px !important;
        margin-bottom: 15px;
        box-sizing: border-box !important;
        background-color: #fefefe; /* leicht abgehobene Box */
        border-radius: 6px;
    }

    /* Tabs / Beschreibung / Zusätzliche Infos */
    .woocommerce-Tabs,
    .woocommerce-Tabs-panel--description,
    .woocommerce-Tabs-panel--additional_information {
        padding: 15px !important;
        margin-bottom: 15px;
        background-color: #fefefe;
        border-radius: 6px;
        font-size: 14px !important;
        line-height: 1.4;
        box-sizing: border-box !important;
    }

    /* Optional: sanfte Schatten für Boxen */
    .single-product .summary.entry-summary,
    .woocommerce-Tabs,
    .woocommerce-Tabs-panel--description,
    .woocommerce-Tabs-panel--additional_information {
        box-shadow: 0 1px 5px rgba(0,0,0,0.05);
    }

    /* Abstand unter dem Kaufen-Button */
    .single-product form.cart {
        margin-bottom: 0px;
    }
}

	/*mobil die related products etwas besser anordnen*/ 
	
@media (max-width: 768px) {
    /* Überschrift normal darstellen */
     .jp-relatedposts h3.jp-relatedposts-headline,
    .jp-relatedposts h3.jp-relatedposts-headline * {
        text-transform: none !important; /* überschreibt wirklich alles */
			font-size: 14px !important; 
        text-align: left; /* optional, falls gewünscht */
    }
}
    /* Abstand zwischen den Vorschau-Items */
    .jp-relatedposts-items {
        display: grid !important;
        grid-template-columns: 1fr !important; /* 1 Spalte mobil */
        gap: 12px !important; /* Abstand zwischen den Items */
    }

    /* Optional: einzelne Items ein klein wenig polstern */
    .jp-relatedposts-items .jp-relatedposts-post {
        padding: 10px !important;
        box-sizing: border-box;
    }
}
	
/* Breadcrumbs mobil bearbeiten - dass man im produkt zur startsteite zurück kann */
.woocommerce-breadcrumb a {
    color: #f2f0fe;        /* Linkfarbe */
    font-weight: 200 !important;
    text-decoration: underline;
}

.woocommerce-breadcrumb a:hover {
    color: #6528f7;         /* Hoverfarbe */
}
	
/* Das Mobile Menü in der  Schriftgröße kleiner machen */
@media (max-width: 768px) {
    /* Alle Menülinks im mobilen Dropdown */
    .main-header-menu li a {
        font-size: 14px !important; /* hier die gewünschte Größe */
    }

    /* Optional: Untermenüpunkte etwas kleiner */
    .main-header-menu li li a {
        font-size: 13px !important;
    }
}
	
	
	/* WARENKORB: Warenkorb aktualisieren mobil verbergen*/
	
.woocommerce-cart .wc-block-cart__update-button,
.woocommerce-cart-form .actions .button[name="update_cart"],
.woocommerce button[name="update_cart"] {
    display: none !important;
}

	

	/* Mobile Ansicht: max-width 768px */
@media (max-width: 768px) {

    /* Warenkorb-Überschrift mobil kleiner */
    .woocommerce-cart h1.entry-title {
        font-size: 18px !important; 
        line-height: 1.3 !important;
    }

    /* Warenkorb-Summe mobil kleiner */
    .woocommerce-cart h2 {
        font-size: 12px !important;
        line-height: 1.3 !important;
        margin-bottom: 8px !important;
    }

    /* Preise in der Tabelle kleiner */
    .woocommerce-cart table.cart td .woocommerce-Price-amount.amount,
    .woocommerce-cart table.shop_table td .woocommerce-Price-amount.amount {
        font-size: 12px !important;
        line-height: 1.2 !important;
    }

	  /* "Weiter zur Kasse" Button kleiner */
    .woocommerce-cart .checkout-button.button {
      font-size: 12px !important; margin-top: -85px !important; padding: 12px 12px !important; 
	}
    }

    /* Stripe / Zahlungs-Elemente: Innenabstand verringern */
    #payment-method-message,
    .wcpay-express-checkout-wrapper {
        padding: 2px 0 !important;
        margin: 2px 0 !important;
    }

    #payment-method-message iframe,
    .wcpay-express-checkout-wrapper iframe {
        height: auto !important; /* Höhe automatisch anpassen */
        min-height: 30px !important; /* optional, kleiner als Standard */
    }	
}
	

/*AGB Hinweis mobil kleiner*/
@media (max-width: 768px) {
    .woocommerce-cart p {
        font-size: 13px !important;
        line-height: 1.4 !important;
    }

    .woocommerce-cart p a {
        font-size: 13px !important;
    }
}
	
	/* Mobile Ansicht: Gutschein & "Warenkorb aktualisieren" ausblenden */
@media (max-width: 768px) {
    .woocommerce-cart table.cart td.actions {
        display: none !important;
    }
}
	
	/* Mobile Ansicht: Mengenfeld kleiner machen */
@media (max-width: 768px) {
    .woocommerce-cart table.cart .quantity .qty {
        font-size: 12px !important;      /* Schrift kleiner */
        width: 40px !important;           /* Breite anpassen */
        padding: 4px !important;          /* Innenabstand verringern */
        height: auto !important;          /* Höhe anpassen */
    }
}
	
		/* Mobile Ansicht: Text unter Warenkorb anpassen */
@media (max-width: 768px) {
  p span {
    font-size: 12px !important;
  }
}
		
/* Nur die Sidebar im Warenkorb auf Mobilgeräten ausblenden – Footer bleibt sichtbar */
@media (max-width: 768px) {
  body.woocommerce-cart #secondary,
  body.woocommerce-cart .sidebar-main,
  body.woocommerce-cart .ast-right-sidebar {
    display: none !important;
  }
}
	
	/* Nur in der mobilen Ansicht */
@media (max-width: 768px) {
  /* Nur das erste Footer-Widget (Text mit Links) */
  .footer-widget-area .widget_text a {
    display: block; /* jeder Link in eigene Zeile */
    margin-bottom: -5px; /* etwas Abstand zwischen den Links */
    line-height: 1; /* etwas mehr Zeilenhöhe */
  }
}
			/* Doppelte Zwischensumme in der Warenkorb-Summe ausblenden */
.woocommerce-cart .cart_totals .cart-subtotal {
  display: none !important;
}
	
	/* Die obere Warenkorb-Tabelle einfärben - in weiß*/
.woocommerce-cart table.shop_table.cart {
    border: 1px solid #5511f8 !important;
    border-collapse: collapse !important;
    border-radius: 1px !important;
    background-color: rgba(255, 255, 255, 0.98) !important;
    overflow: hidden !important;
    margin-bottom: 20px !important;
	padding: 8px
}
	
	.woocommerce-cart table.shop_table.cart {
    border: 0.5px solid #5511f8 !important; /* äußere Umrandung */
    border-radius: 2px !important;
    background-color: rgba(255, 255, 255, 0.96) !important;
    border-collapse: separate !important; /* wichtig für runde Ecken */
    border-spacing: 0; /* keine Lücken zwischen Zellen */
}

  /* Auch die Warenkorb-Summe Box einfärben */
  .woocommerce-cart .cart_totals {
    border: 0.5px solid #5511f8 !important;
    border-radius: 1px !important;
    background-color: rgba(255, 255, 255, 0.96) !important;
    padding: 10px !important;
  }
}

/* Warenkorb-Summe Header wie Teil der Box gestalten */
@media (max-width: 768px) { .woocommerce-cart .cart_totals h2 {
    background-color: #6528f7!important; /* Button-Farbe */
    color: #ffffff; /* Textfarbe */
    padding: 8px 12px;
    border-radius: -2px 6px 0 0; /* obere Ecken abrunden */
    font-size: 1.2em;
	font-weight: light !important; 
	 margin: 0 auto !important;
	margin-bottom: 5px !important;
    display: inline-block; /* passt Größe an Text an */
}
	.woocommerce-cart .cart_totals h2 {
    font: normal 1.1em/1.1em Helvetica, sans-serif !important;
		font-size: 10px !important;
		letter-spacing: 4px;
		text-transform: uppercase !important;}
	

/*Kasse*/
/* ==================== */

/* --- Gutscheinfeld ausblenden --- */
body.woocommerce-checkout .woocommerce-form-coupon-toggle,
body.woocommerce-checkout .woocommerce-info {
  display: none !important;
}

/* --- "Anmerkungen zur Bestellung" ausblenden --- */
body.woocommerce-checkout .woocommerce-additional-fields {
  display: none !important;
}

/* --- Überschriften (H3) normalisieren --- */
body.woocommerce-checkout h3 {
  text-transform: none !important; /* keine Großbuchstaben */
  font-weight: 500 !important;
  font-size: 16px !important;
  color: #444 !important;
  margin-top: 25px !important;
  margin-bottom: 10px !important;
  font-family: "Helvetica", "Arial", sans-serif !important;
	font-weight: 700 !important;
	color: #54595f !important; 
}

/* --- Tabellen-Design (Bestellübersicht) --- */
body.woocommerce-checkout table.shop_table {
  width: 90%;
  border-collapse: collapse;
  background: #f2f0fe !important;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}

body.woocommerce-checkout table.shop_table th,
body.woocommerce-checkout table.shop_table td {
  padding: 15px 10px !important;
  border-bottom: 1px solid #eee !important;
  font-size: 14px;
  text-align: left;
  color: #54595f;
}

body.woocommerce-checkout table.shop_table th {
  background-color: #f2f0fe !important;
  font-weight: 500;
}

body.woocommerce-checkout table.shop_table tr:last-child td {
  border-bottom: none;
}		
	
	
/* --- WooCommerce Checkout: Überschrift "Deine Bestellung" normalisieren --- */
body.woocommerce-checkout #order_review_heading {
  display: block !important;
  float: none !important;         /* entfernt float */
  width: 100% !important;         /* volle Breite */
  text-align: left !important;    /* linksbündig */
  margin: 2px 0 5px 0 !important;  /* etwas Abstand unten */
  font-size: 16px !important;     /* angenehme Größe */
  font-weight: 600 !important;    /* halb-fett */
  text-transform: none !important; /* normale Groß-/Kleinschreibung */
  color: #54595f !important;         /* neutrale Farbe */
  white-space: nowrap !important; /* verhindert Zeilenumbruch */
}

/* --- Rahmen direkt um die Überschrift "Deine Bestellung" entfernen --- */
body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout .wc-gzd-heading-moved,
body.woocommerce-checkout .woocommerce-checkout-review-order h3 {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin-bottom: 15px !important;
}

/* Nur die Bestellübersicht-Tabelle zentrieren */
body.woocommerce-checkout .woocommerce-checkout-review-order table.woocommerce-checkout-review-order-table {
    margin-left: auto !important;
    margin-right: auto !important;
}


/* --- Produktnamen & Preise in der Übersicht --- */
body.woocommerce-checkout .product-name {
  font-size: 12px !important;
  text-transform: none !important;
}
body.woocommerce-checkout .product-total {
  font-size: 12px !important;
}
/* Preis fett darstellen */
.woocommerce-checkout .woocommerce-Price-amount.amount bdi {
    font-weight: bold;
}
/* Alle Produktbilder ausblenden */
.woocommerce-checkout .wc-gzd-cart-item-thumbnail {
    display: none !important;
}

/* Alle SKU-Elemente außer dem ersten ausblenden */
.woocommerce-checkout .wc-gzd-cart-item-name-wrapper small.sku:not(:first-of-type) {
    display: none !important;
}

/* nur die SKU direkt nach dem wc-gzd-cart-item-name-wrapper ausblenden */
.woocommerce-checkout .wc-gzd-cart-item-name-wrapper + br + small.sku {
    display: none !important;
}

.woocommerce-checkout-review-order-table tr.cart-subtotal th,
.woocommerce-checkout-review-order-table tr.cart-subtotal td {
    border-top: 12px solid #ffffff !important;
}
/* Abstand zwischen Titel und SKU */
.woocommerce-checkout .wc-gzd-cart-item-name-wrapper {
    line-height: 1.4;
    margin-bottom: 0.5em;
}

/* Tabelle im Checkout */
.woocommerce-checkout-review-order-table {
    border-collapse: collapse; /* Zellen zusammenführen, damit die Linien sauber sind */
    width: 100%; /* sicherstellen, dass die Tabelle die volle Breite nutzt */
}

/* --- Rahmen & Hintergrund der Bestellübersicht --- */
body.woocommerce-checkout #order_review {
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 15px !important;
}

/* --- Zahlungsarten (Payment Methods) --- */
/* --- Zahlungsarten (Payment Methods) --- */
body.woocommerce-checkout .wc_payment_method {
 padding: 2px 25px;
  background-color: #ffffff;
}

body.woocommerce-checkout .wc_payment_method:hover {
  background-color: #f2f0fe;
}
/* --- Button unten --- */
body.woocommerce-checkout #place_order {
  margin-top: 15px;
  margin-bottom: 30px;
  background-color: #6e32ff !important;
  color:  !important;
  border-radius: 6px;
  padding: 12px 20px;
  font-size: 15px;
  transition: background-color 0.2s ease;
}
body.woocommerce-checkout #place_order:hover {
  background-color: #5511f8 !important;
}

/* --- Checkbox-Texte (AGB etc.) normalisieren --- */
body.woocommerce-checkout p.legal label,
body.woocommerce-checkout p.legal span {
  font-size: 12px !important;
  font-weight: normal !important;
  color: #333 !important;
  line-height: 1.5 !important;
}

/*Kasse mobil*/
/*==================*/
@media (max-width: 768px) {
    /* Gesamt-Innenabstand */
    .woocommerce-checkout form.checkout {
        padding: 15px;
    }

    /* Überschrift linksbündig, Blocksatz aufheben */
    .elementor-widget-container p {
        text-align: left !important;
        margin: 0 0 10px 0;
        font-size: 15px;
    }

    /* Alle Schriftgrößen verkleinern */
    .woocommerce-checkout label,
    .woocommerce-checkout input,
    .woocommerce-checkout select,
    .woocommerce-checkout textarea,
    .woocommerce-checkout th,
    .woocommerce-checkout td {
        font-size: 12px;
    }

	 /* Alle Schriftgrößen verkleinern */
    .woocommerce-checkout label,
    .woocommerce-checkout input,
    .woocommerce-checkout select,
    .woocommerce-checkout textarea,
    .woocommerce-checkout th,
    .woocommerce-checkout td {
        font-size: 12px !important;
    }
	
	/* SKU wieder anzeigen */
    .woocommerce-checkout .wc-gzd-cart-item-name-wrapper + br + small.sku {
        display: inline-block !important;
    }
	
	/* Checkbox-Texte (AGB etc.) kleiner */
    .woocommerce-checkout .wc-gzd-checkbox-placeholder .legal label,
    .woocommerce-checkout .wc-gzd-checkbox-placeholder .legal span {
        font-size: 12px !important;
        font-weight: normal !important;
        color: #333 !important;
        line-height: 1.4 !important;
    }
@media (max-width: 768px) {
    #legal + span.woocommerce-gzd-legal-checkbox-text {
        font-size: 12px !important;
        font-weight: normal !important;
        color: #333 !important;
        line-height: 1.4 !important;
    }
}
	@media (max-width: 1024px) {
    #order_review #order_payment_heading {
        font-size: 16px !important;   /* gewünschte Schriftgröße */
        font-weight: 600 !important;  /* fett */
        line-height: 1.3 !important;
        margin-bottom: 12px !important;
			margin-top: 2px !important;
        display: block !important;    /* falls JS inline display ändert */
    }
}
	
	@media (max-width: 1024px) {
    #order_review_heading {
        font-size: 16px !important;   /* gewünschte Schriftgröße */
        font-weight: 600 !important;  /* fett */
        line-height: 1.3 !important;
        margin-bottom: 12px !important;
        display: block !important;    /* falls JS inline display ändert */
    }
}
	
	
/* Preise in der Bestelltabelle anpassen */
    .woocommerce-checkout .woocommerce-Price-amount {
        font-size: 12px !important;
        font-weight: bold !important;
    }
	
    /* Jetzt kaufen Button zentrieren */
    #place_order {
        display: block;
        margin: 20px auto;
        width: 80%; 
			font-size: 12px !important/* optional */
    }
}

/*Wenn man bei der Kasse nicht die AGB anhakt und die Warnung auftaucht - mobil*/
@media (max-width: 768px) {
  /* Grundlegende Anpassung der Fehlermeldung */
  .woocommerce-error {
    font-size: 13px !important;
    line-height: 1.4 !important;
    padding: 10px 12px !important;
    margin: 10px 0 !important;
    text-decoration: none !important; /* verhindert Unterstreichung */
  }

  /* Das Symbol (❗) etwas nach oben und kleiner */
  .woocommerce-error::before {
    position: relative !important;
    top: -2px !important;
    font-size: 16px !important;
  }

  /* Nur die echten Links (AGB / Widerruf) unterstreichen */
  .woocommerce-error a {
    text-decoration: underline !important;
    color: #333 !important;
  }

  /* Falls WooCommerce den ganzen Text als Link rendert */
  .woocommerce-error li > a:first-of-type {
    text-decoration: none !important;
    pointer-events: none !important; /* deaktiviert "falschen" Link */
    color: inherit !important;
  }
}

/* Mobil kleinerer Warenkorb-Hinweis */
@media only screen and (max-width: 768px) {
    .woocommerce-notices-wrapper .woocommerce-message {
        font-size: 12px !important;   /* kleinere Schrift */
        line-height: 1.3 !important;  /* engerer Zeilenabstand */
        padding: 10px !important;     /* falls der Block zu groß ist */
    }

    /* Optional: Button etwas kleiner machen */
    .woocommerce-notices-wrapper .woocommerce-message a.button {
        font-size: 11px !important;
			margin-top: 12px !important;
        padding: 6px 10px !important;
		
    }
}

/* mobil das wooCommerce-Haken-Icon davor korrekt positionieren */
@media only screen and (max-width: 768px) {
    .woocommerce-notices-wrapper .woocommerce-message::before {
        top: 50%;           /* zentriert das Icon vertikal */
        transform: translateY(-50%); /* genau mittig */
        left: 10px;         /* Abstand vom linken Rand */
        width: 20px;        /* Icon-Größe ggf. anpassen */
        height: 20px;
    }

    .woocommerce-notices-wrapper .woocommerce-message {
        padding-left: 35px !important; /* Platz für das Icon */
    }
}

/* ================= Desktop: Danke-/Bestellseite ================= */

 /* Elementor-Sektion ausblenden */
body.woocommerce-order-received section.elementor-element-70c6edf {
    display: none !important;
}

/* Dankestext: größer, zentriert, Häkchen davor, Linie darunter */
body.woocommerce-order-received p.woocommerce-thankyou-order-received {
    font-size: 24px !important;
    font-weight: 500 !important;
    color: #333333 !important;
    line-height: 1.4 !important;
    text-align: center !important;
    margin: 60px 0 40px 0 !important;
    position: relative !important;
}

body.woocommerce-order-received p.woocommerce-thankyou-order-received::before {
    content: "✓ " !important;
    color: #cc99ff !important;
    font-weight: bold !important;
    margin-right: 8px !important;
}

body.woocommerce-order-received p.woocommerce-thankyou-order-received::after {
    content: "" !important;
    display: block !important;
    width: 80% !important;
    height: 1px !important;
    background-color: #e0d9f0 !important;
    margin: 15px auto 0 !important;
}

/* Überschriften in Tabellen / Blöcken: nicht in Großbuchstaben */
.woocommerce-order-received h2.woocommerce-order-details__title,
.woocommerce-order-received h2.woocommerce-column__title,
.woocommerce-order-downloads__title {
    text-transform: none !important;
    font-size: 14px !important;
}

/* Download-Tabelle: Kopfzeile wie Hintergrund, linksbündig */
.woocommerce-order-received table.woocommerce-table--order-downloads thead th {
    background-color: #ffffff !important;
    text-align: left !important;
}

/* Order Overview / Übersicht Bestelldetails */
.woocommerce-order-overview__order,
.woocommerce-order-overview__date,
.woocommerce-order-overview__email,
.woocommerce-order-overview__total,
.woocommerce-order-overview__payment-method {
    font-family: Helvetica, sans-serif !important;
    font-size: 13px !important;
    color: #000 !important;
}

/* Download-Tabelle: Farben und Linien */
.woocommerce-table--order-downloads,
.woocommerce-table--order-downloads th,
.woocommerce-table--order-downloads td {
    background-color: #ffffff !important;
    color: #000 !important;
    border-color: #dddddd !important;
}

.woocommerce-order-downloads .woocommerce-table--order-downloads {
    width: 100% !important;
    margin: 0 !important;
    border-spacing: 0 !important;
    border-collapse: collapse !important;
}

/* Tabellenkopf: Padding & Schrift */
.woocommerce-order-downloads .woocommerce-table--order-downloads th,
.woocommerce-order-downloads .woocommerce-table--order-downloads td {
    padding: 10px 15px !important;
    text-transform: none !important;
    font-weight: 600 !important;
    border-bottom: 1px solid #ddd !important;
}

/* Download-Button Schrift */
.woocommerce-MyAccount-downloads-file.button {
    text-align: center !important;
    text-transform: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
}

/* Tabellenbereich Bestelldetails */
.woocommerce-order-details .woocommerce-table--order-details {
    width: 100% !important;
    margin: 0 !important;
    border-spacing: 0 !important;
    border-collapse: collapse !important;
}

/* Produktmenge normal anzeigen */
.woocommerce-table--order-details .product-quantity,
.woocommerce-table--order-details .woocommerce-Price-amount bdi {
    font-weight: 400 !important;
}

/* Überschriften Bestelldetails ohne Hintergrund */
.woocommerce-order-details__title {
    background-color: transparent !important;
}

/* Rechnungsadresse hellgrau */
.woocommerce-customer-details address {
    background-color: #f2f2f2 !important;
}

/* Alle Überschriften hellgrau */
.woocommerce-order-details__title,
.woocommerce-order-downloads__title,
.woocommerce-column__title {
    background-color: #f2f2f2 !important;
    padding: 10px !important;
    margin-top: 0 !important;
}

/* Download-Titel kleiner darstellen */
.woocommerce-order-downloads__title {
    font-size: 16px !important;
    font-weight: 400 !important;
    margin-bottom: 10px !important;
    color: #222 !important;
    background-color: transparent !important;
}

/* Order Overview: Labels nur erstes Wort groß */
.woocommerce-order-overview li {
    text-transform: capitalize !important;
}

/* Order Overview: Werte kleiner & normal */
.woocommerce-order-overview li strong,
.woocommerce-order-overview li strong * {
    font-size: 14px !important;
    font-weight: 400 !important;
}

/* Logo in Zahlungsmethode */
.woocommerce-order-overview__payment-method img {
    height: 20px !important;
    width: auto !important;
    margin-right: 5px !important;
}

/* Button "Erneut bestellen" */
.woocommerce .order-again .button {
    background-color: #f2f0fe !important;
    color: #000 !important;
    border: 2px solid #5511f8 !important;
    border-radius: 8px !important;
    padding: 10px 20px !important;
}

/* Button Hover-Effekt */
.woocommerce .order-again .button:hover {
    background-color: #e0dcfa !important;
    color: #000 !important;
    border-color: #5511f8 !important;
}

body.woocommerce-order-received {
    font-family: Helvetica, Arial, sans-serif !important;
}

/* Download-Tabelle: Schrift normal, kein fett */
.woocommerce-order-downloads .woocommerce-table--order-downloads,
.woocommerce-order-downloads .woocommerce-table--order-downloads td,
.woocommerce-order-downloads .woocommerce-table--order-downloads th,
.woocommerce-order-downloads .woocommerce-table--order-downloads td strong,
.woocommerce-order-downloads .woocommerce-table--order-downloads th strong {
    font-family: inherit !important;   /* Helvetica */
    font-weight: 400 !important;       /* normales Gewicht */
}

/* Überschrift "Bestelldetails" ohne grauen Hintergrund */
.woocommerce-order-details__title {
    background-color: transparent !important;
}

/* ================= mobil: Danke-/Bestellseite */

@media (max-width: 768px) {
    body.woocommerce-order-received {
			font-size: 12px !important;       /* etwas kleinere Schrift */
        padding-left: 25px !important;    /* Abstand vom Rand links */
        padding-right: 25px !important;   /* Abstand vom Rand rechts */
    }

    /* Optional: Tabellen und Download-Buttons anpassen */
    .woocommerce-order-details .woocommerce-table--order-details,
    .woocommerce-order-downloads .woocommerce-table--order-downloads {
        width: 100% !important;
    }

    /* Download-Buttons Textgröße kleiner */
    .woocommerce-MyAccount-downloads-file.button {
        font-size: 13px !important;
    }
}
/*Überschrift noch etwas kleiner*/ 
@media (max-width: 768px) {
    body.woocommerce-order-received p.woocommerce-thankyou-order-received {
        font-size: 16px !important; /* noch kleiner für Smartphones */
    }
}

/* Überschrift Tablet relational dazu ================= */
@media (max-width: 1024px) and (min-width: 769px) {
    body.woocommerce-order-received p.woocommerce-thankyou-order-received {
        font-size: 20px !important; /* etwas kleiner für Tablets */
    }
}

/* sowie Innenabstand Tablet noch etwas größer als beim Smartphone*/
@media (max-width: 1024px) and (min-width: 769px) {
    /* Dankestext kleiner */
    body.woocommerce-order-received p.woocommerce-thankyou-order-received {
        font-size: 20px !important;
    }
	
	/* Innenabstand für Tabellen & Blöcke */
    body.woocommerce-order-received .woocommerce-order-details,
    body.woocommerce-order-received .woocommerce-order-downloads,
    body.woocommerce-order-received .woocommerce-customer-details {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    /* Bestellübersicht (ul) Abstand */
    body.woocommerce-order-received ul.woocommerce-order-overview {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    /* Info-Text unter "Vielen Dank..." */
    body.woocommerce-order-received p[style*="margin-top:20px"] {
        padding-left: 20px !important;
        padding-right: 20px !important;
        font-size: 14px !important; /* optional kleiner für Tablet */
        line-height: 1.5 !important;
    }
}

/*transparenten Header mobil unter das Menü legen*/
/* Alle WooCommerce-Inhaltsbereiche unter den Header legen */
.ast-mobile-header-wrap,
.ast-mobile-popup-inner,
.ast-mobile-popup-content {
  position: relative;
  z-index: 99999 !important;
  pointer-events: auto !important;
}
	
/*finale CSS Anpassung der Seite Home - v.a. für tablet und smartphone modus*/

/* ========== HOME SEITE – Textkorrekturen & Layout fix ========== */
/* Desktop Blocksatz für Spalten 1 & 3 */
@media (min-width: 1025px) {
  .elementor-element-625cd4b,
  .elementor-element-37d89c5 {
    text-align: justify !important;
    hyphens: auto !important;
  }
}


/* Tablet gleiche Breiten & Ausrichtung */
@media (max-width: 1024px) and (min-width: 769px) {
  .elementor-element-907102f,
  .elementor-element-c60bd5c,
  .elementor-element-cf735e4 {
    width: 33.33% !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .elementor-element-625cd4b,
  .elementor-element-37d89c5 {
    text-align: justify !important;
  }

  .elementor-element-d4c3fb4 {
    text-align: center !important; /* „Jetzt loslegen!“ mittig halten */
  }
}

/* Smartphone: Blocksatz & Silbentrennung für Textblock "67c76e30" */
@media (max-width: 768px) {
  .elementor-element-67c76e30 p {
    text-align: justify !important;
    hyphens: auto !important;
    -webkit-hyphens: auto !important;
    -ms-hyphens: auto !important;
  }
}
/* Smartphone: Blocksatz & Silbentrennung für rechte Spalte auf der Startseite */
@media (max-width: 768px) {
  /* 1. Textblock "medienkunde.digital richtet sich speziell an ..." */
  .elementor-element-2774ff4f p {
    text-align: justify !important;
    hyphens: auto !important;
    -webkit-hyphens: auto !important;
    -ms-hyphens: auto !important;
  }

  /* 2. Textblock mit Aufzählungspunkten (– benutzungsfreundlich usw.) */
  .elementor-element-5416a93 p,
  .elementor-element-5416a93 span {
    text-align: justify !important;
    hyphens: auto !important;
    -webkit-hyphens: auto !important;
    -ms-hyphens: auto !important;
		font-size: 12px !important; 
  }
}

@media (max-width: 768px) {
  .elementor-element-79361a5 p {
    text-align: justify !important;
    hyphens: auto !important;
    -webkit-hyphens: auto !important;
    -ms-hyphens: auto !important;
  }
}


/* 📱 Nur Smartphone: Korrektur der drei Spalten in der Section "Zukunft im Fokus" */
@media (max-width: 767px) {

  /* Container richtig stapeln und mittig ausrichten */
  .elementor-element-48020b6 .elementor-container {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }
	
	.elementor-element-48020b6 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

 /* Falls das Padding auf dem inneren Container liegt */
  .elementor-element-48020b6 .elementor-container,
  .elementor-element-48020b6 .elementor-widget-wrap {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Text-Container: Blocksatz und Silbentrennung */
  .elementor-element-625cd4b p,
  .elementor-element-37d89c5 p {
    text-align: justify !important;
    hyphens: auto !important;
    -webkit-hyphens: auto !important;
    -ms-hyphens: auto !important;
  }

  /* Überschriften bleiben mittig */
  .elementor-element-3c8d0ef h2,
  .elementor-element-7cc5c58 h2 {
    text-align: center !important;
  }
  /* Spalten noch einmal sauber mittig halten */
  .elementor-element-48020b6 .elementor-column {
    width: 100% !important;
    margin: 0 auto 2rem auto !important;
  }
	
	/* Der Call-to-Action "Jetzt loslegen" bleibt mittig */
  .elementor-element-d4c3fb4 p {
    text-align: center !important;
    margin-top: 1rem !important;
  }
/* Schriftgröße für "Jetzt loslegen!" erhöhen */
.elementor-element-d4c3fb4 .elementor-widget-container p span strong {
  font-size: 16px !important;
  line-height: 1.3 !important;
  display: inline-block;
}
@media (max-width: 767px) {
  .elementor-element-9bb7b58 .elementor-widget-container p {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }
}

/* ====== ABOUT-SEITE (ID 545) ====== */

/*Desktop sieht OK aus - nur mobile Ansicht verbessern - beginnend oben beim Video-Teil*/
	
/* Tablet & Smartphone: Blocksatz + Zentrierung für diesen Container */
.elementor-element-8d0f3b2 .elementor-widget-container p {
    text-align: justify !important;      /* Blocksatz */
    hyphens: auto !important;            /* Silbentrennung */
    -webkit-hyphens: auto !important;
    -ms-hyphens: auto !important;
    margin-left: auto !important;  
	text-align: center !important;
	/* Zentrierung innerhalb Container */
    margin-right: auto !important;
    max-width: 100% !important;          /* keine unnötige Breite */
}	
	
/* Blocksatz + Silbentrennung + zentriert für Textblock unter Video */
.elementor-element-708ddb4 p {
    text-align: justify !important;      /* Blocksatz erzwingen */
    hyphens: auto !important;            /* Silbentrennung */
    -webkit-hyphens: auto !important;
    -ms-hyphens: auto !important;
    margin-left: auto !important;  
	text-align: center !important;
	/* zentriert innerhalb Container */
    margin-right: auto !important;
    max-width: 100% !important;
}
	
/* bildungspolitische Verankerung - Blocksatz */
	/* Blocksatz nur auf Smartphones für die Texte in der Spalte 0e1fdf5 */
@media (max-width: 767px) {
  .elementor-element-0e1fdf5 .elementor-widget-text-editor p {
    text-align: justify !important;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    word-break: break-word;
  }
}
	
	@media (max-width: 767px) {
  .elementor-element-c0bc549 .elementor-widget-text-editor p {
    text-align: justify !important;
		font-size: 14px !important;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    word-break: break-word;
  }
}
		@media (max-width: 767px) {
  /* gesamte innere Spalte, in der der Text sitzt */
  .elementor-element.elementor-element-c0bc549,
  .elementor-element.elementor-element-c0bc549 > .elementor-widget-wrap,
  .elementor-element.elementor-element-c0bc549 > .elementor-widget-wrap > .elementor-element,
  .elementor-element.elementor-element-8f779b7,
  .elementor-element.elementor-element-8f779b7 > .elementor-widget-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Textausrichtung + Silbentrennung */
  .elementor-element.elementor-element-8f779b7 p {
    text-align: justify !important;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    word-break: break-word;
  }
}
	
	
	@media (max-width: 767px) {
  .elementor-element-3817bf2 .elementor-widget-container p {
    text-align: justify !important;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    word-break: break-word;
  }
}
	@media (max-width: 767px) {
  .elementor-element-1cedfa0 .elementor-widget-container p {
    text-align: justify !important;
		font-size: 11px !important;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    word-break: break-word;
  }
}

/* smartphone - größen in den Kontaktformular-Einfühurngstexten anpassen*/
	/* Smartphone: Einheitliche Formatierung für die beiden Textblöcke über den Formularen */
@media only screen and (max-width: 767px) {
  .elementor-element-d44cbf0 {
    width: 100% !important;
    max-width: 100% !important;
  }

  .elementor-element-d44cbf0 .elementor-widget-container p {
    text-align: justify !important;  /* Blocksatz */
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}
	@media only screen and (max-width: 767px) {.elementor-element-90a77ca {
    width: 100% !important;
    max-width: 100% !important;
  }
	
@media only screen and (max-width: 767px) {
  .elementor-element-90a77ca .elementor-widget-container {
    width: calc(100% - 12px) !important; /* 12px weniger Breite */
    margin-left: 6px !important;  /* gleichmäßige Einrückung */
    margin-right: 6px !important;
  }
}
		
/*Finales Anpassen der SHop-Seiten*/
/*Blicksatz auf FAQ und Kontakt Smartphoneansicht*/
		/* BLOCKSATZ – nur auf Smartphone, nur Seite 546 */
@media (max-width: 767px) {
    .page-id-546 .elementor-widget-text-editor,
    .page-id-546 .elementor-widget-text-editor p,
    .page-id-546 .elementor-widget-text-editor li,
    .page-id-546 .elementor-icon-box-description,
    .page-id-546 .elementor-heading-title {
        text-align: justify !important;
    }
}

		/* Smartphone: Schriftgröße im Impressum anpassen (page-id-6105) */
@media (max-width: 767px) {
    .page-id-6105 p,
    .page-id-6105 li,
    .page-id-6105 .elementor-widget-text-editor,
    .page-id-6105 .elementor-widget-text-editor p,
    .page-id-6105 .elementor-widget-text-editor li,
    .page-id-6105 .elementor-heading-title {
        font-size:  12px !important;
        line-height: 1.4 !important;
			margin-top: -10px
				text-transform: none !important;
    }
}
		
	/* Smartphone: Datenschutz – Schriftgröße + keine Großbuchstaben */
@media (max-width: 767px) {
    .page-id-6113 p,
    .page-id-6113 li,
    .page-id-6113 .elementor-widget-text-editor,
    .page-id-6113 .elementor-widget-text-editor p,
    .page-id-6113 .elementor-widget-text-editor li,
    .page-id-6113 .elementor-heading-title {
        font-size: 12px !important;
        line-height: 1.5 !important;
        text-transform: none !important; /* KEINE Großbuchstaben */
			text-align: justify !important; /* Blocksatz */
        hyphens: auto;                 /* Silbentrennung */
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
    }
}
		
		@media (max-width: 767px) {
    .page-id-6138 p,
    .page-id-6138 li,
    .page-id-6138 .elementor-widget-text-editor,
    .page-id-6138 .elementor-widget-text-editor p,
    .page-id-6138 .elementor-widget-text-editor li {
        text-align: justify !important; /* Blocksatz */
			font-size: 12px !important;
        hyphens: auto;                 /* Silbentrennung */
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
    }
}
		
/* --- Seite 6146 Widerruf --- */
/* Tablet (768px bis 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .page-id-6146 * {
        font-size: 15px !important;         /* Schriftgröße */
        text-align: justify !important;     /* Blocksatz */
        hyphens: auto !important;           /* Silbentrennung */
        word-break: normal !important;      /* Zeilenumbruch korrekt */
        line-height: 1.6 !important;        /* Optional für bessere Lesbarkeit */
    }
}


/* Smartphone (max-width: 767px) */
@media (max-width: 767px) {
    .page-id-6146 p,
    .page-id-6146 span,
    .page-id-6146 a,
    .page-id-6146 li {
        text-align: justify !important;  /* Blocksatz */
        hyphens: auto !important;        /* Silbentrennung */
        word-break: normal !important;
        font-size: 12px !important;      /* Schriftgröße für Smartphone */
			line-height: 1.6 !important;
    }
}
		
/* Haftungsausschluss*/
		/* Tablet (768px bis 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .page-id-7957 * {
        font-size: 15px !important;         /* Schriftgröße */
        text-align: justify !important;     /* Blocksatz */
        hyphens: auto !important;           /* Silbentrennung */
        word-break: normal !important;      /* Zeilenumbruch korrekt */
        line-height: 1.6 !important;        /* Optional für bessere Lesbarkeit */
    }
}

/* Smartphone (max-width: 767px) */
/* Smartphone (max-width: 767px) */
@media (max-width: 767px) {
    .page-id-7957 p,
    .page-id-7957 span,
    .page-id-7957 a,
    .page-id-7957 li,
    .page-id-7957 div.elementor-text-editor,
    .page-id-7957 .elementor-widget-container {
        font-size: 12px !important;
        text-align: justify !important;  /* erzwingt Blocksatz */
        hyphens: auto !important;        /* Silbentrennung */
        word-break: normal !important;
        line-height: 1.6 !important;
    }
}
		
		
/* ============================= */
/* Desktop Checkout Page 8846 */
/* Desktop Checkout Page 8846 */
body.page-id-8846 #order_review_heading {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    color: #54595f !important;
    margin-top: 25px !important;
    margin-bottom: 10px !important;
    font-family: Helvetica, Arial, sans-serif !important;
}

/* Elterncontainer auf volle Breite */
body.page-id-8846 #payment {
    width: 100% !important;
    float: none !important;
    display: block !important;
}

/* Desktop: Bestellüberschrift linksbündig */
body.page-id-8846 #order_review_heading {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    color: #54595f !important;
    margin-top: 25px !important;
    margin-bottom: 10px !important;
    font-family: Helvetica, Arial, sans-serif !important;
}
		
/*side-Warenkorb im Smartphone: Beträge und Anzahl der Produkte auf eine Linie setzen*/
@media only screen and (max-width: 768px) {
  .woocommerce-mini-cart .quantity {
    display: inline-flex;
    align-items: baseline; /* sorgt dafür, dass Zahl und Preis auf derselben Basislinie sitzen */
    gap: 0.2em;
  }

/*Smartphone Startseite Zukunft im fokus und perspektiven für morgen anpassen*/
@media only screen and (max-width: 767px) {
    .elementor-element-625cd4b {
        display: block !important;
        text-align: center !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .elementor-element-625cd4b p {
        text-align: center !important;
			 text-align: justify !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}
/*sowie den text darunter/ daneben - Perspektiven für morgen*/	
	
@media only screen and (max-width: 767px) {
    /* Nur Smartphones */
    .elementor-element-37d89c5 {
        display: block !important;
        text-align: center !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .elementor-element-37d89c5 p {
        text-align: justify !important;
        text-align-last: left !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}
	
/*404*/
/* ================= 404-Seite: Hauptüberschrift ================= */
.error404 .page-header .page-title {
    font-family: Helvetica, Arial, sans-serif !important;
    font-weight: 500 !important; 
    text-transform: none !important; /* normale Groß-/Kleinschreibung */
    line-height: 1.3 !important;
    margin-bottom: 20px !important;
    text-align: center !important;
}


