@import url(fontawesome-all.min.css);
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300i,400,400i");

/* Story by HTML5 UP (Merged & Customized for 1001 Nacht)
   Zusammengeführte Version: Basis-Styling + Orientalische Anpassungen
*/

/* Reset & Basis */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
body { line-height: 1; -webkit-text-size-adjust: none; background: #ffffff; color: #000000; font-family: "Source Sans Pro", Helvetica, sans-serif; font-size: 1rem; font-weight: 300; line-height: 1.65; }
ol, ul { list-style: none; }
html { box-sizing: border-box; font-size: 18pt; }
*, *:before, *:after { box-sizing: inherit; }

@media screen and (max-width: 1680px) { html { font-size: 14pt; } }
@media screen and (max-width: 1280px) { html { font-size: 12pt; } }
@media screen and (max-width: 736px) { html { font-size: 11pt; } }

/* --- ORIENTALISCHE ANPASSUNGEN --- */

/* 1. Hintergrund für den ersten Block (Magie 1001 Nacht) */
#wrapper > section.banner.style2:first-of-type {
    background: linear-gradient(135deg, #2e0854 0%, #4b0082 100%); /* Tiefes Nacht-Lila */
    color: #ffffff;
}

#wrapper > section.banner.style2:first-of-type h1, 
#wrapper > section.banner.style2:first-of-type p {
    color: #ffffff;
}

/* 2. Fix für Rollen-Bilder in den Icons */
.icon.major {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    overflow: hidden !important;
    position: relative;
    width: 10rem;  /* Standardgröße im Story Template */
    height: 10rem;
    border-radius: 50% !important;
    background-color: #ffffff; /* Weißer Kreis-Hintergrund */
    border: 2px solid #d4af37 !important; /* Goldener Rand */
}

/* Versteckt das originale FontAwesome Icon Zeichen */
.icon.major::before {
    display: none !important;
    content: none !important;
}

/* Stylt das Bild innerhalb des Kreises */
.role-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50%;
    display: block;
}

/* --- TYPOGRAFIE & LAYOUT (AUS MAIN.CSS) --- */
h1, h2, h3, h4, h5, h6 { font-weight: 300; line-height: 1.375; letter-spacing: -0.05em; margin: 0 0 1rem 0; color: #000000; }
h1 { font-size: 3.5rem; line-height: 1.2; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
p { margin: 0 0 2rem 0; }
a { color: #000000; text-decoration: underline; transition: color 0.2s ease-in-out; }
a:hover { color: #d4af37; text-decoration: none; }

/* Buttons */
.button {
    appearance: none;
    transition: background-color 0.2s, color 0.2s;
    border: 0;
    cursor: pointer;
    display: inline-block;
    font-weight: 400;
    letter-spacing: 0.125em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.75rem;
    height: 3.75em;
    line-height: 3.75em;
    border-radius: 3.75em;
    padding: 0 2.5em;
    background-color: #000000;
    color: #ffffff !important;
}

.button.primary {
    background-color: #d4af37; /* Goldener Button */
    color: #ffffff !important;
}

.button:hover {
    background-color: #444;
}

/* Items Grid */
.items { display: flex; flex-wrap: wrap; justify-content: center; margin: 2rem 0; }
.items section { width: 33.33%; padding: 2rem; box-sizing: border-box; }

@media screen and (max-width: 980px) { .items section { width: 50%; } }
@media screen and (max-width: 736px) { .items section { width: 100%; } }

/* Utilities */
.align-center { text-align: center; }
.wrapper { padding: 4rem 0; }
.inner { width: 65rem; max-width: calc(100% - 4rem); margin: 0 auto; }