/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/
/* GeneratePress Site CSS */ 
.home.full-width-content .inside-article {
	background: none;
}

/* Custom header */
.site-header button.wp-block-search__button {
	border: 1px solid var(--accent);
    margin-left: 0;
    border-radius: 0 5px 5px 0;
	overflow:hidden;
	padding:10px;
	background-color:var(--accent);
	color:var(--dark-blue);
}

.site-header #wp-block-search__input-1 {
    border-radius: 5px 0 0 5px;
	border: 1px solid var(--accent);
}

.site-header .wc-block-product-search .wc-block-product-search__button {
    background-color: var(--accent);
    color: var(--dark-blue);
    margin-left: 0;
}
.site-header .wp-block-search {
    flex: 1;
}
/* General styles */
.woocommerce ul.products li.product, .woocommerce ul.products {
    margin-bottom: 0;
} /* End GeneratePress Site CSS */
.main-navigation .main-nav ul ul li a {
  
    white-space: nowrap;
}

.main-navigation ul ul {
	width: 230px;
}

h2.intro {
    font-family: PT Sans, sans-serif;
    font-size: 17px;
	 font-weight: bold; 
    color: #1e73be;           /* Schriftfarbe */
   line-height: 1.7;
}

/* Container für die Artikel */
.artikel-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Abstand zwischen den Artikeln */
    justify-content: space-between;
}

/* Einzelner Artikel */
.artikel-item {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    max-width: calc(33.333% - 20px); /* Für 3 Spalten auf großen Bildschirmen */
    flex: 1 1 calc(33.333% - 20px);
    text-align: center;
    transition: box-shadow 0.3s ease;
}

.artikel-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Bild */
.artikel-bild img {
    width: 100%;
    height: auto;
    display: block;
}

/* Titel */
.artikel-titel {
    font-size: 1.2em;
    margin: 15px 10px 10px;
    color: #333;
    text-decoration: none;
}

/* Teaser-Text */
.artikel-teaser {
    font-size: 0.9em;
    color: #666;
    margin: 0 10px 15px;
}

/* "Mehr in der Kategorie"-Button */
.mehr-button-container {
    text-align: center;
    margin-top: 20px;
}

.mehr-button {
    display: inline-block;
    background: #0073aa;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1em;
    transition: background 0.3s ease;
}

.mehr-button:hover {
    background: #005b88;
}

/* Rahmen um die Artikel */
.artikel-rahmen {
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    background-color: #f9f9f9;
}

/* Überschrift über den Artikeln */
.artikel-überschrift {
    font-size: 1.5em;
    text-align: center;
    margin-bottom: 20px;
    color: #3c4e65;
}

/* Button unter den Artikeln */
.mehr-button-container {
    text-align: center;
    margin-top: 20px;
}

.mehr-button {
    display: inline-block;
    background: #0073aa;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1em;
    transition: background 0.3s ease;
}

.mehr-button:hover {
    background: #005b88;
}
/* --- RESPONSIVE DESIGN --- */

/* Tablets: Zwei Spalten */
@media (max-width: 1024px) {
    .artikel-item {
        max-width: calc(50% - 20px); /* Zwei Artikel nebeneinander */
        flex: 1 1 calc(50% - 20px);
    }
}

/* Smartphones: Eine Spalte */
@media (max-width: 768px) {
    .artikel-item {
        max-width: 100%; /* Ein Artikel pro Zeile */
        flex: 1 1 100%;
    }
}

.section {
    background-color: #f0f8ff; /* Helles Blau für einen dezenten Hintergrund */
    border: 1px solid #dce7f1; /* Dünne, passende Umrandung */
    border-radius: 8px; /* Abgerundete Ecken für einen modernen Look */
    padding: 15px; /* Innenabstand für Lesbarkeit */
    margin-bottom: 20px; /* Abstand zwischen den Abschnitten */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* Leichter Schatten für Tiefe */
    transition: transform 0.2s ease, box-shadow 0.2s ease; /* Sanfte Übergänge bei Interaktion */
}

.section:hover {
    transform: scale(1.02); /* Leichte Vergrößerung bei Hover-Effekt */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Verstärkter Schatten bei Hover */
}

.section h2 {
    margin-top: 0; /* Entfernt den Standardabstand oben */
    font-size: 1.5em; /* Größere, auffällige Überschrift */
    color: #005bb5; /* Starke Farbe passend zum Gesamtdesign */
}

.section p {
    margin-bottom: 0; /* Vermeidet zusätzlichen Abstand unter dem Text */
    color: #333; /* Lesbare Textfarbe */
    line-height: 1.6; /* Angenehme Lesbarkeit */
}

  .wp-block-woocommerce-product-categories {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
  }
  .wp-block-woocommerce-product-categories h2 {
    color: #333;
  }
  .drive-type-link {
    color: #0071a1;
    text-decoration: none;
    font-weight: bold;
}

.drive-type-link:hover {
    text-decoration: underline;
}

/* Allgemeine Container */
.woocommerce-startseite-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    font-family: Arial, sans-serif;
}

/* Hero-Bereich */
.hero-section {
    background: #f4f4f4;
    padding: 4rem 2rem;
    margin-bottom: 2rem;
    text-align: center;
}
.hero-section .hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.hero-section .hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
.btn-cta {
    background-color: #008cba;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 3px;
    text-decoration: none;
}
.btn-cta:hover {
    background-color: #006b92;
}

/* Filter-Bereich */
.filter-section {.full-width-content 
    background: #ffffff;
    padding: 1.5rem;
    border: 1px solid #ddd;
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1rem;
}
.filter-section label {
    font-weight: bold;
    margin-right: 0.5rem;
}
.filter-section select,
.filter-section input[type="number"] {
    padding: 0.5rem;
    margin-right: 1rem;
    border: 1px solid #ccc;
    border-radius: 3px;
    width: auto;
}
.btn-filter {
    background-color: #008cba;
    color: #fff;
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}
.btn-filter:hover {
    background-color: #006b92;
}


.full-width-content .container.grid-container {
    max-width: 1200px;
}
#content {
     max-width:  1200px;

}

