@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Lato:wght@300;400;700&display=swap');

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

:root {
  --white:   #ffffff;
  --light:   #F7F6F2;
  --red:     #d40000;
  --dark:    #1a1a1a;
  --mid:     #4d4d4d;
  --border:  #e2e0da;
  --shadow:  0 2px 20px rgba(0,0,0,.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--mid);
  background: var(--white);
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--dark);
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

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

ul { list-style: none; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section--light { background: var(--light); }
.section--dark  { background: var(--dark); color: #ccc; }
.section--dark h2, .section--dark h3 { color: var(--white); }

.section-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .5rem;
}

.section-title { margin-bottom: 1rem; }
.section-intro { max-width: 620px; margin-bottom: 3rem; font-size: 1.05rem; }
.text-center { text-align: center; }
.text-center .section-intro { margin-left: auto; margin-right: auto; }

/* ─── Buttons ──────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: .75rem 1.75rem;
  font-family: 'Lato', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  border-radius: 3px;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--red);
}
.btn-primary:hover { background: #b00000; border-color: #b00000; text-decoration: none; }

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--dark);
}
.btn-outline:hover { background: var(--dark); color: var(--white); text-decoration: none; }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline-white:hover { background: var(--white); color: var(--dark); text-decoration: none; }

/* ─── Navigation ───────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav__logo img { height: 40px; width: auto; }
.nav__logo:hover { text-decoration: none; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__links a {
  color: var(--mid);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  transition: color .2s;
}
.nav__links a:hover, .nav__links a.active { color: var(--red); text-decoration: none; }

.nav__cta { margin-left: 1rem; }

.nav__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: all .3s;
}

.nav__mobile {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 1.5rem 1.5rem;
}
.nav__mobile.open { display: block; }
.nav__mobile a {
  display: block;
  padding: .6rem 0;
  color: var(--mid);
  font-weight: 700;
  font-size: .95rem;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}
.nav__mobile a:last-child { border-bottom: none; margin-top: 1rem; }

/* ─── Hero ─────────────────────────────────────────── */
.hero {
  background: var(--light);
  background-image:
    radial-gradient(ellipse at 85% 10%, rgba(212,0,0,.07) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(212,0,0,.04) 0%, transparent 45%);
  padding: 90px 0 70px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 4px;
  height: 100%;
  background: var(--red);
  opacity: .15;
}

/* ─── Availability badge ────────────────────────────── */
.avail-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(0,130,0,.08);
  border: 1px solid rgba(0,130,0,.22);
  border-radius: 20px;
  padding: .3rem 1rem;
  font-size: .8rem;
  font-weight: 700;
  color: #005a00;
  margin-bottom: 1rem;
  letter-spacing: .02em;
}
.avail-badge i { color: #00a000; font-size: .75rem; }

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}

.hero__title { margin-bottom: 1.25rem; }
.hero__title span { color: var(--red); }
.hero__text { font-size: 1.1rem; margin-bottom: 2rem; max-width: 480px; }

.hero__buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.info-card__icon {
  font-size: 1.5rem;
  margin-bottom: .5rem;
  color: var(--red);
}

.info-card__value {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
  margin-bottom: .25rem;
}

.info-card__label { font-size: .85rem; color: var(--mid); }

/* ─── Client Bar ────────────────────────────────────── */
.clients {
  background: var(--dark);
  padding: 40px 0;
}

.clients__label {
  text-align: center;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 1.75rem;
}

.clients__row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 0;
}

.client-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: 0 2rem;
  border-right: 1px solid #333;
}
.client-item:last-child { border-right: none; }

.client-item__name {
  font-size: .95rem;
  font-weight: 700;
  color: #bbb;
  letter-spacing: .03em;
}

.client-item__sector {
  font-size: .75rem;
  color: #666;
}

/* ─── Services Cards ────────────────────────────────── */
.services__grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 24px;
  align-items: stretch;
}

.service-card {
  border-radius: 8px;
  padding: 2.5rem;
  border: 1px solid var(--border);
}

.service-card--primary {
  background: var(--dark);
  border-color: var(--dark);
  position: relative;
  overflow: hidden;
}

.service-card--primary::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--red);
}

.service-card--primary h3 { color: var(--white); }
.service-card--primary p  { color: #aaa; }

.service-card--secondary { background: var(--light); }

.service-card__badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .2rem .6rem;
  border-radius: 2px;
  margin-bottom: 1rem;
}

.service-card__badge--outline {
  background: transparent;
  border: 1px solid var(--mid);
  color: var(--mid);
}

.service-card h3 { margin-bottom: .75rem; font-size: 1.4rem; }

.service-list { margin-top: 1.25rem; }
.service-list li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  padding: .4rem 0;
  font-size: .95rem;
}
.service-list li i { margin-top: 3px; flex-shrink: 0; }
.service-card--primary .service-list li { color: #ccc; }
.service-card--primary .service-list li i { color: var(--red); }
.service-card--secondary .service-list li i { color: var(--red); }

/* ─── Stats ─────────────────────────────────────────── */
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-box {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--white);
  border-radius: 6px;
  border: 1px solid var(--border);
}

.stat-box__value {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}

.stat-box__label {
  font-size: .9rem;
  color: var(--mid);
  margin-top: .4rem;
}

/* ─── Skills ─────────────────────────────────────────── */
.skills__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.skill-group {
  background: var(--white);
  border-radius: 6px;
  padding: 1.5rem;
  border: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  align-content: flex-start;
}

.skill-group__title {
  width: 100%;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .65rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--border);
}

.skill-tag {
  display: inline-block;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 400;
  color: var(--mid);
  padding: .18rem .65rem;
  white-space: nowrap;
}

/* ─── Certs ─────────────────────────────────────────── */
.certs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.cert-badge {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow);
  min-width: 260px;
}

.cert-badge i { font-size: 1.5rem; color: var(--red); flex-shrink: 0; }
.cert-badge__name { font-size: .9rem; font-weight: 700; color: var(--dark); }
.cert-badge__issuer { font-size: .8rem; color: #888; }

/* ─── CTA Banner ─────────────────────────────────────── */
.cta-banner {
  background: var(--red);
  padding: 70px 0;
  text-align: center;
}

.cta-banner h2 { color: var(--white); margin-bottom: .75rem; }
.cta-banner p  { color: rgba(255,255,255,.85); margin-bottom: 2rem; font-size: 1.1rem; }

/* ─── Leistungen Page ─────────────────────────────────── */
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: steps;
}

.process-step {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}

.process-step__num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.process-step h3 { margin-bottom: .5rem; font-size: 1rem; }
.process-step p { font-size: .9rem; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-item {
  padding: 1.5rem;
  background: var(--white);
  border-radius: 6px;
  border: 1px solid var(--border);
}

.feature-item i { font-size: 1.5rem; color: var(--red); margin-bottom: .75rem; }
.feature-item h3 { font-size: 1rem; margin-bottom: .4rem; }
.feature-item p  { font-size: .9rem; margin: 0; }

/* ─── Referenzen Page ─────────────────────────────────── */
.timeline { max-width: 800px; margin: 0 auto; }

.timeline-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.timeline-item:last-child { border-bottom: none; }

.timeline-item__date {
  text-align: right;
  padding-top: .2rem;
}

.timeline-item__period {
  font-size: .85rem;
  font-weight: 700;
  color: var(--red);
  display: block;
}

.timeline-item__company {
  font-size: .8rem;
  color: #888;
  margin-top: .25rem;
}

.timeline-item__content h3 { margin-bottom: .25rem; font-size: 1.1rem; }

.timeline-item__role {
  font-size: .85rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .75rem;
}

.timeline-item__list { padding-left: 0; }
.timeline-item__list li {
  display: flex;
  gap: .5rem;
  font-size: .9rem;
  padding: .2rem 0;
  color: var(--mid);
}
.timeline-item__list li::before { content: '–'; color: var(--red); flex-shrink: 0; }

/* ─── Über uns Page ──────────────────────────────────── */
.team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
}

.team-card__photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
}

.team-card__placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--mid);
}

.team-card__body { padding: 1.5rem; }
.team-card__name { font-size: 1.1rem; margin-bottom: .2rem; }
.team-card__role { font-size: .85rem; color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-grid img {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-grid__placeholder {
  background: var(--light);
  border-radius: 8px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: var(--border);
}

/* ─── Kontakt Page ───────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info__item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
  align-items: flex-start;
}

.contact-info__item i {
  font-size: 1.2rem;
  color: var(--red);
  margin-top: 3px;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}

.contact-info__label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #888; margin-bottom: .15rem; }
.contact-info__value { color: var(--dark); font-weight: 400; }

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: 'Lato', sans-serif;
  font-size: .95rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color .2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--red);
}

.form-group textarea { resize: vertical; min-height: 140px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ─── Legal Pages ────────────────────────────────────── */
.legal { max-width: 800px; margin: 0 auto; }
.legal h2 { margin: 2rem 0 .75rem; font-size: 1.3rem; }
.legal h3 { margin: 1.5rem 0 .5rem; font-size: 1.1rem; }
.legal p, .legal li { font-size: .95rem; line-height: 1.8; margin-bottom: .6rem; }
.legal ul, .legal ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal ul li { list-style: disc; }
.legal ol li { list-style: decimal; }

/* ─── Page Hero ──────────────────────────────────────── */
.page-hero {
  background: var(--light);
  padding: 60px 0 50px;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 { margin-bottom: .5rem; }
.page-hero p  { font-size: 1.1rem; max-width: 560px; }

/* ─── Team card skill pills ─────────────────────────── */
.team-card__skills {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-top: .85rem;
  padding-top: .85rem;
  border-top: 1px solid var(--border);
}
.team-card__skills span {
  font-size: .75rem;
  font-weight: 400;
  color: var(--mid);
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: .18rem .65rem;
  white-space: nowrap;
}

/* ─── LinkedIn / Social ─────────────────────────────── */
.linkedin-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  font-weight: 700;
  color: #0077b5;
  border: 1px solid #0077b5;
  border-radius: 3px;
  padding: .3rem .75rem;
  margin-top: .75rem;
  transition: background .2s, color .2s;
  text-decoration: none;
}
.linkedin-btn:hover { background: #0077b5; color: #fff; text-decoration: none; }

.footer__social { display: flex; gap: .5rem; margin-top: .75rem; flex-wrap: wrap; }
.footer__social a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .82rem;
  color: #888;
  border: 1px solid #333;
  border-radius: 3px;
  padding: .25rem .65rem;
  transition: color .2s, border-color .2s;
}
.footer__social a:hover { color: #fff; border-color: #777; text-decoration: none; }

/* ─── Trust strip ───────────────────────────────────── */
.trust-strip {
  background: var(--dark);
  padding: 44px 0;
  text-align: center;
}
.trust-strip__label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 1.5rem;
}
.trust-strip__items {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 32px;
}
.trust-strip__item {
  font-size: .9rem;
  font-weight: 700;
  color: #aaa;
  display: flex;
  align-items: center;
  gap: .45rem;
}
.trust-strip__item i { color: var(--red); }

/* ─── Footer ─────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: #888;
  padding: 60px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #333;
}

.footer__logo img { height: 36px; margin-bottom: 1rem; filter: brightness(10); }
.footer__tagline { font-size: .9rem; line-height: 1.6; max-width: 280px; }

.footer__heading {
  font-family: 'Lato', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 1rem;
}

.footer__links li { margin-bottom: .5rem; }
.footer__links a { color: #888; font-size: .9rem; transition: color .2s; }
.footer__links a:hover { color: var(--white); text-decoration: none; }

.footer__contact p {
  font-size: .9rem;
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin-bottom: .6rem;
}
.footer__contact i { color: var(--red); margin-top: 3px; flex-shrink: 0; }
.footer__contact a { color: #888; }
.footer__contact a:hover { color: var(--white); }

.footer__bottom {
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
}

.footer__bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer__bottom-links a { color: #888; }
.footer__bottom-links a:hover { color: var(--white); }

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 900px) {
  .hero__grid         { grid-template-columns: 1fr; gap: 40px; }
  .hero__cards        { grid-template-columns: repeat(4, 1fr); }
  .services__grid     { grid-template-columns: 1fr; }
  .stats__grid        { grid-template-columns: repeat(2, 1fr); }
  .skills__grid       { grid-template-columns: repeat(3, 1fr); }
  .team__grid         { grid-template-columns: repeat(2, 1fr); }
  .footer__grid       { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
  .contact-grid       { grid-template-columns: 1fr; gap: 40px; }
  .about-grid         { grid-template-columns: 1fr; }
  .process__steps     { grid-template-columns: repeat(2, 1fr); }
  .feature-grid       { grid-template-columns: repeat(2, 1fr); }
  .timeline-item      { grid-template-columns: 100px 1fr; gap: 20px; }

  .nav__links         { display: none; }
  .nav__burger        { display: flex; }
}

@media (max-width: 600px) {
  .section            { padding: 60px 0; }
  .hero               { padding: 60px 0 50px; }
  .hero__cards        { grid-template-columns: repeat(2, 1fr); }
  .stats__grid        { grid-template-columns: 1fr 1fr; }
  .skills__grid       { grid-template-columns: 1fr; }
  .team__grid         { grid-template-columns: 1fr; }
  .footer__grid       { grid-template-columns: 1fr; }
  .footer__bottom     { flex-direction: column; gap: .75rem; text-align: center; }
  .footer__bottom-links { justify-content: center; }
  .process__steps     { grid-template-columns: 1fr 1fr; }
  .feature-grid       { grid-template-columns: 1fr; }
  .timeline-item      { grid-template-columns: 1fr; }
  .timeline-item__date { text-align: left; }
  .form-row           { grid-template-columns: 1fr; }
  .certs__list        { flex-direction: column; }
  .cert-badge         { min-width: auto; }
  .client-item        { padding: 0 1rem; }
}
