/* Webfonts */
/* cyrillic-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'), url(../fonts/KFOMCnqEu92Fr1ME7kSn66aGLdTylUAMQXC89YmC2DPNWubEbVmZiAr0klQmz24O0g.woff2) format('woff2');
  unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F;
}
/* cyrillic */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'), url(../fonts/KFOMCnqEu92Fr1ME7kSn66aGLdTylUAMQXC89YmC2DPNWubEbVmQiAr0klQmz24O0g.woff2) format('woff2');
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'), url(../fonts/KFOMCnqEu92Fr1ME7kSn66aGLdTylUAMQXC89YmC2DPNWubEbVmYiAr0klQmz24O0g.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'), url(../fonts/KFOMCnqEu92Fr1ME7kSn66aGLdTylUAMQXC89YmC2DPNWubEbVmXiAr0klQmz24O0g.woff2) format('woff2');
  unicode-range: U+0370-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'), url(../fonts/KFOMCnqEu92Fr1ME7kSn66aGLdTylUAMQXC89YmC2DPNWubEbVmbiAr0klQmz24O0g.woff2) format('woff2');
  unicode-range: U+0102-0103, U+1EA0-1EF1, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'), url(../fonts/KFOMCnqEu92Fr1ME7kSn66aGLdTylUAMQXC89YmC2DPNWubEbVmaiAr0klQmz24O0g.woff2) format('woff2');
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'), url(../fonts/KFOMCnqEu92Fr1ME7kSn66aGLdTylUAMQXC89YmC2DPNWubEbVmUiAr0klQmz24.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}



/* latin */
@font-face {
  font-family: 'Bentham';
  font-style: normal;
  font-weight: 400;
  src: local('Bentham'), local('Bentham-Regular'), url(../fonts/3WlUnQuHmHveQ_RD6TIeeALUuEpTyoUstqEm5AMlJo4.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}

/* Farben (vorher Bootstrap-3-Variablen) */
:root {
  --link: #337ab7;
  --link-hover: #23527c;
  --gray-dark: #333;
  --gray-light: #777;
}

/* Basis (ersetzt die genutzten Teile von Bootstrap) */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  line-height: 1.5;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: #1a1a1a;
  font-family: "Roboto", sans-serif;
  background-color: #000000;
  font-size: 16px;
}

img {
  max-width: 100%;
  vertical-align: middle;
  border: 0;
}

details,
summary {
  display: block;
}

h1, h2, h3 {
  margin-top: 20px;
  margin-bottom: 10px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--gray-dark);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-family: "Bentham", serif;
}

h1 { font-size: 36px; }
h2 { font-size: 30px; }
h3 { font-size: 20px; }

p {
  margin: 0 0 10px 20px;
}

ul {
  margin: 0 0 10px 20px;
  padding-left: 0;
}

ul li {
  list-style-type: none;
}

ul li span {
  margin-right: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Links */
a {
  color: var(--link);
  text-decoration: none;
  background-color: transparent;
  transition: color 0.2s;
}

a:hover,
a:focus {
  color: var(--link-hover);
  text-decoration: underline;
}

a:focus {
  outline: none;
}

a:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
}

/* Call to Action */
.cta {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 20px;
  border: 2px solid var(--gray-dark);
  color: var(--gray-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background-color 0.2s, color 0.2s;
}

.cta:hover,
.cta:focus {
  background-color: var(--gray-dark);
  color: #fff;
  text-decoration: none;
}

/* Layout (ersetzt das Bootstrap-Grid) */
.layout {
  display: flex;
  flex-wrap: wrap;
}

.col {
  width: 100%;
}

.inner {
  padding: 0 15px;
}

/* Sections */
.section {
  margin-bottom: 15%;
}

.section .intro {
  display: inherit;
}

.section.is-visible {
  animation: fade-in 400ms ease;
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Navigation & Footer */
.navigation,
.footer {
  background-color: black;
}

.navigation a,
.footer a {
  color: rgba(255, 255, 255, .7);
}

.navigation a:hover,
.navigation a:focus,
.navigation a.active,
.footer a:hover,
.footer a:focus,
.footer a.active {
  color: #fff;
}

.navigation a.active,
.footer a.active {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.navigation a:focus-visible,
.footer a:focus-visible {
  outline-color: #fff;
}

.navigation {
  background-image: url("../media/Stephan-Batteiger.jpg");
  background-position: 20px bottom;
  background-repeat: no-repeat;
  background-size: auto 125%;
  min-height: 34vh;
}

.navigation > .inner {
  padding-top: calc((100% - 30px) * .08);
  text-align: right;
}

.navigation .menue {
  padding-right: 20px;
}

/* Inhalt */
.content {
  background-color: #fff;
}

.content .links li {
  margin-bottom: 14px;
}

.content .links li a {
  display: block;
}

.content .links li span {
  display: block;
  margin-right: 0;
  font-size: 12px;
  color: var(--gray-light);
}

/* Bildergalerie */
.images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 20px 0 20px 20px;
}

.images img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.3s;
}

.images img:hover {
  filter: none;
}

/* Bildausschnitt per CSS: --zoom vergrößert, --origin legt den Fokuspunkt fest */
.images .crop {
  display: block;
  overflow: hidden;
}

.images .crop img {
  display: block;
  transform: scale(var(--zoom, 1));
  transform-origin: var(--origin, 50% 50%);
}

/* Social Icons */
.social li {
  display: inline-block;
  margin-right: 15px;
}

.social a {
  display: inline-block;
  width: 24px;
  height: 24px;
  background: no-repeat center / contain;
  opacity: .8;
  transition: opacity 0.2s;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
}

.social a:hover,
.social a:focus {
  opacity: 1;
}

.social .linkedin { background-image: url("../media/icons/linkedin.svg"); }
.social .instagram { background-image: url("../media/icons/instagram.svg"); }
.social .tiktok { background-image: url("../media/icons/tiktok.svg"); }
.social .facebook { background-image: url("../media/icons/facebook.svg"); }
.social .bluesky { background-image: url("../media/icons/bluesky.svg"); }

/* Talks */
.talks {
  padding-left: 1.2em;
}

.talks li {
  list-style-type: disc;
}

/* „Weitere Artikel“ aufklappen */
.more-links {
  margin-left: 20px;
}

.more-links summary {
  cursor: pointer;
  color: var(--link);
  margin-bottom: 14px;
  list-style: none;
}

.more-links summary:hover {
  text-decoration: underline;
}

.more-links summary::-webkit-details-marker {
  display: none;
}

.more-links summary::before {
  content: "\25B8\00a0";
}

.more-links[open] summary {
  display: none;
}

.more-links .links {
  margin-left: 0;
}

@media (min-width: 768px) {
  .images {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 992px) {
  body {
    background-color: #fff;
  }

  .col {
    width: 50%;
  }

  .inner {
    width: 66.66666667%;
    margin-left: 16.66666667%;
  }

  .navigation {
    position: sticky;
    top: 0;
    height: 100vh;
  }

  .content {
    min-height: 100vh;
  }

  .content > .inner {
    padding-top: calc((100% - 30px) * .08);
  }

  .footer {
    display: none;
  }
}
