/* =============================================
   kaufhier.de — Eigenes CSS
   Design: Lila Header (#7f5ca3), wie aktuelle WP-Seite
   Font: Roboto
   ============================================= */

/* === RESET & VARIABLES === */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary:     #7f5ca3;
    --primary-dark: #6b4a8f;
    --primary-light:#a790c0;
    --primary-bg:  rgba(127,92,163,0.08);
    --white:       #ffffff;
    --off-white:   #f5f7f8;
    --bg-alt:      #f4f4f4;
    --text:        #333333;
    --text-heading:#485156;
    --text-muted:  #626262;
    --text-light:  #a8a8a8;
    --border:      #ebebeb;
    --success:     #10b981;
    --warning:     #f59e0b;
    --footer-bg:   #f5f7f8;
    --shadow-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    --shadow:      0 4px 16px rgba(0,0,0,.10);
    --shadow-lg:   0 10px 40px rgba(0,0,0,.14);
    --radius:      8px;
    --radius-sm:   5px;
    --transition:  0.2s ease;
    --container:   1060px;
}

html { scroll-behavior: smooth; }
body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    font-size: 14px;
    letter-spacing: 0.5px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* === CONTAINER === */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 { color: var(--text-heading); font-weight: 700; }
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }
h5 { font-size: 0.9rem; font-weight: 400; }
p  { color: var(--text-muted); }

/* === BUTTONS === */
.btn {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .65rem 1.4rem; border-radius: var(--radius-sm);
    font-weight: 500; font-size: .9rem;
    transition: all var(--transition); white-space: nowrap;
    letter-spacing: 0.5px; text-transform: none;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { border: 2px solid rgba(255,255,255,.5); color: var(--white); }
.btn-outline:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,.1); }

/* Deaktivierte Buttons — Login/Registrieren solange Portal noch nicht live ist */
.btn-disabled {
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.45);
    border: 2px solid rgba(255,255,255,.15);
    cursor: not-allowed;
    pointer-events: none;
    user-select: none;
}
.btn-disabled:hover {
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.45);
    transform: none;
    box-shadow: none;
}
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { background: #f0f0f0; color: var(--primary-dark); }
.btn-ghost { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-ghost:hover { background: var(--primary); color: var(--white); }
.btn-lg { padding: .85rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: .4rem 1rem; font-size: .8rem; }

/* === HEADER === */
.site-header {
    background: var(--primary);
    position: sticky; top: 0; z-index: 100;
    box-shadow: 0 2px 20px rgba(0,0,0,.2);
}
.header-inner {
    display: flex; align-items: center; gap: 1.5rem;
    padding-top: .5rem; padding-bottom: .5rem;
}

/* Logo */
.site-logo { display: flex; align-items: center; flex-shrink: 0; }
.site-logo img { height: 50px; width: auto; }
/* text logo fallback */
.logo-text { font-size: 1.5rem; font-weight: 700; color: var(--white); letter-spacing: -.5px; }
.logo-accent { color: #e0d4ef; }
.logo-sub { font-size: .6rem; color: rgba(255,255,255,.5); font-weight: 400; letter-spacing: .05em; text-transform: uppercase; margin-left: .5rem; }

/* Nav */
.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: .15rem; }
.nav-link {
    display: block; padding: .5rem .7rem;
    color: rgba(255,255,255,.9); font-size: .95rem; font-weight: 400;
    border-radius: var(--radius-sm); transition: all var(--transition);
    letter-spacing: 0;
}
.nav-link:hover, .nav-link.active { color: #fff; background: rgba(255,255,255,.12); }
.nav-cta { margin-left: .25rem; }
.nav-cta .btn { font-size: .85rem; padding: .45rem 1rem; }
.dropdown-arrow { font-size: .7rem; opacity: .7; }

/* Nav Toggle (Mobile) */
.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    width: 28px; padding: 4px 0;
}
.nav-toggle span { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: all .3s; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown-menu {
    display: none; position: absolute; top: calc(100% + .5rem);
    left: 50%; transform: translateX(-50%);
    background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow-lg); padding: 1rem; min-width: 560px; z-index: 200;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .25rem; }
.dropdown-grid a {
    display: flex; align-items: center; gap: .5rem;
    padding: .45rem .65rem; border-radius: var(--radius-sm);
    font-size: .85rem; color: var(--text); transition: background var(--transition);
}
.dropdown-grid a:hover { background: var(--primary-bg); color: var(--primary); }
.dropdown-grid .cat-icon { font-size: 1.1rem; }
.dropdown-all {
    grid-column: 1 / -1; display: flex; flex-direction: column; gap: .1rem;
    padding: .65rem; margin-bottom: .5rem;
    background: var(--primary-bg); border-radius: var(--radius-sm);
    text-align: center;
}
.dropdown-all strong { color: var(--primary); font-size: .95rem; }
.dropdown-all span { font-size: .8rem; color: var(--text-muted); }

/* =============================================
   KAUFHIER.DE — Original Layout (BeTheme Replica)
   ============================================= */

/* Override default section padding for kh-* sections */
section.kh-section { padding: 80px 0; }
section.kh-hero { padding: 0; }

/* HERO mit "Kauf hier" Text */
.kh-hero {
    width: 100%;
    min-height: 90vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.kh-hero__words {
    position: absolute;
    left: clamp(20px, 8vw, 100px);
    top: 165px;
    display: flex;
    flex-direction: column;
    line-height: 160px;
    user-select: none;
}
.kh-hero__word {
    font-size: 160px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -5px;
    text-shadow: 0 4px 20px rgba(0,0,0,.25);
}

/* Generische Sections im kaufhier.de Style */
.kh-section {
    padding: 80px 0;
    background: var(--white);
}
.kh-section--alt {
    background: var(--off-white);
}
.kh-section--purple {
    background: var(--primary);
    color: var(--white);
}
.kh-section--purple h4 {
    color: var(--white);
    font-size: 28px;
    line-height: 38px;
    margin-bottom: 1rem;
}
.kh-section--purple p {
    color: rgba(255,255,255,.95);
    font-size: 14px;
    line-height: 26px;
    letter-spacing: 1px;
}
.kh-section__title {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 60px;
    line-height: 60px;
    font-weight: 700;
}
.kh-section__subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.kh-themecolor {
    color: var(--primary);
}

/* Intro Block */
.kh-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.kh-intro h2 {
    margin-bottom: 1.5rem;
    font-size: 60px;
    line-height: 60px;
    font-weight: 700;
}
.kh-intro h5 {
    font-size: 20px;
    line-height: 30px;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0;
}
.kh-intro h5 strong {
    color: var(--text-heading);
    font-weight: 700;
}
.kh-spacer { margin-top: 1.5rem !important; }

/* 2-Spalten Layout (Vereine-Sektion) */
.kh-twocol {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}
.kh-twocol__col h4 {
    font-size: 28px;
    line-height: 38px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.kh-btn-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--white);
    border-bottom: 2px solid var(--white);
    padding-bottom: 2px;
    font-weight: 500;
    letter-spacing: 1px;
}
.kh-btn-link:hover {
    color: var(--white);
    opacity: .8;
}

/* Card-Grid (Top-Shops, Top-Services) */
.kh-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.kh-cards-grid--three {
    grid-template-columns: repeat(3, 1fr);
    max-width: 900px;
    margin: 0 auto;
}

.kh-card {
    display: block;
    background: transparent;
    text-decoration: none;
    color: inherit;
    transition: transform var(--transition);
}
.kh-card:hover {
    transform: translateY(-4px);
    color: inherit;
}
.kh-card__img {
    overflow: hidden;
    aspect-ratio: 3/4;
    margin-bottom: 1rem;
    border-radius: 4px;
}
.kh-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.kh-card:hover .kh-card__img img {
    transform: scale(1.05);
}
.kh-card__body {
    text-align: center;
    padding: 0 1rem;
}
.kh-card__body h6 {
    color: var(--primary);
    font-size: 14px;
    line-height: 25px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: .5rem;
}
.kh-card__body p {
    font-size: 20px;
    line-height: 30px;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .kh-hero { min-height: 70vh; }
    .kh-hero__words { top: 100px; line-height: 100px; }
    .kh-hero__word { font-size: 100px; letter-spacing: -3px; }
    section.kh-section { padding: 60px 0; }
    .kh-section__title { font-size: 45px; line-height: 50px; }
    .kh-intro h2 { font-size: 45px; line-height: 50px; }
    .kh-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .kh-cards-grid--three { grid-template-columns: repeat(2, 1fr); }
    .kh-twocol { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
    .kh-hero { min-height: 60vh; }
    .kh-hero__word { font-size: 70px; }
    .kh-hero__words { line-height: 70px; top: 80px; }
    .kh-section__title, .kh-intro h2 { font-size: 32px; line-height: 38px; }
    .kh-intro h5 { font-size: 15px; line-height: 24px; }
    .kh-cards-grid, .kh-cards-grid--three { grid-template-columns: 1fr; }
}

/* === HERO IMAGE (unused, kept for reference) === */

/* === PAGE HERO (Unterseiten-Banner) === */
.page-hero {
    height: 280px;
    background-size: cover; background-position: center 17%;
    position: relative;
}
.page-hero__overlay {
    height: 100%;
    background: linear-gradient(to right, rgba(127,92,163,.85) 0%, rgba(127,92,163,.5) 50%, rgba(127,92,163,.2) 100%);
    display: flex; align-items: center;
}
.page-hero__overlay h1 {
    color: var(--white); font-size: 2rem; margin-bottom: .25rem;
}
.page-hero__overlay p {
    color: rgba(255,255,255,.85); font-size: 1.05rem;
}

/* === SECTIONS === */
section { padding: 3.5rem 0; }
section.bg-alt { background: var(--bg-alt); }
section.bg-white { background: var(--white); }
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-header h2 { margin-bottom: .5rem; }
.section-header p { max-width: 600px; margin: 0 auto; }
.section-subtitle {
    display: inline-block; font-size: .75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px; color: var(--primary);
    margin-bottom: .5rem;
}

/* === HOW IT WORKS (Steps) === */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.step-card {
    text-align: center; padding: 2rem 1.5rem;
    background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-number {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--primary); color: var(--white);
    font-size: 1.2rem; font-weight: 700; margin-bottom: 1rem;
}
.step-card h3 { margin-bottom: .5rem; }
.step-card p { font-size: .9rem; }

/* === CAROUSEL === */
.carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0 2.5rem;
}
.carousel-track {
    display: flex;
    gap: 1.25rem;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: .5rem 0;
}
.carousel-track .shop-card {
    min-width: 200px;
    max-width: 200px;
    flex-shrink: 0;
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    font-size: 1.1rem;
    color: var(--text-heading);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
}
.carousel-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}
.carousel-btn--prev { left: 0; }
.carousel-btn--next { right: 0; }

/* Auto-scroll animation */
@keyframes carousel-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.carousel-track--auto {
    animation: carousel-scroll 30s linear infinite;
}
.carousel-track--auto:hover {
    animation-play-state: paused;
}

/* === SHOP CARDS === */
.shops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.25rem;
}
.shop-card {
    display: flex; flex-direction: column;
    background: var(--white); border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden; transition: all var(--transition);
    text-decoration: none; color: inherit;
}
.shop-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
    color: inherit;
}
.shop-card__logo {
    height: 120px; display: flex; align-items: center; justify-content: center;
    padding: 1rem; background: var(--off-white);
    border-bottom: 1px solid var(--border);
}
.shop-card__logo img {
    max-height: 80px; max-width: 140px; object-fit: contain;
}
.shop-card__logo .logo-placeholder {
    width: 64px; height: 64px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; font-weight: 700; color: var(--white);
}
.shop-card__info {
    padding: 1rem; flex: 1; display: flex; flex-direction: column;
}
.shop-card__info h3 { font-size: .95rem; margin-bottom: .35rem; }
.shop-card__info p {
    font-size: .8rem; color: var(--text-muted);
    overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    margin-bottom: .5rem; flex: 1;
}
.cashback-badge {
    display: inline-block; padding: .25rem .6rem;
    background: var(--primary-bg); color: var(--primary);
    font-size: .78rem; font-weight: 700; border-radius: var(--radius-sm);
    margin-top: auto;
}
.cashback-badge-lg {
    font-size: 1.1rem; padding: .5rem 1rem;
    background: var(--primary); color: var(--white);
    border-radius: var(--radius);
}

/* === CATEGORY CARDS === */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
}
.category-card {
    display: flex; flex-direction: column; align-items: center; gap: .4rem;
    padding: 1rem .75rem; background: var(--white);
    border: 1px solid var(--border); border-radius: var(--radius);
    transition: all var(--transition); text-align: center;
    font-size: .85rem; font-weight: 500; color: var(--text);
}
.category-card:hover {
    border-color: var(--primary); color: var(--primary);
    transform: translateY(-2px); box-shadow: var(--shadow-sm);
}
.category-card .cat-icon { font-size: 1.5rem; }

/* === CATEGORY HEADER === */
.category-header {
    background: var(--off-white); padding: 2rem 0 1.5rem;
    border-bottom: 1px solid var(--border);
}

/* === VEREIN TEASER (Startseite) === */
.verein-teaser {
    display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.verein-teaser-content h2 { margin-bottom: 1rem; }
.verein-teaser-content p { margin-bottom: 1rem; line-height: 1.8; }
.verein-teaser-visual {
    background: var(--primary-bg); border-radius: var(--radius);
    padding: 2.5rem; text-align: center;
}
.verein-teaser-visual .icon { font-size: 4rem; margin-bottom: 1rem; }

/* === SERVICES CARDS (Startseite) === */
.services-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem;
}
.service-card {
    background: var(--white); border-radius: var(--radius);
    border: 1px solid var(--border); overflow: hidden;
    transition: all var(--transition);
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.service-card__img {
    height: 160px; background: var(--primary-bg);
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem;
}
.service-card__body { padding: 1.25rem; }
.service-card__body h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: .5rem; }
.service-card__body p { font-size: .9rem; }

/* === SHOP DETAIL === */
.shop-hero {
    background: var(--off-white); padding: 2.5rem 0;
    border-bottom: 1px solid var(--border);
}
.shop-hero-inner { display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center; }
.shop-logo-large {
    width: 140px; height: 140px; display: flex; align-items: center; justify-content: center;
    background: var(--white); border-radius: var(--radius); border: 1px solid var(--border);
    padding: 1rem;
}
.shop-logo-large img { max-width: 100%; max-height: 100%; object-fit: contain; }
.shop-meta { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; margin-top: .75rem; }
.shop-content-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; padding-top: 2rem; }
.shop-sidebar {
    background: var(--off-white); border-radius: var(--radius);
    padding: 1.5rem; position: sticky; top: 80px;
}
.shop-sidebar .btn { width: 100%; justify-content: center; margin-bottom: .75rem; }

/* === VEREIN DETAIL === */
.verein-hero {
    padding: 3rem 0; border-bottom: 1px solid var(--border);
}
.verein-hero-inner { display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center; }
.verein-logo-wrapper {
    width: 120px; height: 120px; display: flex; align-items: center; justify-content: center;
    background: var(--white); border-radius: 50%; border: 3px solid var(--primary);
    padding: .75rem; overflow: hidden;
}
.verein-logo-wrapper img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* === VEREINE LANDING === */
.vereine-benefits {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.benefit-card {
    text-align: center; padding: 2rem 1.5rem;
    background: var(--white); border-radius: var(--radius);
    border: 1px solid var(--border);
}
.benefit-card .icon { font-size: 2.5rem; margin-bottom: .75rem; }
.benefit-card h3 { margin-bottom: .5rem; }
.benefit-card p { font-size: .88rem; }

.verein-card {
    display: flex; align-items: center; gap: 1rem;
    padding: 1rem 1.25rem; background: var(--white);
    border: 1px solid var(--border); border-radius: var(--radius);
    transition: all var(--transition);
}
.verein-card:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.verein-card-logo {
    width: 56px; height: 56px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; flex-shrink: 0; border: 2px solid var(--border);
}
.verein-card-logo img { width: 100%; height: 100%; object-fit: cover; }
.verein-card h3 { font-size: .95rem; margin-bottom: .15rem; }
.verein-card p { font-size: .82rem; }

/* === BLOG === */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.blog-card {
    background: var(--white); border-radius: var(--radius);
    border: 1px solid var(--border); overflow: hidden;
    transition: all var(--transition);
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.blog-card__img {
    height: 180px; background: var(--primary-bg);
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem; color: var(--primary);
}
.blog-card__body { padding: 1.25rem; }
.blog-card__body .date { font-size: .78rem; color: var(--text-light); margin-bottom: .5rem; }
.blog-card__body h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.blog-card__body p { font-size: .88rem; }

.blog-content { max-width: 750px; margin: 0 auto; }
.blog-content h1 { margin-bottom: .5rem; }
.blog-content .meta { color: var(--text-light); margin-bottom: 2rem; font-size: .9rem; }
.blog-content .article-body h2 { font-size: 1.4rem; margin: 2rem 0 .75rem; }
.blog-content .article-body h3 { font-size: 1.15rem; margin: 1.5rem 0 .5rem; }
.blog-content .article-body p { margin-bottom: 1rem; line-height: 1.8; }
.blog-content .article-body ul, .blog-content .article-body ol { margin: 1rem 0; padding-left: 1.5rem; }
.blog-content .article-body li { margin-bottom: .5rem; color: var(--text-muted); }

/* === SHOPS LAYOUT (filter + grid) === */
.shops-layout { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; }
.filter-sidebar { position: sticky; top: 80px; align-self: start; }
.filter-sidebar h3 { font-size: .9rem; margin-bottom: .75rem; }
.filter-list { display: flex; flex-direction: column; gap: .15rem; }
.filter-list a {
    display: flex; justify-content: space-between; align-items: center;
    padding: .45rem .65rem; border-radius: var(--radius-sm);
    font-size: .85rem; color: var(--text-muted); transition: all var(--transition);
}
.filter-list a:hover, .filter-list a.active {
    background: var(--primary-bg); color: var(--primary);
}
.filter-list a .count {
    font-size: .75rem; background: var(--bg-alt); padding: .1rem .4rem;
    border-radius: 10px; color: var(--text-light);
}
.search-box {
    margin-bottom: 1.5rem;
}
.search-box input {
    width: 100%; padding: .6rem .85rem; border: 1px solid var(--border);
    border-radius: var(--radius-sm); font-size: .9rem; font-family: inherit;
    transition: border-color var(--transition);
}
.search-box input:focus { outline: none; border-color: var(--primary); }

/* === BREADCRUMBS === */
.breadcrumbs {
    display: flex; gap: .4rem; font-size: .82rem; color: var(--text-light);
    flex-wrap: wrap;
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs .separator { color: var(--text-light); }

/* === PAGINATION === */
.pagination {
    display: flex; gap: .4rem; justify-content: center;
    margin-top: 2rem; padding-top: 1.5rem;
}
.pagination a, .pagination span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 38px; height: 38px; padding: 0 .5rem;
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    font-size: .88rem; font-weight: 500; color: var(--text-muted);
    transition: all var(--transition);
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination span.current {
    background: var(--primary); border-color: var(--primary); color: var(--white);
}

/* === FAQ === */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item {
    border: 1px solid var(--border); border-radius: var(--radius);
    margin-bottom: .75rem; overflow: hidden;
}
.faq-question {
    width: 100%; text-align: left; padding: 1rem 1.25rem;
    font-size: .95rem; font-weight: 600; color: var(--text-heading);
    display: flex; justify-content: space-between; align-items: center;
    background: var(--white); cursor: pointer; transition: background var(--transition);
}
.faq-question:hover { background: var(--off-white); }
.faq-question .toggle { font-size: 1.2rem; color: var(--primary); transition: transform .3s; }
.faq-item.open .faq-question .toggle { transform: rotate(45deg); }
.faq-answer {
    display: none; padding: 0 1.25rem 1rem;
    color: var(--text-muted); font-size: .9rem; line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* === STATIC PAGES === */
.static-page { padding: 2rem 0; max-width: 800px; margin: 0 auto; }
.static-page h1 { margin-bottom: 1.5rem; }
.static-page h2 { font-size: 1.3rem; margin: 2rem 0 .75rem; }
.static-page h3 { margin: 1.5rem 0 .5rem; }
.static-page p { margin-bottom: 1rem; line-height: 1.8; }
.static-page ul, .static-page ol { margin: 1rem 0; padding-left: 1.5rem; }
.static-page li { margin-bottom: .5rem; color: var(--text-muted); list-style: disc; }

/* === FOOTER === */
.site-footer {
    background: var(--footer-bg); padding: 3rem 0 0;
    border-top: 1px solid var(--border);
}
.footer-grid {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem; margin-bottom: 2rem;
}
.footer-brand p { font-size: .88rem; margin-top: .75rem; color: var(--text-muted); max-width: 280px; }
.footer-brand .site-logo img { height: 40px; margin-bottom: .5rem; }
.site-footer h4 {
    font-size: .85rem; text-transform: uppercase; letter-spacing: 1px;
    color: var(--text-heading); margin-bottom: .75rem;
}
.site-footer ul li { margin-bottom: .4rem; }
.site-footer ul li a { font-size: .88rem; color: var(--text-muted); }
.site-footer ul li a:hover { color: var(--primary); }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.25rem 0; border-top: 1px solid rgba(0,0,0,.08);
    font-size: .8rem; color: var(--text-light);
}
.footer-note { font-size: .75rem; }

/* === SCHEMA (hidden) === */
.schema-hidden { display: none; }

/* === UTILS === */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.gap-sm { gap: .5rem; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; gap: .75rem; }
.empty-state { text-align: center; padding: 4rem 1rem; }
.empty-state .icon { font-size: 3rem; display: block; margin-bottom: 1rem; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .shops-layout { grid-template-columns: 1fr; }
    .filter-sidebar { position: static; }
    .filter-list { flex-direction: row; flex-wrap: wrap; }
    .shop-content-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .shop-hero-inner { grid-template-columns: 1fr; }
    .verein-hero-inner { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .main-nav {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: var(--primary); padding: 1rem;
        box-shadow: 0 8px 20px rgba(0,0,0,.2);
    }
    .main-nav.open { display: block; }
    .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav-link { padding: .75rem 1rem; font-size: 1rem; }
    .nav-cta { margin: .25rem 0; }
    .nav-cta .btn { width: 100%; justify-content: center; }
    .dropdown-menu {
        position: static; transform: none; min-width: unset;
        box-shadow: none; background: rgba(255,255,255,.06); border-radius: var(--radius-sm);
        margin-top: .25rem;
    }
    .dropdown-grid { grid-template-columns: 1fr 1fr; }
    .dropdown-menu a:not(.dropdown-all) { color: rgba(255,255,255,.8); }
    .dropdown-menu a:not(.dropdown-all):hover { background: rgba(255,255,255,.1); color: var(--white); }
    .dropdown-all { background: rgba(255,255,255,.08); }
    .dropdown-all strong { color: rgba(255,255,255,.9); }
    .dropdown-all span { color: rgba(255,255,255,.6); }
    .has-dropdown { position: static; }
    .steps-grid { grid-template-columns: 1fr; }
    .vereine-benefits { grid-template-columns: 1fr; }
    .hero-slider { min-height: 50vh; max-height: 500px; }
    .hero-slider__word { letter-spacing: -3px; }
    .verein-teaser { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
    .shops-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
    .categories-grid { grid-template-columns: repeat(3, 1fr); }
    h1 { font-size: 1.75rem; }
    section { padding: 2.5rem 0; }
}

@media (max-width: 480px) {
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
}

/* =============================================
   BLOG POST DETAIL — Schickes Layout
   ============================================= */

/* Article Hero */
.article-hero {
    position: relative;
    background: linear-gradient(135deg, #6b4a8f 0%, #553d73 60%, #3d2c54 100%);
    color: var(--white);
    padding: 4rem 0 3.5rem;
    overflow: hidden;
    border-top: 3px solid rgba(255,255,255,.15);
    z-index: 1;
}
.article-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 4rem;
    opacity: .12;
    z-index: 0;
}
.article-hero__emoji {
    font-size: 22rem;
    line-height: 1;
}
.article-hero__inner {
    position: relative;
    z-index: 2;
}
.article-hero__inner .breadcrumbs {
    margin-bottom: 1.25rem;
}
.article-hero__inner .breadcrumbs,
.article-hero__inner .breadcrumbs a,
.article-hero__inner .breadcrumbs .separator {
    color: rgba(255,255,255,.7);
}
.article-hero__inner .breadcrumbs a:hover {
    color: var(--white);
}
.article-hero__meta {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
    font-size: .88rem;
    color: rgba(255,255,255,.8);
    margin-bottom: 1.25rem;
}
.article-hero__meta .meta-dot { opacity: .4; }
.article-tag {
    display: inline-block;
    background: rgba(255,255,255,.18);
    color: var(--white);
    padding: .25rem .75rem;
    border-radius: 20px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
}
.article-hero__title {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 1.25rem;
    max-width: 800px;
}
.article-hero__excerpt {
    font-size: 1.15rem;
    line-height: 1.65;
    color: rgba(255,255,255,.9);
    max-width: 700px;
    margin-bottom: 2rem;
}
.article-hero__author {
    display: inline-flex;
    align-items: center;
    gap: .9rem;
    background: rgba(255,255,255,.12);
    padding: .65rem 1.25rem .65rem .65rem;
    border-radius: 50px;
    backdrop-filter: blur(8px);
}
.article-hero__author strong {
    display: block;
    color: var(--white);
    font-size: .92rem;
}
.article-hero__author span {
    display: block;
    font-size: .78rem;
    color: rgba(255,255,255,.7);
}

.author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.author-avatar--lg {
    width: 64px;
    height: 64px;
    font-size: 1.5rem;
    background: var(--primary);
    color: var(--white);
}

/* Article Layout */
.article-wrapper {
    background: var(--white);
    padding: 4rem 0;
}
.article-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 3rem;
    align-items: start;
}

/* Sidebar */
.article-sidebar {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.sidebar-card {
    background: var(--off-white);
    border-radius: var(--radius);
    padding: 1.25rem;
}
.sidebar-card h4 {
    font-size: .9rem;
    margin-bottom: .75rem;
    color: var(--text-heading);
}
.sidebar-card--cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
}
.sidebar-card--cta h4 { color: var(--white); }
.sidebar-card--cta p {
    color: rgba(255,255,255,.9);
    font-size: .85rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}
.sidebar-card--cta .btn {
    background: var(--white);
    color: var(--primary);
    width: 100%;
    justify-content: center;
}
.sidebar-card--cta .btn:hover {
    background: rgba(255,255,255,.9);
    color: var(--primary);
    transform: none;
}

.article-info {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: .85rem;
}
.article-info li {
    display: flex;
    justify-content: space-between;
    padding: .4rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
}
.article-info li:last-child { border-bottom: none; }
.article-info li strong {
    color: var(--text-heading);
    font-weight: 500;
}

.share-buttons {
    display: flex;
    gap: .5rem;
}
.share-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    transition: all var(--transition);
    border: 1px solid var(--border);
}
.share-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    border-color: var(--primary);
}

/* Article Content */
.article-content {
    max-width: 720px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text);
}
.article-content h2 {
    font-size: 1.65rem;
    line-height: 1.3;
    margin: 2.5rem 0 1rem;
    color: var(--text-heading);
    font-weight: 700;
}
.article-content h2:first-child { margin-top: 0; }
.article-content h3 {
    font-size: 1.25rem;
    line-height: 1.4;
    margin: 2rem 0 .75rem;
    color: var(--text-heading);
    font-weight: 700;
}
.article-content p {
    margin-bottom: 1.25rem;
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.85;
}
.article-content ul, .article-content ol {
    margin: 1.25rem 0;
    padding-left: 1.5rem;
}
.article-content li {
    margin-bottom: .65rem;
    color: var(--text);
    line-height: 1.7;
    list-style: disc;
}
.article-content ol li { list-style: decimal; }
.article-content a {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
.article-content a:hover {
    text-decoration-thickness: 2px;
}
.article-content blockquote {
    border-left: 4px solid var(--primary);
    background: var(--off-white);
    padding: 1.25rem 1.5rem;
    margin: 1.75rem 0;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--text-heading);
}
.article-content .callout {
    background: linear-gradient(135deg, rgba(127,92,163,.08) 0%, rgba(127,92,163,.04) 100%);
    border-left: 4px solid var(--primary);
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--text-heading);
    font-weight: 500;
}
.article-content img {
    border-radius: var(--radius);
    margin: 2rem 0;
    box-shadow: var(--shadow);
}

/* Article CTA Box */
.article-cta {
    margin-top: 3.5rem;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.article-cta::before {
    content: '';
    position: absolute;
    top: -30%; right: -10%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,.1) 0%, transparent 70%);
    border-radius: 50%;
}
.article-cta__icon {
    font-size: 2.5rem;
    margin-bottom: .5rem;
}
.article-cta h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: .75rem;
    position: relative;
}
.article-cta p {
    color: rgba(255,255,255,.92);
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
    position: relative;
}
.article-cta__actions {
    display: flex;
    gap: .75rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}
.article-cta__actions .btn-primary {
    background: var(--white);
    color: var(--primary);
}
.article-cta__actions .btn-primary:hover {
    background: rgba(255,255,255,.92);
    color: var(--primary);
}
.article-cta__actions .btn-ghost {
    border-color: rgba(255,255,255,.5);
    color: var(--white);
}
.article-cta__actions .btn-ghost:hover {
    background: rgba(255,255,255,.15);
    border-color: var(--white);
    color: var(--white);
}

/* Author Box (Ende des Artikels) */
.article-author {
    margin-top: 3rem;
    padding: 1.75rem;
    background: var(--off-white);
    border-radius: var(--radius);
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}
.article-author h4 {
    margin-bottom: .4rem;
    color: var(--text-heading);
}
.article-author p {
    color: var(--text-muted);
    font-size: .95rem;
    line-height: 1.6;
    margin: 0;
}

/* Related Articles */
.article-related {
    background: var(--off-white);
    padding: 4rem 0;
}
.article-related .blog-card {
    display: block;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.article-related .blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}
.article-related .blog-card__link {
    display: block;
    color: inherit;
    height: 100%;
}
.article-related .blog-card__img {
    height: 160px;
    background: linear-gradient(135deg, rgba(127,92,163,.1), rgba(127,92,163,.04));
    display: flex;
    align-items: center;
    justify-content: center;
}
.article-related .blog-card__img span {
    font-size: 4rem;
}
.article-related .blog-card__body {
    padding: 1.25rem;
}
.article-related .blog-card__body .blog-meta {
    display: flex;
    gap: .5rem;
    align-items: center;
    font-size: .78rem;
    color: var(--text-muted);
    margin-bottom: .5rem;
}
.article-related .blog-card h3 {
    font-size: 1.05rem;
    line-height: 1.4;
    margin-bottom: .5rem;
    color: var(--text-heading);
}
.article-related .blog-card p {
    font-size: .88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: .75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card__more {
    color: var(--primary);
    font-weight: 600;
    font-size: .9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .article-sidebar {
        position: static;
        order: 2;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
    .article-content { max-width: none; order: 1; }
    .article-hero__emoji { font-size: 14rem; }
}
@media (max-width: 600px) {
    .article-hero { padding: 2.5rem 0 2rem; }
    .article-hero__emoji { font-size: 10rem; opacity: .08; }
    .article-hero__author { padding: .5rem 1rem .5rem .5rem; }
    .article-sidebar { grid-template-columns: 1fr; }
    .article-cta { padding: 2rem 1.25rem; }
    .article-cta h3 { font-size: 1.25rem; }
    .article-author { flex-direction: column; text-align: center; }
}

/* =============================================
   BLOG OVERVIEW PAGE — Magazin Layout
   ============================================= */

/* Blog Hero */
.blog-hero {
    position: relative;
    background: linear-gradient(135deg, #6b4a8f 0%, #553d73 60%, #3d2c54 100%);
    color: var(--white);
    padding: 4.5rem 0 4rem;
    overflow: hidden;
    border-top: 3px solid rgba(255,255,255,.15);
    text-align: center;
}
.blog-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: .07;
    z-index: 0;
}
.blog-hero__deco {
    font-size: 22rem;
    line-height: 1;
}
.blog-hero__inner {
    position: relative;
    z-index: 1;
}
.blog-hero__label {
    display: inline-block;
    background: rgba(255,255,255,.15);
    color: var(--white);
    padding: .35rem .95rem;
    border-radius: 20px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
    margin-bottom: 1.25rem;
}
.blog-hero h1 {
    color: var(--white);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 1rem;
}
.blog-hero p {
    color: rgba(255,255,255,.85);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}
.blog-hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: center;
}
.blog-tag-pill {
    background: rgba(255,255,255,.12);
    color: var(--white);
    padding: .35rem .85rem;
    border-radius: 20px;
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .3px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,.15);
}

/* Section Labels */
.blog-section__label {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.blog-section__label .line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
}
.blog-section__label .text {
    color: var(--primary);
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
}

/* Featured Post */
.blog-featured-section {
    background: var(--white);
    padding: 4rem 0 3rem;
}
.blog-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(127,92,163,.08);
    border: 1px solid var(--border);
    transition: all var(--transition);
    text-decoration: none;
    color: inherit;
}
.blog-featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(127,92,163,.15);
    border-color: var(--primary-light);
    color: inherit;
}
.blog-featured__visual {
    background: linear-gradient(135deg, rgba(127,92,163,.95), rgba(85,61,115,.95));
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    position: relative;
    overflow: hidden;
}
.blog-featured__visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.15) 0%, transparent 60%);
}
.blog-featured__emoji {
    font-size: 9rem;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,.2));
}
.blog-featured__content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.blog-featured__meta {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
    font-size: .85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.blog-featured__content h2 {
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-heading);
}
.blog-featured__content p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}
.blog-featured__more {
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
}

/* Article Grid */
.blog-list-section {
    background: var(--off-white);
    padding: 4rem 0;
}
.blog-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.75rem;
}
.blog-card-new {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all var(--transition);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}
.blog-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(127,92,163,.12);
    border-color: var(--primary-light);
    color: inherit;
}
.blog-card-new__img {
    height: 200px;
    background: linear-gradient(135deg, rgba(127,92,163,.12) 0%, rgba(127,92,163,.04) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.blog-card-new__emoji {
    font-size: 5rem;
    transition: transform .4s ease;
}
.blog-card-new:hover .blog-card-new__emoji {
    transform: scale(1.12) rotate(-3deg);
}
.blog-card-new__overlay {
    position: absolute;
    top: 1rem;
    left: 1rem;
}
.blog-card-new__overlay .article-tag {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.blog-card-new__body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.blog-card-new__meta {
    display: flex;
    gap: .5rem;
    align-items: center;
    font-size: .8rem;
    color: var(--text-muted);
    margin-bottom: .75rem;
}
.blog-card-new__meta .meta-dot { opacity: .5; }
.blog-card-new h3 {
    font-size: 1.15rem;
    line-height: 1.4;
    margin-bottom: .65rem;
    color: var(--text-heading);
    font-weight: 700;
}
.blog-card-new p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: .92rem;
    margin-bottom: 1rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card-new__more {
    color: var(--primary);
    font-weight: 600;
    font-size: .9rem;
}

/* Newsletter Box */
.blog-newsletter {
    background: var(--white);
    padding: 4rem 0;
}
.blog-newsletter__box {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}
.blog-newsletter__box::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,.1) 0%, transparent 70%);
    border-radius: 50%;
}
.blog-newsletter__icon {
    font-size: 3rem;
    margin-bottom: .5rem;
    position: relative;
}
.blog-newsletter h2 {
    color: var(--white);
    font-size: 1.75rem;
    margin-bottom: .75rem;
    position: relative;
}
.blog-newsletter p {
    color: rgba(255,255,255,.9);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    position: relative;
}
.blog-newsletter__form {
    display: flex;
    gap: .5rem;
    max-width: 450px;
    margin: 0 auto 1rem;
    position: relative;
}
.blog-newsletter__form input {
    flex: 1;
    padding: .75rem 1rem;
    border: none;
    border-radius: var(--radius-sm);
    font-size: .95rem;
    font-family: inherit;
}
.blog-newsletter__form input:focus {
    outline: 2px solid rgba(255,255,255,.5);
    outline-offset: 2px;
}
.blog-newsletter__form .btn {
    background: var(--white);
    color: var(--primary);
    white-space: nowrap;
}
.blog-newsletter__form .btn:hover {
    background: rgba(255,255,255,.92);
    color: var(--primary);
}
.blog-newsletter small {
    color: rgba(255,255,255,.6);
    font-size: .78rem;
    position: relative;
}

/* Responsive */
@media (max-width: 900px) {
    .blog-featured { grid-template-columns: 1fr; }
    .blog-featured__visual { min-height: 220px; }
    .blog-featured__emoji { font-size: 6rem; }
    .blog-featured__content { padding: 2rem 1.5rem; }
    .blog-featured__content h2 { font-size: 1.4rem; }
    .blog-hero { padding: 3rem 0 2.5rem; }
    .blog-hero h1 { font-size: 2rem; }
    .blog-hero__deco { font-size: 14rem; }
    .blog-newsletter__box { padding: 2.5rem 1.5rem; }
    .blog-newsletter__form { flex-direction: column; }
    .blog-newsletter h2 { font-size: 1.4rem; }
}

/* === LIVE SEARCH === */
.live-search-wrap {
    position: relative;
    max-width: 800px;
    margin: 0 auto 2.5rem;
}
.live-search-box {
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 0.2rem 0.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.live-search-box:focus-within {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(0,40,100,0.12);
}
.live-search-icon {
    font-size: 1.4rem;
    padding: 0 0.5rem;
    opacity: 0.5;
}
.live-search-box input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.15rem;
    padding: 1rem 0.5rem;
    font-family: inherit;
    background: transparent;
    min-width: 0;
}
.live-search-box input::placeholder { color: #aaa; }
.live-search-clear {
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.5rem;
    color: #999;
    transition: color 0.15s;
}
.live-search-clear:hover { color: #333; }

.live-search-results {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    margin-top: 4px;
    max-height: 420px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}
.live-search-results.active { display: block; }

.live-search-results .sr-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1.25rem;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
}
.live-search-results .sr-item:last-child { border-bottom: none; }
.live-search-results .sr-item:hover { background: #f8f9fb; }

.sr-item .sr-logo {
    width: 44px; height: 44px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f4f4f4;
    display: flex; align-items: center; justify-content: center;
}
.sr-item .sr-logo img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.sr-item .sr-logo .fallback {
    font-size: 1.1rem; font-weight: 700; color: #fff;
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
}
.sr-item .sr-info { flex: 1; min-width: 0; }
.sr-item .sr-name { font-weight: 700; font-size: 0.95rem; }
.sr-item .sr-cat { font-size: 0.78rem; color: var(--text-light); }
.sr-item .sr-cashback {
    background: var(--primary);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
    white-space: nowrap;
}

.live-search-results .sr-footer {
    text-align: center;
    padding: 0.75rem;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    border-top: 1px solid #eee;
}
.live-search-results .sr-empty {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--text-light);
}

@media (max-width: 600px) {
    .live-search-box input { font-size: 1rem; padding: 0.85rem 0.4rem; }
    .live-search-wrap { margin-bottom: 1.5rem; }
}

/* ===== Shop-Redirect Login-Modal ===== */
.sr-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.sr-modal.is-open { display: flex; animation: srFadeIn .18s ease-out; }
.sr-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(3px);
}
.sr-modal__dialog {
    position: relative;
    background: #fff;
    border-radius: 16px;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 25px 60px rgba(0,0,0,.35);
    animation: srSlideUp .22s ease-out;
}
.sr-modal__close {
    position: absolute;
    top: .75rem;
    right: .75rem;
    background: transparent;
    border: 0;
    font-size: 1.4rem;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    padding: .35rem .55rem;
    border-radius: 8px;
    transition: background .15s, color .15s;
}
.sr-modal__close:hover { background: #f1f5f9; color: #0f172a; }
.sr-modal__body {
    padding: 2rem 2rem 1.75rem;
    text-align: center;
}
.sr-modal__icon {
    font-size: 3rem;
    margin-bottom: .5rem;
    line-height: 1;
}
.sr-modal__body h3 {
    margin: 0 0 .75rem;
    font-size: 1.4rem;
    color: #0f172a;
}
.sr-modal__body p {
    margin: .25rem 0 .5rem;
    color: #475569;
    font-size: .95rem;
    line-height: 1.5;
}
.sr-modal__hint {
    font-size: .85rem !important;
    color: #64748b !important;
    margin-bottom: 1.25rem !important;
}
.sr-modal__actions {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    margin: 1.25rem 0 1rem;
}
.sr-modal__actions .btn { width: 100%; justify-content: center; }
.sr-modal__skip {
    background: transparent;
    border: 0;
    color: #94a3b8;
    font-size: .85rem;
    cursor: pointer;
    padding: .5rem;
    text-decoration: underline;
    margin-top: .25rem;
}
.sr-modal__skip:hover { color: #475569; }

@keyframes srFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes srSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
    .sr-modal__body { padding: 1.5rem 1.25rem 1.25rem; }
    .sr-modal__body h3 { font-size: 1.2rem; }
    .sr-modal__icon { font-size: 2.5rem; }
}

/* ===== Statische Seiten (Impressum, Datenschutz, AGB, Kontakt, Über uns) ===== */
.static-page-hero {
    background: #fff;
    padding: 1.5rem 0 1rem;
    border-bottom: 1px solid #e2e8f0;
}
.static-page-hero__title {
    margin: .75rem 0 .35rem;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}
.static-page-hero__lead {
    color: #64748b;
    font-size: 1rem;
    max-width: 680px;
    margin: 0;
    line-height: 1.55;
}

.static-page {
    background: #f8fafc;
    padding: 2rem 0 4rem;
    min-height: 50vh;
}
.static-page__content {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(15,23,42,.06);
    padding: clamp(1.5rem, 4vw, 3rem);
    max-width: 880px;
    margin: 0 auto;
    color: #334155;
    line-height: 1.7;
    font-size: 1rem;
}
.static-page__content h2 {
    color: #0f172a;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 2rem 0 .75rem;
    padding-bottom: .4rem;
    border-bottom: 2px solid #e2e8f0;
}
.static-page__content h2:first-child { margin-top: 0; }
.static-page__content h3 {
    color: #0f172a;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.5rem 0 .5rem;
}
.static-page__content p {
    margin: 0 0 1rem;
}
.static-page__content a {
    color: #2563eb;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}
.static-page__content a:hover { color: #1e40af; }
.static-page__content ul,
.static-page__content ol {
    margin: 0 0 1rem;
    padding-left: 1.5rem;
}
.static-page__content li { margin-bottom: .35rem; }
.static-page__content strong { color: #0f172a; }

/* Impressum-Address-Block hervorheben */
.static-page__content .imprint-card {
    background: #f1f5f9;
    border-left: 4px solid #2563eb;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin: .5rem 0 1.5rem;
}
.static-page__content .imprint-card p { margin: 0; }
.static-page__content .imprint-grid {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: .4rem 1.25rem;
    margin: .25rem 0 1.5rem;
}
.static-page__content .imprint-grid dt {
    font-weight: 600;
    color: #0f172a;
}
.static-page__content .imprint-grid dd { margin: 0; }

@media (max-width: 600px) {
    .static-page { padding: 2rem 0 3rem; }
    .static-page__content { padding: 1.25rem; border-radius: 12px; }
    .static-page__content h2 { font-size: 1.2rem; }
    .static-page-hero { padding: 1.75rem 0 2.25rem; }
}

/* ─────────────────────────────────────────────────────
   Markenname kaufhier.de mit Stern statt i-Punkt
   Nutzung: <?= kh() ?>

   Technik: Das "i" bekommt "text-indent: -9999em" durch Aussparen —
   Wir behalten aria-label + Copy-Text für Screenreader/SEO, zeigen aber
   visuell den Grundstrich + Stern statt Punkt. Umsetzung: "i" wird komplett
   ausgeblendet, wir zeichnen an seiner Stelle einen Grundstrich (schmaler div)
   und drüber einen Stern.

   Kompatibilität: alle modernen Browser (Safari 15+, Chrome, Firefox).
   ───────────────────────────────────────────────────── */
.kh-brand {
    display: inline;
    white-space: nowrap;
}

/* Wrapper um das "i" — position:relative-Kontext für Maske und Stern */
.kh-brand .kh-wrap {
    position: relative;
    display: inline-block;
}

/* Das echte "i" wird angezeigt — der Grundstrich soll ja sichtbar sein! */
.kh-brand .kh-wrap .kh-i {
    display: inline-block;
}

/* Maske über dem i-Punkt — in der Farbe des Hintergrunds.
   Klappt bei weißem/hellem Background (var(--white) / var(--off-white)).
   Auf dunklem Background wird sie durch Kontext-Overrides angepasst. */
.kh-brand .kh-wrap .kh-mask {
    position: absolute;
    top: 0.02em;
    left: 0;
    right: 0;
    height: 0.32em;
    background: var(--kh-bg, var(--white, #fff));
    pointer-events: none;
}

/* Stern über der Maske — in Lila.
   Default = für Flißtext (kleiner Font). */
.kh-brand .kh-wrap .kh-star {
    position: absolute;
    top: 0.75em;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.42em;
    line-height: 1;
    color: var(--primary);
    pointer-events: none;
    z-index: 2;
}

/* Variante für Überschriften — Stern etwas höher positioniert, weil bei größeren 
   Fonts die Font-Metriken minimal anders wirken. */
.kh-brand.kh-heading .kh-wrap .kh-star {
    top: -0.05em;
}

/* Automatische Anpassung je nach Container-Font —
   Element-Kontext bestimmt die richtige Sternposition. */

/* Große Headings (h1, h2) — wie kh-heading */
h1 .kh-brand .kh-wrap .kh-star,
h2 .kh-brand .kh-wrap .kh-star {
    top: -0.05em;
}

/* Mittelgroße Headings (h3, h4) — leicht tiefer */
h3 .kh-brand .kh-wrap .kh-star,
h4 .kh-brand .kh-wrap .kh-star {
    top: 0.05em;
}

/* Kleine Headings (h5, h6) und großer Flißtext — mittlere Position */
h5 .kh-brand .kh-wrap .kh-star,
h6 .kh-brand .kh-wrap .kh-star {
    top: 0.2em;
}

/* Auf dunklem Navy-Hintergrund: Maske muss dunkel sein und Stern hell */
[style*="background:var(--navy)"] .kh-brand,
.bg-navy .kh-brand,
.bg-dark .kh-brand {
    --kh-bg: #0f172a;
}
[style*="background:var(--navy)"] .kh-brand .kh-star,
.bg-navy .kh-brand .kh-star,
.bg-dark .kh-brand .kh-star {
    color: #fff;
}

/* Auf lila Hintergrund: Maske lila, Stern weiß */
.kh-section--purple .kh-brand,
.bg-purple .kh-brand,
[style*="background:var(--primary)"] .kh-brand {
    --kh-bg: var(--primary);
}
.kh-section--purple .kh-brand .kh-star,
.bg-purple .kh-brand .kh-star,
[style*="background:var(--primary)"] .kh-brand .kh-star {
    color: #fff;
}

/* Auf cyan Hintergrund: Maske cyan, Stern weiß */
.kh-section--cyan .kh-brand,
.bg-cyan .kh-brand {
    --kh-bg: var(--cyan, #06b6d4);
}
.kh-section--cyan .kh-brand .kh-star,
.bg-cyan .kh-brand .kh-star {
    color: #fff;
}
