/* ============================================================
   FONTS – Google Fonts
   ============================================================ */
/* elms-sans-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Elms Sans';
  font-style: normal;
  font-weight: 300;
  src: url('../../fonts/elms-sans-v7-latin-300.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../../fonts/elms-sans-v7-latin-300.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* elms-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Elms Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/elms-sans-v7-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/elms-sans-v7-latin-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* elms-sans-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Elms Sans';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/elms-sans-v7-latin-500.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/elms-sans-v7-latin-500.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* elms-sans-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Elms Sans';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/elms-sans-v7-latin-600.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/elms-sans-v7-latin-600.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* elms-sans-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Elms Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/elms-sans-v7-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/elms-sans-v7-latin-700.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* just-me-again-down-here-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Just Me Again Down Here';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/just-me-again-down-here-v25-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/just-me-again-down-here-v25-latin-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}



/* Font-Variablen */
:root {
  --font-main:      'Elms Sans', sans-serif;
  --font-handwrite: 'Just Me Again Down Here', cursive;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-bg:          #f9f7f5;
  --color-white:       #ffffff;
  --color-navy:        #0f2d58;
  --color-navy-dark:   #0a2248;
  --color-navy-mid:    #1a3d6e;
  --color-navy-muted:  #eef1f6;
  --color-fuchsia:     #c4005e;
  --color-text:        #111111;
  --color-muted:       #444444;
  --color-border:      #ddd9d3;

  --font: var(--font-main);

  --fs-body: 1em;
  --fs-h2:   1.625em;
  --fs-h1:   3em;

  --radius:    6px;
  --radius-lg: 8px;

  --max-width: 1440px;
  --section-pad: 48px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: var(--fs-body);
  color: var(--color-text);
  background: #e0ddd9;
  letter-spacing: 0.03em;
  min-height: 100vh;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3 {
  font-family: var(--font);
  letter-spacing: -0.02em;
}

h1 {
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: 1.16;
  color: var(--color-navy);
}

h2 {
  font-size: 1.875em;
  font-weight: 500;
  color: var(--color-navy);
  margin-bottom: 36px;
}

h3 {
  font-size: var(--fs-body);
  font-weight: 700;
}

p {
  font-size: var(--fs-body);
  line-height: 1.85;
}

/* ============================================================
   SITE WRAPPER
   ============================================================ */
.site-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  background: var(--color-bg);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
	overflow-x: hidden;

}

/* ============================================================
   SECTION INNER
   ============================================================ */
.section__inner {
  padding-left: var(--section-pad);
  padding-right: var(--section-pad);
}

.hero__inner {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 5px;
  align-items: center;
  width: 100%;
}

.about__inner {
  display: grid;
  grid-template-columns: minmax(460px, 500px) 1fr;
  gap: 13px;
  align-items: start;
  width: 100%;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-weight: 500;
  padding: 11px 28px;
  border-radius: 40px;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
  border: 1.5px solid transparent;
}

.btn--fuchsia {
  background: var(--color-bg);
  color: var(--color-fuchsia);
  border-color: var(--color-fuchsia);
  margin: 5px;
}
.btn--fuchsia:hover {
  background: var(--color-fuchsia);
  color: var(--color-bg);
}

.btn--fuchsia-white {
  background: var(--color-white);
  color: var(--color-fuchsia);
  border-color: var(--color-fuchsia);
}
.btn--fuchsia-white:hover {
  background: var(--color-fuchsia);
  color: var(--color-white);
}

.btn--white {
  background: var(--color-navy);
  color: var(--color-bg);
  border-color: var(--color-bg);
}
.btn--white:hover {
  background: var(--color-bg);
  color: var(--color-navy);
}

/* ============================================================
   NAV
   ============================================================ */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--color-white);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px var(--section-pad);
  background: var(--color-navy);
  border-bottom: 1px solid var(--color-navy-dark);
  position: static;
  z-index: auto;
}

.nav__logo {
  font-weight: 700;
  color: var(--color-bg);
}

.nav__links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav__links a {
  color: var(--color-navy-muted);
  letter-spacing: 0.04em;
  transition: color 0.2s, border-color 0.2s;
  border-bottom: 1.5px solid transparent;
  padding-bottom: 2px;
  font-size: 0.9rem;
}

.nav__links a:hover,
.nav__links a.is-active {
  color: var(--color-bg);
  border-bottom-color: var(--color-bg);
}

.nav__links-divider {
  width: 1px;
  height: 16px;
  background: rgba(249, 247, 245, 0.25);
  align-self: center;
  list-style: none;
  margin-left: -16px;
  margin-right: -16px;
}

.nav__linkedin {
  display: flex;
  align-items: center;
  padding-bottom: 0 !important;
  border-bottom: none !important;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.nav__linkedin:hover {
  opacity: 1;
  border-bottom: none !important;
}

.nav__linkedin img {
  filter: brightness(0) invert(1);
  display: block;
}

/* Burger – standardmäßig versteckt */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  width: 36px;
  height: 36px;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-bg);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.nav__burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__burger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav__burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 64px 0 64px;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.hero__text h1 {
  margin-bottom: 35px;
}

.hero__text h1 em {
  font-style: normal;
  color: var(--color-navy);
  text-decoration: underline;
  text-decoration-color: var(--color-fuchsia);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.hero__text p {
  color: var(--color-text);
  margin-bottom: 32px;
  max-width: 379px;
}

/* Desktop Polaroid-Bereich */
.hero__polaroids {
  position: relative;
  height: 420px;
  width: 669px;
  max-width: 100%;
  margin: 0 auto;
}

.polaroid {
  position: absolute;
  background: var(--color-white);
  padding: 12px 12px 0 12px;
  box-shadow: 0 4px 18px rgba(15, 45, 88, 0.14), 0 1px 4px rgba(15, 45, 88, 0.08);
  width: 252px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.polaroid:hover {
  box-shadow: 0 10px 36px rgba(15, 45, 88, 0.2);
  z-index: 10;
}

.polaroid__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #dce3ee;
  display: block;
  overflow: hidden;
}

.polaroid__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.polaroid__label {
  height: 50px;
  line-height: 50px;
  text-align: center;
  font-family: var(--font-handwrite);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-navy);
  display: block;
  text-transform: uppercase;
}

/* Positionen, Rotationen & Animationen */
.polaroid--print {
  top: 0px;
  left: 50%;
  z-index: 3;
  animation:
    flyInTop   0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.1s  both,
    floatPrint 5.2s  ease-in-out                    0.85s infinite;
}

.polaroid--web {
  bottom: 0px;
  left: 8px;
  z-index: 2;
  animation:
    flyInLeft 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both,
    floatWeb  4.8s  ease-in-out                    1.1s  infinite;
}

.polaroid--portrait {
  bottom: 20px;
  right: 0px;
  z-index: 1;
  animation:
    flyInRight    0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.6s  both,
    floatPortrait 5.6s  ease-in-out                    1.35s infinite;
}

@keyframes flyInTop {
  from { opacity: 0; transform: translateX(-50%) translateY(-140px) rotate(-6deg); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0)      rotate(-6deg); }
}
@keyframes flyInLeft {
  from { opacity: 0; transform: translateX(-180px) rotate(5deg); }
  to   { opacity: 1; transform: translateX(0)      rotate(5deg); }
}
@keyframes flyInRight {
  from { opacity: 0; transform: translateX(180px)  rotate(-3deg); }
  to   { opacity: 1; transform: translateX(0)       rotate(-3deg); }
}

@keyframes floatPrint {
  0%   { transform: translateX(-50%) translateY(0px)   rotate(-6deg);   }
  50%  { transform: translateX(-50%) translateY(-10px) rotate(-6.5deg); }
  100% { transform: translateX(-50%) translateY(0px)   rotate(-6deg);   }
}
@keyframes floatWeb {
  0%   { transform: translateY(0px)   rotate(5deg);   }
  50%  { transform: translateY(-8px)  rotate(4.5deg); }
  100% { transform: translateY(0px)   rotate(5deg);   }
}
@keyframes floatPortrait {
  0%   { transform: translateY(0px)   rotate(-3deg);   }
  50%  { transform: translateY(-12px) rotate(-3.5deg); }
  100% { transform: translateY(0px)   rotate(-3deg);   }
}

/* Mobile Polaroids – standardmäßig versteckt */
.hero__polaroids-mobile {
  display: none;
}

/* Drittes Polaroid (Portrait) – nur im Tablet-Bereich 601-900px sichtbar */
.polaroid-mobile--portrait {
  display: none;
}

/* ============================================================
   PROMO BANNER
   ============================================================ */
.promo-banner {
  display: block;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
}

.promo-banner__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 1;
  object-fit: cover;
  background: #1a1a1a;
  transition: filter 0.3s ease;
}

.promo-banner:hover .promo-banner__img {
  filter: brightness(0.88);
}

.promo-banner__badge {
  position: absolute;
  bottom: 20px;
  right: 24px;
  background: var(--color-fuchsia);
  color: #fff;
  font-family: var(--font);
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 40px;
  letter-spacing: 0.02em;
  pointer-events: none;
  transition: background 0.2s;
}

.promo-banner:hover .promo-banner__badge {
  background: #a0004c;
}

.promo-banner--placeholder {
  background: #111;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   ÜBER MICH
   ============================================================ */
.about {
  padding: 64px 0;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--section-pad);
  right: var(--section-pad);
  height: 1.2px;
  background: var(--color-fuchsia);
}

.about__left {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.about__img {
  display: none;
}

.about__text {
  max-width: 500px;
}

.about h2 {
  color: var(--color-navy);
  margin-bottom: 18px;
}

.about p {
  color: var(--color-text);
  margin-bottom: 16px;
}

.about__right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  gap: 0;
}

.about__portrait {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  background: #dce3ee;
  overflow: hidden;
}

.about__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about .btn--white {
  background: var(--color-bg);
  color: var(--color-fuchsia);
  border-color: var(--color-fuchsia);
}
.about .btn--white:hover {
  background: var(--color-fuchsia);
  color: var(--color-bg);
}

/* ============================================================
   POLAROID – Über mich
   ============================================================ */
.polaroid-about {
  position: relative;
  background: var(--color-white);
  box-shadow: 0 6px 24px rgba(15, 45, 88, 0.13), 0 1px 4px rgba(15, 45, 88, 0.08);
}

.polaroid-about__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #dce3ee;
  display: block;
}

.polaroid-about__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.polaroid-about__label {
  display: block;
  text-align: center;
  font-family: var(--font-handwrite);
  font-size: 2.5rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  
}


.polaroid-about--desktop {
  width: 423px;
  padding: 15px 15px 0 15px;
  max-width: 100%;
  transform: rotate(2.5deg);
}

.polaroid-about--desktop .polaroid-about__label {
  height: 84px;
  line-height: 84px;
  margin-bottom: 0;
  color: var(--color-fuchsia);
}

.polaroid-about--mobile {
  width: 100%;
  max-width: 320px;
  padding: 13px 13px 0 13px;
  transform: rotate(2.5deg);
  left: 7px;
  z-index: 3;
}

.polaroid-about--mobile .polaroid-about__label {
height: 67px;
  line-height: 75px;
  font-size: 2.5rem;
  color: var(--color-fuchsia);
}

/* Zweites Polaroid – nur im Tablet-Bereich 601-900px sichtbar, neben dem ersten */
.polaroid-about--mobile-2 {
  display: none;
  width: 100%;
  max-width: 320px;
  padding: 13px 13px 0 13px;
  transform: translate(0, -30px) rotate(-5deg);
  z-index: 1;
}

.polaroid-about--mobile-2 .polaroid-about__label {
  height: 67px;
  line-height: 75px;
  font-size: 2.4rem;
  color: var(--color-fuchsia);
}

/* Wrapper für die zwei Tablet-Polaroids nebeneinander */
.about__img-group {
  display: contents;
}

/* ============================================================
   ZITATE-SLIDER
   ============================================================ */
.quote-slider {
  margin-top: 0;
  padding-top: 28px;
  max-width: 500px;
}

.quote-slider__track {
  position: relative;
  overflow: hidden;
}

.quote-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: translateX(-32px);
  padding-left: 20px;
  border-left: 2.5px solid var(--color-fuchsia);
}

.quote-slide.is-active {
  position: absolute;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.quote-slide p {
  font-size: 1em;
  line-height: 1.7;
  color: var(--color-text);
  font-style: italic;
  margin-bottom: 10px;
}

.quote-slide cite {
  font-size: 0.8125em;
  color: var(--color-muted);
  font-style: normal;
  letter-spacing: 0.04em;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.quote-cite__name {
  font-weight: 500;
  color: var(--color-navy);
}

.quote-cite__role {
  color: var(--color-muted);
}

.quote-slider__nav {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  padding-left: 20px;
}

.quote-nav-dot {
  width: 32px;
  height: 2px;
  border: none;
  border-radius: 2px;
  background: #ccc;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, width 0.3s ease;
}

.quote-nav-dot.is-active {
  background: var(--color-navy);
  width: 48px;
}

/* ============================================================
   WERTE
   ============================================================ */
.values {
  padding: 64px 0;
  background: var(--color-bg);
  border-bottom: 0px solid var(--color-border);
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 43px;
  margin-bottom: 40px;
}

.value {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.value__icon {
  width: 43px;
  height: 43px;
  flex-shrink: 0;
  display: block;
}

.value__title {
  font-size: 1.25em;
  font-weight: 700;
  color: var(--color-navy);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.value__text {
  line-height: 1.65;
  color: var(--color-text);
hyphens: auto;
hyphenate-limit-chars: auto 4;
}

.values .btn--fuchsia {
  background: var(--color-bg);
  color: var(--color-fuchsia);
  border-color: var(--color-fuchsia);
}
.values .btn--fuchsia:hover {
  background: var(--color-fuchsia);
  color: var(--color-bg);
}

/* ============================================================
   LEISTUNGEN – navy
   ============================================================ */
.services {
  padding: 64px 0;
  background: var(--color-navy);
  border-bottom: 1px solid var(--color-navy-dark);
}

.services h2 {
  color: var(--color-bg);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.service {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-fuchsia);
}

.service__title {
  font-size: 1.25em;
  font-weight: 700;
  color: var(--color-navy);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service__text {
  line-height: 1.65;
  color: var(--color-text);
}

/* ============================================================
   PORTFOLIO – hell
   ============================================================ */
.portfolio {
  padding: 64px 0;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.portfolio__filter {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font);
  font-weight: 500;
  padding: 8px 22px;
  border-radius: 40px;
  border: 1.5px solid var(--color-navy);
  background: var(--color-bg);
  color: var(--color-navy);
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.filter-btn:hover {
  background: var(--color-navy);
  color: var(--color-bg);
}

.filter-btn--active {
  background: var(--color-navy);
  color: var(--color-bg);
}

.portfolio-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #c8cdd6;
  background: var(--color-white);
  cursor: pointer;
  transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.2s ease;
}

.portfolio-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(15, 45, 88, 0.12);
}

.portfolio-card.is-hidden {
  display: none;
}

.portfolio-card__thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #dce3ee;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4a6080;
  overflow: hidden;
}

.portfolio-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-card__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(15, 45, 88, 0.45);
  color: rgba(249, 247, 245, 0.9);
  font-size: 0.7em;
  font-weight: 400;
  padding: 2px 8px;
  border-radius: 3px;
  letter-spacing: 0.09em;
  pointer-events: none;
  z-index: 2;
}

.portfolio-card__info {
  padding: 14px 16px 16px;
}

.portfolio-card__title {
  font-size: 1.125em;
  font-weight: 500;
  color: var(--color-navy);
  margin-bottom: 10px;
}

.portfolio-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-size: 0.8125em;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid var(--color-fuchsia);
  color: var(--color-fuchsia);
  background: var(--color-white);
}

/* ============================================================
   COUNTER SECTION – navy
   ============================================================ */
.counters-section {
  padding: 48px 0;
  background: var(--color-navy);
  border-bottom: 1px solid var(--color-navy-dark);
}

.counters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.counters-grid .counter {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 0 32px;
  border-right: 1px solid rgba(249, 247, 245, 0.5);
}

.counters-grid .counter:last-child {
  border-right: none;
}

.counters-grid .counter__number {
  font-size: 3em;
  font-weight: 400;
  color: var(--color-bg);
  line-height: 1;
}

.counter__sup {
  font-size: 0.45em;
  font-weight: 400;
  vertical-align: super;
  line-height: 0;
}

.counters-grid .counter__label {
  color: var(--color-navy-muted);
  line-height: 1.3;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 45, 88, 0.75);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 32px;
  overflow-y: auto;
}

.lightbox.is-visible {
  display: flex;
}

.lightbox__inner {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 90vw;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 345px;
  align-items: start;
  gap: 0 40px;
}

.lightbox__gallery-wrap {
  grid-column: 1;
  grid-row: 1 / 7;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-self: start;
}

.lightbox__gallery {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 12px;
}

.lightbox__img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: #dce3ee;
}

.lightbox__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s ease;
}

.lightbox__img.is-loading {
  opacity: 0;
}

.lightbox__nav {
  background: none;
  border: 1.5px solid var(--color-navy);
  color: var(--color-navy);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.125em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}
.lightbox__nav:hover {
  background: var(--color-navy);
  color: var(--color-white);
}
.lightbox__nav:disabled {
  opacity: 0.25;
  cursor: default;
  pointer-events: none;
}

.lightbox__counter {
  color: var(--color-muted);
  text-align: center;
}

.lightbox__close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.75em;
  color: var(--color-muted);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.lightbox__close:hover { color: var(--color-navy); }

.lightbox__title {
  grid-column: 2;
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  padding-top: 4px;
}

.lightbox__tags {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.lightbox__meta {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 14px;
}

.lightbox__meta span {
  font-size: 0.8125em;
  color: var(--color-muted);
  line-height: 1.5;
}

.lightbox__meta strong {
  font-weight: 600;
  color: var(--color-navy);
}

.lightbox__url {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 0.8125em;
  font-weight: 500;
  color: var(--color-navy);
  border: 1.5px solid var(--color-navy);
  border-radius: 30px;
  padding: 8px 16px;
  margin-bottom: 14px;
  width: fit-content;
  transition: background 0.2s, color 0.2s;
}

.lightbox__url svg {
  flex-shrink: 0;
}

.lightbox__url:hover {
  background: var(--color-navy);
  color: var(--color-bg);
}

.lightbox__desc {
  grid-column: 2;
  line-height: 1.85;
  color: var(--color-text);
  margin-bottom: 8px;
  hyphens: auto;
}

.lightbox__note {
  grid-column: 2;
  font-size: 0.8125em;
  color: #777;
}

.lightbox__note a {
  text-decoration: underline;
  color: #777;
}

.lightbox .tag {
  background: var(--color-white);
}

/* ============================================================
   KONTAKT – navy
   ============================================================ */
.contact {
  padding: 80px 0;
  background: var(--color-navy);
  text-align: center;
}

.contact h2 {
  color: var(--color-bg);
  margin-bottom: 14px;
}

.contact p {
  color: var(--color-navy-muted);
  margin-bottom: 32px;
}
.contact .btn--white{
  margin: 5px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 20px 0;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  color: #666;
  text-align: center;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.footer__icons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer__linkedin,
.footer__mail {
  display: flex;
  align-items: center;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.footer__linkedin:hover,
.footer__mail:hover {
  opacity: 1;
}

.footer__linkedin img,
.footer__mail img {
  filter: brightness(0);
  display: block;
}

@media (max-width: 450px) {
.footer__inner {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .footer__icons {
    order: -1;
    justify-content: center;
  }

  .footer__inner p {
    margin: 0;
    text-align: center;
  }
}




/* ============================================================
   LEGAL PAGES (Impressum, Datenschutz)
   ============================================================ */

.legal-page {
  padding: 64px 0 80px;
  background: var(--color-bg);
}

.legal-page__inner {
  max-width: 720px;
}

.legal-page h1 {
  font-size: 1.875em;
  font-weight: 500;
  color: var(--color-navy);
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 1.375em;
  font-weight: 500;
  color: var(--color-navy);
  margin-top: 40px;
  margin-bottom: 14px;
}

.legal-page h2:first-of-type {
  margin-top: 0;
}

.legal-page h3 {
  font-size: 1.125em;
  font-weight: 700;
  color: var(--color-navy);
  margin-top: 24px;
  margin-bottom: 10px;
}

.legal-page h4 {
  font-size: 1em;
  font-weight: 700;
  color: var(--color-navy);
  margin-top: 18px;
  margin-bottom: 8px;
}

.legal-page p {
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 16px;
}

.legal-page a {
  color: var(--color-fuchsia);
  text-decoration: underline;
}

@media (max-width: 600px) {
  
  .legal-page {
    padding: 40px 0 56px;
  }

  .legal-page h1 {
    font-size: 1.625em;
  }
}









/* ============================================================
   MEDIA QUERIES – geordnet von groß nach klein
   ============================================================ */

/* Desktop-Zwischengröße: 901px – 1165px */
@media (min-width: 901px) and (max-width: 1165px) {
  .hero__inner {
    grid-template-columns: 355px 1fr;
  }

  .hero__polaroids {
    height: 449px;
    width: 489px;
  }

  .polaroid {
    width: 217px;
  }
}

/* Lightbox einspaltig: ≤ 1200px */
@media (max-width: 1200px) {
  .lightbox {
    padding: 16px;
    align-items: flex-start;
  }

  .lightbox__inner {
    display: flex;
    flex-direction: column;
    max-width: 640px;
    padding: 28px 24px;
    gap: 16px;
  }

  .lightbox__gallery-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    order: 1;
  }

  .lightbox__gallery {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    align-items: center;
    gap: 12px;
    width: 100%;
  }

  .lightbox__counter {
    text-align: center;
    order: 2;
    margin-top: 0;
  }

  .lightbox__title {
    order: 3;
    margin-bottom: 0;
  }

  .lightbox__tags {
    order: 4;
    margin-bottom: 0;
  }

  .lightbox__meta {
    order: 5;
    margin-bottom: 0;
  }

 .lightbox__url { order: 6; }

  .lightbox__desc {
    order: 7;
    margin-bottom: 0;
  }

  .lightbox__note {
    order: 8;
  }
}

/* Tablet & Mobile-Menü: ≤ 900px */
@media (max-width: 900px) {
  /* Nav */
  .nav {
    padding: 14px 24px;
    position: relative;
  }

  .nav__burger {
    display: flex;
  }

  .nav__links {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    width: auto;
    min-width: 200px;
    background: var(--color-navy);
    border-bottom: 2px solid var(--color-navy-dark);
    border-left: 1px solid var(--color-navy-dark);
    padding: 0;
    text-align: right;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.3s ease;
    pointer-events: none;
  }

  .nav__links.is-open {
    max-height: 400px;
    opacity: 1;
    padding: 8px 0 16px;
    pointer-events: auto;
  }

  .nav__links li {
    width: 100%;
  }

  .nav__links a {
    display: block;
    padding: 12px calc(var(--section-pad) - 6px);
    color: var(--color-navy-muted);
    border-bottom: 1px solid var(--color-navy-dark);
    border-bottom-color: var(--color-navy-dark) !important;
    text-align: right;
    white-space: nowrap;
  }

  .nav__links a:hover,
  .nav__links a.is-active {
    color: var(--color-bg);
    border-bottom-color: var(--color-navy-dark) !important;
  }

  .nav__links-divider {
    display: none;
  }

  .nav__linkedin {
    justify-content: flex-end;
    width: 100%;
    padding: 12px calc(var(--section-pad) - 6px) !important;
    border-bottom: 1px solid var(--color-navy-dark) !important;
    opacity: 0.7;
  }

  /* Hero */
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__text h1 {
    position: relative;
    z-index: 2;
  }



  .hero__polaroids {
    display: none;
  }

  .hero__polaroids-mobile {
    display: flex;
    justify-content: left;
    align-items: flex-start;
    position: relative;
    max-width: 550px;
    height: calc(42vw + 42vw * 0.18 + 16px);
    max-height: calc(200px + 200px * 0.18 + 16px);
    margin-bottom: 12px;
    z-index: 1;
  }

  .polaroid-mobile {
    position: absolute;
    background: var(--color-white);
    padding: 10px 10px 0 10px;
    box-shadow: 0 4px 16px rgba(15, 45, 88, 0.13), 0 1px 3px rgba(15, 45, 88, 0.08);
    width: 42vw;
    max-width: 200px;
    cursor: pointer;
  }

  .polaroid-mobile__img {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #dce3ee;
  }

  .polaroid-mobile__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .polaroid-mobile__label {
    height: 45px;
    line-height: 45px;
    display: block;
    text-align: center;
    font-family: var(--font-handwrite);
    font-size: 1.2em;
    color: var(--color-navy);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0;
    padding: 0;
  }

  .hero__polaroids-mobile .polaroid-mobile__label {
    margin: 0;
    padding: 0;
  }

  .polaroid-mobile--print {
    transform: translateX(0%) rotate(-3deg);
    z-index: 4;
    animation: mobileSlideInLeft 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both,
               mobileFloatLeft 5s ease-in-out 0.7s infinite;
  }

  .polaroid-mobile--web {
    transform: translateX(95%) rotate(3deg);
    z-index: 3;
    animation: mobileSlideInRight 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both,
               mobileFloatRight 5.4s ease-in-out 1s infinite;
  }

  @keyframes mobileSlideInLeft {
    from { opacity: 0; transform: translateX(-350px) rotate(-3deg); }
    to   { opacity: 1; transform: translateX(0) rotate(-5deg); }
  }

  @keyframes mobileSlideInRight {
    from { opacity: 0; transform: translateX(-200px) rotate(3deg); }
    to   { opacity: 1; transform: translateX(95%) rotate(3deg); }
  }

  @keyframes mobileFloatLeft {
    0%   { transform: translateX(0) translateY(0px) rotate(-5deg); }
    50%  { transform: translateX(0) translateY(-7px) rotate(-5.5deg); }
    100% { transform: translateX(0) translateY(0px) rotate(-5deg); }
  }

  @keyframes mobileFloatRight {
    0%   { transform: translateX(95%) translateY(0px) rotate(3deg); }
    50%  { transform: translateX(95%) translateY(-9px) rotate(3.5deg); }
    100% { transform: translateX(95%) translateY(0px) rotate(3deg); }
  }

  /* Über mich */
  .about__inner {
    grid-template-columns: 1fr;
  }

  .about__right {
    display: none;
  }

  .about__img {
    display: block;
    margin-bottom: 24px;
  }

  .about__text {
    max-width: 560px;
    hyphens: auto;
  }

  /* Services & Portfolio */
  .services__grid,
  .portfolio__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Padding 601px–900px */
@media (min-width: 601px) and (max-width: 900px) {
  .section__inner,
  .nav {
    padding-left: 48px;
    padding-right: 48px;
  }
}

/* Werte: ≤ 800px */
@media (max-width: 800px) {
  .values__grid {
    grid-template-columns: 1fr;
  }

  .value__text {
    max-width: 500px;
  }
}

/* Promo Banner: ≤ 768px */
@media (max-width: 768px) {
  .promo-banner__img {
    aspect-ratio: 2 / 1;
  }

  .promo-banner__badge {
    bottom: 12px;
    right: 16px;
    font-size: 0.875em;
    padding: 8px 16px;
  }
}

/* Schmal: ≤ 600px */
@media (max-width: 600px) {
    .about::before {
  left: 24px;
  right: 24px;}
  
  .hero{
  padding-top: 20px;
 }
  
  h1 { font-size: 2em; }



  .section__inner,
  .nav {
    padding-left: 24px;
    padding-right: 24px;
  }

  .services__grid,
  .portfolio__grid {
    grid-template-columns: 1fr;
  }
}

/* Counter: ≤ 450px */
@media (max-width: 450px) {
    .counters-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .counters-grid .counter {
    border-right: none;
    border-bottom: 1px solid rgba(249, 247, 245, 0.5);
    padding: 0 0 28px;
  }

  .counters-grid .counter:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .counters-grid .counter__number {
    font-size: 2.25em;
  }
}

/* ============================================================
   TABLET-BEREICH 601–900px: Hero 3 Polaroids + Über mich 2 Polaroids
   ============================================================ */
@media (min-width: 601px) and (max-width: 900px) {

  /* --- HERO: 3 Polaroids nebeneinander --- */
  .hero__polaroids-mobile {
    height: calc(32vw + 32vw * 0.18 + 16px);
    max-height: calc(180px + 180px * 0.18 + 16px);
  }

  .polaroid-mobile {
    width: 32vw;
    max-width: 185px;
  }

  .polaroid-mobile--portrait {
    display: block;
  }

  .polaroid-mobile--print {
    left: 0;
    transform: translate(0) rotate(-5deg);
    z-index: 4;
    animation: tabletSlideInLeft 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both,
               tabletFloatLeft 5s ease-in-out 0.7s infinite;
  }

  .polaroid-mobile--web {
    left: 50%;
    right: auto;
    transform: translateX(-50%) rotate(2deg);
    z-index: 3;
    animation: tabletSlideInTop 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both,
               tabletFloatTop 5.2s ease-in-out 0.85s infinite;
  }

  .polaroid-mobile--portrait {
    left: auto;
    right: 0;
    transform: translate(0,20px) rotate(2deg);
    z-index: 2;
    animation: tabletSlideInRight 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both,
               tabletFloatRight 5.4s ease-in-out 1s infinite;
  }

  @keyframes tabletSlideInLeft {
    from { opacity: 0; transform: translateX(-100px) rotate(-5deg); }
    to   { opacity: 1; transform: translate(-10px, -10px) rotate(-9deg); }
  }

  @keyframes tabletSlideInRight {
    from { opacity: 0; transform: translateX(100px) rotate(4deg); }
    to   { opacity: 1; transform: translate(-21px, -30px) rotate(-12deg); }
  }

  @keyframes tabletSlideInTop {
    from { opacity: 0; transform: translateX(-52%) translateY(-40px) rotate(2deg); }
    to   { opacity: 1; transform: translateX(-52%) translateY(0) rotate(2deg); }
  }

  @keyframes tabletFloatLeft {
    0%   { transform: translateX(-10px) translateY(-10px) rotate(-9deg); }
    50%  { transform: translateX(-10px) translateY(-17px) rotate(-9.5deg); }
    100% { transform: translateX(-10px) translateY(-10px) rotate(-9deg); }
  }

  @keyframes tabletFloatRight {
    0%   { transform: translateX(-21px) translateY(-30px) rotate(-12deg); }
    50%  { transform: translateX(-21px) translateY(-40px) rotate(-12.5deg); }
    100% { transform: translateX(-21px) translateY(-30px) rotate(-12deg); }
  }

  @keyframes tabletFloatTop {
    0%   { transform: translateX(-52%) translateY(0px) rotate(2deg); }
    50%  { transform: translateX(-52%) translateY(-8px) rotate(2.5deg); }
    100% { transform: translateX(-52%) translateY(0px) rotate(2deg); }
  }

  /* --- ÜBER MICH: 2 Polaroids nebeneinander statt 1 --- */
  .about__img {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: flex-start;
  }

  .polaroid-about--mobile,
  .polaroid-about--mobile-2 {
    max-width: 47%;
  }

  .polaroid-about--mobile-2 {
    display: block;
  }
}
