/* ---- Base reset / tokens ---- */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #2B3856;
  background: #FAF6F4;
}

/* Utility */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ---- Header & Top Nav ---- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e5e7eb;
}

.site-header__inner {
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-mark {
  width: 100px;
  height: 40px;
  background: url(logo.png);
  background-repeat: no-repeat;
  background-size: contain;
  display: flex;
  align-items: center;
}

.logo-text {
  font-weight: 600;
  font-size: 0.95rem;
}

/* Desktop/Tablet nav (hidden on small screens) */

.top-nav {
  display: none;
  gap: 1rem;
  align-items: center;
}

.top-nav__link {
  font-size: 0.85rem;
  text-decoration: none;
  color: #4b5563;
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
}

.top-nav__link:hover {
  color: #111827;
}

.top-nav__link.is-active {
  color: #111827;
  border-bottom-color: #111827;
}

/* Mobile nav */

.nav-toggle {
  border: none;
  background: transparent;
  padding: 0.25rem;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  cursor: pointer;
}

.nav-toggle__bar {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #111827;
}

.mobile-nav {
  display: none;
  border-top: 1px solid #e5e7eb;
  background: #ffffff;
}

.mobile-nav__link {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  text-decoration: none;
  color: #4b5563;
}

.mobile-nav__link:hover {
  background: #f3f4f6;
  color: #111827;
}

.mobile-nav__link.is-active {
  font-weight: 600;
  color: #111827;
}

/* ---- Page Layout ---- */

.page {
  margin: 0;
  padding: 0;
  display: flex;
}
section {
  max-width: 1120px;
}

/* Side navigation (hidden on small screens) */

.side-nav {
  display: none;
}

/* Content */

.content {
  flex: 1 1 auto;
  min-width: 0;
}

.hero {
  padding-bottom: 2rem;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 2rem;
}
.gradient {
  background: url(bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 0;
  padding-bottom: 33%;
}

.hero h1 {
  font-size: 2rem;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}

.hero p {
  max-width: 42rem;
  margin: 0;
  color: #4b5563;
  line-height: 1.6;
}

/* Sections */

.section {
  padding: 2.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.section:last-of-type {
  border-bottom: none;
}

.section__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9ca3af;
  margin: 0 0 0.5rem;
}

.section h2 {
  margin: 0 0 0.75rem;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.section p {
  margin: 0 0 0.75rem;
  color: #4b5563;
  line-height: 1.7;
}

/* Simple placeholder components */

.placeholder-box {
  margin-top: 1rem;
  padding: 2.5rem 1.5rem;
  border-radius: 0.75rem;
  border: 1px dashed #cbd5f5;
  background: #f9fafb;
  text-align: center;
  font-size: 0.9rem;
  color: #6b7280;
}

/* Color grid */

.color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.color-swatch {
  border-radius: 0.75rem;
  padding: 1rem;
  color: #111827;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100px;
}

.color-swatch__name {
  font-weight: 600;
  font-size: 0.85rem;
}

.color-swatch__code {
  font-size: 0.8rem;
}

.color-swatch--primary {
  background: #fa9819;
}

.color-swatch--tint {
  background: #b6c9cf;
}

.color-swatch--accent {
  background: #1e3d59;
  color: #f9fafb;
}

.color-swatch--neutral {
  background: #e5e5e5;
}

/* Typography samples */

.type-samples {
  display: grid;
  gap: 1.5rem;
  margin-top: 1rem;
}

.type-samples__block {
  padding: 1.25rem 1.5rem;
  border-radius: 0.75rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
}

.type-samples__label {
  font-size: 0.75rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
}

.type-samples__display {
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}

/* Art direction placeholders */

.image-row {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.image-placeholder {
  aspect-ratio: 4 / 3;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #c6ebf7, #deeeff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #1f2933;
}

/* Footer */

.site-footer {
  margin: 3rem 2rem 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #6b7280;
}

.back-to-top {
  border: 1px solid #d1d5db;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  background: #ffffff;
  font-size: 0.8rem;
  cursor: pointer;
}

.back-to-top:hover {
  background: #f3f4f6;
}

/* ---- Breakpoints ---- */

/* ≥ 768px: show side-nav, desktop nav, hide mobile nav button */

@media (min-width: 768px) {
  .site-header {
    display: none;
  }

  .nav-toggle {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }

  .top-nav {
    display: none;
  }
  .side-nav {
    display: block
  }

  .page {
    position: relative;
  }
  .logo-wrapper {
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 1rem
  }
  .side-nav {
    display: block;
    flex: 0 0 248px;
    border-right: 1px solid #e5e7eb;
    background: #ffffff;
  }
  .side-nav__sticky{
    top: 0;
    position: sticky;

  }
  .side-nav__inner {
    padding: 1.25rem 1.25rem 1rem;
  }

  .side-nav__title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #9ca3af;
    margin-bottom: 0.75rem;
  }

  .side-nav__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.35rem;
  }

  .side-nav__item {
    font-size: 0.9rem;
  }

  .side-nav__link {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
    text-decoration: none;
    color: #4b5563;
    padding: 0.15rem 0;
  }

  .side-nav__link::before {
    content: "•";
    font-size: 0.8rem;
    color: #e5e7eb;
  }

  .side-nav__link:hover {
    color: #111827;
  }

  .side-nav__link.is-active {
    color: #111827;
    font-weight: 600;
  }

  .side-nav__link.is-active::before {
    color: #111827;
  }
}

/* ≥ 1200px: more breathing room */

@media (min-width: 768px) { /* was 1200px*/
  .section {
    max-width: 480px; /* was 1240px*/
    margin: 0 auto;

  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .content {
    text-align: center;
  }
}

/* Small screens: show mobile dropdown when JS adds .is-open */

.mobile-nav.is-open {
  display: block;
}

/* ---- Quick Contact Section ---- */

.quick-contact p {
  max-width: 40rem;
}

.quick-contact__buttons {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap; /* Auf extrem schmalen Displays dürfen sie umbrechen */
  gap: 0.75rem;
}

.quick-contact__button {
  flex: 1 1 220px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

.quick-contact__button--email {
  background: #9D9081;
  color: #f9fafb;
}

.quick-contact__button--email:hover {
  background: #725B41;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.25);
}

.quick-contact__button--phone {
  background: #ffffff;
  color: #111827;
  border-color: #d1d5db;
}

.quick-contact__button--phone:hover {
  background: #f9fafb;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.quick-contact__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.quick-contact__icon-svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

/* Telefon-Icon hat gefüllten Pfad */
.quick-contact__button--phone .quick-contact__icon-svg {
  fill: currentColor;
  stroke: none;
}

.quick-contact__label {
  white-space: nowrap;
}

/* Optional: Auf sehr kleinen Geräten Buttons immer nebeneinander halten */
@media (max-width: 420px) {
  .quick-contact__buttons {
    flex-wrap: nowrap;
  }

  .quick-contact__button {
    font-size: 0.8rem;
    padding-inline: 0.75rem;
  }
}