
/*
Theme Name: Pegasus Rheingau
Theme URI: https://www.tsc-pegasus-rheingau.de
Author: Tobias Schuster
Description: Modernes WordPress-Theme für den TSC Pegasus Rheingau.
Version: 1.0.0
Text Domain: pegasus-rheingau
*/

:root {
  --pegasus-red: #721E2B;
  --pegasus-gold: #C6A35A;
  --pegasus-cream: #F7F2E9;
  --pegasus-dark: #22191B;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: var(--pegasus-cream);
  color: var(--pegasus-dark);
}

.site-header {
    background: var(--pegasus-red);
    padding: 10px 5%;
    position: relative;
    z-index: 1000;
}

.header-container {
    max-width: 1300px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.site-logo {
    color: white;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 2px;
}

.site-logo span {
    color: var(--pegasus-gold);
}

.main-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
}

.main-navigation a {
    color: white;
    text-decoration: none;
}

.main-navigation a:hover {
    color: var(--pegasus-gold);
}

.site-footer {
    background: #22191b;
    color: #f7f2e9;
    text-align: left;
    padding: 65px 7% 25px;
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
    }

    .main-navigation {
        justify-content: center;
        gap: 16px;
    }
}

/* HERO SECTION */

.hero {
    position: relative;
    min-height: calc(100vh - 100px);
    min-height: calc(100svh - 100px);
    display: flex;
    align-items: center;
    padding: 70px 8%;
    box-sizing: border-box;
    overflow: hidden;


background:
    linear-gradient(90deg,
        rgba(29, 10, 15, 0.94) 0%,
        rgba(45, 13, 22, 0.78) 35%,
        rgba(45, 13, 22, 0.38) 70%,
        rgba(29, 10, 15, 0.18) 100%),
    url("assets/images/hero-dance.jpg")
    60% center / cover no-repeat;

}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    color: white;
    animation: heroFade 0.9s ease-out both;
}

.hero-eyebrow {
    color: var(--pegasus-gold);
    font-size: 13px;
    letter-spacing: 4px;
    font-weight: bold;
}

.hero h1 {
    font-size: clamp(42px, 5vw, 76px);
    line-height: 1.12;
    margin: 24px 0;
    letter-spacing: -1.5px;
}

.hero h1 span {
    color: var(--pegasus-gold);
}

.hero p {
    max-width: 600px;
    font-size: 19px;
    line-height: 1.8;
    color: #eee4e4;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 36px;
}

.btn {
    display: inline-block;
    padding: 16px 27px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: transform .2s, background .2s;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-gold {
    background: var(--pegasus-gold);
    color: #22191B;
}

.btn-outline {
    border: 1px solid rgba(255,255,255,.75);
    color: white;
}

@keyframes heroFade {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
        padding: 75px 7%;
    }

    .hero p {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-content {
        animation: none;
    }

    .btn {
        transition: none;
    }
}

/* PEGASUS BRANDING – Logo am Desktop auf 96px vergroessert */

.site-logo.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.brand-image {
    display: block;
    width: auto;
    height: 96px;
    object-fit: contain;
}

.site-logo .brand-name {
    color: #ffffff;
    font-size: 18px;
    letter-spacing: 2px;
    line-height: 1.4;
}

.brand-name strong {
    color: var(--pegasus-gold);
}

.brand-name small {
    display: block;
    font-size: 11px;
    font-weight: normal;
    letter-spacing: 4px;
}

@media (max-width: 768px) {
    .brand-image {
        height: 72px;
    }
}

/* TANZANGEBOTE */

.dance-section {
    background: #f7f2e9;
    padding: 100px 7%;
}

.dance-container {
    max-width: 1300px;
    margin: 0 auto;
}

.dance-heading {
    max-width: 720px;
    margin-bottom: 45px;
}

.section-eyebrow {
    color: #721e2b;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 3px;
}

.dance-heading h2 {
    font-size: clamp(32px, 4vw, 52px);
    margin: 18px 0;
    color: #22191b;
}

.dance-heading p {
    color: #665b5d;
    font-size: 18px;
    line-height: 1.7;
}

.dance-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 22px;
}

.dance-card {
    background: #fff;
    border: 1px solid #e9e1db;
    border-radius: 10px;
    padding: 0;
    min-height: 0;
    transition: transform 0.25s ease,
                box-shadow 0.25s ease;
    grid-column: span 2;
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.dance-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(40, 15, 20, 0.08);
}

.dance-number {
    color: #c6a35a;
    font-weight: 700;
    letter-spacing: 2px;
}

.dance-card h3 {
    color: #721e2b;
    font-size: 24px;
    margin: 14px 0 10px;
}

.dance-card p {
    color: #665b5d;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 900px) {
    .dance-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .dance-section {
        padding: 65px 6%;
    }

    .dance-grid {
        grid-template-columns: 1fr;
    }
}

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

/* BILDKACHELN: */


.dance-card:nth-child(4) { grid-column: 2 / span 2; }
.dance-card:nth-child(5) { grid-column: 4 / span 2; }
.dance-card-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #ece3dd;
}
.dance-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.dance-card:hover .dance-card-image img {
    transform: scale(1.04);
}
.dance-card-content {
    padding: 27px 30px 34px;
}

@media (max-width: 900px) {
    .dance-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dance-card,
    .dance-card:nth-child(4),
    .dance-card:nth-child(5) { grid-column: auto; }
}
@media (max-width: 600px) {
    .dance-grid { grid-template-columns: 1fr; }
    .dance-card-content { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
    .dance-card-image img { transition: none; }
}

.brand-location {
    color: var(--pegasus-gold);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 4px;
}

/* CONTEMPORARY – ORIGINAL PEGASUS-WASSERZEICHEN */

.dance-card-placeholder {
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        #35151f 0%,
        #5b1b2b 55%,
        #721e2b 100%
    );
}

.dance-card-placeholder::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("assets/images/pegasus-symbol-wasserzeichen.png")
        no-repeat right 7% center;
    opacity: 0.19;
    pointer-events: none;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0;
    transform: none;
    background-size: auto 94%;
}

.dance-card-placeholder::after {
    content: none;
}

/* =====================================
   PEGASUS KURSFINDER
===================================== */

.coursefinder-section {
    background: #ffffff;
    padding: 100px 7%;
}

.coursefinder-container {
    max-width: 1300px;
    margin: 0 auto;
}

.coursefinder-heading {
    max-width: 720px;
    margin-bottom: 40px;
}

.coursefinder-heading h2 {
    font-size: clamp(32px, 4vw, 52px);
    color: var(--pegasus-dark);
    margin: 18px 0;
}

.coursefinder-heading p {
    font-size: 18px;
    line-height: 1.7;
    color: #665b5d;
}

.coursefinder-filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: 28px;
    background: #f7f2e9;
    border-radius: 12px;
    margin-bottom: 30px;
}

.coursefinder-filter label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--pegasus-dark);
}

.coursefinder-filter select {
    width: 100%;
    box-sizing: border-box;
    padding: 15px;
    border: 1px solid #ded4cc;
    border-radius: 6px;
    background: white;
    color: #22191b;
    font-size: 15px;
    cursor: pointer;
}

.coursefinder-filter select:focus-visible {
    outline: 2px solid var(--pegasus-red);
    outline-offset: 2px;
}

.coursefinder-count {
    color: #766b6c;
    font-size: 14px;
    margin-bottom: 22px;
}

.coursefinder-results {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.coursefinder-card {
    background: #fff;
    border: 1px solid #e7dfdb;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.25s, transform 0.25s;
}

.coursefinder-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(40, 15, 20, .08);
}

.coursefinder-card[hidden],
.coursefinder-empty[hidden] {
    display: none;
}

.coursefinder-card-top {
    padding: 26px 26px 20px;
    border-bottom: 1px solid #eee6e0;
}

.coursefinder-category {
    display: inline-block;
    color: #85621f;
    background: #f7f0df;
    padding: 6px 11px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
}

.coursefinder-card h3 {
    font-size: 22px;
    color: var(--pegasus-red);
    margin: 18px 0 0;
}

.coursefinder-details {
    padding: 18px 26px 26px;
}

.coursefinder-details p {
    line-height: 1.6;
    margin: 8px 0;
    color: #665b5d;
}

.coursefinder-details strong {
    color: #22191b;
}

.coursefinder-empty {
    padding: 30px;
    background: #f7f2e9;
    border-radius: 8px;
    text-align: center;
}

@media (max-width: 900px) {
    .coursefinder-results {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .coursefinder-section {
        padding: 65px 6%;
    }

    .coursefinder-filters,
    .coursefinder-results {
        grid-template-columns: 1fr;
    }

    .coursefinder-filters {
        padding: 20px;
    }
}

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

/* Dynamische Tanzkacheln */

.dance-card:focus-visible {
    outline: 3px solid var(--pegasus-gold);
    outline-offset: 4px;
}

.dance-card-link {
    display: inline-block;
    margin-top: 18px;
    color: var(--pegasus-red);
    font-size: 14px;
    font-weight: 700;
}

/* WORDPRESS UNTERSEITEN */

.content-page {
    min-height: 65vh;
    background: var(--pegasus-cream);
    padding: 90px 7%;
    box-sizing: border-box;
}

.content-page-container {
    max-width: 1100px;
    margin: 0 auto;
}

.content-page-title {
    font-size: clamp(36px, 5vw, 58px);
    color: var(--pegasus-red);
    margin: 0 0 35px;
}

.content-page-body {
    font-size: 18px;
    line-height: 1.8;
    color: var(--pegasus-dark);
}

.content-page-body a {
    color: var(--pegasus-red);
    text-underline-offset: 3px;
    font-weight: 600;
}

.content-page-body img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .content-page {
        padding: 60px 6%;
    }
}

/* Kontaktseite optimieren */

.content-page-body p {
    margin: 0 0 16px;
    margin-bottom: 16px;
}

.content-page-body h2 {
    color: var(--pegasus-red);
    font-size: clamp(24px, 3vw, 32px);
    margin: 36px 0 18px;
    margin-top: 24px;
    margin-bottom: 12px;
}

.content-page-body a:hover {
    color: #9b3547;
}

.content-page-body a:focus-visible {
    outline: 2px solid var(--pegasus-gold);
    outline-offset: 3px;
}


/* Abstände der Kontaktseite */

.content-page-body h2 + p {
    margin-top: 0;
}

.dance-card-content h3 {
    margin-top: 0;
}

/* =====================================
   MOBILE NAVIGATION
===================================== */

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: transform .25s ease,
                opacity .25s ease;
}

.menu-toggle:focus-visible {
    outline: 2px solid var(--pegasus-gold);
    outline-offset: 4px;
}

/* Hamburger wird zum X */

.menu-toggle.is-active span:first-child {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active span:last-child {
    transform: translateY(-7px) rotate(-45deg);
}

/* Smartphone und kleinere Tablets */

@media (max-width: 768px) {

    .site-header {
        padding: 10px 6%;
    }

    .site-header .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        gap: 12px;
    }

    .menu-toggle {
        display: flex;
        flex-shrink: 0;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 18px 6% 24px;
        background: var(--pegasus-red);
        box-shadow: 0 15px 25px rgba(0,0,0,.2);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .main-navigation.is-open {
        display: flex;
    }

    .main-navigation a {
        display: block;
        padding: 14px 10px;
        border-bottom: 1px solid
            rgba(255,255,255,.12);
        font-size: 16px;
    }

    .main-navigation a:last-child {
        border-bottom: none;
    }

    .brand-image {
        height: 72px;
    }

    .brand-location {
        font-size: 11px;
        letter-spacing: 2px;
    }
}

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

/* =====================================
   PEGASUS – SMARTPHONE-OPTIMIERUNG
===================================== */

@media (max-width: 768px) {

    /* Startbild */
    .hero {
        min-height: calc(100svh - 82px);
        padding: 55px 6% 60px;
        align-items: flex-end;

        background-image:
            linear-gradient(
                0deg,
                rgba(29, 10, 15, 0.97) 0%,
                rgba(29, 10, 15, 0.85) 35%,
                rgba(29, 10, 15, 0.25) 100%
            ),
            url("assets/images/hero-dance.jpg");

        background-position: center, 63% center;
        background-size: cover;
    }

    .hero-content {
        max-width: 100%;
    }

    /* Slogan */
    .hero h1 {
        font-size: clamp(34px, 8.5vw, 48px);
        line-height: 1.12;
        letter-spacing: -0.8px;
        margin: 0 0 22px;
    }

    .hero p {
        font-size: 16px;
        line-height: 1.6;
        margin: 0;
    }

    /* Schaltflächen */
    .hero-actions {
        flex-direction: column;
        gap: 12px;
        margin-top: 28px;
    }

    .hero-actions .btn {
        display: block;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
        padding: 15px 18px;
    }

    /* Tanzkacheln */
    .dance-section {
        padding: 65px 6%;
    }

    .dance-heading h2 {
        font-size: 34px;
        line-height: 1.2;
    }

    .dance-heading p {
        font-size: 16px;
    }

    .dance-grid {
        grid-template-columns: 1fr;
    }

    .dance-card,
    .dance-card:nth-child(4),
    .dance-card:nth-child(5) {
        grid-column: auto;
    }

    .dance-card-image {
        aspect-ratio: 16 / 10;
    }

    /* Kursfinder */
    .coursefinder-filters,
    .coursefinder-results {
        grid-template-columns: 1fr;
    }

    /* Unterseiten */
    .content-page-body {
        font-size: 16px;
        overflow-wrap: break-word;
    }
}

@media (max-width: 768px) {
    .hero {
        background-image:
            linear-gradient(
                to top,
                rgba(24, 6, 12, 0.97) 0%,
                rgba(24, 6, 12, 0.82) 30%,
                rgba(24, 6, 12, 0.15) 75%,
                rgba(24, 6, 12, 0.05) 100%
            ),
            url("assets/images/hero-dance.jpg");

        background-position: center, 63% center;
    }
}

.coursefinder-location-link {
    margin-top: 35px;
    text-align: center;
}

.coursefinder-location-link a {
    color: var(--pegasus-red);
    font-weight: 700;
    text-decoration: none;
}

.coursefinder-location-link a:hover {
    text-decoration: underline;
}

/* MODERNER PEGASUS FOOTER */

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 55px;
}

.footer-column h2 {
    color: var(--pegasus-gold);
    font-size: 27px;
    margin: 0 0 18px;
}

.footer-column h3 {
    color: var(--pegasus-gold);
    font-size: 16px;
    margin: 0 0 22px;
}

.footer-column p {
    max-width: 360px;
    line-height: 1.8;
    color: #cfc5c6;
}

.footer-column a {
    display: block;
    color: #f7f2e9;
    text-decoration: none;
    margin-bottom: 15px;
}

.footer-column a:hover {
    color: var(--pegasus-gold);
}

.footer-column a:focus-visible {
    outline: 2px solid var(--pegasus-gold);
    outline-offset: 3px;
}

.footer-bottom {
    max-width: 1300px;
    margin: 0 auto;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,.15);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #bdb0b2;
    font-size: 13px;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 50px 6% 25px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
}

/* Rechtliche Footer-Links */

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-legal a {
    color: #bdb0b2;
    text-decoration: none;
}

.footer-legal a:hover {
    color: var(--pegasus-gold);
    text-decoration: underline;
}

.footer-legal a:focus-visible {
    outline: 2px solid var(--pegasus-gold);
    outline-offset: 3px;
}

/* DOWNLOADS */

.content-page-body .wp-block-file {
    padding: 24px 28px;
    background: #ffffff;
    border: 1px solid #e9e1db;
    border-radius: 10px;
    margin: 18px 0 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
}

.content-page-body .wp-block-file__button {
    display: inline-block;
    background: var(--pegasus-red);
    color: #ffffff;
    border-radius: 5px;
    padding: 12px 20px;
    text-decoration: none;
    font-weight: 600;
}

.content-page-body .wp-block-file__button:hover {
    background: #962c40;
    color: #ffffff;
}

.content-page-body .wp-block-file__button:focus-visible {
    outline: 3px solid var(--pegasus-gold);
    outline-offset: 3px;
}

/* PEGASUS DOWNLOAD-KARTEN */

/* Dateiname */

.content-page-body .wp-block-file > a:not(.wp-block-file__button) {
    color: var(--pegasus-dark);
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
}

.content-page-body .wp-block-file > a:not(.wp-block-file__button):hover {
    color: var(--pegasus-red);
}

/* Download-Button */

.content-page-body .wp-block-file a.wp-block-file__button {
    display: inline-block;
    background: var(--pegasus-red);
    color: #ffffff;
    border-radius: 6px;
    padding: 12px 22px;
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.content-page-body .wp-block-file a.wp-block-file__button:hover {
    background: #962c40;
    color: #ffffff;
}

.content-page-body .wp-block-file a.wp-block-file__button:focus-visible {
    outline: 3px solid var(--pegasus-gold);
    outline-offset: 3px;
}

/* Smartphone */

@media (max-width: 600px) {
    .content-page-body .wp-block-file {
        flex-direction: column;
        align-items: stretch;
        padding: 22px;
    }

    .content-page-body .wp-block-file a.wp-block-file__button {
        text-align: center;
    }
}

/* =====================================
   PEGASUS NEWS
===================================== */

.news-page {
    background: var(--pegasus-cream);
    padding: 95px 7%;
    min-height: 65vh;
}

.news-container {
    max-width: 1300px;
    margin: 0 auto;
}

.news-heading {
    max-width: 780px;
    margin-bottom: 55px;
}

.news-heading h1 {
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.15;
    color: var(--pegasus-red);
    margin: 18px 0 24px;
}

.news-heading p {
    font-size: 18px;
    line-height: 1.7;
    color: #665b5d;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.news-card {
    background: white;
    border: 1px solid #e9e1db;
    border-radius: 12px;
    overflow: hidden;
    transition: transform .25s ease,
                box-shadow .25s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(40,15,20,.09);
}

.news-card-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.news-card-link:focus-visible {
    outline: 3px solid var(--pegasus-gold);
    outline-offset: -3px;
}

.news-card-image,
.news-card-placeholder {
    display: block;
    width: 100%;
    height: 240px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.news-card-placeholder::after {
    content: "";
    position: absolute;
    inset: 0;

    background-image: url(
        "assets/images/pegasus-symbol-wasserzeichen.png"
    );

    background-repeat: no-repeat;
    background-position: center;
    background-size: auto 80%;

    opacity: 0.19;
    pointer-events: none;
}

.news-card-placeholder {
    background: linear-gradient(
        135deg,
        #35151f 0%,
        #5b1b2b 55%,
        #721e2b 100%
    );
    position: relative;
    overflow: hidden;
}

.news-card-content {
    padding: 28px;
}

.news-card time,
.news-article time {
    color: #85621f;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
}

.news-card h2 {
    color: var(--pegasus-red);
    font-size: 22px;
    line-height: 1.35;
    margin: 12px 0;
}

.news-card p {
    color: #665b5d;
    line-height: 1.65;
    margin: 0 0 20px;
}

.news-readmore {
    color: var(--pegasus-red);
    font-size: 14px;
    font-weight: 700;
}

.news-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 55px;
}

.news-pagination a,
.news-pagination .current {
    display: inline-block;
    padding: 10px 15px;
    border: 1px solid #ddd1c8;
    border-radius: 5px;
    color: var(--pegasus-red);
    text-decoration: none;
}

.news-pagination .current {
    background: var(--pegasus-red);
    color: white;
}

/* EINZELNER ARTIKEL */

.news-article-page {
    background: var(--pegasus-cream);
    padding: 85px 7%;
}

.news-article {
    max-width: 900px;
    margin: 0 auto;
}

.news-back,
.news-article-footer a {
    color: var(--pegasus-red);
    font-weight: 700;
    text-decoration: none;
}

.news-article-header {
    margin: 45px 0 35px;
}

.news-article-header h1 {
    color: var(--pegasus-red);
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.15;
    margin: 18px 0;
}

.news-article-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.news-article-content {
    margin-top: 40px;
    font-size: 18px;
    line-height: 1.85;
    overflow-wrap: break-word;
}

.news-article-content img {
    max-width: 100%;
    height: auto;
}

.news-article-content a {
    color: var(--pegasus-red);
}

.news-article-footer {
    margin-top: 55px;
    padding-top: 25px;
    border-top: 1px solid #ddd1c8;
}

/* RESPONSIVE */

@media (max-width: 900px) {
    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .news-page,
    .news-article-page {
        padding: 60px 6%;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-card-content {
        padding: 24px;
    }

    .news-article-content {
        font-size: 16px;
    }
}

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

/* NEWS-KARTEN OPTIMIEREN */

.news-card img.news-card-image {
    display: block;
    width: 100%;
    height: 240px;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center 35%;
}

.news-card-content {
    padding: 25px 28px 30px;
}

@media (max-width: 600px) {
    .news-card img.news-card-image {
        height: 220px;
    }
}

/* =====================================
   PEGASUS - BACK TO TOP
===================================== */

.pegasus-back-to-top {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 999;

    width: 54px;
    height: 54px;
    border-radius: 50%;

    background: #721E2B;
    color: #C6A35A;
    border: 1px solid #C6A35A;

    font-size: 29px;
    line-height: 1;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 5px 20px rgba(0,0,0,0.18);

    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease,
        visibility 0.3s;
}

.pegasus-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.pegasus-back-to-top:hover {
    background: #C6A35A;
    color: #721E2B;
    transform: translateY(-4px);
}

.pegasus-back-to-top:focus-visible {
    outline: 3px solid #C6A35A;
    outline-offset: 4px;
}

@media (max-width: 768px) {
    .pegasus-back-to-top {
        right: 18px;
        bottom: 18px;
        width: 46px;
        height: 46px;
        font-size: 25px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pegasus-back-to-top {
        transition: none;
    }
}

/* PEGASUS – SCROLL-ANIMATIONEN */

.pegasus-reveal {
    opacity: 0;
    translate: 0 22px;

    transition:
        opacity 0.65s ease,
        translate 0.65s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.pegasus-reveal.is-visible {
    opacity: 1;
    translate: 0 0;
}

/* Barrierefreiheit */

@media (prefers-reduced-motion: reduce) {
    .pegasus-reveal,
    .pegasus-reveal.is-visible {
        opacity: 1;
        translate: none;
        transition: none;
    }
}

/* =====================================
   PEGASUS – FLUESSIGE GOLDPARTIKEL
===================================== */

/* Alten Partikeleffekt deaktivieren */
.hero::after {
    content: none;
}

/* Neue Partikelebene */
.pegasus-particle-layer {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;

    transform: translate3d(
        0,
        var(--pegasus-scroll-shift, 0px),
        0
    );
}


/* Runde, weich leuchtende Goldpartikel */

.pegasus-particle {
    position: absolute;
    width: 34px;
    height: 34px;

    animation: pegasus-orbit
        var(--duration, 14s)
        linear infinite;

    animation-delay: var(--delay, 0s);
    will-change: transform;
}


.pegasus-particle::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;

    transform: translateX(-50%);

    width: var(--particle-size, 5px);
    height: var(--particle-size, 5px);
    border-radius: 50%;

    background: #E5C47D;

    box-shadow:
        0 0 6px 1px rgba(198,163,90,0.35),
        0 0 16px 4px rgba(198,163,90,0.10);

    opacity: var(--particle-opacity, 0.65);
}

/* Individuelle Groessen und Helligkeiten */

.pegasus-particle:nth-child(5n+1) {
    --particle-size: 3px;
    --particle-opacity: 0.45;
}

.pegasus-particle:nth-child(5n+2) {
    --particle-size: 6px;
    --particle-opacity: 0.70;
}

.pegasus-particle:nth-child(5n+3) {
    --particle-size: 4px;
    --particle-opacity: 0.55;
}

.pegasus-particle:nth-child(5n+4) {
    --particle-size: 8px;
    --particle-opacity: 0.80;
}

.pegasus-particle:nth-child(5n) {
    --particle-size: 2px;
    --particle-opacity: 0.40;
}

/* Gleichmäßige Kreisbewegung */

@keyframes pegasus-orbit {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .pegasus-particle-layer {
        opacity: 0.55;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pegasus-particle-layer {
        transform: none;
    }

    .pegasus-particle {
        animation: none;
    }
}

/* Konsistente News-Karten auf kleinen Bildschirmen */
@media (max-width: 600px) {
    .news-card-placeholder { height: 220px; }
    .news-card-content { padding: 24px; }
}



/* Pegasus Service-Dropdown */

.main-navigation {
    align-items: center;
    column-gap: 20px;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown summary {
    color: white;
    cursor: pointer;
    list-style: none;
    white-space: nowrap;
}

.nav-dropdown summary::-webkit-details-marker {
    display: none;
}

.nav-dropdown summary::after {
    content: "⌄";
    margin-left: 7px;
    color: var(--pegasus-gold);
}

.nav-dropdown summary:hover,
.nav-dropdown summary:focus-visible {
    color: var(--pegasus-gold);
}

.nav-dropdown summary:focus-visible {
    outline: 2px solid var(--pegasus-gold);
    outline-offset: 4px;
}

@media (min-width: 769px) {
    .nav-submenu {
        position: absolute;
        top: calc(100% + 12px);
        left: -15px;
        min-width: 195px;
        padding: 10px;
        background: var(--pegasus-red);
        border-radius: 8px;
        box-shadow: 0 10px 25px rgba(0,0,0,.2);
        z-index: 1100;
    }

    .nav-submenu a {
        display: block;
        padding: 12px;
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown summary {
        padding: 14px 10px;
        border-bottom: 1px solid rgba(255,255,255,.12);
    }

    .nav-submenu {
        padding-left: 16px;
    }
}




/* ÜBER UNS – PEGASUS WERTE */

.pegasus-values.wp-block-columns {
    background: transparent !important;
    padding: 0 !important;
    gap: 22px;
    align-items: stretch;
    margin-top: 28px;
    margin-bottom: 50px;
}

.pegasus-values > .wp-block-column {
    background: #ffffff;
    padding: 32px 28px;
    border-top: 4px solid #C6A35A;
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(40, 15, 20, 0.06);
    box-sizing: border-box;

    transition: transform 0.25s ease,
                box-shadow 0.25s ease;
}

.pegasus-values > .wp-block-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 34px rgba(40, 15, 20, 0.12);
}

.pegasus-values > .wp-block-column h2,
.pegasus-values > .wp-block-column h3 {
    color: #721E2B;
    font-size: 25px;
    margin: 0 0 18px;
}

.pegasus-values > .wp-block-column p {
    color: #665B5D;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 781px) {
    .pegasus-values.wp-block-columns {
        flex-wrap: wrap;
    }

    .pegasus-values > .wp-block-column {
        flex-basis: 100% !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pegasus-values > .wp-block-column {
        transition: none;
    }

    .pegasus-values > .wp-block-column:hover {
        transform: none;
    }
}





/* ÜBER UNS – GOLDENER BUTTON */

.pegasus-about-cta .wp-block-button__link {
    background: #C6A35A;
    color: #22191B;
    border-radius: 6px;
    padding: 16px 28px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.25s ease,
                transform 0.25s ease;
}

.pegasus-about-cta .wp-block-button__link:hover {
    background: #721E2B;
    color: #FFFFFF;
    transform: translateY(-3px);
}

.pegasus-about-cta .wp-block-button__link:focus-visible {
    outline: 3px solid #721E2B;
    outline-offset: 4px;
}




/* PEGASUS – MODERNE SCHRIFTARTEN */

@font-face {
    font-family: "Manrope";
    src: url("assets/fonts/Manrope-Variable.ttf")
         format("truetype");
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("assets/fonts/Inter-Variable.ttf")
         format("truetype");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* Fließtext und Navigation */
body,
button,
input,
select,
textarea {
    font-family: "Inter", Arial, sans-serif;
}

/* Überschriften */
h1, h2, h3, h4, h5, h6 {
    font-family: "Manrope", Arial, sans-serif;
}





/* PEGASUS – RHEINGAU LOGO-SCHRIFTZUG */

.site-logo.brand {
    gap: 10px;
}

.brand-location {
    font-family: "Manrope", Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--pegasus-gold);
    white-space: nowrap;
}

/* Smartphone */

@media (max-width: 768px) {
    .site-logo.brand {
        gap: 8px;
    }

    .brand-location {
        font-size: 10px;
        letter-spacing: 2px;
    }
}





/* MOBILE NAVIGATION – SERVICE ZENTRIEREN */

@media (max-width: 768px) {

    .main-navigation .nav-dropdown {
        width: 100%;
        text-align: center;
    }

    .main-navigation .nav-dropdown > summary {
        display: block;
        width: max-content;
        margin: 0 auto;
        padding: 14px 10px;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,.12);
    }

    /* Untermenüpunkte ebenfalls zentrieren */
    .main-navigation .nav-submenu {
        padding-left: 0;
        text-align: center;
    }

    .main-navigation .nav-submenu a {
        text-align: center;
    }
}





/* Mobile Service-Untermenü optimieren */

@media (max-width: 768px) {
    .main-navigation .nav-submenu {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 0 8px;
    }

    .main-navigation .nav-submenu a {
        display: block;
        width: fit-content;
        padding: 12px 10px;
        font-size: 15px;
        border-bottom: 1px solid rgba(255,255,255,.12);
    }

    .main-navigation .nav-submenu a:last-child {
        border-bottom: none;
    }
}



/* MITGLIED WERDEN – STARTSEITE */

.pegasus-membership-link {
    padding: 45px 6% 65px;
    background: #ffffff;
    text-align: center;
}

.pegasus-membership-link p {
    margin: 0 0 24px;
    font-size: 18px;
    color: #665B5D;
}





/* PEGASUS WORKSHOPS – LOGO WASSERZEICHEN */

.pws .pws-card-head {
    position: relative;
    overflow: hidden;
    min-height: 145px;
    isolation: isolate;
}

/* Pegasus-Symbol rechts im Kopfbereich */

.pws .pws-card-head::after {
    content: "";
    position: absolute;
    top: 0;
    right: 15px;
    width: 42%;
    height: 100%;

    background-image: url(
        "assets/images/pegasus-symbol-wasserzeichen.png"
    );
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;

    opacity: 0.15;
    pointer-events: none;
    z-index: -1;
}

/* Text bleibt gut lesbar */

.pws .pws-card-head > * {
    position: relative;
    z-index: 1;
}






/* PEGASUS – DESIGNER CREDIT */

.pegasus-designer-credit {
    max-width: 1300px;
    margin: 25px auto 0;
    padding-top: 18px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.08);

    color: #C6A35A;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1px;
    opacity: 0.75;
}
