/* ==========================================================
   Schriften (jede Variante nur einmal)
   ========================================================== */

@font-face {
    font-family: 'Playfair Display';
    src: local('Playfair Display Italic'), local('PlayfairDisplay-Italic'),
        url('fonts/PlayfairDisplay-Italic.woff2') format('woff2'),
        url('fonts/PlayfairDisplay-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: local('Playfair Display Regular'), local('PlayfairDisplay-Regular'),
        url('fonts/PlayfairDisplay-Regular.woff2') format('woff2'),
        url('fonts/PlayfairDisplay-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: local('Source Sans Pro Black Italic'), local('SourceSansPro-BlackItalic'),
        url('fonts/SourceSansPro-BlackItalic.woff2') format('woff2'),
        url('fonts/SourceSansPro-BlackItalic.woff') format('woff');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: local('Source Sans Pro Black'), local('SourceSansPro-Black'),
        url('fonts/SourceSansPro-Black.woff2') format('woff2'),
        url('fonts/SourceSansPro-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: local('Source Sans Pro Bold Italic'), local('SourceSansPro-BoldItalic'),
        url('fonts/SourceSansPro-BoldItalic.woff2') format('woff2'),
        url('fonts/SourceSansPro-BoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: local('Source Sans Pro Bold'), local('SourceSansPro-Bold'),
        url('fonts/SourceSansPro-Bold.woff2') format('woff2'),
        url('fonts/SourceSansPro-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: local('Source Sans Pro SemiBold'), local('SourceSansPro-SemiBold'),
        url('fonts/SourceSansPro-SemiBold.woff2') format('woff2'),
        url('fonts/SourceSansPro-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: local('Source Sans Pro ExtraLight'), local('SourceSansPro-ExtraLight'),
        url('fonts/SourceSansPro-ExtraLight.woff2') format('woff2'),
        url('fonts/SourceSansPro-ExtraLight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: local('Source Sans Pro SemiBold Italic'), local('SourceSansPro-SemiBoldItalic'),
        url('fonts/SourceSansPro-SemiBoldItalic.woff2') format('woff2'),
        url('fonts/SourceSansPro-SemiBoldItalic.woff') format('woff');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: local('Source Sans Pro Light Italic'), local('SourceSansPro-LightItalic'),
        url('fonts/SourceSansPro-LightItalic.woff2') format('woff2'),
        url('fonts/SourceSansPro-LightItalic.woff') format('woff');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: local('Source Sans Pro Light'), local('SourceSansPro-Light'),
        url('fonts/SourceSansPro-Light.woff2') format('woff2'),
        url('fonts/SourceSansPro-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: local('Source Sans Pro ExtraLight Italic'), local('SourceSansPro-ExtraLightItalic'),
        url('fonts/SourceSansPro-ExtraLightItalic.woff2') format('woff2'),
        url('fonts/SourceSansPro-ExtraLightItalic.woff') format('woff');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'),
        url('fonts/SourceSansPro-Regular.woff2') format('woff2'),
        url('fonts/SourceSansPro-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: local('Source Sans Pro Italic'), local('SourceSansPro-Italic'),
        url('fonts/SourceSansPro-Italic.woff2') format('woff2'),
        url('fonts/SourceSansPro-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Source Serif Pro';
    src: local('Source Serif Pro Black'), local('SourceSerifPro-Black'),
        url('fonts/SourceSerifPro-Black.woff2') format('woff2'),
        url('fonts/SourceSerifPro-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Serif Pro';
    src: local('Source Serif Pro'), local('SourceSerifPro-Regular'),
        url('fonts/SourceSerifPro-Regular.woff2') format('woff2'),
        url('fonts/SourceSerifPro-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Serif Pro';
    src: local('Source Serif Pro Italic'), local('SourceSerifPro-It'),
        url('fonts/SourceSerifPro-It.woff2') format('woff2'),
        url('fonts/SourceSerifPro-It.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Source Serif Pro';
    src: local('Source Serif Pro ExtraLight'), local('SourceSerifPro-ExtraLight'),
        url('fonts/SourceSerifPro-ExtraLight.woff2') format('woff2'),
        url('fonts/SourceSerifPro-ExtraLight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Serif Pro';
    src: local('Source Serif Pro Black Italic'), local('SourceSerifPro-BlackIt'),
        url('fonts/SourceSerifPro-BlackIt.woff2') format('woff2'),
        url('fonts/SourceSerifPro-BlackIt.woff') format('woff');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Source Serif Pro';
    src: local('Source Serif Pro ExtraLight Italic'), local('SourceSerifPro-ExtraLightIt'),
        url('fonts/SourceSerifPro-ExtraLightIt.woff2') format('woff2'),
        url('fonts/SourceSerifPro-ExtraLightIt.woff') format('woff');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Source Serif Pro';
    src: local('Source Serif Pro Light Italic'), local('SourceSerifPro-LightIt'),
        url('fonts/SourceSerifPro-LightIt.woff2') format('woff2'),
        url('fonts/SourceSerifPro-LightIt.woff') format('woff');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Source Serif Pro';
    src: local('Source Serif Pro Bold Italic'), local('SourceSerifPro-BoldIt'),
        url('fonts/SourceSerifPro-BoldIt.woff2') format('woff2'),
        url('fonts/SourceSerifPro-BoldIt.woff') format('woff');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Source Serif Pro';
    src: local('Source Serif Pro Light'), local('SourceSerifPro-Light'),
        url('fonts/SourceSerifPro-Light.woff2') format('woff2'),
        url('fonts/SourceSerifPro-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Serif Pro';
    src: local('Source Serif Pro Bold'), local('SourceSerifPro-Bold'),
        url('fonts/SourceSerifPro-Bold.woff2') format('woff2'),
        url('fonts/SourceSerifPro-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Serif Pro';
    src: local('Source Serif Pro SemiBold Italic'), local('SourceSerifPro-SemiBoldIt'),
        url('fonts/SourceSerifPro-SemiBoldIt.woff2') format('woff2'),
        url('fonts/SourceSerifPro-SemiBoldIt.woff') format('woff');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Source Serif Pro';
    src: local('Source Serif Pro SemiBold'), local('SourceSerifPro-SemiBold'),
        url('fonts/SourceSerifPro-SemiBold.woff2') format('woff2'),
        url('fonts/SourceSerifPro-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================
   Basis
   ========================================================== */
* { box-sizing: border-box; }

:root { --bar-h: 3.25rem; }

body {
  margin: 0;
  font-family: 'Source Serif Pro', serif;
}
body.menu-open { overflow: hidden; }

/* Hintergrund: funktioniert auch auf iOS (dort wird background-attachment: fixed ignoriert) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url(images/bg/front.jpg) center / cover no-repeat;
}

b  { font-weight: 900; font-family: 'Source Sans Pro', sans-serif; }
h3 { font-family: 'Source Serif Pro', serif; }
li { list-style: none; }
ul { padding-inline-start: 0; }

a {
  color: #000;
  background-color: #ddd;
  transition: background-color 0.5s ease-in-out;
  text-decoration: none;
}
a:hover {
  background-color: transparent;
  transition: background-color 0.5s ease-in-out;
}
.unstyled { background-color: transparent; }

img {
  max-width: 100%;
  height: auto;
  margin-top: 1em;
  margin-bottom: 1em;
}
.imgfull { width: 100%; }
.imghalf { width: calc(50% - 1.2em); margin-right: 1em; }   /* zwei Bilder passen mobil nebeneinander */

.stroke { text-shadow: 2px 2px 5px white; }

/* ==========================================================
   Mobil (Standard)
   ========================================================== */

/* Kopfzeile: nur mit JS, sonst bleibt das Menü ganz normal sichtbar */
.topbar {
  display: none;
  position: sticky; top: 0; z-index: 20;
  height: var(--bar-h);
  align-items: center; justify-content: space-between;
  padding: 0 1em;
  background: rgba(255, 255, 255, .95);
  border-bottom: 1px solid #000;
}
.js .topbar { display: flex; }

.site-title {
  font-family: 'Source Serif Pro', serif;
  font-weight: 600; font-size: 1.15rem;
  background: none;
}

.menu-toggle {
  font: inherit; cursor: pointer;
  min-height: 44px; padding: 0 1em;
  color: #fff; background: #000; border: 0;
}

.js .site-name { display: none; }      /* Name steckt mobil in der Kopfzeile */

.js nav { display: none; }
.js nav.open {
  display: block;
  position: fixed; inset: var(--bar-h) 0 0 0; z-index: 15;
  overflow-y: auto;
  padding: 1em;
  background: rgba(255, 255, 255, .98);
}

nav { padding: 1em; }
nav ul { margin: 0; }

nav summary {
  list-style: none; cursor: pointer;
  padding: .8em 0; font-weight: 600;
}
nav summary::-webkit-details-marker { display: none; }
nav summary::after { content: "+"; float: right; }
nav details[open] > summary::after { content: "\2013"; }

nav li a { display: inline-block; padding: .45em .4em; }   /* größere Touch-Fläche */
nav li a.current { color: #ddd; background: #000; }
nav .info { margin-top: 1em; }

.content {
  padding: 1em;
  background-color: rgba(255, 255, 255, .8);
}

/* Kontaktformular: Felder dürfen mobil nicht überlaufen */
#contact-area input[type="text"],
#contact-area textarea {
  width: 100%; max-width: 30em;
  font: inherit; padding: .4em;
}
#contact-area .submit-button { font: inherit; min-height: 44px; padding: 0 1.5em; }

/* ==========================================================
   Desktop (wie bisher: Menü links, Inhalt daneben)
   ========================================================== */
@media (min-width: 900px) {
  .topbar { display: none !important; }
  body.menu-open { overflow: auto; }

  .main { display: flex; align-items: flex-start; padding: 8px; }

  .js nav, .js nav.open {
    display: block; position: static; overflow: visible;
    background: none; padding: 1em;
  }
  nav { flex: 0 0 20%; }

  .js .site-name { display: block; }
  nav summary { cursor: default; padding: 0; font-weight: normal; }
  nav summary::after { display: none; }
  nav .group { margin-bottom: 1em; }
  nav li a { display: inline; padding: 0; }

  .content { flex: 0 1 60%; margin-left: 100px; }
  .imghalf { width: 45%; }
}
