* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: cover;
    background-attachment: fixed;
    font-size: 100%; /* Browser-Default: 16px */
    font-family: 'Open Sans', tahoma, arial, sans-serif;
}

body {
    min-height: 100%;
    color: #555555;
    margin: 0 auto; /* Zentriert die Seite */
    font-size: 14px;
    font-size: 1.1rem;
}

.wrap {
    background-color: transparent;
}

.inside {
    max-width: 1400px;
    width: 90%;
    margin: 0 auto;
}

/* Header Layout */
.bannerwrap {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-right: 2.3rem;
}

.banner_logowrap {
    display: inline-block;
    vertical-align: middle;
    margin-right: 1rem;
}

.logo {
    max-height: 8rem;
    margin: 0;
    padding: 0;
}

.banner_titlewrap {
    padding-left: 20px;
    display: inline-block;
    vertical-align: middle;
}

.banner_titlewrap h1 {
    font-family: 'Corinthia', tahoma, arial, sans-serif;
    font-size: 4rem;
    letter-spacing: 1px;
    color: white;
    padding: 0;
    margin: 0;
}

.banner_titlewrap h1 a {
    display: inline-block;
    color: white;
    text-decoration: none;
}

.banner_titlewrap p.slogan {
    display: inline-block;
    color: white;
    font-size: 17px;
    font-family: 'Open Sans', tahoma, arial, sans-serif;
    padding: 0;
    margin: 0;
}

/* Header & Footer */
header[role="banner"] {
    background: rgba(255,255,255,0.0);
    min-height: unset;
    padding: 1em;
}

footer[role="contentinfo"] {
    background: rgba(185,175,163,1);
    color: #555555;
    padding: 2rem 1em;
}

footer[role="contentinfo"] a {
    color: #555555;
    text-decoration: none;
}

footer[role="contentinfo"] a:hover {
    text-decoration: underline;
}

/* Utility Classes */
.hideme {
    position: absolute;
    top: -32768px;
    left: -32768px;
}

/* Micro-Clearfix */
.cf:before,
.cf:after {
    content: " ";
    display: table;
}

.cf:after,
.clear {
    clear: both;
}

.nobr {
    white-space: nowrap;
}

/* Width Utilities */
.widthperc0,
.widthperc10,
.widthperc20,
.widthperc25,
.widthperc30,
.widthperc33,
.widthperc40,
.widthperc50,
.widthperc60,
.widthperc67,
.widthperc70,
.widthperc75,
.widthperc80,
.widthperc90,
.widthperc100 {
    width: 100%;
}

/* Admin Buttons */
.adminbuttonwrap {
    display: inline-block;
    width: 100%;
}

.adminbutton {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: row nowrap;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    position: absolute;
    z-index: 5;
    top: 0.5rem;
    background-color: rgba(221,210,197,1);
    color: #555555;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
}

.adminbutton span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    font-size: 1rem;
    line-height: 1;
    vertical-align: middle;
}

.adminbutton.edit {
    right: 0.5rem;
}

.adminbutton.delete {
    right: 3rem;
}

.adminbutton:hover {
    background: #333;
    color: white;
}

.articlewrap:hover .adminbutton {
    opacity: 1;
}

/* Main Header */
.headerwrap {
    position: relative;
    background: rgba(255,255,255,0.6);
}

.mainheader {
    border-bottom: 0px solid #dddddd;
    margin-bottom: 0;
    padding-bottom: 1.5rem;
    padding: 2rem;
}

.mainheader_adminbutton {
    flex: 0 0 auto;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: row nowrap;
    width: 3rem !important;
    height: 3rem;
    border-radius: 50%;
    position: absolute;
    z-index: 5;
    top: 0.5rem;
    background-color: rgba(221,210,197,1);
    color: #555555;
    right: 0.5rem;
    cursor: pointer;
}

.mainheader_adminbutton:hover {
    background: #333;
    color: white;
}

.mainheader_adminbutton a {
    text-decoration: none;
}

.mainheader_adminbutton span.genericon-edit {
    font-size: 32px;
    font-size: 2rem;
    color: #555555;
}

.headertext {
    display: block;
    vertical-align: top;
    color: #555555;
    font-size: 1.1rem;
    font-family: 'Open Sans', tahoma, arial, sans-serif;
}

.headertext h2 {
    color: #555555;
    font-family: 'Open Sans', tahoma, arial, sans-serif;
    font-size: 22px;
    font-size: 2.3rem;
}

.headertext p {
    margin: 0.5rem 0;
}

/* Typography */
h1 {
    font-size: 32px;
    font-size: 2rem;
}

h2 {
    font-size: 22px;
    font-size: 2.3rem;
    color: #555555;
    font-family: 'Open Sans', tahoma, arial, sans-serif;
}

h3 {
    font-size: 20px;
    font-size: 1.5rem;
    color: #555555;
    font-family: 'Open Sans', tahoma, arial, sans-serif;
}

main {
    line-height: 1.7;
}

/* Desktop Anpassungen */
@media screen and (min-width: 768px) {
    body {
        width: auto;
        max-width: none;
        margin: 0;
    }

    html {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        background-attachment: fixed;
        background-size: cover;
        background-color: #ffffff;
    }

    .wrap {
        overflow: hidden;
        background: transparent;
        margin-bottom: 0;
        border-radius: 0;
    }

    .logo {
        height: 8rem;
        max-height: 8rem;
    }

    footer[role="contentinfo"] {
        border-radius: 0;
        clear: both;
    }

    header[role="banner"] {
        border-radius: 0;
        margin-bottom: 0;
        background-size: 100% auto;
        min-height: 0;
    }

    .banner_titlewrap h1 {
        font-size: 5rem;
    }

    .banner_titlewrap h1 a {
        display: inline-block;
    }

    .banner_titlewrap p.slogan {
        font-size: 1.8rem;
        display: inline-block;
    }

    .adminbutton span.genericon-trash,
    .adminbutton span.genericon-edit {
        font-size: 1.5rem;
    }

    /* Width Percentages for Desktop */
    .widthperc0 { width: 100%; }
    .widthperc10 { width: 10%; }
    .widthperc20 { width: 20%; }
    .widthperc25 { width: 25%; }
    .widthperc30 { width: 30%; }
    .widthperc33 { width: 33%; }
    .widthperc40 { width: 40%; }
    .widthperc50 { width: 50%; }
    .widthperc60 { width: 60%; }
    .widthperc67 { width: 67%; }
    .widthperc70 { width: 70%; }
    .widthperc75 { width: 75%; }
    .widthperc80 { width: 80%; }
    .widthperc90 { width: 90%; }
    .widthperc100 { width: 100%; }

    .bannerwrap {
        padding-right: 0;
    }
}