html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
p,
a,
abbr,
em,
img,
strong,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,


article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary{
    margin: 0;
    padding: 0;
    outline: 0;
    border: 0;
    background: transparent;
    vertical-align: baseline;
    font-size: 100%;
}

article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
    display: block;
}

a:hover,
a:active {
    outline-width: 0;
}

:root {
    --junkers-blau: #003366;
    --schrift: #111;
    --schmuck: #b52a35;
    --schmuck-dunkel:#ac1420;
    --schmuck3: #fa858d;
    --focus: #00b4d8;
    --dunkelgrau: #223;
    --mittelgrau: #585555;
    --hintergrund: #f5f7fa;
    --hellgrau: rgba(1, 1, 1, 0.1);
}

:focus {
    outline: 0;
}



button {
    margin: 0;
    vertical-align: baseline;
    text-transform: none;
    font-size: 100%;
}

button,
input {
    line-height: normal;
}


img {
    border-style: none;
    vertical-align: middle;
}

svg:not(:root) {
    overflow: hidden;
}

[hidden],
.hidden,
hr {
    display: none;
}

.cl:before,
.cl:after {
    display: table;
    visibility: hidden;
    content: " ";
}

.cl:after {
    clear: both;
}

html {
    overflow-y: scroll;
    min-height: 100.5%;
    height: 100%;
}

@font-face {
    font-weight: 300;
    font-family: 'Roboto';
    src: url('/client/fonts/roboto-light.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-weight: 500;
    font-family: 'Roboto';
    src: url('/client/fonts/roboto-medium.woff2') format('woff2');
    font-display: swap;
}

body {
    background: #fff;
    font: 300 10px 'Roboto', system-ui, arial, helvetica, geneva, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-size-adjust: none;
    text-rendering: optimizeLegibility;
    -webkit-print-color-adjust: economy;
    print-color-adjust: economy;
}

.vs {
    position: absolute;
    overflow: hidden;
    clip: rect(1px 1px 1px 1px);
    clip: inset(50%);
    width: 1px;
    height: 1px;
    white-space: nowrap;
}

nav ul {
    list-style: none;
}

h3,
h4 {
    text-wrap: balance;
}


/* ------------------ */

#page {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    margin: auto;
    margin-top: -8px;
    padding: 20px 10px;
    min-height: 100vh;
    max-width: 1200px;
    width: 100%;
    justify-content: top;
}



.header a {
   text-decoration: none;
}

h1 a {
    color: #000 !important;
    
    font-weight: 300;
     font-size: 3.4em;
}




#nav1 ul, #nav2 ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#nav2 {
    margin: 2em -.9rem 0 0;
}


#nav2 ul {
    float:right;
}


#nav1 li, #nav2 li {
  display: inline-block;
  margin-right: .9rem;
}

#nav1 li:last-child {
  margin-right: 0;
}

#nav1 a, #nav2 a  {
  text-decoration: none;
  display: inline-block;
  line-height: 1;
  color: inherit;
}

/* Stil für aktives Element und visuell gleichgestellte Elemente */
#nav1 span,
#nav1 a.aktiv,
#nav1 a:hover,
#nav1 a:focus-visible,
#nav2 span,
#nav2 a.aktiv,
#nav2 a:hover,
#nav2 a:focus-visible{
  font-weight: 500;
  color: #000;
  border: none;
}

/* Spezialfall: erstes Element mit Wortabstand-Anpassung */
#nav1 li:first-child a {
  word-spacing: 1px;
}

#nav1 li:first-child span,
#nav1 li:first-child a.aktiv,
#nav1 li:first-child a:hover,
#nav1 li:first-child a:focus-visible {
  word-spacing: -1.8px;
}


.main {
    display: flex;
    margin-top: 3vw;
}

@media (min-width: 1600px) {
    .main {
        margin-top: 48px;
    }
}

h2 {
    font-size: clamp(2.7em, 8.5vw, 4.2rem);
}

h2 {
    position: absolute;
    font-weight: 500;
    line-height: 0.65;
    writing-mode: vertical-rl;
    font-kerning: none;
    rotate: 180deg;
    white-space: nowrap;
    font-weight: 300;
     font-size: 3.4em;
    letter-spacing: 1px;
}

h3 {
    top: 0;
    left: 1em;
    margin-bottom: 0.3em;
    color: #333;
    font-weight: 300;
    line-height: 1.31;
  font-size: 1.6em;
}

.content {
    float: left;
    box-sizing: border-box;
    margin-top: 0;
    margin-left: 10%;
    padding-left: 5%;
    width: calc(100% - 1px - 10%);
    border-left: 1px solid #aaa;
    margin-left: 40px;
  padding-left: 15px;
  width: calc(100%);
}

p,
ul, dl {
    font-size: 1.71em;
}

p,
ul, dl, .durchschuss {
    margin-bottom:0.55rem;
}
/*
.content p {
    text-indent: 1em;
}

.content p:first-of-type,
.content figure + p {
    text-indent: 0;
}
*/

.content ul {
    margin-left: 2em;
    list-style-type: none;
}

.content li {
    display: inline-block;
    width: 100%;
}

.content li:before {
    position: absolute;
    display: block;
    margin-left: -1.2em;
    width: 1em;
    height: 0.9em;
    border-bottom: 1px solid #000;
    content: " ";
}

ul.alleProjekte {
    display: flex;
    margin-left: 0 !important;
    padding: 0;
    list-style: none;
    /* Listen-Bullets entfernen */
    flex-wrap: wrap;
    /* Elemente umbrechen auf neue Zeile */
    gap: 40px 20px;
    /* Abstand zwischen den Spalten */
}

.alleProjekte li {
    display: flex;
    /* Flexbox-Layout für die li-Elemente */
    flex: 1 1 calc(33.33% - 20px);
    /* Flexibles Layout mit Mindestbreite von 33.33% */
    flex-grow: 0;
}


.main a:link,
.main a:visited {
    color: #000;
    text-decoration: underline;
    text-decoration-thickness: 1px; /* optional für saubere Darstellung */
    text-decoration-skip-ink: auto;
}

.main a:hover,
.main a:focus {
    color: #000;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-skip-ink: none;
}

.alleProjekte a {
    display: flex;
    /* Flexbox-Layout für Links */
    flex-direction: column;
    /* Elemente innerhalb des Links vertikal anordnen */
    color: inherit;
    /* Farbe des Links übernimmt die Farbe des umgebenden Textes */
    text-decoration: none !important;
    /* Linkunterstreichungen entfernen */
    transition: filter 0.3s ease;
    /* Sanfter Übergang für den Hover-Effekt */
    flex: 1;
    /* Link-Element auf volle Höhe des li-Elements skalieren */
    align-items: center;
}

.alleProjekte div {
    width:100%;
    margin-bottom:1em;
}

.alleProjekte figure:before {
    position: absolute;
    right: 0;
    z-index: -5;
    display: inline-block;
    width: 6em;
    height: 6em;
    background: #222;
    content: " ";
}

.alleProjekte figure {
    margin-top: auto;

      margin-top: auto;
    width: 100%;
    height: auto;
    position: relative;
    display: block;

}

.alleProjekte figure:before {
    width: 4em;
    height: 2.2em;
}

.alleProjekte a:hover figure:before,
.alleProjekte a:focus-visible figure:before {
    width: 2.2em;
    height: 4em;
}

.alleProjekte a:hover img,
.alleProjekte a:focus-visible img {
    filter: grayscale(100%);
}


.alleProjekte img {
    margin-top: 3%;
    width: 97%;
    /* Bilder auf volle Breite des Containers skalieren */
    height: 97%;
    outline: 1px solid #fff;
    aspect-ratio: 1 / 1;


    width: 97%;
    height: auto;
    aspect-ratio: 1 / 1;
    display: block;
    object-fit: cover;

}


.alleProjekte li:before {
    display: none;
}
/*
@media (max-width: 449px) {
    .alleProjekte {
        display: flex;
        flex-direction: column;
        margin: 0 auto;
        max-width: 300px;
    }
    .alleProjekte li {
        width: 100%;
    }
}
*/
@media (min-width: 360px) and (max-width: 568px) {
    .alleProjekte {
        flex-wrap: wrap;
    }
    .alleProjekte li {
        flex: 1 1 calc(50% - 20px);
         flex-grow: 0;
    }
    
   
}
@media (min-width: 360px) and (max-width: 768px) {
 .alleProjekte li div {
          position: absolute;
    overflow: hidden;
    clip: rect(1px 1px 1px 1px);
    clip: inset(50%);
    width: 1px;
    height: 1px;
    white-space: nowrap;
    }
}

@media (min-width: 769px) {
    .alleProjekte {
        flex-wrap: wrap;
    }
    .alleProjekte li {
        flex: 1 1 calc(33.33% - 20px);
         flex-grow: 0;
    }
}

figure {
    position: relative;
}

.galImg {
    display: inline-block;
    margin-top: 6px;
    width: calc(100% - 6px);
    height: auto;

}

.ratio3_2 {
    aspect-ratio: 3 / 2;
}

.ratio16_9 {
    aspect-ratio: 16 / 9;
}

.ratio1_1 {
    aspect-ratio: 1 / 1;
}

figcaption {
    margin: 1em;
    text-align: center;
    text-transform: uppercase;
    text-wrap: balance;
    font-size: .8rem;
}

ul.paging {
    margin: 2em 0 0 0;
    display: flex;
    justify-content: start;
}

ul.paging:not(:has(.zurueck)) {
   justify-content: end;
}



.paging li {
    position: relative;
    flex: 1 1 33%;
    flex-grow: 0;
}

.paging li:before {
    display: none;
}
.paging a {
    text-decoration: none;
    padding-top: 1em;
    display: inline-block;
    outline: none; /* optional: vermeidet sichtbaren Rahmen bei Mausnutzung */
}

.paging a:before {
    content: " ";
    display: block;
    width: 17px;
    height: 17px;
    background: url(/client/grafik/pfeil.svg) 0 0 no-repeat;
    background-size: contain;
    position: absolute;
    top: 0;
}

/* Rotationen */
.zurueck a:before {
    transform: rotate(-90deg);
}

.vor {
    text-align: right;
}
.vor a:before {
    right: 0;
    transform: rotate(90deg);
}

.top {
    text-align: center;
}
.top a:before {
    left: 50%;
    transform: translateX(-50%);
}

/* Einheitlicher Stil bei Hover und Fokus */
.paging a:hover:before,
.paging a:focus-visible:before {
    border: 1px solid #000;
    border-radius: 50%;
}

