/* Homepage premium sections */
.am-home-section {
    margin-bottom: 2.5rem;
}

.am-home-section--card {
    background: var(--am-surface);
    border: 1px solid var(--am-border);
    border-radius: var(--am-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--am-shadow-sm);
}

/* ── Top Influencer / Gifts ── */
.am-top-boards {
    display: grid;
    gap: 1.25rem;
}

.am-top-boards--1 { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
.am-top-boards--2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 768px) {
    .am-top-boards--2 { grid-template-columns: 1fr; }
    .am-top-boards--1 { max-width: none; }
}

.am-top-board {
    background: var(--am-surface);
    border: 1px solid var(--am-border);
    border-radius: var(--am-radius-lg);
    overflow: hidden;
    box-shadow: var(--am-shadow-sm);
}

.am-top-board__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--am-border);
    background: linear-gradient(135deg, var(--am-surface-alt) 0%, var(--am-surface) 100%);
}

.am-top-board__title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--am-text);
    margin: 0;
}

.am-top-board__title img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.am-top-board__all {
    background: var(--am-accent);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
}

.am-top-board__all:hover {
    background: var(--am-accent-hover);
    color: #fff;
}

.am-top-board__body {
    padding: 1.25rem;
}

.am-top-board__empty {
    margin: 0;
    text-align: center;
    color: var(--am-text-muted);
    font-size: 0.9rem;
    padding: 1rem 0;
}

.am-top-users {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

@media (max-width: 480px) {
    .am-top-users { grid-template-columns: repeat(3, 1fr); gap: 0.65rem; }
}

.am-top-user {
    text-align: center;
    text-decoration: none;
    color: var(--am-text);
    transition: transform 0.15s;
}

.am-top-user:hover {
    transform: translateY(-2px);
    color: var(--am-primary);
}

.am-top-user__img-wrap {
    position: relative;
    margin: 0 auto 0.5rem;
    width: 72px;
}

.am-top-user__img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--am-border);
    display: block;
}

.am-top-user__badge {
    position: absolute;
    top: 6px;
    right: 6px;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: var(--am-accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.45rem;
    border-radius: 6px;
    line-height: 1;
}

.am-top-user__badge img {
    width: 12px;
    height: 12px;
}

.am-top-user__name {
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Modal list items */
.am-modal-list {
    border: 1px solid var(--am-border);
    border-radius: var(--am-radius);
    overflow: hidden;
}

.am-modal-list__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--am-border);
    gap: 1rem;
}

.am-modal-list__item:last-child { border-bottom: none; }

.am-modal-list__item a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--am-text);
    flex: 1;
    min-width: 0;
}

.am-modal-list__item img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.am-modal-list__rank {
    font-size: 0.8rem;
    color: var(--am-text-muted);
}

.am-modal-list__count {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--am-surface-alt);
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.am-modal-list__count img { width: 16px; height: 16px; }

/* ── Events grid ── */
.am-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
}

.am-event-card {
    background: var(--am-surface);
    border: 1px solid var(--am-border);
    border-radius: var(--am-radius);
    overflow: hidden;
    box-shadow: var(--am-shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.am-event-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--am-shadow-md);
}

.am-event-card--top {
    border-color: var(--am-accent);
    box-shadow: 0 4px 20px rgba(232, 93, 58, 0.15);
}

.am-event-card__img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.am-event-card__body {
    padding: 1.1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.am-event-card__title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: var(--am-text);
    line-height: 1.35;
}

.am-event-card__meta {
    font-size: 0.85rem;
    color: var(--am-text-muted);
    margin-bottom: 0.35rem;
}

.am-event-card__desc {
    font-size: 0.875rem;
    color: var(--am-text-muted);
    margin: 0 0 1rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.am-event-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid var(--am-border);
}

.am-event-card__link {
    color: var(--am-primary-light);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.am-event-card__link:hover { color: var(--am-accent); }

.am-event-card__top-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
}

.am-event-card__img-wrap {
    position: relative;
}

/* ── Gallery grid ── */
.am-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.am-gallery-grid--home {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.15rem;
}

@media (min-width: 992px) {
    .am-featured-cats {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .am-featured-cats {
        grid-template-columns: repeat(10, minmax(0, 1fr));
    }
}

/* ── Premium top gallery ── */
.am-home-section--premium {
    background: linear-gradient(135deg, #041418 0%, var(--am-primary-dark) 45%, #0a2d36 100%);
    border: none;
    border-radius: var(--am-radius-lg);
    padding: 1rem 1rem 0.9rem;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
}

.am-home-section--premium .am-section-head {
    margin-bottom: 0.85rem;
}

.am-home-section--premium::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 45%;
    height: 160%;
    background: radial-gradient(ellipse, rgba(232, 93, 58, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.am-section-head__left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.am-section-title--light {
    color: #fff;
}

.am-btn--outline-light {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.am-btn--outline-light:hover {
    background: #fff;
    color: var(--am-primary);
    border-color: #fff;
}

.am-premium-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.65rem;
    border-radius: 100px;
    background: linear-gradient(135deg, #f6c453 0%, #e85d3a 100%);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.am-top-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
    position: relative;
}

@media (max-width: 1200px) {
    .am-top-gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .am-top-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .am-top-gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Kompakte Premium-Karten in der Top-Galerie */
.am-top-gallery-grid .am-gallery-card--featured {
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.am-top-gallery-grid .am-gallery-card--featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.26);
}

.am-top-gallery-grid .am-gallery-card--featured .am-gallery-card__media {
    padding: 0.15rem 0.15rem 0;
}

.am-top-gallery-grid .am-gallery-card__img-frame {
    aspect-ratio: 5 / 4;
    border-radius: 6px;
}

.am-top-gallery-grid .am-gallery-card--featured .am-gallery-card__body {
    padding: 0.45rem 0.5rem 0.55rem;
}

.am-top-gallery-grid .am-gallery-card--featured .am-gallery-card__title {
    font-size: 0.78rem;
    margin-bottom: 0.15rem;
    -webkit-line-clamp: 1;
}

.am-top-gallery-grid .am-gallery-card--featured .am-gallery-card__location {
    font-size: 0.72rem;
    margin-bottom: 0;
}

.am-home-section--premium .am-gallery-card--featured .am-gallery-card__media {
    padding: 0.15rem 0.15rem 0;
}

.am-top-gallery-grid .am-gallery-card__badge,
.am-home-section--premium .am-gallery-card--featured .am-gallery-card__badge {
    top: 2px;
    left: 2px;
    font-size: 0.54rem;
    padding: 0.16rem 0.38rem;
    border-radius: 0 0 6px 0;
}

.am-top-gallery-grid .am-gallery-card__badge i,
.am-home-section--premium .am-gallery-card--featured .am-gallery-card__badge i {
    font-size: 0.5rem;
}

.am-top-gallery-grid .am-gallery-card__new-badge--overlay,
.am-home-section--premium .am-gallery-card__new-badge--overlay {
    top: 2px;
    right: 2px;
    left: auto;
    font-size: 0.54rem;
    padding: 0.16rem 0.38rem;
    border-radius: 0 0 0 6px;
}

.am-top-gallery-grid .am-gallery-card__price-chip,
.am-home-section--premium .am-gallery-card--featured .am-gallery-card__price-chip {
    left: 8px;
    bottom: 8px;
    font-size: 0.78rem;
    padding: 0.28rem 0.5rem;
    border-radius: 8px;
}

/* Homepage Swiper (Slider-Modus) */
.am-home-swiper {
    position: relative;
    padding: 0 2.5rem;
    margin: 0 -0.5rem;
}

.am-home-swiper .swiper-slide {
    height: auto;
}

.am-home-swiper .swiper-button-next,
.am-home-swiper .swiper-button-prev {
    color: var(--am-accent);
    width: 36px;
    height: 36px;
    background: var(--am-surface);
    border: 1px solid var(--am-border);
    border-radius: 50%;
    box-shadow: var(--am-shadow-sm);
}

.am-home-swiper .swiper-button-next::after,
.am-home-swiper .swiper-button-prev::after {
    font-size: 14px;
    font-weight: 700;
}

.am-home-section--premium .am-home-swiper .swiper-button-next,
.am-home-section--premium .am-home-swiper .swiper-button-prev {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
}

.am-home-swiper .swiper-button-disabled {
    opacity: 0.35;
}

.am-business-card {
    display: block;
    background: var(--am-surface);
    border: 1px solid var(--am-border);
    border-radius: var(--am-radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    height: 100%;
    box-shadow: var(--am-shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}

.am-business-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--am-shadow-md);
    color: inherit;
}

.am-business-card__img {
    width: 100%;
    height: 140px;
    object-fit: contain;
    background: #fff;
    padding: 0.5rem;
}

.am-business-card__body {
    padding: 0.75rem;
}

.am-business-card__title {
    font-size: 0.88rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
}

.am-business-card__country {
    margin: 0;
    font-size: 0.78rem;
    color: var(--am-text-muted);
}

.am-premium-packages {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.am-premium-package {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--am-border);
    border-radius: 10px;
    cursor: pointer;
    margin: 0;
    transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.am-premium-package:has(input:checked),
.am-premium-package.is-selected {
    background: #f0fdf4;
    border-color: #86efac;
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.2);
}

.am-premium-package input {
    flex-shrink: 0;
}

.am-premium-package--included {
    background: #f0fdf4;
    cursor: default;
    grid-template-columns: minmax(0, 1fr) auto;
}

.am-premium-package__head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.am-premium-package__info {
    min-width: 0;
}

.am-premium-package__img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    flex-shrink: 0;
}

.am-premium-package__name {
    font-weight: 700;
}

.am-premium-package__meta,
.am-premium-package__price {
    font-size: 0.82rem;
    color: var(--am-text-muted);
}

.am-premium-package__price {
    justify-self: end;
    text-align: right;
    flex-shrink: 0;
    padding-left: 1rem;
}

.am-price-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    font-size: 0.78rem;
    line-height: 1.35;
}

.am-price-breakdown__line {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    color: var(--am-text-muted);
}

.am-price-breakdown__line--gross {
    color: var(--am-accent);
    font-weight: 700;
}

.am-price-breakdown--package {
    min-width: 9.5rem;
    margin-left: auto;
}

.am-price-breakdown--package .am-price-breakdown__line {
    display: grid;
    grid-template-columns: minmax(4.5rem, auto) auto;
    justify-content: end;
    gap: 0.65rem;
    text-align: right;
}

.am-price-breakdown--package .am-price-breakdown__line span:last-child {
    min-width: 4.5rem;
    text-align: right;
    white-space: nowrap;
}

.am-fs-pack__price .am-price-breakdown {
    text-align: right;
}

.am-premium-package__check {
    margin-left: auto;
    color: #22c55e;
    font-size: 1.25rem;
}


a.am-gallery-card,
.am-gallery-card__link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.am-gallery-card {
    position: relative;
    background: var(--am-surface);
    border: 1px solid var(--am-border);
    border-radius: var(--am-radius);
    overflow: hidden;
    box-shadow: var(--am-shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}

.am-gallery-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--am-shadow-md);
}

.am-gallery-card__img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.am-gallery-card__body {
    padding: 0.85rem 1rem;
}

.am-gallery-card__title {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 0.35rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--am-text);
}

.am-gallery-card__location {
    margin: 0 0 0.35rem;
    font-size: 0.78rem;
    color: var(--am-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.am-gallery-card__location i {
    color: var(--am-primary-light);
    margin-right: 0.25rem;
    font-size: 0.72rem;
}

.am-gallery-card__price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--am-accent);
    margin: 0;
}

.am-gallery-card--featured {
    border: 2px solid rgba(246, 196, 83, 0.65);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
    border-radius: 16px;
}

.am-gallery-card--featured:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.32);
    border-color: #f6c453;
}

.am-gallery-card__media {
    position: relative;
}

.am-gallery-card--featured .am-gallery-card__media {
    padding: 0.85rem 0.85rem 0;
    background: linear-gradient(180deg, #f4f8fa 0%, #fff 100%);
}

[data-theme="dark"] .am-top-gallery-grid .am-gallery-card--featured,
[data-theme="dark"] .am-gallery-card--featured {
    border-color: rgba(246, 196, 83, 0.35);
    background: #101a20;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

[data-theme="dark"] .am-gallery-card--featured .am-gallery-card__media {
    padding: 0.35rem 0.35rem 0;
    background: linear-gradient(180deg, #0d161c 0%, #121c22 100%);
}

[data-theme="dark"] .am-gallery-card--featured .am-gallery-card__img-frame {
    background: #0a1216;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .am-gallery-card--featured .am-gallery-card__body {
    padding: 0.45rem 0.5rem 0.55rem;
    background: linear-gradient(180deg, #121c22 0%, #0d161c 100%);
}

[data-theme="dark"] .am-gallery-card--featured .am-gallery-card__title {
    color: #dce8ed;
}

[data-theme="dark"] .am-gallery-card--featured .am-gallery-card__location {
    color: #7a939f;
}

.am-gallery-card__img-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    overflow: hidden;
    background: #e4eaed;
    box-shadow:
        inset 0 0 0 1px rgba(12, 74, 92, 0.1),
        0 4px 16px rgba(6, 31, 38, 0.12);
}

.am-gallery-card__img-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(6, 31, 38, 0.75) 0%, rgba(6, 31, 38, 0.06) 48%, transparent 100%);
    pointer-events: none;
}

.am-gallery-card--featured .am-gallery-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.am-gallery-card--featured:hover .am-gallery-card__img {
    transform: scale(1.05);
}

.am-gallery-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.am-gallery-card--featured .am-gallery-card__body {
    padding: 1rem 1.15rem 1.15rem;
    background: linear-gradient(180deg, #fff 0%, #f8fbfc 100%);
}

.am-gallery-card--featured .am-gallery-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.am-gallery-card--featured .am-gallery-card__location {
    font-size: 0.82rem;
}

.am-gallery-card__badge {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: linear-gradient(135deg, #f6c453 0%, #e85d3a 100%);
    color: #fff;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 0.28rem 0.55rem;
    border-radius: 100px;
    box-shadow: 0 4px 12px rgba(232, 93, 58, 0.45);
}

.am-gallery-card__badge i {
    font-size: 0.62rem;
}

.am-gallery-card__price-chip {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 3;
    background: var(--am-accent);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 800;
    padding: 0.4rem 0.8rem;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(232, 93, 58, 0.4);
}

.am-gallery-card__top {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
}

.am-gallery-card__new-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    background: #16a34a;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 0.28rem 0.5rem;
    border-radius: 4px;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.35);
}

.am-gallery-card__new-badge--overlay {
    top: 6px;
    right: 6px;
    left: auto;
}

.am-tag--new {
    background: #dcfce7;
    color: #166534;
    font-weight: 700;
}

.am-gallery-card__star-btn {
    position: absolute;
    top: auto;
    bottom: 10px;
    right: 10px;
    left: auto;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 1px solid var(--am-border);
    background: var(--am-surface);
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: var(--am-shadow-sm);
    transition: color 0.15s, transform 0.15s, background 0.15s, border-color 0.15s;
}

.am-gallery-card__star-btn.addMerk {
    color: var(--am-text-muted);
}

.am-gallery-card__star-btn.removeMerk {
    color: #f59e0b;
    background: #fffbeb;
    border-color: #fcd34d;
}

.am-gallery-card__star-btn:hover {
    transform: scale(1.08);
    border-color: var(--am-primary);
    color: var(--am-primary);
}

/* ── Section head ── */
.am-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.am-section-head .am-section-title { margin: 0; }

.am-section-link {
    color: var(--am-primary-light);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    white-space: nowrap;
}

.am-section-link:hover { color: var(--am-accent); }

/* ── Featured categories ── */
.am-featured-cats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 1rem;
}

.am-featured-cat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 1rem 0.65rem 0.85rem;
    background: var(--am-surface-alt);
    color: var(--am-text);
    border: 1px solid var(--am-border);
    border-radius: var(--am-radius);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.82rem;
    min-height: 132px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: var(--am-shadow-sm);
}

.am-featured-cat:hover {
    transform: translateY(-3px);
    box-shadow: var(--am-shadow-md);
    color: inherit;
}

.am-featured-cat__img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 0.6rem;
}

.am-featured-cat__icon {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.am-featured-cat__name {
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: auto;
    width: 100%;
    padding-top: 0.35rem;
}

/* ── Ad grid ── */
.am-ad-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.am-ad-card {
    background: var(--am-surface);
    border: 1px solid var(--am-border);
    border-radius: var(--am-radius);
    overflow: hidden;
    box-shadow: var(--am-shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}

.am-ad-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--am-shadow-md);
}

.am-ad-card a {
    display: block;
    padding: 1.25rem;
    text-decoration: none;
    color: inherit;
}

.am-ad-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: var(--am-text);
    line-height: 1.35;
}

.am-ad-card .am-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--am-accent);
    margin: 0;
}

/* ── Homepage info banners (Info Startseite) ── */
.am-home-infos {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 0 1rem;
}

.am-home-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    width: 100%;
    max-width: var(--am-content-max);
    margin: 0 auto;
    padding: 1.75rem 2rem;
    border-radius: var(--am-radius-lg, 12px);
    background: linear-gradient(196deg, #f7f7f7 42%, #f0a030 100%);
    box-shadow: var(--am-shadow-md);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.am-home-info:hover {
    transform: translateY(-3px);
    box-shadow: var(--am-shadow-lg);
}

.am-home-info__main {
    flex: 1;
    min-width: 0;
    text-align: center;
}

.am-home-info__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: var(--am-text);
}

.am-home-info__text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--am-text-muted);
    margin-bottom: 1rem;
}

.am-home-info__text p:last-child {
    margin-bottom: 0;
}

.am-home-info__btn {
    margin-top: 0.25rem;
}

.am-home-info__img {
    flex-shrink: 0;
    max-width: 220px;
    max-height: 140px;
    width: auto;
    height: auto;
    border-radius: 10px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .am-home-info {
        flex-direction: column;
        padding: 1.25rem;
        text-align: center;
    }

    .am-home-info__img {
        max-width: 180px;
        max-height: 120px;
    }

    .am-home-info__img--right {
        order: 3;
    }
}
