/* ── RESET & VARIABLES ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:         #f8f7f4;
  --bg2:        #f0eff9;
  --surface:    #ffffff;
  --border:     rgba(0, 0, 0, 0.08);
  --text:       #111013;
  --muted:      #6e6c7a;
  --accent:     #5b52f0;
  --accent-light: rgba(91, 82, 240, 0.1);
  --accent-glow:  rgba(91, 82, 240, 0.25);
  --radius:     10px;
  --header-h:   72px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}


/* ── HEADER ── */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  padding: 0 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(248, 247, 244, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

header.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}


/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 34px;
  width: auto;
}

.logo-text {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

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


/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s;
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.nav a:hover {
  color: var(--text);
}

.nav a:hover::after {
  width: 100%;
}


/* Kontakt Button */
.btn-kontakt {
  flex-shrink: 0;
  padding: 0.55rem 1.4rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}

.btn-kontakt:hover {
  background: #4a42d4;
  box-shadow: 0 4px 20px var(--accent-glow);
  transform: translateY(-1px);
}


/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 4rem) 6rem 6rem;
  gap: 5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 6rem;
  padding-right: 6rem;
}

.hero-top {
  justify-content: flex-start;
  align-items: center;
  gap: 4rem;
}

.hero-logo {
  max-width: 260px;
  flex-shrink: 0;
}

.hero-tagline {
  flex: 1;
}

.hero-detail {
  display: block;
  width: 48px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.hero-tagline h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hover-line {
  display: block;
  color: var(--text);
}

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

.hero-bottom {
  display: flex;
  align-items: center;
  gap: 5rem;
}

.hero-bottom-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.hero-bottom-text h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.hero-bottom-text p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 420px;
}

.hero-bottom-image {
  flex: 1;
}

.hero-bottom-image img {
  width: 100%;
  border-radius: 16px;
  display: block;
}

.hero-top {
  justify-content: center;
}

.hero-logo {
  max-width: 280px;
}

.hero {
  gap: 8rem;
}


/* ── LEISTUNG ── */

#leistungen {
  padding: 6rem 6rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  margin-top: 0.5rem;
  margin-bottom: 3rem;
}

.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.leistung-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.leistung-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
  transform: translateY(-3px);
}

.leistung-icon {
  font-size: 2rem;
}

.leistung-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
}

.leistung-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.leistung-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

#leistungen h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ── UEBER-UNS ── */

#ueber-uns {
  padding: 6rem 6rem;
  max-width: 1200px;
  margin: 0 auto;
}

#ueber-uns h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ueber-uns-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.gruender-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.gruender-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0.5rem;
}

.gruender-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
}

.gruender-rolle {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.gruender-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-top: 0.4rem;
}

/* ── VORTEILE ── */

#vorteile {
  padding: 6rem 6rem;
  max-width: 1200px;
  margin: 0 auto;
}

#vorteile h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.vorteile-list {
  display: flex;
  flex-direction: column;
  margin-top: 3rem;
}

.vorteil {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.vorteil:first-child {
  border-top: 1px solid var(--border);
}

.vorteil-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--accent);
  min-width: 52px;
}

.vorteil-content h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.vorteil-content p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ── Kontakt ── */

#kontakt {
  padding: 6rem 6rem;
  max-width: 1200px;
  margin: 0 auto;
}

#kontakt h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.kontakt-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 6rem;
  align-items: start;
}

.kontakt-info {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.kontakt-link {
  font-size: 0.95rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.kontakt-link:hover {
  color: var(--accent);
}

.kontakt-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--surface);
  outline: none;
  transition: border-color 0.2s;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
}

/* ── Footer ── */

footer {
  background: var(--text);
  color: #fff;
  padding: 4rem 8% 2rem;
  margin-top: 6rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  height: 40px;
  margin-bottom: 1rem;
  filter: invert(1);
}

.footer-left p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  max-width: 240px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links h4 {
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.4rem;
}

.footer-links a,
.footer-links span {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* ── ANIMATION ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  header {
    padding: 0 1.5rem;
  }

  section:not(.hero) {
    padding: 4rem 1.5rem;
  }
}