/* ==========================================================================
   Zentrales Stylesheet - "Dante's Dream" (Heller Original-Hintergrund)
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    /* Deutlich helleres Overlay (0.4), damit das Bild voll zur Geltung kommt */
    background: linear-gradient(rgba(11, 9, 8, 0.4), rgba(11, 9, 8, 0.6)), 
    /*
                url('https://images.unsplash.com/photo-1579783922614-a3fb3927b6a5?q=80&w=1200&auto=format&fit=crop') no-repeat center center;
		*/
                url('photo-1579783902614-a3fb3927b6a5.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    color: #ffffff;
    line-height: 1.7;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: #dfba4f;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #fff;
}

/* ==========================================================================
   Hero-Bereich (Nur Startseite)
   ========================================================================== */
.hero {
    height: 100vh;
    display: table;
    width: 100%;
}

.hero-cell {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.8rem;
    color: #dfba4f;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 25px;
    font-weight: normal;
    text-shadow: 0px 4px 15px rgba(0, 0, 0, 0.9);
}

.hero p {
    font-size: 1.4rem;
    color: #ffffff;
    font-style: italic;
    max-width: 700px;
    margin: 0 auto 40px auto;
    text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.9);
}

.btn {
    display: inline-block;
    background-color: #8a0303;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    padding: 15px 40px;
    border: 1px solid #dfba4f;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #b00404;
    box-shadow: 0 0 15px rgba(223, 186, 79, 0.4);
}

/* ==========================================================================
   Inhaltsbereiche & Einleitung
   ========================================================================== */
.intro {
    text-align: center;
    padding: 60px 0 40px 0;
    max-width: 800px;
    margin: 0 auto;
}

.intro h2 {
    color: #b00404;
    font-size: 2.4rem;
    margin-bottom: 15px;
    font-weight: bold;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.8);
}

.intro::after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background-color: #dfba4f;
    margin: 25px auto;
}

.intro p {
    font-size: 1.15rem;
    color: #ffffff;
    text-shadow: 0px 1px 4px rgba(0, 0, 0, 0.8);
}

/* ==========================================================================
   Biografie-Layout (Unterseite rosetti.php)
   ========================================================================== */
.bio-grid {
    display: table;
    width: 100%;
    table-layout: fixed;
    border-spacing: 30px 0;
    margin-top: 20px;
    margin-bottom: 40px;
}

.bio-col-img {
    display: table-cell;
    width: 35%;
    vertical-align: top;
}

.bio-col-text {
    display: table-cell;
    width: 65%;
    vertical-align: top;
    text-shadow: 0px 1px 5px rgba(0, 0, 0, 0.9);
}

.artist-portrait {
    width: 100%;
    height: auto;
    border: 1px solid #dfba4f;
    box-shadow: 0 4px 15px rgba(0,0,0,0.8);
}

.bio-section {
    margin-bottom: 35px;
    background-color: rgba(11, 9, 8, 0.6); /* SchÃ¼tzt Lesbarkeit bei hellem Hintergrund */
    padding: 15px;
    border-radius: 4px;
}

.bio-section h3 {
    color: #dfba4f;
    font-size: 1.5rem;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(223, 186, 79, 0.2);
    padding-bottom: 5px;
    font-weight: normal;
}

.back-link {
    display: inline-block;
    margin-top: 20px;
    font-size: 1.1rem;
    color: #dfba4f;
    font-weight: bold;
}

/* ==========================================================================
   Kacheln & Navigationsteaser (Gleiche Struktur fÃ¼r Start & Unterseiten)
   ========================================================================== */
.cards-table {
    display: table;
    width: 100%;
    table-layout: fixed;
    border-spacing: 20px;
    margin-bottom: 60px;
    margin-top: 40px;
}

.card-cell {
    display: table-cell;
    background-color: rgba(18, 15, 14, 0.75);
    border: 1px solid #26201e;
    vertical-align: top;
    transition: all 0.3s ease;
}

.card-cell:hover {
    border-color: #dfba4f;
    background-color: rgba(26, 22, 20, 0.95);
}

.card-img-container {
    height: 160px;
    overflow: hidden;
    border-bottom: 1px solid #26201e;
}

.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body {
    padding: 20px;
}

.card-body h3 {
    color: #dfba4f;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: normal;
}

.card-body p {
    font-size: 0.9rem;
    color: #ceb6aa;
    margin-bottom: 15px;
}

/* ==========================================================================
   AdSense, Zitate & Partner
   ========================================================================== */
.adsense-header {
    width: 100%;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    background-color: rgba(5, 4, 4, 0.5);
}

.adsense-placeholder {
    width: 728px;
    height: 90px;
    background-color: rgba(15, 13, 12, 0.8);
    border: 1px dashed #3a312f;
    color: #5c4e4b;
    font-family: sans-serif;
    font-size: 11px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.partners-section {
    padding: 40px;
    background-color: rgba(15, 13, 12, 0.8);
    border: 1px solid #1c1817;
    text-align: center;
    margin-bottom: 60px;
}

.partners-section h3 {
    color: #dfba4f;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}
/* Der übergeordnete Container, der die Kacheln in einer Reihe ausrichtet */
.partners-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Abstand zwischen den Kacheln */
    margin-top: 15px;
}

/* Die einzelnen Kacheln als eigenständige Blöcke nebeneinander */
.partner-item {
    flex: 1 1 calc(25% - 20px); /* Verteilt die Kacheln gleichmäßig auf 4 Spalten */
    min-width: 220px; /* Verhindert, dass die Kacheln auf kleinen Bildschirmen zu schmal werden */
    padding: 15px;
    background: rgba(223, 186, 79, 0.03);
    border: 1px solid rgba(223, 186, 79, 0.15);
    border-radius: 4px;
    color: #fff; /* Standard-Textfarbe im Design */
    font-size: 0.85rem;
    line-height: 1.4;
    transition: background 0.2s ease, border-color 0.2s ease;
}

/* Visuelles Feedback beim Überfahren der Kachel */
.partner-item:hover {
    background: rgba(223, 186, 79, 0.07);
    border-color: #dfba4f;
}

/* Spezifisches Styling für die Textlinks innerhalb der Kacheln */
.partner-item a {
    color: #dfba4f;
    text-decoration: none;
    font-weight: bold;
}

.partner-item a:hover {
    text-decoration: underline;
}

.partner-item:nth-child(5),
.partner-item:nth-child(6),
.partner-item:nth-child(7) {
	display:none;
}
footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid #1c1817;
    font-size: 0.8rem;
    color: #8a7774;
    background-color: rgba(5, 4, 4, 0.8);
}

footer a {
    color: #8a7774;
    margin: 0 10px;
}

footer a:hover {
    color: #dfba4f;
}

@media (max-width: 768px) {
    .bio-grid, .cards-table { display: block; }
    .bio-col-img, .bio-col-text, .card-cell { display: block; width: 100%; margin-bottom: 20px; }
}

/* Macht die gesamte Kachel anklickbar */
.cards-table .card-cell {
    position: relative; /* Wichtig, damit sich der Link daran ausrichtet */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover-Effekt für die ganze Kachel, da sie jetzt komplett interaktiv ist */
.cards-table .card-cell:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Das unsichtbare Element, das sich über die Kachel legt */
.cards-table .card-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1; /* Legt sich über Text und Bild */
}
