@import url('https://fonts.googleapis.com/css2?family=Alfa+Slab+One&family=Kaushan+Script&family=Playfair+Display:wght@600;700&family=Source+Sans+3:wght@400;600;700&display=swap');

:root {
    --herzfunk-page-bg: #fefee2;
    --herzfunk-green: #60b550;
    --herzfunk-green-dark: #4a9a3d;
    --herzfunk-gold: #a68d59;
    --herzfunk-band: #c2a169;
    --herzfunk-purple: #8b00ff;
    --herzfunk-purple-soft: #7b1fa2;
    --herzfunk-cream: #fefee2;
    --herzfunk-lime: #e2f0b5;
    --herzfunk-mint: #b5e8c8;
    --herzfunk-blue: #0084ff;
    --herzfunk-text: #333333;
    --herzfunk-muted: #666666;

    --btn-bg: transparent;
    --btn-bg-hover: rgba(166, 141, 89, 0.08);
    --btn-color: var(--herzfunk-gold);
    --btn-color-hover: #8b6914;
    --btn-border: transparent;
    --btn-border-hover: transparent;
    --btn-shadow: none;
    --btn-shadow-hover: none;
}

body.herzfunk-body,
body:has(.herzfunk-site) {
    background: var(--herzfunk-page-bg) !important;
    background-image: none !important;
    color: var(--herzfunk-text) !important;
    font-family: 'Source Sans 3', 'Segoe UI', sans-serif !important;
}

.herzfunk-site {
    background: var(--herzfunk-page-bg);
    box-shadow: none;
}

.herzfunk-nav {
    background: #ffffff;
    border-bottom: 1px solid #dddddd;
    width: 100%;
    max-width: 100%;
}

.herzfunk-header {
    background: #ffffff !important;
    border: none !important;
    border-radius: 0 !important;
    margin-bottom: 0 !important;
    overflow: hidden;
}

.herzfunk-banner {
    position: relative;
    width: 100%;
    aspect-ratio: var(--header-aspect-ratio, 1100 / 280);
    min-height: 180px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0) 55%, rgba(255,255,255,0.85) 100%),
        var(--theme-header-image, linear-gradient(180deg, #b8d4e8 0%, #e8eef2 40%, #c8d8c0 100%)) !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

.herzfunk-logo-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.herzfunk-logo {
    font-family: 'Kaushan Script', cursive;
    font-size: clamp(2.4rem, 7vw, 4.5rem);
    color: var(--herzfunk-green);
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.8);
    letter-spacing: 0.02em;
    transform: rotate(-1deg);
}

.herzfunk-main {
    background: var(--herzfunk-page-bg);
    padding: 0 24px 32px;
}

.herzfunk-center,
.herzfunk-side {
    background: var(--herzfunk-page-bg);
}

.herzfunk-page-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 28px 0 18px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
    background: var(--herzfunk-page-bg);
}

.herzfunk-page-title {
    margin: 0;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 700;
    color: var(--cms-page-title, var(--cms-box-header, #222222));
}

.herzfunk-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.herzfunk-page-head--karaoke-home {
    justify-content: flex-end;
    border-bottom: none;
    margin-bottom: 0;
    padding-top: 18px;
    padding-bottom: 8px;
}

.herzfunk-site .kr-home-welcome.herzfunk-page-title {
    font-size: clamp(1.85rem, 4.5vw, 2.55rem) !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: var(--cms-page-title, var(--cms-box-header, var(--herzfunk-purple-soft, #6b4f7a))) !important;
    text-align: center !important;
    text-transform: none !important;
    margin: 0 0 24px !important;
}

.herzfunk-breadcrumb {
    font-size: 0.9rem;
    color: var(--herzfunk-muted);
    white-space: nowrap;
}

.herzfunk-breadcrumb a {
    color: var(--herzfunk-gold);
    text-decoration: none;
}

.herzfunk-breadcrumb a:hover {
    text-decoration: underline;
}

.herzfunk-breadcrumb-current {
    color: var(--herzfunk-gold);
}

.herzfunk-breadcrumb-sep {
    margin: 0 6px;
    color: #bbbbbb;
}

.herzfunk-promo-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: var(--herzfunk-mint);
    border: 1px solid #b8b8b8;
    border-radius: 2px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
    padding: 28px 32px;
    margin-bottom: 28px;
    min-height: 120px;
    position: relative;
    overflow: hidden;
}

.herzfunk-promo-headline {
    margin: 0 0 8px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.2rem, 3vw, 1.75rem);
    font-weight: 700;
    color: var(--herzfunk-purple-soft);
    line-height: 1.25;
    text-transform: uppercase;
}

.herzfunk-promo-subline {
    margin: 0;
    font-size: 0.95rem;
    color: var(--herzfunk-purple-soft);
    opacity: 0.95;
    text-transform: uppercase;
}

.herzfunk-promo-mic {
    font-size: 5rem;
    opacity: 0.22;
    flex-shrink: 0;
    filter: grayscale(0.2);
}

.panel-box,
.content-box-middle,
.herzfunk-box {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin-bottom: var(--gap-boxes-vertical, 20px) !important;
}

.box-header,
.content-header {
    background: transparent !important;
    background-image: none !important;
    color: var(--herzfunk-purple-soft) !important;
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: clamp(1.4rem, 3vw, 2rem) !important;
    font-weight: 700 !important;
    border-bottom: none !important;
    padding: 8px 0 12px !important;
    height: auto !important;
    text-transform: uppercase;
}

.box-content,
.content-body {
    background: transparent !important;
    color: var(--herzfunk-green) !important;
    padding: 0 0 16px !important;
    text-shadow: none !important;
    font-family: 'Playfair Display', Georgia, serif !important;
    font-weight: 600;
    line-height: 1.55 !important;
}

.herzfunk-site .content-header,
.herzfunk-site .box-header,
.herzfunk-site .content-body,
.herzfunk-site .box-content {
    text-align: center !important;
}

.herzfunk-site .content-header,
.herzfunk-site .box-header {
    justify-content: center !important;
}

.herzfunk-center .box-content h1,
.herzfunk-center .box-content h2,
.herzfunk-center .box-content h3,
.herzfunk-center .content-body h1,
.herzfunk-center .content-body h2,
.herzfunk-center .content-body h3,
.herzfunk-side .box-content h1,
.herzfunk-side .box-content h2,
.herzfunk-side .box-content h3 {
    color: var(--herzfunk-purple-soft) !important;
    font-family: 'Playfair Display', Georgia, serif !important;
    text-shadow: none !important;
}

.herzfunk-center .box-content p,
.herzfunk-center .box-content li,
.herzfunk-center .content-body p,
.herzfunk-center .content-body li,
.herzfunk-side .box-content p,
.herzfunk-side .box-content li {
    color: var(--herzfunk-green) !important;
    text-shadow: none !important;
}

.herzfunk-center .box-content a,
.herzfunk-center .content-body a,
.herzfunk-side .box-content a {
    color: var(--herzfunk-blue) !important;
    text-shadow: none !important;
}

.box-content::before,
.content-body::before {
    display: none !important;
}

.herzfunk-footer {
    background: var(--herzfunk-page-bg) !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin-top: 0 !important;
    padding: 36px 24px 20px !important;
    text-align: left !important;
}

.herzfunk-footer-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: var(--layout-max, 100%);
    margin: 0 auto;
}

.herzfunk-footer-heading {
    margin: 0 0 14px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.15rem;
    color: var(--herzfunk-purple);
}

.herzfunk-footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.herzfunk-footer-list li {
    margin-bottom: 8px;
}

.herzfunk-footer-list a {
    color: var(--herzfunk-gold);
    text-decoration: none;
    font-size: 0.95rem;
}

.herzfunk-footer-list a:hover {
    text-decoration: underline;
    color: #8b6914;
}

.herzfunk-footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.herzfunk-fb-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #1877f2;
    color: #ffffff;
    border-radius: 4px;
    text-decoration: none;
}

.herzfunk-qr-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: 2px solid #cccccc;
    background: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    color: #888888;
}

.herzfunk-service-logos {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.herzfunk-service-badge {
    display: inline-block;
    padding: 8px 14px;
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #444444;
    width: fit-content;
}

.herzfunk-service-laut {
    color: #2e7d32;
    font-weight: 700;
}

.herzfunk-service-radio {
    color: #2e7d32;
    font-weight: 700;
    font-style: italic;
}

.herzfunk-footer-bottom {
    max-width: var(--layout-max, 100%);
    margin: 24px auto 0;
    padding-top: 16px;
    border-top: 1px solid rgba(166, 141, 89, 0.25);
    text-align: center;
}

.herzfunk-copyright {
    color: var(--herzfunk-muted) !important;
    font-size: 0.8rem !important;
}

.herzfunk-error {
    padding: 12px;
    color: #b00020;
    font-size: 0.9rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Willkommens-Box (HTML in CMS-Box einfügen – siehe snippets/welcome_content.html) */
.hf-welcome {
    max-width: 980px;
    margin: 0 auto;
    padding: 8px 0 24px;
    text-align: center;
}

.hf-welcome-band {
    background: var(--herzfunk-band, #c2a169);
    color: #ffffff;
    padding: 14px 20px;
    margin-bottom: 6px;
    box-sizing: border-box;
}

.hf-welcome-band--hero {
    padding: 18px 20px;
}

.hf-welcome-title {
    margin: 0;
    font-family: 'Alfa Slab One', 'Playfair Display', Georgia, serif;
    font-size: clamp(1.6rem, 4.5vw, 2.6rem);
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.15;
    color: #ffffff !important;
    text-transform: uppercase;
    text-shadow: none !important;
}

.hf-welcome-lead,
.hf-welcome-text,
.hf-welcome-cta,
.hf-welcome-highlights-title {
    margin: 0;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    color: #ffffff !important;
    text-shadow: none !important;
    line-height: 1.45;
}

.hf-welcome-lead {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
}

.hf-welcome-text {
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    font-weight: 600;
}

.hf-welcome-cta {
    font-size: clamp(1rem, 2.2vw, 1.15rem);
}

.hf-welcome-highlights-title {
    font-size: clamp(1rem, 2.2vw, 1.1rem);
    margin-bottom: 0;
}

.hf-welcome-list {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
    display: inline-block;
    max-width: 920px;
}

.hf-welcome-list li {
    position: relative;
    padding: 0 0 12px 22px;
    margin: 0 0 4px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(0.92rem, 1.9vw, 1.02rem);
    font-weight: 600;
    line-height: 1.5;
    color: #ffffff !important;
    text-shadow: none !important;
}

.hf-welcome-list li:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
}

.hf-welcome-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--herzfunk-green, #60b550);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.hf-welcome-list strong {
    color: #ffffff !important;
    font-weight: 700;
}

.box-content .hf-welcome,
.content-body .hf-welcome,
.box-content .hf-welcome *,
.content-body .hf-welcome * {
    text-shadow: none !important;
}

.box-content .hf-welcome p,
.content-body .hf-welcome p,
.box-content .hf-welcome li,
.content-body .hf-welcome li,
.box-content .hf-welcome h2,
.content-body .hf-welcome h2 {
    color: #ffffff !important;
}

.box-content .hf-welcome a,
.content-body .hf-welcome a {
    color: #ffffff !important;
    text-decoration: underline;
}

/* Profil / Sedcard – gleiche Optik wie übriger Herzfunk-Content */
.herzfunk-site .profile-center-box .content-header {
    text-align: center !important;
    color: var(--herzfunk-purple-soft) !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.herzfunk-site .profile-inline-content {
    color: var(--herzfunk-green) !important;
    text-shadow: none !important;
    max-width: 760px;
    margin: 0 auto;
}

.herzfunk-site .profile-form {
    text-align: left;
}

.herzfunk-site .profile-input-group label,
.herzfunk-site .profile-about-wrap > label {
    color: var(--herzfunk-blue) !important;
    font-family: 'Source Sans 3', 'Segoe UI', sans-serif !important;
    font-weight: 700;
    text-shadow: none !important;
}

.herzfunk-site .profile-form input,
.herzfunk-site .profile-form textarea,
.herzfunk-site .profile-input-group input[disabled],
.herzfunk-site .profile-about-box,
.herzfunk-site .kr-contact-form input,
.herzfunk-site .kr-contact-form textarea {
    background: #f0f0f0 !important;
    color: #333333 !important;
    border: 1px solid #d8d8d8 !important;
    font-family: 'Source Sans 3', 'Segoe UI', sans-serif !important;
    font-weight: 400 !important;
    text-shadow: none !important;
}

.herzfunk-site .kr-page-content--contact,
.herzfunk-site .kr-contact-disclaimer,
.herzfunk-site .kr-contact-label {
    color: var(--herzfunk-green) !important;
    text-shadow: none !important;
}

.herzfunk-site .kr-contact-title {
    color: var(--herzfunk-purple-soft, #6b4f7a) !important;
    text-shadow: none !important;
}

.herzfunk-site .kr-contact-label {
    font-family: 'Source Sans 3', 'Segoe UI', sans-serif !important;
    font-weight: 700 !important;
}

.herzfunk-site .profile-about-box {
    color: #333333 !important;
}

.herzfunk-site .profile-editor-header {
    background: #e8e8e8 !important;
    border-color: #d8d8d8 !important;
}

.herzfunk-site .profile-btn-tool {
    color: #333333 !important;
    background: #ffffff !important;
}

.herzfunk-site .profile-btn-save {
    background: var(--herzfunk-blue) !important;
    color: #ffffff !important;
}

.herzfunk-site .profile-role-badge {
    background: var(--herzfunk-gold) !important;
    color: #ffffff !important;
}

.herzfunk-site .profile-avatar {
    border-color: var(--herzfunk-gold) !important;
}

.herzfunk-site .profile-alert-error,
.herzfunk-site .profile-alert-success {
    text-shadow: none !important;
    font-family: 'Source Sans 3', 'Segoe UI', sans-serif !important;
}
