/* ===========================
   ZUNFT AGENCY — Landing Page
   Palette: Navy #1B2A4A + Bronze #8B5E1A
   =========================== */

:root {
  /* Brand Colors */
  --navy:         #1B2A4A;
  --navy-dark:    #111d33;
  --navy-light:   #2a3d64;
  --bronze:       #8B5E1A;
  --bronze-light: #a97528;
  --bronze-pale:  #f5ead8;
  --bronze-faint: #faf4ec;

  /* Surfaces */
  --color-bg:          #F8F7F4;
  --color-surface:     #FFFFFF;
  --color-surface-off: #f2ede4;
  --color-border:      #ddd8ce;

  /* Text */
  --color-text:       #1B2A4A;
  --color-text-muted: #5a6478;
  --color-text-faint: #9aa0ad;
  --color-text-inv:   #F8F7F4;

  /* Type */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Source Sans 3', 'Helvetica Neue', sans-serif;

  /* Scale */
  --text-xs:   clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-hero: clamp(2.5rem, 1rem + 5vw, 5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Radii */
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(27,42,74,0.08);
  --shadow-md: 0 4px 16px rgba(27,42,74,0.10);
  --shadow-lg: 0 12px 40px rgba(27,42,74,0.14);

  --content-default: 1100px;
  --transition: 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
}
img, svg { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; font: inherit; }
h1,h2,h3,h4 { text-wrap: balance; line-height: 1.15; }
p, li { text-wrap: pretty; }

/* ---- CONTAINER ---- */
.container {
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 5vw, var(--space-12));
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.02em;
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-6);
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--bronze);
  color: #fff;
  box-shadow: 0 2px 8px rgba(139,94,26,0.25);
}
.btn--primary:hover {
  background: var(--bronze-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(139,94,26,0.32);
}
.btn--ghost {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--color-border);
}
.btn--ghost:hover {
  border-color: var(--navy);
  background: rgba(27,42,74,0.04);
}
.btn--nav {
  background: var(--navy);
  color: #fff;
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-xs);
}
.btn--nav:hover { background: var(--navy-light); }
.btn--lg { padding: var(--space-4) var(--space-8); font-size: var(--text-base); }

/* ---- HEADER ---- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248,247,244,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.header--scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  height: 100px;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--navy);
}
.logo-img {
  width: 88px;
  height: 88px;
  object-fit: contain;
}
.logo-img--small { width: 88px; height: 88px; }
.logo-text { letter-spacing: -0.01em; }

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.nav a:not(.btn) {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  transition: color var(--transition);
}
.nav a:not(.btn):hover { color: var(--navy); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---- HERO ---- */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--color-text-inv);
  overflow: hidden;
  padding-block: clamp(var(--space-16), 10vw, var(--space-24));
}
.hero__bg-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(139,94,26,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(139,94,26,0.10) 0%, transparent 50%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.hero__badge {
  display: inline-block;
  background: rgba(139,94,26,0.25);
  border: 1px solid rgba(139,94,26,0.45);
  color: #e8c484;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full, 999px);
  margin-bottom: var(--space-6);
}
.hero__headline {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  margin-bottom: var(--space-6);
  letter-spacing: -0.02em;
}
.hero__sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin-bottom: var(--space-10);
  line-height: 1.6;
}
.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}
.hero__cta-group .btn--ghost {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.3);
}
.hero__cta-group .btn--ghost:hover {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.hero__stats {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat__num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: #e8c484;
  line-height: 1;
}
.stat__label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.stat__divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}

/* ---- SECTIONS ---- */
.section {
  padding-block: clamp(var(--space-12), 8vw, var(--space-20));
}
.section__header {
  text-align: center;
  margin-bottom: clamp(var(--space-8), 5vw, var(--space-16));
}
.section__eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: var(--space-3);
}
.section__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

/* ---- SERVICES GRID ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: var(--space-6);
}
.service-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: box-shadow var(--transition), transform var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.service-card--accent {
  background: var(--navy);
  border-color: var(--navy);
  color: rgba(255,255,255,0.9);
}
.service-card--accent .service-card__title { color: #fff; }
.service-card--accent .service-card__text { color: rgba(255,255,255,0.72); }
.service-card--accent .service-card__list li { color: rgba(255,255,255,0.80); }
.service-card--accent .service-card__list li::before { background: #e8c484; }
.service-card--accent .service-card__icon { color: #e8c484; }

.service-card__badge {
  position: absolute;
  top: -14px;
  left: var(--space-8);
  background: var(--bronze);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full, 999px);
}
.service-card__icon {
  color: var(--bronze);
  margin-bottom: var(--space-5);
}
.service-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-3);
}
.service-card__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-5);
}
.service-card__list { display: flex; flex-direction: column; gap: var(--space-2); }
.service-card__list li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.service-card__list li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--bronze);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---- VERTRAUEN ---- */
.vertrauen { background: var(--bronze-faint); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: var(--space-6);
}
.trust-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: box-shadow var(--transition);
}
.trust-item:hover { box-shadow: var(--shadow-md); }
.trust-item__icon {
  color: var(--bronze);
  margin-bottom: var(--space-4);
}
.trust-item h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-2);
}
.trust-item p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ---- CTA SECTION ---- */
.cta-section { background: var(--navy); }
.cta-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-12);
  align-items: center;
}
.cta-box__eyebrow { color: #e8c484; }
.cta-box__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}
.cta-box__text {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  margin-bottom: var(--space-8);
  line-height: 1.7;
}

.cta-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.cta-card__row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.80);
}
.cta-card__row svg { color: #e8c484; flex-shrink: 0; }
.cta-card__price {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
}
.price-from { font-size: var(--text-xs); color: rgba(255,255,255,0.5); }
.price-num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: #e8c484;
}
.price-period { font-size: var(--text-xs); color: rgba(255,255,255,0.5); }

/* ---- FOOTER ---- */
.footer {
  background: var(--navy-dark);
  padding-block: var(--space-10);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  color: rgba(255,255,255,0.85);
}
.footer__copy, .footer__legal {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
}
.footer__copy a, .footer__legal a {
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer__copy a:hover, .footer__legal a:hover { color: #e8c484; }

/* ---- MOBILE ---- */
@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(248,247,244,0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: var(--space-4) 0;
    box-shadow: var(--shadow-md);
  }
  .nav--open { display: flex; }
  .nav a:not(.btn) {
    width: 100%;
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-base);
  }
  .nav .btn--nav {
    margin: var(--space-3) var(--space-6);
    width: calc(100% - var(--space-12));
    justify-content: center;
  }
  .header { position: relative; }

  .nav-toggle { display: flex; }

  .hero__cta-group { flex-direction: column; }
  .hero__stats { gap: var(--space-6); }
  .stat__divider { display: none; }

  .cta-box {
    grid-template-columns: 1fr;
  }
  .cta-card { min-width: unset; }

  .footer__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .services-grid, .trust-grid {
    grid-template-columns: 1fr;
  }
}
