/* ===== VARIABLES ===== */
:root {
  --color-primary:       #2d7a3a;
  --color-primary-dark:  #1e5429;
  --color-primary-light: #3d9c4e;
  --color-accent:        #f0a500;
  --color-accent-dark:   #c98a00;
  --color-bg:            #f8f9fa;
  --color-bg-white:      #ffffff;
  --color-bg-dark:       #1a1a2e;
  --color-text:          #1a1a2e;
  --color-text-muted:    #6c757d;
  --color-border:        #e2e8f0;
  --font-body:           'Inter', sans-serif;
  --font-heading:        'Poppins', sans-serif;
  --shadow-sm:  0 2px 8px rgba(0,0,0,.08);
  --shadow-md:  0 4px 20px rgba(0,0,0,.12);
  --radius:     12px;
  --header-h:   70px;
  --ease:       .25s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 { font-family: var(--font-heading); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }

.section-eyebrow {
  display: inline-block;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: .5rem;
}
.section-title { margin-bottom: 1rem; }
.section-sub {
  color: var(--color-text-muted);
  max-width: 600px;
  margin-bottom: 3rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: .85rem 2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
}
.btn-primary { background: var(--color-accent); color: var(--color-bg-dark); }
.btn-primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-full { width: 100%; text-align: center; border-radius: var(--radius); }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.main-nav a {
  font-weight: 500;
  font-size: .95rem;
  color: var(--color-text);
  transition: color var(--ease);
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transition: transform var(--ease);
}
.main-nav a:hover       { color: var(--color-primary); }
.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }

.nav-cta {
  background: var(--color-primary);
  color: #fff !important;
  padding: .5rem 1.25rem;
  border-radius: 50px;
  transition: background var(--ease), transform var(--ease) !important;
}
.nav-cta:hover  { background: var(--color-primary-dark) !important; transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== SECTIONS ===== */
.section { padding: 5rem 0; }
.ueber-mich { background: var(--color-bg-white); }
.kontakt    { background: var(--color-bg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1e5429 0%, #2d7a3a 45%, #3d9c4e 75%, #52c967 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 4rem 0;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  padding: .3rem 1rem;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-content h1 { color: #fff; margin-bottom: 1.5rem; }
.hero-sub {
  font-size: 1.15rem;
  max-width: 550px;
  margin-bottom: 2.5rem;
  opacity: .9;
  line-height: 1.8;
}

/* ===== LEISTUNGEN ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--color-bg-white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid transparent;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}
.card-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.card h3   { margin-bottom: .75rem; }
.card p    { color: var(--color-text-muted); font-size: .95rem; }

/* ===== ÜBER MICH ===== */
.ueber-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: center;
}
.image-placeholder {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1.1rem;
  border: 2px dashed var(--color-primary);
}
.ueber-subtitle {
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 1rem;
}
.ueber-text p { color: var(--color-text-muted); margin-bottom: 1.5rem; }
.qualifications { margin-bottom: 2rem; }
.qualifications li {
  padding: .5rem 0;
  font-size: .95rem;
  border-bottom: 1px solid var(--color-border);
}
.qualifications li:last-child { border-bottom: none; }

/* ===== KONTAKT ===== */
.kontakt-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row     { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group   { display: flex; flex-direction: column; gap: .4rem; }

label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--color-text);
}
input, textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-bg-white);
  transition: border-color var(--ease);
  resize: vertical;
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}
input::placeholder, textarea::placeholder { color: #adb5bd; }

.success-msg {
  background: var(--color-bg-white);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
}
.success-icon     { font-size: 3rem; margin-bottom: 1rem; }
.success-msg h3   { color: var(--color-primary); margin-bottom: .5rem; }
.success-msg p    { color: var(--color-text-muted); }

.kontakt-info {
  background: var(--color-primary);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: #fff;
}
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.info-icon { font-size: 1.5rem; flex-shrink: 0; }
.info-item strong {
  display: block;
  font-size: .85rem;
  opacity: .8;
  margin-bottom: .2rem;
}
.info-item a, .info-item span { color: #fff; font-weight: 500; }
.info-item a:hover { text-decoration: underline; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,.7);
  padding: 1.5rem 0;
  font-size: .875rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-nav          { display: flex; gap: 1.5rem; }
.footer-nav a:hover  { color: #fff; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-110%);
    transition: transform var(--ease);
    z-index: 99;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a    { font-size: 1.1rem; }

  .ueber-inner   { grid-template-columns: 1fr; }
  .image-placeholder { aspect-ratio: 4/3; max-width: 320px; }

  .kontakt-inner { grid-template-columns: 1fr; }
  .form-row      { grid-template-columns: 1fr; }

  .cards-grid    { grid-template-columns: 1fr; }

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

@media (max-width: 480px) {
  .section       { padding: 3.5rem 0; }
  .hero-content  { padding: 2.5rem 0; }
}
