/* ==========================================================================
   1. SPEZIELLE ELEMENT-FIXES (CD-COVER & BUY-BUTTONS)
   ========================================================================== */

/* 1. DIE CD-COVER (Erste Spalte der Tabelle) */
td:first-child img,
.SM-CD-cover img,
.book-cover img,
.CD-cover img {
    width: 100% !important;
    min-width: 180px !important;
    max-width: 250px !important;
    height: auto !important;
    object-fit: contain !important;
}

/* 2. DER BUY-BUTTONS CONTAINER (Flexbox richtet alle 3 perfekt mittig aus) */
.buy-buttons {
    display: flex !important;
    align-items: center !important; /* Richtet alle 3 Buttons exakt auf der vertikalen Mittelachse aus */
    gap: 12px !important;            /* Gleichmäßiger Abstand zwischen den Buttons */
    margin-top: 15px !important;
}

/* 3. DIE LINKS IN BUY-BUTTONS (Hebt die inline-styles 157x45px auf) */
.buy-buttons a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: 40px !important;        /* Einheitliche Höhe für alle Link-Container */
    text-decoration: none !important;
}

/* 4. DIE BILDER IN BUY-BUTTONS (Hebt die inline-styles width:157px; height:43px auf) */
.buy-buttons a img {
    height: 38px !important;        /* Exakt gleiche Höhe für alle Buttons */
    width: auto !important;         /* Behält das natürliche Seitenverhältnis bei */
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain !important;
}

/* 5. YOUTUBE ICON ANPASSUNG (Da das Icon quadratischer ist, etwas schmaler halten) */
.buy-buttons a[href*="youtu"] img,
.buy-buttons a[title="YouTube"] img {
    height: 38px !important;
    width: auto !important;
}


/* Schriftarten importieren */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700&family=Roboto:wght@300;400;700&display=swap');

/* ==========================================================================
   2. GLOBALE STILE & DESKTOP-LAYOUT
   ========================================================================== */

* {
    box-sizing: border-box;
}

body {
    background-color: #000000;
    font-family: "Open Sans", "Roboto", Verdana, sans-serif;
    line-height: 1.625;
    color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Links */
a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #0193de;
}

/* Tabellen & Layout-Zellen */
td {
    padding: 20px;
    color: #ffffff;
}

/* Interaktive Buttons & Effekte */
.award-button {
    transition: transform 0.2s ease-in;
}

.award-button:hover {
    transform: scale(3.0);
}

.playvideo {
    cursor: pointer;
    width: 400px;
    height: 325px;
}

#videoplayer {
    display: none;
    position: relative;
    z-index: 1234;
}

/* Header & Social Media */
#socialmedia {
    position: absolute;
    right: 5px;
    top: 2px;
}

#socialmedia img {
    margin-left: 5px;
    margin-right: 35px;
    height: 27px;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

#socialmedia a {
    height: 27px;
    top: 0;
}

#socialmedia img:hover {
    transform: scale(1.8);
    opacity: 0.6;
    margin-top: 0;
}

.description {
    text-align: center;
    font-style: italic;
    margin-top: 5px;
    color: #fefefe;
}

#logo {
    position: fixed;
    z-index: 20;
    padding-top: 9px;
    top: 0;
    left: 0;
    height: 60px;
    width: 100%;
    background: #000000;
    text-align: center;
    font-size: 30px;
    letter-spacing: 2px;
    color: #e9a333;
    border-bottom: 5px solid #0193de;
}

#logo-text,
.site-title {
    font-family: 'Cinzel', serif !important;
    color: #e9a333 !important;
    font-size: 26px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    font-weight: normal;
    font-variant: normal;
}

#logo-image {
    position: absolute;
    top: 11px;
    left: 12px;
    width: 150px;
    height: 30px;
}

#logo-language {
    position: absolute;
    top: 11px;
    right: 12px;
    border: 2px solid gray;
    height: 30px;
    width: 43px;
}

/* Hauptnavigation (Desktop) */
#menubar {
    position: fixed;
    text-align: center;
    z-index: 20;
    top: 60px;
    left: 0;
    height: 60px;
    width: 100%;
    background: #000000;
    opacity: 0.8;
    overflow: hidden;
    cursor: pointer;
    transition: opacity 0.5s ease-in;
}

#menubar:hover {
    opacity: 1;
    overflow: visible;
}

#menubar ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#menubar a {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    line-height: 20px;
    vertical-align: top;
    font-family: Helvetica, Arial, sans-serif;
    letter-spacing: -1px;
    background: none;
}

#menubar > ul {
    height: 60px;
}

#menubar > ul > li {
    display: inline-block;
    width: 150px;
    height: 100%;
    padding-top: 14px;
    vertical-align: top;
}

hr.mobil-trennlinie {
    display: none;
}

#menubar > ul > li > a,
#menubar > ul > li > ul > li > a {
    padding: 20px;
}

/* Untermenüs */
#menubar > ul > li > ul > li {
    background: #999999;
    text-align: left;
    padding: 15px 5px;
    min-width: 230px;
    position: relative;
    letter-spacing: -2px;
    font-size: 16px;
    z-index: 100;
}

#menubar > ul > li > ul {
    visibility: hidden;
    margin-top: 20px;
}

#menubar > ul > li:hover > ul {
    text-align: left;
    visibility: visible;
}

#menubar ul > li:hover {
    background: #ffffff;
    z-index: 120;
}

#menubar ul > li:hover > a {
    color: #000000;
}

#menubar > ul > li > ul > li:hover {
    background: #ff1111;
    text-align: left;
}

/* Unter-Untermenü */
#menubar > ul > li > ul > li > ul:before {
    content: "\25BA";
    position: relative;
}

#menubar > ul > li > ul > li:hover > ul:before {
    display: none;
}

#menubar > ul > li > ul > li > ul {
    position: absolute;
    top: 15px;
    left: 170px;
    width: 0;
    height: 0;
    z-index: 120;
}

#menubar > ul > li > ul > li > ul > li {
    visibility: hidden;
    background: #777777;
    min-width: 200px;
    padding: 20px;
}

#menubar > ul > li > ul > li:hover > ul {
    width: 180px;
    height: auto;
    box-shadow: 2px 2px 14px #000000;
}

#menubar > ul > li > ul > li:hover > ul > li {
    visibility: visible;
}

.menuicon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

#_contact > ul > li {
    display: inline-block;
}

/* Inhalts-Banner & Medien */
#buch-banner-div,
#noten-banner-div,
#CD-banner-div,
.CD-banner-div {
    text-align: center;
}

.buch-banner,
.noten-banner {
    display: inline-block;
    width: 315px;
    height: 200px;
    margin: 50px 0 0 0;
    padding: 10px 0;
}

.cd-title {
    color: #00bfff;
    font-weight: bold;
    font-style: italic;
    font-size: 1.4em;
}

.cd-artist,
.back-index {
    color: #9bdce7;
    font-size: 1.1em;
    font-weight: bold;
}

.back-index {
    color: #e8a217;
}

.CD-banner,
.CD-banner-artist {
    display: inline-block;
    width: 160px;
    height: 200px;
    margin: 100px 9px 10px 9px;
    padding: 20px 0 10px 0;
    text-align: center;
    font-size: 14px;
    color: #000000;
}

.CD-banner-artist {
    margin-top: 30px;
}

#bio-key td:first-child,
#bio-kim td:first-child,
#wh-kinderchor td:first-child,
#wh-childrenchoir td:first-child {
    line-height: 28px;
    text-align: center;
}

#ASM-banner,
#video-data,
#bio,
#reviews,
.reviews {
    text-align: center;
    padding: 20px 30px;
    font-size: 14px;
    color: #ffffff;
}

.ASM-description {
    display: inline-block;
    margin: 0 9px 10px 9px;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #ffffff;
}

.video-td {
    padding: 20px 0;
}

.paragraph,
.paragraph-artist {
    text-align: left;
}

.paragraph-artist {
    font-size: 15px;
}

#news-banner {
    width: 100%;
    opacity: 0.8;
    padding: 10px 25px 3px 25px;
    transition: opacity 0.5s ease-in;
}

#Discography-headline {
    width: 160px;
    height: 100px;
    margin: 190px 9px 0 9px;
    padding-top: 20px;
    text-align: center;
    font-size: 34px;
    color: #dba901;
}

.headline,
#SM-headline,
#headline-privacypolicy {
    margin: 80px 9px 0 9px;
    padding-bottom: 10px;
    text-align: center;
    font-size: 34px;
    color: #00bfff;
}

#SM-headline {
    width: 160px;
    height: 50px;
    margin-top: 190px;
}

#headline-privacypolicy {
    width: 160px;
    height: 50px;
    margin-top: 19px;
}

.SM-CD-cover {
    width: 300px;
    height: 260px;
    margin: 20px;
    padding: 20px;
    text-align: left;
    font-size: 14px;
    color: #ffffff;
}

.SM-CD-cover-link {
    width: 250px;
    height: 250px;
}

#contact-info,
#distribution-info {
    text-align: center;
    margin: 80px 9px 10px 9px;
    font-size: 14px;
    color: #ffffff;
}

#distribution-info {
    margin-left: 20px;
    color: green;
}

.contact-info,
.distribution-info-countries {
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
}

#impressum-disclaimer,
#impressum-privacypolicy {
    text-align: left;
    font-size: 14px;
    color: #ffffff;
    padding: 20px;
}

#BannerCD {
    display: inline;
    text-align: center;
}

#CD-cover-div {
    text-align: center;
}

.book-cover,
.CD-cover {
    display: inline-block;
    width: 250px;
    height: 320px;
    text-align: center;
    font-size: 14px;
    color: #ffffff;
}

.book-cover {
    padding: 20px;
}

.CD-cover {
    margin: 0 30px 0 0;
}

.CD-cover a {
    color: #ffffff;
    text-decoration: none;
}

.CD-cover:hover {
    background-color: #0b2161;
}

.CD-cover:hover a {
    color: #ffffff;
}

.hofspielhaus {
    display: inline-block;
    height: 205px;
    margin: 20px;
    border: 2px solid #ffffff;
    text-align: center;
    font-size: 14px;
    color: #ffffff;
}

#pdf-download {
    text-align: center;
    margin-bottom: 180px;
}

#download-instructions {
    text-align: center;
    font-size: 18px;
    color: #ffffff;
    padding: 55px;
}

/* Kauf- & Stream-Buttons */
.itunes-button,
.itunes-button-index {
    text-align: center;
}

.itunes-button {
    padding: 15px 10px 30px 50px;
}

.amazon-button {
    margin: 20px 20px 10px 20px;
}

.buy-buttons {
    margin: 0;
    text-align: center;
    background-size: contain;
}

.amazon-button-index {
    margin: 0 20px 10px 20px;
}

.buy-buttons img {
    margin-right: 10px;
    height: 40px;
    background-color: #ffffff;
}

.download-buttons img {
    margin-right: 10px;
    height: 40px;
    width: 90px;
    background-color: #000000;
}

.amazon-button-index-ger {
    margin: 0 20px 50px 20px;
}

#free-special-button {
    margin: 27px 20px 10px 20px;
}

/* Footer & Seitenstruktur */
#footer {
    position: fixed;
    bottom: 0;
    z-index: 1000;
    left: 0;
    width: 100%;
    background: #000000;
    opacity: 0.8;
    padding: 5px 25px 9px 25px;
    transition: opacity 0.5s ease-in;
    border-top: 5px solid #0193de;
}

#footer a {
    text-decoration: none;
    font-family: Tahoma, sans-serif;
    letter-spacing: -1px;
    color: #ffffff;
}

#footer:hover {
    opacity: 1;
}

.seite {
    display: none;
    margin-top: 150px;
}

.seite:after {
    content: '';
    display: inline-block;
    width: 100%;
    float: left;
    height: 50px;
}

/* Kontakt-Formular */
.contact-title {
    text-align: center;
    margin-top: 20px;
    color: #fffff0;
    text-transform: uppercase;
    transition: all 4s ease-in-out;
}

.contact-title h1 {
    text-align: center;
    font-size: 30px;
    line-height: 10px;
}

.contact-title h2 {
    text-align: center;
    font-size: 16px;
}

form {
    margin: 40px 0 0 0;
    padding: 0;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 150, 0.5), rgba(0, 0, 50, 0.5)), url(/images/pic1.jpg);
    background-size: cover;
    background-position: center;
    font-family: sans-serif;
    transition: all 4s ease-in-out;
}

.form-control {
    width: 600px;
    background: transparent;
    border: none;
    outline: none;
    border-bottom: 1px solid gray;
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 16px;
}

input {
    height: 45px;
}

form .submit {
    background: #ff5722;
    border-color: transparent;
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 2px;
    height: 50px;
    margin-top: 20px;
}

form .submit:hover {
    background-color: #f44336;
    cursor: pointer;
}

.kontakt-formular {
    max-width: 500px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    justify-self: center !important;
    display: block !important;
    font-family: sans-serif;
    padding: 20px;
}

.kontakt-formular .form-gruppe {
    margin-bottom: 15px !important;
    display: block !important;
}

.kontakt-formular .form-gruppe input,
.kontakt-formular .form-gruppe textarea {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    padding: 12px !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    box-sizing: border-box !important;
    font-size: 16px !important;
}

.kontakt-formular button[type="submit"] {
    width: 100% !important;
    padding: 14px !important;
    background-color: #007bff !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 4px !important;
    font-size: 16px !important;
    cursor: pointer !important;
    margin-top: 10px !important;
}

.kontakt-formular button[type="submit"]:hover {
    background-color: #0056b3 !important;
}


/* ==========================================================================
   3. MOBILE & QUERFORMAT STILE (BIS 1024PX UND QUERFORMATS-SMARTPHONES)
   ========================================================================== */

@media screen and (max-width: 1024px), screen and (orientation: landscape) and (max-height: 600px) {

    /* RIESIGE ABSTÄNDE ÜBER DEN ÜBERSCHRIFTEN UND SEITEN REDUZIEREN */
    .seite {
        margin-top: 70px !important; /* Passt den Abstand unter der fixierten Headerleiste an */
    }

    .headline,
    #SM-headline,
    #Discography-headline,
    #headline-privacypolicy {
        margin-top: 20px !important;  /* Reduziert die 190px/80px Desktop-Margins auf 20px */
        margin-bottom: 10px !important;
        padding-top: 0 !important;
        height: auto !important;
    }

    /* VISUALLY HIDDEN FIX (Checkbox unsichtbar halten) */
    .visually-hidden {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        padding: 0 !important;
        margin: -1px !important;
        overflow: hidden !important;
        clip: rect(0, 0, 0, 0) !important;
        white-space: nowrap !important;
        border: 0 !important;
    }

    ::-webkit-scrollbar {
        width: 0.5em;
    }

    ::-webkit-scrollbar-thumb {
        background: rgba(184, 184, 184, 0.5);
    }

    /* HEADER ELEMENTE: BURGER LINKS, LOGO MITTIG/NEBENAN, FLAGGE RECHTS */
    #logo-text { 
        display: none !important; 
    }

    /* BURGER BUTTON GANZ LINKS OBEN */
    label#menu-toggle {
        display: block !important;
        position: fixed !important;
        top: 8px !important;
        left: 10px !important;
        right: auto !important;
        font-size: 24px !important;
        line-height: 36px !important;
        width: 40px !important;
        height: 40px !important;
        text-align: center !important;
        z-index: 999999 !important;
        color: #ffffff !important;
        background: #000000 !important;
        border: 1px solid #333333 !important;
        border-radius: 4px !important;
        cursor: pointer !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    /* LOGO NEBEN DEM BURGER BUTTON */
    #logo-image { 
        position: fixed !important; 
        top: 12px !important;
        left: 60px !important;
        max-width: 110px !important;
        height: auto !important;
        z-index: 999990 !important;
    }

    /* SPRACHFLAGGE GANZ RECHTS OBEN */
    #logo-language {
        position: fixed !important;
        top: 8px !important;
        right: 10px !important;
        left: auto !important;
        width: 40px !important;
        height: auto !important;
        z-index: 999980 !important;
    }

    /* MENÜ CONTAINER & SLIDE-IN SIDEBAR */
    div#menubar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 0 !important;
        z-index: 99990 !important;
        overflow: visible !important;
        background: transparent !important;
    }

    /* Navigationsliste */
    div#menubar > ul {
        position: fixed !important;
        top: 55px !important;
        left: -100% !important;
        width: 280px !important;
        max-width: 80% !important;
        height: calc(100vh - 55px) !important;
        overflow-y: auto !important;
        background: #111111 !important;
        list-style-type: none !important;
        padding: 10px 0 60px 0 !important;
        margin: 0 !important;
        box-shadow: 5px 0 15px rgba(0,0,0,0.9) !important;
        transition: left 0.3s ease-in-out !important;
        z-index: 99995 !important;
    }

    input#menu:checked ~ div#menubar > ul {
        left: 0 !important;
    }

    input#menu:checked ~ label#menu-toggle {
        color: #0193de !important;
        border-color: #0193de !important;
    }

    #menubar a {
        position: relative !important;
        z-index: 99999 !important;
        pointer-events: auto !important;
        cursor: pointer !important;
        display: block !important;
        text-decoration: none !important;
    }

    #menubar li {
        height: auto !important;
        min-height: 0 !important;
    }

    div#menubar > ul > li {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        padding-top: 0 !important;
        background: transparent !important;
        border-bottom: 1px solid #222222 !important;
        margin: 0 !important;
    }

    div#menubar > ul > li > a {
        display: block !important;
        padding: 14px 20px !important;
        font-size: 17px !important;
        font-weight: bold !important;
        color: #0193de !important;
    }

    div#menubar > ul > li:first-child > ul {
        display: none !important;
    }

    #menubar > ul > li > ul,
    #menubar > ul > li > ul > li > ul {
        display: none !important;
        position: static !important;
        visibility: hidden !important;
        opacity: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        height: auto !important;
        width: 100% !important;
        box-shadow: none !important;
    }

    #menubar > ul > li:not(:first-child):hover > ul,
    #menubar > ul > li:not(:first-child):focus-within > ul {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        background: #181818 !important;
    }

    #menubar > ul > li > ul > li {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        border-bottom: 1px solid #282828 !important;
        padding: 0 !important;
    }

    #menubar > ul > li > ul > li > a {
        padding: 12px 20px 12px 35px !important;
        font-size: 15px !important;
        color: #ffffff !important;
    }

    #menubar > ul > li > ul > li:hover > ul,
    #menubar > ul > li > ul > li:focus-within > ul {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        background: #222222 !important;
    }

    #menubar > ul > li > ul > li > ul > li {
        visibility: visible !important;
        padding: 0 !important;
        min-width: 0 !important;
    }

    #menubar > ul > li > ul > li > ul > li > a {
        padding: 10px 20px 10px 50px !important;
        font-size: 14px !important;
        color: #dddddd !important;
    }

    div.seite {
        position: absolute !important;
        top: 60px !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 1 !important;
        padding: 10px !important;
        box-sizing: border-box !important;
    }

    table, tbody, tr, td {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
    }

    td {
        width: 100% !important;
        margin-left: 0 !important;
        text-align: center !important;
        padding: 10px 0 !important;
    }
}


/* ==========================================================================
   4. BILDER-VERZERRUNGS-SCHUTZ & BILDER-STAPELUNG (TABLET & MOBILE)
   ========================================================================== */

@media screen and (max-width: 1000px) {

    /* 1. FESTE HÖHEN VON DEN BILD-CONTAINERN ENTFERNEN */
    .CD-banner,
    .CD-banner-artist,
    .book-cover,
    .CD-cover,
    .SM-CD-cover,
    .buch-banner,
    .noten-banner {
        height: auto !important;       /* Höhe passt sich automatisch an */
        max-width: 100% !important;   /* Verhindert das Rausragen */
        box-sizing: border-box !important;
    }

    /* 2. PROPORTIONEN DER BILDER SCHÜTZEN (KEIN ZUSAMMENSTAUCHEN) */
    .CD-cover img,
    .book-cover img,
    .SM-CD-cover img,
    .CD-banner img,
    #CD-cover-div img,
    #CD-banner-div img {
        width: 100% !important;
        max-width: 250px !important;  /* Maximale Breite für scharfe Darstellung */
        height: auto !important;      /* Erzwingt das korrekte Seitenverhältnis */
        object-fit: contain !important; /* Verhindert jede Form von Verzerrung */
    }

    /* 3. NEBENEINANDER LIEGENDE BILDER SAUBER UNTEREINANDER STAPELN */
    #CD-cover-div,
    #CD-banner-div,
    #buch-banner-div,
    #noten-banner-div {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
}