@font-face {
  font-family: "Rubik";
  src: url("/assets/fonts/Rubik-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Rubik";
  src: url("/assets/fonts/Rubik-Italic.ttf") format("truetype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Rubik";
  src: url("/assets/fonts/Rubik-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Rubik";
  src: url("/assets/fonts/Rubik-SemiBoldItalic.ttf") format("truetype");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Libre Baskerville";
  src: url("/assets/fonts/LibreBaskerville-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Baskerville";
  src: url("/assets/fonts/LibreBaskerville-SemiBoldItalic.ttf") format("truetype");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
/* Base variables */
/* 62.5% is used for easier calculations, because the base is now set to 10px, so 1.4rem = 14px for example. */
/* For screens with widths >= 1600px */
/* For screens with widths >= 1920px */
/* COLORS */
/* secondary colors */
/* primary colors */
/* Gray colors */
/* Navbar */
/* Sidebar */
/* Box shadows */
:root {
  /* Brand colors */
  --color-bg: #f1f1f1;
  --color-surface: #ffffff;
  --color-primary: #008083;
  --color-primary-soft: rgb(204, 229.6, 230.2);
  --color-secondary: #f78104;
  --color-secondary-soft: rgb(253.4, 229.8, 204.8);
  --color-text: #464646;
  --color-text-soft: rgba(70, 70, 70, 0.8);
  --radius-lg: 1rem;
  --radius-md: 0.75rem;
  --shadow-soft: 0 14px 40px rgba(0, 0, 0, 0.05);
  --header-height: 7rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Rubik", "Roboto", Helvetica, Arial, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.4;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}
a:hover {
  color: var(--color-primary);
}

mark {
  background-color: var(--color-secondary-soft);
  padding: 0 0.2rem;
  border-radius: 0.2rem;
  color: var(--color-text);
  font-weight: 500;
}

.container {
  width: 1080px;
  max-width: 100%;
  margin: 0 auto;
  padding: 1.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.site-header .site-nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 0;
  font-size: 0.95rem;
}
.site-header .site-nav a {
  text-decoration: none;
  color: var(--color-text-soft);
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
}
.site-header .site-nav a:hover, .site-header .site-nav a.is-active {
  color: var(--color-primary);
  background: white;
}
.site-header .lang-switch {
  position: relative;
}
.site-header .lang-switch::before {
  content: "";
  position: absolute;
  top: -200px;
  left: -30px;
  width: 500px;
  height: 400px;
  background: url(/assets/img/hero/blub.svg) no-repeat center center;
  background-size: contain;
  z-index: -1;
  transition: opacity 0.5s ease;
}
.site-header .lang-switch a,
.site-header .lang-switch span {
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
}
.site-header .lang-switch span {
  color: var(--color-primary-soft);
}
.site-header .lang-switch a {
  color: var(--color-primary);
  background-color: white;
}
.site-header.scrolled {
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}
.site-header.scrolled .site-nav ul a:hover,
.site-header.scrolled .site-nav ul a.is-active {
  color: var(--color-text);
  background: var(--color-secondary-soft);
}
.site-header.scrolled .lang-switch::before {
  opacity: 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Toggle-Button (Burger) */
.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--color-surface);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  color: var(--color-primary);
  font-size: large;
}

.scrolled .nav-toggle {
  border: none;
  background-color: var(--color-primary-soft);
}

/* Rechts-Bereich (Nav + Language) */
.header-right {
  display: flex;
  align-items: center;
  gap: 3rem;
}

@media (max-width: 990px) {
  .nav-toggle {
    display: inline-flex;
  }
  .header-right {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 0.75rem 1.5rem 1rem;
    background: var(--color-surface);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
  }
  .site-header.nav-open .header-right {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .site-nav ul {
    flex-direction: column;
    gap: 0.4rem;
  }
  .site-nav a {
    padding: 0.35rem 0.2rem;
    display: block;
  }
  .lang-switch {
    margin-top: 0.25rem;
  }
  /* Burger zu "X" animieren */
  .site-header.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .site-header.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  .site-header.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
  .lang-switch::before {
    display: none;
  }
}
.hero,
.section {
  scroll-margin-top: calc(var(--header-height) + 0.5rem);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}
.logo img {
  height: 3rem;
  width: auto;
}

.site-main {
  padding-block: 0 3.5rem 2.5rem;
}

/* Hero section */
.hero {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem 2rem;
  background: linear-gradient(135deg, #fff, var(--color-secondary-soft));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.hero h1 {
  font-family: "Libre Baskerville", Georgia, "Times New Roman", Times, serif;
  font-size: clamp(2.2rem, 3vw, 2.8rem);
  margin-top: 0;
}
.hero p {
  margin-bottom: 1.5rem;
  color: var(--color-text-soft);
}
.hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: none;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary {
  background: var(--color-secondary);
  color: #fff;
}
.btn-primary:hover {
  background: #e95709;
  color: #fff;
}
.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-primary-soft);
}

/* Sections & cards */
.section {
  margin-top: 3rem;
}
.section h2 {
  font-family: "Libre Baskerville", Georgia, "Times New Roman", Times, serif;
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.section-lead {
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: var(--color-text-soft);
}

.card-grid {
  display: grid;
  gap: 1.2rem;
}

@media (min-width: 720px) {
  .card-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .card-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.3rem;
  box-shadow: var(--shadow-soft);
}
.card-title {
  font-weight: 600;
  margin-bottom: 0.3rem;
  font-family: "Libre Baskerville", Georgia, "Times New Roman", Times, serif;
  font-size: 1.15rem;
}
.card-title i {
  font-size: 2rem;
  color: var(--color-secondary);
  display: block;
  margin-bottom: 0.5rem;
}
.card-text {
  font-size: 0.92rem;
  color: var(--color-text-soft);
}
.card .card-list {
  padding-left: 0;
  font-size: 0.9rem;
  color: var(--color-text-soft);
}
.card .card-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.card .card-list li i {
  color: var(--color-primary);
  font-size: 1.2rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid #e2ddd6;
  background: #f1ece6;
}
.site-footer .footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}
.site-footer .footer-links a {
  color: var(--color-text-soft);
  text-decoration: none;
  padding: 0 0.5rem;
}
.site-footer .footer-links a:hover {
  text-decoration: underline;
}

/* Service cards (lists & links) */
.card-list {
  margin: 0.6rem 0 0.4rem;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--color-text-soft);
}
.card-list li + li {
  margin-top: 0.15rem;
}

.card-link a {
  font-size: 0.9rem;
  text-decoration: none;
}
.card-link a:hover {
  text-decoration: underline;
}

.client-logos {
  display: grid;
  gap: 1.2rem;
  margin-top: 1.5rem;
  text-align: center;
}
@media (min-width: 720px) {
  .client-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.client-logo-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 1rem 1rem 0.9rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.client-logo-card a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.client-logo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
}

.client-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
}
.client-logo-wrap img {
  max-width: 100%;
  max-height: 3rem;
  object-fit: contain;
}

.client-meta {
  font-size: 0.9rem;
}
.client-meta .client-name {
  font-weight: 600;
  margin-bottom: 0.2rem;
  font-family: "Libre Baskerville", Georgia, "Times New Roman", Times, serif;
}
.client-meta .client-type {
  color: var(--color-text-soft);
}

.client-stories-intro {
  margin-top: 3rem;
}
.client-stories-intro .client-stories-title {
  font-family: "Libre Baskerville", Georgia, "Times New Roman", Times, serif;
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}
.client-stories-intro .client-stories-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-soft);
}

.team-grid {
  display: grid;
  gap: 1.8rem;
  margin-top: 2rem;
}
@media (min-width: 720px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.team-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.team-card:hover {
  transform: translateY(-3px);
  transition: 0.15s ease-out;
}

.team-avatar {
  width: 7rem;
  height: 7rem;
  border-radius: 999px;
  overflow: hidden;
  background: var(--color-primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-avatar .team-avatar-initial {
  font-family: "Libre Baskerville", Georgia, "Times New Roman", Times, serif;
  font-size: 2.8rem;
  color: var(--color-primary);
}

.team-name {
  margin: 0;
  font-weight: 600;
  font-size: 1.15rem;
  font-family: "Libre Baskerville", Georgia, "Times New Roman", Times, serif;
}

.team-role {
  margin: 0.2rem 0 0.6rem;
  font-size: 0.95rem;
  color: var(--color-text-soft);
}

.team-about {
  font-size: 0.8rem;
  line-height: 1.2;
  color: var(--color-text-soft);
  max-width: 32rem;
}

.team-links {
  margin-top: 0.8rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.85rem;
}
.team-links a {
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-primary-soft);
  border-radius: 999px;
  color: var(--color-text-soft);
}
.team-links a:hover {
  background: var(--color-primary-soft);
  color: var(--color-text);
}

.why-grid {
  display: grid;
  gap: 1.4rem;
  margin-top: 1.5rem;
}
@media (min-width: 720px) {
  .why-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.why-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.3rem;
  box-shadow: var(--shadow-soft);
  transition: 0.15s ease;
}
.why-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
}
.why-card h3 {
  margin-top: 0;
  font-family: "Libre Baskerville", Georgia, "Times New Roman", Times, serif;
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}
.why-card h3 i {
  font-size: 2rem;
  color: var(--color-secondary);
  display: block;
  margin-bottom: 0.5rem;
}
.why-card p {
  margin: 0;
  color: var(--color-text-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}

.why-links {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.why-link {
  font-size: 0.9rem;
  text-decoration: none;
  background: var(--color-primary-soft);
  color: var(--color-text);
  padding: 0.5rem 1rem;
  border-radius: 999px;
}
.why-link:hover {
  background: var(--color-primary);
  color: #fff;
}

.hero-full {
  width: 100%;
  margin-top: -8rem;
  padding: 14rem 0 6rem;
  background: linear-gradient(135deg, #ffffff, var(--color-primary-soft));
  position: relative;
  overflow: hidden;
}
@media (min-width: 960px) {
  .hero-full {
    padding: 16rem 0 8rem;
  }
}

.hero-full-inner {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-full-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.hero-full-text h1 {
  font-family: "Libre Baskerville", Georgia, "Times New Roman", Times, serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin: 0 0 1rem;
  position: relative;
  z-index: 3;
}

.hero-full-text p {
  margin: 0 0 1.5rem;
  color: var(--color-text-soft);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 40rem;
}

.hero-full-illustration img {
  width: 100%;
  max-width: 600px;
  display: block;
  margin: 0 auto;
  z-index: -2;
}
@media (min-width: 960px) {
  .hero-full-illustration img {
    transform: translateX(1rem);
  }
}

.break-sm {
  display: none;
}
@media (max-width: 600px) {
  .break-sm {
    display: inline;
  }
}

.philo-block {
  margin-top: 2.5rem;
  padding: 1.5rem 1.5rem 2rem;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.philo-title {
  font-family: "Libre Baskerville", Georgia, "Times New Roman", Times, serif;
  font-size: 1.4rem;
  margin-top: 0;
}
.philo-title i {
  font-size: 2.2rem;
  color: var(--color-secondary);
  display: block;
  margin-bottom: 0.5rem;
}

.philo-text {
  margin-top: 0.8rem;
  margin-bottom: 0;
  color: var(--color-text-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

.media-grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .media-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 960px) {
  .media-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.media-tile {
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.media-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
}

.media-thumb {
  aspect-ratio: 4/3;
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media-thumb i {
  font-size: 3rem;
  color: var(--color-primary-soft);
  display: block;
}

/* Lightbox */
.media-lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-lightbox[hidden] {
  display: none;
}

.media-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.media-lightbox-inner {
  position: relative;
  z-index: 1;
  max-width: min(90vw, 960px);
  max-height: 90vh;
  margin: 0 1rem;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 0.75rem 0.75rem 0.9rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.media-lightbox img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 0.5rem;
}

.media-lightbox-close {
  position: absolute;
  top: 0.4rem;
  right: 0.6rem;
  border: none;
  background: transparent;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-text-soft);
}

.media-lightbox-caption {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--color-text-soft);
}

body.no-scroll {
  overflow: hidden;
}