:root {
  --color-bg: #fcfcfc;
  --color-pf-teaser: #e0ddf3;
  --color-text: #1a1a1a;
  --color-text-soft: #555;
  --color-text-light: #888;
  --color-border: #e7e3dc;
  --color-primary: #555555;
  --color-pf-button: #6758c4;
}

/* RESET */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  padding-top: 96px; /* Platz für fixed navbar */
}

/* HEADER / NAVBAR */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  background: rgba(252, 252, 252, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

header.nav-hidden {
  transform: translateY(-100%);
}

.navbar {
  padding: 22px 20px;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;

  display: flex;
  align-items: center;
}

/* LOGO */

.logo img {
  height: 50px;
  width: auto;
  display: block;
}

/* NAV */

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  width: 100%;
  margin-left: 100px;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-text-soft);
  font-size: 15px;
  font-weight: 400;

  transition: color 0.25s ease, opacity 0.25s ease;
}

.nav-links a:hover {
  color: var(--color-text);
}

.nav-links a.active {
  color: var(--color-text);
  font-weight: 500;
}

/* CTA */

.nav-links .cta {
  margin-left: auto;
  padding: 8px 16px;
  border: 1px solid var(--color-text);
  border-radius: 999px;

  background: var(--color-primary);
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.05em;

  transition: all 0.175s ease;
}

.nav-links .cta:hover {
  background: transparent;
  color: var(--color-text);
}

/* SECTIONS */

.section {
  padding: clamp(40px, 8vw, 120px) 24px;
}

.section.alt {
  background: var(--color-pf-teaser);
}

.section.bright {
  background: #f4f3fb;
}

.section.yellow {
  background: #feffcd;
}

.section.yellow-bright {
  background: #fffff4;
}

.section.dark {
  background: #6b6b6b;
  color: var(--color-bg);
}

.section.dark p {
  color: var(--color-bg);
}

.section.dark .custom-list li {
  color: var(--color-bg);
}

.section.dark .custom-list li::before {
  color: #f4f3fb;
}

.section.lila {
  background: var(--color-pf-button);
  color: var(--color-bg);
}

.section.lila p {
  color: var(--color-bg);
}

.section.lila .custom-list li {
  color: var(--color-bg);
}

.section.lila .custom-list li::before {
  color: #f4f3fb;
}

/* .section-pf {
  padding: 80px 24px 80px;
} */

.section-intro {
  background: #888;
}

.section-intro h1,
.section-intro h2,
.section-intro p {
  color: var(--color-bg);
}

.section-intro p {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-intro .custom-list li{
  color: var(--color-bg);
}

.section-intro .custom-list li::before {
  color: var(--color-bg);
}

.wrapper {
  max-width: 1100px;
  margin: 0 auto;
}

/* LISTS */

.custom-list {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.custom-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 1rem; /* wie p */
  font-size: 18px;
  line-height: 1.5;
  color: var(--color-text-soft);
}

.custom-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.15em;
  color: #4f46e5;
  font-size: 1em;
  line-height: 1;
}

/* GRID */

.grid-single {
  max-width: 1100px;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  align-items: center;
}

.section.top-align .grid-2 {
  align-items: start;
  padding-top: 30px;
}

/* HERO SPLIT */

.grid-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 100px;
  align-items: center;
}

/* TEXT */

.grid-hero .text h1 {
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.2;
  margin-bottom: 24px;
}

.lead {
  font-size: 20px;
  color: var(--color-text-soft);
  max-width: 480px;
}

/* IMAGE */

.grid-hero .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* TYPOGRAPHY */

h1 {
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 400;
  margin-bottom: 28px;
}

h2 {
  font-size: 30px;
  margin-bottom: 20px;
}

p {
  color: var(--color-text-soft);
  font-size: 18px;
}

/* BUTTONS */

.content-actions {
  margin-top: 36px;
}

.about-actions {
  margin-top: 32px;
}

.portfolio-button {
  display: inline-block;
  padding: 14px 24px;
  border: 1px solid #4c3dad;
  border-radius: 999px;
  text-decoration: none;
  letter-spacing: 0.05em;

  color: #fff;
  background: var(--color-pf-button);

  transition: all 0.175s ease;
}

.portfolio-button:hover {
  background: transparent;
  color: #2a215e;
}

.primary-button {
  display: inline-block;
  padding: 14px 24px;
  border: 1px solid var(--color-text);
  border-radius: 999px;
  text-decoration: none;
  letter-spacing: 0.05em;

  background: var(--color-primary);
  color: #fff;

  transition: all 0.175s ease;
}

.primary-button:hover {
  background: transparent;
  color: var(--color-text);
}

.bright-button {
  display: inline-block;
  padding: 14px 24px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  text-decoration: none;
  letter-spacing: 0.05em;

  background: var(--color-bg);
  color: var(--color-text);

  transition: all 0.175s ease;
}

.bright-button:hover {
  background: transparent;
  color: #fff;
  border-color: var(--color-bg);
}

/* GLOBAL IMAGE */

img {
  width: 100%;
  object-fit: cover;
  border-radius: 16px;
  /* border: 2px solid #888; */
}

/* FOOTER */

.footer {
  padding: 60px 24px 40px;
  background: var(--color-pf-teaser);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-name {
  font-size: 14px;
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a {
  text-decoration: none;
  font-size: 14px;
  color: var(--color-text-soft);

  transition: opacity 0.25s ease;
}

.footer-nav a:hover {
  opacity: 0.6;
}

.footer-meta {
  font-size: 13px;
  color: var(--color-text-light);
}

/* MOBILE */

@media (max-width: 768px) {
  body {
    padding-top: 118px;
  }

  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .nav-links {
    width: auto;
    margin-left: 0;
    gap: 20px;
    flex-wrap: wrap;
  }

  .nav-links .cta {
    margin-left: 0;
  }

  .grid-hero {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .grid-hero .image {
    order: 1;
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section {
    padding: 80px 20px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* CONTACT PAGE */

.contact-section {
  min-height: calc(100vh - 220px);
  display: flex;
  align-items: center;
}

.contact-content {
  max-width: 760px;
}

.contact-kicker {
  margin-bottom: 16px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-light);
}

.contact-content h1 {
  font-size: 40px;
}

.contact-text {
  max-width: 620px;
  font-size: 22px;
  line-height: 1.7;
}

.contact-text a {
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid rgba(26, 26, 26, 0.25);
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.contact-text a:hover {
  border-bottom-color: var(--color-text);
}

.contact-note {
  margin-top: 28px;
  font-size: 16px;
  color: var(--color-text-light);
}

@media (max-width: 768px) {
  .contact-section {
    min-height: auto;
    align-items: flex-start;
  }

  .contact-text {
    font-size: 19px;
  }
}

/* PORTFOLIO GRID */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
  margin: 60px 0 0;
}

.portfolio-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 5 / 5;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 0.6s ease;
  border: 1px solid var(--color-pf-teaser);
}

.portfolio-text {
  margin-top: 14px;
}

.portfolio-kicker {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 6px;
}

.portfolio-text h2 {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-text-soft);
  margin: 0;
}

/* Hover nur auf Bild */
.portfolio-item:hover img {
  transform: scale(1.04);
}

.portfolio-kicker {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 6px;
}

.portfolio-overlay h2 {
  font-size: 20px;
  margin: 0;
}

.portfolio-item:hover img {
  transform: scale(1.06);
}

/* CASE NAVIGATION */

.case-navigation {
  padding: 20px 24px 20px;
}

.case-nav-inner {
  max-width: 1100px;
  margin: 0 auto;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.case-nav-button {
  text-decoration: none;
  font-size: 14.5px;
  color: var(--color-text);
  letter-spacing: 0.05em;

  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--color-border);

  transition: all 0.2s ease;
}

/* Hover subtil wie dein Style */
.case-nav-button:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* Optional: bessere Ausrichtung */
.case-nav-button.prev {
  margin-right: auto;
}

.case-nav-button.next {
  margin-left: auto;
}

/* MOBILE */

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-image img {
    aspect-ratio: 4 / 3;
  }
}
