/* ============================================================
   MOBILE DESIGN – Gitarre Seckau
   Gilt ausschliesslich fuer Bildschirme <= 768px
   ============================================================ */

@media (max-width: 768px) {

    /* ----------------------------------------------------------
       BASIS
    ---------------------------------------------------------- */
    html, body {
        font-size: 16px;
    }

    /* ----------------------------------------------------------
       HEADER
    ---------------------------------------------------------- */
    .site-header {
        padding: 0;
    }

    .header-container {
        padding: 0.6rem 1rem;
    }

    .main-navigation {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .site-branding a {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        text-decoration: none;
    }

    .site-title,
    .site-branding h1 {
        font-size: 1.1rem !important;
        white-space: nowrap;
        color: white;
    }

    /* Custom Logo */
    .custom-logo {
        max-height: 40px;
        width: auto;
    }

    /* ----------------------------------------------------------
       HERO SECTION
    ---------------------------------------------------------- */
    .page-template-template-hauptseite .hero-section {
        min-height: 100svh;
        padding: 5.5rem 1.2rem 2.5rem;
        display: flex;
        align-items: flex-start;
    }

    .hero-content {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 1.2rem;
    }

    .hero-title {
        font-size: clamp(1.3rem, 5vw, 2rem) !important;
        line-height: 1.4;
        margin-bottom: 0;
        padding: 0;
        text-align: left;
    }

    /* Hero Info Boxen */
    .hero-info {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }

    .info-box {
        background: rgba(255, 255, 255, 0.10);
        backdrop-filter: blur(6px);
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 10px;
        padding: 0.9rem 1rem;
    }

    .info-box p {
        margin: 0;
        font-size: 0.88rem;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.92);
    }

    /* Jetzt Anfragen Button */
    .jetzt-anfragen {
        display: block;
        width: 100%;
        text-align: center;
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
        border-radius: 8px;
        box-sizing: border-box;
    }

    /* Hero Video */
    .hero-video-wrapper {
        padding: 0 1rem;
        margin: 1rem 0;
    }

    /* ----------------------------------------------------------
       ALLGEMEINES LAYOUT
    ---------------------------------------------------------- */
    .site-content {
        padding: 0 !important;
        margin: 0 !important;
    }

    .entry-content {
        padding: 1.2rem 1rem;
    }

    /* ----------------------------------------------------------
       TYPOGRAFIE
    ---------------------------------------------------------- */
    h1 { font-size: 1.6rem; line-height: 1.3; }
    h2 { font-size: 1.35rem; line-height: 1.35; }
    h3 { font-size: 1.15rem; line-height: 1.4; }

    p  { font-size: 0.95rem; line-height: 1.7; }

    .entry-title {
        font-size: 1.5rem !important;
        text-align: left !important;
        padding: 0 1rem;
    }

    /* ----------------------------------------------------------
       FESTIVAL DETAILS
    ---------------------------------------------------------- */
    .festival-details {
        padding: 2rem 1rem;
    }

    .detail-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .detail-item {
        padding: 1.2rem 1.2rem 1.2rem 1.4rem;
        border-radius: 10px;
        font-size: 0.9rem;
    }

    /* ----------------------------------------------------------
       KONZERT CARDS
    ---------------------------------------------------------- */
    .post.konzert,
    .konzert-card {
        display: flex;
        flex-direction: column;
        border-radius: 12px;
        overflow: hidden;
        margin-bottom: 1.2rem;
    }

    .konzert .konzert-image {
        width: 100%;
        height: 200px;
    }

    .konzert .konzert-title {
        font-size: 1.2rem;
        line-height: 1.4;
    }

    .konzert .konzert-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .konzert .konzert-button,
    .konzert-button {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 0.85rem 1rem;
        font-size: 0.95rem;
        border-radius: 8px;
        margin-top: 0.75rem;
    }

    /* ----------------------------------------------------------
       DOZENTEN  (Hauptregeln in dozenten.css)
    ---------------------------------------------------------- */
    .dozent-name {
        font-size: 1.2rem;
    }

    /* ----------------------------------------------------------
       VIDEOS
    ---------------------------------------------------------- */
    .videos-grid {
        grid-template-columns: 1fr !important;
        gap: 1.2rem;
        padding: 0.5rem;
    }

    .video-card {
        border-radius: 12px;
    }

    .video-content {
        padding: 1rem;
    }

    .video-title {
        font-size: 1rem;
    }

    /* ----------------------------------------------------------
       FORMULAR / ANMELDUNG
    ---------------------------------------------------------- */
    .einzelformular-container {
        border-radius: 10px;
        margin: 0.75rem;
    }

    .einzelformular-header {
        padding: 1.2rem;
    }

    .einzelformular-title {
        font-size: 1.2rem !important;
    }

    .einzelformular-content {
        padding: 1.1rem;
    }

    .einzelformular-vorschau {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 0 0 1.2rem 0;
    }

    .vorschau-wrapper {
        height: 260px;
        border-radius: 8px;
    }

    .aktionen-buttons {
        flex-direction: column;
    }

    .aktion-button {
        width: 100%;
        justify-content: center;
        min-width: unset;
        padding: 0.85rem 1rem;
    }

    /* ----------------------------------------------------------
       KONTAKT SEITE
    ---------------------------------------------------------- */
    .kontakt-info-container {
        grid-template-columns: 1fr;
    }

    .kontakt-map-container {
        height: 250px;
        border-radius: 10px;
    }

    .kontakt-map-container iframe {
        width: 100%;
        height: 100%;
    }

    .kontakt-formular-container {
        padding: 1.2rem;
        border-radius: 10px;
    }

    .kontakt-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .kontakt-page-title {
        font-size: 1.6rem;
    }

    .kontakt-form-title {
        font-size: 1.3rem;
    }

    .kontakt-submit-button {
        width: 100%;
        justify-content: center;
    }

    /* ----------------------------------------------------------
       PROSPEKT / KATALOG
    ---------------------------------------------------------- */
    .prospekte-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 0.75rem;
    }

    /* ----------------------------------------------------------
       SPONSOREN
    ---------------------------------------------------------- */
    .sponsors-container {
        padding: 1.5rem 1rem;
    }

    .sponsors-title {
        font-size: 1.1rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    .sponsors-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
        align-items: center;
    }

    .sponsor-item img {
        max-width: 100%;
        height: auto;
    }

    /* ----------------------------------------------------------
       FOOTER
    ---------------------------------------------------------- */
    .site-footer {
        padding: 1.5rem 1rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }

    .footer-links a {
        font-size: 0.9rem;
        padding: 0.3rem 0;
    }

    .site-info p {
        font-size: 0.85rem;
    }

    /* ----------------------------------------------------------
       PREISE SEKTION (Anmeldung)
    ---------------------------------------------------------- */
    .preise {
        padding: 0;
    }

    .preise h2 {
        font-size: 1.3rem;
    }

    .preis-block {
        margin-bottom: 1rem;
    }

    .preis-block h3 {
        font-size: 1rem;
    }

    /* ----------------------------------------------------------
       MOBILE PANEL (Hamburger Menu)
    ---------------------------------------------------------- */
    .mobile-panel {
        padding: 5rem 1.5rem 2rem;
    }

    .mobile-panel-list a {
        padding: 1rem 0;
        font-size: 1.05rem;
    }
}

/* ----------------------------------------------------------
   EXTRA KLEIN (bis 480px)
---------------------------------------------------------- */
@media (max-width: 480px) {

    .hero-title {
        font-size: clamp(1.1rem, 4.5vw, 1.5rem) !important;
    }

    .info-box p {
        font-size: 0.82rem;
    }

    .sponsors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .prospekte-grid {
        grid-template-columns: 1fr !important;
    }

    .entry-title {
        font-size: 1.3rem !important;
    }

    .einzelformular-container {
        margin: 0.4rem;
    }
}
