/*
Theme Name: Gundermann Buchhaltung
Theme URI: https://gundermann-buchhaltung.de
Author: Gundermann Buchhaltung
Description: Professionelles Theme für Gundermann Buchhaltung – Freelancer für Finanzbuchhaltung.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: gundermann
*/

:root {
  --green-dark: #1B3A2D;
  --green-mid: #2A5C43;
  --cream: #F4F0E8;
  --cream-dark: #E8E2D4;
  --gold: #B8963C;
  --gold-light: #D4B46A;
  --text: #2A2520;
  --text-mid: #5A5248;
  --text-light: #8A8278;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  background: var(--cream);
  color: var(--text);
  font-weight: 300;
  line-height: 1.7;
}

/* NAV */
nav.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--cream-dark);
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.logo-text { display: flex; flex-direction: column; line-height: 1.1; }

.logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px;
  font-weight: 600;
  color: var(--green-dark);
  letter-spacing: 0.03em;
}

.logo-sub {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-mid);
  font-weight: 400;
}

.site-nav .nav-menu {
  display: flex;
  gap: 40px;
  list-style: none;
}

.site-nav .nav-menu a {
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: color 0.25s;
}

.site-nav .nav-menu a:hover { color: var(--green-dark); }

.site-nav .nav-menu .nav-cta > a {
  background: var(--green-dark);
  color: var(--cream);
  padding: 10px 26px;
  border-radius: 2px;
}

.site-nav .nav-menu .nav-cta > a:hover {
  background: var(--green-mid);
  color: var(--cream);
}

/* HERO */
.hero {
  min-height: 100vh;
  background: var(--green-dark);
  display: flex;
  align-items: center;
  padding: 100px 60px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(0deg,
    transparent, transparent 39px,
    rgba(255,255,255,0.025) 39px, rgba(255,255,255,0.025) 40px);
  pointer-events: none;
}

.hero-content { position: relative; max-width: 780px; }

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 44px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(46px, 6.5vw, 82px);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.08;
  margin-bottom: 36px;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-sub {
  font-size: 16px;
  color: rgba(244,240,232,0.6);
  max-width: 530px;
  margin-bottom: 52px;
  font-weight: 300;
  line-height: 1.85;
}

.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-primary {
  background: var(--gold);
  color: var(--green-dark);
  padding: 15px 38px;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 2px;
  transition: background 0.25s;
  display: inline-block;
}

.btn-primary:hover { background: var(--gold-light); }

.btn-outline {
  border: 1px solid rgba(244,240,232,0.25);
  color: var(--cream);
  padding: 15px 38px;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: border-color 0.25s;
}

.btn-outline:hover { border-color: rgba(244,240,232,0.7); }

.hero-deco {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.055;
  pointer-events: none;
}

/* SECTION COMMON */
.section-eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 300;
  color: var(--green-dark);
  line-height: 1.12;
}

/* SERVICES */
.services {
  padding: 110px 60px;
  background: var(--cream);
}

.section-header { margin-bottom: 64px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--cream-dark);
}

.service-card {
  background: var(--cream);
  padding: 56px 52px;
  transition: background 0.35s;
}

.service-card:hover { background: var(--green-dark); }

.service-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 64px;
  font-weight: 300;
  color: var(--cream-dark);
  line-height: 1;
  margin-bottom: 24px;
  transition: color 0.35s;
}

.service-card:hover .service-num { color: rgba(255,255,255,0.07); }

.service-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--green-dark);
  margin-bottom: 18px;
  transition: color 0.35s;
}

.service-card:hover .service-title { color: var(--cream); }

.service-body {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 24px;
  transition: color 0.35s;
}

.service-card:hover .service-body { color: rgba(244,240,232,0.55); }

.service-list { list-style: none; }

.service-list li {
  font-size: 14px;
  color: var(--text-mid);
  padding: 8px 0;
  border-bottom: 1px solid var(--cream-dark);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: color 0.35s, border-color 0.35s;
}

.service-card:hover .service-list li {
  color: rgba(244,240,232,0.55);
  border-color: rgba(255,255,255,0.07);
}

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

/* ABOUT */
.about {
  background: var(--green-dark);
  padding: 110px 60px;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 100px;
  align-items: center;
}

.about-img-wrap { position: relative; }

.about-img {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--green-mid);
  border-radius: 2px;
  overflow: hidden;
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0.88;
}

.about-frame {
  position: absolute;
  bottom: -22px;
  right: -22px;
  width: 130px;
  height: 130px;
  border: 1px solid var(--gold);
  border-radius: 2px;
}

.about-content .section-eyebrow { color: var(--gold); }
.about-content .section-eyebrow::before { background: var(--gold); }
.about-content .section-title { color: var(--cream); }

.about-body {
  color: rgba(244,240,232,0.58);
  font-size: 16px;
  line-height: 1.9;
  margin-top: 28px;
}

.about-traits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.06);
  margin-top: 52px;
}

.trait {
  background: rgba(0,0,0,0.15);
  padding: 24px 28px;
}

.trait-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: var(--cream);
  margin-bottom: 6px;
}

.trait-desc {
  font-size: 13px;
  color: rgba(244,240,232,0.42);
  line-height: 1.6;
}

/* CTA */
.cta {
  background: var(--cream);
  padding: 120px 60px;
  text-align: center;
}

.cta .section-eyebrow { justify-content: center; }
.cta .section-eyebrow::before { display: none; }
.cta .section-eyebrow::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.cta .section-title { max-width: 580px; margin: 0 auto 20px; }

.cta-body {
  font-size: 16px;
  color: var(--text-mid);
  max-width: 480px;
  margin: 0 auto 52px;
}

.cta-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 72px;
  padding-top: 52px;
  border-top: 1px solid var(--cream-dark);
}

.meta-item { text-align: center; }

.meta-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 8px;
}

.meta-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--green-dark);
}

/* FOOTER */
.site-footer {
  background: var(--green-dark);
  padding: 36px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.footer-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  color: rgba(244,240,232,0.75);
}

.footer-links { display: flex; gap: 32px; list-style: none; }

.footer-links a {
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244,240,232,0.35);
  transition: color 0.25s;
}

.footer-links a:hover { color: rgba(244,240,232,0.75); }

.footer-copy { font-size: 11px; color: rgba(244,240,232,0.25); }

/* ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 960px) {
  nav.site-nav { padding: 0 24px; }
  .site-nav .nav-menu { display: none; }
  .hero { padding: 100px 24px 60px; }
  .services { padding: 72px 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .about { padding: 72px 24px; grid-template-columns: 1fr; }
  .about-img-wrap { display: none; }
  .cta { padding: 72px 24px; }
  .site-footer { padding: 32px 24px; flex-direction: column; text-align: center; }
}

/* WordPress core alignment classes */
.aligncenter { display: block; margin: 0 auto; }
.alignleft { float: left; margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }
.wp-caption { max-width: 100%; }
