/* Automatisch erzeugt aus partner-details.html und kategorie.html der Website */

        /* Nur für diese Seite – Farben und Radien aus css/reboni.css */
        [hidden] { display: none !important; }

        .pd-crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
        .pd-crumbs span { display: inline-flex; align-items: center; }
        .pd-crumbs { padding-top: 6px; }

        /* Titelbild + Infokarte */
        .pd-cover { height: 300px; border-radius: var(--r-xl); overflow: hidden; background: var(--mint); }
        .pd-cover { position: relative; }
        .pd-deal-link { color: var(--ink); }
        .pd-best-more { color: #FFFFFF; font-weight: 700; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; align-self: flex-start; padding: 8px 0; }
        .pd-best-more:hover { color: var(--sun); }
        .pd-deal-link:hover { color: var(--green); text-decoration: underline; }
        .pd-cover > .rb-media-img, .pd-cover > .rb-brand { position: absolute; inset: 0; width: 100%; height: 100%; }
        .pd-cover > .rb-media-img { object-fit: cover; }
        .pd-cover .rb-brand-name { font-size: 40px; }
        .pd-cover .rb-brand { padding-bottom: 60px; }
        .pd-info { position: relative; margin: -64px 24px 0; border-radius: 30px; background: var(--white); box-shadow: var(--shadow-lift); padding: 22px 26px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
        .pd-logo { width: 80px; height: 80px; font-size: 24px; }
        .pd-logo .pd-initials { display: none; }
        .pd-logo.no-img .pd-initials { display: inline; }
        .pd-info-text { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 8px; }
        .pd-info-text h1 { font-size: 32px; font-weight: 800; letter-spacing: -0.5px; overflow-wrap: anywhere; }
        .pd-chips { display: flex; gap: 8px; flex-wrap: wrap; }
        .pd-desc { color: var(--body); font-size: 15px; }
        .pd-note { color: var(--muted); font-size: 14px; }

        /* Zwei Spalten */
        .pd-layout { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; padding-top: 36px; }
        .pd-main { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
        .pd-side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }

        /* Bester Deal */
        .pd-best { border-radius: 30px; background: var(--green-dark); color: var(--white); padding: 22px; display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
        .pd-best-visual { position: relative; width: 168px; height: 168px; border-radius: 22px; background: var(--white); overflow: hidden; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
        .pd-best-visual img { width: 100%; height: 100%; object-fit: cover; }
        .pd-best-visual.is-product img { object-fit: contain; padding: 14px; }
        .pd-best-pct { position: absolute; left: 8px; bottom: 8px; height: 28px; padding: 0 10px; border-radius: var(--pill); background: var(--sun); color: var(--ink); display: flex; align-items: center; font-size: 14px; font-weight: 800; }
        .pd-best-visual.no-img { background: var(--sun); }
        .pd-best-visual.no-img .pd-best-pct { position: static; height: auto; background: none; font-size: 32px; text-align: center; line-height: 1.1; padding: 0 10px; }
        .pd-best-info { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 10px; }
        .pd-best-info h2 { font-size: 26px; line-height: 1.2; font-weight: 800; overflow-wrap: anywhere; }
        .pd-best-sub, .pd-best-details { font-size: 15px; color: var(--mint-deep); }
        .pd-best .rb-code { max-width: 400px; height: 54px; padding-left: 20px; }
        .pd-best .rb-code-text { font-size: 18px; }
        .pd-best .rb-btn { align-self: flex-start; }

        /* Liste */
        .pd-codes { display: flex; flex-direction: column; gap: 16px; }
        .pd-list-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 8px; }
        .pd-list-head h2 { font-size: 24px; font-weight: 800; }
        .pd-filters .rb-filter { height: 44px; }
        .pd-offers { display: flex; flex-direction: column; gap: 14px; }
        .pd-offers .rb-offer-info h3 { overflow-wrap: anywhere; }
        .pd-offers .rb-offer-sub { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
        .rb-offer-visual .rb-offer-pct { white-space: nowrap; max-width: calc(100% - 12px); overflow: hidden; text-overflow: ellipsis; }
        .rb-offer-visual.no-img .rb-offer-pct { white-space: normal; max-width: none; font-size: 20px; }
        .rb-offer-visual .rb-offer-pct.is-empty { display: none; }
        .rb-offer-visual.no-img .rb-offer-pct.is-empty { display: flex; }
        .pd-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 2px; }
        .pd-tags .rb-chip { height: 26px; font-size: 12px; padding: 0 10px; }
        .pd-chip-warn { background: var(--danger-soft); color: var(--danger); }
        .pd-terms { font-size: 14px; color: var(--muted); }
        .pd-terms summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; font-weight: 700; color: var(--body); }
        .pd-terms summary::after { content: ' +'; white-space: pre; }
        .pd-terms[open] summary::after { content: ' –'; }
        .pd-terms p { white-space: pre-line; padding-bottom: 4px; }
        .pd-offers .rb-offer-action .rb-btn { width: 100%; height: 52px; }

        /* Seitenspalte */
        .pd-box { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
        .pd-box h2 { font-size: 18px; font-weight: 800; }
        .pd-steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
        .pd-steps li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: var(--body); }
        .pd-steps li span:first-child { width: 28px; height: 28px; border-radius: var(--pill); background: var(--mint); color: var(--green-dark); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; flex-shrink: 0; }
        .pd-app { border-radius: 26px; background: var(--sun-soft); }
        .pd-app p { font-size: 15px; line-height: 1.45; color: var(--sun-text); }
        .pd-app .rb-btn { align-self: flex-start; }
        .pd-similar { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
        .pd-similar a { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 4px 6px; margin: 0 -6px; border-radius: 14px; color: var(--ink); }
        .pd-similar a:hover { background: var(--soft); color: var(--ink); }
        .pd-similar .rb-logo-round { width: 44px; height: 44px; font-size: 14px; }
        .pd-similar .rb-logo-round .pd-initials { display: none; }
        .pd-similar .rb-logo-round.no-img .pd-initials { display: inline; }
        .pd-similar-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
        .pd-similar-name { font-size: 15px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
        .pd-similar-sub { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

        .pd-error { max-width: 720px; margin: 0 auto; padding: 72px 0 24px; text-align: center; }
        .pd-error h1 { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
        .pd-error p { color: var(--body); font-size: 17px; margin-bottom: 24px; }
        .pd-error-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

        /* Kopiert-Hinweis aus js/api.js im Seitenstil */
        body #reboni-toast { background: var(--ink); border-radius: var(--pill); padding: 14px 20px; font-family: var(--font); font-weight: 700; font-size: 15px; box-shadow: var(--shadow-lift); }

        @media (max-width: 640px) {
            .pd-cover { height: 200px; border-radius: var(--r-lg); }
            .pd-info { margin: -48px 10px 0; padding: 18px; gap: 14px; border-radius: 26px; }
            .pd-logo { width: 64px; height: 64px; font-size: 20px; }
            .pd-info-text { min-width: 0; flex-basis: calc(100% - 80px); }
            .pd-info-text h1 { font-size: 26px; }
            .pd-info > .rb-btn { width: 100%; }
            .pd-layout { padding-top: 28px; }
            .pd-best { padding: 18px; border-radius: 26px; }
            .pd-best-visual { width: 100%; height: 200px; }
            .pd-best-info { min-width: 0; }
            .pd-best-info h2 { font-size: 22px; }
            .pd-best .rb-btn { width: 100%; }
            .pd-best .pd-long { display: none; }
            .pd-list-head h2 { font-size: 22px; }
            .pd-offers .rb-offer { gap: 14px; }
            .pd-offers .rb-offer-info { min-width: 0; flex-basis: calc(100% - 102px); }
            .pd-error h1 { font-size: 26px; }
        }
    

      /* ---------- Seite: eine Kategorie ---------- */
      .kt-hero { position: relative; margin-top: 18px; padding-bottom: 64px; }
      .kt-photo { height: 320px; border-radius: var(--r-xl); overflow: hidden; background: var(--mint); }
      .kt-photo img { width: 100%; height: 100%; object-fit: cover; }
      .kt-info { position: absolute; left: 32px; bottom: 0; width: min(560px, calc(100% - 64px)); padding: 24px 28px; background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-lift); }
      .kt-info h1 { font-size: 36px; font-weight: 800; letter-spacing: -0.6px; overflow-wrap: anywhere; }
      .kt-count { margin-top: 8px; font-size: 16px; color: var(--body); }
      .kt-count strong { color: var(--ink); }
      .kt-desc { margin-top: 8px; font-size: 15px; color: var(--body); }
      @media (max-width: 640px) {
        .kt-hero { padding-bottom: 0; }
        .kt-photo { height: 180px; border-radius: var(--r-lg); }
        .kt-info { position: relative; left: auto; bottom: auto; width: auto; margin: -44px 12px 0; padding: 18px 20px; }
        .kt-info h1 { font-size: 28px; }
      }

      /* Länderzeile (Stil kommt aus js/api.js, hier ans neue Design angepasst) */
      #countryBar.rc-bar { max-width: none; margin: 28px 0 0; padding: 10px 10px 10px 18px; border: 0; border-radius: var(--pill); background: var(--white); box-shadow: var(--shadow); font-size: 15px; color: var(--body); }
      #countryBar.rc-bar strong { color: var(--ink); font-weight: 700; }
      #countryBar .rc-link { min-height: 44px; padding: 0 12px; border-radius: var(--pill); color: var(--green); font-weight: 700; }
      #countryBar .rc-link:hover { background: var(--soft); text-decoration: none; }
      @media (max-width: 640px) { #countryBar.rc-bar { border-radius: var(--r-md); padding: 12px 14px; } #countryBar .rc-actions, #countryBar .rc-select, #countryBar .rc-select select { width: 100%; } }

      .kt-list-head { margin: 32px 0 16px; }
      .kt-list-head h2 { font-size: 24px; font-weight: 800; }

      /* Shop-Karten (wie auf partner.html) */
      .pt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
      .pt-card { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: 26px; box-shadow: var(--shadow); overflow: hidden; color: var(--ink); transition: box-shadow .15s ease; }
      .pt-card:hover { color: var(--ink); box-shadow: var(--shadow-lift); }
      .pt-cover { height: 88px; background: var(--mint); }
      .pt-cover img { width: 100%; height: 100%; object-fit: cover; }
      .pt-body { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 34px 18px 18px; flex: 1; }
      .pt-logo { position: absolute; left: 16px; top: -28px; width: 56px; height: 56px; border: 4px solid var(--white); box-shadow: 0 0 0 1px var(--line); font-size: 17px; }
      .pt-logo img { position: absolute; inset: 0; margin: auto; background: var(--white); }
      .pt-ini { display: none; }
      .pt-logo.no-img .pt-ini { display: block; }
      .pt-name { font-size: 17px; font-weight: 800; letter-spacing: -0.2px; line-height: 1.25; overflow-wrap: anywhere; }
      .pt-meta { font-size: 14px; color: var(--body); }
      .pt-meta strong { color: var(--green-dark); font-weight: 800; }
      .pt-skel { height: 200px; }
      .pt-more { display: flex; justify-content: center; margin-top: 28px; }
      .kt-box { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow); margin-top: 28px; }
      .kt-box .rb-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
      .pt-grid > .rb-empty { grid-column: 1 / -1; background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow); }
      @media (max-width: 640px) { .pt-grid { grid-template-columns: 1fr 1fr; gap: 12px; } .pt-cover { height: 64px; } .pt-body { padding: 30px 12px 14px; } .pt-logo { left: 10px; top: -24px; width: 48px; height: 48px; font-size: 15px; } .pt-name { font-size: 15px; } .pt-meta { font-size: 13px; } }
    

/* ---- Zusätze für die Gutschein-Seiten ---- */
[hidden] { display: none !important; }
.seo-fresh { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: var(--pill); background: var(--mint); color: var(--green-dark); font-size: 13px; font-weight: 700; }
.seo-fresh::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.kt-info .seo-fresh { margin-bottom: 8px; }
.seo-block { padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.seo-block h2 { font-size: 22px; font-weight: 800; }
.seo-block p { color: var(--body); font-size: 15.5px; line-height: 1.6; }
.seo-faq { display: flex; flex-direction: column; }
.seo-faq details { border-top: 1px solid var(--line); }
.seo-faq details:first-child { border-top: 0; }
.seo-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px; font-weight: 700; font-size: 16px; }
.seo-faq summary::-webkit-details-marker { display: none; }
.seo-faq summary::after { content: "+"; width: 32px; height: 32px; border-radius: var(--pill); background: var(--soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; }
.seo-faq details[open] summary::after { content: "–"; }
.seo-faq details p { padding: 0 0 16px; }
.seo-expired ul { list-style: none; margin: 0; padding: 0; }
.seo-expired li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.seo-expired li:first-child { border-top: 0; }
.seo-head { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px 0 8px; }
.seo-head h1 { font-size: 40px; font-weight: 800; letter-spacing: -0.6px; line-height: 1.1; }
.seo-head p { color: var(--body); font-size: 17px; }
.seo-stack { display: flex; flex-direction: column; gap: 22px; padding: 28px 0 40px; }
.seo-more { display: flex; flex-direction: column; gap: 12px; padding-top: 18px; }
.seo-more h2 { font-size: 18px; font-weight: 800; }
.seo-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.seo-cats a { height: 40px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: var(--pill); background: var(--white); border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 14px; }
.seo-cats a:hover { border-color: var(--green); color: var(--green); }
.seo-letters { display: flex; flex-wrap: wrap; gap: 6px; padding: 22px 0 6px; }
.seo-letters a { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--pill); background: var(--white); color: var(--ink); font-weight: 800; box-shadow: var(--shadow); }
.seo-letters a:hover { background: var(--mint); }
.seo-az { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; padding: 16px 0 48px; align-items: start; }
.seo-letter { padding: 20px 22px; }
.seo-letter h2 { font-size: 26px; font-weight: 800; color: var(--green); margin-bottom: 6px; }
.seo-letter ul { list-style: none; margin: 0; padding: 0; }
.seo-letter li { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid var(--line); }
.seo-letter li:first-child { border-top: 0; }
.seo-letter li a { flex: 1; min-width: 0; min-height: 44px; display: flex; align-items: center; color: var(--ink); font-weight: 600; font-size: 15px; }
.seo-letter li a:hover { color: var(--green); }
.seo-letter li a { gap: 12px; padding: 6px 0; }
.seo-logo { width: 36px; height: 36px; }
.seo-logo img { width: 74%; height: 74%; }
.seo-logo .pd-initials { display: none; font-size: 12px; font-weight: 800; }
.seo-logo.no-img .pd-initials { display: inline; }
.seo-name { min-width: 0; }
.seo-dom { color: var(--muted); font-weight: 400; font-size: 13px; margin-left: 6px; }
.seo-letter li > span { min-width: 28px; height: 24px; padding: 0 8px; border-radius: var(--pill); background: var(--mint); color: var(--green-dark); font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.rb-market-list a[aria-current] { font-weight: 800; }
@media (max-width: 640px) { .seo-head h1 { font-size: 30px; } .seo-block { padding: 20px; } }
