/* Go-Sexall – Anbieter-Detailseite
   Eigenständiges Stylesheet für /anbieter/{slug}
*/

:root {
    color-scheme: light;
    --page-bg: #ffffff;
    --header-bg: #ffffff;
    --panel-bg: #ffffff;
    --panel-soft: #f7f7f9;
    --border: #e2e2e7;
    --text: #24242a;
    --muted: #666672;
    --accent: #e34395;
    --accent-hover: #ce2d80;
}

* { box-sizing: border-box; }

html { min-height: 100%; }

body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    background: var(--page-bg);
    color: var(--text);
    font: 16px/1.6 Arial, Helvetica, sans-serif;
}

a { color: #f0a0c5; text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
    width: min(100% - 40px, 960px);
    margin-inline: auto;
}

.site-header {
    background: var(--header-bg);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-block;
    color: var(--text);
    font-size: clamp(23px, 3vw, 29px);
    font-weight: 900;
    letter-spacing: .3px;
    white-space: nowrap;
}
.brand span { color: var(--accent); }
.brand:hover { text-decoration: none; }
.age { color: var(--muted); font-size: 13px; text-align: right; }

.pxf-provider-main { flex: 1; }

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin: 24px 0 16px;
    color: #777783;
    font-size: 13px;
}
.breadcrumb a { color: var(--accent); font-weight: 700; }

.provider-card {
    overflow: hidden;
    margin: 0 0 24px;
    background: var(--panel-bg);
    border: 1px solid var(--border);
    border-radius: 13px;
    box-shadow: 0 12px 34px rgb(0 0 0 / 15%);
}

.provider-top {
    display: grid;
    grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
    align-items: start;
    gap: 28px;
    padding: 28px;
}

.provider-logo-box {
    width: 100%;
    min-height: 180px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f7f7f9;
    border: 1px solid var(--border);
    border-radius: 10px;
}
.provider-logo-box img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 260px;
    object-fit: contain;
}
.no-logo { padding: 16px; color: #777781; font-size: 13px; text-align: center; }
.provider-main-content { min-width: 0; }

.provider-main-content h1 {
    margin: 0 0 13px;
    color: var(--text);
    font-size: clamp(27px, 3.5vw, 40px);
    line-height: 1.15;
    overflow-wrap: anywhere;
}
.provider-intro { margin: 0; color: var(--muted); line-height: 1.75; overflow-wrap: anywhere; }
.provider-intro strong { color: var(--text); }

.provider-top-action { margin-top: 18px; }
.visit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 24px;
    background: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 7px;
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
    transition: filter .15s ease, transform .15s ease;
}
.visit:hover { color: #fff; filter: brightness(1.08); text-decoration: none; }
.visit:active { transform: translateY(1px); }
.visit-top { width: 320px; max-width: 100%; }

.rating-section {
    margin-top: 22px;
    padding: 15px 17px;
    background: var(--panel-soft);
    border: 1px solid var(--border);
    border-radius: 9px;
}
.rating-section h2,
.provider-description h2 {
    margin: 0 0 12px;
    color: var(--text);
    font-size: 20px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.rating { color: var(--accent); font-size: 22px; letter-spacing: 2px; line-height: 1.7; }
.rating-text { margin-left: 8px; color: var(--muted); font-size: 13px; letter-spacing: 0; }

.provider-description {
    margin: 0 28px 28px;
    padding: 22px;
    background: var(--panel-soft);
    border: 1px solid var(--border);
    border-radius: 10px;
}
.description-copy { color: #d0d0d6; line-height: 1.85; overflow-wrap: anywhere; }
.description-copy p { margin: 0 0 1em; }
.description-copy p:last-child { margin-bottom: 0; }

.provider-back { display: inline-block; margin: 0 0 34px; color: var(--accent); font-weight: 700; }
.site-footer {
    margin-top: auto;
    padding: 26px 20px;
    background: var(--header-bg);
    border-top: 1px solid #292930;
    color: #777783;
    font-size: 12px;
    text-align: center;
}

@media (max-width: 650px) {
    .container { width: min(100% - 28px, 960px); }
    .header-inner { min-height: 68px; gap: 12px; }
    .age { max-width: 125px; font-size: 12px; }
    .breadcrumb { margin-top: 19px; }
    .provider-top { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 18px; }
    .provider-logo-box { width: min(100%, 220px); min-height: 150px; }
    .provider-logo-box img { max-height: 220px; }
    .provider-main-content h1 { font-size: clamp(25px, 7vw, 32px); }
    .visit-top { width: 100%; }
    .rating-section { margin-top: 18px; }
    .provider-description { margin: 0 18px 18px; padding: 17px; }
    .rating-section h2, .provider-description h2 { font-size: 18px; }
    .rating { font-size: 19px; letter-spacing: 1px; }
    .rating-text { display: inline-block; margin-left: 4px; }
}

@media (prefers-reduced-motion: reduce) {
    .visit { transition: none; }
}


/* Unterer, zusätzlicher Angebotsbereich */
.provider-action {
    margin: 0 28px 28px;
    padding: 22px;
    background: var(--panel-soft);
    border: 1px solid var(--border);
    border-radius: 10px;
}
.provider-action h2 {
    margin: 0 0 10px;
    color: var(--text);
    font-size: 21px;
    line-height: 1.3;
}
.provider-action p {
    margin: 0;
    color: var(--muted);
}
.provider-action .visit-bottom {
    margin-top: 18px;
    width: auto;
    min-width: 280px;
    max-width: 100%;
}
.visit {
    color: #fff;
    background: var(--accent);
    border-color: var(--accent);
}
.visit:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: #fff;
}
@media (max-width: 650px) {
    .provider-action {
        margin: 0 18px 18px;
        padding: 17px;
    }
    .provider-action .visit-bottom {
        width: 100%;
        min-width: 0;
    }
}

/* Informationstext besser lesbar machen */
.provider-description-copy {
    color: #222222 !important;
    font-size: 17px;
    line-height: 1.85;
}

/* Überschrift des Informationsbereichs */
.provider-description h2 {
    color: #171717 !important;
}
.provider-intro {
    color: #444444 !important;
}

/* Informationstext: hoher Kontrast auf hellem Hintergrund */
.provider-description .description-copy {
    color: #222222 !important;
    font-size: 17px !important;
    line-height: 1.85 !important;
    opacity: 1 !important;
}

/* Auch verschachtelte Texte dunkel darstellen */
.provider-description .description-copy p,
.provider-description .description-copy span {
    color: #222222 !important;
    opacity: 1 !important;
}
