/* =========================================================
   wissmann.werbung – Stylesheet
   Schweizer Typografie: klar, reduziert, kräftiger Akzent
   ========================================================= */

:root {
  --color-ink: #1f1f1f;
  --color-body: #333333;
  --color-muted: #666666;
  --color-accent: #ff7200;      /* Marken-Orange (Signalfarbe) */
  --color-accent-dark: #e56600; /* dunklere Orange-Variante für Hover */
  --color-bg: #ffffff;
  --color-bg-alt: #f3f3f3;
  --color-line: #dddddd;
  --font-stack: "Arimo", Helvetica, Arial, "Lucida Grande", sans-serif;
  --font-heading: "Droid Sans", "Arimo", Helvetica, Arial, sans-serif;
  --container: 1120px;
  --radius: 10px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-stack);
  color: var(--color-body);
  background: var(--color-bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--color-ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.accent { color: var(--color-accent); }

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

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
}
.logo img {
  height: 26px;
  width: auto;
  max-width: 70vw;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  color: var(--color-ink);
  font-weight: 500;
  font-size: 0.98rem;
}
.main-nav a:hover { color: var(--color-accent); }

.nav-cta {
  background: var(--color-accent);
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 999px;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--color-accent-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-left: 0.75rem;
  color: var(--color-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.lang-btn {
  padding: 0.25rem 0.1rem;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}

.lang-btn:hover,
.lang-btn:focus-visible,
.lang-btn.is-active {
  border-bottom-color: var(--color-accent);
  color: var(--color-ink);
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-ink);
  transition: transform 0.25s, opacity 0.25s;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 110px 0 120px;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(255, 114, 0, 0.10), transparent 60%),
    var(--color-bg);
  overflow: hidden;
}

.hero-inner { max-width: 780px; }

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--color-muted);
  max-width: 620px;
  margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}
.btn-primary:hover { background: var(--color-accent-dark); color: #fff; }

.btn-outline {
  border: 2px solid var(--color-ink);
  color: var(--color-ink);
}
.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-light {
  background: #fff;
  color: var(--color-accent);
}
.btn-light:hover { background: #f3f3f3; color: var(--color-accent-dark); }

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section-alt { background: var(--color-bg-alt); }

.section-head { margin-bottom: 52px; max-width: 720px; }

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 700;
}

/* ===== Agentur ===== */
.two-col {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}

.two-col p + p { margin-top: 18px; }

.fact-card {
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  padding: 32px;
  border-top: 4px solid var(--color-accent);
}

.fact-list { list-style: none; }
.fact-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-line);
  font-size: 0.97rem;
}
.fact-list li:last-child { border-bottom: 0; }
.fact-list strong { color: var(--color-ink); font-weight: 600; }
.fact-list span { text-align: right; color: var(--color-muted); }

/* ===== Leistungen ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 34px 30px;
  border: 1px solid var(--color-line);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255, 114, 0, 0.12);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 28px; height: 28px; }

.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { font-size: 0.96rem; color: var(--color-muted); }

/* ===== Arbeitsweise ===== */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 28px 24px;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
}

.step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step p { font-size: 0.94rem; color: var(--color-muted); }

/* ===== CTA-Banner ===== */
.cta-banner {
  background: linear-gradient(120deg, var(--color-accent), #ff8f33 55%, #e56600);
  color: #fff;
  padding: 76px 0;
}

.cta-inner { text-align: center; max-width: 640px; }
.cta-inner h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 12px; }
.cta-inner p { opacity: 0.9; margin-bottom: 30px; }

/* ===== Kontakt ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.contact-block {
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  padding: 32px 30px;
}

.contact-block h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 8px;
}
.contact-block h3 + p { margin-bottom: 18px; }
.contact-block p:last-child { margin-bottom: 0; }
.contact-note { font-size: 0.88rem; color: var(--color-muted); }

.section-intro {
  margin-top: 16px;
  font-size: 1.05rem;
  color: var(--color-muted);
}

/* ===== Portfolio / Impressionen ===== */
.pf-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}
.pf-filter {
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-ink);
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  padding: 9px 18px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.pf-filter:hover { border-color: var(--color-accent); color: var(--color-accent); }
.pf-filter.is-active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.pf-hint {
  margin-top: 8px;
  color: var(--color-muted);
  font-size: 0.97rem;
}
.pf-hint[hidden] { display: none; }

.pf-group { margin-top: 40px; }
.pf-group[hidden] { display: none; }

.pf-group-head { margin-bottom: 22px; max-width: 720px; }
.pf-group-head h3 {
  font-size: 1.4rem;
  position: relative;
  padding-left: 16px;
}
.pf-group-head h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 4px;
  border-radius: 2px;
  background: var(--color-accent);
}
.pf-group-head p {
  margin-top: 8px;
  font-size: 0.97rem;
  color: var(--color-muted);
}

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

.pf-item {
  margin: 0;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pf-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.10);
}
.pf-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--color-bg-alt);
}
.pf-item figcaption {
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--color-ink);
  font-weight: 500;
}

/* ===== Referenzen / Kunden ===== */
.client-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-line);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.client-grid li {
  background: #fff;
  padding: 18px 22px;
  font-size: 0.97rem;
  color: var(--color-muted);
  display: flex;
  align-items: center;
}
.client-grid li a {
  color: var(--color-ink);
  font-weight: 500;
}
.client-grid li a:hover { color: var(--color-accent); }

/* ===== Team ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.team-card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 30px 26px;
  border-top: 4px solid var(--color-accent);
}
.team-card-partner { border-top-color: var(--color-ink); }
.team-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.team-role {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 12px;
}
.team-card-partner .team-role { color: var(--color-ink); }
.team-card p:last-child { font-size: 0.94rem; color: var(--color-muted); }

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(20, 20, 20, 0.9);
}
.lightbox.open { display: flex; }
.lightbox figure {
  margin: 0;
  max-width: 1000px;
  width: 100%;
  text-align: center;
}
.lightbox img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.lightbox figcaption {
  color: #fff;
  margin-top: 14px;
  font-size: 0.95rem;
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}
.lightbox-close:hover { background: var(--color-accent); }

/* ===== Footer ===== */
.site-footer {
  background: var(--color-ink);
  color: #b9b9c0;
  padding: 30px 0;
  font-size: 0.92rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-nav { display: flex; gap: 24px; }
.footer-nav a { color: #b9b9c0; }
.footer-nav a:hover { color: #fff; }

/* ===== Unterseiten (Impressum / Datenschutz) ===== */
.page-content { padding: 80px 0; max-width: 760px; }
.page-content h1 { font-size: 2.1rem; font-weight: 700; margin-bottom: 32px; }
.page-content h2 { font-size: 1.25rem; margin: 32px 0 10px; }
.page-content p + p { margin-top: 14px; }

/* ===== Responsive ===== */
@media (max-width: 920px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .pf-grid { grid-template-columns: repeat(2, 1fr); }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .nav-toggle { display: flex; }

  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-line);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    padding: 16px 24px;
    border-top: 1px solid var(--color-line);
  }
  .nav-cta { border-radius: 0; text-align: center; }
  .lang-switcher { margin-left: auto; margin-right: 0.5rem; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero { padding: 72px 0 84px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .pf-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .pf-item figcaption { padding: 10px 12px; font-size: 0.85rem; }
  .client-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }

  .nav-toggle { display: flex; }

  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-line);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    padding: 16px 24px;
    border-top: 1px solid var(--color-line);
  }
  .nav-cta { border-radius: 0; text-align: center; }
}
