.upstruct-site {
  min-height: 100vh;
  background: var(--site-background);
  color: var(--site-text);
  font-family: var(--site-font-body), Arial, Helvetica, sans-serif;
}

.upstruct-site *,
.upstruct-site *::before,
.upstruct-site *::after {
  box-sizing: border-box;
}

.upstruct-site h1,
.upstruct-site h2,
.upstruct-site h3,
.upstruct-site h4,
.upstruct-site h5,
.upstruct-site h6 {
  color: var(--site-text);
  font-family: var(--site-font-heading), Arial, Helvetica, sans-serif;
}

.upstruct-site p {
  color: var(--site-text-muted);
}

.upstruct-site > header {
  border-bottom: 1px solid color-mix(in srgb, var(--site-text) 12%, transparent);
  background: var(--site-surface);
}

.upstruct-site > header > div {
  width: min(100% - 3rem, 72rem);
  margin: 0 auto;
}

.upstruct-site > header a {
  color: var(--site-text);
  text-decoration: none;
}

.upstruct-site > header > div > a {
  font-family: var(--site-font-heading), Arial, Helvetica, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
}

.upstruct-site > header nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.upstruct-site > header nav a {
  font-size: 0.9375rem;
  font-weight: 600;
}

.upstruct-site > header nav a:hover {
  color: var(--site-primary);
}

/* Header Simple */
.upstruct-site > header[data-header-variant="simple"] > div {
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Header Centered */
.upstruct-site > header[data-header-variant="centered"] > div {
  display: grid;
  justify-items: center;
  gap: 1rem;
  padding: 1.5rem 0 1.25rem;
  text-align: center;
}

.upstruct-site > header[data-header-variant="centered"] > div > a {
  font-size: 1.35rem;
  font-weight: 800;
}

.upstruct-site > header[data-header-variant="centered"] nav {
  width: 100%;
  padding-top: 1rem;
  border-top: 1px solid color-mix(in srgb, var(--site-text) 10%, transparent);
}

.upstruct-site > header[data-header-variant="centered"] nav ul {
  justify-content: center;
}

.upstruct-site-content {
  background: var(--site-background);
}

.upstruct-site-content > div > section {
  padding: var(--site-section-spacing) 1.5rem;
}

.upstruct-site-content > div:nth-child(even) > section {
  background: var(--site-surface);
}

.upstruct-site-content > div > section > div {
  width: min(100%, 72rem);
  margin: 0 auto;
}

.upstruct-site-content h1 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 750;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.upstruct-site-content h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 720;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.upstruct-site-content h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}

.upstruct-site-content p {
  max-width: 68ch;
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.75;
}

.upstruct-site-content section > div {
  display: grid;
  gap: var(--site-content-gap);
}

.upstruct-site-content section a {
  display: inline-flex;
  width: fit-content;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.1rem;
  border-radius: var(--site-radius);
  background: var(--site-primary);
  color: #ffffff;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  transition:
    transform 150ms ease,
    opacity 150ms ease;
}

.upstruct-site-content section a:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.upstruct-site-content img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--site-radius);
}

.upstruct-site-content ul,
.upstruct-site-content ol {
  margin: 0;
  padding-left: 1.25rem;
}

.upstruct-site-legal {
  background: var(--site-background);
  color: var(--site-text);
}

.upstruct-site-legal a {
  color: var(--site-primary);
}

.upstruct-site-legal p {
  color: var(--site-text-muted);
}

.upstruct-site > footer {
  border-top: 1px solid color-mix(in srgb, var(--site-text) 12%, transparent);
  background: var(--site-secondary);
  color: #ffffff;
}

.upstruct-site > footer > div {
  width: min(100% - 3rem, 72rem);
  margin: 0 auto;
  padding: 2.5rem 0;
}

.upstruct-site > footer a,
.upstruct-site > footer p {
  color: inherit;
  text-decoration: none;
}

.upstruct-site > footer nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Footer Simple: direkte Elemente im Footer-Container */
.upstruct-site > footer > div > p:first-child {
  font-family: var(--site-font-heading), Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
}

.upstruct-site > footer > div > nav {
  margin: 1.25rem 0;
}

.upstruct-site > footer > div > nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.upstruct-site > footer > div > nav a {
  opacity: 0.82;
}

.upstruct-site > footer > div > nav a:hover {
  opacity: 1;
}

/* Footer Columns: drei innere Spalten */
.upstruct-site > footer > div:has(> div) {
  display: grid;
  grid-template-columns:
    minmax(0, 1.15fr)
    minmax(0, 1fr)
    minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.upstruct-site > footer > div:has(> div) > div:first-child a {
  display: inline-block;
  max-width: 16rem;
  color: #ffffff;
  font-family: var(--site-font-heading), Arial, Helvetica, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
}

.upstruct-site > footer > div:has(> div) > div:nth-child(2) nav::before {
  display: block;
  margin-bottom: 1rem;
  color: color-mix(in srgb, #ffffff 65%, transparent);
  content: "Navigation";
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.upstruct-site > footer > div:has(> div) > div:nth-child(2) ul {
  display: grid;
  gap: 0.7rem;
}

.upstruct-site > footer > div:has(> div) > div:nth-child(2) a {
  color: #ffffff;
  opacity: 0.84;
}

.upstruct-site > footer > div:has(> div) > div:nth-child(2) a:hover {
  opacity: 1;
}

.upstruct-site > footer > div:has(> div) > div:last-child {
  display: flex;
  justify-content: flex-end;
}

.upstruct-site > footer > div:has(> div) > div:last-child p {
  max-width: 14rem;
  color: color-mix(in srgb, #ffffff 68%, transparent);
  font-size: 0.875rem;
  line-height: 1.6;
  text-align: right;
}

.upstruct-section--hero > section {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--site-primary) 12%, var(--site-background)),
    var(--site-background) 58%,
    color-mix(in srgb, var(--site-accent) 10%, var(--site-background))
  );
}

.upstruct-section--hero > section > div {
  min-height: 30rem;
  align-content: center;
  justify-items: start;
}

.upstruct-section--hero > section p:first-child {
  color: var(--site-primary);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.upstruct-section--services > section > div,
.upstruct-section--benefits > section > div,
.upstruct-section--process > section > div,
.upstruct-section--testimonials > section > div,
.upstruct-section--projects > section > div,
.upstruct-section--pricing > section > div,
.upstruct-section--faq > section > div,
.upstruct-section--contact > section > div {
  gap: calc(var(--site-content-gap) * 1.25);
}

.upstruct-section--services ul,
.upstruct-section--benefits ul,
.upstruct-section--process ul,
.upstruct-section--testimonials ul,
.upstruct-section--projects ul,
.upstruct-section--pricing ul,
.upstruct-section--faq ul,
.upstruct-section--contact ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1rem;
  padding: 0;
  list-style: none;
}

.upstruct-section--services li,
.upstruct-section--benefits li,
.upstruct-section--process li,
.upstruct-section--testimonials li,
.upstruct-section--projects li,
.upstruct-section--pricing li,
.upstruct-section--faq li,
.upstruct-section--contact li {
  padding: 1.5rem;
  border: 1px solid color-mix(in srgb, var(--site-text) 10%, transparent);
  border-radius: var(--site-radius);
  background: var(--site-surface);
}

.upstruct-section--about > section > div {
  max-width: 54rem;
}

.upstruct-section--about p {
  font-size: clamp(1.125rem, 2vw, 1.35rem);
  line-height: 1.8;
}

.upstruct-section--cta > section {
  background: var(--site-primary);
}

.upstruct-section--cta > section > div {
  justify-items: start;
}

.upstruct-section--cta h1,
.upstruct-section--cta h2,
.upstruct-section--cta h3,
.upstruct-section--cta p {
  color: #ffffff;
}

.upstruct-section--cta a {
  background: var(--site-accent);
  color: var(--site-secondary);
}

.upstruct-section--pricing li {
  position: relative;
  overflow: hidden;
}

.upstruct-section--pricing li:first-child::before {
  position: absolute;
  inset: 0 auto auto 0;
  width: 0.3rem;
  height: 100%;
  background: var(--site-accent);
  content: "";
}

.upstruct-section--faq li {
  background: var(--site-background);
}

.upstruct-section--contact > section {
  background: color-mix(
    in srgb,
    var(--site-primary) 7%,
    var(--site-background)
  );
}

/* Variante: hero.centered */
.upstruct-variant--hero-centered > section > div {
  max-width: 64rem;
  justify-items: center;
  text-align: center;
}

.upstruct-variant--hero-centered h1,
.upstruct-variant--hero-centered p {
  margin-right: auto;
  margin-left: auto;
}

.upstruct-variant--hero-centered h1 {
  max-width: 16ch;
}

.upstruct-variant--hero-centered p {
  max-width: 54rem;
}

.upstruct-variant--hero-centered a {
  margin-top: 0.5rem;
}

/* Variante: hero.split */
.upstruct-variant--hero-split > section {
  position: relative;
  display: grid;
  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(18rem, 0.95fr);
  min-height: 38rem;
  padding: 0;
  overflow: hidden;
  background: var(--site-background);
}

.upstruct-variant--hero-split > section::after {
  display: block;
  min-height: 38rem;
  background:
    radial-gradient(
      circle at 30% 30%,
      color-mix(in srgb, var(--site-accent) 55%, transparent),
      transparent 32%
    ),
    linear-gradient(145deg, var(--site-primary), var(--site-secondary));
  content: "";
}

.upstruct-variant--hero-split > section > div:first-child {
  z-index: 1;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: var(--site-content-gap);
  width: min(100%, 42rem);
  min-height: 38rem;
  margin-left: max(1.5rem, calc((100vw - 72rem) / 2));
  padding: 5rem 3rem 5rem 0;
  text-align: left;
}

.upstruct-variant--hero-split > section > div:first-child h1 {
  max-width: 12ch;
}

.upstruct-variant--hero-split > section > div:first-child p {
  max-width: 38rem;
  margin: 0;
}

.upstruct-variant--hero-split > section > div:first-child p:first-child {
  color: var(--site-primary);
}

.upstruct-variant--hero-split > section > div:first-child a {
  margin-top: 0.5rem;
}

.upstruct-variant--hero-split > section > div:nth-child(2) {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  width: min(45vw, 46rem);
  height: 100%;
  min-height: 0;
}

.upstruct-variant--hero-split > section > div:nth-child(2) img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
}

/* Variante: services.cards */
.upstruct-variant--services-cards > section > div {
  grid-template-columns: minmax(0, 1fr);
}

.upstruct-variant--services-cards > section > div > div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1.25rem;
}

.upstruct-variant--services-cards article {
  min-height: 12rem;
  padding: 1.75rem;
  border: 1px solid color-mix(in srgb, var(--site-primary) 18%, transparent);
  border-radius: var(--site-radius);
  background: linear-gradient(
    180deg,
    var(--site-surface),
    color-mix(in srgb, var(--site-primary) 5%, var(--site-surface))
  );
  box-shadow: 0 1rem 2.5rem color-mix(in srgb, var(--site-text) 8%, transparent);
}

.upstruct-variant--services-cards article h3 {
  margin-bottom: 0.75rem;
}

.upstruct-variant--services-grid > section {
  background: var(--site-background);
}

.upstruct-variant--services-grid > section > div > div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 0;
  border-top: 1px solid color-mix(in srgb, var(--site-text) 12%, transparent);
  border-left: 1px solid color-mix(in srgb, var(--site-text) 12%, transparent);
}

.upstruct-variant--services-grid > section > div > div > div {
  min-height: 10rem;
  padding: 1.75rem;
  border-right: 1px solid color-mix(in srgb, var(--site-text) 12%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--site-text) 12%, transparent);
  border-radius: 0;
  background: transparent;
}

.upstruct-variant--services-grid > section > div > div > div h3 {
  margin-bottom: 0.75rem;
  color: var(--site-primary);
}

.upstruct-variant--services-grid > section > div > div > div::before {
  display: block;
  width: 3rem;
  height: 0.25rem;
  margin-bottom: 1rem;
  background: var(--site-accent);
  content: "";
}

/* Variante: benefits.cards */
.upstruct-variant--benefits-cards > section {
  display: grid;
  gap: var(--site-content-gap);
}

.upstruct-variant--benefits-cards > section > div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1.25rem;
}

.upstruct-variant--benefits-cards > section > div > div {
  position: relative;
  min-height: 11rem;
  padding: 1.75rem 1.5rem 1.5rem;
  border: 1px solid color-mix(in srgb, var(--site-primary) 12%, transparent);
  border-radius: var(--site-radius);
  background: var(--site-surface);
  box-shadow: 0 1rem 2.5rem color-mix(in srgb, var(--site-text) 7%, transparent);
}

.upstruct-variant--benefits-cards > section > div > div::before {
  display: block;
  width: 2.25rem;
  height: 0.25rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: var(--site-accent);
  content: "";
}

.upstruct-variant--benefits-cards > section > div > div h3 {
  margin-bottom: 0.75rem;
}

.upstruct-variant--benefits-grid > section {
  display: grid;
  gap: var(--site-content-gap);
  background: color-mix(
    in srgb,
    var(--site-secondary) 5%,
    var(--site-background)
  );
}

.upstruct-variant--benefits-grid > section > div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--site-text) 12%, transparent);
  border-radius: var(--site-radius);
  background: color-mix(in srgb, var(--site-text) 12%, transparent);
}

.upstruct-variant--benefits-grid article {
  min-height: 10rem;
  padding: 1.75rem;
  background: var(--site-background);
}

.upstruct-variant--benefits-grid article h3 {
  margin-bottom: 0.75rem;
  color: var(--site-primary);
}

.upstruct-variant--benefits-grid article::before {
  display: grid;
  width: 2rem;
  height: 2rem;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 999px;
  background: var(--site-primary);
  color: #ffffff;
  content: "âœ“";
  font-size: 0.875rem;
  font-weight: 800;
}

/* Variante: process.steps */
.upstruct-variant--process-steps > section {
  display: grid;
  gap: var(--site-content-gap);
}

.upstruct-variant--process-steps ol {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1.25rem;
  padding: 0;
  list-style: none;
  counter-reset: process-step;
}

.upstruct-variant--process-steps li {
  position: relative;
  min-height: 12rem;
  padding: 4.25rem 1.5rem 1.5rem;
  border: 1px solid color-mix(in srgb, var(--site-primary) 14%, transparent);
  border-radius: var(--site-radius);
  background: var(--site-surface);
  box-shadow: 0 1rem 2.5rem color-mix(in srgb, var(--site-text) 7%, transparent);
  counter-increment: process-step;
}

.upstruct-variant--process-steps li::before {
  position: absolute;
  top: 1.4rem;
  left: 1.5rem;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 999px;
  background: var(--site-primary);
  color: #ffffff;
  content: counter(process-step);
  font-size: 0.875rem;
  font-weight: 800;
}

.upstruct-variant--process-steps li h3 {
  margin-bottom: 0.75rem;
}

/* Variante: process.timeline */
.upstruct-variant--process-timeline > section {
  display: grid;
  gap: var(--site-content-gap);
}

.upstruct-variant--process-timeline ol {
  position: relative;
  display: grid;
  gap: 0;
  max-width: 52rem;
  margin: 0;
  padding: 0 0 0 3.5rem;
  list-style: none;
  counter-reset: process-timeline;
}

.upstruct-variant--process-timeline ol::before {
  position: absolute;
  top: 0.75rem;
  bottom: 0.75rem;
  left: 1rem;
  width: 2px;
  background: color-mix(in srgb, var(--site-primary) 30%, transparent);
  content: "";
}

.upstruct-variant--process-timeline li {
  position: relative;
  padding: 0 0 2.5rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  counter-increment: process-timeline;
}

.upstruct-variant--process-timeline li:last-child {
  padding-bottom: 0;
}

.upstruct-variant--process-timeline li::before {
  position: absolute;
  top: 0;
  left: -3.5rem;
  z-index: 1;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 2px solid var(--site-background);
  border-radius: 999px;
  background: var(--site-accent);
  color: var(--site-secondary);
  content: counter(process-timeline);
  font-size: 0.8rem;
  font-weight: 800;
}

.upstruct-variant--process-timeline li h3 {
  margin-bottom: 0.5rem;
  color: var(--site-primary);
}

/* Variante: about.centered */
.upstruct-variant--about-centered > section {
  background: linear-gradient(
    180deg,
    var(--site-background),
    color-mix(in srgb, var(--site-primary) 4%, var(--site-background))
  );
}

.upstruct-variant--about-centered > section > div {
  max-width: 52rem;
  justify-items: center;
  text-align: center;
}

.upstruct-variant--about-centered h2 {
  max-width: 18ch;
}

.upstruct-variant--about-centered p {
  max-width: 48rem;
  margin-right: auto;
  margin-left: auto;
}

.upstruct-variant--about-centered a {
  margin-top: 0.5rem;
}

/* Variante: about.card */
.upstruct-variant--about-card > section {
  background: var(--site-background);
}

.upstruct-variant--about-card > section > article {
  display: grid;
  gap: 1.25rem;
  width: min(100%, 58rem);
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 3rem);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--site-primary) 16%, transparent);
  border-radius: var(--site-radius);
  background: var(--site-surface);
  box-shadow: 0 1.5rem 4rem color-mix(in srgb, var(--site-text) 9%, transparent);
}

.upstruct-variant--about-card > section > article::before {
  display: block;
  width: 4rem;
  height: 0.3rem;
  border-radius: 999px;
  background: var(--site-accent);
  content: "";
}

.upstruct-variant--about-card article h2 {
  max-width: 18ch;
  color: var(--site-primary);
}

.upstruct-variant--about-card article p {
  max-width: 46rem;
}

.upstruct-variant--about-card article img {
  width: calc(100% + clamp(3.5rem, 8vw, 6rem));
  max-width: none;
  margin: calc(clamp(1.75rem, 4vw, 3rem) * -1)
    calc(clamp(1.75rem, 4vw, 3rem) * -1) 0;
  border-radius: 0;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.upstruct-variant--about-card article a {
  margin-top: 0.25rem;
}

/* Variante: testimonials.cards */
.upstruct-variant--testimonials-cards ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 1.25rem;
}

.upstruct-variant--testimonials-cards li {
  padding: 2rem;
  border: 0;
  border-radius: var(--site-radius);
  background: var(--site-surface);
  box-shadow: 0 1rem 3rem color-mix(in srgb, var(--site-text) 8%, transparent);
}

/* Variante: projects.cards */
.upstruct-variant--projects-cards > section {
  display: grid;
  gap: var(--site-content-gap);
}

.upstruct-variant--projects-cards > section > div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 1.25rem;
}

.upstruct-variant--projects-cards article {
  display: grid;
  gap: 0.9rem;
  overflow: hidden;
  padding: 1.5rem;
  border: 1px solid color-mix(in srgb, var(--site-primary) 12%, transparent);
  border-radius: var(--site-radius);
  background: var(--site-surface);
  box-shadow: 0 1rem 2.75rem
    color-mix(in srgb, var(--site-text) 8%, transparent);
}

.upstruct-variant--projects-cards article img {
  width: calc(100% + 3rem);
  max-width: none;
  margin: -1.5rem -1.5rem 0.5rem;
  border-radius: 0;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.upstruct-variant--projects-cards article h3 {
  color: var(--site-text);
}

.upstruct-variant--projects-cards article a {
  margin-top: 0.25rem;
}

/* Variante: projects.grid */
.upstruct-variant--projects-grid > section {
  display: grid;
  gap: var(--site-content-gap);
  background: var(--site-background);
}

.upstruct-variant--projects-grid > section > div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--site-text) 12%, transparent);
  border-radius: var(--site-radius);
  background: color-mix(in srgb, var(--site-text) 12%, transparent);
}

.upstruct-variant--projects-grid article {
  display: grid;
  align-content: start;
  gap: 0.8rem;
  min-height: 14rem;
  padding: 1.75rem;
  background: var(--site-background);
}

.upstruct-variant--projects-grid article img {
  width: 100%;
  margin-bottom: 0.5rem;
  border-radius: calc(var(--site-radius) * 0.6);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.upstruct-variant--projects-grid article h3 {
  color: var(--site-primary);
}

.upstruct-variant--projects-grid article::before {
  display: block;
  width: 3rem;
  height: 0.25rem;
  margin-bottom: 0.25rem;
  background: var(--site-accent);
  content: "";
}

.upstruct-variant--projects-grid article a {
  margin-top: 0.25rem;
  background: transparent;
  color: var(--site-primary);
  padding: 0;
}

.upstruct-variant--projects-grid article a:hover {
  transform: none;
  opacity: 0.75;
}

/* Variante: pricing.cards */
.upstruct-variant--pricing-cards ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  align-items: stretch;
  gap: 1.25rem;
}

.upstruct-variant--pricing-cards li {
  padding: 2rem;
  border: 1px solid color-mix(in srgb, var(--site-primary) 18%, transparent);
  border-radius: var(--site-radius);
  background: var(--site-surface);
}

.upstruct-variant--pricing-cards li:nth-child(2) {
  border-color: var(--site-primary);
  box-shadow: 0 1.25rem 3rem
    color-mix(in srgb, var(--site-primary) 14%, transparent);
  transform: translateY(-0.5rem);
}

/* Variante: faq.accordion */
.upstruct-variant--faq-accordion ul {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.upstruct-variant--faq-accordion li {
  padding: 1.25rem 1.5rem;
  border: 1px solid color-mix(in srgb, var(--site-text) 10%, transparent);
  border-radius: var(--site-radius);
  background: var(--site-background);
}

/* Variante: contact.simple */
.upstruct-variant--contact-simple > section {
  display: grid;
  gap: var(--site-content-gap);
  justify-items: center;
  text-align: center;
}

.upstruct-variant--contact-simple > section > h2,
.upstruct-variant--contact-simple > section > p {
  max-width: 48rem;
  margin-right: auto;
  margin-left: auto;
}

.upstruct-variant--contact-simple > section > div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 1rem;
  width: min(100%, 52rem);
}

.upstruct-variant--contact-simple > section > div > div {
  display: grid;
  gap: 0.6rem;
  padding: 1.5rem;
  border: 1px solid color-mix(in srgb, var(--site-primary) 14%, transparent);
  border-radius: var(--site-radius);
  background: var(--site-surface);
}

.upstruct-variant--contact-simple strong {
  color: var(--site-text);
  font-family: var(--site-font-heading), Arial, Helvetica, sans-serif;
  font-size: 1rem;
}

.upstruct-variant--contact-simple p {
  font-size: 1rem;
}

.upstruct-variant--contact-simple a {
  margin: 0.25rem auto 0;
}

/* Variante: contact.split */
.upstruct-variant--contact-split > section {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--site-primary) 8%, var(--site-background)),
    var(--site-background)
  );
}

.upstruct-variant--contact-split > section > div {
  display: grid;
  grid-template-columns:
    minmax(0, 0.9fr)
    minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.upstruct-variant--contact-split > section > div > div:first-child {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: 2rem;
}

.upstruct-variant--contact-split > section > div > div:first-child h2 {
  max-width: 12ch;
}

.upstruct-variant--contact-split > section > div > div:last-child {
  display: grid;
  gap: 1rem;
}

.upstruct-variant--contact-split > section > div > div:last-child > div {
  display: grid;
  gap: 0.65rem;
  padding: 1.5rem;
  border-left: 0.3rem solid var(--site-accent);
  border-radius: 0 var(--site-radius) var(--site-radius) 0;
  background: var(--site-surface);
}

.upstruct-variant--contact-split strong {
  color: var(--site-primary);
  font-family: var(--site-font-heading), Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
}

.upstruct-variant--contact-split a {
  margin-top: 0.25rem;
  background: transparent;
  color: var(--site-primary);
  padding: 0;
}

.upstruct-variant--contact-split a:hover {
  transform: none;
  opacity: 0.75;
}

/* Variante: cta.centered */
.upstruct-variant--cta-centered > section > div {
  max-width: 56rem;
  justify-items: center;
  text-align: center;
}

.upstruct-variant--cta-centered p {
  margin-right: auto;
  margin-left: auto;
}

.upstruct-variant--cta-centered a {
  margin-top: 0.5rem;
}

/* Varianten-spezifisches Responsive-Verhalten */
@media (max-width: 900px) {
  .upstruct-variant--services-cards ul,
  .upstruct-variant--benefits-cards ul {
    grid-template-columns: 1fr;
  }

  .upstruct-variant--pricing-cards li:nth-child(2) {
    transform: none;
  }
}

@media (max-width: 900px) {
  .upstruct-variant--hero-split > section {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .upstruct-variant--hero-split > section::after {
    min-height: 13rem;
  }

  .upstruct-variant--hero-split > section > div:first-child {
    width: auto;
    min-height: auto;
    margin: 0;
    padding: 4rem 1.5rem;
  }

  .upstruct-variant--hero-split > section > div:nth-child(2) {
    position: absolute;
    top: auto;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 13rem;
  }
}

@media (max-width: 860px) {
  .upstruct-variant--contact-split > section > div {
    grid-template-columns: 1fr;
  }

  .upstruct-variant--contact-split > section > div > div:first-child {
    position: static;
  }
}

@media (max-width: 820px) {
  .upstruct-site > footer > div:has(> div) {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .upstruct-site > footer > div:has(> div) > div:last-child {
    justify-content: flex-start;
  }

  .upstruct-site > footer > div:has(> div) > div:last-child p {
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 760px) {
  .upstruct-site > header > div {
    width: min(100% - 2rem, 72rem);
  }

  .upstruct-site > header[data-header-variant="simple"] > div {
    min-height: auto;
    padding: 1rem 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .upstruct-site > header[data-header-variant="centered"] > div {
    padding: 1.25rem 0;
  }

  .upstruct-site-content > div > section {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .upstruct-site-content h1 {
    font-size: clamp(2.25rem, 13vw, 3.5rem);
  }
}
/* Header Split */
.upstruct-site > header[data-header-variant="split"] {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  align-items: stretch;
  background: linear-gradient(
    90deg,
    var(--site-secondary) 0 40%,
    var(--site-surface) 40% 100%
  );
}

.upstruct-site > header[data-header-variant="split"] > div {
  display: flex;
  width: 100%;
  min-height: 5rem;
  margin: 0;
  align-items: center;
  justify-content: flex-end;
  padding: 0 2rem;
}

.upstruct-site > header[data-header-variant="split"] > div > a {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
}

.upstruct-site > header[data-header-variant="split"] > nav {
  display: flex;
  min-height: 5rem;
  align-items: center;
  padding: 0 2rem;
}

.upstruct-site > header[data-header-variant="split"] > nav ul {
  justify-content: flex-start;
}

.upstruct-site > header[data-header-variant="split"] > nav a {
  color: var(--site-text);
}

.upstruct-site > header[data-header-variant="split"] > nav a:hover {
  color: var(--site-primary);
}

/* Header Compact */
.upstruct-site > header[data-header-variant="compact"] {
  display: flex;
  width: min(100% - 2rem, 72rem);
  min-height: 3.25rem;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 0;
  background: var(--site-background);
}

.upstruct-site > header[data-header-variant="compact"] > a {
  flex: 0 0 auto;
  font-family: var(--site-font-heading), Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
}

.upstruct-site > header[data-header-variant="compact"] > nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem;
}

.upstruct-site > header[data-header-variant="compact"] > nav a {
  color: var(--site-text-muted);
  font-size: 0.8125rem;
  font-weight: 700;
}

.upstruct-site > header[data-header-variant="compact"] > nav a:hover {
  color: var(--site-primary);
}

/* Footer Centered */
.upstruct-site > footer[data-footer-variant="centered"] > div {
  display: grid;
  width: min(100% - 3rem, 56rem);
  justify-items: center;
  gap: 1.5rem;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  text-align: center;
}

.upstruct-site > footer[data-footer-variant="centered"] > div > a {
  font-family: var(--site-font-heading), Arial, Helvetica, sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
}

.upstruct-site > footer[data-footer-variant="centered"] > div > nav {
  width: 100%;
  margin: 0;
  padding: 1.25rem 0;
  border-top: 1px solid color-mix(in srgb, #ffffff 16%, transparent);
  border-bottom: 1px solid color-mix(in srgb, #ffffff 16%, transparent);
}

.upstruct-site > footer[data-footer-variant="centered"] > div > nav ul {
  justify-content: center;
}

.upstruct-site > footer[data-footer-variant="centered"] > div > p {
  color: color-mix(in srgb, #ffffff 68%, transparent);
  font-size: 0.875rem;
}

/* Footer Compact */
.upstruct-site > footer[data-footer-variant="compact"] {
  display: flex;
  width: 100%;
  min-height: 3.75rem;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 0.75rem 1.5rem;
}

.upstruct-site > footer[data-footer-variant="compact"] > span {
  color: color-mix(in srgb, #ffffff 72%, transparent);
  font-size: 0.8125rem;
  white-space: nowrap;
}

.upstruct-site > footer[data-footer-variant="compact"] > nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1rem;
}

.upstruct-site > footer[data-footer-variant="compact"] > nav a {
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 700;
  opacity: 0.82;
}

.upstruct-site > footer[data-footer-variant="compact"] > nav a:hover {
  opacity: 1;
}

@media (max-width: 760px) {
  .upstruct-site > header[data-header-variant="split"] {
    grid-template-columns: 1fr;
    background: var(--site-surface);
  }

  .upstruct-site > header[data-header-variant="split"] > div {
    min-height: auto;
    justify-content: center;
    padding: 1rem;
    background: var(--site-secondary);
  }

  .upstruct-site > header[data-header-variant="split"] > nav {
    min-height: auto;
    justify-content: center;
    padding: 1rem;
  }

  .upstruct-site > header[data-header-variant="split"] > nav ul {
    justify-content: center;
  }

  .upstruct-site > header[data-header-variant="compact"] {
    width: min(100% - 2rem, 72rem);
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.75rem 0;
  }

  .upstruct-site > header[data-header-variant="compact"] > nav {
    justify-content: flex-start;
  }

  .upstruct-site > footer[data-footer-variant="compact"] {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
  }

  .upstruct-site > footer[data-footer-variant="compact"] > nav {
    justify-content: flex-start;
  }
}
