/* ============================================================
   SPS Steuerberatung – Main Stylesheet
   ============================================================ */

/* --- Reset & Base ----------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans 3', 'Source Sans Pro', Calibri, sans-serif;
  color: #2c2c2c;
  background: #f5f5f3;
  line-height: 1.65;
}

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

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

ul {
  list-style: none;
}

/* --- CSS Variables ---------------------------------------- */
:root {
  --navy:      #1a2d4f;
  --navy-dark: #111e35;
  --gold:      #b08d42;
  --gold-lt:   #d4aa5a;
  --white:     #ffffff;
  --offwhite:  #f5f5f3;
  --light:     #eaeae6;
  --text:      #2c2c2c;
  --text-muted:#666;
  --radius:    4px;
  --shadow:    0 2px 12px rgba(0,0,0,.12);
  --transition:all .25s ease;
}

/* --- Top Contact Bar -------------------------------------- */
.topbar {
  background: var(--navy-dark);
  color: #b8c5d6;
  font-size: .82rem;
  letter-spacing: .02em;
  padding: .45rem 0;
}

.topbar__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.topbar a {
  color: #b8c5d6;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.topbar a:hover {
  color: var(--gold-lt);
}

/* --- Header / Logo ---------------------------------------- */
.site-header {
  background: var(--white);
  padding: 1.5rem 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}

.site-header__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.site-logo {
  display: block;
  text-decoration: none;
}

.site-logo__img {
  height: 80px;
  width: auto;
}

/* --- Navigation ------------------------------------------- */
.site-nav {
  display: flex;
  align-items: center;
  gap: .1rem;
}

.site-nav__item {
  position: relative;
}

.site-nav__link {
  display: block;
  padding: .55rem .9rem;
  color: #c8d8eb;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .03em;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}

.site-nav__link:hover,
.site-nav__item--active .site-nav__link {
  color: var(--white);
  background: rgba(255,255,255,.1);
}

.site-nav__item--active .site-nav__link {
  color: var(--gold-lt);
}

/* Dropdown */
.site-nav__item--has-dropdown:hover .site-nav__dropdown,
.site-nav__item--has-dropdown:focus-within .site-nav__dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.site-nav__dropdown {
  position: absolute;
  top: calc(100% + .35rem);
  left: 0;
  min-width: 190px;
  background: var(--navy-dark);
  border-top: 2px solid var(--gold);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: var(--transition);
  z-index: 100;
}

.site-nav__dropdown a {
  display: block;
  padding: .65rem 1.1rem;
  color: #c8d8eb;
  font-size: .88rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: var(--transition);
}

.site-nav__dropdown a:last-child { border-bottom: none; }

.site-nav__dropdown a:hover {
  color: var(--white);
  background: rgba(255,255,255,.08);
  padding-left: 1.4rem;
}

/* --- Hero Banner ------------------------------------------ */
.hero {
  background: #054B7F;
  color: var(--white);
  text-align: center;
  padding: 4rem 1.5rem 4.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.hero__headline {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: clamp(2rem, 5vw, 2.9rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: .9rem;
  letter-spacing: -.01em;
}

.hero__headline em {
  color: var(--gold-lt);
  font-style: normal;
}

.hero__sub {
  font-size: 1.05rem;
  color: #b0c4de;
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto;
}

.hero__divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 1.5rem auto 0;
  border-radius: 2px;
}

/* --- Page Section Label ----------------------------------- */
.section-label {
  background: var(--light);
  border-bottom: 1px solid #d8d8d4;
}

.section-label__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: .6rem 1.5rem;
}

.section-label__inner h2 {
  font-size: .82rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* --- Main Content Layout ---------------------------------- */
.main-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* --- Photo Block ------------------------------------------ */
.photo-block {
  position: relative;
}

.photo-block img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 6px 28px rgba(0,0,0,.18);
}

.photo-block__caption {
  margin-top: .6rem;
  font-size: .78rem;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: .04em;
}

/* --- Content Block ---------------------------------------- */
.content-block {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pillars {
  display: flex;
  gap: .65rem;
  flex-wrap: wrap;
}

.pillar {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: var(--navy);
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .45rem 1rem;
  border-radius: 2px;
}

.pillar::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.content-block__body {
  font-size: .975rem;
  color: var(--text);
  line-height: 1.8;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--navy);
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
}

.contact-link:hover {
  color: var(--gold);
}

.contact-icon {
  width: 20px;
  height: 20px;
  fill: var(--gold);
  flex-shrink: 0;
}

.content-divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  margin: 1rem 0;
}

.content-block__cta {
  background: #fff;
  border: 1px solid var(--light);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: .9rem 1.2rem;
  font-weight: 700;
  color: var(--navy);
  font-size: .97rem;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
}

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-weight: 700;
  font-size: .86rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(176,141,66,.35);
  width: fit-content;
}

.btn:hover {
  background: var(--gold-lt);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(176,141,66,.4);
}

/* --- Footer ----------------------------------------------- */
.site-footer {
  background: var(--navy-dark);
  color: #7a93af;
  text-align: center;
  padding: 1.25rem 1.5rem;
  font-size: .82rem;
  letter-spacing: .03em;
}

.site-footer__links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.site-footer__links a {
  color: #7a93af;
  transition: var(--transition);
}

.site-footer__links a:hover {
  color: var(--gold-lt);
}

/* --- Responsive ------------------------------------------- */
@media (max-width: 800px) {
  .main-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .site-nav {
    display: none;
  }

  .hero__headline {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar__inner {
    flex-direction: column;
    gap: .3rem;
    align-items: flex-start;
  }
}
