@charset "UTF-8";
/* =Base *//*************************************************************/
body {
  font-family: 'Inter', 'Quicksand', Arial, sans-serif;
  font-size: 18px;
  color: #222;
  background-color: #fff;
  line-height: 1.7;
}

a {
  color: #1a365d;
  font-weight: 500;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover {
  color: #0a2540;
}

p, ul, ol, dl {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 1.2em;
}

strong {
  font-weight: 600;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 0 auto;
}

/* Zentriere alle Videos */
video {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 10px;
}

/* Zentriere Bilder und Videos in Blog-Einträgen spezifisch */
.post img,
.post video,
.blog img,
.blog video {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 2em auto 4em auto;
  padding: 1em;
  border-radius: 10px;
}

/* Abstand zwischen aufeinanderfolgenden Medien */
.post img + img,
.post video + video,
.post img + video,
.post video + img,
.blog img + img,
.blog video + video,
.blog img + video,
.blog video + img {
  margin-top: 3em;
}

/* GIF-Pair Anordnung */
.gif-pair {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin: 3em auto;
  flex-wrap: wrap;
}

.gif-pair img {
  max-width: 45%;
  height: auto;
  border-radius: 10px;
  margin: 0;
}

.gif-pair video {
  max-width: 45%;
  height: auto;
  border-radius: 10px;
  margin: 0;
}

/* Tutorial: Hero-Bild und Frame-Galerie */
.example-hero {
  display: block;
  width: 100%;
  max-width: 900px;
  margin: 0.5rem auto 1rem auto;
  border: 1px solid #ddd;
  border-radius: 10px;
}

.frame-gallery {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  margin: 0.5rem 0 1rem 0;
}

.frame-gallery img {
  height: 90px;
  width: auto;
  border-radius: 6px;
  border: 1px solid #ddd;
  margin: 0 !important;
  padding: 0 !important;
}

/* Einzelnes Oscar-Hero-Bild */
.oscar-img {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 0.5rem auto 1.25rem auto; /* zentriert */
  border: 1px solid #ddd;
  border-radius: 10px;
}

#about-img {
  border-radius: 13%;
  max-width: 70%;
  margin: auto;
  margin-bottom: 3%;
}

/* About Image Front Container */
.about-img-front {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 20px 0;
}

.about-img-front .video-section {
  flex: 1;
  max-width: 60%;
}

.about-img-front .text-section {
  flex: 1;
  max-width: 40%;
}

.about-img-front video {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Responsive Anpassungen für about-img-front */
@media (max-width: 768px) {
  .about-img-front {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .about-img-front .video-section,
  .about-img-front .text-section {
    max-width: 100% !important;
  }
  
  .about-img-front .video-section {
    order: 1;
  }
  
  .about-img-front .text-section {
    order: 2;
  }
}

@media (max-width: 600px) {
  .about-img-front {
    gap: 8px;
    margin: 12px 0;
  }
  
  .about-img-front .video-section,
  .about-img-front .text-section {
    max-width: 100% !important;
  }
}

@media (max-width: 480px) {
  .about-img-front {
    gap: 6px;
    margin: 8px 0;
  }
  
  .about-img-front .video-section,
  .about-img-front .text-section {
    max-width: 100% !important;
  }
}

.wrapper {
  max-width: 960px;
  margin: 10px auto 20px auto;
  padding: 0 14px;
}

/* =Footer *//*************************************************************/
.footer {
  margin-top: 80px;
  padding: 40px 0;
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-section {
  margin: 0;
}

.footer-text {
  margin: 0;
  color: #666;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-link {
  color: #1a365d;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.2s;
}

.footer-link:hover {
  color: #fff;
  background-color: #1a365d;
  text-decoration: none;
}

/* =Header *//*************************************************************/
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 0 24px 0;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
}

.navigation {
  display: flex;
  align-items: center;
}

.logo {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a365d;
  letter-spacing: 0.5px;
  margin-right: 32px;
  text-decoration: none;
}

.menu {
  display: flex;
  gap: 28px;
  color: #444;
  font-size: 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.menu__entry {
  margin: 0;
}
.menu__entry a {
  color: #444;
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border 0.2s, color 0.2s;
  text-decoration: none;
}
.menu__entry a:hover {
  color: #1a365d;
  border-bottom: 2px solid #1a365d;
  text-decoration: none;
}

/* Hamburger Menu Button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
}

.hamburger span {
  width: 20px;
  height: 2px;
  background-color: #1a365d;
  margin: 2px 0;
  transition: all 0.3s ease;
  border-radius: 1px;
  transform-origin: center;
}

/* Hamburger Animation - symmetrisch */
.hamburger.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.3rem;
  color: #888;
  list-style: none;
  margin: 0;
  padding: 0;
}
.social-links__entry {
  color: #888;
  transition: color 0.2s;
}
.social-links__entry:hover {
  color: #1a365d;
}

/* =Titles *//*************************************************************/
#describe-text {
  text-align: justify;
  text-justify: inter-word;
  margin: 0 auto;
  width: 100%;
  line-height: 1.6;
}

/* Hauptseite Titel und Untertitel */
.page-title {
  margin: 30px auto;
  text-align: center;
}

.page-title__text {
  font-weight: 700;
  font-size: 150%;
}

.page-title__subtitle {
  font-weight: 400;
  font-size: 75%;
  color: #828282;
}

/* =Listen, Absätze, Post-Teaser *//*************************************************************/
.list-posts {
  list-style: none;
  padding: 0;
  margin: 0 0 2em 0;
}
.post-teaser {
  margin-bottom: 1.5em;
  font-weight: 600;
}
.post-teaser__title {
  font-size: 1.1rem;
  color: #1a365d;
}
.post-teaser__date {
  font-size: 1rem;
  color: #888;
  float: right;
}

.empty-post-list {
  font-size: 1.2rem;
  font-weight: 600;
  color: #888;
  text-align: center;
}

/* =Abstände und Layout *//*************************************************************/
.about {
  color: #444;
  text-align: center;
  line-height: 1.6;
}
.about__divider {
  font-size: 1rem;
  letter-spacing: 0.2em;
}
.about__text {
  font-size: 1rem;
}
.center-text {
  text-align: center;
}

/* =Page navigation *//*************************************************************/
.PageNavigation {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin: 2em 0 1em 0;
}
.PageNavigation a {
  color: #1a365d;
  font-weight: 500;
  text-decoration: underline;
  width: auto;
  margin: 0;
}
.PageNavigation .next {
  text-align: right;
}

/* =Buttons *//*************************************************************/
.btn {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  padding: 10px 24px;
  font-size: 1rem;
  border-radius: 4px;
  border: 1px solid #1a365d;
  background: #fff;
  color: #1a365d;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.btn:hover {
  background: #1a365d;
  color: #fff;
}

/* Zentriere Buttons bei der Masterthesis */
.buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =Responsivität *//*************************************************************/
@media (max-width: 1200px) {
  .wrapper {
    max-width: 95%;
    padding: 0 16px;
  }
}
#about-img {
  border-radius: 13%;
  max-width: 100%;
  margin: auto;
  margin-bottom: 3%;
}

@media (max-width: 900px) {
  .wrapper {
    max-width: 100%;
    padding: 0 16px;
  }
  .header {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0 8px 0;
  }
  .navigation {
    margin-bottom: 8px;
  }
  .gif-pair {
    gap: 1rem;
  }
  .gif-pair img,
  .gif-pair video {
    max-width: 48%;
  }

  /* Frame-Galerie feinjustieren */
  .frame-gallery {
    gap: 8px;
  }
  .frame-gallery img {
    height: 80px;
  }

  .oscar-img {
    max-width: 760px;
  }
}

@media (max-width: 768px) {
  .wrapper {
    padding: 0 8px;
    margin: 8px auto 16px auto;
  }
  
  /* Hamburger Menu aktivieren */
  .hamburger {
    display: flex;
    position: absolute;
    top: 25px;
    right: 20px;
    z-index: 1000;
  }
  
  .header {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 0 6px 0;
    position: relative;
    overflow: visible;
  }
  
  .logo {
    font-size: 1.6rem;
    margin-bottom: 6px;
    margin-right: 0;
    text-align: center;
  }
  
  .menu {
    display: none;
    flex-direction: column;
    gap: 0;
    font-size: 1rem;
    width: 100vw;
    background: #fff;
    padding: 0;
    border-top: 1px solid #e5e7eb;
    margin-top: 10px;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 999;
    border-radius: 0 0 8px 8px;
  }
  
  .menu.active {
    display: flex;
  }
  
  .menu__entry {
    padding: 0;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .menu__entry:last-child {
    border-bottom: none;
  }
  
  .menu__entry a {
    display: block;
    padding: 16px 24px;
    color: #444;
    font-weight: 500;
    transition: background-color 0.2s, color 0.2s;
    border-bottom: none;
  }
  
  .menu__entry a:hover {
    background-color: #f8f9fa;
    color: #1a365d;
    border-bottom: none;
  }
  
  .social-links {
    justify-content: center;
    font-size: 1rem;
    margin-top: 8px;
  }
  
  .page-title__text {
    font-size: 2rem;
  }
  
  .page-title__subtitle {
    font-size: 1.5rem;
  }
  
  #describe-text {
    font-size: 1rem;
    margin: 0 auto 2.5em auto;
    text-align: left;
    padding: 0 10px;
  }
  
  .gif-pair {
    flex-direction: column;
    gap: 0.8rem;
  }
  .gif-pair img,
  .gif-pair video {
    max-width: 100%;
  }

  .frame-gallery {
    gap: 6px;
  }
  .frame-gallery img {
    height: 72px;
  }

  .oscar-img {
    max-width: 640px;
  }
  .project-entry,
  .project-entry.reverse {
    flex-direction: column;
  }
  .project-thumb {
    width: 100%;
    height: auto;
  }
  .post img,
  .post video,
  .blog img,
  .blog video {
    margin: 1em auto 2em auto;
    padding: 0.5em;
  }
}

@media (max-width: 600px) {
  .wrapper {
    padding: 0 6px;
    margin: 4px auto 12px auto;
  }
  .header {
    padding: 8px 0 4px 0;
  }
  .logo {
    font-size: 1.4rem;
    margin-bottom: 4px;
  }
  .menu {
    display: none;
    flex-direction: column;
    gap: 0;
    font-size: 0.9rem;
    width: 100vw;
    background: #fff;
    padding: 0;
    border-top: 1px solid #e5e7eb;
    margin-top: 8px;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 999;
    border-radius: 0 0 8px 8px;
  }
  
  .menu.active {
    display: flex;
  }
  
  .menu__entry {
    padding: 0;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .menu__entry:last-child {
    border-bottom: none;
  }
  
  .menu__entry a {
    display: block;
    padding: 14px 20px;
    color: #444;
    font-weight: 500;
    transition: background-color 0.2s, color 0.2s;
    border-bottom: none;
  }
  
  .menu__entry a:hover {
    background-color: #f8f9fa;
    color: #1a365d;
    border-bottom: none;
  }
  
  .social-links {
    font-size: 0.9rem;
    margin-top: 6px;
  }
  .page-title__text {
    font-size: 2rem;
  }
  .page-title__subtitle {
    font-size: 1.5rem;
  }
  .post-teaser__title {
    font-size: 1rem;
    display: block;
    text-align: center;
    width: 100%;
  }
  .post-teaser__date {
    font-size: 0.8rem;
    margin-top: 4px;
    float: none;
    display: block;
    text-align: center;
    width: 100%;
  }
  .btn {
    font-size: 0.85rem;
    padding: 6px 12px;
  }
  .buttons {
    justify-content: center;
  }
  .gif-pair {
    margin: 1.5em auto;
  }
  .post img,
  .post video,
  .blog img,
  .blog video {
    margin: 0.8em auto 1.5em auto;
    padding: 0.3em;
  }
  .frame-gallery img {
    height: 64px;
  }

  .oscar-img {
    max-width: 100%;
  }
  .about-img-front {
    gap: 8px;
    margin: 12px 0;
  }
  
  .about-img-front .video-section,
  .about-img-front .text-section {
    max-width: 100% !important;
  }
}

@media (max-width: 480px) {
  .wrapper {
    padding: 0 4px;
    margin: 2px auto 8px auto;
  }
  .header {
    padding: 6px 0 3px 0;
  }
  .logo {
    font-size: 1.2rem;
  }
  .menu {
    font-size: 0.8rem;
    gap: 8px;
    justify-content: center;
  }
  .social-links {
    font-size: 0.85rem;
  }
  .page-title__text {
    font-size: 1rem;
  }
  .gif-pair {
    margin: 1em auto;
  }
  .post img,
  .post video,
  .blog img,
  .blog video {
    margin: 0.6em auto 1.2em auto;
    padding: 0.2em;
  }
  .frame-gallery img {
    height: 58px;
  }

  .oscar-img {
    max-width: 100%;
  }
  .about-img-front {
    gap: 6px;
    margin: 8px 0;
  }
  .project-thumb {
    border-radius: 8px;
  }
}

/* =Sonstiges *//*************************************************************/
/* Codeblock-Schriftgröße leicht reduzieren */
.post pre,
.blog pre,
.highlight pre,
.highlighter-rouge pre,
pre,
pre code {
  font-size: 0.9em;
}

blockquote {
  letter-spacing: 1px;
  margin: 32px 0;
  padding: 0 16px;
  text-align: center;
  color: #888;
  border-left: 3px solid #e5e7eb;
  font-style: italic;
}
blockquote footer {
  font-size: 0.9em;
  color: #aaa;
  margin-top: 8px;
}

/* =Projektseiten *//*************************************************************/
.project-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.project-entry {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 2rem;
  min-height: 220px;
}

.project-entry.reverse {
  flex-direction: row-reverse;
}

.project-thumb {
  width: 300px;
  height: 200px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

.project-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-info h3 {
  margin-top: 0;
  font-size: 1.5rem;
  color: #1a365d;
}

.project-info p {
  margin: 0.5rem 0 1rem 0;
  color: #444;
  line-height: 1.5;
}

.read-more {
  font-weight: 600;
  color: #1a365d;
  text-decoration: underline;
}

.read-more:hover {
  color: #0a2540;
}

/* Metashape split layout */
.metashape-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: start;
  margin: 1rem 0 1.5rem 0;
}

.metashape-media img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.metashape-caption {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.4rem;
}

.metashape-text {
  line-height: 1.6;
}

@media (max-width: 800px) {
  .metashape-split {
    grid-template-columns: 1fr;
  }
}
