:root {
  --ui-bg: #f1f1f1;
  --ui-surface: #ffffff;
  --ui-muted: #5e6670;
  --ui-text: #1f2328;
  --ui-accent: #265c83;
  --ui-border: #d8dde3;
}

body {
  background: var(--ui-bg);
  color: var(--ui-text);
}

header.hero-unit {
  margin-bottom: 18px;
  background-image: url(../images/stefan_ullrich_workspace.jpg), linear-gradient(to right, #d6d6d6 0, #d6d6d6 305px, transparent 305px);
  background-repeat: no-repeat, no-repeat;
  background-position: -68px 0, 0 0;
}

header.hero-unit h1 a {
  color: inherit;
}

header.hero-unit h1 a:hover {
  text-decoration: none;
}

header.hero-unit .hero-highlights {
  margin: 16px 0 0 0;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #c9d1db;
}

header.hero-unit .hero-highlights ul {
  margin: 0;
  columns: 2;
}

header.hero-unit .hero-highlights li {
  margin: 0 0 6px;
}

header.hero-unit .intro-inline {
  padding: 20px 30px;
}

header.hero-unit .intro-inline .introduction {
  display: inline;
  padding: 0;
}

header.hero-unit .intro-more {
  display: inline-block;
  margin: 0 0 0 1px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #4f5861;
  vertical-align: baseline;
}

header.hero-unit .intro-more summary {
  cursor: pointer;
  display: inline-block;
  font-weight: 400;
  font-size: 13px;
  list-style: none;
  line-height: 1;
}

header.hero-unit .intro-more summary::-webkit-details-marker {
  display: none;
}

header.hero-unit .intro-more p {
  margin: 10px 0 8px;
  color: #333;
}

header.hero-unit .intro-more ul {
  margin: 0 0 0 18px;
  color: #333;
}

.relaunch-section {
  background: var(--ui-surface);
  margin-top: 18px;
  padding: 28px;
  border: 1px solid var(--ui-border);
}

.relaunch-section h2 {
  margin-top: 0;
  margin-bottom: 12px;
}

.split-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.split-sections .relaunch-section {
  margin-top: 0;
}

.split-sections #leistungen h3,
.split-sections #technologien h3 {
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.6;
  min-height: 0;
  font-size: 19px;
  font-weight: 600;
  color: #3f4750;
}

.split-sections #leistungen ul,
.split-sections #technologien ul {
  margin-top: 2px;
  margin-bottom: 14px;
  padding-top: 0;
}

.relaunch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin-top: 14px;
}

.relaunch-grid ul,
.tech-groups ul,
.project-card ul,
.project-entry ul {
  margin: 0;
}

.tech-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 26px;
}

.projects-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.project-card,
.project-entry {
  border: 1px solid var(--ui-border);
  padding: 16px;
  background: #fbfcfd;
}

.project-card h3,
.project-entry h3 {
  margin-top: 0;
  margin-bottom: 10px;
  line-height: 1.2;
}

.project-card {
  display: flex;
  flex-direction: column;
}

.project-card h3 {
  min-height: 48px;
}

.project-card p {
  margin-top: 0;
}

.project-card p:last-child {
  margin-top: auto;
}

.tags {
  margin: 10px 0 12px;
}

.tags span {
  display: inline-block;
  border: 1px solid #c8d2dc;
  padding: 2px 8px;
  margin: 0 6px 6px 0;
  font-size: 13px;
  background: #f4f7fa;
}

.project-list {
  display: grid;
  gap: 16px;
}

.back-link {
  margin-top: 20px;
}

.proposal {
  margin-top: 12px;
  border-top: 1px dashed #cfd6de;
  padding-top: 10px;
}

.project-footer.hero-unit {
  margin-top: 22px;
  margin-bottom: 0;
  padding: 14px 18px;
  text-align: center;
}

.project-footer-buttons {
  margin: 0;
  text-align: center;
}

.project-footer-buttons .btn + .btn {
  margin-left: 8px;
}

.project-slider {
  margin-top: 10px;
}

.project-slider-frame {
  border: 1px solid #cfd6de;
  background: #f4f4f4;
  padding: 10px;
  position: relative;
}

.project-slider-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.project-slider-caption {
  margin: 8px 0 10px;
  font-style: italic;
}

.project-slider .slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: 1px solid #9aa5b1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #38414a;
  font-size: 24px;
  line-height: 1;
  padding: 0;
}

.project-slider .slider-prev {
  left: 14px;
}

.project-slider .slider-next {
  right: 14px;
}

#contact footer.hero-unit > .span3:nth-child(2),
#contact footer.hero-unit > .span4 {
  margin-top: 8px;
}

@media (max-width: 980px) {
  body {
    margin: 10px 0;
  }

  header.hero-unit {
    padding: 14px;
    background-image: none;
    background-position: initial;
    margin-bottom: 18px;
  }

  header.hero-unit .intro-inline {
    padding: 14px 0;
  }

  #contact footer.hero-unit > .span3:nth-child(2),
  #contact footer.hero-unit > .span4 {
    margin-top: 0;
  }

  .relaunch-grid,
  .split-sections,
  .tech-groups,
  .projects-cards {
    grid-template-columns: 1fr;
  }

  header.hero-unit .hero-highlights ul {
    columns: 1;
  }
}
