/* =========================================================
   00. SCHRIFTEN
   ========================================================= */

@font-face {
  font-family: "Nunito";
  src: url("fonts/Nunito-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


@font-face {
  font-family: "Nunito";
  src: url("fonts/Nunito-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}


@font-face {
  font-family: "Nunito";
  src: url("fonts/Nunito-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


@font-face {
  font-family: "Nunito";
  src: url("fonts/Nunito-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* =========================================================
   01. GRUNDEINSTELLUNGEN
   ========================================================= */

:root {
  --cream: #f5f2eb;
  --muti-blue: #1e4075;

  --page-width: 1500px;
  --page-padding: clamp(24px, 4vw, 64px);

  --header-height: 110px;
  --content-width: 780px;
}


/* =========================================================
   02. RESET
   ========================================================= */

* {
  box-sizing: border-box;
}


html,
body {
  margin: 0;
  min-height: 100%;
}


html {
  scroll-behavior: smooth;
}


body {
  background: var(--cream);
  color: var(--muti-blue);

  font-family: "Nunito", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
}


body.menu-open {
  overflow: hidden;
}


a {
  color: inherit;
  text-decoration: none;
}


button {
  color: inherit;
  font: inherit;
}


img {
  display: block;
  max-width: 100%;
}


/* =========================================================
   03. ALLGEMEINER SEITENAUFBAU
   ========================================================= */

.page {
  position: relative;

  width: 100%;
  min-height: 100vh;
  min-height: 100svh;

  display: flex;
  flex-direction: column;
}


.page-container {
  width: 100%;
  max-width: var(--page-width);
  margin: 0 auto;
  padding-right: var(--page-padding);
  padding-left: var(--page-padding);
}


/* =========================================================
   04. HEADER
   ========================================================= */

.site-header {
  width: 100%;
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 34px var(--page-padding);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}


.logo {
  width: 170px;
  flex-shrink: 0;
}


.logo img {
  width: 100%;
  height: auto;
}


/* =========================================================
   05. DESKTOP-NAVIGATION
   ========================================================= */

.site-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(20px, 3vw, 46px);

  font-size: 16px;
  font-weight: 700;
}


.site-navigation a {
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
}


.site-navigation a:hover,
.site-navigation a.is-active {
  border-color: currentColor;
}


/* Mobile-Menü auf Desktop ausblenden */

.menu-toggle,
.menu-overlay {
  display: none;
}


/* =========================================================
   06. LANDINGPAGE
   ========================================================= */

.hero {
  width: 100%;
  max-width: var(--page-width);
  margin: 0 auto;
  padding:
    clamp(60px, 9vh, 130px)
    var(--page-padding)
    120px;

  flex: 1;
}


.hero-content {
  width: min(980px, 100%);
}


.hero h1 {
  margin: 0;

  font-size: clamp(38px, 4.5vw, 68px);
  font-weight: 500;
  line-height: 1.14;
}


.hero-bottom {
  width: min(620px, 100%);
  margin-top: clamp(42px, 6vh, 72px);
  padding-top: 26px;

  border-top: 1px solid var(--muti-blue);
}


.work-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  font-size: 16px;
  font-weight: 800;
}


.work-link span {
  transition: transform 160ms ease;
}


.work-link:hover span {
  transform: translateX(5px);
}


/* =========================================================
   07. DIO-LOGO
   ========================================================= */

.dio-logo {
  position: absolute;
  right: var(--page-padding);
  bottom: 28px;

  width: 76px;
  height: 76px;
}


.dio-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


/* =========================================================
   08. ALLGEMEINE UNTERSEITEN
   Webpages, Print Media und Photography
   ========================================================= */

.content-page {
  width: 100%;
  max-width: var(--page-width);
  margin: 0 auto;
  padding:
    clamp(50px, 7vh, 100px)
    var(--page-padding)
    100px;

  flex: 1;
}


.page-heading {
  max-width: 900px;
  margin: 0 0 60px;

  font-size: clamp(46px, 6vw, 88px);
  font-weight: 500;
  line-height: 1;
}
.webpages-intro {
  width: min(980px, 100%);
  margin: 0 0 clamp(56px, 7vw, 90px);

  font-size: clamp(38px, 4.5vw, 68px);
  font-weight: 500;
  line-height: 1.14;
}

.page-intro {
  max-width: 620px;
  margin: -30px 0 60px;

  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.5;
}


/* =========================================================
   09. PROJEKTLISTEN
   Für Webpages und Print Media
   ========================================================= */

.project-list {
  width: 100%;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(56px, 7vw, 90px);
}


.project-row {
  width: min(520px, 100%);

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}


.project-image {
  width: 100%;
}


.project-image img {
  width: 100%;
  height: auto;

  display: block;
}


.project-info {
  width: 100%;
}


.project-info h2 {
  margin: 0 0 10px;

  font-size: clamp(24px, 2.3vw, 34px);
  font-weight: 700;
  line-height: 1.15;
}


.project-info p {
  width: 100%;
  margin: 0;

  font-size: 16px;
  line-height: 1.5;
}


.project-arrow {
  display: none;
}


/* =========================================================
   10. PHOTOGRAPHY / BÜCHER
   ========================================================= */

.book-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 60px);
}


.book-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}


.book-cover {
  width: 100%;
}


.book-cover img {
  width: 100%;
  height: auto;
}


.book-card h2 {
  margin: 0;

  font-size: clamp(22px, 2vw, 32px);
  font-weight: 600;
  line-height: 1.15;
}


.book-card p {
  margin: 0;

  font-size: 15px;
}


/* =========================================================
   11. CONTACT-SEITE
   ========================================================= */

.contact-page {
  min-height: 100vh;
  min-height: 100svh;

  background: var(--muti-blue);
  color: var(--cream);
}


.contact-page .site-navigation,
.contact-page .site-header {
  color: var(--cream);
}


.contact-content {
  width: 100%;
  max-width: var(--page-width);
  margin: 0 auto;
  padding:
    clamp(70px, 9vh, 130px)
    var(--page-padding)
    clamp(90px, 12vh, 150px);

  flex: 1;
}


.contact-heading {
  width: max-content;
  max-width: 100%;
  margin: 0 0 clamp(36px, 4.5vh, 54px);

  font-size: clamp(64px, min(5.6vw, 9vh), 96px);
  font-weight: 500;
  line-height: 0.98;

  white-space: nowrap;
}


.contact-text {
  max-width: 600px;
  margin: 0 0 clamp(34px, 4.5vh, 52px);

  font-size: clamp(18px, 1.45vw, 24px);
  line-height: 1.4;
}


.contact-email {
  display: inline-block;
  padding: 18px 0;

  border-top: 1px solid var(--cream);
  border-bottom: 1px solid var(--cream);

  font-size: clamp(25px, 3vw, 48px);
}


/* Heller Hamburger auf blauem Hintergrund */

.contact-page .menu-toggle span {
  background: var(--cream);
}


/* Links zu Impressum und Datenschutz */

.legal-links {
  margin-top: 8px;

  display: flex;
  align-items: center;
  gap: 16px;

  font-size: 14px;
}
/* =========================================================
   11A. LEGAL PAGES
   Imprint und Privacy
   ========================================================= */

.legal-content {
  max-width: var(--page-width);
  padding-bottom: 130px;
}


.legal-heading {
  margin: 0 0 60px;

  font-size: clamp(52px, 6vw, 88px);
  font-weight: 500;
  line-height: 1;
}


.legal-copy {
  width: min(720px, 100%);

  font-size: 18px;
  line-height: 1.5;
}


.legal-copy section {
  margin-bottom: 34px;
}


.legal-copy h2 {
  margin: 0 0 20px;

  font-size: clamp(22px, 2vw, 30px);
  font-weight: 800;
  line-height: 1.2;
}


.legal-copy p {
  margin: 0;
}


.legal-copy a {
  border-bottom: 1px solid currentColor;
}


.legal-page .legal-links {
  margin-top: 42px;
}

/* =========================================================
   12. FOOTER
   ========================================================= */

.site-footer {
  width: 100%;
  margin-top: auto;

  background: var(--muti-blue);
  color: var(--cream);
}


.footer-inner {
  width: 100%;
  max-width: var(--page-width);
  margin: 0 auto;
  padding:
    52px
    var(--page-padding)
    48px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}


.footer-brand {
  width: 170px;
  transform: translateX(-9px);
}


.footer-brand img {
  width: 100%;
  height: auto;
  display: block;
}


.footer-navigation {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;

  font-size: 20px;
  font-weight: 100;
}


.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;

  font-size: 20px;
}


.footer-navigation a,
.footer-legal a {
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}


.footer-navigation a:hover,
.footer-legal a:hover {
  border-color: currentColor;
}


.footer-share {
  margin-top: 8px;
  padding: 12px 18px;

  border: 1px solid currentColor;
  background: transparent;
  color: var(--cream);

  font-family: inherit;
  font-size: 15px;
  font-weight: 700;

  cursor: pointer;
}


.footer-share:hover {
  background: var(--cream);
  color: var(--muti-blue);
}


.footer-dio {
  width: 72px;
  height: 72px;
  margin-top: 8px;

  align-self: flex-end;
}


.footer-dio img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}


.footer-bottom {
  width: 100%;

  background: rgba(0, 0, 0, 0.18);
}


.footer-bottom-inner {
  width: 100%;
  max-width: var(--page-width);
  min-height: 140px;
  margin: 0 auto;
  padding:
    16px
    var(--page-padding)
    0;

  color: #4e6f99;

  font-size: 13px;
  line-height: 1.4;
}

/* =========================================================
   13. MOBILE UND SCHMALE ANSICHTEN
   ========================================================= */

@media (max-width: 720px) {

  :root {
    --header-height: 88px;
  }


  /* Header */

  .site-header {
    padding-top: 26px;
    padding-bottom: 26px;

    align-items: center;
  }


  .logo {
    width: 170px;
  }


  /* Hamburger */

  .menu-toggle {
    position: fixed;
    z-index: 40;
    top: 23px;
    right: var(--page-padding);

    width: 32px;
    height: 32px;
    padding: 5px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;

    border: 0;
    background: transparent;

    cursor: pointer;
  }


  .menu-toggle span {
    width: 100%;
    height: 2px;

    display: block;

    background: var(--muti-blue);

    transition:
      transform 180ms ease,
      opacity 180ms ease,
      background-color 180ms ease;
  }


  body.menu-open .menu-toggle span {
    background: var(--cream);
  }


  body.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }


  body.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }


  body.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }


  /* Mobile Seitenmenü */

  .site-navigation {
    position: fixed;
    z-index: 30;
    top: 0;
    right: 0;

    width: min(78vw, 360px);
    height: 100vh;
    height: 100dvh;

    padding:
      115px
      32px
      50px
      42px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 22px;

    background: var(--muti-blue);
    color: var(--cream);

    font-size: 28px;
    font-weight: 700;

    transform: translateX(100%);
    transition: transform 220ms ease;
  }


  body.menu-open .site-navigation {
    transform: translateX(0);
  }


  .site-navigation a {
    padding: 0;
    border: 0;
  }


  /* Fläche hinter dem Menü */

  .menu-overlay {
    position: fixed;
    z-index: 20;
    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    border: 0;
    background: rgba(78, 111, 153, 0.24);

    opacity: 0;
    visibility: hidden;

    cursor: pointer;

    transition:
      opacity 220ms ease,
      visibility 220ms ease;
  }


  body.menu-open .menu-overlay {
    opacity: 1;
    visibility: visible;
  }


  /* Landingpage */

  .hero {
    padding-top: clamp(70px, 10vh, 105px);
    padding-bottom: 120px;
  }


  .hero h1 {
    font-size: clamp(28px, 7vw, 36px);
    line-height: 1.18;
  }


  .hero-bottom {
    margin-top: 44px;
  }


  /* Dio-Logo */

  .dio-logo {
    right: var(--page-padding);
    bottom: 24px;

    width: 64px;
    height: 64px;
  }


  /* Unterseiten */

  .content-page {
    padding-top: 60px;
    padding-bottom: 80px;
  }


  .page-heading {
    margin-bottom: 45px;

    font-size: clamp(42px, 11vw, 62px);
  }


  .page-intro {
    margin-top: -20px;
    margin-bottom: 45px;
  }


  /* Projektlisten */

  .project-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }


  .project-arrow {
    display: none;
  }


  /* Bücher */

  .book-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }


  /* Kontakt */

  .contact-content {
    padding-top: 70px;
  }


  /* Legal Pages */

  .legal-content {
    padding-top: 60px;
    padding-bottom: 110px;
  }


  .legal-heading {
    margin-bottom: 44px;

    font-size: clamp(46px, 12vw, 64px);
  }


  .legal-copy {
    font-size: 17px;
  }


  .legal-copy section {
    margin-bottom: 30px;
  }


  .legal-page .legal-links {
    margin-top: 36px;
  }



}