/*--------------------------------------------------------------
# Root & Base Settings
--------------------------------------------------------------*/
:root {
    --font-primary: "Open Sans", sans-serif;
    --main-color: #383838;
    --second-color: #585858;
    --hover-color: #b9b9b9;
    --border-primary: 1px solid #ccc;
    --bg-color: #ffffff;
}



/* =========================================================
   2. FONTS
========================================================= */

/* open-sans-300 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/open-sans-v44-latin-300.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-300italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 300;
    src: url('../fonts/open-sans-v44-latin-300italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-regular - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v44-latin-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-500 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/open-sans-v44-latin-500.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}







/*--------------------------------------------------------------
# Reset & Global Styles
--------------------------------------------------------------*/

html {
    font-size: clamp(14px, 1vw, 16px);
}


* {
    box-sizing: border-box;
    /* verhindert Layout-Überraschungen */
}


body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.5em;
    font-weight: 300;
    color: var(--main-color);
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: 0.03em;

}


/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
h1 {
    font-size: clamp(1rem, 3vw, 1.1rem);

    font-weight: 400;
    margin-bottom: 3em;
    margin: 2em 0 1.5em;
    text-transform: uppercase;
    color: var(--second-color);

}

h2 {
    font-size: clamp(1rem, 3vw, 1.1rem);

    font-weight: 400;
    margin-bottom: 3em;
    margin: 2em 0 1.5em;
    text-transform: uppercase;
    color: var(--second-color);


}

h3 {
    font-size: clamp(1rem, 3vw, 1em);
    margin: 2em 0 1.5em;
    font-weight: 400;
}

h4,
h5,
h6 {
    font-size: clamp(0.9rem, 1.5vw, 1rem);

    font-weight: 300;
}



p {
    font-size: 1rem;
    margin-top: 1rem;
}



strong,
.bold {
    font-weight: 400;
}

.en {
    color: #827c7c;
    font-style: italic;
}

dfn,
cite,
em,
i {
    font-style: italic;
    font-size: 0.8rem;
}

blockquote {
    margin: 0 1.5rem;
}

address {
    margin-bottom: 1.5rem;
}

/*--------------------------------------------------------------
# Links
--------------------------------------------------------------*/
a {
    color: var(--main-color);
    text-decoration: none;
    transition: all 0.3s ease;
}



a:visited {
    color: var(--main-color);
}

a:hover {
    color: var(--hover-color);
    cursor: pointer;
}

a:active {
    color: var(--second-color);
}

nav ul {
    list-style: none;
}

nav li {

    font-size: clamp(0.8rem, 2.5vw, 1rem);
    text-transform: normal;

}


#sidebar ul li {
    font-size: clamp(0.8rem, 2.5vw, 1rem);

}







nav a {
    text-decoration: none;
}

.navsub,
.front-navsub {
    margin-top: 65px;
}

.active {
    color: var(--second-color);
    font-weight: 400;
}

/*--------------------------------------------------------------
# info und nav infoboxen
--------------------------------------------------------------*/



.infoheadline {
    font-size: 1.1rem;
    text-transform: uppercase;
    margin-top: 2rem;
    padding: 0;
    font-weight: 400;
    color: var(--second-color);

}



.infosubline {
    font-size: 0.85rem;
    margin-top: -1.5rem;
    padding: 0;
    line-height: 1rem;
    margin-bottom: 1rem;

}

.infotext {
    font-size: .95rem;
    line-height: 1.4rem;
    max-width: 600px;
}



.next {

    font-size: 2.5rem;
    font-weight: 200;
    margin-top: -5px;

}




.counter {

    font-size: 1em;
    font-weight: 400;
    color: var(--second-color)
}



/*--------------------------------------------------------------
# Branding / Name
--------------------------------------------------------------*/
.name {
    display: inline-block;
    width: auto;
    margin-top: 0;
    line-height: 1.2;
    text-transform: uppercase;
    text-decoration: none;
    color: inherit;
    font-size: clamp(1.3rem, 2.5vw, 1.3rem);

}

/*--------------------------------------------------------------
# Lists / Sections
--------------------------------------------------------------*/
.liste {
    margin: 1.2rem 0;
    padding: 0;
    font-weight: 200;
    text-transform: uppercase;
}

/*--------------------------------------------------------------
# Navigation (Subnav)
--------------------------------------------------------------*/
.navsub {
    list-style: none;
    padding: 0;
    width: 300px;

}

.navsub li {
    display: inline;
}

.navsub li a {
    font-size: 0.9rem;
}

/* =========================================================
   7. CV / GRID SYSTEM
========================================================= */

.cv {
    max-width: 720px;
}

.entry {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: .2em;
}

.entry+.entry {
    margin-top: .5em;
}

.jahr {
    color: var(--main-color);
    font-size: clamp(14px, 1vw, 16px);
    margin-bottom: 1em;

}


.text {
    max-width: 78ch;
    /* perfekte Leselänge */
    font-size: clamp(14px, 1vw, 16px);
    margin-bottom: 1em;


}

.spalten {
    columns: 2 300px;
    column-gap: 2em;
}

/* =========================================================
   9. Site Exhibitions styles
========================================================= */

.year {
    margin-bottom: 3rem;
}

.year h2 {
    margin-bottom: 1rem;
    border-bottom: var(--border-primary);
    padding-bottom: 0.3rem;
    font-weight: 600;
}

.exhibition {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: var(--border-primary);
}

.exhibition h3 {
    margin: 0;
    font-size: 1rem;
}

.meta {
    color: #555;
    font-size: 0.95rem;
    margin: 0.2rem 0;
}

.location {
    margin-top: 0.3rem;
}

.location a {
    text-decoration: underline;
}

.underline {
    text-decoration: underline;
}

/* =========================================================
   8. MEDIA ELEMENTS
========================================================= */


/* Hover */
img:hover {
    opacity: 0.97;
}

/* Fade-in */
img.fade-in {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

img.fade-in.visible,
img.fade-in:hover {
    opacity: 1;
}





/* =========================================================
   9. DIVIDERS & SEPARATORS
========================================================= */

section+section,
.devider {
    margin-top: 2rem;
    padding-top: .5rem;
    border-top: var(--border-primary);

}

section+section {
    max-width: 800px;
}


.devider-line {
    height: 1px;
    background: #ccc;
    margin-top: 34px;
    max-width: 800px;
}

.devider-headline {
    height: 1px;
    background: #ccc;
    margin-top: 34px;
    max-width: 800px;
}

.right {
    text-align: right;
}

.detail {
    max-width: 300px;
    font-family: sans-serif;
}

summary {
    cursor: pointer;
    color: var(--second-color);
    margin-bottom: 10px;
    margin-top: 10px;

}