:root {
    --bg-color: #ffffff;
    --text-color: #202124;
    --secondary-text-color: #5f6368;
    --link-color: #1a0dab;
    --border-color: #dadce0;
    --card-bg: #ffffff;
    --hover-bg: #f8f9fa;
    --font-family: 'Google Sans', Roboto, Arial, sans-serif;
}

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

a {
    color: var(--link-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Topbar */
.topbar {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
}

.topbar-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
    font-size: 22px;
    text-decoration: none;
    font-family: 'Product Sans', Arial, sans-serif;
}

.brand img {
    height: 30px;
    width: auto;
}

.brand-title {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-title strong {
    font-size: 18px;
    font-weight: 400;
}

.brand-title span {
    color: var(--secondary-text-color);
    font-size: 14px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero / Header Image */
.hero {
    display: block;
    text-align: center;
    margin: 20px 0;
}

.img-fluid {
    max-width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: contain;
}

/* Text Box (Info Box) */
.text-box {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-color);
}

.text-box h2 {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 12px;
    color: var(--text-color);
}

.text-box p {
    color: var(--secondary-text-color);
    margin-bottom: 8px;
    font-size: 14px;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    padding: 10px 0;
}

/* Card */
.card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    background: var(--card-bg);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.card:hover {
    box-shadow: 0 1px 6px rgba(32,33,36,0.28);
    border-color: transparent;
    text-decoration: none;
    z-index: 1;
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.card-img-top {
    width: 100%;
    height: 180px;
    object-fit: contain;
    padding: 16px;
    background: #fff;
    border-bottom: 1px solid #f1f3f4;
}

.card-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 16px;
    color: #1a0dab;
    margin: 0 0 4px 0;
    font-weight: 400;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-title:hover {
    text-decoration: underline;
}

.preis {
    font-size: 14px;
    color: var(--text-color);
    font-weight: 700;
    margin-top: auto;
    padding-top: 8px;
}

/* Pagination */
.btn-group {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.btn {
    background: #f8f9fa;
    border: 1px solid transparent;
    color: #3c4043;
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    font-family: var(--font-family);
    font-weight: 500;
}

.btn:hover {
    background: #f1f3f4;
    border-color: #dadce0;
    color: #202124;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
    text-decoration: none;
}

.btn.disabled {
    color: #70757a;
    cursor: default;
    background: transparent;
    border: 1px solid transparent;
}

.footer {
    text-align: center;
    padding: 40px 0;
    color: var(--secondary-text-color);
    font-size: 14px;
    border-top: 1px solid var(--border-color);
    margin-top: 40px;
    background: #f2f2f2;
}

.imprint-link {
    color: #70757a;
    margin: 0 10px;
    text-decoration: none;
}

.imprint-link:hover {
    color: #3c4043;
}

